You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/chat-content/chat-content.tsx
'Plan file name or relative path under .plans, e.g. "implementation.md" or "phase-1/implementation.md". If no extension is supplied, ".md" is appended.',
3069
3069
},
3070
+
scope: {
3071
+
type: 'string',
3072
+
description:
3073
+
'Plan scope. Use "workspace" for root .plans/** main-agent plans. Use "workflow" for workflows/{workflow}/.plans/** subplans. If omitted with workflowPath, workflow scope is assumed; otherwise workspace scope is assumed.',
3074
+
enum: ['workspace','workflow'],
3075
+
},
3070
3076
title: {
3071
3077
type: 'string',
3072
3078
description: 'Optional short user-visible label for the plan creation.',
3073
3079
},
3074
3080
workflowPath: {
3075
3081
type: 'string',
3076
3082
description:
3077
-
'Canonical workflow VFS path, e.g. "workflows/My%20Workflow" or "workflows/Folder/My%20Workflow". Copy from glob/read output; do not use workflow IDs.',
3083
+
'Required for scope "workflow". Canonical workflow VFS path, e.g. "workflows/My%20Workflow" or "workflows/Folder/My%20Workflow". Copy from glob/read output; do not use workflow IDs.',
3078
3084
},
3079
3085
},
3080
-
required: ['workflowPath','name'],
3086
+
required: ['name'],
3081
3087
},
3082
3088
resultSchema: {
3083
3089
type: 'object',
3084
3090
properties: {
3085
3091
data: {
3086
3092
type: 'object',
3087
3093
description:
3088
-
'Contains id, name, vfsPath, backingVfsPath, and workflowId. Use vfsPath for follow-up workspace_file calls.',
3094
+
'Contains id, name, scope, vfsPath, backingVfsPath, and workflowId for workflow plans. Use vfsPath for follow-up workspace_file calls.',
'Plan file name or relative path under .plans, e.g. "implementation.md" or "phase-1/implementation.md". If no extension is supplied, ".md" is appended.',
2818
2818
},
2819
+
scope: {
2820
+
type: 'string',
2821
+
description:
2822
+
'Plan scope. Use "workspace" for root .plans/** main-agent plans. Use "workflow" for workflows/{workflow}/.plans/** subplans. If omitted with workflowPath, workflow scope is assumed; otherwise workspace scope is assumed.',
2823
+
enum: ['workspace','workflow'],
2824
+
},
2819
2825
title: {
2820
2826
type: 'string',
2821
2827
description: 'Optional short user-visible label for the plan creation.',
2822
2828
},
2823
2829
workflowPath: {
2824
2830
type: 'string',
2825
2831
description:
2826
-
'Canonical workflow VFS path, e.g. "workflows/My%20Workflow" or "workflows/Folder/My%20Workflow". Copy from glob/read output; do not use workflow IDs.',
2832
+
'Required for scope "workflow". Canonical workflow VFS path, e.g. "workflows/My%20Workflow" or "workflows/Folder/My%20Workflow". Copy from glob/read output; do not use workflow IDs.',
2827
2833
},
2828
2834
},
2829
-
required: ['workflowPath','name'],
2835
+
required: ['name'],
2830
2836
},
2831
2837
resultSchema: {
2832
2838
type: 'object',
2833
2839
properties: {
2834
2840
data: {
2835
2841
type: 'object',
2836
2842
description:
2837
-
'Contains id, name, vfsPath, backingVfsPath, and workflowId. Use vfsPath for follow-up workspace_file calls.',
2843
+
'Contains id, name, scope, vfsPath, backingVfsPath, and workflowId for workflow plans. Use vfsPath for follow-up workspace_file calls.',
0 commit comments