@parcha/agentrun-client 0.1.0-beta.38 → 0.1.0-beta.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,31 @@
1
1
  /** Each operation as the runtime sends it, by operationId. */
2
2
  export const OPERATIONS = {
3
3
  archiveAgent: { "method": "POST", "path": "/agents/{agent_id}/archive", "pathParams": ["agent_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
4
+ connectNative: { "method": "POST", "path": "/native/connect", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
4
5
  createAgent: { "method": "POST", "path": "/agents", "pathParams": [], "multiSegment": [], "query": [], "headers": ["Idempotency-Key"], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
5
6
  deleteAgentArchil: { "method": "DELETE", "path": "/agents/{agent_id}/archil", "pathParams": ["agent_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
7
+ disconnectNative: { "method": "POST", "path": "/agents/{agent_id}/native/disconnect", "pathParams": ["agent_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
8
+ discoverNative: { "method": "POST", "path": "/native/discover", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
6
9
  forgetSignIn: { "method": "DELETE", "path": "/agents/{agent_id}/sign-ins/{key}", "pathParams": ["agent_id", "key"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
7
10
  getAgent: { "method": "GET", "path": "/agents/{agent_id}", "pathParams": ["agent_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": true },
8
11
  getAgentArchil: { "method": "GET", "path": "/agents/{agent_id}/archil", "pathParams": ["agent_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
9
12
  getLearningLoop: { "method": "GET", "path": "/agents/{agent_id}/learning/loop", "pathParams": ["agent_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
13
+ getNative: { "method": "GET", "path": "/agents/{agent_id}/native", "pathParams": ["agent_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
10
14
  listAgents: { "method": "GET", "path": "/agents", "pathParams": [], "multiSegment": [], "query": ["limit", "cursor", "archived"], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
11
15
  listLearningPromotions: { "method": "GET", "path": "/agents/{agent_id}/learning/promotions", "pathParams": ["agent_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
12
16
  listRuns: { "method": "GET", "path": "/agents/{agent_id}/runs", "pathParams": ["agent_id"], "multiSegment": [], "query": ["limit", "cursor", "status"], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
13
17
  unarchiveAgent: { "method": "POST", "path": "/agents/{agent_id}/unarchive", "pathParams": ["agent_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
14
18
  updateDefinition: { "method": "PUT", "path": "/agents/{agent_id}/definition", "pathParams": ["agent_id"], "multiSegment": [], "query": [], "headers": ["If-Match"], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": true },
19
+ verifyNative: { "method": "POST", "path": "/agents/{agent_id}/native/verify", "pathParams": ["agent_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
20
+ completeRemoteCommand: { "method": "POST", "path": "/connectors/{connector_id}/commands/{command_id}/complete", "pathParams": ["connector_id", "command_id"], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
21
+ enrollRemoteConnector: { "method": "POST", "path": "/connectors/enrollment", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
22
+ importRemoteHistory: { "method": "POST", "path": "/connectors/{connector_id}/targets/{target_id}/history", "pathParams": ["connector_id", "target_id"], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
23
+ importRemoteTarget: { "method": "POST", "path": "/connectors/{connector_id}/import", "pathParams": ["connector_id"], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
24
+ listRemoteConnectors: { "method": "GET", "path": "/connectors", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
25
+ pollRemoteConnector: { "method": "POST", "path": "/connectors/{connector_id}/poll", "pathParams": ["connector_id"], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
26
+ registerRemoteConnector: { "method": "POST", "path": "/connectors", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
27
+ remoteCommandEvents: { "method": "POST", "path": "/connectors/{connector_id}/commands/{command_id}/events", "pathParams": ["connector_id", "command_id"], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
28
+ revokeRemoteConnector: { "method": "DELETE", "path": "/connectors/{connector_id}", "pathParams": ["connector_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
15
29
  createFile: { "method": "POST", "path": "/files", "pathParams": [], "multiSegment": [], "query": ["path", "content_type", "sha256"], "headers": ["Idempotency-Key"], "body": { "required": true, "types": ["application/json", "application/octet-stream", "*/*"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
16
30
  deleteFile: { "method": "DELETE", "path": "/files/{file_id}", "pathParams": ["file_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "none", "secret": false, "publicFields": [], "tagged": false },
17
31
  getFile: { "method": "GET", "path": "/files/{file_id}", "pathParams": ["file_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
@@ -32,26 +46,40 @@ export const OPERATIONS = {
32
46
  listLearningNotes: { "method": "GET", "path": "/agents/{agent_id}/learning/notes", "pathParams": ["agent_id"], "multiSegment": [], "query": ["cursor", "limit", "status"], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
33
47
  readLearningFile: { "method": "GET", "path": "/agents/{agent_id}/learning/files/{file}", "pathParams": ["agent_id", "file"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json+text", "secret": false, "publicFields": [], "tagged": true },
34
48
  recordLearningEval: { "method": "POST", "path": "/agents/{agent_id}/learning/evals", "pathParams": ["agent_id"], "multiSegment": [], "query": [], "headers": ["Idempotency-Key"], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
49
+ getLearnedWorkflowReplay: { "method": "GET", "path": "/agents/{agent_id}/learning/workflows/{name}/revisions/{digest}/replays/{replay_id}", "pathParams": ["agent_id", "name", "digest", "replay_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
35
50
  retireLearningFile: { "method": "POST", "path": "/agents/{agent_id}/learning/files/{file}/retire", "pathParams": ["agent_id", "file"], "multiSegment": [], "query": [], "headers": ["If-Match"], "body": null, "answer": "text", "secret": false, "publicFields": [], "tagged": true },
36
51
  listLearnedWorkflowRevisions: { "method": "GET", "path": "/agents/{agent_id}/learning/workflows/{name}/revisions", "pathParams": ["agent_id", "name"], "multiSegment": [], "query": ["limit"], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
37
52
  writeLearningFile: { "method": "PUT", "path": "/agents/{agent_id}/learning/files/{file}", "pathParams": ["agent_id", "file"], "multiSegment": [], "query": [], "headers": ["If-Match", "If-None-Match"], "body": { "required": true, "types": ["text/markdown", "text/plain", "application/json"] }, "answer": "text", "secret": false, "publicFields": [], "tagged": true },
38
53
  connectGitHub: { "method": "POST", "path": "/integrations/github/connect", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": false, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
39
54
  createPairing: { "method": "POST", "path": "/computers/pairings", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
55
+ deleteComposioSubscription: { "method": "DELETE", "path": "/settings/mcp-servers/{name}/composio/subscription", "pathParams": ["name"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
40
56
  deleteComputer: { "method": "DELETE", "path": "/computers/{computer_id}", "pathParams": ["computer_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "none", "secret": false, "publicFields": [], "tagged": false },
57
+ deleteEmailAccount: { "method": "DELETE", "path": "/settings/email", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "none", "secret": false, "publicFields": [], "tagged": false },
41
58
  deleteWorkspaceArchil: { "method": "DELETE", "path": "/workspace/archil", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
42
59
  disconnectGitHub: { "method": "DELETE", "path": "/integrations/github", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
60
+ finishChatGPTSignIn: { "method": "POST", "path": "/settings/chatgpt/sign-in/finish", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
61
+ getChatGPTSignIn: { "method": "GET", "path": "/settings/chatgpt", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
62
+ getEmailAccount: { "method": "GET", "path": "/settings/email", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
43
63
  getGitHubConnection: { "method": "GET", "path": "/integrations/github", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
44
64
  getWorkspaceArchil: { "method": "GET", "path": "/workspace/archil", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
45
65
  gitHubCallback: { "method": "GET", "path": "/integrations/github/callback", "pathParams": [], "multiSegment": [], "query": ["code", "state"], "headers": [], "body": null, "answer": "none", "secret": false, "publicFields": [], "tagged": false },
46
66
  gitHubInstalled: { "method": "GET", "path": "/integrations/github/installed", "pathParams": [], "multiSegment": [], "query": ["installation_id", "setup_action", "state"], "headers": [], "body": null, "answer": "none", "secret": false, "publicFields": [], "tagged": false },
67
+ listComposioEvents: { "method": "GET", "path": "/settings/mcp-servers/{name}/composio/events", "pathParams": ["name"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
47
68
  listComposioTools: { "method": "POST", "path": "/settings/mcp-servers/composio/tools", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": true, "publicFields": ["toolkit"], "tagged": false },
69
+ listComposioTriggers: { "method": "GET", "path": "/settings/mcp-servers/{name}/composio/triggers", "pathParams": ["name"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
48
70
  listComputerChoices: { "method": "GET", "path": "/computers/{provider}/choices", "pathParams": ["provider"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
49
71
  listComputers: { "method": "GET", "path": "/computers", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
50
72
  putWorkspaceArchil: { "method": "PUT", "path": "/workspace/archil", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
73
+ receiveHook_composio: { "method": "POST", "path": "/hooks/composio/{hook}", "pathParams": ["hook"], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["*/*"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
74
+ rotateComposioSecret: { "method": "POST", "path": "/settings/mcp-servers/{name}/composio/rotate-secret", "pathParams": ["name"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
51
75
  saveComposioServer: { "method": "PUT", "path": "/settings/mcp-servers/{name}/composio", "pathParams": ["name"], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": true, "publicFields": ["toolkit", "tools.[]", "user_id"], "tagged": false },
52
76
  saveComputerKeys: { "method": "PUT", "path": "/computers/{provider}/keys", "pathParams": ["provider"], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
77
+ saveEmailAccount: { "method": "PUT", "path": "/settings/email", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
78
+ signOutChatGPT: { "method": "DELETE", "path": "/settings/chatgpt", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
79
+ startChatGPTSignIn: { "method": "POST", "path": "/settings/chatgpt/sign-in", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
53
80
  startMcpOAuth: { "method": "POST", "path": "/settings/mcp-servers/{name}/oauth/start", "pathParams": ["name"], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": true, "publicFields": ["url", "scopes.[]", "client_id"], "tagged": false },
54
81
  testComputer: { "method": "POST", "path": "/computers/{provider}/test", "pathParams": ["provider"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
82
+ testEmailAccount: { "method": "POST", "path": "/settings/email/test", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": false, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
55
83
  testWorkspaceArchil: { "method": "POST", "path": "/workspace/archil/test", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
56
84
  deleteMcpServer: { "method": "DELETE", "path": "/settings/mcp-servers/{name}", "pathParams": ["name"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
57
85
  getMcpServer: { "method": "GET", "path": "/settings/mcp-servers/{name}", "pathParams": ["name"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
@@ -61,6 +89,7 @@ export const OPERATIONS = {
61
89
  getMcpPrivateHosts: { "method": "GET", "path": "/settings/mcp-servers/oauth/private-hosts", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
62
90
  refreshMcpServer: { "method": "POST", "path": "/settings/mcp-servers/{name}/refresh", "pathParams": ["name"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
63
91
  saveMcpServer: { "method": "PUT", "path": "/settings/mcp-servers/{name}", "pathParams": ["name"], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": true, "publicFields": ["url", "auth.type"], "tagged": false },
92
+ getObservations: { "method": "GET", "path": "/observations", "pathParams": [], "multiSegment": [], "query": ["days", "session_id"], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
64
93
  listRevisions: { "method": "GET", "path": "/agents/{agent_id}/revisions", "pathParams": ["agent_id"], "multiSegment": [], "query": ["limit", "cursor"], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
65
94
  setCurrent: { "method": "POST", "path": "/agents/{agent_id}/current", "pathParams": ["agent_id"], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
66
95
  archiveRun: { "method": "POST", "path": "/runs/{run_id}/archive", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
@@ -85,8 +114,12 @@ export const OPERATIONS = {
85
114
  startRun: { "method": "POST", "path": "/runs/{run_id}/start", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": [], "body": { "required": false, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
86
115
  stopRun: { "method": "POST", "path": "/runs/{run_id}/stop", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
87
116
  takeOverRunComputer: { "method": "POST", "path": "/runs/{run_id}/computer/take-over", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": [], "body": { "required": false, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
88
- getTimeline: { "method": "GET", "path": "/runs/{run_id}/timeline", "pathParams": ["run_id"], "multiSegment": [], "query": ["after", "wait_ms", "limit"], "headers": ["Last-Event-ID"], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
117
+ getTimeline: { "method": "GET", "path": "/runs/{run_id}/timeline", "pathParams": ["run_id"], "multiSegment": [], "query": ["after", "wait_ms", "limit", "calls"], "headers": ["Last-Event-ID"], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
89
118
  unarchiveRun: { "method": "POST", "path": "/runs/{run_id}/unarchive", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
119
+ completeSdkRun: { "method": "POST", "path": "/sdk-runs/{run_id}/complete", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": ["Idempotency-Key"], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
120
+ sdkRunEvents: { "method": "POST", "path": "/sdk-runs/{run_id}/events", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": ["Idempotency-Key"], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
121
+ getSdkRun: { "method": "GET", "path": "/sdk-runs/{run_id}", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
122
+ startSdkRun: { "method": "POST", "path": "/agents/{agent_id}/sdk-runs", "pathParams": ["agent_id"], "multiSegment": [], "query": [], "headers": ["Idempotency-Key"], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
90
123
  getCapabilities: { "method": "GET", "path": "/capabilities", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
91
124
  getHealth: { "method": "GET", "path": "/health", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
92
125
  callMcp: { "method": "POST", "path": "/mcp", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
@@ -102,12 +135,12 @@ export const OPERATIONS = {
102
135
  getToolSettings: { "method": "GET", "path": "/settings/tools", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
103
136
  putToolSettings: { "method": "PUT", "path": "/settings/tools", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
104
137
  createTrigger: { "method": "POST", "path": "/triggers", "pathParams": [], "multiSegment": [], "query": [], "headers": ["Idempotency-Key"], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
105
- deleteTrigger: { "method": "DELETE", "path": "/triggers/{trigger_id}", "pathParams": ["trigger_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "none", "secret": false, "publicFields": [], "tagged": false },
138
+ deleteTrigger: { "method": "DELETE", "path": "/triggers/{trigger_id}", "pathParams": ["trigger_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
106
139
  fireTrigger: { "method": "POST", "path": "/triggers/{trigger_id}/fire", "pathParams": ["trigger_id"], "multiSegment": [], "query": [], "headers": ["Idempotency-Key"], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
107
140
  listTriggerFirings: { "method": "GET", "path": "/triggers/{trigger_id}/firings", "pathParams": ["trigger_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
108
141
  getTrigger: { "method": "GET", "path": "/triggers/{trigger_id}", "pathParams": ["trigger_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
109
142
  listTriggers: { "method": "GET", "path": "/triggers", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
110
- rotateTriggerSecret: { "method": "POST", "path": "/triggers/{trigger_id}/secret", "pathParams": ["trigger_id"], "multiSegment": [], "query": [], "headers": [], "body": { "required": false, "types": ["application/json"] }, "answer": "json", "secret": true, "publicFields": [], "tagged": false },
143
+ rotateTriggerSecret: { "method": "POST", "path": "/triggers/{trigger_id}/secret", "pathParams": ["trigger_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": true, "publicFields": [], "tagged": false },
111
144
  updateTrigger: { "method": "PATCH", "path": "/triggers/{trigger_id}", "pathParams": ["trigger_id"], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
112
145
  getUsage: { "method": "GET", "path": "/usage", "pathParams": [], "multiSegment": [], "query": ["from", "to", "group_by"], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
113
146
  deleteWebhook: { "method": "DELETE", "path": "/settings/webhook", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "none", "secret": false, "publicFields": [], "tagged": false },
@@ -124,10 +157,16 @@ export function resources(call) {
124
157
  agents: {
125
158
  /** Archive the agent: hidden from the lists, kept with its history (POST /agents/{agent_id}/archive). */
126
159
  archive: (agentId, options) => call("archiveAgent", [agentId], undefined, undefined, options),
160
+ /** Connect a native project using ordinary agent and revision storage (POST /native/connect). */
161
+ connectNative: (body, options) => call("connectNative", [], body, undefined, options),
127
162
  /** Create an agent home (POST /agents). */
128
163
  create: (body, params, options) => call("createAgent", [], body, params, options),
129
164
  /** Remove an agent's own Archil disk, and everything on it (DELETE /agents/{agent_id}/archil). */
130
165
  deleteAgentArchil: (agentId, options) => call("deleteAgentArchil", [agentId], undefined, undefined, options),
166
+ /** Disconnect future native jobs while retaining source configuration and history (POST /agents/{agent_id}/native/disconnect). */
167
+ disconnectNative: (agentId, options) => call("disconnectNative", [agentId], undefined, undefined, options),
168
+ /** Discover existing native projects on this source machine without running a model (POST /native/discover). */
169
+ discoverNative: (body, options) => call("discoverNative", [], body, undefined, options),
131
170
  /** Forget one of the agent's saved sign-ins (DELETE /agents/{agent_id}/sign-ins/{key}). */
132
171
  forgetSignIn: (agentId, key, options) => call("forgetSignIn", [agentId, key], undefined, undefined, options),
133
172
  /** One agent (GET /agents/{agent_id}). */
@@ -136,6 +175,8 @@ export function resources(call) {
136
175
  getAgentArchil: (agentId, options) => call("getAgentArchil", [agentId], undefined, undefined, options),
137
176
  /** The self-learning loop's own record: each compile turn, and each guarded step of the learned workflows (GET /agents/{agent_id}/learning/loop). */
138
177
  getLearningLoop: (agentId, options) => call("getLearningLoop", [agentId], undefined, undefined, options),
178
+ /** Read a native connection (GET /agents/{agent_id}/native). */
179
+ getNative: (agentId, options) => call("getNative", [agentId], undefined, undefined, options),
139
180
  /** List agents (GET /agents). */
140
181
  list: (params, options) => call("listAgents", [], undefined, params, options),
141
182
  /** Each learned workflow revision's promotion: its replay's numbers and whether it serves (GET /agents/{agent_id}/learning/promotions). */
@@ -146,6 +187,28 @@ export function resources(call) {
146
187
  unarchive: (agentId, options) => call("unarchiveAgent", [agentId], undefined, undefined, options),
147
188
  /** Replace the agent's definition (PUT /agents/{agent_id}/definition). */
148
189
  update: (agentId, body, params, options) => call("updateDefinition", [agentId], body, params, options),
190
+ /** Check native CLI and sign-in without a paid model call (POST /agents/{agent_id}/native/verify). */
191
+ verifyNative: (agentId, options) => call("verifyNative", [agentId], undefined, undefined, options),
192
+ },
193
+ connectors: {
194
+ /** Complete a source command once under its valid lease (POST /connectors/{connector_id}/commands/{command_id}/complete). */
195
+ completeRemoteCommand: (connectorId, commandId, body, options) => call("completeRemoteCommand", [connectorId, commandId], body, undefined, options),
196
+ /** Create a ten-minute one-use connection code (POST /connectors/enrollment). */
197
+ enrollRemoteConnector: (body, options) => call("enrollRemoteConnector", [], body, undefined, options),
198
+ /** Import explicitly selected, redacted past sessions without running or learning from them (POST /connectors/{connector_id}/targets/{target_id}/history). */
199
+ importRemoteHistory: (connectorId, targetId, body, options) => call("importRemoteHistory", [connectorId, targetId], body, undefined, options),
200
+ /** Import an explicitly selected source-native agent reference (POST /connectors/{connector_id}/import). */
201
+ importRemoteTarget: (connectorId, body, options) => call("importRemoteTarget", [connectorId], body, undefined, options),
202
+ /** List remote source machines and imported agent targets (GET /connectors). */
203
+ listRemoteConnectors: (options) => call("listRemoteConnectors", [], undefined, undefined, options),
204
+ /** Renew active source leases and claim one command without replay (POST /connectors/{connector_id}/poll). */
205
+ pollRemoteConnector: (connectorId, body, options) => call("pollRemoteConnector", [connectorId], body, undefined, options),
206
+ /** Exchange a one-use enrollment code for a connector-scoped credential (POST /connectors). */
207
+ registerRemoteConnector: (body, options) => call("registerRemoteConnector", [], body, undefined, options),
208
+ /** Append an ordered idempotent native event batch for a valid command lease (POST /connectors/{connector_id}/commands/{command_id}/events). */
209
+ remoteCommandEvents: (connectorId, commandId, body, options) => call("remoteCommandEvents", [connectorId, commandId], body, undefined, options),
210
+ /** Revoke a source connector and stop its outstanding commands (DELETE /connectors/{connector_id}). */
211
+ revokeRemoteConnector: (connectorId, options) => call("revokeRemoteConnector", [connectorId], undefined, undefined, options),
149
212
  },
150
213
  files: {
151
214
  /** Reserve an upload (POST /files). */
@@ -192,6 +255,8 @@ export function resources(call) {
192
255
  read: (agentId, file, options) => call("readLearningFile", [agentId, file], undefined, undefined, options),
193
256
  /** Record a held-out test of the agent: its counts and the cost a task, with learning and by hand (POST /agents/{agent_id}/learning/evals). */
194
257
  recordEval: (agentId, body, params, options) => call("recordLearningEval", [agentId], body, params, options),
258
+ /** Read a replay's result: running, done or failed, its counts and its score (start one from the console's Learning tab) (GET /agents/{agent_id}/learning/workflows/{name}/revisions/{digest}/replays/{replay_id}). */
259
+ replay: (agentId, name, digest, replayId, options) => call("getLearnedWorkflowReplay", [agentId, name, digest, replayId], undefined, undefined, options),
195
260
  /** Retire a note, a skill or a workflow draft: out of every later run, kept in history (POST /agents/{agent_id}/learning/files/{file}/retire). */
196
261
  retire: (agentId, file, params, options) => call("retireLearningFile", [agentId, file], undefined, params, options),
197
262
  /** A learned workflow's revisions on main, oldest first, each with its workflow.json as it was then (GET /agents/{agent_id}/learning/workflows/{name}/revisions). */
@@ -202,30 +267,56 @@ export function resources(call) {
202
267
  local: {
203
268
  /** A code that pairs a person's own computer with this server (POST /computers/pairings). */
204
269
  createPairing: (options) => call("createPairing", [], undefined, undefined, options),
270
+ /** Delete the Composio project's webhook subscription, once no trigger uses it (DELETE /settings/mcp-servers/{name}/composio/subscription). */
271
+ deleteComposioSubscription: (name, options) => call("deleteComposioSubscription", [name], undefined, undefined, options),
205
272
  /** Remove a paired computer: its token ends and its socket closes (DELETE /computers/{computer_id}). */
206
273
  deleteComputer: (computerId, options) => call("deleteComputer", [computerId], undefined, undefined, options),
274
+ /** Forget this server's email account (DELETE /settings/email). */
275
+ deleteEmailAccount: (options) => call("deleteEmailAccount", [], undefined, undefined, options),
207
276
  /** Turn Mode 2 off: run folders on this server's own disk (DELETE /workspace/archil). */
208
277
  deleteWorkspaceArchil: (options) => call("deleteWorkspaceArchil", [], undefined, undefined, options),
209
278
  /** Disconnect GitHub: the App's credentials gone from this server, and every github trigger off (DELETE /integrations/github). */
210
279
  disconnectGitHub: (options) => call("disconnectGitHub", [], undefined, undefined, options),
280
+ /** Finish signing in with ChatGPT with the address the sign-in tab ended on (POST /settings/chatgpt/sign-in/finish). */
281
+ finishChatGptsignIn: (body, options) => call("finishChatGPTSignIn", [], body, undefined, options),
282
+ /** This server's ChatGPT sign-in: its state, who and which plan, never a token (GET /settings/chatgpt). */
283
+ getChatGptsignIn: (options) => call("getChatGPTSignIn", [], undefined, undefined, options),
284
+ /** This server's email account: its address, servers and who signs in, never its password (GET /settings/email). */
285
+ getEmailAccount: (options) => call("getEmailAccount", [], undefined, undefined, options),
211
286
  /** Whether a GitHub App is connected, and if so its id, slug and installations, never a secret (GET /integrations/github). */
212
287
  getGitHubConnection: (options) => call("getGitHubConnection", [], undefined, undefined, options),
213
288
  /** Whether run folders are on Archil disks (Mode 2), the settings, and whether its keys are saved (GET /workspace/archil). */
214
289
  getWorkspaceArchil: (options) => call("getWorkspaceArchil", [], undefined, undefined, options),
290
+ /** List a saved Composio server's toolkit's events, for a composio trigger (GET /settings/mcp-servers/{name}/composio/events). */
291
+ listComposioEvents: (name, options) => call("listComposioEvents", [name], undefined, undefined, options),
215
292
  /** List the actions of a Composio toolkit, for the console's picker; stores nothing (POST /settings/mcp-servers/composio/tools). */
216
293
  listComposioTools: (body, options) => call("listComposioTools", [], body, undefined, options),
294
+ /** A saved Composio server's triggers, each with its instance's state on Composio (GET /settings/mcp-servers/{name}/composio/triggers). */
295
+ listComposioTriggers: (name, options) => call("listComposioTriggers", [name], undefined, undefined, options),
217
296
  /** The values a computer provider's picked keys offer, read from the vendor (GET /computers/{provider}/choices). */
218
297
  listComputerChoices: (provider, options) => call("listComputerChoices", [provider], undefined, undefined, options),
219
298
  /** Settings → Computers: the kinds of computer this server offers, each provider and whether its keys are saved (GET /computers). */
220
299
  listComputers: (options) => call("listComputers", [], undefined, undefined, options),
221
300
  /** Turn Mode 2 on: run folders on Archil disks, one per agent (PUT /workspace/archil). */
222
301
  putWorkspaceArchil: (body, options) => call("putWorkspaceArchil", [], body, undefined, options),
302
+ /** Fire a Composio trigger: a request it checks, no token (POST /hooks/composio/{hook}). */
303
+ receiveHookComposio: (hook, body, options) => call("receiveHook_composio", [hook], body, undefined, options),
304
+ /** Rotate the Composio project's webhook subscription's secret, and keep the new one (POST /settings/mcp-servers/{name}/composio/rotate-secret). */
305
+ rotateComposioSecret: (name, options) => call("rotateComposioSecret", [name], undefined, undefined, options),
223
306
  /** Have Composio make a managed MCP server for a toolkit's chosen actions, and save it as an MCP server (PUT /settings/mcp-servers/{name}/composio). */
224
307
  saveComposioServer: (name, body, options) => call("saveComposioServer", [name], body, undefined, options),
225
308
  /** Save a computer provider's keys, sealed (PUT /computers/{provider}/keys). */
226
309
  saveComputerKeys: (provider, body, options) => call("saveComputerKeys", [provider], body, undefined, options),
310
+ /** Save this server's email account, its password sealed (PUT /settings/email). */
311
+ saveEmailAccount: (body, options) => call("saveEmailAccount", [], body, undefined, options),
312
+ /** Sign out of ChatGPT: the session revoked at OpenAI, then forgotten here (DELETE /settings/chatgpt). */
313
+ signOutChatGpt: (options) => call("signOutChatGPT", [], undefined, undefined, options),
314
+ /** Start signing in with ChatGPT: the link to open (POST /settings/chatgpt/sign-in). */
315
+ startChatGptsignIn: (options) => call("startChatGPTSignIn", [], undefined, undefined, options),
227
316
  /** Test a computer provider's account with its saved keys (POST /computers/{provider}/test). */
228
317
  testComputer: (provider, options) => call("testComputer", [provider], undefined, undefined, options),
318
+ /** Sign in to the email account's IMAP and SMTP servers, sending nothing (POST /settings/email/test). */
319
+ testEmailAccount: (body, options) => call("testEmailAccount", [], body, undefined, options),
229
320
  /** Test the Archil account key at its region's control plane (POST /workspace/archil/test). */
230
321
  testWorkspaceArchil: (options) => call("testWorkspaceArchil", [], undefined, undefined, options),
231
322
  },
@@ -247,6 +338,10 @@ export function resources(call) {
247
338
  /** Preview a remote MCP server, then save it with the tools listed and its credential sealed (PUT /settings/mcp-servers/{name}). */
248
339
  save: (name, body, options) => call("saveMcpServer", [name], body, undefined, options),
249
340
  },
341
+ Observations: {
342
+ /** Read activity and token usage reported by externally running agents (GET /observations). */
343
+ getObservations: (params, options) => call("getObservations", [], undefined, params, options),
344
+ },
250
345
  revisions: {
251
346
  /** The agent's revisions, newest first (GET /agents/{agent_id}/revisions). */
252
347
  list: (agentId, params, options) => call("listRevisions", [agentId], undefined, params, options),
@@ -303,6 +398,16 @@ export function resources(call) {
303
398
  /** Show the archived run in the lists again (POST /runs/{run_id}/unarchive). */
304
399
  unarchive: (runId, options) => call("unarchiveRun", [runId], undefined, undefined, options),
305
400
  },
401
+ sdkRuns: {
402
+ /** Complete a backend SDK task (POST /sdk-runs/{run_id}/complete). */
403
+ complete: (runId, body, params, options) => call("completeSdkRun", [runId], body, params, options),
404
+ /** Record bounded SDK execution evidence (POST /sdk-runs/{run_id}/events). */
405
+ events: (runId, body, params, options) => call("sdkRunEvents", [runId], body, params, options),
406
+ /** Read SDK run and learning state (GET /sdk-runs/{run_id}). */
407
+ get: (runId, options) => call("getSdkRun", [runId], undefined, undefined, options),
408
+ /** Register a task executed by an existing backend SDK (POST /agents/{agent_id}/sdk-runs). */
409
+ start: (agentId, body, params, options) => call("startSdkRun", [agentId], body, params, options),
410
+ },
306
411
  server: {
307
412
  /** What this backend offers (GET /capabilities). */
308
413
  capabilities: (options) => call("getCapabilities", [], undefined, undefined, options),
@@ -355,7 +460,7 @@ export function resources(call) {
355
460
  /** The triggers: schedules and signed webhooks that start an agent's capped runs or message a run (GET /triggers). */
356
461
  list: (options) => call("listTriggers", [], undefined, undefined, options),
357
462
  /** A webhook trigger's new secret, shown once; the old one signs nothing from now on (POST /triggers/{trigger_id}/secret). */
358
- rotateSecret: (triggerId, body, options) => call("rotateTriggerSecret", [triggerId], body, undefined, options),
463
+ rotateSecret: (triggerId, options) => call("rotateTriggerSecret", [triggerId], undefined, undefined, options),
359
464
  /** Change a trigger, or turn it off and on (PATCH /triggers/{trigger_id}). */
360
465
  update: (triggerId, body, options) => call("updateTrigger", [triggerId], body, undefined, options),
361
466
  },
@@ -0,0 +1,106 @@
1
+ import type { BackendWorkflowBridge, BackendWorkflowToolManifest } from './learning.js';
2
+ export interface WorkflowToolContext {
3
+ signal: AbortSignal;
4
+ runId: string;
5
+ workflow: string;
6
+ /** Stable within an admitted effect, unique across separate workflow invocations. */
7
+ idempotencyKey: string;
8
+ }
9
+ export interface BackendWorkflowTool extends BackendWorkflowToolManifest {
10
+ /** Declare true only when this callback never changes external state. Local MCP metadata, not permission. */
11
+ readOnly?: boolean;
12
+ execute(input: Record<string, unknown>, context: WorkflowToolContext): Promise<unknown> | unknown;
13
+ }
14
+ export interface WorkflowBridgeEvent {
15
+ type: 'workflow.start' | 'workflow.end' | 'tool.start' | 'tool.end';
16
+ runId: string;
17
+ workflow: string;
18
+ tool?: string;
19
+ status?: 'completed' | 'failed' | 'cancelled';
20
+ }
21
+ /** The small document view the transport needs; the injected engine owns its full workflow language. */
22
+ export interface WorkflowEngineDocument {
23
+ schemas: Record<string, Record<string, unknown>>;
24
+ input?: {
25
+ schemaId: string;
26
+ };
27
+ }
28
+ export interface WorkflowModelRequest {
29
+ signal?: AbortSignal;
30
+ tools?: string[];
31
+ context?: string;
32
+ }
33
+ export interface WorkflowJudgeRequest {
34
+ signal?: AbortSignal;
35
+ }
36
+ export interface WorkflowEffectRequest {
37
+ node: {
38
+ via: string;
39
+ tool?: string;
40
+ };
41
+ input: Record<string, unknown>;
42
+ idempotencyKey: string;
43
+ signal: AbortSignal;
44
+ }
45
+ export interface WorkflowEngineDeps<NodeRequest extends WorkflowModelRequest, JudgeRequest extends WorkflowJudgeRequest, JudgeResult> {
46
+ signal: AbortSignal;
47
+ onEvent(event: {
48
+ type: string;
49
+ }): void;
50
+ runCode(): Promise<never>;
51
+ runNode?: (request: NodeRequest) => Promise<unknown>;
52
+ runJudge?: (request: JudgeRequest) => Promise<JudgeResult>;
53
+ runEffect(request: WorkflowEffectRequest): Promise<unknown>;
54
+ }
55
+ /** Trusted host-owned interpreter functions. The bridge supplies every guarded execution callback; the engine must
56
+ * use those callbacks for effects and model work. Generic requests preserve the host engine's own adapter types. */
57
+ export interface WorkflowEngine<Document extends WorkflowEngineDocument, NodeRequest extends WorkflowModelRequest, JudgeRequest extends WorkflowJudgeRequest, JudgeResult> {
58
+ inspectWorkflow(value: unknown): {
59
+ nodes: readonly {
60
+ path: string;
61
+ }[];
62
+ requires: {
63
+ adapters: readonly ('runNode' | 'runJudge' | 'runEffect')[];
64
+ tools: readonly string[];
65
+ sopSections: readonly string[];
66
+ executableCode: boolean;
67
+ };
68
+ };
69
+ runWorkflow(workflow: Document, input: Record<string, unknown>, deps: WorkflowEngineDeps<NodeRequest, JudgeRequest, JudgeResult>): Promise<{
70
+ status: string;
71
+ output?: unknown;
72
+ }>;
73
+ resolveSchemaForWorkflow(workflow: Document, schema: Record<string, unknown>): Record<string, unknown>;
74
+ }
75
+ export interface WorkflowMcpBridgeOptions<Document extends WorkflowEngineDocument = WorkflowEngineDocument, NodeRequest extends WorkflowModelRequest = WorkflowModelRequest, JudgeRequest extends WorkflowJudgeRequest = WorkflowJudgeRequest, JudgeResult = unknown> {
76
+ /** Explicit workflow engine supplied by the backend. This transport imports no workflow interpreter. */
77
+ engine: WorkflowEngine<Document, NodeRequest, JudgeRequest, JudgeResult>;
78
+ /** The exact MCP server name the host configures on its native SDK. Enables receipt-based envelope correlation;
79
+ * omit when that identity is unavailable, in which case all native tool evidence is retained. */
80
+ nativeMcpServerName?: string;
81
+ tools: readonly BackendWorkflowTool[];
82
+ /** Checked immediately before every effect. An ask decision is refused; the host must approve outside this bridge. */
83
+ policy(name: string, input: Record<string, unknown>, context: WorkflowToolContext): 'allow' | 'ask' | 'deny' | Promise<'allow' | 'ask' | 'deny'>;
84
+ /** Explicit host adapters only. The host owns their model selection, credentials, permissions and spending limits. */
85
+ runNode?: (request: NodeRequest) => Promise<unknown>;
86
+ runJudge?: (request: JudgeRequest) => Promise<JudgeResult>;
87
+ /** Total calls across the entire native task (default 32, maximum 256). */
88
+ maxToolCalls?: number;
89
+ /** Total dynamic node starts across the entire native task (default 256, maximum 2048). */
90
+ maxNodeSteps?: number;
91
+ /** Per workflow invocation, including host callbacks (default 60000 ms, maximum 300000 ms). */
92
+ maxDurationMs?: number;
93
+ /** Capability lifetime; completed/cancelled native runs revoke it earlier (default one hour). */
94
+ leaseDurationMs?: number;
95
+ /** Local metadata only; callback inputs/results and capability tokens are never emitted. */
96
+ onEvent?(event: WorkflowBridgeEvent): void;
97
+ }
98
+ export interface WorkflowMcpBridge extends BackendWorkflowBridge {
99
+ readonly url: string;
100
+ readonly headers: Readonly<Record<string, string>>;
101
+ close(): Promise<void>;
102
+ }
103
+ /** Start once, explicitly configure this endpoint on the original native SDK, then pass the bridge to its wrapper.
104
+ * The endpoint never executes a workflow supplied by a model: only the server's checked, pinned run snapshot.
105
+ * Nothing is installed into the backend or executed through a new hidden native SDK session. */
106
+ export declare function createWorkflowMcpBridge<Document extends WorkflowEngineDocument, NodeRequest extends WorkflowModelRequest, JudgeRequest extends WorkflowJudgeRequest, JudgeResult>(options: WorkflowMcpBridgeOptions<Document, NodeRequest, JudgeRequest, JudgeResult>): Promise<WorkflowMcpBridge>;