File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ import {
4040 WORKFLOW_RUN_WAIT_TIMEOUT_CAPABILITY ,
4141 WORKFLOW_TOOL_WAIT_TIMEOUT_CAPABILITY ,
4242} from '@/lib/mothership/generated/protocol'
43- import type { VfsSnapshotV1 } from '@/lib/mothership/generated/vfs-snapshot-v1'
4443import { getToolEntry } from '@/lib/mothership/tool-executor/router'
4544import { getCopilotToolDescription } from '@/lib/mothership/tools/descriptions'
4645import { listOrganizationSecretNames } from '@/lib/organization-secrets/application/use-cases'
@@ -87,7 +86,6 @@ interface BuildPayloadParams {
8786 assistantFast ?: boolean
8887 assistantSearch ?: WorkspaceSearchFilters
8988 workspaceContext ?: string
90- vfs ?: VfsSnapshotV1
9189 userPermission ?: string
9290 /** Plan/flag-gated org capabilities (e.g. "custom-blocks") the mothership gates tools/prompts on. */
9391 userTimezone ?: string
Load diff This file was deleted.
Original file line number Diff line number Diff line change 1212 * policy, and bridge envelopes. Individual tool parameters and results are
1313 * still validated by the desktop driver rather than statically mapped here.
1414 *
15- * Current tool names mirror the mothership tool catalog
16- * (`copilot/internal/tools/catalog/browser` in the mothership repo). This
17- * package also retains retired names needed to replay persisted chat history.
15+ * Current tool names mirror the mothership worker's tool catalog
16+ * (`worker/packages/contracts/tool-catalog-v1.json`, with desktop tool
17+ * definitions in `worker/apps/server/src/protocol/desktop-tools.ts`, in the
18+ * mothership repo). This package also retains retired names needed to replay
19+ * persisted chat history.
1820 * The catalog is the source of truth for what the model can call; this package
1921 * is the source of truth for how current and compatible legacy calls travel to
2022 * the desktop main process.
Original file line number Diff line number Diff line change 1313 * One is active at a time; agent tools act on the active one unless they name
1414 * another.
1515 *
16- * Tool names and parameter shapes mirror the mothership tool catalog
17- * (`copilot/internal/tools/catalog/terminal` in the mothership repo) — that
18- * catalog is the source of truth for what the model can call; this package is
16+ * Tool names and parameter shapes mirror the mothership worker's tool catalog
17+ * (`worker/packages/contracts/tool-catalog-v1.json`, with desktop tool
18+ * definitions in `worker/apps/server/src/protocol/desktop-tools.ts`, in the
19+ * mothership repo) — that catalog is the source of truth for what the model can call; this package is
1920 * the source of truth for how those calls travel to the desktop main process.
2021 */
2122
You can’t perform that action at this time.
0 commit comments