@parcha/agentrun-client 0.1.0-beta.46 → 0.1.0-beta.48

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.
@@ -52,6 +52,7 @@ export const OPERATIONS = {
52
52
  deleteComposioSubscription: { "method": "DELETE", "path": "/settings/mcp-servers/{name}/composio/subscription", "pathParams": ["name"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
53
53
  deleteComputer: { "method": "DELETE", "path": "/computers/{computer_id}", "pathParams": ["computer_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "none", "secret": false, "publicFields": [], "tagged": false },
54
54
  deleteEmailAccount: { "method": "DELETE", "path": "/settings/email", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "none", "secret": false, "publicFields": [], "tagged": false },
55
+ deleteModelGateway: { "method": "DELETE", "path": "/settings/model-gateway", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
55
56
  deleteWorkspaceArchil: { "method": "DELETE", "path": "/workspace/archil", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
56
57
  disconnectGitHub: { "method": "DELETE", "path": "/integrations/github", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
57
58
  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 },
@@ -60,6 +61,7 @@ export const OPERATIONS = {
60
61
  getClaudeLogin: { "method": "GET", "path": "/settings/claude-login", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
61
62
  getEmailAccount: { "method": "GET", "path": "/settings/email", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
62
63
  getGitHubConnection: { "method": "GET", "path": "/integrations/github", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
64
+ getModelGateway: { "method": "GET", "path": "/settings/model-gateway", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
63
65
  getWorkspaceArchil: { "method": "GET", "path": "/workspace/archil", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
64
66
  gitHubCallback: { "method": "GET", "path": "/integrations/github/callback", "pathParams": [], "multiSegment": [], "query": ["code", "state"], "headers": [], "body": null, "answer": "none", "secret": false, "publicFields": [], "tagged": false },
65
67
  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 },
@@ -75,6 +77,7 @@ export const OPERATIONS = {
75
77
  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 },
76
78
  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
79
  saveEmailAccount: { "method": "PUT", "path": "/settings/email", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
80
+ saveModelGateway: { "method": "PUT", "path": "/settings/model-gateway", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": true, "publicFields": ["base_url", "ids", "models.default", "models.fast", "models.strong"], "tagged": false },
78
81
  signOutChatGPT: { "method": "DELETE", "path": "/settings/chatgpt", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
79
82
  startChatGPTSignIn: { "method": "POST", "path": "/settings/chatgpt/sign-in", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
80
83
  startClaudeLogin: { "method": "POST", "path": "/settings/claude-login/login", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
@@ -82,6 +85,7 @@ export const OPERATIONS = {
82
85
  testCalendar: { "method": "POST", "path": "/settings/calendar/test", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": false, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
83
86
  testComputer: { "method": "POST", "path": "/computers/{provider}/test", "pathParams": ["provider"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
84
87
  testEmailAccount: { "method": "POST", "path": "/settings/email/test", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": false, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
88
+ testModelGateway: { "method": "POST", "path": "/settings/model-gateway/test", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": false, "types": ["application/json"] }, "answer": "json", "secret": true, "publicFields": ["base_url"], "tagged": false },
85
89
  testWorkspaceArchil: { "method": "POST", "path": "/workspace/archil/test", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
86
90
  turnOffClaudeLogin: { "method": "DELETE", "path": "/settings/claude-login", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
87
91
  turnOnClaudeLogin: { "method": "PUT", "path": "/settings/claude-login", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
@@ -101,6 +105,7 @@ export const OPERATIONS = {
101
105
  callRunComputer: { "method": "POST", "path": "/runs/{run_id}/computer/call", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
102
106
  releaseRunComputer: { "method": "POST", "path": "/runs/{run_id}/computer/release", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": [], "body": { "required": false, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
103
107
  createInlineRun: { "method": "POST", "path": "/runs", "pathParams": [], "multiSegment": [], "query": [], "headers": ["Idempotency-Key"], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
108
+ createRunComputerViewer: { "method": "POST", "path": "/runs/{run_id}/computer/viewer", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": [], "body": { "required": false, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
104
109
  listRunFiles: { "method": "GET", "path": "/runs/{run_id}/files", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
105
110
  getRun: { "method": "GET", "path": "/runs/{run_id}", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
106
111
  gradeRun: { "method": "PUT", "path": "/runs/{run_id}/grade", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
@@ -129,6 +134,12 @@ export const OPERATIONS = {
129
134
  getHealth: { "method": "GET", "path": "/health", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
130
135
  callMcp: { "method": "POST", "path": "/mcp", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
131
136
  getOpenapi: { "method": "GET", "path": "/openapi.json", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
137
+ deleteSlack: { "method": "DELETE", "path": "/settings/slack", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "none", "secret": false, "publicFields": [], "tagged": false },
138
+ listSlackDeliveries: { "method": "GET", "path": "/settings/slack/deliveries", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
139
+ getSlack: { "method": "GET", "path": "/settings/slack", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
140
+ redeliverSlack: { "method": "POST", "path": "/settings/slack/deliveries/{webhook_id}/redeliver", "pathParams": ["webhook_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
141
+ saveSlack: { "method": "PUT", "path": "/settings/slack", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": true, "publicFields": [], "tagged": false },
142
+ testSlack: { "method": "POST", "path": "/settings/slack/test", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
132
143
  getStats: { "method": "GET", "path": "/stats", "pathParams": [], "multiSegment": [], "query": ["from", "to", "agent"], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
133
144
  applyTemplate: { "method": "POST", "path": "/templates/{template}/apply", "pathParams": ["template"], "multiSegment": [], "query": [], "headers": ["Idempotency-Key"], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
134
145
  deleteTemplate: { "method": "DELETE", "path": "/templates/{template}", "pathParams": ["template"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "none", "secret": false, "publicFields": [], "tagged": false },
@@ -152,6 +163,7 @@ export const OPERATIONS = {
152
163
  listWebhookDeliveries: { "method": "GET", "path": "/settings/webhook/deliveries", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
153
164
  getWebhook: { "method": "GET", "path": "/settings/webhook", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
154
165
  redeliverWebhook: { "method": "POST", "path": "/settings/webhook/deliveries/{webhook_id}/redeliver", "pathParams": ["webhook_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
166
+ rotateWebhookSecret: { "method": "POST", "path": "/settings/webhook/secret", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": true, "publicFields": [], "tagged": false },
155
167
  saveWebhook: { "method": "PUT", "path": "/settings/webhook", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
156
168
  testWebhook: { "method": "POST", "path": "/settings/webhook/test", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
157
169
  validateWorkflow: { "method": "POST", "path": "/workflows/validate", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
@@ -272,6 +284,8 @@ export function resources(call) {
272
284
  deleteComputer: (computerId, options) => call("deleteComputer", [computerId], undefined, undefined, options),
273
285
  /** Forget this server's email account (DELETE /settings/email). */
274
286
  deleteEmailAccount: (options) => call("deleteEmailAccount", [], undefined, undefined, options),
287
+ /** Stop using the saved model gateway: the provider keys are back in force (DELETE /settings/model-gateway). */
288
+ deleteModelGateway: (options) => call("deleteModelGateway", [], undefined, undefined, options),
275
289
  /** Turn Mode 2 off: run folders on this server's own disk (DELETE /workspace/archil). */
276
290
  deleteWorkspaceArchil: (options) => call("deleteWorkspaceArchil", [], undefined, undefined, options),
277
291
  /** Disconnect GitHub: the App's credentials gone from this server, and every github trigger off (DELETE /integrations/github). */
@@ -288,6 +302,8 @@ export function resources(call) {
288
302
  getEmailAccount: (options) => call("getEmailAccount", [], undefined, undefined, options),
289
303
  /** Whether a GitHub App is connected, and if so its id, slug and installations, never a secret (GET /integrations/github). */
290
304
  getGitHubConnection: (options) => call("getGitHubConnection", [], undefined, undefined, options),
305
+ /** The model gateway in force: the environment's, the one saved here, or none (GET /settings/model-gateway). */
306
+ getModelGateway: (options) => call("getModelGateway", [], undefined, undefined, options),
291
307
  /** Whether run folders are on Archil disks (Mode 2), the settings, and whether its keys are saved (GET /workspace/archil). */
292
308
  getWorkspaceArchil: (options) => call("getWorkspaceArchil", [], undefined, undefined, options),
293
309
  /** List a saved Composio server's toolkit's events, for a composio trigger (GET /settings/mcp-servers/{name}/composio/events). */
@@ -314,6 +330,8 @@ export function resources(call) {
314
330
  saveComputerKeys: (provider, body, options) => call("saveComputerKeys", [provider], body, undefined, options),
315
331
  /** Save this server's email account, its password sealed (PUT /settings/email). */
316
332
  saveEmailAccount: (body, options) => call("saveEmailAccount", [], body, undefined, options),
333
+ /** Use a model gateway for every model, saved here (PUT /settings/model-gateway). */
334
+ saveModelGateway: (body, options) => call("saveModelGateway", [], body, undefined, options),
317
335
  /** Sign out of ChatGPT: the session revoked at OpenAI, then forgotten here (DELETE /settings/chatgpt). */
318
336
  signOutChatGpt: (options) => call("signOutChatGPT", [], undefined, undefined, options),
319
337
  /** Start signing in with ChatGPT: the link to open (POST /settings/chatgpt/sign-in). */
@@ -326,6 +344,8 @@ export function resources(call) {
326
344
  testComputer: (provider, options) => call("testComputer", [provider], undefined, undefined, options),
327
345
  /** Sign in to the email account's IMAP and SMTP servers, sending nothing (POST /settings/email/test). */
328
346
  testEmailAccount: (body, options) => call("testEmailAccount", [], body, undefined, options),
347
+ /** Ask a model gateway which models it serves (POST /settings/model-gateway/test). */
348
+ testModelGateway: (body, options) => call("testModelGateway", [], body, undefined, options),
329
349
  /** Test the Archil account key at its region's control plane (POST /workspace/archil/test). */
330
350
  testWorkspaceArchil: (options) => call("testWorkspaceArchil", [], undefined, undefined, options),
331
351
  /** Turn off Claude Code's login on this machine (DELETE /settings/claude-login). */
@@ -372,6 +392,8 @@ export function resources(call) {
372
392
  computerRelease: (runId, body, options) => call("releaseRunComputer", [runId], body, undefined, options),
373
393
  /** Start a run of an agent another system owns, given inline (POST /runs). */
374
394
  createInlineRun: (body, params, options) => call("createInlineRun", [], body, params, options),
395
+ /** Mint a link to the run's live view for the backend's user (POST /runs/{run_id}/computer/viewer). */
396
+ createRunComputerViewer: (runId, body, options) => call("createRunComputerViewer", [runId], body, undefined, options),
375
397
  /** The files the run wrote (GET /runs/{run_id}/files). */
376
398
  files: (runId, options) => call("listRunFiles", [runId], undefined, undefined, options),
377
399
  /** One run (GET /runs/{run_id}). */
@@ -433,6 +455,20 @@ export function resources(call) {
433
455
  /** This document (GET /openapi.json). */
434
456
  openapi: (options) => call("getOpenapi", [], undefined, undefined, options),
435
457
  },
458
+ slack: {
459
+ /** Remove Slack; its pending messages are dropped, the log of attempts is kept (DELETE /settings/slack). */
460
+ delete: (options) => call("deleteSlack", [], undefined, undefined, options),
461
+ /** Slack's last 50 attempts, newest first (GET /settings/slack/deliveries). */
462
+ deliveries: (options) => call("listSlackDeliveries", [], undefined, undefined, options),
463
+ /** Where this server posts run notices in Slack, if it is set; never the URL (GET /settings/slack). */
464
+ get: (options) => call("getSlack", [], undefined, undefined, options),
465
+ /** Post a message of Slack's log again, once now, under the same id and body (POST /settings/slack/deliveries/{webhook_id}/redeliver). */
466
+ redeliver: (webhookId, options) => call("redeliverSlack", [webhookId], undefined, undefined, options),
467
+ /** Set Slack's incoming-webhook URL, or which events it is sent (PUT /settings/slack). */
468
+ save: (body, options) => call("saveSlack", [], body, undefined, options),
469
+ /** Post a test message to Slack now, once, and say how it went (POST /settings/slack/test). */
470
+ test: (options) => call("testSlack", [], undefined, undefined, options),
471
+ },
436
472
  /** Counts and cost over every agent and run (GET /stats). */
437
473
  stats: (params, options) => call("getStats", [], undefined, params, options),
438
474
  /** Usage by meter over a period (GET /usage). */
@@ -488,6 +524,8 @@ export function resources(call) {
488
524
  get: (options) => call("getWebhook", [], undefined, undefined, options),
489
525
  /** Send a message of the log again, once now, under the same webhook-id and body (POST /settings/webhook/deliveries/{webhook_id}/redeliver). */
490
526
  redeliver: (webhookId, options) => call("redeliverWebhook", [webhookId], undefined, undefined, options),
527
+ /** The webhook's new signing secret, shown once; the old one signs nothing from now on (POST /settings/webhook/secret). */
528
+ rotateSecret: (options) => call("rotateWebhookSecret", [], undefined, undefined, options),
491
529
  /** Set the webhook's URL (PUT /settings/webhook). */
492
530
  save: (body, options) => call("saveWebhook", [], body, undefined, options),
493
531
  /** Send a `webhook.test` message now, once, and say how it went (POST /settings/webhook/test). */
@@ -1,4 +1,4 @@
1
- import type { BackendWorkflowBridge, BackendWorkflowToolManifest } from './learning.js';
1
+ import type { BackendWorkflowSession, BackendWorkflowBinding, BackendWorkflowBridge, BackendWorkflowToolManifest, BackendWorkflowCheck, BackendNativeEvent } from './learning.js';
2
2
  export interface WorkflowToolContext {
3
3
  signal: AbortSignal;
4
4
  runId: string;
@@ -94,13 +94,44 @@ export interface WorkflowMcpBridgeOptions<Document extends WorkflowEngineDocumen
94
94
  leaseDurationMs?: number;
95
95
  /** Local metadata only; callback inputs/results and capability tokens are never emitted. */
96
96
  onEvent?(event: WorkflowBridgeEvent): void;
97
+ /** Opt in to fresh, explicitly read-only observations when the native recording has no match. Default false. */
98
+ shadowReadFallback?: boolean;
99
+ /** Optional host mapping for a draft's typed input. The default accepts the task's JSON object or one
100
+ * unambiguous recorded tool input matching the schema. It never guesses semantic fields. */
101
+ resolveCheckInput?(check: BackendWorkflowCheck, turn: {
102
+ input: string;
103
+ events: readonly BackendNativeEvent[];
104
+ signal: AbortSignal;
105
+ }): Promise<Record<string, unknown> | null> | Record<string, unknown> | null;
97
106
  }
98
- export interface WorkflowMcpBridge extends BackendWorkflowBridge {
107
+ /** Private host handle. Never expose its arguments or capability in model-visible results or logs. */
108
+ export interface WorkflowMcpBinding extends BackendWorkflowBinding {
109
+ execute(name: string, input: Record<string, unknown>, signal: AbortSignal): Promise<WorkflowToolResult>;
110
+ mcpArguments(name: string, input: Record<string, unknown>): {
111
+ capability: string;
112
+ name: string;
113
+ input: Record<string, unknown>;
114
+ };
115
+ }
116
+ export type WorkflowToolResult = {
117
+ content: {
118
+ type: 'text';
119
+ text: string;
120
+ }[];
121
+ isError?: boolean;
122
+ };
123
+ export interface WorkflowBridge extends BackendWorkflowBridge {
124
+ bind(session: BackendWorkflowSession): WorkflowMcpBinding;
125
+ check: NonNullable<BackendWorkflowBridge['check']>;
126
+ close(): Promise<void>;
127
+ }
128
+ export interface WorkflowMcpBridge extends WorkflowBridge {
129
+ bind(session: BackendWorkflowSession): WorkflowMcpBinding;
99
130
  readonly url: string;
100
131
  readonly headers: Readonly<Record<string, string>>;
101
132
  close(): Promise<void>;
102
133
  }
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. */
134
+ /** In-process host binding; opens no port or MCP connection. */
135
+ export declare function createWorkflowBridge<Document extends WorkflowEngineDocument, NodeRequest extends WorkflowModelRequest, JudgeRequest extends WorkflowJudgeRequest, JudgeResult>(options: WorkflowMcpBridgeOptions<Document, NodeRequest, JudgeRequest, JudgeResult>): WorkflowBridge;
136
+ /** Optional authenticated loopback transport over the same host-owned execution path. */
106
137
  export declare function createWorkflowMcpBridge<Document extends WorkflowEngineDocument, NodeRequest extends WorkflowModelRequest, JudgeRequest extends WorkflowJudgeRequest, JudgeResult>(options: WorkflowMcpBridgeOptions<Document, NodeRequest, JudgeRequest, JudgeResult>): Promise<WorkflowMcpBridge>;