improvement(mship): contract update (#4961)

This commit is contained in:
Siddharth Ganesan
2026-06-10 18:56:58 -07:00
committed by GitHub
parent bc55fc3b50
commit e54daf798d
3 changed files with 51 additions and 4 deletions
@@ -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,
}
@@ -1051,6 +1051,13 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
},
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<string, ToolRuntimeSchemaEntry> = {
},
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<string, ToolRuntimeSchemaEntry> = {
},
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,
@@ -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