Skip to content

Commit 3309d18

Browse files
Merge remote-tracking branch 'origin/staging' into feat/pii-gliner-engine
2 parents 4626999 + 60e3509 commit 3309d18

756 files changed

Lines changed: 75436 additions & 8950 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/commands/add-trigger.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ export const {service}PollingHandler: PollingProviderHandler = {
374374

375375
try {
376376
// For OAuth services:
377-
const accessToken = await resolveOAuthCredential(webhookData, '{service}', requestId, logger)
377+
const accessToken = await resolveOAuthCredential(webhookData, '{service}', requestId)
378378
const config = webhookData.providerConfig as unknown as {Service}WebhookConfig
379379

380380
// First poll: seed state, emit nothing
@@ -421,7 +421,7 @@ export const {service}PollingTrigger: TriggerConfig = {
421421
polling: true, // REQUIRED — routes to polling infrastructure
422422

423423
subBlocks: [
424-
{ id: 'triggerCredentials', type: 'oauth-input', title: 'Credentials', serviceId: '{service}', requiredScopes: [], required: true, mode: 'trigger', supportsCredentialSets: true },
424+
{ id: 'triggerCredentials', type: 'oauth-input', title: 'Credentials', serviceId: '{service}', requiredScopes: [], required: true, mode: 'trigger' },
425425
// ... service-specific config fields (dropdowns, inputs, switches) ...
426426
{ id: 'triggerInstructions', type: 'text', title: 'Setup Instructions', hideFromPreview: true, mode: 'trigger', defaultValue: '...' },
427427
],

.claude/rules/sim-queries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Next.js rewrites **every** export of a `'use client'` module into a *client refe
3434
So any **query-key factory, standalone `requestJson` fetcher, mapper, or constant** that a server module imports must live in a **non-`'use client'`** module:
3535

3636
- key factories → `hooks/queries/utils/<entity>-keys.ts` (see `folder-keys.ts`, `table-keys.ts`, `credential-keys.ts`)
37-
- standalone fetchers/mappers → `hooks/queries/utils/fetch-*.ts` / `*-list-query.ts` (see `fetch-workflow-envelope.ts`, `fetch-credential-set.ts`)
37+
- standalone fetchers/mappers → `hooks/queries/utils/fetch-*.ts` / `*-list-query.ts` (see `fetch-workflow-envelope.ts`, `fetch-workspace-credentials.ts`)
3838

3939
The `'use client'` hook module then imports these back for its hooks. **Never** define a server-imported factory/fetcher directly in a `'use client'` hooks file — it crashes SSR (this caused the tables-page crash). Enforced for prefetch/route/trigger/block files by `scripts/check-client-boundary-imports.ts` (`bun run check:client-boundary`, run in CI). Escape hatch for a genuinely browser-only path: `// client-boundary-allow: <reason>` on the line above the import.
4040

.claude/rules/sim-settings-pages.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ pairing is:
117117
This is not a stylistic guess — it is the tokenized form of the literal-pixel
118118
pairing (`text-[14px] text-[var(--text-body)]` / `text-[12px]
119119
text-[var(--text-muted)]`) already used for this exact row shape across
120-
`member-list.tsx`, `api-keys.tsx`, `mcp.tsx`, `billing.tsx`, `credential-sets.tsx`,
120+
`member-list.tsx`, `api-keys.tsx`, `mcp.tsx`, `billing.tsx`,
121121
`workflow-mcp-servers.tsx`, and others — keep new rows consistent with it rather
122122
than inventing a new size pairing.
123123

@@ -203,7 +203,7 @@ changes" modal:
203203
## Detail sub-views
204204

205205
A drill-down view reached from a list row (selected MCP server, workflow MCP
206-
server, credential set, permission group, retention policy) renders through
206+
server, permission group, retention policy) renders through
207207
`SettingsPanel` like a list page: pass `back={{ text, icon: ArrowLeft, onSelect }}`
208208
for the left back chip, `title` (the entity name), and the header `actions`, then
209209
render the body. Do NOT hand-roll a shell or header bar; a tab bar renders as the

.cursor/commands/add-trigger.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ export const {service}PollingHandler: PollingProviderHandler = {
369369

370370
try {
371371
// For OAuth services:
372-
const accessToken = await resolveOAuthCredential(webhookData, '{service}', requestId, logger)
372+
const accessToken = await resolveOAuthCredential(webhookData, '{service}', requestId)
373373
const config = webhookData.providerConfig as unknown as {Service}WebhookConfig
374374

375375
// First poll: seed state, emit nothing
@@ -416,7 +416,7 @@ export const {service}PollingTrigger: TriggerConfig = {
416416
polling: true, // REQUIRED — routes to polling infrastructure
417417

418418
subBlocks: [
419-
{ id: 'triggerCredentials', type: 'oauth-input', title: 'Credentials', serviceId: '{service}', requiredScopes: [], required: true, mode: 'trigger', supportsCredentialSets: true },
419+
{ id: 'triggerCredentials', type: 'oauth-input', title: 'Credentials', serviceId: '{service}', requiredScopes: [], required: true, mode: 'trigger' },
420420
// ... service-specific config fields (dropdowns, inputs, switches) ...
421421
{ id: 'triggerInstructions', type: 'text', title: 'Setup Instructions', hideFromPreview: true, mode: 'trigger', defaultValue: '...' },
422422
],

0 commit comments

Comments
 (0)