@wjarka/cezarion 0.14.7-pr488.741 → 0.14.8-dev.817
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 +76 -2
- package/dist/application-update/bin-recovery.d.ts +5 -0
- package/dist/application-update/bin-recovery.js +96 -0
- package/dist/application-update/bin-recovery.js.map +1 -0
- package/dist/application-update/discovery.d.ts +22 -0
- package/dist/application-update/discovery.js +91 -0
- package/dist/application-update/discovery.js.map +1 -0
- package/dist/application-update/helper.d.ts +57 -0
- package/dist/application-update/helper.js +374 -0
- package/dist/application-update/helper.js.map +1 -0
- package/dist/application-update/launcher.d.ts +8 -0
- package/dist/application-update/launcher.js +53 -0
- package/dist/application-update/launcher.js.map +1 -0
- package/dist/application-update/lock.d.ts +4 -0
- package/dist/application-update/lock.js +70 -0
- package/dist/application-update/lock.js.map +1 -0
- package/dist/application-update/npm-process.d.ts +17 -0
- package/dist/application-update/npm-process.js +133 -0
- package/dist/application-update/npm-process.js.map +1 -0
- package/dist/application-update/service.d.ts +69 -0
- package/dist/application-update/service.js +456 -0
- package/dist/application-update/service.js.map +1 -0
- package/dist/artifacts/cli.d.ts +1 -0
- package/dist/artifacts/cli.js +32 -0
- package/dist/artifacts/cli.js.map +1 -0
- package/dist/artifacts/lifecycle.d.ts +4 -0
- package/dist/artifacts/lifecycle.js +42 -0
- package/dist/artifacts/lifecycle.js.map +1 -0
- package/dist/artifacts/resolve.d.ts +18 -0
- package/dist/artifacts/resolve.js +102 -0
- package/dist/artifacts/resolve.js.map +1 -0
- package/dist/artifacts/store.d.ts +8 -0
- package/dist/artifacts/store.js +317 -0
- package/dist/artifacts/store.js.map +1 -0
- package/dist/ci-wait/mcp.d.ts +3 -0
- package/dist/ci-wait/mcp.js +14 -3
- package/dist/ci-wait/mcp.js.map +1 -1
- package/dist/contract/application-update.d.ts +32 -0
- package/dist/contract/artifacts.d.ts +83 -0
- package/dist/contract/ask-schema.d.ts +32 -0
- package/dist/contract/ask.d.ts +2 -32
- package/dist/contract/conversations.d.ts +67 -0
- package/dist/contract/delegation.d.ts +24 -0
- package/dist/contract/events.d.ts +42 -0
- package/dist/contract/health.d.ts +12 -0
- package/dist/contract/index.d.ts +2 -0
- package/dist/contract/index.js +1361 -1263
- package/dist/contract/runs.d.ts +108 -0
- package/dist/contract/skills.d.ts +21 -0
- package/dist/core/agent-runner.d.ts +33 -4
- package/dist/core/agent-runner.js +5 -0
- package/dist/core/agent-runner.js.map +1 -1
- package/dist/core/claude-cli-runner.d.ts +6 -12
- package/dist/core/claude-cli-runner.js +89 -19
- package/dist/core/claude-cli-runner.js.map +1 -1
- package/dist/core/codex-app-server-runner.d.ts +2 -1
- package/dist/core/codex-app-server-runner.js +327 -92
- package/dist/core/codex-app-server-runner.js.map +1 -1
- package/dist/core/codex-app-server-transport.d.ts +13 -1
- package/dist/core/codex-app-server-transport.js +58 -17
- package/dist/core/codex-app-server-transport.js.map +1 -1
- package/dist/core/cursor-acp-runner.d.ts +4 -1
- package/dist/core/cursor-acp-runner.js +3 -0
- package/dist/core/cursor-acp-runner.js.map +1 -1
- package/dist/core/cursor-provider-error.js +3 -1
- package/dist/core/cursor-provider-error.js.map +1 -1
- package/dist/core/input-submissions.d.ts +14 -0
- package/dist/core/input-submissions.js +26 -0
- package/dist/core/input-submissions.js.map +1 -0
- package/dist/core/opencode-server-runner.d.ts +4 -1
- package/dist/core/opencode-server-runner.js +144 -21
- package/dist/core/opencode-server-runner.js.map +1 -1
- package/dist/core/pi-runner.d.ts +2 -1
- package/dist/core/pi-runner.js +72 -7
- package/dist/core/pi-runner.js.map +1 -1
- package/dist/delegation/conversations.js +13 -5
- package/dist/delegation/conversations.js.map +1 -1
- package/dist/delegation/provision.js +5 -4
- package/dist/delegation/provision.js.map +1 -1
- package/dist/delegation/questions.d.ts +19 -0
- package/dist/delegation/questions.js +45 -0
- package/dist/delegation/questions.js.map +1 -0
- package/dist/delegation/results.d.ts +1 -1
- package/dist/delegation/results.js +23 -13
- package/dist/delegation/results.js.map +1 -1
- package/dist/delegation/routes.d.ts +76 -16
- package/dist/delegation/service.d.ts +3 -3
- package/dist/delegation/service.js +24 -5
- package/dist/delegation/service.js.map +1 -1
- package/dist/delegation/transport.d.ts +72 -12
- package/dist/index.js +72 -26
- package/dist/index.js.map +1 -1
- package/dist/open-url.d.ts +2 -0
- package/dist/open-url.js +20 -0
- package/dist/open-url.js.map +1 -0
- package/dist/release/snapshot.d.ts +3 -3
- package/dist/release/snapshot.js +6 -6
- package/dist/release/snapshot.js.map +1 -1
- package/dist/runs/client-request.d.ts +11 -0
- package/dist/runs/client-request.js +26 -0
- package/dist/runs/client-request.js.map +1 -0
- package/dist/runs/delegation-state.d.ts +17 -0
- package/dist/runs/event-history.js +6 -0
- package/dist/runs/event-history.js.map +1 -1
- package/dist/runs/store.d.ts +57 -5
- package/dist/runs/store.js +61 -0
- package/dist/runs/store.js.map +1 -1
- package/dist/server/server.d.ts +4709 -2750
- package/dist/server/server.js +170 -4
- package/dist/server/server.js.map +1 -1
- package/dist/task-cli/cli.d.ts +38 -0
- package/dist/task-cli/cli.js +463 -0
- package/dist/task-cli/cli.js.map +1 -0
- package/dist/task-cli/discovery.d.ts +22 -0
- package/dist/task-cli/discovery.js +95 -0
- package/dist/task-cli/discovery.js.map +1 -0
- package/dist/task-cli/http.d.ts +43 -0
- package/dist/task-cli/http.js +101 -0
- package/dist/task-cli/http.js.map +1 -0
- package/dist/task-cli/projections.d.ts +40 -0
- package/dist/task-cli/projections.js +45 -0
- package/dist/task-cli/projections.js.map +1 -0
- package/dist/task-cli/watch.d.ts +59 -0
- package/dist/task-cli/watch.js +303 -0
- package/dist/task-cli/watch.js.map +1 -0
- package/dist/workflows/run.d.ts +79 -0
- package/dist/workflows/run.js +676 -70
- package/dist/workflows/run.js.map +1 -1
- package/dist/workspace/projects-cli.js +1 -1
- package/package.json +3 -3
- package/scripts/mock-claude.mjs +38 -2
- package/scripts/mock-codex-app-server.mjs +98 -1
- package/scripts/mock-cursor-acp.mjs +3 -0
- package/scripts/mock-opencode-serve.mjs +69 -2
- package/scripts/mock-pi-rpc.mjs +63 -2
- package/web/dist/assets/agent-accounts-B7aDlJ4I.js +1 -0
- package/web/dist/assets/centered-state-wm14n-hB.js +43 -0
- package/web/dist/assets/collapsible-Bb2y0asn.js +1 -0
- package/web/dist/assets/commit-list-Bz4vV9X3.js +1 -0
- package/web/dist/assets/compare-variants-kXDxHaTA.js +1 -0
- package/web/dist/assets/diff-controls-frbAqBK1.js +1 -0
- package/web/dist/assets/{diff-BvZErqfg2.js → diff-rDeblLVZ2.js} +2 -2
- package/web/dist/assets/{diff-stat-CVFxf2Ar.js → diff-stat-Cn7rzy1H.js} +1 -1
- package/web/dist/assets/{diff-view-B35r8kQK.js → diff-view-D6N_QzSq.js} +1 -1
- package/web/dist/assets/dropdown-menu-Bwvi4Ono.js +1 -0
- package/web/dist/assets/git-toolbar-5TyOh819.js +1 -0
- package/web/dist/assets/github-CNO6b6Gn.js +1 -0
- package/web/dist/assets/{image-preview-BBqbaKaq.js → image-preview-B618kDBH.js} +1 -1
- package/web/dist/assets/index-C4lWUOn4.css +1 -0
- package/web/dist/assets/index-_YqA5M2j.js +7 -0
- package/web/dist/assets/markdown-BnjmXdz2.js +2 -0
- package/web/dist/assets/pill-DqEXer06.js +1 -0
- package/web/dist/assets/project-router-BSpCQc8A.js +1 -0
- package/web/dist/assets/prompt-templates-BsHnTixc.js +15 -0
- package/web/dist/assets/repo-git-CXsnC6Qk.js +1 -0
- package/web/dist/assets/{run-diff-fChfUdwr.js → run-diff-CFeYdPGE.js} +2 -2
- package/web/dist/assets/run-header-G5PQQyme.js +1 -0
- package/web/dist/assets/skills-D8ap2P2f.js +1 -0
- package/web/dist/assets/{tab-link-Db6yDTIQ.js → tab-link-BXDesc8g.js} +1 -1
- package/web/dist/assets/task-changes-DuhqLfCv.js +1 -0
- package/web/dist/assets/task-commits--GyJzH7L.js +1 -0
- package/web/dist/assets/task-files-CrKJTTrk.js +2 -0
- package/web/dist/assets/task-thread-BL7keYuU.js +9 -0
- package/web/dist/assets/task-thread-BQFdz1dJ.css +1 -0
- package/web/dist/assets/textarea-COQtp9cB.js +1 -0
- package/web/dist/assets/thread-loading-B7mgkPaL.js +1 -0
- package/web/dist/assets/token-metrics-CFWQYcgY.js +1 -0
- package/web/dist/assets/utils-DKheTxGD.js +64 -0
- package/web/dist/assets/workflows-DqEfQDeS.js +11 -0
- package/web/dist/assets/{zoomable-image-DpL5gtv4.js → zoomable-image-YW3Qdrr_.js} +1 -1
- package/web/dist/index.html +14 -14
- package/web/dist/assets/agent-accounts-DveiLHoy.js +0 -1
- package/web/dist/assets/alert-dialog-BRmsCA3M.js +0 -43
- package/web/dist/assets/collapsible-BWfM2PdZ.js +0 -1
- package/web/dist/assets/commit-list-C-rCgcKm.js +0 -1
- package/web/dist/assets/compare-variants-Ccp9IYp-.js +0 -1
- package/web/dist/assets/diff-controls-BFI8ngtw.js +0 -1
- package/web/dist/assets/dropdown-menu-C_fj6kzP.js +0 -1
- package/web/dist/assets/git-toolbar-BaqAvRC1.js +0 -1
- package/web/dist/assets/github-DIkBazPA.js +0 -1
- package/web/dist/assets/index-BIae70yp.js +0 -7
- package/web/dist/assets/index-CXZukB1O.css +0 -1
- package/web/dist/assets/markdown-kouQNPB6.js +0 -2
- package/web/dist/assets/pill-mHX_rKXP.js +0 -1
- package/web/dist/assets/project-router-Ds9EvxjN.js +0 -1
- package/web/dist/assets/prompt-templates-AaKKdIiY.js +0 -15
- package/web/dist/assets/repo-git-6StCwqhj.js +0 -1
- package/web/dist/assets/run-header-B3ZPhDZr.js +0 -1
- package/web/dist/assets/skills-DSWaVvcu.js +0 -1
- package/web/dist/assets/task-changes-DdmerESW.js +0 -1
- package/web/dist/assets/task-commits-Co-bb1P6.js +0 -1
- package/web/dist/assets/task-files-B2KASfyL.js +0 -2
- package/web/dist/assets/task-thread-8kGLJO4Q.js +0 -9
- package/web/dist/assets/task-thread-Dc3wplva.css +0 -1
- package/web/dist/assets/textarea-Qhdzn_oU.js +0 -1
- package/web/dist/assets/thread-loading-C6ENzZYk.js +0 -1
- package/web/dist/assets/token-metrics-BsT6Rqji.js +0 -1
- package/web/dist/assets/utils-VFstALJW.js +0 -64
- package/web/dist/assets/workflows-UKoofNFJ.js +0 -11
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/** The structured question shapes, in a leaf module: conversations import them without
|
|
2
|
+
* pulling in the event schemas that `ask.ts` depends on (#505). */
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
export declare const askOptionSchema: z.ZodObject<{
|
|
5
|
+
label: z.ZodString;
|
|
6
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strict>;
|
|
8
|
+
export declare const askQuestionSchema: z.ZodObject<{
|
|
9
|
+
id: z.ZodOptional<z.ZodString>;
|
|
10
|
+
header: z.ZodString;
|
|
11
|
+
question: z.ZodString;
|
|
12
|
+
options: z.ZodArray<z.ZodObject<{
|
|
13
|
+
label: z.ZodString;
|
|
14
|
+
description: z.ZodOptional<z.ZodString>;
|
|
15
|
+
}, z.core.$strict>>;
|
|
16
|
+
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
+
}, z.core.$strict>;
|
|
18
|
+
export declare const askRequestSchema: z.ZodObject<{
|
|
19
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
20
|
+
id: z.ZodOptional<z.ZodString>;
|
|
21
|
+
header: z.ZodString;
|
|
22
|
+
question: z.ZodString;
|
|
23
|
+
options: z.ZodArray<z.ZodObject<{
|
|
24
|
+
label: z.ZodString;
|
|
25
|
+
description: z.ZodOptional<z.ZodString>;
|
|
26
|
+
}, z.core.$strict>>;
|
|
27
|
+
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
28
|
+
}, z.core.$strict>>;
|
|
29
|
+
}, z.core.$strict>;
|
|
30
|
+
export type AskOption = z.infer<typeof askOptionSchema>;
|
|
31
|
+
export type AskQuestion = z.infer<typeof askQuestionSchema>;
|
|
32
|
+
export type AskRequest = z.infer<typeof askRequestSchema>;
|
package/dist/contract/ask.d.ts
CHANGED
|
@@ -1,36 +1,6 @@
|
|
|
1
|
-
/** Structured human questions share one validation and acknowledgement policy
|
|
2
|
-
* across runner delivery, compact history, and current cockpit attention. */
|
|
3
|
-
import { z } from 'zod';
|
|
4
1
|
import { type RunEvent } from './events.ts';
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
description: z.ZodOptional<z.ZodString>;
|
|
8
|
-
}, z.core.$strict>;
|
|
9
|
-
export declare const askQuestionSchema: z.ZodObject<{
|
|
10
|
-
id: z.ZodOptional<z.ZodString>;
|
|
11
|
-
header: z.ZodString;
|
|
12
|
-
question: z.ZodString;
|
|
13
|
-
options: z.ZodArray<z.ZodObject<{
|
|
14
|
-
label: z.ZodString;
|
|
15
|
-
description: z.ZodOptional<z.ZodString>;
|
|
16
|
-
}, z.core.$strict>>;
|
|
17
|
-
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
-
}, z.core.$strict>;
|
|
19
|
-
export declare const askRequestSchema: z.ZodObject<{
|
|
20
|
-
questions: z.ZodArray<z.ZodObject<{
|
|
21
|
-
id: z.ZodOptional<z.ZodString>;
|
|
22
|
-
header: z.ZodString;
|
|
23
|
-
question: z.ZodString;
|
|
24
|
-
options: z.ZodArray<z.ZodObject<{
|
|
25
|
-
label: z.ZodString;
|
|
26
|
-
description: z.ZodOptional<z.ZodString>;
|
|
27
|
-
}, z.core.$strict>>;
|
|
28
|
-
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
29
|
-
}, z.core.$strict>>;
|
|
30
|
-
}, z.core.$strict>;
|
|
31
|
-
export type AskOption = z.infer<typeof askOptionSchema>;
|
|
32
|
-
export type AskQuestion = z.infer<typeof askQuestionSchema>;
|
|
33
|
-
export type AskRequest = z.infer<typeof askRequestSchema>;
|
|
2
|
+
export { askOptionSchema, askQuestionSchema, askRequestSchema } from './ask-schema.ts';
|
|
3
|
+
export type { AskOption, AskQuestion, AskRequest } from './ask-schema.ts';
|
|
34
4
|
/** Only a matching successful human delivery retires the latest valid ask.
|
|
35
5
|
* Attempt bubbles, agent input and lifecycle events are not acknowledgements. */
|
|
36
6
|
export declare function advancePendingHumanAsk<T extends RunEvent>(pending: T | undefined, event: T): T | undefined;
|
|
@@ -33,6 +33,18 @@ export declare const conversationMessageSchema: z.ZodObject<{
|
|
|
33
33
|
}>;
|
|
34
34
|
resumed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
35
35
|
instruction: z.ZodOptional<z.ZodString>;
|
|
36
|
+
question: z.ZodOptional<z.ZodObject<{
|
|
37
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
38
|
+
id: z.ZodOptional<z.ZodString>;
|
|
39
|
+
header: z.ZodString;
|
|
40
|
+
question: z.ZodString;
|
|
41
|
+
options: z.ZodArray<z.ZodObject<{
|
|
42
|
+
label: z.ZodString;
|
|
43
|
+
description: z.ZodOptional<z.ZodString>;
|
|
44
|
+
}, z.core.$strict>>;
|
|
45
|
+
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
+
}, z.core.$strict>>;
|
|
47
|
+
}, z.core.$strict>>;
|
|
36
48
|
}, z.core.$strict>;
|
|
37
49
|
export type ConversationMessage = z.infer<typeof conversationMessageSchema>;
|
|
38
50
|
export declare const requestOutcomeSchema: z.ZodObject<{
|
|
@@ -42,6 +54,7 @@ export declare const requestOutcomeSchema: z.ZodObject<{
|
|
|
42
54
|
"completed-without-reply": "completed-without-reply";
|
|
43
55
|
destroyed: "destroyed";
|
|
44
56
|
failed: "failed";
|
|
57
|
+
"human-fallback": "human-fallback";
|
|
45
58
|
replied: "replied";
|
|
46
59
|
"sender-closed": "sender-closed";
|
|
47
60
|
"timed-out": "timed-out";
|
|
@@ -74,6 +87,18 @@ export declare const conversationStateSchema: z.ZodObject<{
|
|
|
74
87
|
}>;
|
|
75
88
|
resumed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
76
89
|
instruction: z.ZodOptional<z.ZodString>;
|
|
90
|
+
question: z.ZodOptional<z.ZodObject<{
|
|
91
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
92
|
+
id: z.ZodOptional<z.ZodString>;
|
|
93
|
+
header: z.ZodString;
|
|
94
|
+
question: z.ZodString;
|
|
95
|
+
options: z.ZodArray<z.ZodObject<{
|
|
96
|
+
label: z.ZodString;
|
|
97
|
+
description: z.ZodOptional<z.ZodString>;
|
|
98
|
+
}, z.core.$strict>>;
|
|
99
|
+
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
+
}, z.core.$strict>>;
|
|
101
|
+
}, z.core.$strict>>;
|
|
77
102
|
}, z.core.$strict>>;
|
|
78
103
|
outcomes: z.ZodArray<z.ZodObject<{
|
|
79
104
|
requestId: z.ZodUUID;
|
|
@@ -82,6 +107,7 @@ export declare const conversationStateSchema: z.ZodObject<{
|
|
|
82
107
|
"completed-without-reply": "completed-without-reply";
|
|
83
108
|
destroyed: "destroyed";
|
|
84
109
|
failed: "failed";
|
|
110
|
+
"human-fallback": "human-fallback";
|
|
85
111
|
replied: "replied";
|
|
86
112
|
"sender-closed": "sender-closed";
|
|
87
113
|
"timed-out": "timed-out";
|
|
@@ -115,6 +141,18 @@ export declare const conversationInspectResultSchema: z.ZodObject<{
|
|
|
115
141
|
}>;
|
|
116
142
|
resumed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
117
143
|
instruction: z.ZodOptional<z.ZodString>;
|
|
144
|
+
question: z.ZodOptional<z.ZodObject<{
|
|
145
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
146
|
+
id: z.ZodOptional<z.ZodString>;
|
|
147
|
+
header: z.ZodString;
|
|
148
|
+
question: z.ZodString;
|
|
149
|
+
options: z.ZodArray<z.ZodObject<{
|
|
150
|
+
label: z.ZodString;
|
|
151
|
+
description: z.ZodOptional<z.ZodString>;
|
|
152
|
+
}, z.core.$strict>>;
|
|
153
|
+
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
154
|
+
}, z.core.$strict>>;
|
|
155
|
+
}, z.core.$strict>>;
|
|
118
156
|
}, z.core.$strict>>;
|
|
119
157
|
outcomes: z.ZodArray<z.ZodObject<{
|
|
120
158
|
requestId: z.ZodUUID;
|
|
@@ -123,6 +161,7 @@ export declare const conversationInspectResultSchema: z.ZodObject<{
|
|
|
123
161
|
"completed-without-reply": "completed-without-reply";
|
|
124
162
|
destroyed: "destroyed";
|
|
125
163
|
failed: "failed";
|
|
164
|
+
"human-fallback": "human-fallback";
|
|
126
165
|
replied: "replied";
|
|
127
166
|
"sender-closed": "sender-closed";
|
|
128
167
|
"timed-out": "timed-out";
|
|
@@ -157,6 +196,18 @@ export declare const inboxReserveResultSchema: z.ZodObject<{
|
|
|
157
196
|
}>;
|
|
158
197
|
resumed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
159
198
|
instruction: z.ZodOptional<z.ZodString>;
|
|
199
|
+
question: z.ZodOptional<z.ZodObject<{
|
|
200
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
201
|
+
id: z.ZodOptional<z.ZodString>;
|
|
202
|
+
header: z.ZodString;
|
|
203
|
+
question: z.ZodString;
|
|
204
|
+
options: z.ZodArray<z.ZodObject<{
|
|
205
|
+
label: z.ZodString;
|
|
206
|
+
description: z.ZodOptional<z.ZodString>;
|
|
207
|
+
}, z.core.$strict>>;
|
|
208
|
+
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
209
|
+
}, z.core.$strict>>;
|
|
210
|
+
}, z.core.$strict>>;
|
|
160
211
|
}, z.core.$strict>>;
|
|
161
212
|
outcomes: z.ZodArray<z.ZodObject<{
|
|
162
213
|
requestId: z.ZodUUID;
|
|
@@ -165,6 +216,7 @@ export declare const inboxReserveResultSchema: z.ZodObject<{
|
|
|
165
216
|
"completed-without-reply": "completed-without-reply";
|
|
166
217
|
destroyed: "destroyed";
|
|
167
218
|
failed: "failed";
|
|
219
|
+
"human-fallback": "human-fallback";
|
|
168
220
|
replied: "replied";
|
|
169
221
|
"sender-closed": "sender-closed";
|
|
170
222
|
"timed-out": "timed-out";
|
|
@@ -204,6 +256,7 @@ export declare const conversationSendRequestSchema: z.ZodObject<{
|
|
|
204
256
|
resume: z.ZodOptional<z.ZodBoolean>;
|
|
205
257
|
}, z.core.$strict>;
|
|
206
258
|
export type ConversationSendRequest = z.infer<typeof conversationSendRequestSchema>;
|
|
259
|
+
/** `consumed`: the recipient's harness reported the model read it (#505). */
|
|
207
260
|
export declare const conversationSendResultSchema: z.ZodObject<{
|
|
208
261
|
message: z.ZodObject<{
|
|
209
262
|
senderRunId: z.ZodUUID;
|
|
@@ -228,8 +281,21 @@ export declare const conversationSendResultSchema: z.ZodObject<{
|
|
|
228
281
|
}>;
|
|
229
282
|
resumed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
230
283
|
instruction: z.ZodOptional<z.ZodString>;
|
|
284
|
+
question: z.ZodOptional<z.ZodObject<{
|
|
285
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
286
|
+
id: z.ZodOptional<z.ZodString>;
|
|
287
|
+
header: z.ZodString;
|
|
288
|
+
question: z.ZodString;
|
|
289
|
+
options: z.ZodArray<z.ZodObject<{
|
|
290
|
+
label: z.ZodString;
|
|
291
|
+
description: z.ZodOptional<z.ZodString>;
|
|
292
|
+
}, z.core.$strict>>;
|
|
293
|
+
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
294
|
+
}, z.core.$strict>>;
|
|
295
|
+
}, z.core.$strict>>;
|
|
231
296
|
}, z.core.$strict>;
|
|
232
297
|
delivery: z.ZodEnum<{
|
|
298
|
+
consumed: "consumed";
|
|
233
299
|
delivered: "delivered";
|
|
234
300
|
"not-delivered": "not-delivered";
|
|
235
301
|
queued: "queued";
|
|
@@ -241,6 +307,7 @@ export declare const conversationSendResultSchema: z.ZodObject<{
|
|
|
241
307
|
"completed-without-reply": "completed-without-reply";
|
|
242
308
|
destroyed: "destroyed";
|
|
243
309
|
failed: "failed";
|
|
310
|
+
"human-fallback": "human-fallback";
|
|
244
311
|
replied: "replied";
|
|
245
312
|
"sender-closed": "sender-closed";
|
|
246
313
|
"timed-out": "timed-out";
|
|
@@ -48,6 +48,7 @@ export declare const workerWaitSchema: z.ZodObject<{
|
|
|
48
48
|
"completed-without-reply": "completed-without-reply";
|
|
49
49
|
destroyed: "destroyed";
|
|
50
50
|
failed: "failed";
|
|
51
|
+
"human-fallback": "human-fallback";
|
|
51
52
|
replied: "replied";
|
|
52
53
|
"sender-closed": "sender-closed";
|
|
53
54
|
"timed-out": "timed-out";
|
|
@@ -540,6 +541,18 @@ export declare const delegationStateSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
540
541
|
}>;
|
|
541
542
|
resumed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
542
543
|
instruction: z.ZodOptional<z.ZodString>;
|
|
544
|
+
question: z.ZodOptional<z.ZodObject<{
|
|
545
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
546
|
+
id: z.ZodOptional<z.ZodString>;
|
|
547
|
+
header: z.ZodString;
|
|
548
|
+
question: z.ZodString;
|
|
549
|
+
options: z.ZodArray<z.ZodObject<{
|
|
550
|
+
label: z.ZodString;
|
|
551
|
+
description: z.ZodOptional<z.ZodString>;
|
|
552
|
+
}, z.core.$strict>>;
|
|
553
|
+
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
554
|
+
}, z.core.$strict>>;
|
|
555
|
+
}, z.core.$strict>>;
|
|
543
556
|
}, z.core.$strict>>;
|
|
544
557
|
outcomes: z.ZodArray<z.ZodObject<{
|
|
545
558
|
requestId: z.ZodUUID;
|
|
@@ -548,6 +561,7 @@ export declare const delegationStateSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
548
561
|
"completed-without-reply": "completed-without-reply";
|
|
549
562
|
destroyed: "destroyed";
|
|
550
563
|
failed: "failed";
|
|
564
|
+
"human-fallback": "human-fallback";
|
|
551
565
|
replied: "replied";
|
|
552
566
|
"sender-closed": "sender-closed";
|
|
553
567
|
"timed-out": "timed-out";
|
|
@@ -590,6 +604,7 @@ export declare const delegationStateSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
590
604
|
"completed-without-reply": "completed-without-reply";
|
|
591
605
|
destroyed: "destroyed";
|
|
592
606
|
failed: "failed";
|
|
607
|
+
"human-fallback": "human-fallback";
|
|
593
608
|
replied: "replied";
|
|
594
609
|
"sender-closed": "sender-closed";
|
|
595
610
|
"timed-out": "timed-out";
|
|
@@ -643,6 +658,7 @@ export declare const delegationStateSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
643
658
|
"completed-without-reply": "completed-without-reply";
|
|
644
659
|
destroyed: "destroyed";
|
|
645
660
|
failed: "failed";
|
|
661
|
+
"human-fallback": "human-fallback";
|
|
646
662
|
replied: "replied";
|
|
647
663
|
"sender-closed": "sender-closed";
|
|
648
664
|
"timed-out": "timed-out";
|
|
@@ -731,6 +747,7 @@ export declare const delegationStateSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
731
747
|
"completed-without-reply": "completed-without-reply";
|
|
732
748
|
destroyed: "destroyed";
|
|
733
749
|
failed: "failed";
|
|
750
|
+
"human-fallback": "human-fallback";
|
|
734
751
|
replied: "replied";
|
|
735
752
|
"sender-closed": "sender-closed";
|
|
736
753
|
"timed-out": "timed-out";
|
|
@@ -784,6 +801,7 @@ export declare const delegationStateSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
784
801
|
"completed-without-reply": "completed-without-reply";
|
|
785
802
|
destroyed: "destroyed";
|
|
786
803
|
failed: "failed";
|
|
804
|
+
"human-fallback": "human-fallback";
|
|
787
805
|
replied: "replied";
|
|
788
806
|
"sender-closed": "sender-closed";
|
|
789
807
|
"timed-out": "timed-out";
|
|
@@ -975,6 +993,8 @@ export declare const agentInputSchema: z.ZodObject<{
|
|
|
975
993
|
text: z.ZodString;
|
|
976
994
|
createdAt: z.ZodISODateTime;
|
|
977
995
|
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
996
|
+
consumedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
997
|
+
awaitingRead: z.ZodOptional<z.ZodLiteral<true>>;
|
|
978
998
|
inboxClaim: z.ZodOptional<z.ZodObject<{
|
|
979
999
|
receiptId: z.ZodUUID;
|
|
980
1000
|
generation: z.ZodUUID;
|
|
@@ -1039,6 +1059,7 @@ export declare const workerInspectionSchema: z.ZodObject<{
|
|
|
1039
1059
|
"completed-without-reply": "completed-without-reply";
|
|
1040
1060
|
destroyed: "destroyed";
|
|
1041
1061
|
failed: "failed";
|
|
1062
|
+
"human-fallback": "human-fallback";
|
|
1042
1063
|
replied: "replied";
|
|
1043
1064
|
"sender-closed": "sender-closed";
|
|
1044
1065
|
"timed-out": "timed-out";
|
|
@@ -1204,6 +1225,7 @@ export declare const runRelationshipsSchema: z.ZodObject<{
|
|
|
1204
1225
|
"completed-without-reply": "completed-without-reply";
|
|
1205
1226
|
destroyed: "destroyed";
|
|
1206
1227
|
failed: "failed";
|
|
1228
|
+
"human-fallback": "human-fallback";
|
|
1207
1229
|
replied: "replied";
|
|
1208
1230
|
"sender-closed": "sender-closed";
|
|
1209
1231
|
"timed-out": "timed-out";
|
|
@@ -1321,6 +1343,7 @@ export declare const workerWaitResultSchema: z.ZodObject<{
|
|
|
1321
1343
|
"completed-without-reply": "completed-without-reply";
|
|
1322
1344
|
destroyed: "destroyed";
|
|
1323
1345
|
failed: "failed";
|
|
1346
|
+
"human-fallback": "human-fallback";
|
|
1324
1347
|
replied: "replied";
|
|
1325
1348
|
"sender-closed": "sender-closed";
|
|
1326
1349
|
"timed-out": "timed-out";
|
|
@@ -1383,6 +1406,7 @@ export declare const workerCancelWaitResultSchema: z.ZodObject<{
|
|
|
1383
1406
|
"completed-without-reply": "completed-without-reply";
|
|
1384
1407
|
destroyed: "destroyed";
|
|
1385
1408
|
failed: "failed";
|
|
1409
|
+
"human-fallback": "human-fallback";
|
|
1386
1410
|
replied: "replied";
|
|
1387
1411
|
"sender-closed": "sender-closed";
|
|
1388
1412
|
"timed-out": "timed-out";
|
|
@@ -53,13 +53,27 @@ export declare const conversationMessageEventSchema: z.ZodObject<{
|
|
|
53
53
|
}>;
|
|
54
54
|
resumed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
55
55
|
instruction: z.ZodOptional<z.ZodString>;
|
|
56
|
+
question: z.ZodOptional<z.ZodObject<{
|
|
57
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
58
|
+
id: z.ZodOptional<z.ZodString>;
|
|
59
|
+
header: z.ZodString;
|
|
60
|
+
question: z.ZodString;
|
|
61
|
+
options: z.ZodArray<z.ZodObject<{
|
|
62
|
+
label: z.ZodString;
|
|
63
|
+
description: z.ZodOptional<z.ZodString>;
|
|
64
|
+
}, z.core.$strict>>;
|
|
65
|
+
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
66
|
+
}, z.core.$strict>>;
|
|
67
|
+
}, z.core.$strict>>;
|
|
56
68
|
}, z.core.$strict>;
|
|
57
69
|
delivery: z.ZodEnum<{
|
|
70
|
+
consumed: "consumed";
|
|
58
71
|
delivered: "delivered";
|
|
59
72
|
"not-delivered": "not-delivered";
|
|
60
73
|
queued: "queued";
|
|
61
74
|
}>;
|
|
62
75
|
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
76
|
+
consumedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
63
77
|
}, z.core.$loose>;
|
|
64
78
|
export type ConversationMessageEvent = z.infer<typeof conversationMessageEventSchema>;
|
|
65
79
|
export declare const requestOutcomeEventSchema: z.ZodObject<{
|
|
@@ -74,6 +88,7 @@ export declare const requestOutcomeEventSchema: z.ZodObject<{
|
|
|
74
88
|
"completed-without-reply": "completed-without-reply";
|
|
75
89
|
destroyed: "destroyed";
|
|
76
90
|
failed: "failed";
|
|
91
|
+
"human-fallback": "human-fallback";
|
|
77
92
|
replied: "replied";
|
|
78
93
|
"sender-closed": "sender-closed";
|
|
79
94
|
"timed-out": "timed-out";
|
|
@@ -109,6 +124,8 @@ export declare const agentInputEventSchema: z.ZodObject<{
|
|
|
109
124
|
text: z.ZodString;
|
|
110
125
|
createdAt: z.ZodISODateTime;
|
|
111
126
|
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
127
|
+
consumedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
128
|
+
awaitingRead: z.ZodOptional<z.ZodLiteral<true>>;
|
|
112
129
|
inboxClaim: z.ZodOptional<z.ZodObject<{
|
|
113
130
|
receiptId: z.ZodUUID;
|
|
114
131
|
generation: z.ZodUUID;
|
|
@@ -127,8 +144,33 @@ export declare const humanInputDeliveredEventSchema: z.ZodObject<{
|
|
|
127
144
|
stepId: z.ZodOptional<z.ZodString>;
|
|
128
145
|
type: z.ZodLiteral<"human-input-delivered">;
|
|
129
146
|
askSeq: z.ZodNumber;
|
|
147
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
148
|
+
human: "human";
|
|
149
|
+
parent: "parent";
|
|
150
|
+
}>>;
|
|
130
151
|
}, z.core.$loose>;
|
|
131
152
|
export type HumanInputDeliveredEvent = z.infer<typeof humanInputDeliveredEventSchema>;
|
|
153
|
+
/** A worker's ask was sent to its owning parent as a conversation request (#505). */
|
|
154
|
+
export declare const workerQuestionRoutedEventSchema: z.ZodObject<{
|
|
155
|
+
seq: z.ZodNumber;
|
|
156
|
+
ts: z.ZodString;
|
|
157
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
158
|
+
type: z.ZodLiteral<"worker-question-routed">;
|
|
159
|
+
askSeq: z.ZodNumber;
|
|
160
|
+
messageId: z.ZodUUID;
|
|
161
|
+
parentRunId: z.ZodUUID;
|
|
162
|
+
}, z.core.$loose>;
|
|
163
|
+
export type WorkerQuestionRoutedEvent = z.infer<typeof workerQuestionRoutedEventSchema>;
|
|
164
|
+
/** The parent can no longer receive a routed question: a human answers it on the worker. */
|
|
165
|
+
export declare const workerQuestionFallbackEventSchema: z.ZodObject<{
|
|
166
|
+
seq: z.ZodNumber;
|
|
167
|
+
ts: z.ZodString;
|
|
168
|
+
stepId: z.ZodOptional<z.ZodString>;
|
|
169
|
+
type: z.ZodLiteral<"worker-question-fallback">;
|
|
170
|
+
askSeq: z.ZodNumber;
|
|
171
|
+
reason: z.ZodString;
|
|
172
|
+
}, z.core.$loose>;
|
|
173
|
+
export type WorkerQuestionFallbackEvent = z.infer<typeof workerQuestionFallbackEventSchema>;
|
|
132
174
|
/** Linked terminal outcomes, rather than completion inferred from assistant prose. */
|
|
133
175
|
export declare const workerOutcomeEventSchema: z.ZodObject<{
|
|
134
176
|
seq: z.ZodNumber;
|
|
@@ -102,5 +102,17 @@ export declare const healthResponseSchema: z.ZodObject<{
|
|
|
102
102
|
name: z.ZodString;
|
|
103
103
|
}, z.core.$strip>>;
|
|
104
104
|
bootProject: z.ZodString;
|
|
105
|
+
applicationUpdate: z.ZodOptional<z.ZodObject<{
|
|
106
|
+
status: z.ZodEnum<{
|
|
107
|
+
error: "error";
|
|
108
|
+
idle: "idle";
|
|
109
|
+
preparing: "preparing";
|
|
110
|
+
ready: "ready";
|
|
111
|
+
restarting: "restarting";
|
|
112
|
+
}>;
|
|
113
|
+
supported: z.ZodBoolean;
|
|
114
|
+
targetVersion: z.ZodOptional<z.ZodString>;
|
|
115
|
+
message: z.ZodOptional<z.ZodString>;
|
|
116
|
+
}, z.core.$strip>>;
|
|
105
117
|
}, z.core.$strip>;
|
|
106
118
|
export type HealthResponse = z.infer<typeof healthResponseSchema>;
|
package/dist/contract/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from './ask.ts';
|
|
|
7
7
|
export * from './delegation.ts';
|
|
8
8
|
export * from './effort.ts';
|
|
9
9
|
export * from './health.ts';
|
|
10
|
+
export * from './application-update.ts';
|
|
10
11
|
export * from './runs.ts';
|
|
11
12
|
export * from './repo.ts';
|
|
12
13
|
export * from './github.ts';
|
|
@@ -19,3 +20,4 @@ export * from './agent-profiles.ts';
|
|
|
19
20
|
export * from './automations.ts';
|
|
20
21
|
export * from './conversations.ts';
|
|
21
22
|
export * from './ci-wait.ts';
|
|
23
|
+
export * from './artifacts.ts';
|