@astrosheep/keiyaku 4.6.32 → 4.6.34
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 +18 -7
- package/build/plugins/claude/skills/keiyaku-akuma/SKILL.md +18 -11
- package/build/plugins/claude/skills/keiyaku-babysit/SKILL.md +8 -6
- package/build/plugins/claude/skills/keiyaku-debt/SKILL.md +2 -1
- package/build/plugins/claude/skills/keiyaku-workflow/SKILL.md +2 -1
- package/build/plugins/codex/skills/keiyaku-akuma/SKILL.md +18 -11
- package/build/plugins/codex/skills/keiyaku-babysit/SKILL.md +8 -6
- package/build/plugins/codex/skills/keiyaku-debt/SKILL.md +2 -1
- package/build/plugins/codex/skills/keiyaku-workflow/SKILL.md +2 -1
- package/build/plugins/opencode/skills/keiyaku-akuma/SKILL.md +18 -11
- package/build/plugins/opencode/skills/keiyaku-babysit/SKILL.md +8 -6
- package/build/plugins/opencode/skills/keiyaku-debt/SKILL.md +2 -1
- package/build/plugins/opencode/skills/keiyaku-workflow/SKILL.md +2 -1
- package/build/plugins/pi/README.md +55 -97
- package/build/plugins/pi/keiyaku.ts +1 -142
- package/build/skills/keiyaku-akuma/SKILL.md +18 -11
- package/build/skills/keiyaku-babysit/SKILL.md +8 -6
- package/build/skills/keiyaku-debt/SKILL.md +2 -1
- package/build/skills/keiyaku-workflow/SKILL.md +2 -1
- package/build/src/akuma/akuma-instance.d.ts +11 -0
- package/build/src/akuma/akuma-instance.js +1 -2
- package/build/src/akuma/akuma-observe.d.ts +8 -0
- package/build/src/akuma/akuma-observe.js +81 -14
- package/build/src/akuma/akuma-owner.d.ts +1 -0
- package/build/src/akuma/akuma-owner.js +3 -5
- package/build/src/akuma/akuma-selection-execution.d.ts +82 -7
- package/build/src/akuma/akuma-selection-execution.js +26 -27
- package/build/src/akuma/akuma-wait.d.ts +155 -1
- package/build/src/akuma/akuma-wait.js +94 -34
- package/build/src/akuma/akuma.d.ts +17 -1
- package/build/src/akuma/akuma.js +37 -18
- package/build/src/akuma/body.js +13 -18
- package/build/src/akuma/call-initial-tell.d.ts +0 -1
- package/build/src/akuma/call-initial-tell.js +0 -1
- package/build/src/akuma/heart/activity-schema.d.ts +16 -0
- package/build/src/akuma/heart/activity-schema.js +7 -0
- package/build/src/akuma/heart/facts.d.ts +1 -0
- package/build/src/akuma/heart/facts.js +14 -0
- package/build/src/akuma/heart/index.d.ts +7 -1
- package/build/src/akuma/heart/index.js +35 -9
- package/build/src/akuma/heart/rows.d.ts +1 -0
- package/build/src/akuma/heart/rows.js +4 -0
- package/build/src/akuma/heart/timeline.js +4 -4
- package/build/src/akuma/lineage-cache.d.ts +7 -2
- package/build/src/akuma/lineage-cache.js +48 -24
- package/build/src/akuma/projection-read.d.ts +4 -2
- package/build/src/akuma/projection-read.js +25 -23
- package/build/src/akuma/projection.d.ts +94 -2
- package/build/src/akuma/projection.js +47 -47
- package/build/src/akuma/provider.d.ts +2 -2
- package/build/src/akuma/provider.js +27 -20
- package/build/src/akuma/providers/acp/core.js +2 -5
- package/build/src/akuma/providers/opencode-sdk/events.d.ts +2 -1
- package/build/src/akuma/providers/opencode-sdk/events.js +31 -1
- package/build/src/akuma/publication.js +3 -2
- package/build/src/akuma/selection-observation.d.ts +645 -0
- package/build/src/akuma/selection-observation.js +22 -7
- package/build/src/akuma/status-projection.d.ts +14 -1
- package/build/src/akuma/status-projection.js +40 -2
- package/build/src/akuma/turn-drive.js +21 -15
- package/build/src/body/amend.js +5 -17
- package/build/src/body/decode.js +11 -1
- package/build/src/body/envelope.d.ts +5 -1
- package/build/src/body/envelope.js +4 -2
- package/build/src/body/render.js +4 -6
- package/build/src/bounded-list.d.ts +8 -0
- package/build/src/bounded-list.js +10 -0
- package/build/src/cli/commands/akuma-grammar.d.ts +5 -8
- package/build/src/cli/commands/akuma-grammar.js +52 -77
- package/build/src/cli/commands/akuma.d.ts +1 -2
- package/build/src/cli/commands/akuma.js +12 -61
- package/build/src/cli/commands/contract-grammar.d.ts +1 -0
- package/build/src/cli/commands/contract-grammar.js +39 -42
- package/build/src/cli/commands/contract-help.d.ts +6 -5
- package/build/src/cli/commands/contract-help.js +21 -13
- package/build/src/cli/commands/contract.d.ts +3 -3
- package/build/src/cli/commands/contract.js +13 -9
- package/build/src/cli/commands/debt-grammar.js +2 -4
- package/build/src/cli/parse.d.ts +4 -10
- package/build/src/cli/parse.js +2 -5
- package/build/src/cli/render/akuma-activity.d.ts +12 -34
- package/build/src/cli/render/akuma-activity.js +99 -180
- package/build/src/cli/render/akuma.d.ts +5 -11
- package/build/src/cli/render/akuma.js +22 -30
- package/build/src/cli/render/catalog.js +4 -6
- package/build/src/cli/render/contract-history.d.ts +1 -3
- package/build/src/cli/render/contract-history.js +70 -49
- package/build/src/cli/render/contract-observation.d.ts +2 -1
- package/build/src/cli/render/contract-observation.js +25 -1
- package/build/src/cli/render/contract-wait.d.ts +2 -2
- package/build/src/cli/render/contract-wait.js +21 -17
- package/build/src/cli/render/contract.js +12 -9
- package/build/src/cli/render/debt.js +1 -2
- package/build/src/cli/render/execution-progress.js +1 -3
- package/build/src/cli/render/kanshi-akuma.d.ts +4 -3
- package/build/src/cli/render/kanshi-akuma.js +27 -23
- package/build/src/cli/render/kanshi.js +45 -60
- package/build/src/cli/render/receipt.d.ts +1 -1
- package/build/src/cli/render/receipt.js +33 -28
- package/build/src/cli/render/reconcile.js +2 -5
- package/build/src/cli/render/refusal.js +3 -6
- package/build/src/cli/render/terminal.d.ts +2 -4
- package/build/src/cli/render/terminal.js +10 -17
- package/build/src/cli/render/verbs.d.ts +1 -0
- package/build/src/cli/render/verbs.js +39 -34
- package/build/src/cli/runtime.js +12 -32
- package/build/src/core/facts/codec.js +7 -2
- package/build/src/core/facts/eligibility.d.ts +4 -4
- package/build/src/core/facts/eligibility.js +11 -0
- package/build/src/core/facts/fold.js +9 -5
- package/build/src/core/facts/gate.d.ts +5 -1
- package/build/src/core/facts/gate.js +14 -10
- package/build/src/core/facts/types.d.ts +5 -1
- package/build/src/core/facts/types.js +7 -0
- package/build/src/core/subject.d.ts +4 -1
- package/build/src/core/subject.js +10 -2
- package/build/src/core/verbs/amend.d.ts +15 -4
- package/build/src/core/verbs/amend.js +19 -9
- package/build/src/debt/board.d.ts +2 -1
- package/build/src/debt/board.js +3 -3
- package/build/src/debt/catalog.js +2 -1
- package/build/src/debt/document.d.ts +1 -0
- package/build/src/debt/document.js +3 -0
- package/build/src/debt/index.d.ts +2 -2
- package/build/src/debt/index.js +9 -14
- package/build/src/debt/input.d.ts +2 -1
- package/build/src/debt/input.js +6 -4
- package/build/src/debt/operations.d.ts +2 -1
- package/build/src/dispatch/index.d.ts +0 -17
- package/build/src/dispatch/index.js +1 -10
- package/build/src/git/identity.js +16 -45
- package/build/src/git/nuke.js +13 -23
- package/build/src/git/observe.d.ts +7 -3
- package/build/src/git/observe.js +29 -26
- package/build/src/git/process.js +11 -18
- package/build/src/git/read-observation.d.ts +5 -4
- package/build/src/git/repository.d.ts +2 -0
- package/build/src/git/repository.js +13 -1
- package/build/src/git/scratch.js +2 -14
- package/build/src/git/terminal-reconcile.js +1 -13
- package/build/src/history.d.ts +26 -0
- package/build/src/history.js +43 -0
- package/build/src/index.d.ts +6 -3
- package/build/src/kanshi/counts.d.ts +15 -1
- package/build/src/kanshi/counts.js +14 -3
- package/build/src/kanshi/index.d.ts +3 -4
- package/build/src/kanshi/index.js +2 -3
- package/build/src/kanshi/read.d.ts +21 -0
- package/build/src/kanshi/read.js +7 -3
- package/build/src/kanshi/report.d.ts +94 -0
- package/build/src/library/address.d.ts +12 -5
- package/build/src/library/address.js +18 -32
- package/build/src/library/akuma-creation.d.ts +39 -0
- package/build/src/library/akuma-creation.js +3 -9
- package/build/src/library/akumas.d.ts +5 -1
- package/build/src/library/akumas.js +11 -5
- package/build/src/library/continuation.d.ts +10 -0
- package/build/src/library/contract-composition.js +10 -10
- package/build/src/library/contract-creation.js +12 -13
- package/build/src/library/contract-outcomes.d.ts +72 -1
- package/build/src/library/contract-outcomes.js +1 -0
- package/build/src/library/contract-types.d.ts +233 -25
- package/build/src/library/contract-types.js +32 -12
- package/build/src/library/contract-wait.d.ts +212 -0
- package/build/src/library/contract-wait.js +65 -49
- package/build/src/library/delivery.d.ts +25 -0
- package/build/src/library/input.d.ts +8 -26
- package/build/src/library/input.js +17 -12
- package/build/src/library/kei.js +167 -90
- package/build/src/library/keiyaku-attribution.d.ts +1 -1
- package/build/src/library/keiyaku-attribution.js +3 -1
- package/build/src/library/keiyaku-classify.js +8 -4
- package/build/src/library/keiyaku-debt.d.ts +8 -7
- package/build/src/library/keiyaku-debt.js +1 -2
- package/build/src/library/keiyaku-identity.d.ts +4 -3
- package/build/src/library/keiyaku-identity.js +35 -7
- package/build/src/library/keiyaku-verbs.d.ts +974 -1409
- package/build/src/library/keiyaku-verbs.js +154 -161
- package/build/src/library/keiyaku-wait.d.ts +753 -0
- package/build/src/library/keiyaku-wait.js +230 -0
- package/build/src/library/keiyaku.d.ts +3110 -29
- package/build/src/library/keiyaku.js +342 -438
- package/build/src/library/model-tools.d.ts +754 -0
- package/build/src/library/model-tools.js +362 -0
- package/build/src/library/outcome.js +5 -6
- package/build/src/library/refusal.d.ts +25 -1
- package/build/src/library/refusal.js +4 -5
- package/build/src/library/selection.d.ts +18 -5
- package/build/src/library/selection.js +11 -5
- package/build/src/mcp/adapter.d.ts +0 -6
- package/build/src/mcp/adapter.js +11 -160
- package/build/src/mcp/description.d.ts +2 -0
- package/build/src/mcp/description.js +2 -0
- package/build/src/mcp/help.d.ts +1 -1
- package/build/src/mcp/help.js +10 -7
- package/build/src/pi/index.d.ts +5 -0
- package/build/src/pi/index.js +99 -0
- package/build/src/pi/status.d.ts +12 -0
- package/build/src/pi/status.js +140 -0
- package/build/src/protocol/amend.d.ts +14 -3
- package/build/src/protocol/amend.js +113 -46
- package/build/src/protocol/bind.d.ts +1 -1
- package/build/src/protocol/bind.js +5 -16
- package/build/src/protocol/completion.d.ts +30 -0
- package/build/src/protocol/completion.js +8 -5
- package/build/src/protocol/deliver.js +7 -20
- package/build/src/protocol/delivery-preview.d.ts +5 -0
- package/build/src/protocol/execution-observation.d.ts +8 -0
- package/build/src/protocol/intent.d.ts +1 -0
- package/build/src/protocol/intent.js +4 -1
- package/build/src/protocol/operations.d.ts +56 -16
- package/build/src/protocol/operations.js +18 -32
- package/build/src/protocol/placement.js +7 -1
- package/build/src/protocol/progress.js +0 -6
- package/build/src/protocol/read/status.d.ts +52 -4
- package/build/src/protocol/read/status.js +26 -22
- package/build/src/protocol/reintegrate.js +2 -2
- package/build/src/protocol/result-leaves.d.ts +56 -8
- package/build/src/protocol/result-leaves.js +11 -2
- package/build/src/protocol/run.js +1 -4
- package/build/src/protocol/verify.d.ts +10 -0
- package/build/src/protocol/verify.js +1 -0
- package/build/src/runtime/proc/windows-launch.exe +0 -0
- package/build/src/settlement/settle.js +19 -68
- package/package.json +7 -3
- package/plugins/paseo/plugin/index.server.ts +6 -2
- package/plugins/paseo/plugin/server/attach.ts +68 -48
- package/plugins/paseo/plugin/server/directory.ts +259 -0
- package/plugins/paseo/plugin/server/mirror-identity.ts +3 -32
- package/plugins/paseo/plugin/server/reopen.ts +52 -38
- package/plugins/pi/README.md +55 -97
- package/plugins/pi/keiyaku.ts +1 -142
- package/skills/keiyaku-akuma/SKILL.md +18 -11
- package/skills/keiyaku-babysit/SKILL.md +8 -6
- package/skills/keiyaku-debt/SKILL.md +2 -1
- package/skills/keiyaku-workflow/SKILL.md +2 -1
- package/build/plugins/pi/akuma-tools.ts +0 -283
- package/build/src/body/keys.d.ts +0 -4
- package/build/src/body/keys.js +0 -11
- package/build/src/kanshi/roster.d.ts +0 -2
- package/build/src/kanshi/roster.js +0 -2
- package/build/src/mcp/output.d.ts +0 -385
- package/build/src/mcp/output.js +0 -193
- package/plugins/pi/akuma-tools.ts +0 -283
|
@@ -86,6 +86,17 @@ export declare const akumaObservationSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
86
86
|
toolId: z.ZodString;
|
|
87
87
|
}, z.core.$strict>>>>>;
|
|
88
88
|
latestActivity: z.ZodExactOptional<z.ZodNumber>;
|
|
89
|
+
awaiting: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
90
|
+
kind: z.ZodLiteral<"permission">;
|
|
91
|
+
id: z.ZodNumber;
|
|
92
|
+
requests: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
93
|
+
id: z.ZodString;
|
|
94
|
+
action: z.ZodString;
|
|
95
|
+
resources: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
96
|
+
tool: z.ZodExactOptional<z.ZodString>;
|
|
97
|
+
}, z.core.$strict>>>>;
|
|
98
|
+
clipped: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
99
|
+
}, z.core.$strict>>>;
|
|
89
100
|
pending: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
90
101
|
id: z.ZodNumber;
|
|
91
102
|
tellId: z.ZodString;
|
|
@@ -137,6 +148,181 @@ declare const waitOutcomeSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<
|
|
|
137
148
|
historyId: z.ZodTemplateLiteral<`turn/${number}`>;
|
|
138
149
|
}, z.core.$strict>>]>;
|
|
139
150
|
export type AkumaWaitOutcome = z.output<typeof waitOutcomeSchema>;
|
|
151
|
+
export declare const observedAkumaWaitItemSchema: z.ZodReadonly<z.ZodObject<{
|
|
152
|
+
kind: z.ZodLiteral<"observed">;
|
|
153
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
154
|
+
life: z.ZodEnum<{
|
|
155
|
+
hung: "hung";
|
|
156
|
+
untidy: "untidy";
|
|
157
|
+
killed: "killed";
|
|
158
|
+
running: "running";
|
|
159
|
+
asleep: "asleep";
|
|
160
|
+
stranded: "stranded";
|
|
161
|
+
}>;
|
|
162
|
+
lastActivityAt: z.ZodExactOptional<z.ZodString>;
|
|
163
|
+
events: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
164
|
+
kind: z.ZodLiteral<"permission">;
|
|
165
|
+
sequence: z.ZodNumber;
|
|
166
|
+
turnSequence: z.ZodNumber;
|
|
167
|
+
at: z.ZodString;
|
|
168
|
+
requests: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
169
|
+
id: z.ZodString;
|
|
170
|
+
action: z.ZodString;
|
|
171
|
+
resources: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
172
|
+
tool: z.ZodExactOptional<z.ZodString>;
|
|
173
|
+
}, z.core.$strict>>>>;
|
|
174
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
175
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
176
|
+
kind: z.ZodLiteral<"turn">;
|
|
177
|
+
sequence: z.ZodNumber;
|
|
178
|
+
bodySequence: z.ZodNumber;
|
|
179
|
+
at: z.ZodString;
|
|
180
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
181
|
+
kind: z.ZodLiteral<"call">;
|
|
182
|
+
sequence: z.ZodNumber;
|
|
183
|
+
turnSequence: z.ZodNumber;
|
|
184
|
+
at: z.ZodString;
|
|
185
|
+
text: z.ZodString;
|
|
186
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
187
|
+
kind: z.ZodLiteral<"report">;
|
|
188
|
+
sequence: z.ZodNumber;
|
|
189
|
+
bodySequence: z.ZodNumber;
|
|
190
|
+
turnSequence: z.ZodNumber;
|
|
191
|
+
text: z.ZodString;
|
|
192
|
+
at: z.ZodString;
|
|
193
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
194
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
195
|
+
sequence: z.ZodNumber;
|
|
196
|
+
turnSequence: z.ZodNumber;
|
|
197
|
+
at: z.ZodString;
|
|
198
|
+
text: z.ZodString;
|
|
199
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
200
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
201
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
202
|
+
sequence: z.ZodNumber;
|
|
203
|
+
turnSequence: z.ZodNumber;
|
|
204
|
+
at: z.ZodString;
|
|
205
|
+
text: z.ZodString;
|
|
206
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
207
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
208
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
209
|
+
sequence: z.ZodNumber;
|
|
210
|
+
turnSequence: z.ZodNumber;
|
|
211
|
+
at: z.ZodString;
|
|
212
|
+
text: z.ZodString;
|
|
213
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
214
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
215
|
+
kind: z.ZodLiteral<"tell">;
|
|
216
|
+
sequence: z.ZodNumber;
|
|
217
|
+
at: z.ZodString;
|
|
218
|
+
tellId: z.ZodString;
|
|
219
|
+
text: z.ZodString;
|
|
220
|
+
state: z.ZodEnum<{
|
|
221
|
+
pending: "pending";
|
|
222
|
+
told: "told";
|
|
223
|
+
}>;
|
|
224
|
+
deliveries: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
225
|
+
deliveredAt: z.ZodString;
|
|
226
|
+
route: z.ZodEnum<{
|
|
227
|
+
launch: "launch";
|
|
228
|
+
live: "live";
|
|
229
|
+
}>;
|
|
230
|
+
turnSequence: z.ZodNumber;
|
|
231
|
+
}, z.core.$strict>>>>;
|
|
232
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
233
|
+
kind: z.ZodLiteral<"tool">;
|
|
234
|
+
sequence: z.ZodNumber;
|
|
235
|
+
turnSequence: z.ZodNumber;
|
|
236
|
+
at: z.ZodString;
|
|
237
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
238
|
+
name: z.ZodString;
|
|
239
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
240
|
+
kind: z.ZodLiteral<"run">;
|
|
241
|
+
command: z.ZodString;
|
|
242
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
243
|
+
kind: z.ZodLiteral<"read">;
|
|
244
|
+
path: z.ZodString;
|
|
245
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
246
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
247
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
248
|
+
kind: z.ZodLiteral<"search">;
|
|
249
|
+
query: z.ZodString;
|
|
250
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
251
|
+
content: "content";
|
|
252
|
+
files: "files";
|
|
253
|
+
web: "web";
|
|
254
|
+
}>>;
|
|
255
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
256
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
257
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
258
|
+
kind: z.ZodLiteral<"fileChange">;
|
|
259
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
260
|
+
op: z.ZodEnum<{
|
|
261
|
+
add: "add";
|
|
262
|
+
update: "update";
|
|
263
|
+
delete: "delete";
|
|
264
|
+
unspecified: "unspecified";
|
|
265
|
+
}>;
|
|
266
|
+
path: z.ZodString;
|
|
267
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
268
|
+
added: z.ZodNumber;
|
|
269
|
+
removed: z.ZodNumber;
|
|
270
|
+
}, z.core.$strict>>>;
|
|
271
|
+
patch: z.ZodExactOptional<z.ZodString>;
|
|
272
|
+
}, z.core.$strict>>>>;
|
|
273
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
274
|
+
kind: z.ZodLiteral<"other">;
|
|
275
|
+
input: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
276
|
+
json: z.ZodString;
|
|
277
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
278
|
+
}, z.core.$strict>>>;
|
|
279
|
+
}, z.core.$strict>>]>;
|
|
280
|
+
toolId: z.ZodString;
|
|
281
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
282
|
+
state: z.ZodUnion<readonly [z.ZodEnum<{
|
|
283
|
+
active: "active";
|
|
284
|
+
unsettled: "unsettled";
|
|
285
|
+
}>, z.ZodReadonly<z.ZodObject<{
|
|
286
|
+
status: z.ZodEnum<{
|
|
287
|
+
error: "error";
|
|
288
|
+
ok: "ok";
|
|
289
|
+
}>;
|
|
290
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
291
|
+
output: z.ZodExactOptional<z.ZodString>;
|
|
292
|
+
exitCode: z.ZodExactOptional<z.ZodNumber>;
|
|
293
|
+
}, z.core.$strict>>]>;
|
|
294
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
295
|
+
kind: z.ZodLiteral<"outcome">;
|
|
296
|
+
sequence: z.ZodNumber;
|
|
297
|
+
turnSequence: z.ZodNumber;
|
|
298
|
+
at: z.ZodString;
|
|
299
|
+
outcome: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
300
|
+
kind: z.ZodLiteral<"answered">;
|
|
301
|
+
answer: z.ZodString;
|
|
302
|
+
foldedSaidSequence: z.ZodExactOptional<z.ZodNumber>;
|
|
303
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
304
|
+
kind: z.ZodLiteral<"failed">;
|
|
305
|
+
diagnostic: z.ZodString;
|
|
306
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
307
|
+
kind: z.ZodLiteral<"canceled">;
|
|
308
|
+
}, z.core.$strict>>]>;
|
|
309
|
+
}, z.core.$strict>>]>>>>;
|
|
310
|
+
eventsUnavailable: z.ZodExactOptional<z.ZodString>;
|
|
311
|
+
pending: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
312
|
+
outcome: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
313
|
+
kind: z.ZodLiteral<"answered">;
|
|
314
|
+
historyId: z.ZodTemplateLiteral<`turn/${number}`>;
|
|
315
|
+
answer: z.ZodString;
|
|
316
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
317
|
+
kind: z.ZodLiteral<"failed">;
|
|
318
|
+
historyId: z.ZodTemplateLiteral<`turn/${number}`>;
|
|
319
|
+
diagnostic: z.ZodString;
|
|
320
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
321
|
+
kind: z.ZodLiteral<"canceled">;
|
|
322
|
+
historyId: z.ZodTemplateLiteral<`turn/${number}`>;
|
|
323
|
+
}, z.core.$strict>>]>>;
|
|
324
|
+
strandedReason: z.ZodExactOptional<z.ZodLiteral<"resume-unsupported">>;
|
|
325
|
+
}, z.core.$strict>>;
|
|
140
326
|
export declare const akumaWaitItemSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
141
327
|
kind: z.ZodLiteral<"observed">;
|
|
142
328
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
@@ -148,6 +334,155 @@ export declare const akumaWaitItemSchema: z.ZodUnion<readonly [z.ZodReadonly<z.Z
|
|
|
148
334
|
asleep: "asleep";
|
|
149
335
|
stranded: "stranded";
|
|
150
336
|
}>;
|
|
337
|
+
lastActivityAt: z.ZodExactOptional<z.ZodString>;
|
|
338
|
+
events: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
339
|
+
kind: z.ZodLiteral<"permission">;
|
|
340
|
+
sequence: z.ZodNumber;
|
|
341
|
+
turnSequence: z.ZodNumber;
|
|
342
|
+
at: z.ZodString;
|
|
343
|
+
requests: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
344
|
+
id: z.ZodString;
|
|
345
|
+
action: z.ZodString;
|
|
346
|
+
resources: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
347
|
+
tool: z.ZodExactOptional<z.ZodString>;
|
|
348
|
+
}, z.core.$strict>>>>;
|
|
349
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
350
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
351
|
+
kind: z.ZodLiteral<"turn">;
|
|
352
|
+
sequence: z.ZodNumber;
|
|
353
|
+
bodySequence: z.ZodNumber;
|
|
354
|
+
at: z.ZodString;
|
|
355
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
356
|
+
kind: z.ZodLiteral<"call">;
|
|
357
|
+
sequence: z.ZodNumber;
|
|
358
|
+
turnSequence: z.ZodNumber;
|
|
359
|
+
at: z.ZodString;
|
|
360
|
+
text: z.ZodString;
|
|
361
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
362
|
+
kind: z.ZodLiteral<"report">;
|
|
363
|
+
sequence: z.ZodNumber;
|
|
364
|
+
bodySequence: z.ZodNumber;
|
|
365
|
+
turnSequence: z.ZodNumber;
|
|
366
|
+
text: z.ZodString;
|
|
367
|
+
at: z.ZodString;
|
|
368
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
369
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
370
|
+
sequence: z.ZodNumber;
|
|
371
|
+
turnSequence: z.ZodNumber;
|
|
372
|
+
at: z.ZodString;
|
|
373
|
+
text: z.ZodString;
|
|
374
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
375
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
376
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
377
|
+
sequence: z.ZodNumber;
|
|
378
|
+
turnSequence: z.ZodNumber;
|
|
379
|
+
at: z.ZodString;
|
|
380
|
+
text: z.ZodString;
|
|
381
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
382
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
383
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
384
|
+
sequence: z.ZodNumber;
|
|
385
|
+
turnSequence: z.ZodNumber;
|
|
386
|
+
at: z.ZodString;
|
|
387
|
+
text: z.ZodString;
|
|
388
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
389
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
390
|
+
kind: z.ZodLiteral<"tell">;
|
|
391
|
+
sequence: z.ZodNumber;
|
|
392
|
+
at: z.ZodString;
|
|
393
|
+
tellId: z.ZodString;
|
|
394
|
+
text: z.ZodString;
|
|
395
|
+
state: z.ZodEnum<{
|
|
396
|
+
pending: "pending";
|
|
397
|
+
told: "told";
|
|
398
|
+
}>;
|
|
399
|
+
deliveries: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
400
|
+
deliveredAt: z.ZodString;
|
|
401
|
+
route: z.ZodEnum<{
|
|
402
|
+
launch: "launch";
|
|
403
|
+
live: "live";
|
|
404
|
+
}>;
|
|
405
|
+
turnSequence: z.ZodNumber;
|
|
406
|
+
}, z.core.$strict>>>>;
|
|
407
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
408
|
+
kind: z.ZodLiteral<"tool">;
|
|
409
|
+
sequence: z.ZodNumber;
|
|
410
|
+
turnSequence: z.ZodNumber;
|
|
411
|
+
at: z.ZodString;
|
|
412
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
413
|
+
name: z.ZodString;
|
|
414
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
415
|
+
kind: z.ZodLiteral<"run">;
|
|
416
|
+
command: z.ZodString;
|
|
417
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
418
|
+
kind: z.ZodLiteral<"read">;
|
|
419
|
+
path: z.ZodString;
|
|
420
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
421
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
422
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
423
|
+
kind: z.ZodLiteral<"search">;
|
|
424
|
+
query: z.ZodString;
|
|
425
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
426
|
+
content: "content";
|
|
427
|
+
files: "files";
|
|
428
|
+
web: "web";
|
|
429
|
+
}>>;
|
|
430
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
431
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
432
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
433
|
+
kind: z.ZodLiteral<"fileChange">;
|
|
434
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
435
|
+
op: z.ZodEnum<{
|
|
436
|
+
add: "add";
|
|
437
|
+
update: "update";
|
|
438
|
+
delete: "delete";
|
|
439
|
+
unspecified: "unspecified";
|
|
440
|
+
}>;
|
|
441
|
+
path: z.ZodString;
|
|
442
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
443
|
+
added: z.ZodNumber;
|
|
444
|
+
removed: z.ZodNumber;
|
|
445
|
+
}, z.core.$strict>>>;
|
|
446
|
+
patch: z.ZodExactOptional<z.ZodString>;
|
|
447
|
+
}, z.core.$strict>>>>;
|
|
448
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
449
|
+
kind: z.ZodLiteral<"other">;
|
|
450
|
+
input: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
451
|
+
json: z.ZodString;
|
|
452
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
453
|
+
}, z.core.$strict>>>;
|
|
454
|
+
}, z.core.$strict>>]>;
|
|
455
|
+
toolId: z.ZodString;
|
|
456
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
457
|
+
state: z.ZodUnion<readonly [z.ZodEnum<{
|
|
458
|
+
active: "active";
|
|
459
|
+
unsettled: "unsettled";
|
|
460
|
+
}>, z.ZodReadonly<z.ZodObject<{
|
|
461
|
+
status: z.ZodEnum<{
|
|
462
|
+
error: "error";
|
|
463
|
+
ok: "ok";
|
|
464
|
+
}>;
|
|
465
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
466
|
+
output: z.ZodExactOptional<z.ZodString>;
|
|
467
|
+
exitCode: z.ZodExactOptional<z.ZodNumber>;
|
|
468
|
+
}, z.core.$strict>>]>;
|
|
469
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
470
|
+
kind: z.ZodLiteral<"outcome">;
|
|
471
|
+
sequence: z.ZodNumber;
|
|
472
|
+
turnSequence: z.ZodNumber;
|
|
473
|
+
at: z.ZodString;
|
|
474
|
+
outcome: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
475
|
+
kind: z.ZodLiteral<"answered">;
|
|
476
|
+
answer: z.ZodString;
|
|
477
|
+
foldedSaidSequence: z.ZodExactOptional<z.ZodNumber>;
|
|
478
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
479
|
+
kind: z.ZodLiteral<"failed">;
|
|
480
|
+
diagnostic: z.ZodString;
|
|
481
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
482
|
+
kind: z.ZodLiteral<"canceled">;
|
|
483
|
+
}, z.core.$strict>>]>;
|
|
484
|
+
}, z.core.$strict>>]>>>>;
|
|
485
|
+
eventsUnavailable: z.ZodExactOptional<z.ZodString>;
|
|
151
486
|
pending: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
152
487
|
outcome: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
153
488
|
kind: z.ZodLiteral<"answered">;
|
|
@@ -187,6 +522,155 @@ export declare const akumaWaitNormalResultSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
187
522
|
asleep: "asleep";
|
|
188
523
|
stranded: "stranded";
|
|
189
524
|
}>;
|
|
525
|
+
lastActivityAt: z.ZodExactOptional<z.ZodString>;
|
|
526
|
+
events: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
527
|
+
kind: z.ZodLiteral<"permission">;
|
|
528
|
+
sequence: z.ZodNumber;
|
|
529
|
+
turnSequence: z.ZodNumber;
|
|
530
|
+
at: z.ZodString;
|
|
531
|
+
requests: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
532
|
+
id: z.ZodString;
|
|
533
|
+
action: z.ZodString;
|
|
534
|
+
resources: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
535
|
+
tool: z.ZodExactOptional<z.ZodString>;
|
|
536
|
+
}, z.core.$strict>>>>;
|
|
537
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
538
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
539
|
+
kind: z.ZodLiteral<"turn">;
|
|
540
|
+
sequence: z.ZodNumber;
|
|
541
|
+
bodySequence: z.ZodNumber;
|
|
542
|
+
at: z.ZodString;
|
|
543
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
544
|
+
kind: z.ZodLiteral<"call">;
|
|
545
|
+
sequence: z.ZodNumber;
|
|
546
|
+
turnSequence: z.ZodNumber;
|
|
547
|
+
at: z.ZodString;
|
|
548
|
+
text: z.ZodString;
|
|
549
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
550
|
+
kind: z.ZodLiteral<"report">;
|
|
551
|
+
sequence: z.ZodNumber;
|
|
552
|
+
bodySequence: z.ZodNumber;
|
|
553
|
+
turnSequence: z.ZodNumber;
|
|
554
|
+
text: z.ZodString;
|
|
555
|
+
at: z.ZodString;
|
|
556
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
557
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
558
|
+
sequence: z.ZodNumber;
|
|
559
|
+
turnSequence: z.ZodNumber;
|
|
560
|
+
at: z.ZodString;
|
|
561
|
+
text: z.ZodString;
|
|
562
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
563
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
564
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
565
|
+
sequence: z.ZodNumber;
|
|
566
|
+
turnSequence: z.ZodNumber;
|
|
567
|
+
at: z.ZodString;
|
|
568
|
+
text: z.ZodString;
|
|
569
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
570
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
571
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
572
|
+
sequence: z.ZodNumber;
|
|
573
|
+
turnSequence: z.ZodNumber;
|
|
574
|
+
at: z.ZodString;
|
|
575
|
+
text: z.ZodString;
|
|
576
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
577
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
578
|
+
kind: z.ZodLiteral<"tell">;
|
|
579
|
+
sequence: z.ZodNumber;
|
|
580
|
+
at: z.ZodString;
|
|
581
|
+
tellId: z.ZodString;
|
|
582
|
+
text: z.ZodString;
|
|
583
|
+
state: z.ZodEnum<{
|
|
584
|
+
pending: "pending";
|
|
585
|
+
told: "told";
|
|
586
|
+
}>;
|
|
587
|
+
deliveries: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
588
|
+
deliveredAt: z.ZodString;
|
|
589
|
+
route: z.ZodEnum<{
|
|
590
|
+
launch: "launch";
|
|
591
|
+
live: "live";
|
|
592
|
+
}>;
|
|
593
|
+
turnSequence: z.ZodNumber;
|
|
594
|
+
}, z.core.$strict>>>>;
|
|
595
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
596
|
+
kind: z.ZodLiteral<"tool">;
|
|
597
|
+
sequence: z.ZodNumber;
|
|
598
|
+
turnSequence: z.ZodNumber;
|
|
599
|
+
at: z.ZodString;
|
|
600
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
601
|
+
name: z.ZodString;
|
|
602
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
603
|
+
kind: z.ZodLiteral<"run">;
|
|
604
|
+
command: z.ZodString;
|
|
605
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
606
|
+
kind: z.ZodLiteral<"read">;
|
|
607
|
+
path: z.ZodString;
|
|
608
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
609
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
610
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
611
|
+
kind: z.ZodLiteral<"search">;
|
|
612
|
+
query: z.ZodString;
|
|
613
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
614
|
+
content: "content";
|
|
615
|
+
files: "files";
|
|
616
|
+
web: "web";
|
|
617
|
+
}>>;
|
|
618
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
619
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
620
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
621
|
+
kind: z.ZodLiteral<"fileChange">;
|
|
622
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
623
|
+
op: z.ZodEnum<{
|
|
624
|
+
add: "add";
|
|
625
|
+
update: "update";
|
|
626
|
+
delete: "delete";
|
|
627
|
+
unspecified: "unspecified";
|
|
628
|
+
}>;
|
|
629
|
+
path: z.ZodString;
|
|
630
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
631
|
+
added: z.ZodNumber;
|
|
632
|
+
removed: z.ZodNumber;
|
|
633
|
+
}, z.core.$strict>>>;
|
|
634
|
+
patch: z.ZodExactOptional<z.ZodString>;
|
|
635
|
+
}, z.core.$strict>>>>;
|
|
636
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
637
|
+
kind: z.ZodLiteral<"other">;
|
|
638
|
+
input: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
639
|
+
json: z.ZodString;
|
|
640
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
641
|
+
}, z.core.$strict>>>;
|
|
642
|
+
}, z.core.$strict>>]>;
|
|
643
|
+
toolId: z.ZodString;
|
|
644
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
645
|
+
state: z.ZodUnion<readonly [z.ZodEnum<{
|
|
646
|
+
active: "active";
|
|
647
|
+
unsettled: "unsettled";
|
|
648
|
+
}>, z.ZodReadonly<z.ZodObject<{
|
|
649
|
+
status: z.ZodEnum<{
|
|
650
|
+
error: "error";
|
|
651
|
+
ok: "ok";
|
|
652
|
+
}>;
|
|
653
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
654
|
+
output: z.ZodExactOptional<z.ZodString>;
|
|
655
|
+
exitCode: z.ZodExactOptional<z.ZodNumber>;
|
|
656
|
+
}, z.core.$strict>>]>;
|
|
657
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
658
|
+
kind: z.ZodLiteral<"outcome">;
|
|
659
|
+
sequence: z.ZodNumber;
|
|
660
|
+
turnSequence: z.ZodNumber;
|
|
661
|
+
at: z.ZodString;
|
|
662
|
+
outcome: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
663
|
+
kind: z.ZodLiteral<"answered">;
|
|
664
|
+
answer: z.ZodString;
|
|
665
|
+
foldedSaidSequence: z.ZodExactOptional<z.ZodNumber>;
|
|
666
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
667
|
+
kind: z.ZodLiteral<"failed">;
|
|
668
|
+
diagnostic: z.ZodString;
|
|
669
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
670
|
+
kind: z.ZodLiteral<"canceled">;
|
|
671
|
+
}, z.core.$strict>>]>;
|
|
672
|
+
}, z.core.$strict>>]>>>>;
|
|
673
|
+
eventsUnavailable: z.ZodExactOptional<z.ZodString>;
|
|
190
674
|
pending: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
191
675
|
outcome: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
192
676
|
kind: z.ZodLiteral<"answered">;
|
|
@@ -220,6 +704,155 @@ export declare const akumaWaitResultSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
220
704
|
asleep: "asleep";
|
|
221
705
|
stranded: "stranded";
|
|
222
706
|
}>;
|
|
707
|
+
lastActivityAt: z.ZodExactOptional<z.ZodString>;
|
|
708
|
+
events: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
709
|
+
kind: z.ZodLiteral<"permission">;
|
|
710
|
+
sequence: z.ZodNumber;
|
|
711
|
+
turnSequence: z.ZodNumber;
|
|
712
|
+
at: z.ZodString;
|
|
713
|
+
requests: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
714
|
+
id: z.ZodString;
|
|
715
|
+
action: z.ZodString;
|
|
716
|
+
resources: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
717
|
+
tool: z.ZodExactOptional<z.ZodString>;
|
|
718
|
+
}, z.core.$strict>>>>;
|
|
719
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
720
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
721
|
+
kind: z.ZodLiteral<"turn">;
|
|
722
|
+
sequence: z.ZodNumber;
|
|
723
|
+
bodySequence: z.ZodNumber;
|
|
724
|
+
at: z.ZodString;
|
|
725
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
726
|
+
kind: z.ZodLiteral<"call">;
|
|
727
|
+
sequence: z.ZodNumber;
|
|
728
|
+
turnSequence: z.ZodNumber;
|
|
729
|
+
at: z.ZodString;
|
|
730
|
+
text: z.ZodString;
|
|
731
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
732
|
+
kind: z.ZodLiteral<"report">;
|
|
733
|
+
sequence: z.ZodNumber;
|
|
734
|
+
bodySequence: z.ZodNumber;
|
|
735
|
+
turnSequence: z.ZodNumber;
|
|
736
|
+
text: z.ZodString;
|
|
737
|
+
at: z.ZodString;
|
|
738
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
739
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
740
|
+
sequence: z.ZodNumber;
|
|
741
|
+
turnSequence: z.ZodNumber;
|
|
742
|
+
at: z.ZodString;
|
|
743
|
+
text: z.ZodString;
|
|
744
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
745
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
746
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
747
|
+
sequence: z.ZodNumber;
|
|
748
|
+
turnSequence: z.ZodNumber;
|
|
749
|
+
at: z.ZodString;
|
|
750
|
+
text: z.ZodString;
|
|
751
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
752
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
753
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
754
|
+
sequence: z.ZodNumber;
|
|
755
|
+
turnSequence: z.ZodNumber;
|
|
756
|
+
at: z.ZodString;
|
|
757
|
+
text: z.ZodString;
|
|
758
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
759
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
760
|
+
kind: z.ZodLiteral<"tell">;
|
|
761
|
+
sequence: z.ZodNumber;
|
|
762
|
+
at: z.ZodString;
|
|
763
|
+
tellId: z.ZodString;
|
|
764
|
+
text: z.ZodString;
|
|
765
|
+
state: z.ZodEnum<{
|
|
766
|
+
pending: "pending";
|
|
767
|
+
told: "told";
|
|
768
|
+
}>;
|
|
769
|
+
deliveries: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
770
|
+
deliveredAt: z.ZodString;
|
|
771
|
+
route: z.ZodEnum<{
|
|
772
|
+
launch: "launch";
|
|
773
|
+
live: "live";
|
|
774
|
+
}>;
|
|
775
|
+
turnSequence: z.ZodNumber;
|
|
776
|
+
}, z.core.$strict>>>>;
|
|
777
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
778
|
+
kind: z.ZodLiteral<"tool">;
|
|
779
|
+
sequence: z.ZodNumber;
|
|
780
|
+
turnSequence: z.ZodNumber;
|
|
781
|
+
at: z.ZodString;
|
|
782
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
783
|
+
name: z.ZodString;
|
|
784
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
785
|
+
kind: z.ZodLiteral<"run">;
|
|
786
|
+
command: z.ZodString;
|
|
787
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
788
|
+
kind: z.ZodLiteral<"read">;
|
|
789
|
+
path: z.ZodString;
|
|
790
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
791
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
792
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
793
|
+
kind: z.ZodLiteral<"search">;
|
|
794
|
+
query: z.ZodString;
|
|
795
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
796
|
+
content: "content";
|
|
797
|
+
files: "files";
|
|
798
|
+
web: "web";
|
|
799
|
+
}>>;
|
|
800
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
801
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
802
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
803
|
+
kind: z.ZodLiteral<"fileChange">;
|
|
804
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
805
|
+
op: z.ZodEnum<{
|
|
806
|
+
add: "add";
|
|
807
|
+
update: "update";
|
|
808
|
+
delete: "delete";
|
|
809
|
+
unspecified: "unspecified";
|
|
810
|
+
}>;
|
|
811
|
+
path: z.ZodString;
|
|
812
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
813
|
+
added: z.ZodNumber;
|
|
814
|
+
removed: z.ZodNumber;
|
|
815
|
+
}, z.core.$strict>>>;
|
|
816
|
+
patch: z.ZodExactOptional<z.ZodString>;
|
|
817
|
+
}, z.core.$strict>>>>;
|
|
818
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
819
|
+
kind: z.ZodLiteral<"other">;
|
|
820
|
+
input: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
821
|
+
json: z.ZodString;
|
|
822
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
823
|
+
}, z.core.$strict>>>;
|
|
824
|
+
}, z.core.$strict>>]>;
|
|
825
|
+
toolId: z.ZodString;
|
|
826
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
827
|
+
state: z.ZodUnion<readonly [z.ZodEnum<{
|
|
828
|
+
active: "active";
|
|
829
|
+
unsettled: "unsettled";
|
|
830
|
+
}>, z.ZodReadonly<z.ZodObject<{
|
|
831
|
+
status: z.ZodEnum<{
|
|
832
|
+
error: "error";
|
|
833
|
+
ok: "ok";
|
|
834
|
+
}>;
|
|
835
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
836
|
+
output: z.ZodExactOptional<z.ZodString>;
|
|
837
|
+
exitCode: z.ZodExactOptional<z.ZodNumber>;
|
|
838
|
+
}, z.core.$strict>>]>;
|
|
839
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
840
|
+
kind: z.ZodLiteral<"outcome">;
|
|
841
|
+
sequence: z.ZodNumber;
|
|
842
|
+
turnSequence: z.ZodNumber;
|
|
843
|
+
at: z.ZodString;
|
|
844
|
+
outcome: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
845
|
+
kind: z.ZodLiteral<"answered">;
|
|
846
|
+
answer: z.ZodString;
|
|
847
|
+
foldedSaidSequence: z.ZodExactOptional<z.ZodNumber>;
|
|
848
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
849
|
+
kind: z.ZodLiteral<"failed">;
|
|
850
|
+
diagnostic: z.ZodString;
|
|
851
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
852
|
+
kind: z.ZodLiteral<"canceled">;
|
|
853
|
+
}, z.core.$strict>>]>;
|
|
854
|
+
}, z.core.$strict>>]>>>>;
|
|
855
|
+
eventsUnavailable: z.ZodExactOptional<z.ZodString>;
|
|
223
856
|
pending: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
224
857
|
outcome: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
225
858
|
kind: z.ZodLiteral<"answered">;
|
|
@@ -274,9 +907,11 @@ export declare const tellFailureSchema: z.ZodUnion<readonly [z.ZodReadonly<z.Zod
|
|
|
274
907
|
declare const akumaTextObservationSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
275
908
|
kind: z.ZodLiteral<"answered">;
|
|
276
909
|
answer: z.ZodString;
|
|
910
|
+
completedAt: z.ZodExactOptional<z.ZodString>;
|
|
277
911
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
278
912
|
kind: z.ZodLiteral<"failed">;
|
|
279
913
|
diagnostic: z.ZodString;
|
|
914
|
+
completedAt: z.ZodExactOptional<z.ZodString>;
|
|
280
915
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
281
916
|
kind: z.ZodLiteral<"unanswered">;
|
|
282
917
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -285,6 +920,7 @@ declare const akumaTextObservationSchema: z.ZodUnion<readonly [z.ZodReadonly<z.Z
|
|
|
285
920
|
export declare const completedTextObservationSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
286
921
|
kind: z.ZodLiteral<"answered">;
|
|
287
922
|
answer: z.ZodString;
|
|
923
|
+
completedAt: z.ZodExactOptional<z.ZodString>;
|
|
288
924
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
289
925
|
kind: z.ZodLiteral<"unanswered">;
|
|
290
926
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -297,6 +933,7 @@ export declare const akumaTellResultSchema: z.ZodUnion<readonly [z.ZodReadonly<z
|
|
|
297
933
|
input: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
298
934
|
kind: z.ZodLiteral<"answered">;
|
|
299
935
|
answer: z.ZodString;
|
|
936
|
+
completedAt: z.ZodExactOptional<z.ZodString>;
|
|
300
937
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
301
938
|
kind: z.ZodLiteral<"unanswered">;
|
|
302
939
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -336,6 +973,7 @@ export declare const akumaTellResultSchema: z.ZodUnion<readonly [z.ZodReadonly<z
|
|
|
336
973
|
input: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
337
974
|
kind: z.ZodLiteral<"answered">;
|
|
338
975
|
answer: z.ZodString;
|
|
976
|
+
completedAt: z.ZodExactOptional<z.ZodString>;
|
|
339
977
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
340
978
|
kind: z.ZodLiteral<"unanswered">;
|
|
341
979
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -357,13 +995,16 @@ export declare const akumaTellResultSchema: z.ZodUnion<readonly [z.ZodReadonly<z
|
|
|
357
995
|
export declare const akumaAskObservationSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
358
996
|
kind: z.ZodLiteral<"answered">;
|
|
359
997
|
answer: z.ZodJSONSchema;
|
|
998
|
+
completedAt: z.ZodExactOptional<z.ZodString>;
|
|
360
999
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
361
1000
|
kind: z.ZodLiteral<"failed">;
|
|
362
1001
|
diagnostic: z.ZodString;
|
|
1002
|
+
completedAt: z.ZodExactOptional<z.ZodString>;
|
|
363
1003
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
364
1004
|
kind: z.ZodLiteral<"invalid-output">;
|
|
365
1005
|
diagnostic: z.ZodString;
|
|
366
1006
|
answer: z.ZodString;
|
|
1007
|
+
completedAt: z.ZodExactOptional<z.ZodString>;
|
|
367
1008
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
368
1009
|
kind: z.ZodLiteral<"unanswered">;
|
|
369
1010
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
@@ -372,6 +1013,7 @@ export declare const akumaAskObservationSchema: z.ZodUnion<readonly [z.ZodReadon
|
|
|
372
1013
|
export declare const akumaAskNormalResultSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
373
1014
|
kind: z.ZodLiteral<"answered">;
|
|
374
1015
|
answer: z.ZodJSONSchema;
|
|
1016
|
+
completedAt: z.ZodExactOptional<z.ZodString>;
|
|
375
1017
|
wake: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
376
1018
|
kind: z.ZodLiteral<"failed">;
|
|
377
1019
|
diagnostic: z.ZodString;
|
|
@@ -432,6 +1074,7 @@ export declare const akumaAskNormalResultSchema: z.ZodUnion<readonly [z.ZodReado
|
|
|
432
1074
|
export declare const akumaAskResultSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
433
1075
|
kind: z.ZodLiteral<"answered">;
|
|
434
1076
|
answer: z.ZodJSONSchema;
|
|
1077
|
+
completedAt: z.ZodExactOptional<z.ZodString>;
|
|
435
1078
|
wake: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
436
1079
|
kind: z.ZodLiteral<"failed">;
|
|
437
1080
|
diagnostic: z.ZodString;
|
|
@@ -491,6 +1134,7 @@ export declare const akumaAskResultSchema: z.ZodUnion<readonly [z.ZodReadonly<z.
|
|
|
491
1134
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
492
1135
|
kind: z.ZodLiteral<"failed">;
|
|
493
1136
|
diagnostic: z.ZodString;
|
|
1137
|
+
completedAt: z.ZodExactOptional<z.ZodString>;
|
|
494
1138
|
wake: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
495
1139
|
kind: z.ZodLiteral<"failed">;
|
|
496
1140
|
diagnostic: z.ZodString;
|
|
@@ -511,6 +1155,7 @@ export declare const akumaAskResultSchema: z.ZodUnion<readonly [z.ZodReadonly<z.
|
|
|
511
1155
|
kind: z.ZodLiteral<"invalid-output">;
|
|
512
1156
|
diagnostic: z.ZodString;
|
|
513
1157
|
answer: z.ZodString;
|
|
1158
|
+
completedAt: z.ZodExactOptional<z.ZodString>;
|
|
514
1159
|
wake: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
515
1160
|
kind: z.ZodLiteral<"failed">;
|
|
516
1161
|
diagnostic: z.ZodString;
|