Skip to content

Commit e54daf7

Browse files
authored
improvement(mship): contract update (#4961)
1 parent bc55fc3 commit e54daf7

3 files changed

Lines changed: 51 additions & 4 deletions

File tree

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

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,7 +1245,16 @@ export const File: ToolCatalogEntry = {
12451245
name: 'file',
12461246
route: 'subagent',
12471247
mode: 'async',
1248-
parameters: { type: 'object' },
1248+
parameters: {
1249+
properties: {
1250+
prompt: {
1251+
description:
1252+
"Optional brief instruction (one short sentence) to scope the task. The agent inherits the full conversation history — do NOT restate or rewrite conversation content, only add scoping the history doesn't convey.",
1253+
type: 'string',
1254+
},
1255+
},
1256+
type: 'object',
1257+
},
12491258
subagentId: 'file',
12501259
internal: true,
12511260
}
@@ -2716,7 +2725,16 @@ export const Media: ToolCatalogEntry = {
27162725
name: 'media',
27172726
route: 'subagent',
27182727
mode: 'async',
2719-
parameters: { type: 'object' },
2728+
parameters: {
2729+
properties: {
2730+
prompt: {
2731+
description:
2732+
"Optional brief instruction (one short sentence) to scope the task. The agent inherits the full conversation history — do NOT restate or rewrite conversation content, only add scoping the history doesn't convey.",
2733+
type: 'string',
2734+
},
2735+
},
2736+
type: 'object',
2737+
},
27202738
subagentId: 'media',
27212739
internal: true,
27222740
}
@@ -4176,7 +4194,16 @@ export const Workflow: ToolCatalogEntry = {
41764194
name: 'workflow',
41774195
route: 'subagent',
41784196
mode: 'async',
4179-
parameters: { type: 'object' },
4197+
parameters: {
4198+
properties: {
4199+
prompt: {
4200+
description:
4201+
"Optional brief instruction (one short sentence) to scope the task. The agent inherits the full conversation history — do NOT restate or rewrite conversation content, only add scoping the history doesn't convey.",
4202+
type: 'string',
4203+
},
4204+
},
4205+
type: 'object',
4206+
},
41804207
subagentId: 'workflow',
41814208
internal: true,
41824209
}

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,6 +1051,13 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
10511051
},
10521052
file: {
10531053
parameters: {
1054+
properties: {
1055+
prompt: {
1056+
description:
1057+
"Optional brief instruction (one short sentence) to scope the task. The agent inherits the full conversation history — do NOT restate or rewrite conversation content, only add scoping the history doesn't convey.",
1058+
type: 'string',
1059+
},
1060+
},
10541061
type: 'object',
10551062
},
10561063
resultSchema: undefined,
@@ -2498,6 +2505,13 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
24982505
},
24992506
media: {
25002507
parameters: {
2508+
properties: {
2509+
prompt: {
2510+
description:
2511+
"Optional brief instruction (one short sentence) to scope the task. The agent inherits the full conversation history — do NOT restate or rewrite conversation content, only add scoping the history doesn't convey.",
2512+
type: 'string',
2513+
},
2514+
},
25012515
type: 'object',
25022516
},
25032517
resultSchema: undefined,
@@ -3940,6 +3954,13 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
39403954
},
39413955
workflow: {
39423956
parameters: {
3957+
properties: {
3958+
prompt: {
3959+
description:
3960+
"Optional brief instruction (one short sentence) to scope the task. The agent inherits the full conversation history — do NOT restate or rewrite conversation content, only add scoping the history doesn't convey.",
3961+
type: 'string',
3962+
},
3963+
},
39433964
type: 'object',
39443965
},
39453966
resultSchema: undefined,

apps/sim/lib/copilot/generated/trace-attribute-values-v1.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ export type AbortRedisResultKey = keyof typeof AbortRedisResult
2727
export type AbortRedisResultValue = (typeof AbortRedisResult)[AbortRedisResultKey]
2828

2929
export const AuthKeyMatch = {
30-
Enterprise: 'enterprise',
3130
None: 'none',
3231
User: 'user',
3332
} as const

0 commit comments

Comments
 (0)