mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
improvement(mship): contract update (#4961)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user