@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
|
@@ -337,6 +337,16 @@ export declare const TranscriptWatchWakeSchema: z.ZodObject<{
|
|
|
337
337
|
sent: z.ZodString;
|
|
338
338
|
}, z.core.$strip>;
|
|
339
339
|
export type TranscriptWatchWake = z.infer<typeof TranscriptWatchWakeSchema>;
|
|
340
|
+
export declare const TranscriptNeedWakeSchema: z.ZodObject<{
|
|
341
|
+
outcome: z.ZodEnum<{
|
|
342
|
+
declined: "declined";
|
|
343
|
+
met: "met";
|
|
344
|
+
}>;
|
|
345
|
+
title: z.ZodString;
|
|
346
|
+
id: z.ZodString;
|
|
347
|
+
sent: z.ZodString;
|
|
348
|
+
}, z.core.$strip>;
|
|
349
|
+
export type TranscriptNeedWake = z.infer<typeof TranscriptNeedWakeSchema>;
|
|
340
350
|
export declare const TranscriptAgentWordsSchema: z.ZodObject<{
|
|
341
351
|
kind: z.ZodEnum<{
|
|
342
352
|
child: "child";
|
|
@@ -445,6 +455,10 @@ export declare const TranscriptRowSchema: z.ZodObject<{
|
|
|
445
455
|
watch: "watch";
|
|
446
456
|
}>>;
|
|
447
457
|
noticeWaitId: z.ZodOptional<z.ZodString>;
|
|
458
|
+
noticeCode: z.ZodOptional<z.ZodObject<{
|
|
459
|
+
code: z.ZodString;
|
|
460
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
461
|
+
}, z.core.$strip>>;
|
|
448
462
|
plan: z.ZodOptional<z.ZodObject<{
|
|
449
463
|
requestId: z.ZodString;
|
|
450
464
|
text: z.ZodString;
|
|
@@ -636,6 +650,85 @@ export declare const TranscriptRowSchema: z.ZodObject<{
|
|
|
636
650
|
elapsed: z.ZodString;
|
|
637
651
|
sent: z.ZodString;
|
|
638
652
|
}, z.core.$strip>>;
|
|
653
|
+
need: z.ZodOptional<z.ZodObject<{
|
|
654
|
+
id: z.ZodString;
|
|
655
|
+
conversationId: z.ZodString;
|
|
656
|
+
subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
657
|
+
kind: z.ZodLiteral<"capability">;
|
|
658
|
+
entry: z.ZodString;
|
|
659
|
+
name: z.ZodString;
|
|
660
|
+
mode: z.ZodEnum<{
|
|
661
|
+
change: "change";
|
|
662
|
+
connect: "connect";
|
|
663
|
+
reconnect: "reconnect";
|
|
664
|
+
}>;
|
|
665
|
+
instance: z.ZodOptional<z.ZodString>;
|
|
666
|
+
target: z.ZodOptional<z.ZodString>;
|
|
667
|
+
prefill: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
668
|
+
changes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
669
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
670
|
+
reported: z.ZodOptional<z.ZodBoolean>;
|
|
671
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
672
|
+
kind: z.ZodLiteral<"secret">;
|
|
673
|
+
name: z.ZodString;
|
|
674
|
+
where: z.ZodOptional<z.ZodString>;
|
|
675
|
+
link: z.ZodOptional<z.ZodString>;
|
|
676
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
677
|
+
replace: z.ZodOptional<z.ZodBoolean>;
|
|
678
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
679
|
+
kind: z.ZodLiteral<"grant">;
|
|
680
|
+
subject: z.ZodEnum<{
|
|
681
|
+
capability: "capability";
|
|
682
|
+
folder: "folder";
|
|
683
|
+
shelf: "shelf";
|
|
684
|
+
site: "site";
|
|
685
|
+
}>;
|
|
686
|
+
what: z.ZodString;
|
|
687
|
+
label: z.ZodString;
|
|
688
|
+
persona: z.ZodOptional<z.ZodString>;
|
|
689
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
690
|
+
conversation: "conversation";
|
|
691
|
+
persona: "persona";
|
|
692
|
+
}>>;
|
|
693
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
694
|
+
kind: z.ZodLiteral<"release">;
|
|
695
|
+
subject: z.ZodString;
|
|
696
|
+
approvers: z.ZodArray<z.ZodString>;
|
|
697
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
698
|
+
kind: z.ZodLiteral<"environment">;
|
|
699
|
+
tool: z.ZodString;
|
|
700
|
+
steps: z.ZodString;
|
|
701
|
+
approvedHash: z.ZodOptional<z.ZodString>;
|
|
702
|
+
}, z.core.$strip>], "kind">;
|
|
703
|
+
title: z.ZodString;
|
|
704
|
+
why: z.ZodOptional<z.ZodString>;
|
|
705
|
+
status: z.ZodEnum<{
|
|
706
|
+
cancelled: "cancelled";
|
|
707
|
+
declined: "declined";
|
|
708
|
+
met: "met";
|
|
709
|
+
open: "open";
|
|
710
|
+
working: "working";
|
|
711
|
+
}>;
|
|
712
|
+
createdAt: z.ZodNumber;
|
|
713
|
+
updatedAt: z.ZodNumber;
|
|
714
|
+
answeredBy: z.ZodOptional<z.ZodString>;
|
|
715
|
+
outcome: z.ZodOptional<z.ZodString>;
|
|
716
|
+
told: z.ZodOptional<z.ZodEnum<{
|
|
717
|
+
call: "call";
|
|
718
|
+
queued: "queued";
|
|
719
|
+
turn: "turn";
|
|
720
|
+
}>>;
|
|
721
|
+
unattended: z.ZodOptional<z.ZodBoolean>;
|
|
722
|
+
}, z.core.$strip>>;
|
|
723
|
+
needWake: z.ZodOptional<z.ZodObject<{
|
|
724
|
+
outcome: z.ZodEnum<{
|
|
725
|
+
declined: "declined";
|
|
726
|
+
met: "met";
|
|
727
|
+
}>;
|
|
728
|
+
title: z.ZodString;
|
|
729
|
+
id: z.ZodString;
|
|
730
|
+
sent: z.ZodString;
|
|
731
|
+
}, z.core.$strip>>;
|
|
639
732
|
agentWords: z.ZodOptional<z.ZodObject<{
|
|
640
733
|
kind: z.ZodEnum<{
|
|
641
734
|
child: "child";
|
|
@@ -775,6 +868,10 @@ export declare const TranscriptPatchSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
775
868
|
watch: "watch";
|
|
776
869
|
}>>;
|
|
777
870
|
noticeWaitId: z.ZodOptional<z.ZodString>;
|
|
871
|
+
noticeCode: z.ZodOptional<z.ZodObject<{
|
|
872
|
+
code: z.ZodString;
|
|
873
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
874
|
+
}, z.core.$strip>>;
|
|
778
875
|
plan: z.ZodOptional<z.ZodObject<{
|
|
779
876
|
requestId: z.ZodString;
|
|
780
877
|
text: z.ZodString;
|
|
@@ -966,6 +1063,85 @@ export declare const TranscriptPatchSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
966
1063
|
elapsed: z.ZodString;
|
|
967
1064
|
sent: z.ZodString;
|
|
968
1065
|
}, z.core.$strip>>;
|
|
1066
|
+
need: z.ZodOptional<z.ZodObject<{
|
|
1067
|
+
id: z.ZodString;
|
|
1068
|
+
conversationId: z.ZodString;
|
|
1069
|
+
subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1070
|
+
kind: z.ZodLiteral<"capability">;
|
|
1071
|
+
entry: z.ZodString;
|
|
1072
|
+
name: z.ZodString;
|
|
1073
|
+
mode: z.ZodEnum<{
|
|
1074
|
+
change: "change";
|
|
1075
|
+
connect: "connect";
|
|
1076
|
+
reconnect: "reconnect";
|
|
1077
|
+
}>;
|
|
1078
|
+
instance: z.ZodOptional<z.ZodString>;
|
|
1079
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1080
|
+
prefill: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1081
|
+
changes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1082
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1083
|
+
reported: z.ZodOptional<z.ZodBoolean>;
|
|
1084
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1085
|
+
kind: z.ZodLiteral<"secret">;
|
|
1086
|
+
name: z.ZodString;
|
|
1087
|
+
where: z.ZodOptional<z.ZodString>;
|
|
1088
|
+
link: z.ZodOptional<z.ZodString>;
|
|
1089
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
1090
|
+
replace: z.ZodOptional<z.ZodBoolean>;
|
|
1091
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1092
|
+
kind: z.ZodLiteral<"grant">;
|
|
1093
|
+
subject: z.ZodEnum<{
|
|
1094
|
+
capability: "capability";
|
|
1095
|
+
folder: "folder";
|
|
1096
|
+
shelf: "shelf";
|
|
1097
|
+
site: "site";
|
|
1098
|
+
}>;
|
|
1099
|
+
what: z.ZodString;
|
|
1100
|
+
label: z.ZodString;
|
|
1101
|
+
persona: z.ZodOptional<z.ZodString>;
|
|
1102
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1103
|
+
conversation: "conversation";
|
|
1104
|
+
persona: "persona";
|
|
1105
|
+
}>>;
|
|
1106
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1107
|
+
kind: z.ZodLiteral<"release">;
|
|
1108
|
+
subject: z.ZodString;
|
|
1109
|
+
approvers: z.ZodArray<z.ZodString>;
|
|
1110
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1111
|
+
kind: z.ZodLiteral<"environment">;
|
|
1112
|
+
tool: z.ZodString;
|
|
1113
|
+
steps: z.ZodString;
|
|
1114
|
+
approvedHash: z.ZodOptional<z.ZodString>;
|
|
1115
|
+
}, z.core.$strip>], "kind">;
|
|
1116
|
+
title: z.ZodString;
|
|
1117
|
+
why: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
status: z.ZodEnum<{
|
|
1119
|
+
cancelled: "cancelled";
|
|
1120
|
+
declined: "declined";
|
|
1121
|
+
met: "met";
|
|
1122
|
+
open: "open";
|
|
1123
|
+
working: "working";
|
|
1124
|
+
}>;
|
|
1125
|
+
createdAt: z.ZodNumber;
|
|
1126
|
+
updatedAt: z.ZodNumber;
|
|
1127
|
+
answeredBy: z.ZodOptional<z.ZodString>;
|
|
1128
|
+
outcome: z.ZodOptional<z.ZodString>;
|
|
1129
|
+
told: z.ZodOptional<z.ZodEnum<{
|
|
1130
|
+
call: "call";
|
|
1131
|
+
queued: "queued";
|
|
1132
|
+
turn: "turn";
|
|
1133
|
+
}>>;
|
|
1134
|
+
unattended: z.ZodOptional<z.ZodBoolean>;
|
|
1135
|
+
}, z.core.$strip>>;
|
|
1136
|
+
needWake: z.ZodOptional<z.ZodObject<{
|
|
1137
|
+
outcome: z.ZodEnum<{
|
|
1138
|
+
declined: "declined";
|
|
1139
|
+
met: "met";
|
|
1140
|
+
}>;
|
|
1141
|
+
title: z.ZodString;
|
|
1142
|
+
id: z.ZodString;
|
|
1143
|
+
sent: z.ZodString;
|
|
1144
|
+
}, z.core.$strip>>;
|
|
969
1145
|
agentWords: z.ZodOptional<z.ZodObject<{
|
|
970
1146
|
kind: z.ZodEnum<{
|
|
971
1147
|
child: "child";
|
|
@@ -1100,6 +1276,10 @@ export declare const TranscriptPatchSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1100
1276
|
watch: "watch";
|
|
1101
1277
|
}>>;
|
|
1102
1278
|
noticeWaitId: z.ZodOptional<z.ZodString>;
|
|
1279
|
+
noticeCode: z.ZodOptional<z.ZodObject<{
|
|
1280
|
+
code: z.ZodString;
|
|
1281
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1282
|
+
}, z.core.$strip>>;
|
|
1103
1283
|
plan: z.ZodOptional<z.ZodObject<{
|
|
1104
1284
|
requestId: z.ZodString;
|
|
1105
1285
|
text: z.ZodString;
|
|
@@ -1291,6 +1471,85 @@ export declare const TranscriptPatchSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1291
1471
|
elapsed: z.ZodString;
|
|
1292
1472
|
sent: z.ZodString;
|
|
1293
1473
|
}, z.core.$strip>>;
|
|
1474
|
+
need: z.ZodOptional<z.ZodObject<{
|
|
1475
|
+
id: z.ZodString;
|
|
1476
|
+
conversationId: z.ZodString;
|
|
1477
|
+
subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1478
|
+
kind: z.ZodLiteral<"capability">;
|
|
1479
|
+
entry: z.ZodString;
|
|
1480
|
+
name: z.ZodString;
|
|
1481
|
+
mode: z.ZodEnum<{
|
|
1482
|
+
change: "change";
|
|
1483
|
+
connect: "connect";
|
|
1484
|
+
reconnect: "reconnect";
|
|
1485
|
+
}>;
|
|
1486
|
+
instance: z.ZodOptional<z.ZodString>;
|
|
1487
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1488
|
+
prefill: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1489
|
+
changes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1490
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1491
|
+
reported: z.ZodOptional<z.ZodBoolean>;
|
|
1492
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1493
|
+
kind: z.ZodLiteral<"secret">;
|
|
1494
|
+
name: z.ZodString;
|
|
1495
|
+
where: z.ZodOptional<z.ZodString>;
|
|
1496
|
+
link: z.ZodOptional<z.ZodString>;
|
|
1497
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
1498
|
+
replace: z.ZodOptional<z.ZodBoolean>;
|
|
1499
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1500
|
+
kind: z.ZodLiteral<"grant">;
|
|
1501
|
+
subject: z.ZodEnum<{
|
|
1502
|
+
capability: "capability";
|
|
1503
|
+
folder: "folder";
|
|
1504
|
+
shelf: "shelf";
|
|
1505
|
+
site: "site";
|
|
1506
|
+
}>;
|
|
1507
|
+
what: z.ZodString;
|
|
1508
|
+
label: z.ZodString;
|
|
1509
|
+
persona: z.ZodOptional<z.ZodString>;
|
|
1510
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1511
|
+
conversation: "conversation";
|
|
1512
|
+
persona: "persona";
|
|
1513
|
+
}>>;
|
|
1514
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1515
|
+
kind: z.ZodLiteral<"release">;
|
|
1516
|
+
subject: z.ZodString;
|
|
1517
|
+
approvers: z.ZodArray<z.ZodString>;
|
|
1518
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1519
|
+
kind: z.ZodLiteral<"environment">;
|
|
1520
|
+
tool: z.ZodString;
|
|
1521
|
+
steps: z.ZodString;
|
|
1522
|
+
approvedHash: z.ZodOptional<z.ZodString>;
|
|
1523
|
+
}, z.core.$strip>], "kind">;
|
|
1524
|
+
title: z.ZodString;
|
|
1525
|
+
why: z.ZodOptional<z.ZodString>;
|
|
1526
|
+
status: z.ZodEnum<{
|
|
1527
|
+
cancelled: "cancelled";
|
|
1528
|
+
declined: "declined";
|
|
1529
|
+
met: "met";
|
|
1530
|
+
open: "open";
|
|
1531
|
+
working: "working";
|
|
1532
|
+
}>;
|
|
1533
|
+
createdAt: z.ZodNumber;
|
|
1534
|
+
updatedAt: z.ZodNumber;
|
|
1535
|
+
answeredBy: z.ZodOptional<z.ZodString>;
|
|
1536
|
+
outcome: z.ZodOptional<z.ZodString>;
|
|
1537
|
+
told: z.ZodOptional<z.ZodEnum<{
|
|
1538
|
+
call: "call";
|
|
1539
|
+
queued: "queued";
|
|
1540
|
+
turn: "turn";
|
|
1541
|
+
}>>;
|
|
1542
|
+
unattended: z.ZodOptional<z.ZodBoolean>;
|
|
1543
|
+
}, z.core.$strip>>;
|
|
1544
|
+
needWake: z.ZodOptional<z.ZodObject<{
|
|
1545
|
+
outcome: z.ZodEnum<{
|
|
1546
|
+
declined: "declined";
|
|
1547
|
+
met: "met";
|
|
1548
|
+
}>;
|
|
1549
|
+
title: z.ZodString;
|
|
1550
|
+
id: z.ZodString;
|
|
1551
|
+
sent: z.ZodString;
|
|
1552
|
+
}, z.core.$strip>>;
|
|
1294
1553
|
agentWords: z.ZodOptional<z.ZodObject<{
|
|
1295
1554
|
kind: z.ZodEnum<{
|
|
1296
1555
|
child: "child";
|
|
@@ -1446,6 +1705,10 @@ export declare const SessionTranscriptSchema: z.ZodObject<{
|
|
|
1446
1705
|
watch: "watch";
|
|
1447
1706
|
}>>;
|
|
1448
1707
|
noticeWaitId: z.ZodOptional<z.ZodString>;
|
|
1708
|
+
noticeCode: z.ZodOptional<z.ZodObject<{
|
|
1709
|
+
code: z.ZodString;
|
|
1710
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1711
|
+
}, z.core.$strip>>;
|
|
1449
1712
|
plan: z.ZodOptional<z.ZodObject<{
|
|
1450
1713
|
requestId: z.ZodString;
|
|
1451
1714
|
text: z.ZodString;
|
|
@@ -1637,6 +1900,85 @@ export declare const SessionTranscriptSchema: z.ZodObject<{
|
|
|
1637
1900
|
elapsed: z.ZodString;
|
|
1638
1901
|
sent: z.ZodString;
|
|
1639
1902
|
}, z.core.$strip>>;
|
|
1903
|
+
need: z.ZodOptional<z.ZodObject<{
|
|
1904
|
+
id: z.ZodString;
|
|
1905
|
+
conversationId: z.ZodString;
|
|
1906
|
+
subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1907
|
+
kind: z.ZodLiteral<"capability">;
|
|
1908
|
+
entry: z.ZodString;
|
|
1909
|
+
name: z.ZodString;
|
|
1910
|
+
mode: z.ZodEnum<{
|
|
1911
|
+
change: "change";
|
|
1912
|
+
connect: "connect";
|
|
1913
|
+
reconnect: "reconnect";
|
|
1914
|
+
}>;
|
|
1915
|
+
instance: z.ZodOptional<z.ZodString>;
|
|
1916
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1917
|
+
prefill: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1918
|
+
changes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1919
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1920
|
+
reported: z.ZodOptional<z.ZodBoolean>;
|
|
1921
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1922
|
+
kind: z.ZodLiteral<"secret">;
|
|
1923
|
+
name: z.ZodString;
|
|
1924
|
+
where: z.ZodOptional<z.ZodString>;
|
|
1925
|
+
link: z.ZodOptional<z.ZodString>;
|
|
1926
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
1927
|
+
replace: z.ZodOptional<z.ZodBoolean>;
|
|
1928
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1929
|
+
kind: z.ZodLiteral<"grant">;
|
|
1930
|
+
subject: z.ZodEnum<{
|
|
1931
|
+
capability: "capability";
|
|
1932
|
+
folder: "folder";
|
|
1933
|
+
shelf: "shelf";
|
|
1934
|
+
site: "site";
|
|
1935
|
+
}>;
|
|
1936
|
+
what: z.ZodString;
|
|
1937
|
+
label: z.ZodString;
|
|
1938
|
+
persona: z.ZodOptional<z.ZodString>;
|
|
1939
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1940
|
+
conversation: "conversation";
|
|
1941
|
+
persona: "persona";
|
|
1942
|
+
}>>;
|
|
1943
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1944
|
+
kind: z.ZodLiteral<"release">;
|
|
1945
|
+
subject: z.ZodString;
|
|
1946
|
+
approvers: z.ZodArray<z.ZodString>;
|
|
1947
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1948
|
+
kind: z.ZodLiteral<"environment">;
|
|
1949
|
+
tool: z.ZodString;
|
|
1950
|
+
steps: z.ZodString;
|
|
1951
|
+
approvedHash: z.ZodOptional<z.ZodString>;
|
|
1952
|
+
}, z.core.$strip>], "kind">;
|
|
1953
|
+
title: z.ZodString;
|
|
1954
|
+
why: z.ZodOptional<z.ZodString>;
|
|
1955
|
+
status: z.ZodEnum<{
|
|
1956
|
+
cancelled: "cancelled";
|
|
1957
|
+
declined: "declined";
|
|
1958
|
+
met: "met";
|
|
1959
|
+
open: "open";
|
|
1960
|
+
working: "working";
|
|
1961
|
+
}>;
|
|
1962
|
+
createdAt: z.ZodNumber;
|
|
1963
|
+
updatedAt: z.ZodNumber;
|
|
1964
|
+
answeredBy: z.ZodOptional<z.ZodString>;
|
|
1965
|
+
outcome: z.ZodOptional<z.ZodString>;
|
|
1966
|
+
told: z.ZodOptional<z.ZodEnum<{
|
|
1967
|
+
call: "call";
|
|
1968
|
+
queued: "queued";
|
|
1969
|
+
turn: "turn";
|
|
1970
|
+
}>>;
|
|
1971
|
+
unattended: z.ZodOptional<z.ZodBoolean>;
|
|
1972
|
+
}, z.core.$strip>>;
|
|
1973
|
+
needWake: z.ZodOptional<z.ZodObject<{
|
|
1974
|
+
outcome: z.ZodEnum<{
|
|
1975
|
+
declined: "declined";
|
|
1976
|
+
met: "met";
|
|
1977
|
+
}>;
|
|
1978
|
+
title: z.ZodString;
|
|
1979
|
+
id: z.ZodString;
|
|
1980
|
+
sent: z.ZodString;
|
|
1981
|
+
}, z.core.$strip>>;
|
|
1640
1982
|
agentWords: z.ZodOptional<z.ZodObject<{
|
|
1641
1983
|
kind: z.ZodEnum<{
|
|
1642
1984
|
child: "child";
|
|
@@ -1791,6 +2133,10 @@ export declare const AgentTranscriptSchema: z.ZodObject<{
|
|
|
1791
2133
|
watch: "watch";
|
|
1792
2134
|
}>>;
|
|
1793
2135
|
noticeWaitId: z.ZodOptional<z.ZodString>;
|
|
2136
|
+
noticeCode: z.ZodOptional<z.ZodObject<{
|
|
2137
|
+
code: z.ZodString;
|
|
2138
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2139
|
+
}, z.core.$strip>>;
|
|
1794
2140
|
plan: z.ZodOptional<z.ZodObject<{
|
|
1795
2141
|
requestId: z.ZodString;
|
|
1796
2142
|
text: z.ZodString;
|
|
@@ -1982,6 +2328,85 @@ export declare const AgentTranscriptSchema: z.ZodObject<{
|
|
|
1982
2328
|
elapsed: z.ZodString;
|
|
1983
2329
|
sent: z.ZodString;
|
|
1984
2330
|
}, z.core.$strip>>;
|
|
2331
|
+
need: z.ZodOptional<z.ZodObject<{
|
|
2332
|
+
id: z.ZodString;
|
|
2333
|
+
conversationId: z.ZodString;
|
|
2334
|
+
subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2335
|
+
kind: z.ZodLiteral<"capability">;
|
|
2336
|
+
entry: z.ZodString;
|
|
2337
|
+
name: z.ZodString;
|
|
2338
|
+
mode: z.ZodEnum<{
|
|
2339
|
+
change: "change";
|
|
2340
|
+
connect: "connect";
|
|
2341
|
+
reconnect: "reconnect";
|
|
2342
|
+
}>;
|
|
2343
|
+
instance: z.ZodOptional<z.ZodString>;
|
|
2344
|
+
target: z.ZodOptional<z.ZodString>;
|
|
2345
|
+
prefill: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2346
|
+
changes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2347
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2348
|
+
reported: z.ZodOptional<z.ZodBoolean>;
|
|
2349
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2350
|
+
kind: z.ZodLiteral<"secret">;
|
|
2351
|
+
name: z.ZodString;
|
|
2352
|
+
where: z.ZodOptional<z.ZodString>;
|
|
2353
|
+
link: z.ZodOptional<z.ZodString>;
|
|
2354
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
2355
|
+
replace: z.ZodOptional<z.ZodBoolean>;
|
|
2356
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2357
|
+
kind: z.ZodLiteral<"grant">;
|
|
2358
|
+
subject: z.ZodEnum<{
|
|
2359
|
+
capability: "capability";
|
|
2360
|
+
folder: "folder";
|
|
2361
|
+
shelf: "shelf";
|
|
2362
|
+
site: "site";
|
|
2363
|
+
}>;
|
|
2364
|
+
what: z.ZodString;
|
|
2365
|
+
label: z.ZodString;
|
|
2366
|
+
persona: z.ZodOptional<z.ZodString>;
|
|
2367
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
2368
|
+
conversation: "conversation";
|
|
2369
|
+
persona: "persona";
|
|
2370
|
+
}>>;
|
|
2371
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2372
|
+
kind: z.ZodLiteral<"release">;
|
|
2373
|
+
subject: z.ZodString;
|
|
2374
|
+
approvers: z.ZodArray<z.ZodString>;
|
|
2375
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2376
|
+
kind: z.ZodLiteral<"environment">;
|
|
2377
|
+
tool: z.ZodString;
|
|
2378
|
+
steps: z.ZodString;
|
|
2379
|
+
approvedHash: z.ZodOptional<z.ZodString>;
|
|
2380
|
+
}, z.core.$strip>], "kind">;
|
|
2381
|
+
title: z.ZodString;
|
|
2382
|
+
why: z.ZodOptional<z.ZodString>;
|
|
2383
|
+
status: z.ZodEnum<{
|
|
2384
|
+
cancelled: "cancelled";
|
|
2385
|
+
declined: "declined";
|
|
2386
|
+
met: "met";
|
|
2387
|
+
open: "open";
|
|
2388
|
+
working: "working";
|
|
2389
|
+
}>;
|
|
2390
|
+
createdAt: z.ZodNumber;
|
|
2391
|
+
updatedAt: z.ZodNumber;
|
|
2392
|
+
answeredBy: z.ZodOptional<z.ZodString>;
|
|
2393
|
+
outcome: z.ZodOptional<z.ZodString>;
|
|
2394
|
+
told: z.ZodOptional<z.ZodEnum<{
|
|
2395
|
+
call: "call";
|
|
2396
|
+
queued: "queued";
|
|
2397
|
+
turn: "turn";
|
|
2398
|
+
}>>;
|
|
2399
|
+
unattended: z.ZodOptional<z.ZodBoolean>;
|
|
2400
|
+
}, z.core.$strip>>;
|
|
2401
|
+
needWake: z.ZodOptional<z.ZodObject<{
|
|
2402
|
+
outcome: z.ZodEnum<{
|
|
2403
|
+
declined: "declined";
|
|
2404
|
+
met: "met";
|
|
2405
|
+
}>;
|
|
2406
|
+
title: z.ZodString;
|
|
2407
|
+
id: z.ZodString;
|
|
2408
|
+
sent: z.ZodString;
|
|
2409
|
+
}, z.core.$strip>>;
|
|
1985
2410
|
agentWords: z.ZodOptional<z.ZodObject<{
|
|
1986
2411
|
kind: z.ZodEnum<{
|
|
1987
2412
|
child: "child";
|
|
@@ -2153,6 +2578,10 @@ export declare const SharePayloadSchema: z.ZodObject<{
|
|
|
2153
2578
|
watch: "watch";
|
|
2154
2579
|
}>>;
|
|
2155
2580
|
noticeWaitId: z.ZodOptional<z.ZodString>;
|
|
2581
|
+
noticeCode: z.ZodOptional<z.ZodObject<{
|
|
2582
|
+
code: z.ZodString;
|
|
2583
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2584
|
+
}, z.core.$strip>>;
|
|
2156
2585
|
plan: z.ZodOptional<z.ZodObject<{
|
|
2157
2586
|
requestId: z.ZodString;
|
|
2158
2587
|
text: z.ZodString;
|
|
@@ -2344,6 +2773,85 @@ export declare const SharePayloadSchema: z.ZodObject<{
|
|
|
2344
2773
|
elapsed: z.ZodString;
|
|
2345
2774
|
sent: z.ZodString;
|
|
2346
2775
|
}, z.core.$strip>>;
|
|
2776
|
+
need: z.ZodOptional<z.ZodObject<{
|
|
2777
|
+
id: z.ZodString;
|
|
2778
|
+
conversationId: z.ZodString;
|
|
2779
|
+
subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2780
|
+
kind: z.ZodLiteral<"capability">;
|
|
2781
|
+
entry: z.ZodString;
|
|
2782
|
+
name: z.ZodString;
|
|
2783
|
+
mode: z.ZodEnum<{
|
|
2784
|
+
change: "change";
|
|
2785
|
+
connect: "connect";
|
|
2786
|
+
reconnect: "reconnect";
|
|
2787
|
+
}>;
|
|
2788
|
+
instance: z.ZodOptional<z.ZodString>;
|
|
2789
|
+
target: z.ZodOptional<z.ZodString>;
|
|
2790
|
+
prefill: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2791
|
+
changes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2792
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2793
|
+
reported: z.ZodOptional<z.ZodBoolean>;
|
|
2794
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2795
|
+
kind: z.ZodLiteral<"secret">;
|
|
2796
|
+
name: z.ZodString;
|
|
2797
|
+
where: z.ZodOptional<z.ZodString>;
|
|
2798
|
+
link: z.ZodOptional<z.ZodString>;
|
|
2799
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
2800
|
+
replace: z.ZodOptional<z.ZodBoolean>;
|
|
2801
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2802
|
+
kind: z.ZodLiteral<"grant">;
|
|
2803
|
+
subject: z.ZodEnum<{
|
|
2804
|
+
capability: "capability";
|
|
2805
|
+
folder: "folder";
|
|
2806
|
+
shelf: "shelf";
|
|
2807
|
+
site: "site";
|
|
2808
|
+
}>;
|
|
2809
|
+
what: z.ZodString;
|
|
2810
|
+
label: z.ZodString;
|
|
2811
|
+
persona: z.ZodOptional<z.ZodString>;
|
|
2812
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
2813
|
+
conversation: "conversation";
|
|
2814
|
+
persona: "persona";
|
|
2815
|
+
}>>;
|
|
2816
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2817
|
+
kind: z.ZodLiteral<"release">;
|
|
2818
|
+
subject: z.ZodString;
|
|
2819
|
+
approvers: z.ZodArray<z.ZodString>;
|
|
2820
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2821
|
+
kind: z.ZodLiteral<"environment">;
|
|
2822
|
+
tool: z.ZodString;
|
|
2823
|
+
steps: z.ZodString;
|
|
2824
|
+
approvedHash: z.ZodOptional<z.ZodString>;
|
|
2825
|
+
}, z.core.$strip>], "kind">;
|
|
2826
|
+
title: z.ZodString;
|
|
2827
|
+
why: z.ZodOptional<z.ZodString>;
|
|
2828
|
+
status: z.ZodEnum<{
|
|
2829
|
+
cancelled: "cancelled";
|
|
2830
|
+
declined: "declined";
|
|
2831
|
+
met: "met";
|
|
2832
|
+
open: "open";
|
|
2833
|
+
working: "working";
|
|
2834
|
+
}>;
|
|
2835
|
+
createdAt: z.ZodNumber;
|
|
2836
|
+
updatedAt: z.ZodNumber;
|
|
2837
|
+
answeredBy: z.ZodOptional<z.ZodString>;
|
|
2838
|
+
outcome: z.ZodOptional<z.ZodString>;
|
|
2839
|
+
told: z.ZodOptional<z.ZodEnum<{
|
|
2840
|
+
call: "call";
|
|
2841
|
+
queued: "queued";
|
|
2842
|
+
turn: "turn";
|
|
2843
|
+
}>>;
|
|
2844
|
+
unattended: z.ZodOptional<z.ZodBoolean>;
|
|
2845
|
+
}, z.core.$strip>>;
|
|
2846
|
+
needWake: z.ZodOptional<z.ZodObject<{
|
|
2847
|
+
outcome: z.ZodEnum<{
|
|
2848
|
+
declined: "declined";
|
|
2849
|
+
met: "met";
|
|
2850
|
+
}>;
|
|
2851
|
+
title: z.ZodString;
|
|
2852
|
+
id: z.ZodString;
|
|
2853
|
+
sent: z.ZodString;
|
|
2854
|
+
}, z.core.$strip>>;
|
|
2347
2855
|
agentWords: z.ZodOptional<z.ZodObject<{
|
|
2348
2856
|
kind: z.ZodEnum<{
|
|
2349
2857
|
child: "child";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transcript.d.ts","sourceRoot":"","sources":["../../src/events/transcript.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"transcript.d.ts","sourceRoot":"","sources":["../../src/events/transcript.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,cAAc,EAAE,QAAQ,EAAC,MAAM,eAAe,CAAC;AAShG,eAAO,MAAM,gBAAgB;;;;;EAA2D,CAAC;AACzF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,eAAO,MAAM,oBAAoB;;;;EAA+C,CAAC;AACjF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,eAAO,MAAM,sBAAsB;;;;;;EAAkE,CAAC;AACtG,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,eAAO,MAAM,gBAAgB;;;;;EAAyD,CAAC;AACvF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,eAAO,MAAM,iBAAiB;;;;;EAA0D,CAAC;AACzF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,2BAA2B;;;;;EAA4D,CAAC;AACrG,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;iBAAgG,CAAC;AAClI,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,eAAO,MAAM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AIH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAM7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -3,7 +3,9 @@ import { AgentHarnessSchema, AgentProviderSchema } from "../schemas/agent.js";
|
|
|
3
3
|
import { ShareDetailSchema } from "../schemas/share.js";
|
|
4
4
|
import { TurnErrandSchema, TurnSpeakerSchema } from "../schemas/speaker.js";
|
|
5
5
|
import { SubagentKindSchema, SubagentStatusSchema, SubagentVerificationSchema } from "../schemas/terminal.js";
|
|
6
|
+
import { NeedSchema } from "../schemas/needs.js";
|
|
6
7
|
import { RetryLadderSchema } from "../schemas/turn-break.js";
|
|
8
|
+
import { NoticeCodeSchema } from "./sandbox-notice.js";
|
|
7
9
|
import { browserHelpRequest, capabilityOfferRequest, CapabilityOutcomeSchema, credentialOfferRequest, CredentialReceiptSchema, paymentOfferRequest, PaymentReceiptSchema, PermissionAskSchema, permissionRequest, planRequest, questionRequest, terminalHelpRequest, TodoItemSchema, ToolCallContentSchema, ToolCallLocationSchema, ToolCallStatusSchema, ToolKindSchema } from "./requests.js";
|
|
8
10
|
export const PlanStatusSchema = z.enum(["pending", "approved", "rejected", "cancelled"]);
|
|
9
11
|
export const QuestionStatusSchema = z.enum(["pending", "answered", "cancelled"]);
|
|
@@ -63,7 +65,7 @@ export const TranscriptSubagentSchema = z.object({
|
|
|
63
65
|
id: z
|
|
64
66
|
.string()
|
|
65
67
|
.optional()
|
|
66
|
-
.describe("Its own id, where that is not the card's: a spawned subagent is named by its own conversation, which is what the roster, `wait` and its
|
|
68
|
+
.describe("Its own id, where that is not the card's: a spawned subagent is named by its own conversation, which is what the roster, `wait` and its own chat call it. Absent, the card's id is its id, as it is for one the runtime started in-process."),
|
|
67
69
|
kind: SubagentKindSchema,
|
|
68
70
|
agentType: z.string().optional(),
|
|
69
71
|
description: z.string().optional(),
|
|
@@ -87,6 +89,12 @@ export const TranscriptWatchWakeSchema = z.object({
|
|
|
87
89
|
.describe("How long the watch stood, already worded ('43m'): carried rather than recomputed, since the arming instant is not on the row."),
|
|
88
90
|
sent: z.string().describe("The whole prompt the model was woken with, disclosed under the row."),
|
|
89
91
|
});
|
|
92
|
+
export const TranscriptNeedWakeSchema = z.object({
|
|
93
|
+
outcome: z.enum(["met", "declined"]).describe("How the need ended: a person gave it, or said no."),
|
|
94
|
+
title: z.string().describe("The need, as its card leads with it."),
|
|
95
|
+
id: z.string().describe("The need's handle, which its live card is keyed by."),
|
|
96
|
+
sent: z.string().describe("The whole prompt the model received, disclosed under the row."),
|
|
97
|
+
});
|
|
90
98
|
export const TranscriptAgentWordsSchema = z.object({
|
|
91
99
|
kind: z.enum(["peer", "child"]).describe("Who sent it: another conversation in the workspace, or a subagent this one started."),
|
|
92
100
|
from: z.string().describe("The sending conversation's id."),
|
|
@@ -169,6 +177,7 @@ export const TranscriptRowSchema = z.object({
|
|
|
169
177
|
.string()
|
|
170
178
|
.optional()
|
|
171
179
|
.describe("Which instance of the wait this notice names, for a kind that can have several running at once."),
|
|
180
|
+
noticeCode: NoticeCodeSchema.optional().describe("Which of the sandbox's own notices this row is, and the facts it was worded from, so a reader can say it in the reader's own language. The text stays the English sentence."),
|
|
172
181
|
plan: TranscriptPlanSchema.optional().describe("The plan this row asked approval for, and the answer."),
|
|
173
182
|
question: TranscriptQuestionSchema.optional().describe("The questions this row asked, and the picks that answered them."),
|
|
174
183
|
permission: TranscriptPermissionSchema.optional().describe("The tool this row asked permission for, and the decision."),
|
|
@@ -177,6 +186,8 @@ export const TranscriptRowSchema = z.object({
|
|
|
177
186
|
capabilityOffer: TranscriptCapabilityOfferSchema.optional().describe("The capability setup this row asked for, the decision, and the outcome."),
|
|
178
187
|
paymentOffer: TranscriptPaymentOfferSchema.optional().describe("The payment this row asked for, the decision, and the receipt."),
|
|
179
188
|
watchWake: TranscriptWatchWakeSchema.optional().describe("The condition watch that woke this conversation, and the prompt it was woken with."),
|
|
189
|
+
need: NeedSchema.optional().describe("Something the agent asked a person for, as it was when raised. Its live state (answered, met) is read by its id, since it outlives the turn."),
|
|
190
|
+
needWake: TranscriptNeedWakeSchema.optional().describe("The answered need that reached this conversation, and the prompt it came as."),
|
|
180
191
|
agentWords: TranscriptAgentWordsSchema.optional().describe("Another agent's words that reached this conversation, whose they are, and the prompt they came as."),
|
|
181
192
|
backgroundJob: TranscriptBackgroundJobSchema.optional().describe("The background job this row marks the start of."),
|
|
182
193
|
credentialOffer: TranscriptCredentialOfferSchema.optional().describe("The gated credential this row asked to use, who may release it, and who did."),
|