Skip to content

Commit f874b96

Browse files
feat(copilot-tool): forward autoRun + mappingUpdates on update_workflow_group
The sim-side service and contracts already accept both fields, but the copilot tool's update_workflow_group handler was dropping them on the floor. Now `args.autoRun` (toggle the persisted auto-fire flag) and `args.mappingUpdates` (per-output (blockId, path) swap) get forwarded through to updateWorkflowGroup. Pairs with the upcoming copilot-side change that exposes these in the tool catalog JSON / Go handler / prompting (see copilot branch redo-workflow-tools). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 19d1a09 commit f874b96

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

apps/sim/lib/copilot/tools/server/table/user-table.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,6 +1283,10 @@ export const userTableServerTool: BaseServerTool<UserTableArgs, UserTableResult>
12831283
dependencies: args.dependencies as WorkflowGroupDependencies | undefined,
12841284
outputs: updateOutputs,
12851285
newOutputColumns: args.newOutputColumns as ColumnDefinition[] | undefined,
1286+
mappingUpdates: args.mappingUpdates as
1287+
| Array<{ columnName: string; blockId: string; path: string }>
1288+
| undefined,
1289+
autoRun: typeof args.autoRun === 'boolean' ? args.autoRun : undefined,
12861290
},
12871291
requestId
12881292
)

0 commit comments

Comments
 (0)