@astrosheep/keiyaku 4.6.31 → 4.6.32
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 +34 -17
- package/build/plugins/claude/skills/keiyaku-akuma/SKILL.md +16 -11
- package/build/plugins/claude/skills/keiyaku-babysit/SKILL.md +5 -3
- package/build/plugins/claude/skills/keiyaku-bind/SKILL.md +4 -3
- package/build/plugins/claude/skills/keiyaku-debt/SKILL.md +17 -17
- package/build/plugins/claude/skills/keiyaku-workflow/SKILL.md +4 -3
- package/build/plugins/codex/skills/keiyaku-akuma/SKILL.md +16 -11
- package/build/plugins/codex/skills/keiyaku-babysit/SKILL.md +5 -3
- package/build/plugins/codex/skills/keiyaku-bind/SKILL.md +4 -3
- package/build/plugins/codex/skills/keiyaku-debt/SKILL.md +17 -17
- package/build/plugins/codex/skills/keiyaku-workflow/SKILL.md +4 -3
- package/build/plugins/opencode/skills/keiyaku-akuma/SKILL.md +16 -11
- package/build/plugins/opencode/skills/keiyaku-babysit/SKILL.md +5 -3
- package/build/plugins/opencode/skills/keiyaku-bind/SKILL.md +4 -3
- package/build/plugins/opencode/skills/keiyaku-debt/SKILL.md +17 -17
- package/build/plugins/opencode/skills/keiyaku-workflow/SKILL.md +4 -3
- package/build/plugins/pi/README.md +16 -18
- package/build/plugins/pi/akuma-tools.ts +31 -38
- package/build/plugins/pi/keiyaku.ts +15 -4
- package/build/skills/keiyaku-akuma/SKILL.md +16 -11
- package/build/skills/keiyaku-babysit/SKILL.md +5 -3
- package/build/skills/keiyaku-bind/SKILL.md +4 -3
- package/build/skills/keiyaku-debt/SKILL.md +17 -17
- package/build/skills/keiyaku-workflow/SKILL.md +4 -3
- package/build/src/akuma/akuma-call.d.ts +3 -5
- package/build/src/akuma/akuma-call.js +7 -10
- package/build/src/akuma/akuma-errors.d.ts +7 -4
- package/build/src/akuma/akuma-errors.js +16 -12
- package/build/src/akuma/akuma-instance.d.ts +39 -303
- package/build/src/akuma/akuma-instance.js +48 -48
- package/build/src/akuma/akuma-observe.d.ts +5 -4
- package/build/src/akuma/akuma-observe.js +1 -7
- package/build/src/akuma/akuma-owner.d.ts +14 -6
- package/build/src/akuma/akuma-owner.js +33 -27
- package/build/src/akuma/akuma-selection-execution.d.ts +22 -19
- package/build/src/akuma/akuma-selection-execution.js +71 -124
- package/build/src/akuma/akuma-wait.d.ts +3 -3
- package/build/src/akuma/akuma.d.ts +47 -384
- package/build/src/akuma/akuma.js +8 -58
- package/build/src/akuma/archetype.d.ts +16 -19
- package/build/src/akuma/archetype.js +48 -49
- package/build/src/akuma/body.js +31 -26
- package/build/src/akuma/call-initial-tell.d.ts +4 -1
- package/build/src/akuma/call-initial-tell.js +9 -1
- package/build/src/akuma/call-input.d.ts +8 -1
- package/build/src/akuma/call-input.js +27 -18
- package/build/src/akuma/caller.js +2 -1
- package/build/src/akuma/detached-body.js +1 -1
- package/build/src/akuma/heart/facts.d.ts +5 -4
- package/build/src/akuma/heart/facts.js +5 -5
- package/build/src/akuma/heart/soul.js +20 -4
- package/build/src/akuma/identity.d.ts +1 -1
- package/build/src/akuma/identity.js +9 -4
- package/build/src/akuma/index.d.ts +6 -7
- package/build/src/akuma/index.js +2 -3
- package/build/src/akuma/projection.d.ts +3 -0
- package/build/src/akuma/provider-recipe.js +3 -2
- package/build/src/akuma/providers/acp/config.js +11 -10
- package/build/src/akuma/providers/acp/index.js +2 -1
- package/build/src/akuma/providers/codex-app-server/index.js +7 -1
- package/build/src/akuma/providers/grok-build/index.js +2 -1
- package/build/src/akuma/providers/index.d.ts +0 -1
- package/build/src/akuma/providers/index.js +0 -8
- package/build/src/akuma/providers/paseo/index.js +7 -4
- package/build/src/akuma/providers/pi/index.js +4 -3
- package/build/src/akuma/publication.d.ts +1 -2
- package/build/src/akuma/publication.js +16 -14
- package/build/src/akuma/schema.d.ts +3 -49
- package/build/src/akuma/schema.js +6 -147
- package/build/src/akuma/selection-observation.d.ts +281 -240
- package/build/src/akuma/selection-observation.js +122 -68
- package/build/src/akuma/status-projection.d.ts +49 -285
- package/build/src/akuma/status-projection.js +178 -138
- package/build/src/body/amend.js +2 -1
- package/build/src/body/arc.js +3 -2
- package/build/src/body/criteria.js +4 -3
- package/build/src/body/decode.js +2 -1
- package/build/src/body/envelope.js +2 -1
- package/build/src/body/region.d.ts +1 -3
- package/build/src/body/region.js +3 -8
- package/build/src/body-host.d.ts +4 -11
- package/build/src/body-host.js +5 -4
- package/build/src/bounded-list.js +2 -1
- package/build/src/cli/commands/akuma-grammar.d.ts +109 -66
- package/build/src/cli/commands/akuma-grammar.js +75 -95
- package/build/src/cli/commands/akuma.d.ts +8 -3
- package/build/src/cli/commands/akuma.js +63 -122
- package/build/src/cli/commands/contract-grammar.d.ts +3 -135
- package/build/src/cli/commands/contract-grammar.js +125 -218
- package/build/src/cli/commands/contract-help.d.ts +24 -21
- package/build/src/cli/commands/contract-help.js +43 -35
- package/build/src/cli/commands/contract.d.ts +6 -18
- package/build/src/cli/commands/contract.js +65 -272
- package/build/src/cli/commands/debt-grammar.d.ts +2 -4
- package/build/src/cli/commands/debt-grammar.js +22 -190
- package/build/src/cli/commands/debt.js +10 -87
- package/build/src/cli/commands/report.d.ts +2 -4
- package/build/src/cli/coordinates.d.ts +1 -1
- package/build/src/cli/coordinates.js +1 -1
- package/build/src/cli/main.js +9 -3
- package/build/src/cli/parse.d.ts +80 -3
- package/build/src/cli/parse.js +76 -16
- package/build/src/cli/render/akuma-activity.d.ts +19 -24
- package/build/src/cli/render/akuma-activity.js +164 -259
- package/build/src/cli/render/akuma.d.ts +3 -3
- package/build/src/cli/render/akuma.js +36 -43
- package/build/src/cli/render/catalog.d.ts +2 -5
- package/build/src/cli/render/catalog.js +2 -33
- package/build/src/cli/render/contract-history.js +1 -2
- package/build/src/cli/render/contract-observation.d.ts +0 -7
- package/build/src/cli/render/contract-observation.js +0 -3
- package/build/src/cli/render/contract.d.ts +7 -9
- package/build/src/cli/render/contract.js +35 -64
- package/build/src/cli/render/debt.d.ts +3 -11
- package/build/src/cli/render/debt.js +17 -88
- package/build/src/cli/render/delivery-preview.js +4 -4
- package/build/src/cli/render/kanshi-akuma.d.ts +5 -3
- package/build/src/cli/render/kanshi-akuma.js +22 -18
- package/build/src/cli/render/kanshi.d.ts +1 -3
- package/build/src/cli/render/kanshi.js +16 -39
- package/build/src/cli/render/receipt.d.ts +21 -12
- package/build/src/cli/render/receipt.js +49 -44
- package/build/src/cli/render/refusal.d.ts +4 -3
- package/build/src/cli/render/refusal.js +15 -17
- package/build/src/cli/render/settings.d.ts +1 -1
- package/build/src/cli/render/terminal.d.ts +9 -8
- package/build/src/cli/render/terminal.js +48 -32
- package/build/src/cli/render/verbs.d.ts +3 -1
- package/build/src/cli/render/verbs.js +74 -116
- package/build/src/cli/runtime.js +66 -65
- package/build/src/cli/streams.d.ts +2 -9
- package/build/src/cli/streams.js +8 -1
- package/build/src/cli/usage.d.ts +2 -1
- package/build/src/cli/usage.js +3 -2
- package/build/src/contract-worktree.js +2 -10
- package/build/src/core/facts/codec.js +9 -23
- package/build/src/core/facts/errors.d.ts +2 -1
- package/build/src/core/facts/errors.js +3 -3
- package/build/src/core/facts/types.d.ts +2 -13
- package/build/src/core/facts/types.js +1 -6
- package/build/src/core/verbs/abandon.d.ts +1 -2
- package/build/src/core/verbs/amend.d.ts +1 -2
- package/build/src/core/verbs/arc.d.ts +1 -2
- package/build/src/core/verbs/attestation.d.ts +1 -2
- package/build/src/core/verbs/bind.d.ts +1 -2
- package/build/src/core/verbs/deliver.d.ts +1 -2
- package/build/src/core/verbs/placement.d.ts +1 -2
- package/build/src/core/verbs/reintegrate.d.ts +1 -2
- package/build/src/debt/board.d.ts +14 -94
- package/build/src/debt/board.js +25 -160
- package/build/src/debt/catalog.d.ts +0 -2
- package/build/src/debt/catalog.js +1 -22
- package/build/src/debt/document.d.ts +8 -11
- package/build/src/debt/document.js +19 -62
- package/build/src/debt/identity.d.ts +2 -14
- package/build/src/debt/identity.js +19 -49
- package/build/src/debt/index.d.ts +81 -219
- package/build/src/debt/index.js +61 -110
- package/build/src/debt/input.d.ts +19 -5
- package/build/src/debt/input.js +51 -177
- package/build/src/debt/lifecycle-operations.d.ts +1 -3
- package/build/src/debt/lifecycle-operations.js +1 -73
- package/build/src/debt/operation-types.d.ts +24 -128
- package/build/src/debt/operation-types.js +6 -62
- package/build/src/debt/operations.d.ts +8 -17
- package/build/src/debt/operations.js +58 -154
- package/build/src/debt/store.d.ts +0 -2
- package/build/src/debt/store.js +32 -87
- package/build/src/errors.d.ts +28 -0
- package/build/src/errors.js +26 -0
- package/build/src/git/hooks.d.ts +1 -1
- package/build/src/git/observe.d.ts +3 -0
- package/build/src/git/observe.js +19 -5
- package/build/src/git/reconcile.d.ts +3 -16
- package/build/src/git/reconcile.js +0 -18
- package/build/src/git/repository.d.ts +2 -1
- package/build/src/git/repository.js +3 -3
- package/build/src/git/target-placement.d.ts +4 -4
- package/build/src/git/target.d.ts +2 -2
- package/build/src/git/tender.d.ts +1 -2
- package/build/src/git/tender.js +5 -12
- package/build/src/identity/coordinates.d.ts +1 -1
- package/build/src/identity/coordinates.js +3 -2
- package/build/src/identity/normalize.js +2 -1
- package/build/src/identity/selector.js +4 -3
- package/build/src/index.d.ts +34 -57
- package/build/src/index.js +11 -36
- package/build/src/kanshi/counts.d.ts +3 -8
- package/build/src/kanshi/counts.js +6 -14
- package/build/src/kanshi/index.d.ts +22 -7
- package/build/src/kanshi/index.js +30 -4
- package/build/src/kanshi/read.d.ts +81 -270
- package/build/src/kanshi/read.js +39 -199
- package/build/src/kanshi/report.d.ts +340 -1619
- package/build/src/kanshi/report.js +19 -31
- package/build/src/library/address.d.ts +11 -11
- package/build/src/library/address.js +34 -27
- package/build/src/library/akuma-creation.d.ts +210 -79
- package/build/src/library/akuma-creation.js +201 -242
- package/build/src/library/akumas.d.ts +24 -5
- package/build/src/library/akumas.js +96 -29
- package/build/src/library/bind.d.ts +7 -10
- package/build/src/library/bind.js +2 -8
- package/build/src/library/continuation.d.ts +141 -231
- package/build/src/library/continuation.js +22 -31
- package/build/src/library/contract-address.d.ts +6 -9
- package/build/src/library/contract-address.js +11 -16
- package/build/src/library/contract-composition.d.ts +2 -3
- package/build/src/library/contract-composition.js +12 -19
- package/build/src/library/contract-creation.js +33 -34
- package/build/src/library/contract-outcomes.d.ts +1278 -806
- package/build/src/library/contract-outcomes.js +11 -37
- package/build/src/library/contract-settings.d.ts +1 -2
- package/build/src/library/contract-settings.js +5 -7
- package/build/src/library/contract-types.d.ts +42 -67
- package/build/src/library/contract-types.js +15 -56
- package/build/src/library/contract-wait.d.ts +40 -3
- package/build/src/library/contract-wait.js +28 -21
- package/build/src/library/delivery.d.ts +366 -389
- package/build/src/library/delivery.js +5 -25
- package/build/src/library/input.d.ts +31 -5
- package/build/src/library/input.js +40 -40
- package/build/src/library/invocation.d.ts +13 -11
- package/build/src/library/invocation.js +69 -58
- package/build/src/library/kei.d.ts +16 -8
- package/build/src/library/kei.js +459 -19
- package/build/src/library/keiyaku-attribution.d.ts +0 -8
- package/build/src/library/keiyaku-attribution.js +0 -11
- package/build/src/library/keiyaku-classify.d.ts +2 -2
- package/build/src/library/keiyaku-classify.js +40 -59
- package/build/src/library/keiyaku-coordinates.d.ts +3 -8
- package/build/src/library/keiyaku-coordinates.js +6 -26
- package/build/src/library/keiyaku-debt.d.ts +21 -93
- package/build/src/library/keiyaku-debt.js +8 -157
- package/build/src/library/keiyaku-identity.js +5 -4
- package/build/src/library/keiyaku-verbs.d.ts +4004 -3885
- package/build/src/library/keiyaku-verbs.js +309 -271
- package/build/src/library/keiyaku.d.ts +30 -860
- package/build/src/library/keiyaku.js +169 -256
- package/build/src/library/nuke.d.ts +4 -2
- package/build/src/library/nuke.js +5 -1
- package/build/src/library/outcome.d.ts +424 -307
- package/build/src/library/outcome.js +167 -362
- package/build/src/library/reconcile.d.ts +331 -143
- package/build/src/library/reconcile.js +38 -72
- package/build/src/library/refusal.d.ts +20 -28
- package/build/src/library/refusal.js +1 -11
- package/build/src/library/repo.js +4 -3
- package/build/src/library/selection.d.ts +32 -21
- package/build/src/library/selection.js +63 -87
- package/build/src/mcp/adapter.d.ts +6 -0
- package/build/src/mcp/adapter.js +177 -42
- package/build/src/mcp/help.d.ts +1 -1
- package/build/src/mcp/help.js +12 -7
- package/build/src/mcp/output.d.ts +385 -0
- package/build/src/mcp/output.js +193 -0
- package/build/src/plugin/public.d.ts +4 -0
- package/build/src/plugin/runtime.d.ts +1 -1
- package/build/src/plugin/runtime.js +2 -2
- package/build/src/protocol/amend.d.ts +1 -1
- package/build/src/protocol/amend.js +2 -2
- package/build/src/protocol/bind.d.ts +5 -7
- package/build/src/protocol/bind.js +3 -3
- package/build/src/protocol/completion.d.ts +158 -195
- package/build/src/protocol/completion.js +55 -19
- package/build/src/protocol/deliver.d.ts +11 -6
- package/build/src/protocol/deliver.js +30 -30
- package/build/src/protocol/delivery-preview.d.ts +13 -11
- package/build/src/protocol/delivery-preview.js +2 -2
- package/build/src/protocol/execution-observation.d.ts +5 -13
- package/build/src/protocol/intent.d.ts +6 -9
- package/build/src/protocol/intent.js +18 -31
- package/build/src/protocol/operations.d.ts +48 -53
- package/build/src/protocol/operations.js +16 -25
- package/build/src/protocol/outcome.d.ts +3 -1
- package/build/src/protocol/placement.d.ts +1 -2
- package/build/src/protocol/placement.js +1 -1
- package/build/src/protocol/progress.d.ts +1 -0
- package/build/src/protocol/read/status.d.ts +29 -112
- package/build/src/protocol/read/status.js +52 -78
- package/build/src/protocol/reintegrate.d.ts +1 -2
- package/build/src/protocol/reintegrate.js +0 -1
- package/build/src/protocol/result-leaves.d.ts +11 -32
- package/build/src/protocol/result-leaves.js +18 -57
- package/build/src/protocol/result-reasons.d.ts +6 -6
- package/build/src/protocol/review.js +0 -1
- package/build/src/protocol/verify.d.ts +192 -146
- package/build/src/protocol/verify.js +60 -47
- package/build/src/runtime/proc/windows-launch.exe +0 -0
- package/build/src/settings.d.ts +8 -9
- package/build/src/settings.js +16 -13
- package/build/src/settlement/holder.js +2 -2
- package/build/src/settlement/settle.d.ts +0 -6
- package/build/src/settlement/settle.js +0 -4
- package/build/src/verification/declaration.d.ts +3 -6
- package/build/src/verification/declaration.js +3 -5
- package/build/src/verification/observation.d.ts +2 -2
- package/build/src/world.d.ts +3 -2
- package/build/src/world.js +5 -6
- package/package.json +1 -1
- package/plugins/paseo/plugin/index.server.ts +1 -1
- package/plugins/paseo/plugin/server/attach.ts +74 -67
- package/plugins/paseo/plugin/server/keiyaku.ts +80 -14
- package/plugins/paseo/plugin/server/message.ts +2 -1
- package/plugins/paseo/plugin/server/mirror-identity.ts +6 -4
- package/plugins/paseo/plugin/server/sdk.ts +9 -11
- package/plugins/paseo/plugin/server/transport.ts +24 -1
- package/plugins/pi/README.md +16 -18
- package/plugins/pi/akuma-tools.ts +31 -38
- package/plugins/pi/keiyaku.ts +15 -4
- package/skills/keiyaku-akuma/SKILL.md +16 -11
- package/skills/keiyaku-babysit/SKILL.md +5 -3
- package/skills/keiyaku-bind/SKILL.md +4 -3
- package/skills/keiyaku-debt/SKILL.md +17 -17
- package/skills/keiyaku-workflow/SKILL.md +4 -3
- package/build/src/akuma/providers/codex-app-server/configuration.d.ts +0 -5
- package/build/src/akuma/providers/codex-app-server/configuration.js +0 -72
- package/build/src/cli/commands/debt-query.d.ts +0 -5
- package/build/src/cli/commands/debt-query.js +0 -194
- package/build/src/cli/render/akuma-tool-command.d.ts +0 -6
- package/build/src/cli/render/akuma-tool-command.js +0 -143
- package/build/src/cli/render/akuma-tool.d.ts +0 -29
- package/build/src/cli/render/akuma-tool.js +0 -225
- package/build/src/debt/context.d.ts +0 -28
- package/build/src/debt/context.js +0 -102
- package/build/src/debt/created-observation.d.ts +0 -26
- package/build/src/debt/created-observation.js +0 -38
- package/build/src/debt/query.d.ts +0 -80
- package/build/src/debt/query.js +0 -283
- package/build/src/library/contract-execution.d.ts +0 -28
- package/build/src/library/contract-execution.js +0 -506
- package/build/src/library/keiyaku-policy.d.ts +0 -27
- package/build/src/library/keiyaku-policy.js +0 -44
- package/build/src/library/keiyaku-status.d.ts +0 -1487
- package/build/src/library/keiyaku-status.js +0 -92
|
@@ -1,13 +1,69 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import type { TellResult } from "./call-initial-tell.js";
|
|
3
3
|
import { type AkumaId } from "./identity.js";
|
|
4
|
+
export declare const akumaCatalogueRowSchema: z.ZodReadonly<z.ZodObject<{
|
|
5
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
6
|
+
life: z.ZodEnum<{
|
|
7
|
+
hung: "hung";
|
|
8
|
+
untidy: "untidy";
|
|
9
|
+
killed: "killed";
|
|
10
|
+
running: "running";
|
|
11
|
+
asleep: "asleep";
|
|
12
|
+
stranded: "stranded";
|
|
13
|
+
unborn: "unborn";
|
|
14
|
+
stillborn: "stillborn";
|
|
15
|
+
}>;
|
|
16
|
+
lifeAt: z.ZodExactOptional<z.ZodString>;
|
|
17
|
+
lastActivityAt: z.ZodExactOptional<z.ZodString>;
|
|
18
|
+
pending: z.ZodExactOptional<z.ZodNumber>;
|
|
19
|
+
diagnostic: z.ZodExactOptional<z.ZodString>;
|
|
20
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
21
|
+
parentAkumaId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>>;
|
|
22
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
23
|
+
kind: z.ZodLiteral<"associated">;
|
|
24
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
25
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
26
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
27
|
+
}, z.core.$strict>>]>>;
|
|
28
|
+
}, z.core.$strict>>;
|
|
29
|
+
export declare const akumaCatalogueSchema: z.ZodReadonly<z.ZodObject<{
|
|
30
|
+
kind: z.ZodLiteral<"akuma-catalogue">;
|
|
31
|
+
observedAt: z.ZodString;
|
|
32
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
33
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
34
|
+
life: z.ZodEnum<{
|
|
35
|
+
hung: "hung";
|
|
36
|
+
untidy: "untidy";
|
|
37
|
+
killed: "killed";
|
|
38
|
+
running: "running";
|
|
39
|
+
asleep: "asleep";
|
|
40
|
+
stranded: "stranded";
|
|
41
|
+
unborn: "unborn";
|
|
42
|
+
stillborn: "stillborn";
|
|
43
|
+
}>;
|
|
44
|
+
lifeAt: z.ZodExactOptional<z.ZodString>;
|
|
45
|
+
lastActivityAt: z.ZodExactOptional<z.ZodString>;
|
|
46
|
+
pending: z.ZodExactOptional<z.ZodNumber>;
|
|
47
|
+
diagnostic: z.ZodExactOptional<z.ZodString>;
|
|
48
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
49
|
+
parentAkumaId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>>;
|
|
50
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
51
|
+
kind: z.ZodLiteral<"associated">;
|
|
52
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
53
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
54
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
55
|
+
}, z.core.$strict>>]>>;
|
|
56
|
+
}, z.core.$strict>>>>>;
|
|
57
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
58
|
+
aliasesError: z.ZodExactOptional<z.ZodString>;
|
|
59
|
+
}, z.core.$strict>>;
|
|
4
60
|
export declare const akumaObservationSchema: z.ZodReadonly<z.ZodObject<{
|
|
5
61
|
kind: z.ZodLiteral<"akuma">;
|
|
6
62
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
7
63
|
life: z.ZodEnum<{
|
|
8
|
-
killed: "killed";
|
|
9
64
|
hung: "hung";
|
|
10
65
|
untidy: "untidy";
|
|
66
|
+
killed: "killed";
|
|
11
67
|
running: "running";
|
|
12
68
|
asleep: "asleep";
|
|
13
69
|
stranded: "stranded";
|
|
@@ -15,117 +71,40 @@ export declare const akumaObservationSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
15
71
|
cwd: z.ZodString;
|
|
16
72
|
provider: z.ZodString;
|
|
17
73
|
model: z.ZodExactOptional<z.ZodString>;
|
|
18
|
-
|
|
19
|
-
kind: z.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}>>;
|
|
49
|
-
path: z.ZodExactOptional<z.ZodString>;
|
|
50
|
-
glob: z.ZodExactOptional<z.ZodString>;
|
|
51
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
52
|
-
kind: z.ZodLiteral<"fileChange">;
|
|
53
|
-
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
54
|
-
path: z.ZodString;
|
|
55
|
-
op: z.ZodEnum<{
|
|
56
|
-
add: "add";
|
|
57
|
-
update: "update";
|
|
58
|
-
delete: "delete";
|
|
59
|
-
unspecified: "unspecified";
|
|
60
|
-
}>;
|
|
61
|
-
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
62
|
-
added: z.ZodNumber;
|
|
63
|
-
removed: z.ZodNumber;
|
|
64
|
-
}, z.core.$strict>>>;
|
|
65
|
-
}, z.core.$strict>>>>;
|
|
66
|
-
}, z.core.$strict>>]>;
|
|
67
|
-
kind: z.ZodLiteral<"tool">;
|
|
68
|
-
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
69
|
-
message: z.ZodExactOptional<z.ZodString>;
|
|
70
|
-
status: z.ZodEnum<{
|
|
71
|
-
error: "error";
|
|
72
|
-
ok: "ok";
|
|
73
|
-
}>;
|
|
74
|
-
}, z.core.$strict>>]>;
|
|
75
|
-
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
76
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
77
|
-
call: z.ZodReadonly<z.ZodObject<{
|
|
78
|
-
kind: z.ZodLiteral<"other">;
|
|
79
|
-
input: z.ZodExactOptional<z.ZodString>;
|
|
80
|
-
}, z.core.$strict>>;
|
|
81
|
-
name: z.ZodString;
|
|
82
|
-
kind: z.ZodLiteral<"tool">;
|
|
83
|
-
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
84
|
-
message: z.ZodExactOptional<z.ZodString>;
|
|
85
|
-
status: z.ZodEnum<{
|
|
86
|
-
error: "error";
|
|
87
|
-
ok: "ok";
|
|
88
|
-
}>;
|
|
89
|
-
}, z.core.$strict>>]>;
|
|
90
|
-
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
91
|
-
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
92
|
-
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
93
|
-
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
94
|
-
text: z.ZodString;
|
|
95
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
96
|
-
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
97
|
-
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
98
|
-
text: z.ZodString;
|
|
99
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
100
|
-
kind: z.ZodLiteral<"report">;
|
|
101
|
-
text: z.ZodString;
|
|
102
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
103
|
-
kind: z.ZodLiteral<"call">;
|
|
104
|
-
text: z.ZodString;
|
|
105
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
106
|
-
kind: z.ZodLiteral<"tell">;
|
|
107
|
-
text: z.ZodString;
|
|
108
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
109
|
-
kind: z.ZodLiteral<"pending-tell">;
|
|
110
|
-
text: z.ZodString;
|
|
111
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
112
|
-
kind: z.ZodLiteral<"gap">;
|
|
113
|
-
}, z.core.$strict>>]>>>>;
|
|
114
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
115
|
-
kind: z.ZodLiteral<"idle">;
|
|
116
|
-
entries: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
117
|
-
kind: z.ZodLiteral<"pending-tell">;
|
|
74
|
+
work: z.ZodReadonly<z.ZodObject<{
|
|
75
|
+
kind: z.ZodEnum<{
|
|
76
|
+
open: "open";
|
|
77
|
+
idle: "idle";
|
|
78
|
+
}>;
|
|
79
|
+
turn: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
80
|
+
sequence: z.ZodNumber;
|
|
81
|
+
bodySequence: z.ZodNumber;
|
|
82
|
+
}, z.core.$strict>>>;
|
|
83
|
+
activeTools: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
84
|
+
id: z.ZodNumber;
|
|
85
|
+
turnSequence: z.ZodNumber;
|
|
86
|
+
toolId: z.ZodString;
|
|
87
|
+
}, z.core.$strict>>>>>;
|
|
88
|
+
latestActivity: z.ZodExactOptional<z.ZodNumber>;
|
|
89
|
+
pending: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
90
|
+
id: z.ZodNumber;
|
|
91
|
+
tellId: z.ZodString;
|
|
92
|
+
}, z.core.$strict>>>>>;
|
|
93
|
+
outcome: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
94
|
+
historyId: z.ZodTemplateLiteral<`turn/${number}`>;
|
|
95
|
+
activityId: z.ZodNumber;
|
|
96
|
+
verdict: z.ZodEnum<{
|
|
97
|
+
answered: "answered";
|
|
98
|
+
failed: "failed";
|
|
99
|
+
canceled: "canceled";
|
|
100
|
+
}>;
|
|
101
|
+
}, z.core.$strict>>>;
|
|
102
|
+
summary: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
103
|
+
id: z.ZodNumber;
|
|
118
104
|
text: z.ZodString;
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
123
|
-
kind: z.ZodLiteral<"failed">;
|
|
124
|
-
diagnostic: z.ZodString;
|
|
125
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
126
|
-
kind: z.ZodLiteral<"canceled">;
|
|
127
|
-
}, z.core.$strict>>]>]>>>>;
|
|
128
|
-
}, z.core.$strict>>]>;
|
|
105
|
+
clipped: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
106
|
+
}, z.core.$strict>>>;
|
|
107
|
+
}, z.core.$strict>>;
|
|
129
108
|
lastActivityAt: z.ZodExactOptional<z.ZodString>;
|
|
130
109
|
strandedReason: z.ZodExactOptional<z.ZodLiteral<"resume-unsupported">>;
|
|
131
110
|
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
@@ -135,20 +114,6 @@ export declare const akumaObservationSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
135
114
|
kind: z.ZodLiteral<"failed">;
|
|
136
115
|
diagnostic: z.ZodString;
|
|
137
116
|
}, z.core.$strict>>]>>;
|
|
138
|
-
createdDebts: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
139
|
-
id: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
|
|
140
|
-
disposition: z.ZodEnum<{
|
|
141
|
-
drop: "drop";
|
|
142
|
-
blocked: "blocked";
|
|
143
|
-
ready: "ready";
|
|
144
|
-
done: "done";
|
|
145
|
-
}>;
|
|
146
|
-
title: z.ZodString;
|
|
147
|
-
priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
148
|
-
}, z.core.$strict>>>>, z.ZodReadonly<z.ZodObject<{
|
|
149
|
-
kind: z.ZodLiteral<"failed">;
|
|
150
|
-
diagnostic: z.ZodString;
|
|
151
|
-
}, z.core.$strict>>]>>;
|
|
152
117
|
changes: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
153
118
|
path: z.ZodString;
|
|
154
119
|
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
@@ -176,9 +141,9 @@ export declare const akumaWaitItemSchema: z.ZodUnion<readonly [z.ZodReadonly<z.Z
|
|
|
176
141
|
kind: z.ZodLiteral<"observed">;
|
|
177
142
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
178
143
|
life: z.ZodEnum<{
|
|
179
|
-
killed: "killed";
|
|
180
144
|
hung: "hung";
|
|
181
145
|
untidy: "untidy";
|
|
146
|
+
killed: "killed";
|
|
182
147
|
running: "running";
|
|
183
148
|
asleep: "asleep";
|
|
184
149
|
stranded: "stranded";
|
|
@@ -205,19 +170,52 @@ export declare const akumaWaitItemSchema: z.ZodUnion<readonly [z.ZodReadonly<z.Z
|
|
|
205
170
|
kind: z.ZodLiteral<"missing">;
|
|
206
171
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
207
172
|
}, z.core.$strict>>]>;
|
|
208
|
-
export declare const
|
|
173
|
+
export declare const akumaWaitNormalResultSchema: z.ZodReadonly<z.ZodObject<{
|
|
209
174
|
kind: z.ZodLiteral<"akuma">;
|
|
210
175
|
reason: z.ZodEnum<{
|
|
176
|
+
deadline: "deadline";
|
|
211
177
|
completed: "completed";
|
|
178
|
+
}>;
|
|
179
|
+
results: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
180
|
+
kind: z.ZodLiteral<"observed">;
|
|
181
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
182
|
+
life: z.ZodEnum<{
|
|
183
|
+
hung: "hung";
|
|
184
|
+
untidy: "untidy";
|
|
185
|
+
killed: "killed";
|
|
186
|
+
running: "running";
|
|
187
|
+
asleep: "asleep";
|
|
188
|
+
stranded: "stranded";
|
|
189
|
+
}>;
|
|
190
|
+
pending: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
191
|
+
outcome: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
192
|
+
kind: z.ZodLiteral<"answered">;
|
|
193
|
+
historyId: z.ZodTemplateLiteral<`turn/${number}`>;
|
|
194
|
+
answer: z.ZodString;
|
|
195
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
196
|
+
kind: z.ZodLiteral<"failed">;
|
|
197
|
+
historyId: z.ZodTemplateLiteral<`turn/${number}`>;
|
|
198
|
+
diagnostic: z.ZodString;
|
|
199
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
200
|
+
kind: z.ZodLiteral<"canceled">;
|
|
201
|
+
historyId: z.ZodTemplateLiteral<`turn/${number}`>;
|
|
202
|
+
}, z.core.$strict>>]>>;
|
|
203
|
+
strandedReason: z.ZodExactOptional<z.ZodLiteral<"resume-unsupported">>;
|
|
204
|
+
}, z.core.$strict>>>>;
|
|
205
|
+
}, z.core.$strict>>;
|
|
206
|
+
export declare const akumaWaitResultSchema: z.ZodReadonly<z.ZodObject<{
|
|
207
|
+
kind: z.ZodLiteral<"akuma">;
|
|
208
|
+
reason: z.ZodEnum<{
|
|
212
209
|
deadline: "deadline";
|
|
210
|
+
completed: "completed";
|
|
213
211
|
}>;
|
|
214
212
|
results: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
215
213
|
kind: z.ZodLiteral<"observed">;
|
|
216
214
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
217
215
|
life: z.ZodEnum<{
|
|
218
|
-
killed: "killed";
|
|
219
216
|
hung: "hung";
|
|
220
217
|
untidy: "untidy";
|
|
218
|
+
killed: "killed";
|
|
221
219
|
running: "running";
|
|
222
220
|
asleep: "asleep";
|
|
223
221
|
stranded: "stranded";
|
|
@@ -249,69 +247,116 @@ export declare const akumaKillResultSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
249
247
|
results: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
250
248
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
251
249
|
outcome: z.ZodEnum<{
|
|
252
|
-
killed: "killed";
|
|
253
|
-
hung: "hung";
|
|
254
250
|
unavailable: "unavailable";
|
|
251
|
+
hung: "hung";
|
|
255
252
|
untidy: "untidy";
|
|
253
|
+
killed: "killed";
|
|
256
254
|
"already-killed": "already-killed";
|
|
257
255
|
"already-stopped": "already-stopped";
|
|
258
256
|
}>;
|
|
259
257
|
}, z.core.$strict>>>>;
|
|
260
258
|
}, z.core.$strict>>;
|
|
261
|
-
declare const
|
|
262
|
-
kind: z.
|
|
259
|
+
export declare const operationDiagnosticSchema: z.ZodReadonly<z.ZodObject<{
|
|
260
|
+
kind: z.ZodEnum<{
|
|
261
|
+
"authority-corruption": "authority-corruption";
|
|
262
|
+
infrastructure: "infrastructure";
|
|
263
|
+
}>;
|
|
263
264
|
diagnostic: z.ZodString;
|
|
264
|
-
logPath: z.ZodExactOptional<z.ZodString>;
|
|
265
265
|
}, z.core.$strict>>;
|
|
266
|
-
export declare const
|
|
267
|
-
|
|
266
|
+
export declare const tellFailureSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
267
|
+
diagnostic: z.ZodString;
|
|
268
|
+
logPath: z.ZodExactOptional<z.ZodString>;
|
|
269
|
+
stage: z.ZodLiteral<"wake">;
|
|
270
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
271
|
+
stage: z.ZodLiteral<"observation">;
|
|
272
|
+
diagnostic: z.ZodString;
|
|
273
|
+
}, z.core.$strict>>]>;
|
|
274
|
+
declare const akumaTextObservationSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
275
|
+
kind: z.ZodLiteral<"answered">;
|
|
276
|
+
answer: z.ZodString;
|
|
268
277
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
269
278
|
kind: z.ZodLiteral<"failed">;
|
|
270
279
|
diagnostic: z.ZodString;
|
|
271
|
-
|
|
280
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
281
|
+
kind: z.ZodLiteral<"unanswered">;
|
|
282
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
283
|
+
kind: z.ZodLiteral<"deadline">;
|
|
272
284
|
}, z.core.$strict>>]>;
|
|
273
|
-
declare const
|
|
274
|
-
kind: z.ZodLiteral<"
|
|
275
|
-
|
|
285
|
+
export declare const completedTextObservationSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
286
|
+
kind: z.ZodLiteral<"answered">;
|
|
287
|
+
answer: z.ZodString;
|
|
276
288
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
277
|
-
kind: z.ZodLiteral<"
|
|
278
|
-
bodySequence: z.ZodNumber;
|
|
279
|
-
evidence: z.ZodEnum<{
|
|
280
|
-
hung: "hung";
|
|
281
|
-
untidy: "untidy";
|
|
282
|
-
}>;
|
|
289
|
+
kind: z.ZodLiteral<"unanswered">;
|
|
283
290
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
284
|
-
kind: z.ZodLiteral<"
|
|
285
|
-
bodySequence: z.ZodNumber;
|
|
291
|
+
kind: z.ZodLiteral<"deadline">;
|
|
286
292
|
}, z.core.$strict>>]>;
|
|
287
|
-
export declare const akumaTellResultSchema: z.ZodReadonly<z.ZodObject<{
|
|
293
|
+
export declare const akumaTellResultSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
294
|
+
wake: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
295
|
+
kind: z.ZodLiteral<"pending">;
|
|
296
|
+
}, z.core.$strict>>>;
|
|
297
|
+
input: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
298
|
+
kind: z.ZodLiteral<"answered">;
|
|
299
|
+
answer: z.ZodString;
|
|
300
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
301
|
+
kind: z.ZodLiteral<"unanswered">;
|
|
302
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
303
|
+
kind: z.ZodLiteral<"deadline">;
|
|
304
|
+
}, z.core.$strict>>]>>;
|
|
288
305
|
akumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
289
306
|
tellId: z.ZodString;
|
|
290
|
-
|
|
307
|
+
interrupt: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
291
308
|
kind: z.ZodLiteral<"pending">;
|
|
292
309
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
293
|
-
kind: z.ZodLiteral<"
|
|
310
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
311
|
+
evidence: z.ZodEnum<{
|
|
312
|
+
hung: "hung";
|
|
313
|
+
untidy: "untidy";
|
|
314
|
+
}>;
|
|
315
|
+
}, z.core.$strict>>]>>;
|
|
316
|
+
kind: z.ZodLiteral<"admitted">;
|
|
317
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
318
|
+
failures: z.ZodReadonly<z.ZodTuple<[z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
319
|
+
diagnostic: z.ZodString;
|
|
320
|
+
logPath: z.ZodExactOptional<z.ZodString>;
|
|
321
|
+
stage: z.ZodLiteral<"wake">;
|
|
322
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
323
|
+
stage: z.ZodLiteral<"observation">;
|
|
324
|
+
diagnostic: z.ZodString;
|
|
325
|
+
}, z.core.$strict>>]>], z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
294
326
|
diagnostic: z.ZodString;
|
|
295
327
|
logPath: z.ZodExactOptional<z.ZodString>;
|
|
328
|
+
stage: z.ZodLiteral<"wake">;
|
|
329
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
330
|
+
stage: z.ZodLiteral<"observation">;
|
|
331
|
+
diagnostic: z.ZodString;
|
|
332
|
+
}, z.core.$strict>>]>>>;
|
|
333
|
+
wake: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
334
|
+
kind: z.ZodLiteral<"pending">;
|
|
335
|
+
}, z.core.$strict>>>;
|
|
336
|
+
input: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
337
|
+
kind: z.ZodLiteral<"answered">;
|
|
338
|
+
answer: z.ZodString;
|
|
339
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
340
|
+
kind: z.ZodLiteral<"unanswered">;
|
|
341
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
342
|
+
kind: z.ZodLiteral<"deadline">;
|
|
296
343
|
}, z.core.$strict>>]>>;
|
|
344
|
+
akumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
345
|
+
tellId: z.ZodString;
|
|
297
346
|
interrupt: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
298
|
-
kind: z.ZodLiteral<"
|
|
299
|
-
bodySequence: z.ZodNumber;
|
|
347
|
+
kind: z.ZodLiteral<"pending">;
|
|
300
348
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
301
349
|
kind: z.ZodLiteral<"unavailable">;
|
|
302
|
-
bodySequence: z.ZodNumber;
|
|
303
350
|
evidence: z.ZodEnum<{
|
|
304
351
|
hung: "hung";
|
|
305
352
|
untidy: "untidy";
|
|
306
353
|
}>;
|
|
307
354
|
}, z.core.$strict>>]>>;
|
|
308
|
-
|
|
355
|
+
kind: z.ZodLiteral<"failed">;
|
|
356
|
+
}, z.core.$strict>>]>;
|
|
309
357
|
export declare const akumaAskObservationSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
310
358
|
kind: z.ZodLiteral<"answered">;
|
|
311
359
|
answer: z.ZodJSONSchema;
|
|
312
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
313
|
-
kind: z.ZodLiteral<"answered">;
|
|
314
|
-
answerUndefined: z.ZodLiteral<true>;
|
|
315
360
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
316
361
|
kind: z.ZodLiteral<"failed">;
|
|
317
362
|
diagnostic: z.ZodString;
|
|
@@ -324,7 +369,7 @@ export declare const akumaAskObservationSchema: z.ZodUnion<readonly [z.ZodReadon
|
|
|
324
369
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
325
370
|
kind: z.ZodLiteral<"deadline">;
|
|
326
371
|
}, z.core.$strict>>]>;
|
|
327
|
-
export declare const
|
|
372
|
+
export declare const akumaAskNormalResultSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
328
373
|
kind: z.ZodLiteral<"answered">;
|
|
329
374
|
answer: z.ZodJSONSchema;
|
|
330
375
|
wake: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
@@ -335,71 +380,58 @@ export declare const akumaAskResultSchema: z.ZodUnion<readonly [z.ZodReadonly<z.
|
|
|
335
380
|
akumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
336
381
|
tellId: z.ZodString;
|
|
337
382
|
interrupt: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
338
|
-
kind: z.ZodLiteral<"
|
|
339
|
-
bodySequence: z.ZodNumber;
|
|
383
|
+
kind: z.ZodLiteral<"pending">;
|
|
340
384
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
341
385
|
kind: z.ZodLiteral<"unavailable">;
|
|
342
|
-
bodySequence: z.ZodNumber;
|
|
343
386
|
evidence: z.ZodEnum<{
|
|
344
387
|
hung: "hung";
|
|
345
388
|
untidy: "untidy";
|
|
346
389
|
}>;
|
|
347
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
348
|
-
kind: z.ZodLiteral<"pending">;
|
|
349
|
-
bodySequence: z.ZodNumber;
|
|
350
390
|
}, z.core.$strict>>]>>;
|
|
351
391
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
352
|
-
kind: z.ZodLiteral<"
|
|
353
|
-
|
|
354
|
-
|
|
392
|
+
kind: z.ZodLiteral<"unanswered">;
|
|
393
|
+
wake: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
394
|
+
kind: z.ZodLiteral<"pending">;
|
|
395
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
355
396
|
kind: z.ZodLiteral<"failed">;
|
|
356
397
|
diagnostic: z.ZodString;
|
|
357
398
|
logPath: z.ZodExactOptional<z.ZodString>;
|
|
358
|
-
}, z.core.$strict
|
|
399
|
+
}, z.core.$strict>>]>>;
|
|
359
400
|
akumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
360
401
|
tellId: z.ZodString;
|
|
361
402
|
interrupt: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
362
|
-
kind: z.ZodLiteral<"
|
|
363
|
-
bodySequence: z.ZodNumber;
|
|
403
|
+
kind: z.ZodLiteral<"pending">;
|
|
364
404
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
365
405
|
kind: z.ZodLiteral<"unavailable">;
|
|
366
|
-
bodySequence: z.ZodNumber;
|
|
367
406
|
evidence: z.ZodEnum<{
|
|
368
407
|
hung: "hung";
|
|
369
408
|
untidy: "untidy";
|
|
370
409
|
}>;
|
|
371
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
372
|
-
kind: z.ZodLiteral<"pending">;
|
|
373
|
-
bodySequence: z.ZodNumber;
|
|
374
410
|
}, z.core.$strict>>]>>;
|
|
375
411
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
376
|
-
kind: z.ZodLiteral<"
|
|
377
|
-
|
|
378
|
-
|
|
412
|
+
kind: z.ZodLiteral<"deadline">;
|
|
413
|
+
wake: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
414
|
+
kind: z.ZodLiteral<"pending">;
|
|
415
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
379
416
|
kind: z.ZodLiteral<"failed">;
|
|
380
417
|
diagnostic: z.ZodString;
|
|
381
418
|
logPath: z.ZodExactOptional<z.ZodString>;
|
|
382
|
-
}, z.core.$strict
|
|
419
|
+
}, z.core.$strict>>]>>;
|
|
383
420
|
akumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
384
421
|
tellId: z.ZodString;
|
|
385
422
|
interrupt: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
386
|
-
kind: z.ZodLiteral<"
|
|
387
|
-
bodySequence: z.ZodNumber;
|
|
423
|
+
kind: z.ZodLiteral<"pending">;
|
|
388
424
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
389
425
|
kind: z.ZodLiteral<"unavailable">;
|
|
390
|
-
bodySequence: z.ZodNumber;
|
|
391
426
|
evidence: z.ZodEnum<{
|
|
392
427
|
hung: "hung";
|
|
393
428
|
untidy: "untidy";
|
|
394
429
|
}>;
|
|
395
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
396
|
-
kind: z.ZodLiteral<"pending">;
|
|
397
|
-
bodySequence: z.ZodNumber;
|
|
398
430
|
}, z.core.$strict>>]>>;
|
|
399
|
-
}, z.core.$strict
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
answer: z.
|
|
431
|
+
}, z.core.$strict>>]>;
|
|
432
|
+
export declare const akumaAskResultSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
433
|
+
kind: z.ZodLiteral<"answered">;
|
|
434
|
+
answer: z.ZodJSONSchema;
|
|
403
435
|
wake: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
404
436
|
kind: z.ZodLiteral<"failed">;
|
|
405
437
|
diagnostic: z.ZodString;
|
|
@@ -408,18 +440,13 @@ export declare const akumaAskResultSchema: z.ZodUnion<readonly [z.ZodReadonly<z.
|
|
|
408
440
|
akumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
409
441
|
tellId: z.ZodString;
|
|
410
442
|
interrupt: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
411
|
-
kind: z.ZodLiteral<"
|
|
412
|
-
bodySequence: z.ZodNumber;
|
|
443
|
+
kind: z.ZodLiteral<"pending">;
|
|
413
444
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
414
445
|
kind: z.ZodLiteral<"unavailable">;
|
|
415
|
-
bodySequence: z.ZodNumber;
|
|
416
446
|
evidence: z.ZodEnum<{
|
|
417
447
|
hung: "hung";
|
|
418
448
|
untidy: "untidy";
|
|
419
449
|
}>;
|
|
420
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
421
|
-
kind: z.ZodLiteral<"pending">;
|
|
422
|
-
bodySequence: z.ZodNumber;
|
|
423
450
|
}, z.core.$strict>>]>>;
|
|
424
451
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
425
452
|
kind: z.ZodLiteral<"unanswered">;
|
|
@@ -433,18 +460,13 @@ export declare const akumaAskResultSchema: z.ZodUnion<readonly [z.ZodReadonly<z.
|
|
|
433
460
|
akumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
434
461
|
tellId: z.ZodString;
|
|
435
462
|
interrupt: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
436
|
-
kind: z.ZodLiteral<"
|
|
437
|
-
bodySequence: z.ZodNumber;
|
|
463
|
+
kind: z.ZodLiteral<"pending">;
|
|
438
464
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
439
465
|
kind: z.ZodLiteral<"unavailable">;
|
|
440
|
-
bodySequence: z.ZodNumber;
|
|
441
466
|
evidence: z.ZodEnum<{
|
|
442
467
|
hung: "hung";
|
|
443
468
|
untidy: "untidy";
|
|
444
469
|
}>;
|
|
445
|
-
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
446
|
-
kind: z.ZodLiteral<"pending">;
|
|
447
|
-
bodySequence: z.ZodNumber;
|
|
448
470
|
}, z.core.$strict>>]>>;
|
|
449
471
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
450
472
|
kind: z.ZodLiteral<"deadline">;
|
|
@@ -458,18 +480,52 @@ export declare const akumaAskResultSchema: z.ZodUnion<readonly [z.ZodReadonly<z.
|
|
|
458
480
|
akumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
459
481
|
tellId: z.ZodString;
|
|
460
482
|
interrupt: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
461
|
-
kind: z.ZodLiteral<"
|
|
462
|
-
bodySequence: z.ZodNumber;
|
|
483
|
+
kind: z.ZodLiteral<"pending">;
|
|
463
484
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
464
485
|
kind: z.ZodLiteral<"unavailable">;
|
|
465
|
-
bodySequence: z.ZodNumber;
|
|
466
486
|
evidence: z.ZodEnum<{
|
|
467
487
|
hung: "hung";
|
|
468
488
|
untidy: "untidy";
|
|
469
489
|
}>;
|
|
490
|
+
}, z.core.$strict>>]>>;
|
|
491
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
492
|
+
kind: z.ZodLiteral<"failed">;
|
|
493
|
+
diagnostic: z.ZodString;
|
|
494
|
+
wake: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
495
|
+
kind: z.ZodLiteral<"failed">;
|
|
496
|
+
diagnostic: z.ZodString;
|
|
497
|
+
logPath: z.ZodExactOptional<z.ZodString>;
|
|
498
|
+
}, z.core.$strict>>>;
|
|
499
|
+
akumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
500
|
+
tellId: z.ZodString;
|
|
501
|
+
interrupt: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
502
|
+
kind: z.ZodLiteral<"pending">;
|
|
470
503
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
504
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
505
|
+
evidence: z.ZodEnum<{
|
|
506
|
+
hung: "hung";
|
|
507
|
+
untidy: "untidy";
|
|
508
|
+
}>;
|
|
509
|
+
}, z.core.$strict>>]>>;
|
|
510
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
511
|
+
kind: z.ZodLiteral<"invalid-output">;
|
|
512
|
+
diagnostic: z.ZodString;
|
|
513
|
+
answer: z.ZodString;
|
|
514
|
+
wake: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
515
|
+
kind: z.ZodLiteral<"failed">;
|
|
516
|
+
diagnostic: z.ZodString;
|
|
517
|
+
logPath: z.ZodExactOptional<z.ZodString>;
|
|
518
|
+
}, z.core.$strict>>>;
|
|
519
|
+
akumaId: z.ZodPipe<z.ZodString, z.ZodTransform<AkumaId, string>>;
|
|
520
|
+
tellId: z.ZodString;
|
|
521
|
+
interrupt: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
471
522
|
kind: z.ZodLiteral<"pending">;
|
|
472
|
-
|
|
523
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
524
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
525
|
+
evidence: z.ZodEnum<{
|
|
526
|
+
hung: "hung";
|
|
527
|
+
untidy: "untidy";
|
|
528
|
+
}>;
|
|
473
529
|
}, z.core.$strict>>]>>;
|
|
474
530
|
}, z.core.$strict>>]>;
|
|
475
531
|
export type AkumaObservation = z.output<typeof akumaObservationSchema>;
|
|
@@ -481,42 +537,27 @@ export type AkumaWaitItem = z.output<typeof akumaWaitItemSchema>;
|
|
|
481
537
|
export type AkumaWaitResult = z.output<typeof akumaWaitResultSchema>;
|
|
482
538
|
export type AkumaKillResult = z.output<typeof akumaKillResultSchema>;
|
|
483
539
|
export type AkumaTellResult = z.output<typeof akumaTellResultSchema>;
|
|
484
|
-
export type AkumaAskObservation
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
}
|
|
502
|
-
kind: "deadline";
|
|
503
|
-
}>;
|
|
504
|
-
type AskSubject = Readonly<{
|
|
540
|
+
export type AkumaAskObservation = z.output<typeof akumaAskObservationSchema>;
|
|
541
|
+
export type AkumaAskResult = z.output<typeof akumaAskResultSchema>;
|
|
542
|
+
/** Project this invocation's already observed admission, never reread it. */
|
|
543
|
+
export declare function tellAdmissionEvidence(akumaId: AkumaId, tell: TellResult): {
|
|
544
|
+
interrupt?: {
|
|
545
|
+
kind: "pending";
|
|
546
|
+
evidence?: never;
|
|
547
|
+
} | {
|
|
548
|
+
kind: "unavailable";
|
|
549
|
+
evidence: "hung" | "untidy";
|
|
550
|
+
};
|
|
551
|
+
wake?: {
|
|
552
|
+
logPath?: string;
|
|
553
|
+
kind: "failed";
|
|
554
|
+
diagnostic: string;
|
|
555
|
+
} | {
|
|
556
|
+
kind: "pending";
|
|
557
|
+
};
|
|
505
558
|
akumaId: AkumaId;
|
|
506
559
|
tellId: string;
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
export
|
|
510
|
-
kind: "unanswered" | "deadline";
|
|
511
|
-
}> & Readonly<{
|
|
512
|
-
wake?: z.output<typeof failedWakeSchema>;
|
|
513
|
-
}>) | (Extract<AkumaAskObservation<T>, {
|
|
514
|
-
kind: "unanswered" | "deadline";
|
|
515
|
-
}> & Readonly<{
|
|
516
|
-
wake?: z.output<typeof publicWakeSchema>;
|
|
517
|
-
}>));
|
|
518
|
-
/** Project this invocation's already observed admission, never reread it. */
|
|
519
|
-
export declare function compactTellResult(akumaId: AkumaId, tell: TellResult): Omit<AkumaTellResult, "interrupt"> & Readonly<{
|
|
520
|
-
interrupt?: z.output<typeof interruptSchema>;
|
|
521
|
-
}>;
|
|
560
|
+
};
|
|
561
|
+
/** Tell judges wake and observation together; an answer cannot erase a failed wake. */
|
|
562
|
+
export declare function completeTell(receipt: ReturnType<typeof tellAdmissionEvidence>, observation?: z.output<typeof akumaTextObservationSchema>): AkumaTellResult;
|
|
522
563
|
export {};
|