Skip to content

Commit e4e2abc

Browse files
committed
chore(copilot): resync docs and mothership contracts after restack
1 parent e5b6662 commit e4e2abc

4 files changed

Lines changed: 54 additions & 72 deletions

File tree

apps/sim/lib/copilot/generated/docs-manifest.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ export const DOCS_MANIFEST: readonly string[] = [
9393
'integrations/dub.mdx',
9494
'integrations/duckduckgo.mdx',
9595
'integrations/dynamodb.mdx',
96+
'integrations/dynatrace.mdx',
9697
'integrations/elasticsearch.mdx',
9798
'integrations/elevenlabs.mdx',
9899
'integrations/emailbison.mdx',
@@ -185,6 +186,7 @@ export const DOCS_MANIFEST: readonly string[] = [
185186
'integrations/microsoft_planner.mdx',
186187
'integrations/microsoft_teams.mdx',
187188
'integrations/millionverifier.mdx',
189+
'integrations/mintlify.mdx',
188190
'integrations/mistral_parse.mdx',
189191
'integrations/monday-service-account.mdx',
190192
'integrations/monday.mdx',
@@ -250,6 +252,8 @@ export const DOCS_MANIFEST: readonly string[] = [
250252
'integrations/slack.mdx',
251253
'integrations/smartlead.mdx',
252254
'integrations/smtp.mdx',
255+
'integrations/snowflake-service-account.mdx',
256+
'integrations/snowflake.mdx',
253257
'integrations/sportmonks.mdx',
254258
'integrations/sqs.mdx',
255259
'integrations/square.mdx',

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

Lines changed: 29 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ export interface ToolCatalogEntry {
6161
| 'get_deployed_workflow_state'
6262
| 'get_deployment_log'
6363
| 'get_page_contents'
64-
| 'get_platform_actions'
6564
| 'get_workflow_data'
6665
| 'get_workflow_run_options'
6766
| 'glob'
@@ -102,7 +101,7 @@ export interface ToolCatalogEntry {
102101
| 'run_workflow_until_block'
103102
| 'scrape_page'
104103
| 'search'
105-
| 'search_documentation'
104+
| 'search_docs'
106105
| 'search_integration_tools'
107106
| 'search_knowledge_base'
108107
| 'search_library_docs'
@@ -177,7 +176,6 @@ export interface ToolCatalogEntry {
177176
| 'get_deployed_workflow_state'
178177
| 'get_deployment_log'
179178
| 'get_page_contents'
180-
| 'get_platform_actions'
181179
| 'get_workflow_data'
182180
| 'get_workflow_run_options'
183181
| 'glob'
@@ -218,7 +216,7 @@ export interface ToolCatalogEntry {
218216
| 'run_workflow_until_block'
219217
| 'scrape_page'
220218
| 'search'
221-
| 'search_documentation'
219+
| 'search_docs'
222220
| 'search_integration_tools'
223221
| 'search_knowledge_base'
224222
| 'search_library_docs'
@@ -295,13 +293,25 @@ export const Browser: ToolCatalogEntry = {
295293
mode: 'async',
296294
parameters: {
297295
properties: {
296+
sessionId: {
297+
description:
298+
'Reusable session ID returned by an earlier browser call in this chat. Supply it only on a later user message that continues the same browsing objective, and at most once per user message.',
299+
type: 'string',
300+
},
298301
task: {
299302
description:
300-
'The web task to complete, in plain language (include the target site/URL if known).',
303+
"Optional brief scoping instruction that the conversation does not already convey. Do not restate the user's request.",
304+
type: 'string',
305+
},
306+
title: {
307+
description:
308+
"Required private orchestration label (3–8 words) for this Browser Agent session's stable objective. When resuming with sessionId, copy the registry title unchanged.",
309+
maxLength: 120,
310+
minLength: 1,
301311
type: 'string',
302312
},
303313
},
304-
required: ['task'],
314+
required: ['title'],
305315
type: 'object',
306316
},
307317
subagentId: 'browser',
@@ -1248,16 +1258,14 @@ export const Cp: ToolCatalogEntry = {
12481258
properties: {
12491259
destination: {
12501260
type: 'string',
1251-
maxLength: 4096,
12521261
description:
12531262
'Target path under workflows/. An existing folder (or a path ending in "/") duplicates sources into it keeping their names; otherwise the last segment names the copy and the preceding segments are the target folder (created automatically when missing).',
12541263
},
12551264
sources: {
12561265
type: 'array',
1257-
maxItems: 100,
12581266
description:
12591267
'Canonical workflow VFS paths to duplicate, e.g. ["workflows/My%20Workflow"]. Copy paths verbatim from glob/grep/read output.',
1260-
items: { type: 'string', maxLength: 4096 },
1268+
items: { type: 'string' },
12611269
},
12621270
toolTitle: {
12631271
type: 'string',
@@ -3006,15 +3014,6 @@ export const GetPageContents: ToolCatalogEntry = {
30063014
},
30073015
}
30083016

3009-
export const GetPlatformActions: ToolCatalogEntry = {
3010-
id: 'get_platform_actions',
3011-
name: 'get_platform_actions',
3012-
route: 'sim',
3013-
mode: 'async',
3014-
parameters: { type: 'object', properties: {} },
3015-
hidden: true,
3016-
}
3017-
30183017
export const GetWorkflowData: ToolCatalogEntry = {
30193018
id: 'get_workflow_data',
30203019
name: 'get_workflow_data',
@@ -3717,10 +3716,9 @@ export const Mkdir: ToolCatalogEntry = {
37173716
properties: {
37183717
paths: {
37193718
type: 'array',
3720-
maxItems: 100,
37213719
description:
37223720
'Canonical folder VFS paths to create, e.g. ["files/Reports/2026"]. Missing parent segments are created automatically.',
3723-
items: { type: 'string', maxLength: 4096 },
3721+
items: { type: 'string' },
37243722
},
37253723
toolTitle: {
37263724
type: 'string',
@@ -3743,16 +3741,14 @@ export const Mv: ToolCatalogEntry = {
37433741
properties: {
37443742
destination: {
37453743
type: 'string',
3746-
maxLength: 4096,
37473744
description:
37483745
'Target path. A path ending in "/" (or naming an existing folder) moves sources into it keeping their names — always use the trailing "/" form when targeting a folder. Otherwise the last segment is the new name and the preceding segments are the target folder (created automatically when missing).',
37493746
},
37503747
sources: {
37513748
type: 'array',
3752-
maxItems: 100,
37533749
description:
37543750
'Canonical VFS paths to move or rename, e.g. ["files/draft.md"]. All sources must share one category. Copy paths verbatim from glob/grep/read output.',
3755-
items: { type: 'string', maxLength: 4096 },
3751+
items: { type: 'string' },
37563752
},
37573753
toolTitle: {
37583754
type: 'string',
@@ -4185,10 +4181,9 @@ export const Rm: ToolCatalogEntry = {
41854181
properties: {
41864182
paths: {
41874183
type: 'array',
4188-
maxItems: 100,
41894184
description:
41904185
'Canonical VFS paths to delete, e.g. ["files/Reports/draft.md"]. Copy paths verbatim from glob/grep/read output. Paths from different categories may be mixed in one call.',
4191-
items: { type: 'string', maxLength: 4096 },
4186+
items: { type: 'string' },
41924187
},
41934188
toolTitle: {
41944189
type: 'string',
@@ -4523,21 +4518,21 @@ export const Search: ToolCatalogEntry = {
45234518
internal: true,
45244519
}
45254520

4526-
export const SearchDocumentation: ToolCatalogEntry = {
4527-
id: 'search_documentation',
4528-
name: 'search_documentation',
4521+
export const SearchDocs: ToolCatalogEntry = {
4522+
id: 'search_docs',
4523+
name: 'search_docs',
45294524
route: 'sim',
45304525
mode: 'async',
45314526
parameters: {
45324527
type: 'object',
45334528
properties: {
4534-
query: { type: 'string', description: 'The search query' },
4535-
topK: {
4536-
type: 'number',
4529+
path: {
4530+
type: 'string',
45374531
description:
4538-
'Number of results to return (default 10). Not clamped — keep it small, since each result is a full doc chunk.',
4539-
default: 10,
4532+
'Optional docs/ VFS path (a page such as docs/workflows/blocks/agent.mdx, or a section such as docs/workflows) that limits the search scope',
45404533
},
4534+
query: { type: 'string', description: 'The search query' },
4535+
topK: { type: 'number', description: 'Number of results (default 5, max 25)' },
45414536
},
45424537
required: ['query'],
45434538
},
@@ -5930,7 +5925,6 @@ export const TOOL_CATALOG: Record<string, ToolCatalogEntry> = {
59305925
[GetDeployedWorkflowState.id]: GetDeployedWorkflowState,
59315926
[GetDeploymentLog.id]: GetDeploymentLog,
59325927
[GetPageContents.id]: GetPageContents,
5933-
[GetPlatformActions.id]: GetPlatformActions,
59345928
[GetWorkflowData.id]: GetWorkflowData,
59355929
[GetWorkflowRunOptions.id]: GetWorkflowRunOptions,
59365930
[Glob.id]: Glob,
@@ -5971,7 +5965,7 @@ export const TOOL_CATALOG: Record<string, ToolCatalogEntry> = {
59715965
[RunWorkflowUntilBlock.id]: RunWorkflowUntilBlock,
59725966
[ScrapePage.id]: ScrapePage,
59735967
[Search.id]: Search,
5974-
[SearchDocumentation.id]: SearchDocumentation,
5968+
[SearchDocs.id]: SearchDocs,
59755969
[SearchIntegrationTools.id]: SearchIntegrationTools,
59765970
[SearchKnowledgeBase.id]: SearchKnowledgeBase,
59775971
[SearchLibraryDocs.id]: SearchLibraryDocs,

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

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,25 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
3939
browser: {
4040
parameters: {
4141
properties: {
42+
sessionId: {
43+
description:
44+
'Reusable session ID returned by an earlier browser call in this chat. Supply it only on a later user message that continues the same browsing objective, and at most once per user message.',
45+
type: 'string',
46+
},
4247
task: {
4348
description:
44-
'The web task to complete, in plain language (include the target site/URL if known).',
49+
"Optional brief scoping instruction that the conversation does not already convey. Do not restate the user's request.",
50+
type: 'string',
51+
},
52+
title: {
53+
description:
54+
"Required private orchestration label (3–8 words) for this Browser Agent session's stable objective. When resuming with sessionId, copy the registry title unchanged.",
55+
maxLength: 120,
56+
minLength: 1,
4557
type: 'string',
4658
},
4759
},
48-
required: ['task'],
60+
required: ['title'],
4961
type: 'object',
5062
},
5163
resultSchema: undefined,
@@ -1112,18 +1124,15 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
11121124
properties: {
11131125
destination: {
11141126
type: 'string',
1115-
maxLength: 4096,
11161127
description:
11171128
'Target path under workflows/. An existing folder (or a path ending in "/") duplicates sources into it keeping their names; otherwise the last segment names the copy and the preceding segments are the target folder (created automatically when missing).',
11181129
},
11191130
sources: {
11201131
type: 'array',
1121-
maxItems: 100,
11221132
description:
11231133
'Canonical workflow VFS paths to duplicate, e.g. ["workflows/My%20Workflow"]. Copy paths verbatim from glob/grep/read output.',
11241134
items: {
11251135
type: 'string',
1126-
maxLength: 4096,
11271136
},
11281137
},
11291138
toolTitle: {
@@ -2909,13 +2918,6 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
29092918
},
29102919
resultSchema: undefined,
29112920
},
2912-
get_platform_actions: {
2913-
parameters: {
2914-
type: 'object',
2915-
properties: {},
2916-
},
2917-
resultSchema: undefined,
2918-
},
29192921
get_workflow_data: {
29202922
parameters: {
29212923
type: 'object',
@@ -3596,12 +3598,10 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
35963598
properties: {
35973599
paths: {
35983600
type: 'array',
3599-
maxItems: 100,
36003601
description:
36013602
'Canonical folder VFS paths to create, e.g. ["files/Reports/2026"]. Missing parent segments are created automatically.',
36023603
items: {
36033604
type: 'string',
3604-
maxLength: 4096,
36053605
},
36063606
},
36073607
toolTitle: {
@@ -3620,18 +3620,15 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
36203620
properties: {
36213621
destination: {
36223622
type: 'string',
3623-
maxLength: 4096,
36243623
description:
36253624
'Target path. A path ending in "/" (or naming an existing folder) moves sources into it keeping their names — always use the trailing "/" form when targeting a folder. Otherwise the last segment is the new name and the preceding segments are the target folder (created automatically when missing).',
36263625
},
36273626
sources: {
36283627
type: 'array',
3629-
maxItems: 100,
36303628
description:
36313629
'Canonical VFS paths to move or rename, e.g. ["files/draft.md"]. All sources must share one category. Copy paths verbatim from glob/grep/read output.',
36323630
items: {
36333631
type: 'string',
3634-
maxLength: 4096,
36353632
},
36363633
},
36373634
toolTitle: {
@@ -4067,12 +4064,10 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
40674064
properties: {
40684065
paths: {
40694066
type: 'array',
4070-
maxItems: 100,
40714067
description:
40724068
'Canonical VFS paths to delete, e.g. ["files/Reports/draft.md"]. Copy paths verbatim from glob/grep/read output. Paths from different categories may be mixed in one call.',
40734069
items: {
40744070
type: 'string',
4075-
maxLength: 4096,
40764071
},
40774072
},
40784073
toolTitle: {
@@ -4380,19 +4375,22 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
43804375
},
43814376
resultSchema: undefined,
43824377
},
4383-
search_documentation: {
4378+
search_docs: {
43844379
parameters: {
43854380
type: 'object',
43864381
properties: {
4382+
path: {
4383+
type: 'string',
4384+
description:
4385+
'Optional docs/ VFS path (a page such as docs/workflows/blocks/agent.mdx, or a section such as docs/workflows) that limits the search scope',
4386+
},
43874387
query: {
43884388
type: 'string',
43894389
description: 'The search query',
43904390
},
43914391
topK: {
43924392
type: 'number',
4393-
description:
4394-
'Number of results to return (default 10). Not clamped — keep it small, since each result is a full doc chunk.',
4395-
default: 10,
4393+
description: 'Number of results (default 5, max 25)',
43964394
},
43974395
},
43984396
required: ['query'],

apps/sim/lib/copilot/generated/vfs-snapshot-v1.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ export interface VfsSnapshotV1 {
1010
envVars?: string[]
1111
files?: VfsSnapshotV1File[]
1212
integrations?: VfsSnapshotV1Integration[]
13-
jobs?: VfsSnapshotV1Job[]
1413
knowledgeBases?: VfsSnapshotV1KnowledgeBase[]
1514
mcpServers?: VfsSnapshotV1McpServer[]
1615
members?: VfsSnapshotV1Member[]
@@ -59,19 +58,6 @@ export interface VfsSnapshotV1Integration {
5958
providerId: string
6059
role?: string
6160
}
62-
/**
63-
* This interface was referenced by `VfsSnapshotV1`'s JSON-Schema
64-
* via the `definition` "VfsSnapshotV1Job".
65-
*/
66-
export interface VfsSnapshotV1Job {
67-
cronExpression?: string
68-
id: string
69-
lifecycle?: string
70-
prompt?: string
71-
sourceTaskName?: string
72-
status?: string
73-
title?: string
74-
}
7561
/**
7662
* This interface was referenced by `VfsSnapshotV1`'s JSON-Schema
7763
* via the `definition` "VfsSnapshotV1KnowledgeBase".

0 commit comments

Comments
 (0)