@intentic/sandbox-contract 1.316.0 → 1.318.0
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.
- package/README.md +12 -4
- package/dist/chores/chores.js +1 -1
- package/dist/chores/chores.js.map +1 -1
- package/dist/chores/probes.js +1 -1
- package/dist/chores/probes.js.map +1 -1
- package/dist/contracts/accounts.contract.d.ts +75 -0
- package/dist/contracts/accounts.contract.d.ts.map +1 -1
- package/dist/contracts/accounts.contract.js +10 -1
- package/dist/contracts/accounts.contract.js.map +1 -1
- package/dist/contracts/agent.contract.d.ts +616 -1
- package/dist/contracts/agent.contract.d.ts.map +1 -1
- package/dist/contracts/agents.contract.d.ts +1134 -29
- package/dist/contracts/agents.contract.d.ts.map +1 -1
- package/dist/contracts/agents.contract.js +12 -12
- package/dist/contracts/agents.contract.js.map +1 -1
- package/dist/contracts/capabilities.contract.d.ts +16 -0
- package/dist/contracts/capabilities.contract.d.ts.map +1 -1
- package/dist/contracts/capabilities.contract.js +10 -1
- package/dist/contracts/capabilities.contract.js.map +1 -1
- package/dist/contracts/ci.contract.d.ts +22 -4
- package/dist/contracts/ci.contract.d.ts.map +1 -1
- package/dist/contracts/device.contract.d.ts +39 -0
- package/dist/contracts/device.contract.d.ts.map +1 -1
- package/dist/contracts/device.contract.js +2 -0
- package/dist/contracts/device.contract.js.map +1 -1
- package/dist/contracts/endpoints.contract.d.ts +23 -0
- package/dist/contracts/endpoints.contract.d.ts.map +1 -1
- package/dist/contracts/endpoints.contract.js +6 -1
- package/dist/contracts/endpoints.contract.js.map +1 -1
- package/dist/contracts/extensions.contract.d.ts +12 -0
- package/dist/contracts/extensions.contract.d.ts.map +1 -1
- package/dist/contracts/needs.contract.d.ts +534 -0
- package/dist/contracts/needs.contract.d.ts.map +1 -0
- package/dist/contracts/needs.contract.js +80 -0
- package/dist/contracts/needs.contract.js.map +1 -0
- package/dist/contracts/providers.contract.d.ts +4 -0
- package/dist/contracts/providers.contract.d.ts.map +1 -1
- package/dist/contracts/runner.contract.d.ts +193 -2
- package/dist/contracts/runner.contract.d.ts.map +1 -1
- package/dist/contracts/secrets.contract.d.ts +53 -0
- package/dist/contracts/secrets.contract.d.ts.map +1 -1
- package/dist/contracts/secrets.contract.js +31 -2
- package/dist/contracts/secrets.contract.js.map +1 -1
- package/dist/contracts/sessions.contract.d.ts +83 -0
- package/dist/contracts/sessions.contract.d.ts.map +1 -1
- package/dist/contracts/settings.contract.d.ts +33 -2
- package/dist/contracts/settings.contract.d.ts.map +1 -1
- package/dist/contracts/settings.contract.js +20 -1
- package/dist/contracts/settings.contract.js.map +1 -1
- package/dist/contracts/system.contract.d.ts +177 -356
- package/dist/contracts/system.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.js +13 -12
- package/dist/contracts/system.contract.js.map +1 -1
- package/dist/contracts/translator.contract.d.ts +7 -0
- package/dist/contracts/translator.contract.d.ts.map +1 -1
- package/dist/contracts/translator.contract.js.map +1 -1
- package/dist/contracts/webext.contract.d.ts +38 -0
- package/dist/contracts/webext.contract.d.ts.map +1 -1
- package/dist/contracts/webext.contract.js +3 -0
- package/dist/contracts/webext.contract.js.map +1 -1
- package/dist/contracts/workspace.contract.d.ts +1 -80
- package/dist/contracts/workspace.contract.d.ts.map +1 -1
- package/dist/contracts/workspace.contract.js +0 -27
- package/dist/contracts/workspace.contract.js.map +1 -1
- package/dist/events/agent-events.d.ts +330 -0
- package/dist/events/agent-events.d.ts.map +1 -1
- package/dist/events/agent-events.js +13 -0
- package/dist/events/agent-events.js.map +1 -1
- package/dist/events/agent-words.d.ts +1 -0
- package/dist/events/agent-words.d.ts.map +1 -1
- package/dist/events/agent-words.js +3 -2
- package/dist/events/agent-words.js.map +1 -1
- package/dist/events/land-breakage.d.ts.map +1 -1
- package/dist/events/land-breakage.js.map +1 -1
- package/dist/events/need-wake.d.ts +17 -0
- package/dist/events/need-wake.d.ts.map +1 -0
- package/dist/events/need-wake.js +34 -0
- package/dist/events/need-wake.js.map +1 -0
- package/dist/events/resume.d.ts +6 -1
- package/dist/events/resume.d.ts.map +1 -1
- package/dist/events/resume.js +17 -10
- package/dist/events/resume.js.map +1 -1
- package/dist/events/sandbox-notice.d.ts +183 -0
- package/dist/events/sandbox-notice.d.ts.map +1 -0
- package/dist/events/sandbox-notice.js +56 -0
- package/dist/events/sandbox-notice.js.map +1 -0
- package/dist/events/system-events.d.ts +84 -0
- package/dist/events/system-events.d.ts.map +1 -1
- package/dist/events/system-events.js +2 -0
- package/dist/events/system-events.js.map +1 -1
- package/dist/events/transcript.d.ts +508 -0
- package/dist/events/transcript.d.ts.map +1 -1
- package/dist/events/transcript.js +12 -1
- package/dist/events/transcript.js.map +1 -1
- package/dist/ids/conversation-ids.d.ts +1 -3
- package/dist/ids/conversation-ids.d.ts.map +1 -1
- package/dist/ids/conversation-ids.js +1 -3
- package/dist/ids/conversation-ids.js.map +1 -1
- package/dist/ids/project-dir.d.ts +6 -0
- package/dist/ids/project-dir.d.ts.map +1 -0
- package/dist/ids/project-dir.js +43 -0
- package/dist/ids/project-dir.js.map +1 -0
- package/dist/index.d.ts +3474 -1163
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -4
- package/dist/index.js.map +1 -1
- package/dist/models/agent-runtimes.d.ts.map +1 -1
- package/dist/models/agent-runtimes.js +2 -2
- package/dist/models/agent-runtimes.js.map +1 -1
- package/dist/models/model-roles.d.ts +1 -9
- package/dist/models/model-roles.d.ts.map +1 -1
- package/dist/models/model-roles.js +1 -9
- package/dist/models/model-roles.js.map +1 -1
- package/dist/policy/command-classes.d.ts.map +1 -1
- package/dist/policy/command-classes.js +52 -3
- package/dist/policy/command-classes.js.map +1 -1
- package/dist/policy/safety-policy.d.ts +7 -1
- package/dist/policy/safety-policy.d.ts.map +1 -1
- package/dist/policy/safety-policy.js +2 -0
- package/dist/policy/safety-policy.js.map +1 -1
- package/dist/policy/secret-hosts.d.ts +13 -0
- package/dist/policy/secret-hosts.d.ts.map +1 -0
- package/dist/policy/secret-hosts.js +41 -0
- package/dist/policy/secret-hosts.js.map +1 -0
- package/dist/policy/turned-away.d.ts.map +1 -1
- package/dist/policy/turned-away.js +1 -0
- package/dist/policy/turned-away.js.map +1 -1
- package/dist/protocol/raw-routes.d.ts +7 -5
- package/dist/protocol/raw-routes.d.ts.map +1 -1
- package/dist/protocol/raw-routes.js +4 -1
- package/dist/protocol/raw-routes.js.map +1 -1
- package/dist/protocol/routes.d.ts +2 -6
- package/dist/protocol/routes.d.ts.map +1 -1
- package/dist/protocol/routes.js +2 -3
- package/dist/protocol/routes.js.map +1 -1
- package/dist/protocol/stream-of.d.ts +6 -0
- package/dist/protocol/stream-of.d.ts.map +1 -0
- package/dist/protocol/stream-of.js +4 -0
- package/dist/protocol/stream-of.js.map +1 -0
- package/dist/schemas/activity.js +1 -1
- package/dist/schemas/activity.js.map +1 -1
- package/dist/schemas/agent.d.ts +19 -2
- package/dist/schemas/agent.d.ts.map +1 -1
- package/dist/schemas/agent.js +2 -1
- package/dist/schemas/agent.js.map +1 -1
- package/dist/schemas/agents.d.ts +119 -0
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/agents.js +45 -0
- package/dist/schemas/agents.js.map +1 -1
- package/dist/schemas/automations.d.ts +37 -0
- package/dist/schemas/automations.d.ts.map +1 -1
- package/dist/schemas/capabilities.d.ts +21 -0
- package/dist/schemas/capabilities.d.ts.map +1 -1
- package/dist/schemas/capabilities.js +50 -4
- package/dist/schemas/capabilities.js.map +1 -1
- package/dist/schemas/ci.d.ts +69 -9
- package/dist/schemas/ci.d.ts.map +1 -1
- package/dist/schemas/ci.js +29 -8
- package/dist/schemas/ci.js.map +1 -1
- package/dist/schemas/context-trim.d.ts +5 -1
- package/dist/schemas/context-trim.d.ts.map +1 -1
- package/dist/schemas/context-trim.js +8 -4
- package/dist/schemas/context-trim.js.map +1 -1
- package/dist/schemas/devices.d.ts +91 -0
- package/dist/schemas/devices.d.ts.map +1 -1
- package/dist/schemas/devices.js +23 -1
- package/dist/schemas/devices.js.map +1 -1
- package/dist/schemas/environment.d.ts +48 -0
- package/dist/schemas/environment.d.ts.map +1 -1
- package/dist/schemas/environment.js +15 -0
- package/dist/schemas/environment.js.map +1 -1
- package/dist/schemas/extension-updates.d.ts +24 -0
- package/dist/schemas/extension-updates.d.ts.map +1 -1
- package/dist/schemas/git/git.d.ts +13 -0
- package/dist/schemas/git/git.d.ts.map +1 -1
- package/dist/schemas/git/git.js +11 -1
- package/dist/schemas/git/git.js.map +1 -1
- package/dist/schemas/hosts.d.ts +4 -0
- package/dist/schemas/hosts.d.ts.map +1 -1
- package/dist/schemas/hosts.js +3 -1
- package/dist/schemas/hosts.js.map +1 -1
- package/dist/schemas/keep-warm.d.ts +4 -0
- package/dist/schemas/keep-warm.d.ts.map +1 -1
- package/dist/schemas/keep-warm.js +15 -5
- package/dist/schemas/keep-warm.js.map +1 -1
- package/dist/schemas/loopback-catch.d.ts +33 -0
- package/dist/schemas/loopback-catch.d.ts.map +1 -0
- package/dist/schemas/loopback-catch.js +20 -0
- package/dist/schemas/loopback-catch.js.map +1 -0
- package/dist/schemas/maintenance.js +1 -1
- package/dist/schemas/maintenance.js.map +1 -1
- package/dist/schemas/needs.d.ts +664 -0
- package/dist/schemas/needs.d.ts.map +1 -0
- package/dist/schemas/needs.js +203 -0
- package/dist/schemas/needs.js.map +1 -0
- package/dist/schemas/personas.d.ts.map +1 -1
- package/dist/schemas/personas.js +6 -3
- package/dist/schemas/personas.js.map +1 -1
- package/dist/schemas/providers/provider-oauth.d.ts +87 -0
- package/dist/schemas/providers/provider-oauth.d.ts.map +1 -1
- package/dist/schemas/providers/provider-oauth.js +20 -0
- package/dist/schemas/providers/provider-oauth.js.map +1 -1
- package/dist/schemas/secrets.d.ts +84 -0
- package/dist/schemas/secrets.d.ts.map +1 -1
- package/dist/schemas/secrets.js +70 -0
- package/dist/schemas/secrets.js.map +1 -1
- package/dist/schemas/settings-history.d.ts +1 -1
- package/dist/schemas/settings-history.d.ts.map +1 -1
- package/dist/schemas/settings-history.js +1 -0
- package/dist/schemas/settings-history.js.map +1 -1
- package/dist/schemas/settings.d.ts +44 -2
- package/dist/schemas/settings.d.ts.map +1 -1
- package/dist/schemas/settings.js +30 -4
- package/dist/schemas/settings.js.map +1 -1
- package/dist/schemas/state-plan.d.ts +1 -0
- package/dist/schemas/state-plan.d.ts.map +1 -1
- package/dist/schemas/state-plan.js +3 -1
- package/dist/schemas/state-plan.js.map +1 -1
- package/dist/schemas/system.d.ts +20 -0
- package/dist/schemas/system.d.ts.map +1 -1
- package/dist/schemas/system.js +7 -0
- package/dist/schemas/system.js.map +1 -1
- package/dist/schemas/terminal.d.ts +2 -3
- package/dist/schemas/terminal.d.ts.map +1 -1
- package/dist/schemas/terminal.js +12 -4
- package/dist/schemas/terminal.js.map +1 -1
- package/dist/schemas/updates.d.ts +39 -0
- package/dist/schemas/updates.d.ts.map +1 -0
- package/dist/schemas/updates.js +31 -0
- package/dist/schemas/updates.js.map +1 -0
- package/dist/schemas/webext.d.ts +3 -0
- package/dist/schemas/webext.d.ts.map +1 -1
- package/dist/schemas/webext.js +1 -0
- package/dist/schemas/webext.js.map +1 -1
- package/dist/schemas/workflows.js +3 -3
- package/dist/schemas/workflows.js.map +1 -1
- package/dist/schemas/workspace/workspace-tree.d.ts +2 -0
- package/dist/schemas/workspace/workspace-tree.d.ts.map +1 -1
- package/dist/schemas/workspace/workspace-tree.js +4 -0
- package/dist/schemas/workspace/workspace-tree.js.map +1 -1
- package/dist/state/definition.d.ts +28 -4
- package/dist/state/definition.d.ts.map +1 -1
- package/dist/state/history-state.d.ts.map +1 -1
- package/dist/state/history-state.js +10 -0
- package/dist/state/history-state.js.map +1 -1
- package/dist/state/runtime-state.d.ts +0 -3
- package/dist/state/runtime-state.d.ts.map +1 -1
- package/dist/state/runtime-state.js +0 -1
- package/dist/state/runtime-state.js.map +1 -1
- package/dist/state/workspace-state.d.ts +4 -5
- package/dist/state/workspace-state.d.ts.map +1 -1
- package/dist/state/workspace-state.js +1 -6
- package/dist/state/workspace-state.js.map +1 -1
- package/dist/text/documents.d.ts +3 -0
- package/dist/text/documents.d.ts.map +1 -1
- package/dist/text/documents.js +14 -0
- package/dist/text/documents.js.map +1 -1
- package/dist/text/transcript-fold.d.ts +4 -3
- package/dist/text/transcript-fold.d.ts.map +1 -1
- package/dist/text/transcript-fold.js +140 -31
- package/dist/text/transcript-fold.js.map +1 -1
- package/dist/webext/index.d.ts +1 -0
- package/dist/webext/index.d.ts.map +1 -1
- package/dist/webext/index.js +1 -0
- package/dist/webext/index.js.map +1 -1
- package/package.json +5 -5
- package/src/chores/chores.ts +2 -2
- package/src/chores/probes.ts +1 -1
- package/src/contracts/accounts.contract.ts +12 -0
- package/src/contracts/agents.contract.ts +13 -13
- package/src/contracts/capabilities.contract.ts +14 -1
- package/src/contracts/device.contract.ts +5 -0
- package/src/contracts/endpoints.contract.ts +20 -4
- package/src/contracts/needs.contract.ts +103 -0
- package/src/contracts/secrets.contract.ts +45 -3
- package/src/contracts/settings.contract.ts +29 -0
- package/src/contracts/system.contract.ts +19 -14
- package/src/contracts/translator.contract.ts +2 -1
- package/src/contracts/webext.contract.ts +7 -1
- package/src/contracts/workspace.contract.ts +0 -37
- package/src/events/agent-events.ts +22 -1
- package/src/events/agent-words.ts +6 -2
- package/src/events/land-breakage.ts +3 -4
- package/src/events/need-wake.test.ts +55 -0
- package/src/events/need-wake.ts +71 -0
- package/src/events/resume.test.ts +13 -2
- package/src/events/resume.ts +25 -12
- package/src/events/sandbox-notice.ts +92 -0
- package/src/events/system-events.ts +7 -0
- package/src/events/transcript.ts +23 -1
- package/src/events/verify-nudge.ts +3 -3
- package/src/ids/conversation-ids.test.ts +2 -26
- package/src/ids/conversation-ids.ts +6 -12
- package/src/ids/project-dir.fixture.json +65 -0
- package/src/ids/project-dir.test.ts +60 -0
- package/src/ids/project-dir.ts +70 -0
- package/src/index.ts +18 -4
- package/src/models/agent-catalog.test.ts +7 -1
- package/src/models/agent-runtimes.ts +7 -5
- package/src/models/model-roles.ts +1 -9
- package/src/policy/command-classes.test.ts +39 -0
- package/src/policy/command-classes.ts +70 -3
- package/src/policy/safety-policy.ts +10 -0
- package/src/policy/secret-hosts.test.ts +89 -0
- package/src/policy/secret-hosts.ts +73 -0
- package/src/policy/turned-away.ts +1 -0
- package/src/protocol/raw-routes.ts +6 -3
- package/src/protocol/routes.test.ts +6 -6
- package/src/protocol/routes.ts +2 -9
- package/src/protocol/stream-of.ts +13 -0
- package/src/schemas/activity.ts +1 -1
- package/src/schemas/agent.ts +4 -1
- package/src/schemas/agents.ts +72 -5
- package/src/schemas/automations.ts +2 -2
- package/src/schemas/capabilities.ts +72 -7
- package/src/schemas/ci.ts +56 -11
- package/src/schemas/context-trim.ts +11 -6
- package/src/schemas/devices.ts +55 -2
- package/src/schemas/environment.ts +39 -0
- package/src/schemas/git/git.ts +20 -2
- package/src/schemas/hosts.ts +7 -1
- package/src/schemas/keep-warm.ts +19 -6
- package/src/schemas/loopback-catch.ts +45 -0
- package/src/schemas/maintenance.ts +1 -1
- package/src/schemas/needs.ts +301 -0
- package/src/schemas/personas.ts +8 -3
- package/src/schemas/providers/provider-oauth.ts +35 -0
- package/src/schemas/secrets.ts +93 -0
- package/src/schemas/settings-history.ts +2 -0
- package/src/schemas/settings.test.ts +19 -1
- package/src/schemas/settings.ts +66 -9
- package/src/schemas/speaker.ts +5 -5
- package/src/schemas/state-plan.ts +8 -1
- package/src/schemas/system.ts +15 -0
- package/src/schemas/terminal.ts +19 -6
- package/src/schemas/updates.ts +56 -0
- package/src/schemas/webext.ts +3 -0
- package/src/schemas/workflows.ts +5 -5
- package/src/schemas/workspace/workspace-tree.ts +7 -0
- package/src/state/fix-attempt-plan.test.ts +1 -1
- package/src/state/fix-stance.ts +1 -1
- package/src/state/history-state.ts +19 -0
- package/src/state/runtime-state.ts +0 -3
- package/src/state/workspace-state.ts +4 -6
- package/src/text/documents.test.ts +25 -1
- package/src/text/documents.ts +24 -0
- package/src/text/title.ts +1 -1
- package/src/text/transcript-fold.test.ts +218 -25
- package/src/text/transcript-fold.ts +170 -45
- package/src/webext/index.ts +1 -0
- package/dist/schemas/workspace/push-checks.d.ts +0 -222
- package/dist/schemas/workspace/push-checks.d.ts.map +0 -1
- package/dist/schemas/workspace/push-checks.js +0 -97
- package/dist/schemas/workspace/push-checks.js.map +0 -1
- package/dist/state/red-streak.d.ts +0 -7
- package/dist/state/red-streak.d.ts.map +0 -1
- package/dist/state/red-streak.js +0 -11
- package/dist/state/red-streak.js.map +0 -1
- package/src/schemas/workspace/push-checks.test.ts +0 -28
- package/src/schemas/workspace/push-checks.ts +0 -155
- package/src/state/red-streak.test.ts +0 -28
- package/src/state/red-streak.ts +0 -28
|
@@ -51,7 +51,6 @@ export declare const agentContract: {
|
|
|
51
51
|
"maintenance-chore": "maintenance-chore";
|
|
52
52
|
"model-router": "model-router";
|
|
53
53
|
"pipeline-fix": "pipeline-fix";
|
|
54
|
-
"pre-push-fix": "pre-push-fix";
|
|
55
54
|
"safety-judge": "safety-judge";
|
|
56
55
|
"session-title": "session-title";
|
|
57
56
|
}>>;
|
|
@@ -152,6 +151,10 @@ export declare const agentContract: {
|
|
|
152
151
|
sandboxHeld?: boolean | undefined;
|
|
153
152
|
noticeWait?: "chatRoute" | "credentialRenewal" | "watch" | undefined;
|
|
154
153
|
noticeWaitId?: string | undefined;
|
|
154
|
+
noticeCode?: {
|
|
155
|
+
code: string;
|
|
156
|
+
params?: Record<string, string | number | boolean> | undefined;
|
|
157
|
+
} | undefined;
|
|
155
158
|
plan?: {
|
|
156
159
|
requestId: string;
|
|
157
160
|
text: string;
|
|
@@ -284,6 +287,60 @@ export declare const agentContract: {
|
|
|
284
287
|
elapsed: string;
|
|
285
288
|
sent: string;
|
|
286
289
|
} | undefined;
|
|
290
|
+
need?: {
|
|
291
|
+
id: string;
|
|
292
|
+
conversationId: string;
|
|
293
|
+
subject: {
|
|
294
|
+
kind: "capability";
|
|
295
|
+
entry: string;
|
|
296
|
+
name: string;
|
|
297
|
+
mode: "change" | "connect" | "reconnect";
|
|
298
|
+
instance?: string | undefined;
|
|
299
|
+
target?: string | undefined;
|
|
300
|
+
prefill?: Record<string, string> | undefined;
|
|
301
|
+
changes?: Record<string, string> | undefined;
|
|
302
|
+
reason?: string | undefined;
|
|
303
|
+
reported?: boolean | undefined;
|
|
304
|
+
} | {
|
|
305
|
+
kind: "secret";
|
|
306
|
+
name: string;
|
|
307
|
+
where?: string | undefined;
|
|
308
|
+
link?: string | undefined;
|
|
309
|
+
hint?: string | undefined;
|
|
310
|
+
replace?: boolean | undefined;
|
|
311
|
+
} | {
|
|
312
|
+
kind: "grant";
|
|
313
|
+
subject: "capability" | "folder" | "shelf" | "site";
|
|
314
|
+
what: string;
|
|
315
|
+
label: string;
|
|
316
|
+
persona?: string | undefined;
|
|
317
|
+
scope?: "conversation" | "persona" | undefined;
|
|
318
|
+
} | {
|
|
319
|
+
kind: "release";
|
|
320
|
+
subject: string;
|
|
321
|
+
approvers: string[];
|
|
322
|
+
} | {
|
|
323
|
+
kind: "environment";
|
|
324
|
+
tool: string;
|
|
325
|
+
steps: string;
|
|
326
|
+
approvedHash?: string | undefined;
|
|
327
|
+
};
|
|
328
|
+
title: string;
|
|
329
|
+
why?: string | undefined;
|
|
330
|
+
status: "cancelled" | "declined" | "met" | "open" | "working";
|
|
331
|
+
createdAt: number;
|
|
332
|
+
updatedAt: number;
|
|
333
|
+
answeredBy?: string | undefined;
|
|
334
|
+
outcome?: string | undefined;
|
|
335
|
+
told?: "call" | "queued" | "turn" | undefined;
|
|
336
|
+
unattended?: boolean | undefined;
|
|
337
|
+
} | undefined;
|
|
338
|
+
needWake?: {
|
|
339
|
+
outcome: "declined" | "met";
|
|
340
|
+
title: string;
|
|
341
|
+
id: string;
|
|
342
|
+
sent: string;
|
|
343
|
+
} | undefined;
|
|
287
344
|
agentWords?: {
|
|
288
345
|
kind: "child" | "peer";
|
|
289
346
|
from: string;
|
|
@@ -367,6 +424,10 @@ export declare const agentContract: {
|
|
|
367
424
|
sandboxHeld?: boolean | undefined;
|
|
368
425
|
noticeWait?: "chatRoute" | "credentialRenewal" | "watch" | undefined;
|
|
369
426
|
noticeWaitId?: string | undefined;
|
|
427
|
+
noticeCode?: {
|
|
428
|
+
code: string;
|
|
429
|
+
params?: Record<string, string | number | boolean> | undefined;
|
|
430
|
+
} | undefined;
|
|
370
431
|
plan?: {
|
|
371
432
|
requestId: string;
|
|
372
433
|
text: string;
|
|
@@ -499,6 +560,60 @@ export declare const agentContract: {
|
|
|
499
560
|
elapsed: string;
|
|
500
561
|
sent: string;
|
|
501
562
|
} | undefined;
|
|
563
|
+
need?: {
|
|
564
|
+
id: string;
|
|
565
|
+
conversationId: string;
|
|
566
|
+
subject: {
|
|
567
|
+
kind: "capability";
|
|
568
|
+
entry: string;
|
|
569
|
+
name: string;
|
|
570
|
+
mode: "change" | "connect" | "reconnect";
|
|
571
|
+
instance?: string | undefined;
|
|
572
|
+
target?: string | undefined;
|
|
573
|
+
prefill?: Record<string, string> | undefined;
|
|
574
|
+
changes?: Record<string, string> | undefined;
|
|
575
|
+
reason?: string | undefined;
|
|
576
|
+
reported?: boolean | undefined;
|
|
577
|
+
} | {
|
|
578
|
+
kind: "secret";
|
|
579
|
+
name: string;
|
|
580
|
+
where?: string | undefined;
|
|
581
|
+
link?: string | undefined;
|
|
582
|
+
hint?: string | undefined;
|
|
583
|
+
replace?: boolean | undefined;
|
|
584
|
+
} | {
|
|
585
|
+
kind: "grant";
|
|
586
|
+
subject: "capability" | "folder" | "shelf" | "site";
|
|
587
|
+
what: string;
|
|
588
|
+
label: string;
|
|
589
|
+
persona?: string | undefined;
|
|
590
|
+
scope?: "conversation" | "persona" | undefined;
|
|
591
|
+
} | {
|
|
592
|
+
kind: "release";
|
|
593
|
+
subject: string;
|
|
594
|
+
approvers: string[];
|
|
595
|
+
} | {
|
|
596
|
+
kind: "environment";
|
|
597
|
+
tool: string;
|
|
598
|
+
steps: string;
|
|
599
|
+
approvedHash?: string | undefined;
|
|
600
|
+
};
|
|
601
|
+
title: string;
|
|
602
|
+
why?: string | undefined;
|
|
603
|
+
status: "cancelled" | "declined" | "met" | "open" | "working";
|
|
604
|
+
createdAt: number;
|
|
605
|
+
updatedAt: number;
|
|
606
|
+
answeredBy?: string | undefined;
|
|
607
|
+
outcome?: string | undefined;
|
|
608
|
+
told?: "call" | "queued" | "turn" | undefined;
|
|
609
|
+
unattended?: boolean | undefined;
|
|
610
|
+
} | undefined;
|
|
611
|
+
needWake?: {
|
|
612
|
+
outcome: "declined" | "met";
|
|
613
|
+
title: string;
|
|
614
|
+
id: string;
|
|
615
|
+
sent: string;
|
|
616
|
+
} | undefined;
|
|
502
617
|
agentWords?: {
|
|
503
618
|
kind: "child" | "peer";
|
|
504
619
|
from: string;
|
|
@@ -580,6 +695,10 @@ export declare const agentContract: {
|
|
|
580
695
|
sandboxHeld?: boolean | undefined;
|
|
581
696
|
noticeWait?: "chatRoute" | "credentialRenewal" | "watch" | undefined;
|
|
582
697
|
noticeWaitId?: string | undefined;
|
|
698
|
+
noticeCode?: {
|
|
699
|
+
code: string;
|
|
700
|
+
params?: Record<string, string | number | boolean> | undefined;
|
|
701
|
+
} | undefined;
|
|
583
702
|
plan?: {
|
|
584
703
|
requestId: string;
|
|
585
704
|
text: string;
|
|
@@ -712,6 +831,60 @@ export declare const agentContract: {
|
|
|
712
831
|
elapsed: string;
|
|
713
832
|
sent: string;
|
|
714
833
|
} | undefined;
|
|
834
|
+
need?: {
|
|
835
|
+
id: string;
|
|
836
|
+
conversationId: string;
|
|
837
|
+
subject: {
|
|
838
|
+
kind: "capability";
|
|
839
|
+
entry: string;
|
|
840
|
+
name: string;
|
|
841
|
+
mode: "change" | "connect" | "reconnect";
|
|
842
|
+
instance?: string | undefined;
|
|
843
|
+
target?: string | undefined;
|
|
844
|
+
prefill?: Record<string, string> | undefined;
|
|
845
|
+
changes?: Record<string, string> | undefined;
|
|
846
|
+
reason?: string | undefined;
|
|
847
|
+
reported?: boolean | undefined;
|
|
848
|
+
} | {
|
|
849
|
+
kind: "secret";
|
|
850
|
+
name: string;
|
|
851
|
+
where?: string | undefined;
|
|
852
|
+
link?: string | undefined;
|
|
853
|
+
hint?: string | undefined;
|
|
854
|
+
replace?: boolean | undefined;
|
|
855
|
+
} | {
|
|
856
|
+
kind: "grant";
|
|
857
|
+
subject: "capability" | "folder" | "shelf" | "site";
|
|
858
|
+
what: string;
|
|
859
|
+
label: string;
|
|
860
|
+
persona?: string | undefined;
|
|
861
|
+
scope?: "conversation" | "persona" | undefined;
|
|
862
|
+
} | {
|
|
863
|
+
kind: "release";
|
|
864
|
+
subject: string;
|
|
865
|
+
approvers: string[];
|
|
866
|
+
} | {
|
|
867
|
+
kind: "environment";
|
|
868
|
+
tool: string;
|
|
869
|
+
steps: string;
|
|
870
|
+
approvedHash?: string | undefined;
|
|
871
|
+
};
|
|
872
|
+
title: string;
|
|
873
|
+
why?: string | undefined;
|
|
874
|
+
status: "cancelled" | "declined" | "met" | "open" | "working";
|
|
875
|
+
createdAt: number;
|
|
876
|
+
updatedAt: number;
|
|
877
|
+
answeredBy?: string | undefined;
|
|
878
|
+
outcome?: string | undefined;
|
|
879
|
+
told?: "call" | "queued" | "turn" | undefined;
|
|
880
|
+
unattended?: boolean | undefined;
|
|
881
|
+
} | undefined;
|
|
882
|
+
needWake?: {
|
|
883
|
+
outcome: "declined" | "met";
|
|
884
|
+
title: string;
|
|
885
|
+
id: string;
|
|
886
|
+
sent: string;
|
|
887
|
+
} | undefined;
|
|
715
888
|
agentWords?: {
|
|
716
889
|
kind: "child" | "peer";
|
|
717
890
|
from: string;
|
|
@@ -823,6 +996,10 @@ export declare const agentContract: {
|
|
|
823
996
|
sandboxHeld?: boolean | undefined;
|
|
824
997
|
noticeWait?: "chatRoute" | "credentialRenewal" | "watch" | undefined;
|
|
825
998
|
noticeWaitId?: string | undefined;
|
|
999
|
+
noticeCode?: {
|
|
1000
|
+
code: string;
|
|
1001
|
+
params?: Record<string, string | number | boolean> | undefined;
|
|
1002
|
+
} | undefined;
|
|
826
1003
|
plan?: {
|
|
827
1004
|
requestId: string;
|
|
828
1005
|
text: string;
|
|
@@ -955,6 +1132,60 @@ export declare const agentContract: {
|
|
|
955
1132
|
elapsed: string;
|
|
956
1133
|
sent: string;
|
|
957
1134
|
} | undefined;
|
|
1135
|
+
need?: {
|
|
1136
|
+
id: string;
|
|
1137
|
+
conversationId: string;
|
|
1138
|
+
subject: {
|
|
1139
|
+
kind: "capability";
|
|
1140
|
+
entry: string;
|
|
1141
|
+
name: string;
|
|
1142
|
+
mode: "change" | "connect" | "reconnect";
|
|
1143
|
+
instance?: string | undefined;
|
|
1144
|
+
target?: string | undefined;
|
|
1145
|
+
prefill?: Record<string, string> | undefined;
|
|
1146
|
+
changes?: Record<string, string> | undefined;
|
|
1147
|
+
reason?: string | undefined;
|
|
1148
|
+
reported?: boolean | undefined;
|
|
1149
|
+
} | {
|
|
1150
|
+
kind: "secret";
|
|
1151
|
+
name: string;
|
|
1152
|
+
where?: string | undefined;
|
|
1153
|
+
link?: string | undefined;
|
|
1154
|
+
hint?: string | undefined;
|
|
1155
|
+
replace?: boolean | undefined;
|
|
1156
|
+
} | {
|
|
1157
|
+
kind: "grant";
|
|
1158
|
+
subject: "capability" | "folder" | "shelf" | "site";
|
|
1159
|
+
what: string;
|
|
1160
|
+
label: string;
|
|
1161
|
+
persona?: string | undefined;
|
|
1162
|
+
scope?: "conversation" | "persona" | undefined;
|
|
1163
|
+
} | {
|
|
1164
|
+
kind: "release";
|
|
1165
|
+
subject: string;
|
|
1166
|
+
approvers: string[];
|
|
1167
|
+
} | {
|
|
1168
|
+
kind: "environment";
|
|
1169
|
+
tool: string;
|
|
1170
|
+
steps: string;
|
|
1171
|
+
approvedHash?: string | undefined;
|
|
1172
|
+
};
|
|
1173
|
+
title: string;
|
|
1174
|
+
why?: string | undefined;
|
|
1175
|
+
status: "cancelled" | "declined" | "met" | "open" | "working";
|
|
1176
|
+
createdAt: number;
|
|
1177
|
+
updatedAt: number;
|
|
1178
|
+
answeredBy?: string | undefined;
|
|
1179
|
+
outcome?: string | undefined;
|
|
1180
|
+
told?: "call" | "queued" | "turn" | undefined;
|
|
1181
|
+
unattended?: boolean | undefined;
|
|
1182
|
+
} | undefined;
|
|
1183
|
+
needWake?: {
|
|
1184
|
+
outcome: "declined" | "met";
|
|
1185
|
+
title: string;
|
|
1186
|
+
id: string;
|
|
1187
|
+
sent: string;
|
|
1188
|
+
} | undefined;
|
|
958
1189
|
agentWords?: {
|
|
959
1190
|
kind: "child" | "peer";
|
|
960
1191
|
from: string;
|
|
@@ -1038,6 +1269,10 @@ export declare const agentContract: {
|
|
|
1038
1269
|
sandboxHeld?: boolean | undefined;
|
|
1039
1270
|
noticeWait?: "chatRoute" | "credentialRenewal" | "watch" | undefined;
|
|
1040
1271
|
noticeWaitId?: string | undefined;
|
|
1272
|
+
noticeCode?: {
|
|
1273
|
+
code: string;
|
|
1274
|
+
params?: Record<string, string | number | boolean> | undefined;
|
|
1275
|
+
} | undefined;
|
|
1041
1276
|
plan?: {
|
|
1042
1277
|
requestId: string;
|
|
1043
1278
|
text: string;
|
|
@@ -1170,6 +1405,60 @@ export declare const agentContract: {
|
|
|
1170
1405
|
elapsed: string;
|
|
1171
1406
|
sent: string;
|
|
1172
1407
|
} | undefined;
|
|
1408
|
+
need?: {
|
|
1409
|
+
id: string;
|
|
1410
|
+
conversationId: string;
|
|
1411
|
+
subject: {
|
|
1412
|
+
kind: "capability";
|
|
1413
|
+
entry: string;
|
|
1414
|
+
name: string;
|
|
1415
|
+
mode: "change" | "connect" | "reconnect";
|
|
1416
|
+
instance?: string | undefined;
|
|
1417
|
+
target?: string | undefined;
|
|
1418
|
+
prefill?: Record<string, string> | undefined;
|
|
1419
|
+
changes?: Record<string, string> | undefined;
|
|
1420
|
+
reason?: string | undefined;
|
|
1421
|
+
reported?: boolean | undefined;
|
|
1422
|
+
} | {
|
|
1423
|
+
kind: "secret";
|
|
1424
|
+
name: string;
|
|
1425
|
+
where?: string | undefined;
|
|
1426
|
+
link?: string | undefined;
|
|
1427
|
+
hint?: string | undefined;
|
|
1428
|
+
replace?: boolean | undefined;
|
|
1429
|
+
} | {
|
|
1430
|
+
kind: "grant";
|
|
1431
|
+
subject: "capability" | "folder" | "shelf" | "site";
|
|
1432
|
+
what: string;
|
|
1433
|
+
label: string;
|
|
1434
|
+
persona?: string | undefined;
|
|
1435
|
+
scope?: "conversation" | "persona" | undefined;
|
|
1436
|
+
} | {
|
|
1437
|
+
kind: "release";
|
|
1438
|
+
subject: string;
|
|
1439
|
+
approvers: string[];
|
|
1440
|
+
} | {
|
|
1441
|
+
kind: "environment";
|
|
1442
|
+
tool: string;
|
|
1443
|
+
steps: string;
|
|
1444
|
+
approvedHash?: string | undefined;
|
|
1445
|
+
};
|
|
1446
|
+
title: string;
|
|
1447
|
+
why?: string | undefined;
|
|
1448
|
+
status: "cancelled" | "declined" | "met" | "open" | "working";
|
|
1449
|
+
createdAt: number;
|
|
1450
|
+
updatedAt: number;
|
|
1451
|
+
answeredBy?: string | undefined;
|
|
1452
|
+
outcome?: string | undefined;
|
|
1453
|
+
told?: "call" | "queued" | "turn" | undefined;
|
|
1454
|
+
unattended?: boolean | undefined;
|
|
1455
|
+
} | undefined;
|
|
1456
|
+
needWake?: {
|
|
1457
|
+
outcome: "declined" | "met";
|
|
1458
|
+
title: string;
|
|
1459
|
+
id: string;
|
|
1460
|
+
sent: string;
|
|
1461
|
+
} | undefined;
|
|
1173
1462
|
agentWords?: {
|
|
1174
1463
|
kind: "child" | "peer";
|
|
1175
1464
|
from: string;
|
|
@@ -1251,6 +1540,10 @@ export declare const agentContract: {
|
|
|
1251
1540
|
sandboxHeld?: boolean | undefined;
|
|
1252
1541
|
noticeWait?: "chatRoute" | "credentialRenewal" | "watch" | undefined;
|
|
1253
1542
|
noticeWaitId?: string | undefined;
|
|
1543
|
+
noticeCode?: {
|
|
1544
|
+
code: string;
|
|
1545
|
+
params?: Record<string, string | number | boolean> | undefined;
|
|
1546
|
+
} | undefined;
|
|
1254
1547
|
plan?: {
|
|
1255
1548
|
requestId: string;
|
|
1256
1549
|
text: string;
|
|
@@ -1383,6 +1676,60 @@ export declare const agentContract: {
|
|
|
1383
1676
|
elapsed: string;
|
|
1384
1677
|
sent: string;
|
|
1385
1678
|
} | undefined;
|
|
1679
|
+
need?: {
|
|
1680
|
+
id: string;
|
|
1681
|
+
conversationId: string;
|
|
1682
|
+
subject: {
|
|
1683
|
+
kind: "capability";
|
|
1684
|
+
entry: string;
|
|
1685
|
+
name: string;
|
|
1686
|
+
mode: "change" | "connect" | "reconnect";
|
|
1687
|
+
instance?: string | undefined;
|
|
1688
|
+
target?: string | undefined;
|
|
1689
|
+
prefill?: Record<string, string> | undefined;
|
|
1690
|
+
changes?: Record<string, string> | undefined;
|
|
1691
|
+
reason?: string | undefined;
|
|
1692
|
+
reported?: boolean | undefined;
|
|
1693
|
+
} | {
|
|
1694
|
+
kind: "secret";
|
|
1695
|
+
name: string;
|
|
1696
|
+
where?: string | undefined;
|
|
1697
|
+
link?: string | undefined;
|
|
1698
|
+
hint?: string | undefined;
|
|
1699
|
+
replace?: boolean | undefined;
|
|
1700
|
+
} | {
|
|
1701
|
+
kind: "grant";
|
|
1702
|
+
subject: "capability" | "folder" | "shelf" | "site";
|
|
1703
|
+
what: string;
|
|
1704
|
+
label: string;
|
|
1705
|
+
persona?: string | undefined;
|
|
1706
|
+
scope?: "conversation" | "persona" | undefined;
|
|
1707
|
+
} | {
|
|
1708
|
+
kind: "release";
|
|
1709
|
+
subject: string;
|
|
1710
|
+
approvers: string[];
|
|
1711
|
+
} | {
|
|
1712
|
+
kind: "environment";
|
|
1713
|
+
tool: string;
|
|
1714
|
+
steps: string;
|
|
1715
|
+
approvedHash?: string | undefined;
|
|
1716
|
+
};
|
|
1717
|
+
title: string;
|
|
1718
|
+
why?: string | undefined;
|
|
1719
|
+
status: "cancelled" | "declined" | "met" | "open" | "working";
|
|
1720
|
+
createdAt: number;
|
|
1721
|
+
updatedAt: number;
|
|
1722
|
+
answeredBy?: string | undefined;
|
|
1723
|
+
outcome?: string | undefined;
|
|
1724
|
+
told?: "call" | "queued" | "turn" | undefined;
|
|
1725
|
+
unattended?: boolean | undefined;
|
|
1726
|
+
} | undefined;
|
|
1727
|
+
needWake?: {
|
|
1728
|
+
outcome: "declined" | "met";
|
|
1729
|
+
title: string;
|
|
1730
|
+
id: string;
|
|
1731
|
+
sent: string;
|
|
1732
|
+
} | undefined;
|
|
1386
1733
|
agentWords?: {
|
|
1387
1734
|
kind: "child" | "peer";
|
|
1388
1735
|
from: string;
|
|
@@ -1525,6 +1872,10 @@ export declare const agentContract: {
|
|
|
1525
1872
|
watch: "watch";
|
|
1526
1873
|
}>>;
|
|
1527
1874
|
noticeWaitId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1875
|
+
noticeCode: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1876
|
+
code: import("zod").ZodString;
|
|
1877
|
+
params: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>>;
|
|
1878
|
+
}, import("zod/v4/core").$strip>>;
|
|
1528
1879
|
plan: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1529
1880
|
requestId: import("zod").ZodString;
|
|
1530
1881
|
text: import("zod").ZodString;
|
|
@@ -1716,6 +2067,85 @@ export declare const agentContract: {
|
|
|
1716
2067
|
elapsed: import("zod").ZodString;
|
|
1717
2068
|
sent: import("zod").ZodString;
|
|
1718
2069
|
}, import("zod/v4/core").$strip>>;
|
|
2070
|
+
need: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2071
|
+
id: import("zod").ZodString;
|
|
2072
|
+
conversationId: import("zod").ZodString;
|
|
2073
|
+
subject: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
2074
|
+
kind: import("zod").ZodLiteral<"capability">;
|
|
2075
|
+
entry: import("zod").ZodString;
|
|
2076
|
+
name: import("zod").ZodString;
|
|
2077
|
+
mode: import("zod").ZodEnum<{
|
|
2078
|
+
change: "change";
|
|
2079
|
+
connect: "connect";
|
|
2080
|
+
reconnect: "reconnect";
|
|
2081
|
+
}>;
|
|
2082
|
+
instance: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2083
|
+
target: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2084
|
+
prefill: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
2085
|
+
changes: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
2086
|
+
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2087
|
+
reported: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2088
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2089
|
+
kind: import("zod").ZodLiteral<"secret">;
|
|
2090
|
+
name: import("zod").ZodString;
|
|
2091
|
+
where: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2092
|
+
link: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2093
|
+
hint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2094
|
+
replace: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2095
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2096
|
+
kind: import("zod").ZodLiteral<"grant">;
|
|
2097
|
+
subject: import("zod").ZodEnum<{
|
|
2098
|
+
capability: "capability";
|
|
2099
|
+
folder: "folder";
|
|
2100
|
+
shelf: "shelf";
|
|
2101
|
+
site: "site";
|
|
2102
|
+
}>;
|
|
2103
|
+
what: import("zod").ZodString;
|
|
2104
|
+
label: import("zod").ZodString;
|
|
2105
|
+
persona: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2106
|
+
scope: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2107
|
+
conversation: "conversation";
|
|
2108
|
+
persona: "persona";
|
|
2109
|
+
}>>;
|
|
2110
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2111
|
+
kind: import("zod").ZodLiteral<"release">;
|
|
2112
|
+
subject: import("zod").ZodString;
|
|
2113
|
+
approvers: import("zod").ZodArray<import("zod").ZodString>;
|
|
2114
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2115
|
+
kind: import("zod").ZodLiteral<"environment">;
|
|
2116
|
+
tool: import("zod").ZodString;
|
|
2117
|
+
steps: import("zod").ZodString;
|
|
2118
|
+
approvedHash: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2119
|
+
}, import("zod/v4/core").$strip>], "kind">;
|
|
2120
|
+
title: import("zod").ZodString;
|
|
2121
|
+
why: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2122
|
+
status: import("zod").ZodEnum<{
|
|
2123
|
+
cancelled: "cancelled";
|
|
2124
|
+
declined: "declined";
|
|
2125
|
+
met: "met";
|
|
2126
|
+
open: "open";
|
|
2127
|
+
working: "working";
|
|
2128
|
+
}>;
|
|
2129
|
+
createdAt: import("zod").ZodNumber;
|
|
2130
|
+
updatedAt: import("zod").ZodNumber;
|
|
2131
|
+
answeredBy: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2132
|
+
outcome: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2133
|
+
told: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2134
|
+
call: "call";
|
|
2135
|
+
queued: "queued";
|
|
2136
|
+
turn: "turn";
|
|
2137
|
+
}>>;
|
|
2138
|
+
unattended: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2139
|
+
}, import("zod/v4/core").$strip>>;
|
|
2140
|
+
needWake: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2141
|
+
outcome: import("zod").ZodEnum<{
|
|
2142
|
+
declined: "declined";
|
|
2143
|
+
met: "met";
|
|
2144
|
+
}>;
|
|
2145
|
+
title: import("zod").ZodString;
|
|
2146
|
+
id: import("zod").ZodString;
|
|
2147
|
+
sent: import("zod").ZodString;
|
|
2148
|
+
}, import("zod/v4/core").$strip>>;
|
|
1719
2149
|
agentWords: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1720
2150
|
kind: import("zod").ZodEnum<{
|
|
1721
2151
|
child: "child";
|
|
@@ -1852,6 +2282,10 @@ export declare const agentContract: {
|
|
|
1852
2282
|
watch: "watch";
|
|
1853
2283
|
}>>;
|
|
1854
2284
|
noticeWaitId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2285
|
+
noticeCode: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2286
|
+
code: import("zod").ZodString;
|
|
2287
|
+
params: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>>;
|
|
2288
|
+
}, import("zod/v4/core").$strip>>;
|
|
1855
2289
|
plan: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1856
2290
|
requestId: import("zod").ZodString;
|
|
1857
2291
|
text: import("zod").ZodString;
|
|
@@ -2043,6 +2477,85 @@ export declare const agentContract: {
|
|
|
2043
2477
|
elapsed: import("zod").ZodString;
|
|
2044
2478
|
sent: import("zod").ZodString;
|
|
2045
2479
|
}, import("zod/v4/core").$strip>>;
|
|
2480
|
+
need: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2481
|
+
id: import("zod").ZodString;
|
|
2482
|
+
conversationId: import("zod").ZodString;
|
|
2483
|
+
subject: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
2484
|
+
kind: import("zod").ZodLiteral<"capability">;
|
|
2485
|
+
entry: import("zod").ZodString;
|
|
2486
|
+
name: import("zod").ZodString;
|
|
2487
|
+
mode: import("zod").ZodEnum<{
|
|
2488
|
+
change: "change";
|
|
2489
|
+
connect: "connect";
|
|
2490
|
+
reconnect: "reconnect";
|
|
2491
|
+
}>;
|
|
2492
|
+
instance: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2493
|
+
target: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2494
|
+
prefill: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
2495
|
+
changes: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
2496
|
+
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2497
|
+
reported: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2498
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2499
|
+
kind: import("zod").ZodLiteral<"secret">;
|
|
2500
|
+
name: import("zod").ZodString;
|
|
2501
|
+
where: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2502
|
+
link: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2503
|
+
hint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2504
|
+
replace: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2505
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2506
|
+
kind: import("zod").ZodLiteral<"grant">;
|
|
2507
|
+
subject: import("zod").ZodEnum<{
|
|
2508
|
+
capability: "capability";
|
|
2509
|
+
folder: "folder";
|
|
2510
|
+
shelf: "shelf";
|
|
2511
|
+
site: "site";
|
|
2512
|
+
}>;
|
|
2513
|
+
what: import("zod").ZodString;
|
|
2514
|
+
label: import("zod").ZodString;
|
|
2515
|
+
persona: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2516
|
+
scope: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2517
|
+
conversation: "conversation";
|
|
2518
|
+
persona: "persona";
|
|
2519
|
+
}>>;
|
|
2520
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2521
|
+
kind: import("zod").ZodLiteral<"release">;
|
|
2522
|
+
subject: import("zod").ZodString;
|
|
2523
|
+
approvers: import("zod").ZodArray<import("zod").ZodString>;
|
|
2524
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2525
|
+
kind: import("zod").ZodLiteral<"environment">;
|
|
2526
|
+
tool: import("zod").ZodString;
|
|
2527
|
+
steps: import("zod").ZodString;
|
|
2528
|
+
approvedHash: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2529
|
+
}, import("zod/v4/core").$strip>], "kind">;
|
|
2530
|
+
title: import("zod").ZodString;
|
|
2531
|
+
why: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2532
|
+
status: import("zod").ZodEnum<{
|
|
2533
|
+
cancelled: "cancelled";
|
|
2534
|
+
declined: "declined";
|
|
2535
|
+
met: "met";
|
|
2536
|
+
open: "open";
|
|
2537
|
+
working: "working";
|
|
2538
|
+
}>;
|
|
2539
|
+
createdAt: import("zod").ZodNumber;
|
|
2540
|
+
updatedAt: import("zod").ZodNumber;
|
|
2541
|
+
answeredBy: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2542
|
+
outcome: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2543
|
+
told: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2544
|
+
call: "call";
|
|
2545
|
+
queued: "queued";
|
|
2546
|
+
turn: "turn";
|
|
2547
|
+
}>>;
|
|
2548
|
+
unattended: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2549
|
+
}, import("zod/v4/core").$strip>>;
|
|
2550
|
+
needWake: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2551
|
+
outcome: import("zod").ZodEnum<{
|
|
2552
|
+
declined: "declined";
|
|
2553
|
+
met: "met";
|
|
2554
|
+
}>;
|
|
2555
|
+
title: import("zod").ZodString;
|
|
2556
|
+
id: import("zod").ZodString;
|
|
2557
|
+
sent: import("zod").ZodString;
|
|
2558
|
+
}, import("zod/v4/core").$strip>>;
|
|
2046
2559
|
agentWords: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2047
2560
|
kind: import("zod").ZodEnum<{
|
|
2048
2561
|
child: "child";
|
|
@@ -2177,6 +2690,10 @@ export declare const agentContract: {
|
|
|
2177
2690
|
watch: "watch";
|
|
2178
2691
|
}>>;
|
|
2179
2692
|
noticeWaitId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2693
|
+
noticeCode: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2694
|
+
code: import("zod").ZodString;
|
|
2695
|
+
params: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>>;
|
|
2696
|
+
}, import("zod/v4/core").$strip>>;
|
|
2180
2697
|
plan: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2181
2698
|
requestId: import("zod").ZodString;
|
|
2182
2699
|
text: import("zod").ZodString;
|
|
@@ -2368,6 +2885,85 @@ export declare const agentContract: {
|
|
|
2368
2885
|
elapsed: import("zod").ZodString;
|
|
2369
2886
|
sent: import("zod").ZodString;
|
|
2370
2887
|
}, import("zod/v4/core").$strip>>;
|
|
2888
|
+
need: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2889
|
+
id: import("zod").ZodString;
|
|
2890
|
+
conversationId: import("zod").ZodString;
|
|
2891
|
+
subject: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
2892
|
+
kind: import("zod").ZodLiteral<"capability">;
|
|
2893
|
+
entry: import("zod").ZodString;
|
|
2894
|
+
name: import("zod").ZodString;
|
|
2895
|
+
mode: import("zod").ZodEnum<{
|
|
2896
|
+
change: "change";
|
|
2897
|
+
connect: "connect";
|
|
2898
|
+
reconnect: "reconnect";
|
|
2899
|
+
}>;
|
|
2900
|
+
instance: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2901
|
+
target: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2902
|
+
prefill: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
2903
|
+
changes: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
2904
|
+
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2905
|
+
reported: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2906
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2907
|
+
kind: import("zod").ZodLiteral<"secret">;
|
|
2908
|
+
name: import("zod").ZodString;
|
|
2909
|
+
where: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2910
|
+
link: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2911
|
+
hint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2912
|
+
replace: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2913
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2914
|
+
kind: import("zod").ZodLiteral<"grant">;
|
|
2915
|
+
subject: import("zod").ZodEnum<{
|
|
2916
|
+
capability: "capability";
|
|
2917
|
+
folder: "folder";
|
|
2918
|
+
shelf: "shelf";
|
|
2919
|
+
site: "site";
|
|
2920
|
+
}>;
|
|
2921
|
+
what: import("zod").ZodString;
|
|
2922
|
+
label: import("zod").ZodString;
|
|
2923
|
+
persona: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2924
|
+
scope: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2925
|
+
conversation: "conversation";
|
|
2926
|
+
persona: "persona";
|
|
2927
|
+
}>>;
|
|
2928
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2929
|
+
kind: import("zod").ZodLiteral<"release">;
|
|
2930
|
+
subject: import("zod").ZodString;
|
|
2931
|
+
approvers: import("zod").ZodArray<import("zod").ZodString>;
|
|
2932
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2933
|
+
kind: import("zod").ZodLiteral<"environment">;
|
|
2934
|
+
tool: import("zod").ZodString;
|
|
2935
|
+
steps: import("zod").ZodString;
|
|
2936
|
+
approvedHash: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2937
|
+
}, import("zod/v4/core").$strip>], "kind">;
|
|
2938
|
+
title: import("zod").ZodString;
|
|
2939
|
+
why: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2940
|
+
status: import("zod").ZodEnum<{
|
|
2941
|
+
cancelled: "cancelled";
|
|
2942
|
+
declined: "declined";
|
|
2943
|
+
met: "met";
|
|
2944
|
+
open: "open";
|
|
2945
|
+
working: "working";
|
|
2946
|
+
}>;
|
|
2947
|
+
createdAt: import("zod").ZodNumber;
|
|
2948
|
+
updatedAt: import("zod").ZodNumber;
|
|
2949
|
+
answeredBy: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2950
|
+
outcome: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2951
|
+
told: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2952
|
+
call: "call";
|
|
2953
|
+
queued: "queued";
|
|
2954
|
+
turn: "turn";
|
|
2955
|
+
}>>;
|
|
2956
|
+
unattended: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2957
|
+
}, import("zod/v4/core").$strip>>;
|
|
2958
|
+
needWake: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2959
|
+
outcome: import("zod").ZodEnum<{
|
|
2960
|
+
declined: "declined";
|
|
2961
|
+
met: "met";
|
|
2962
|
+
}>;
|
|
2963
|
+
title: import("zod").ZodString;
|
|
2964
|
+
id: import("zod").ZodString;
|
|
2965
|
+
sent: import("zod").ZodString;
|
|
2966
|
+
}, import("zod/v4/core").$strip>>;
|
|
2371
2967
|
agentWords: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2372
2968
|
kind: import("zod").ZodEnum<{
|
|
2373
2969
|
child: "child";
|
|
@@ -2603,6 +3199,25 @@ export declare const agentContract: {
|
|
|
2603
3199
|
}, import("zod/v4/core").$strip>>;
|
|
2604
3200
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2605
3201
|
run: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3202
|
+
queue: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3203
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3204
|
+
id: import("zod").ZodString;
|
|
3205
|
+
text: import("zod").ZodString;
|
|
3206
|
+
attachments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
3207
|
+
voice: import("zod").ZodEnum<{
|
|
3208
|
+
agent: "agent";
|
|
3209
|
+
person: "person";
|
|
3210
|
+
sandbox: "sandbox";
|
|
3211
|
+
}>;
|
|
3212
|
+
queuedAt: import("zod").ZodNumber;
|
|
3213
|
+
revision: import("zod").ZodNumber;
|
|
3214
|
+
}, import("zod/v4/core").$strip>>;
|
|
3215
|
+
revision: import("zod").ZodNumber;
|
|
3216
|
+
paused: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
3217
|
+
refused: "refused";
|
|
3218
|
+
stopped: "stopped";
|
|
3219
|
+
}>>;
|
|
3220
|
+
}, import("zod/v4/core").$strip>>;
|
|
2606
3221
|
}, import("zod/v4/core").$strip>, Record<never, never>, import("../protocol/route-meta.js").RouteMeta & Record<never, never>>;
|
|
2607
3222
|
resume: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2608
3223
|
conversationId: import("zod").ZodString;
|