From f381039c0f8e1baf6b8632b55018199160c87dfd Mon Sep 17 00:00:00 2001 From: Siddharth Ganesan Date: Wed, 10 Jun 2026 18:54:00 -0700 Subject: [PATCH] Mship contract update --- .../lib/copilot/generated/tool-catalog-v1.ts | 33 +++++++++++++++++-- .../lib/copilot/generated/tool-schemas-v1.ts | 21 ++++++++++++ .../generated/trace-attribute-values-v1.ts | 1 - 3 files changed, 51 insertions(+), 4 deletions(-) diff --git a/apps/sim/lib/copilot/generated/tool-catalog-v1.ts b/apps/sim/lib/copilot/generated/tool-catalog-v1.ts index b3132e7a11b..4abbd46b8db 100644 --- a/apps/sim/lib/copilot/generated/tool-catalog-v1.ts +++ b/apps/sim/lib/copilot/generated/tool-catalog-v1.ts @@ -1245,7 +1245,16 @@ export const File: ToolCatalogEntry = { name: 'file', route: 'subagent', mode: 'async', - parameters: { type: 'object' }, + parameters: { + properties: { + prompt: { + description: + "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.", + type: 'string', + }, + }, + type: 'object', + }, subagentId: 'file', internal: true, } @@ -2716,7 +2725,16 @@ export const Media: ToolCatalogEntry = { name: 'media', route: 'subagent', mode: 'async', - parameters: { type: 'object' }, + parameters: { + properties: { + prompt: { + description: + "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.", + type: 'string', + }, + }, + type: 'object', + }, subagentId: 'media', internal: true, } @@ -4176,7 +4194,16 @@ export const Workflow: ToolCatalogEntry = { name: 'workflow', route: 'subagent', mode: 'async', - parameters: { type: 'object' }, + parameters: { + properties: { + prompt: { + description: + "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.", + type: 'string', + }, + }, + type: 'object', + }, subagentId: 'workflow', internal: true, } diff --git a/apps/sim/lib/copilot/generated/tool-schemas-v1.ts b/apps/sim/lib/copilot/generated/tool-schemas-v1.ts index 69d42ded7fb..0c4c0d06517 100644 --- a/apps/sim/lib/copilot/generated/tool-schemas-v1.ts +++ b/apps/sim/lib/copilot/generated/tool-schemas-v1.ts @@ -1051,6 +1051,13 @@ export const TOOL_RUNTIME_SCHEMAS: Record = { }, file: { parameters: { + properties: { + prompt: { + description: + "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.", + type: 'string', + }, + }, type: 'object', }, resultSchema: undefined, @@ -2498,6 +2505,13 @@ export const TOOL_RUNTIME_SCHEMAS: Record = { }, media: { parameters: { + properties: { + prompt: { + description: + "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.", + type: 'string', + }, + }, type: 'object', }, resultSchema: undefined, @@ -3940,6 +3954,13 @@ export const TOOL_RUNTIME_SCHEMAS: Record = { }, workflow: { parameters: { + properties: { + prompt: { + description: + "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.", + type: 'string', + }, + }, type: 'object', }, resultSchema: undefined, diff --git a/apps/sim/lib/copilot/generated/trace-attribute-values-v1.ts b/apps/sim/lib/copilot/generated/trace-attribute-values-v1.ts index 964529aaad0..a343f9e0911 100644 --- a/apps/sim/lib/copilot/generated/trace-attribute-values-v1.ts +++ b/apps/sim/lib/copilot/generated/trace-attribute-values-v1.ts @@ -27,7 +27,6 @@ export type AbortRedisResultKey = keyof typeof AbortRedisResult export type AbortRedisResultValue = (typeof AbortRedisResult)[AbortRedisResultKey] export const AuthKeyMatch = { - Enterprise: 'enterprise', None: 'none', User: 'user', } as const