Skip to content

Commit 941364a

Browse files
chore(copilot): regen tool catalog after dropping run_cell / run_row + dependencies.workflowGroups
Mirror the copilot-side catalog change so the generated TS catalog matches the deployed copilot tool surface.
1 parent 8dfcc90 commit 941364a

2 files changed

Lines changed: 14 additions & 32 deletions

File tree

apps/sim/lib/copilot/generated/tool-catalog-v1.ts

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2795,7 +2795,7 @@ export const UserTable: ToolCatalogEntry = {
27952795
autoRun: {
27962796
type: 'boolean',
27972797
description:
2798-
"Optional flag for add_workflow_group and update_workflow_group. On add: when true, existing rows whose dependencies are already filled run immediately; default false stages the group silently — call run_column when ready to fire rows in bulk, or run_row to fire all groups on a specific row. On update: toggle a group's auto-fire behavior on an existing group — false stages it (no auto-runs on dep satisfaction; only manual run_cell / run_row / run_column fires rows), true re-enables auto-fire (rows whose deps fill will be scheduled). Set true on add only if the user explicitly asked to start runs immediately.",
2798+
"Optional flag for add_workflow_group and update_workflow_group. On add: when true, existing rows whose dependencies are already filled run immediately; default false stages the group silently — call run_column when ready to fire rows. On update: toggle a group's auto-fire behavior on an existing group — false stages it (no auto-runs on dep satisfaction; only manual run_column fires rows), true re-enables auto-fire (rows whose deps fill will be scheduled). Set true on add only if the user explicitly asked to start runs immediately.",
27992799
},
28002800
blockId: {
28012801
type: 'string',
@@ -2822,16 +2822,12 @@ export const UserTable: ToolCatalogEntry = {
28222822
dependencies: {
28232823
type: 'object',
28242824
description:
2825-
'Dependencies the workflow group requires before running a row. { columns?: string[] } lists input column names that must be filled; { workflowGroups?: string[] } lists other workflow group IDs whose outputs must complete first. Used by add_workflow_group and update_workflow_group.',
2825+
"Dependencies the workflow group requires before running a row. { columns?: string[] } lists input column names that must be filled. Workflow output columns count too — depend on the column produced by an upstream group, not the group itself. The dep graph is column-induced. A group can't depend on its own output columns. Used by add_workflow_group and update_workflow_group.",
28262826
properties: {
28272827
columns: {
28282828
type: 'array',
2829-
description: 'Input column names that must be filled before the group runs.',
2830-
items: { type: 'string' },
2831-
},
2832-
workflowGroups: {
2833-
type: 'array',
2834-
description: 'Other workflow group IDs whose outputs must complete first.',
2829+
description:
2830+
'Input column names that must be filled before the group runs. Plain columns and upstream-group output columns are both valid here.',
28352831
items: { type: 'string' },
28362832
},
28372833
},
@@ -2855,7 +2851,7 @@ export const UserTable: ToolCatalogEntry = {
28552851
groupId: {
28562852
type: 'string',
28572853
description:
2858-
'Workflow group ID. Required for update_workflow_group, delete_workflow_group, add_workflow_group_output, delete_workflow_group_output, run_cell.',
2854+
'Workflow group ID. Required for update_workflow_group, delete_workflow_group, add_workflow_group_output, delete_workflow_group_output.',
28592855
},
28602856
groupIds: {
28612857
type: 'array',
@@ -2964,12 +2960,12 @@ export const UserTable: ToolCatalogEntry = {
29642960
rowId: {
29652961
type: 'string',
29662962
description:
2967-
"Row ID. Required for get_row, update_row, delete_row, run_cell, and for cancel_table_runs when scope:'row'.",
2963+
"Row ID. Required for get_row, update_row, delete_row, and for cancel_table_runs when scope:'row'.",
29682964
},
29692965
rowIds: {
29702966
type: 'array',
29712967
description:
2972-
'Array of row IDs. Used by batch_delete_rows (rows to delete), run_row (required — rows to fan out across every runnable workflow group), and run_column (optional row scope — when omitted, runs across the whole table; when provided, only these rows are candidates and the server eligibility predicate still applies).',
2968+
'Array of row IDs. Used by batch_delete_rows (rows to delete) and run_column (optional row scope — when omitted, runs across the whole table; when provided, only these rows are candidates and the server eligibility predicate still applies).',
29732969
items: { type: 'string' },
29742970
},
29752971
rows: {
@@ -3058,8 +3054,6 @@ export const UserTable: ToolCatalogEntry = {
30583054
'delete_workflow_group',
30593055
'add_workflow_group_output',
30603056
'delete_workflow_group_output',
3061-
'run_cell',
3062-
'run_row',
30633057
'run_column',
30643058
'cancel_table_runs',
30653059
'list_workflow_outputs',
@@ -3406,8 +3400,6 @@ export const UserTableOperation = {
34063400
deleteWorkflowGroup: 'delete_workflow_group',
34073401
addWorkflowGroupOutput: 'add_workflow_group_output',
34083402
deleteWorkflowGroupOutput: 'delete_workflow_group_output',
3409-
runCell: 'run_cell',
3410-
runRow: 'run_row',
34113403
runColumn: 'run_column',
34123404
cancelTableRuns: 'cancel_table_runs',
34133405
listWorkflowOutputs: 'list_workflow_outputs',
@@ -3441,8 +3433,6 @@ export const UserTableOperationValues = [
34413433
UserTableOperation.deleteWorkflowGroup,
34423434
UserTableOperation.addWorkflowGroupOutput,
34433435
UserTableOperation.deleteWorkflowGroupOutput,
3444-
UserTableOperation.runCell,
3445-
UserTableOperation.runRow,
34463436
UserTableOperation.runColumn,
34473437
UserTableOperation.cancelTableRuns,
34483438
UserTableOperation.listWorkflowOutputs,

apps/sim/lib/copilot/generated/tool-schemas-v1.ts

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2597,7 +2597,7 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
25972597
autoRun: {
25982598
type: 'boolean',
25992599
description:
2600-
"Optional flag for add_workflow_group and update_workflow_group. On add: when true, existing rows whose dependencies are already filled run immediately; default false stages the group silently — call run_column when ready to fire rows in bulk, or run_row to fire all groups on a specific row. On update: toggle a group's auto-fire behavior on an existing group — false stages it (no auto-runs on dep satisfaction; only manual run_cell / run_row / run_column fires rows), true re-enables auto-fire (rows whose deps fill will be scheduled). Set true on add only if the user explicitly asked to start runs immediately.",
2600+
"Optional flag for add_workflow_group and update_workflow_group. On add: when true, existing rows whose dependencies are already filled run immediately; default false stages the group silently — call run_column when ready to fire rows. On update: toggle a group's auto-fire behavior on an existing group — false stages it (no auto-runs on dep satisfaction; only manual run_column fires rows), true re-enables auto-fire (rows whose deps fill will be scheduled). Set true on add only if the user explicitly asked to start runs immediately.",
26012601
},
26022602
blockId: {
26032603
type: 'string',
@@ -2625,18 +2625,12 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
26252625
dependencies: {
26262626
type: 'object',
26272627
description:
2628-
'Dependencies the workflow group requires before running a row. { columns?: string[] } lists input column names that must be filled; { workflowGroups?: string[] } lists other workflow group IDs whose outputs must complete first. Used by add_workflow_group and update_workflow_group.',
2628+
"Dependencies the workflow group requires before running a row. { columns?: string[] } lists input column names that must be filled. Workflow output columns count too — depend on the column produced by an upstream group, not the group itself. The dep graph is column-induced. A group can't depend on its own output columns. Used by add_workflow_group and update_workflow_group.",
26292629
properties: {
26302630
columns: {
26312631
type: 'array',
2632-
description: 'Input column names that must be filled before the group runs.',
2633-
items: {
2634-
type: 'string',
2635-
},
2636-
},
2637-
workflowGroups: {
2638-
type: 'array',
2639-
description: 'Other workflow group IDs whose outputs must complete first.',
2632+
description:
2633+
'Input column names that must be filled before the group runs. Plain columns and upstream-group output columns are both valid here.',
26402634
items: {
26412635
type: 'string',
26422636
},
@@ -2665,7 +2659,7 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
26652659
groupId: {
26662660
type: 'string',
26672661
description:
2668-
'Workflow group ID. Required for update_workflow_group, delete_workflow_group, add_workflow_group_output, delete_workflow_group_output, run_cell.',
2662+
'Workflow group ID. Required for update_workflow_group, delete_workflow_group, add_workflow_group_output, delete_workflow_group_output.',
26692663
},
26702664
groupIds: {
26712665
type: 'array',
@@ -2796,12 +2790,12 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
27962790
rowId: {
27972791
type: 'string',
27982792
description:
2799-
"Row ID. Required for get_row, update_row, delete_row, run_cell, and for cancel_table_runs when scope:'row'.",
2793+
"Row ID. Required for get_row, update_row, delete_row, and for cancel_table_runs when scope:'row'.",
28002794
},
28012795
rowIds: {
28022796
type: 'array',
28032797
description:
2804-
'Array of row IDs. Used by batch_delete_rows (rows to delete), run_row (required — rows to fan out across every runnable workflow group), and run_column (optional row scope — when omitted, runs across the whole table; when provided, only these rows are candidates and the server eligibility predicate still applies).',
2798+
'Array of row IDs. Used by batch_delete_rows (rows to delete) and run_column (optional row scope — when omitted, runs across the whole table; when provided, only these rows are candidates and the server eligibility predicate still applies).',
28052799
items: {
28062800
type: 'string',
28072801
},
@@ -2894,8 +2888,6 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
28942888
'delete_workflow_group',
28952889
'add_workflow_group_output',
28962890
'delete_workflow_group_output',
2897-
'run_cell',
2898-
'run_row',
28992891
'run_column',
29002892
'cancel_table_runs',
29012893
'list_workflow_outputs',

0 commit comments

Comments
 (0)