@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
|
@@ -0,0 +1,754 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { type VerbName, type VerbOutput } from "./keiyaku-verbs.js";
|
|
3
|
+
/** Transport declarations describe routing facts, independently of complete native answers. */
|
|
4
|
+
export declare const modelOutputSchemas: {
|
|
5
|
+
readonly bind: z.ZodObject<{
|
|
6
|
+
kind: z.ZodLiteral<"accepted">;
|
|
7
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
8
|
+
worktreePath: z.ZodExactOptional<z.ZodString>;
|
|
9
|
+
target: z.ZodExactOptional<z.ZodString>;
|
|
10
|
+
overlaps: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
11
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
12
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
13
|
+
mine: z.ZodString;
|
|
14
|
+
theirs: z.ZodString;
|
|
15
|
+
relation: z.ZodExactOptional<z.ZodEnum<{
|
|
16
|
+
"mine-within-theirs": "mine-within-theirs";
|
|
17
|
+
"theirs-within-mine": "theirs-within-mine";
|
|
18
|
+
intersect: "intersect";
|
|
19
|
+
}>>;
|
|
20
|
+
}, z.core.$strict>>>>;
|
|
21
|
+
}, z.core.$strict>>>>>;
|
|
22
|
+
}, z.core.$strict>;
|
|
23
|
+
readonly verify: z.ZodObject<{
|
|
24
|
+
kind: z.ZodLiteral<"accepted">;
|
|
25
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
26
|
+
snapshot: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
27
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
28
|
+
index: z.ZodNumber;
|
|
29
|
+
requirement: z.ZodString;
|
|
30
|
+
verdict: z.ZodEnum<{
|
|
31
|
+
satisfied: "satisfied";
|
|
32
|
+
unsatisfied: "unsatisfied";
|
|
33
|
+
}>;
|
|
34
|
+
admission: z.ZodEnum<{
|
|
35
|
+
admitted: "admitted";
|
|
36
|
+
reused: "reused";
|
|
37
|
+
unrecorded: "unrecorded";
|
|
38
|
+
}>;
|
|
39
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
40
|
+
retainedPath: z.ZodExactOptional<z.ZodString>;
|
|
41
|
+
}, z.core.$strict>>;
|
|
42
|
+
placement: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
43
|
+
kind: z.ZodLiteral<"placed">;
|
|
44
|
+
integration: z.ZodString;
|
|
45
|
+
target: z.ZodExactOptional<z.ZodString>;
|
|
46
|
+
predecessor: z.ZodExactOptional<z.ZodString>;
|
|
47
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
48
|
+
kind: z.ZodLiteral<"delivery-missing">;
|
|
49
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
50
|
+
kind: z.ZodLiteral<"prerequisites-unsatisfied">;
|
|
51
|
+
unmet: z.ZodArray<z.ZodObject<{
|
|
52
|
+
contractId: z.ZodString;
|
|
53
|
+
state: z.ZodEnum<{
|
|
54
|
+
missing: "missing";
|
|
55
|
+
abandoned: "abandoned";
|
|
56
|
+
active: "active";
|
|
57
|
+
}>;
|
|
58
|
+
}, z.core.$strict>>;
|
|
59
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
60
|
+
kind: z.ZodLiteral<"gates-unsatisfied">;
|
|
61
|
+
unmet: z.ZodArray<z.ZodObject<{
|
|
62
|
+
gate: z.ZodString;
|
|
63
|
+
requirement: z.ZodString;
|
|
64
|
+
state: z.ZodEnum<{
|
|
65
|
+
missing: "missing";
|
|
66
|
+
unsatisfied: "unsatisfied";
|
|
67
|
+
stale: "stale";
|
|
68
|
+
}>;
|
|
69
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
70
|
+
reason: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
71
|
+
kind: z.ZodLiteral<"snapshot-changed">;
|
|
72
|
+
previousSnapshot: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
73
|
+
currentSnapshot: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
74
|
+
}, z.core.$strict>>>;
|
|
75
|
+
}, z.core.$strict>>;
|
|
76
|
+
}, z.core.$strict>]>>;
|
|
77
|
+
continuation: z.ZodExactOptional<z.ZodObject<{
|
|
78
|
+
claimed: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
|
|
79
|
+
stopped: z.ZodExactOptional<z.ZodArray<z.ZodObject<{
|
|
80
|
+
contractId: z.ZodString;
|
|
81
|
+
stop: z.ZodUnion<readonly [z.ZodObject<{
|
|
82
|
+
kind: z.ZodLiteral<"delivery-missing">;
|
|
83
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
84
|
+
kind: z.ZodLiteral<"prerequisites-unsatisfied">;
|
|
85
|
+
unmet: z.ZodArray<z.ZodObject<{
|
|
86
|
+
contractId: z.ZodString;
|
|
87
|
+
state: z.ZodEnum<{
|
|
88
|
+
missing: "missing";
|
|
89
|
+
abandoned: "abandoned";
|
|
90
|
+
active: "active";
|
|
91
|
+
}>;
|
|
92
|
+
}, z.core.$strict>>;
|
|
93
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
94
|
+
kind: z.ZodLiteral<"gates-unsatisfied">;
|
|
95
|
+
unmet: z.ZodArray<z.ZodObject<{
|
|
96
|
+
gate: z.ZodString;
|
|
97
|
+
requirement: z.ZodString;
|
|
98
|
+
state: z.ZodEnum<{
|
|
99
|
+
missing: "missing";
|
|
100
|
+
unsatisfied: "unsatisfied";
|
|
101
|
+
stale: "stale";
|
|
102
|
+
}>;
|
|
103
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
104
|
+
reason: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
105
|
+
kind: z.ZodLiteral<"snapshot-changed">;
|
|
106
|
+
previousSnapshot: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
107
|
+
currentSnapshot: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
108
|
+
}, z.core.$strict>>>;
|
|
109
|
+
}, z.core.$strict>>;
|
|
110
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
111
|
+
kind: z.ZodLiteral<"physical-lag">;
|
|
112
|
+
}, z.core.$strict>]>;
|
|
113
|
+
}, z.core.$strict>>>;
|
|
114
|
+
}, z.core.$strict>>;
|
|
115
|
+
}, z.core.$strict>;
|
|
116
|
+
readonly spawn: z.ZodObject<{
|
|
117
|
+
kind: z.ZodLiteral<"spawned">;
|
|
118
|
+
tellId: z.ZodExactOptional<z.ZodString>;
|
|
119
|
+
akumaId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
120
|
+
}, z.core.$strict>;
|
|
121
|
+
readonly fork: z.ZodObject<{
|
|
122
|
+
kind: z.ZodLiteral<"forked">;
|
|
123
|
+
parentAkumaId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>>;
|
|
124
|
+
childAkumaId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
125
|
+
}, z.core.$strict>;
|
|
126
|
+
readonly ask: z.ZodUnion<readonly [z.ZodObject<{
|
|
127
|
+
kind: z.ZodLiteral<"answered">;
|
|
128
|
+
tellId: z.ZodString;
|
|
129
|
+
akumaId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
130
|
+
answer: z.ZodUnknown;
|
|
131
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
132
|
+
kind: z.ZodLiteral<"unanswered">;
|
|
133
|
+
tellId: z.ZodString;
|
|
134
|
+
akumaId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
135
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
136
|
+
kind: z.ZodLiteral<"deadline">;
|
|
137
|
+
tellId: z.ZodString;
|
|
138
|
+
akumaId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
139
|
+
}, z.core.$strict>]>;
|
|
140
|
+
readonly wait: z.ZodObject<{
|
|
141
|
+
reason: z.ZodEnum<{
|
|
142
|
+
deadline: "deadline";
|
|
143
|
+
completed: "completed";
|
|
144
|
+
}>;
|
|
145
|
+
members: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
146
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
147
|
+
phase: z.ZodEnum<{
|
|
148
|
+
claimed: "claimed";
|
|
149
|
+
abandoned: "abandoned";
|
|
150
|
+
bound: "bound";
|
|
151
|
+
}>;
|
|
152
|
+
title: z.ZodExactOptional<z.ZodString>;
|
|
153
|
+
gates: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
154
|
+
name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
155
|
+
verdict: z.ZodEnum<{
|
|
156
|
+
missing: "missing";
|
|
157
|
+
satisfied: "satisfied";
|
|
158
|
+
unsatisfied: "unsatisfied";
|
|
159
|
+
stale: "stale";
|
|
160
|
+
}>;
|
|
161
|
+
}, z.core.$strict>>>>>;
|
|
162
|
+
phaseAt: z.ZodString;
|
|
163
|
+
delivered: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
164
|
+
changed: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
165
|
+
terminal: z.ZodExactOptional<z.ZodEnum<{
|
|
166
|
+
claimed: "claimed";
|
|
167
|
+
abandoned: "abandoned";
|
|
168
|
+
}>>;
|
|
169
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
170
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
171
|
+
pending: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
172
|
+
lastActivityAt: z.ZodExactOptional<z.ZodString>;
|
|
173
|
+
events: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
174
|
+
kind: z.ZodLiteral<"permission">;
|
|
175
|
+
sequence: z.ZodNumber;
|
|
176
|
+
turnSequence: z.ZodNumber;
|
|
177
|
+
at: z.ZodString;
|
|
178
|
+
requests: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
179
|
+
id: z.ZodString;
|
|
180
|
+
action: z.ZodString;
|
|
181
|
+
resources: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
182
|
+
tool: z.ZodExactOptional<z.ZodString>;
|
|
183
|
+
}, z.core.$strict>>>>;
|
|
184
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
185
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
186
|
+
kind: z.ZodLiteral<"turn">;
|
|
187
|
+
sequence: z.ZodNumber;
|
|
188
|
+
bodySequence: z.ZodNumber;
|
|
189
|
+
at: z.ZodString;
|
|
190
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
191
|
+
kind: z.ZodLiteral<"call">;
|
|
192
|
+
sequence: z.ZodNumber;
|
|
193
|
+
turnSequence: z.ZodNumber;
|
|
194
|
+
at: z.ZodString;
|
|
195
|
+
text: z.ZodString;
|
|
196
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
197
|
+
kind: z.ZodLiteral<"report">;
|
|
198
|
+
sequence: z.ZodNumber;
|
|
199
|
+
bodySequence: z.ZodNumber;
|
|
200
|
+
turnSequence: z.ZodNumber;
|
|
201
|
+
text: z.ZodString;
|
|
202
|
+
at: z.ZodString;
|
|
203
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
204
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
205
|
+
sequence: z.ZodNumber;
|
|
206
|
+
turnSequence: z.ZodNumber;
|
|
207
|
+
at: z.ZodString;
|
|
208
|
+
text: z.ZodString;
|
|
209
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
210
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
211
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
212
|
+
sequence: z.ZodNumber;
|
|
213
|
+
turnSequence: z.ZodNumber;
|
|
214
|
+
at: z.ZodString;
|
|
215
|
+
text: z.ZodString;
|
|
216
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
217
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
218
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
219
|
+
sequence: z.ZodNumber;
|
|
220
|
+
turnSequence: z.ZodNumber;
|
|
221
|
+
at: z.ZodString;
|
|
222
|
+
text: z.ZodString;
|
|
223
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
224
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
225
|
+
kind: z.ZodLiteral<"tell">;
|
|
226
|
+
sequence: z.ZodNumber;
|
|
227
|
+
at: z.ZodString;
|
|
228
|
+
tellId: z.ZodString;
|
|
229
|
+
text: z.ZodString;
|
|
230
|
+
state: z.ZodEnum<{
|
|
231
|
+
pending: "pending";
|
|
232
|
+
told: "told";
|
|
233
|
+
}>;
|
|
234
|
+
deliveries: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
235
|
+
deliveredAt: z.ZodString;
|
|
236
|
+
route: z.ZodEnum<{
|
|
237
|
+
launch: "launch";
|
|
238
|
+
live: "live";
|
|
239
|
+
}>;
|
|
240
|
+
turnSequence: z.ZodNumber;
|
|
241
|
+
}, z.core.$strict>>>>;
|
|
242
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
243
|
+
kind: z.ZodLiteral<"tool">;
|
|
244
|
+
sequence: z.ZodNumber;
|
|
245
|
+
turnSequence: z.ZodNumber;
|
|
246
|
+
at: z.ZodString;
|
|
247
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
248
|
+
name: z.ZodString;
|
|
249
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
250
|
+
kind: z.ZodLiteral<"run">;
|
|
251
|
+
command: z.ZodString;
|
|
252
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
253
|
+
kind: z.ZodLiteral<"read">;
|
|
254
|
+
path: z.ZodString;
|
|
255
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
256
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
257
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
258
|
+
kind: z.ZodLiteral<"search">;
|
|
259
|
+
query: z.ZodString;
|
|
260
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
261
|
+
content: "content";
|
|
262
|
+
files: "files";
|
|
263
|
+
web: "web";
|
|
264
|
+
}>>;
|
|
265
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
266
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
267
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
268
|
+
kind: z.ZodLiteral<"fileChange">;
|
|
269
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
270
|
+
op: z.ZodEnum<{
|
|
271
|
+
add: "add";
|
|
272
|
+
update: "update";
|
|
273
|
+
delete: "delete";
|
|
274
|
+
unspecified: "unspecified";
|
|
275
|
+
}>;
|
|
276
|
+
path: z.ZodString;
|
|
277
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
278
|
+
added: z.ZodNumber;
|
|
279
|
+
removed: z.ZodNumber;
|
|
280
|
+
}, z.core.$strict>>>;
|
|
281
|
+
patch: z.ZodExactOptional<z.ZodString>;
|
|
282
|
+
}, z.core.$strict>>>>;
|
|
283
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
284
|
+
kind: z.ZodLiteral<"other">;
|
|
285
|
+
input: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
286
|
+
json: z.ZodString;
|
|
287
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
288
|
+
}, z.core.$strict>>>;
|
|
289
|
+
}, z.core.$strict>>]>;
|
|
290
|
+
toolId: z.ZodString;
|
|
291
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
292
|
+
state: z.ZodUnion<readonly [z.ZodEnum<{
|
|
293
|
+
active: "active";
|
|
294
|
+
unsettled: "unsettled";
|
|
295
|
+
}>, z.ZodReadonly<z.ZodObject<{
|
|
296
|
+
status: z.ZodEnum<{
|
|
297
|
+
error: "error";
|
|
298
|
+
ok: "ok";
|
|
299
|
+
}>;
|
|
300
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
301
|
+
output: z.ZodExactOptional<z.ZodString>;
|
|
302
|
+
exitCode: z.ZodExactOptional<z.ZodNumber>;
|
|
303
|
+
}, z.core.$strict>>]>;
|
|
304
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
305
|
+
kind: z.ZodLiteral<"outcome">;
|
|
306
|
+
sequence: z.ZodNumber;
|
|
307
|
+
turnSequence: z.ZodNumber;
|
|
308
|
+
at: z.ZodString;
|
|
309
|
+
outcome: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
310
|
+
kind: z.ZodLiteral<"answered">;
|
|
311
|
+
answer: z.ZodString;
|
|
312
|
+
foldedSaidSequence: z.ZodExactOptional<z.ZodNumber>;
|
|
313
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
314
|
+
kind: z.ZodLiteral<"failed">;
|
|
315
|
+
diagnostic: z.ZodString;
|
|
316
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
317
|
+
kind: z.ZodLiteral<"canceled">;
|
|
318
|
+
}, z.core.$strict>>]>;
|
|
319
|
+
}, z.core.$strict>>]>>>>;
|
|
320
|
+
life: z.ZodEnum<{
|
|
321
|
+
hung: "hung";
|
|
322
|
+
untidy: "untidy";
|
|
323
|
+
killed: "killed";
|
|
324
|
+
running: "running";
|
|
325
|
+
asleep: "asleep";
|
|
326
|
+
stranded: "stranded";
|
|
327
|
+
}>;
|
|
328
|
+
strandedReason: z.ZodExactOptional<z.ZodLiteral<"resume-unsupported">>;
|
|
329
|
+
eventsUnavailable: z.ZodExactOptional<z.ZodString>;
|
|
330
|
+
verdict: z.ZodExactOptional<z.ZodEnum<{
|
|
331
|
+
answered: "answered";
|
|
332
|
+
failed: "failed";
|
|
333
|
+
canceled: "canceled";
|
|
334
|
+
}>>;
|
|
335
|
+
turn: z.ZodExactOptional<z.ZodString>;
|
|
336
|
+
answer: z.ZodExactOptional<z.ZodString>;
|
|
337
|
+
diagnostic: z.ZodExactOptional<z.ZodString>;
|
|
338
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
339
|
+
id: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>]>;
|
|
340
|
+
unknown: z.ZodLiteral<true>;
|
|
341
|
+
}, z.core.$strict>]>>;
|
|
342
|
+
}, z.core.$strict>;
|
|
343
|
+
readonly status: z.ZodUnion<readonly [z.ZodObject<{
|
|
344
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
345
|
+
target: z.ZodExactOptional<z.ZodString>;
|
|
346
|
+
phase: z.ZodEnum<{
|
|
347
|
+
claimed: "claimed";
|
|
348
|
+
abandoned: "abandoned";
|
|
349
|
+
bound: "bound";
|
|
350
|
+
}>;
|
|
351
|
+
title: z.ZodExactOptional<z.ZodString>;
|
|
352
|
+
after: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
353
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
354
|
+
state: z.ZodEnum<{
|
|
355
|
+
missing: "missing";
|
|
356
|
+
abandoned: "abandoned";
|
|
357
|
+
active: "active";
|
|
358
|
+
}>;
|
|
359
|
+
}, z.core.$strict>>>>>;
|
|
360
|
+
delivery: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
361
|
+
candidate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
362
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
363
|
+
}, z.core.$strict>>>;
|
|
364
|
+
gates: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
365
|
+
gate: z.ZodString;
|
|
366
|
+
requirements: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
367
|
+
requirement: z.ZodExactOptional<z.ZodString>;
|
|
368
|
+
current: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
369
|
+
kind: z.ZodLiteral<"missing">;
|
|
370
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
371
|
+
kind: z.ZodLiteral<"stale">;
|
|
372
|
+
reason: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
373
|
+
kind: z.ZodLiteral<"candidate-content-changed">;
|
|
374
|
+
target: z.ZodExactOptional<z.ZodString>;
|
|
375
|
+
previousChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ChangeId, string>>;
|
|
376
|
+
currentChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ChangeId, string>>;
|
|
377
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
378
|
+
kind: z.ZodLiteral<"snapshot-changed">;
|
|
379
|
+
previousSnapshot: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
380
|
+
currentSnapshot: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
381
|
+
}, z.core.$strict>>]>>;
|
|
382
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
383
|
+
kind: z.ZodLiteral<"attested">;
|
|
384
|
+
verdict: z.ZodEnum<{
|
|
385
|
+
satisfied: "satisfied";
|
|
386
|
+
unsatisfied: "unsatisfied";
|
|
387
|
+
}>;
|
|
388
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
389
|
+
}, z.core.$strict>>]>;
|
|
390
|
+
index: z.ZodExactOptional<z.ZodNumber>;
|
|
391
|
+
}, z.core.$strict>>>>;
|
|
392
|
+
}, z.core.$strict>>>>>;
|
|
393
|
+
workspace: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
394
|
+
kind: z.ZodLiteral<"present">;
|
|
395
|
+
path: z.ZodString;
|
|
396
|
+
counts: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
397
|
+
staged: z.ZodExactOptional<z.ZodNumber>;
|
|
398
|
+
unstaged: z.ZodExactOptional<z.ZodNumber>;
|
|
399
|
+
untracked: z.ZodExactOptional<z.ZodNumber>;
|
|
400
|
+
submodules: z.ZodExactOptional<z.ZodNumber>;
|
|
401
|
+
}, z.core.$strict>>>;
|
|
402
|
+
merge: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
403
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
404
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
405
|
+
path: z.ZodString;
|
|
406
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
407
|
+
kind: z.ZodLiteral<"unappointed">;
|
|
408
|
+
}, z.core.$strict>>]>;
|
|
409
|
+
targetLag: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
410
|
+
kind: z.ZodLiteral<"counted">;
|
|
411
|
+
behind: z.ZodExactOptional<z.ZodNumber>;
|
|
412
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
413
|
+
kind: z.ZodLiteral<"unknown">;
|
|
414
|
+
}, z.core.$strict>>]>>;
|
|
415
|
+
issue: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
416
|
+
kind: z.ZodLiteral<"target-checkout-retained">;
|
|
417
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
418
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
419
|
+
diagnostic: z.ZodString;
|
|
420
|
+
}, z.core.$strict>>]>>;
|
|
421
|
+
abandonNote: z.ZodExactOptional<z.ZodString>;
|
|
422
|
+
holder: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>, z.ZodReadonly<z.ZodObject<{
|
|
423
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
424
|
+
}, z.core.$strict>>]>>;
|
|
425
|
+
roster: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
426
|
+
id: z.ZodString;
|
|
427
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaAlias, string>>>>>;
|
|
428
|
+
aliasesUnavailable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
429
|
+
}, z.core.$strict>>>>, z.ZodReadonly<z.ZodObject<{
|
|
430
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
431
|
+
}, z.core.$strict>>]>>;
|
|
432
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
433
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
434
|
+
cwd: z.ZodString;
|
|
435
|
+
model: z.ZodExactOptional<z.ZodString>;
|
|
436
|
+
changes: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
437
|
+
path: z.ZodString;
|
|
438
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
439
|
+
added: z.ZodNumber;
|
|
440
|
+
removed: z.ZodNumber;
|
|
441
|
+
}, z.core.$strict>>>;
|
|
442
|
+
}, z.core.$strict>>>>>;
|
|
443
|
+
provider: z.ZodString;
|
|
444
|
+
lastActivityAt: z.ZodExactOptional<z.ZodString>;
|
|
445
|
+
life: z.ZodEnum<{
|
|
446
|
+
hung: "hung";
|
|
447
|
+
untidy: "untidy";
|
|
448
|
+
killed: "killed";
|
|
449
|
+
running: "running";
|
|
450
|
+
asleep: "asleep";
|
|
451
|
+
stranded: "stranded";
|
|
452
|
+
}>;
|
|
453
|
+
strandedReason: z.ZodExactOptional<z.ZodLiteral<"resume-unsupported">>;
|
|
454
|
+
moreChanges: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
455
|
+
outsideChanges: z.ZodExactOptional<z.ZodNumber>;
|
|
456
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
457
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
458
|
+
}, z.core.$strict>, z.ZodReadonly<z.ZodObject<{
|
|
459
|
+
kind: z.ZodLiteral<"failed">;
|
|
460
|
+
diagnostic: z.ZodString;
|
|
461
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
462
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
463
|
+
}, z.core.$strict>]>>;
|
|
464
|
+
work: z.ZodObject<{
|
|
465
|
+
outcome: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
466
|
+
historyId: z.ZodTemplateLiteral<`turn/${number}`>;
|
|
467
|
+
activityId: z.ZodNumber;
|
|
468
|
+
verdict: z.ZodEnum<{
|
|
469
|
+
answered: "answered";
|
|
470
|
+
failed: "failed";
|
|
471
|
+
canceled: "canceled";
|
|
472
|
+
}>;
|
|
473
|
+
}, z.core.$strict>>>;
|
|
474
|
+
kind: z.ZodEnum<{
|
|
475
|
+
open: "open";
|
|
476
|
+
idle: "idle";
|
|
477
|
+
}>;
|
|
478
|
+
pending: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
479
|
+
id: z.ZodNumber;
|
|
480
|
+
tellId: z.ZodString;
|
|
481
|
+
}, z.core.$strict>>>>>;
|
|
482
|
+
summary: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
483
|
+
id: z.ZodNumber;
|
|
484
|
+
text: z.ZodString;
|
|
485
|
+
clipped: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
486
|
+
}, z.core.$strict>>>;
|
|
487
|
+
awaiting: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
488
|
+
kind: z.ZodLiteral<"permission">;
|
|
489
|
+
id: z.ZodNumber;
|
|
490
|
+
requests: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
491
|
+
id: z.ZodString;
|
|
492
|
+
action: z.ZodString;
|
|
493
|
+
resources: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
494
|
+
tool: z.ZodExactOptional<z.ZodString>;
|
|
495
|
+
}, z.core.$strict>>>>;
|
|
496
|
+
clipped: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
497
|
+
}, z.core.$strict>>>;
|
|
498
|
+
}, z.core.$strict>;
|
|
499
|
+
}, z.core.$strict>]>;
|
|
500
|
+
readonly ls: z.ZodUnion<readonly [z.ZodObject<{
|
|
501
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
502
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
503
|
+
title: z.ZodExactOptional<z.ZodString>;
|
|
504
|
+
phase: z.ZodEnum<{
|
|
505
|
+
claimed: "claimed";
|
|
506
|
+
abandoned: "abandoned";
|
|
507
|
+
bound: "bound";
|
|
508
|
+
}>;
|
|
509
|
+
phaseAt: z.ZodString;
|
|
510
|
+
delivered: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
511
|
+
gates: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
512
|
+
name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
513
|
+
verdict: z.ZodEnum<{
|
|
514
|
+
missing: "missing";
|
|
515
|
+
satisfied: "satisfied";
|
|
516
|
+
unsatisfied: "unsatisfied";
|
|
517
|
+
stale: "stale";
|
|
518
|
+
}>;
|
|
519
|
+
}, z.core.$strict>>>>>;
|
|
520
|
+
attention: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
521
|
+
kind: z.ZodLiteral<"workspace-unavailable">;
|
|
522
|
+
path: z.ZodString;
|
|
523
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
524
|
+
kind: z.ZodLiteral<"workspace-unappointed">;
|
|
525
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
526
|
+
kind: z.ZodLiteral<"workspace-failed">;
|
|
527
|
+
path: z.ZodString;
|
|
528
|
+
diagnostic: z.ZodString;
|
|
529
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
530
|
+
kind: z.ZodLiteral<"merge-in-progress">;
|
|
531
|
+
path: z.ZodString;
|
|
532
|
+
conflicts: z.ZodExactOptional<z.ZodNumber>;
|
|
533
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
534
|
+
kind: z.ZodLiteral<"target-behind">;
|
|
535
|
+
behind: z.ZodNumber;
|
|
536
|
+
subject: z.ZodExactOptional<z.ZodString>;
|
|
537
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
538
|
+
kind: z.ZodLiteral<"target-unknown">;
|
|
539
|
+
subject: z.ZodExactOptional<z.ZodString>;
|
|
540
|
+
}, z.core.$strict>>]>>>>;
|
|
541
|
+
}, z.core.$strict>>>>>;
|
|
542
|
+
observedAt: z.ZodString;
|
|
543
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
544
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
545
|
+
observedAt: z.ZodString;
|
|
546
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
547
|
+
aliasesError: z.ZodExactOptional<z.ZodString>;
|
|
548
|
+
rows: z.ZodExactOptional<z.ZodArray<z.ZodObject<{
|
|
549
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
550
|
+
life: z.ZodEnum<{
|
|
551
|
+
hung: "hung";
|
|
552
|
+
untidy: "untidy";
|
|
553
|
+
killed: "killed";
|
|
554
|
+
running: "running";
|
|
555
|
+
asleep: "asleep";
|
|
556
|
+
stranded: "stranded";
|
|
557
|
+
unborn: "unborn";
|
|
558
|
+
stillborn: "stillborn";
|
|
559
|
+
}>;
|
|
560
|
+
lifeAt: z.ZodExactOptional<z.ZodString>;
|
|
561
|
+
lastActivityAt: z.ZodExactOptional<z.ZodString>;
|
|
562
|
+
pending: z.ZodExactOptional<z.ZodNumber>;
|
|
563
|
+
diagnostic: z.ZodExactOptional<z.ZodString>;
|
|
564
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaAlias, string>>>>>;
|
|
565
|
+
parentAkumaId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>>;
|
|
566
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
567
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
568
|
+
}, z.core.$strict>, z.ZodReadonly<z.ZodObject<{
|
|
569
|
+
kind: z.ZodLiteral<"failed">;
|
|
570
|
+
diagnostic: z.ZodString;
|
|
571
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
572
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
573
|
+
}, z.core.$strict>]>>;
|
|
574
|
+
}, z.core.$strict>>>;
|
|
575
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
576
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
577
|
+
name: z.ZodString;
|
|
578
|
+
model: z.ZodExactOptional<z.ZodString>;
|
|
579
|
+
description: z.ZodExactOptional<z.ZodString>;
|
|
580
|
+
}, z.core.$strict>>>>>;
|
|
581
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
582
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
583
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
584
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
|
|
585
|
+
title: z.ZodString;
|
|
586
|
+
priority: z.ZodType<import("../index.js").DebtPriority, import("../index.js").DebtPriority, z.core.$ZodTypeInternals<import("../index.js").DebtPriority, import("../index.js").DebtPriority>>;
|
|
587
|
+
disposition: z.ZodEnum<{
|
|
588
|
+
ready: "ready";
|
|
589
|
+
blocked: "blocked";
|
|
590
|
+
drop: "drop";
|
|
591
|
+
done: "done";
|
|
592
|
+
}>;
|
|
593
|
+
}, z.core.$strict>>>>>;
|
|
594
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
595
|
+
}, z.core.$strict>]>;
|
|
596
|
+
readonly "debt.add": z.ZodReadonly<z.ZodObject<{
|
|
597
|
+
kind: z.ZodLiteral<"accepted">;
|
|
598
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
|
|
599
|
+
warning: z.ZodExactOptional<z.ZodString>;
|
|
600
|
+
}, z.core.$strict>>;
|
|
601
|
+
};
|
|
602
|
+
type ModelOutputName = keyof typeof modelOutputSchemas;
|
|
603
|
+
/** Called only after the invocation owner has classified a normal completion. No parsing or I/O. */
|
|
604
|
+
export declare function projectModelOutput(name: ModelOutputName, value: VerbOutput<VerbName>): unknown;
|
|
605
|
+
export declare function hasOutputSchema(name: string): name is keyof typeof modelOutputSchemas;
|
|
606
|
+
export declare function modelCoordinates(name: VerbName): z.ZodObject<{
|
|
607
|
+
cwd: z.ZodExactOptional<z.ZodString>;
|
|
608
|
+
repo: z.ZodExactOptional<z.ZodString>;
|
|
609
|
+
} | {
|
|
610
|
+
cwd: z.ZodExactOptional<z.ZodString>;
|
|
611
|
+
}, z.core.$strict>;
|
|
612
|
+
/** Compose at the declaration boundary so every strict business alternative stays strict. */
|
|
613
|
+
export declare function modelInputSchema(input: z.core.$ZodType, worldOnly?: boolean): z.ZodType;
|
|
614
|
+
type JsonSchema = z.core.JSONSchema.BaseSchema;
|
|
615
|
+
/** Zod visits schema positions; authored const/default JSON is not traversed. */
|
|
616
|
+
export declare function modelJsonSchema(schema: z.ZodType): JsonSchema;
|
|
617
|
+
/** Advertise shared structure; native verb validation owns cross-field admission. */
|
|
618
|
+
export declare function normalizeModelSchema(schema: JsonSchema, input?: boolean): JsonSchema;
|
|
619
|
+
export declare function describeModelTools(): {
|
|
620
|
+
annotations: {
|
|
621
|
+
readOnlyHint: boolean;
|
|
622
|
+
destructiveHint: boolean;
|
|
623
|
+
};
|
|
624
|
+
outputSchema?: {
|
|
625
|
+
type: string;
|
|
626
|
+
$schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
|
|
627
|
+
$id?: string;
|
|
628
|
+
$anchor?: string;
|
|
629
|
+
$ref?: string;
|
|
630
|
+
$dynamicRef?: string;
|
|
631
|
+
$dynamicAnchor?: string;
|
|
632
|
+
$vocabulary?: Record<string, boolean>;
|
|
633
|
+
$comment?: string;
|
|
634
|
+
$defs?: Record<string, z.core.JSONSchema.JSONSchema>;
|
|
635
|
+
additionalItems?: z.core.JSONSchema._JSONSchema;
|
|
636
|
+
unevaluatedItems?: z.core.JSONSchema._JSONSchema;
|
|
637
|
+
prefixItems?: z.core.JSONSchema._JSONSchema[];
|
|
638
|
+
items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
|
|
639
|
+
contains?: z.core.JSONSchema._JSONSchema;
|
|
640
|
+
additionalProperties?: z.core.JSONSchema._JSONSchema;
|
|
641
|
+
unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
|
|
642
|
+
properties?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
643
|
+
patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
644
|
+
dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
645
|
+
propertyNames?: z.core.JSONSchema._JSONSchema;
|
|
646
|
+
if?: z.core.JSONSchema._JSONSchema;
|
|
647
|
+
then?: z.core.JSONSchema._JSONSchema;
|
|
648
|
+
else?: z.core.JSONSchema._JSONSchema;
|
|
649
|
+
allOf?: z.core.JSONSchema.JSONSchema[];
|
|
650
|
+
anyOf?: z.core.JSONSchema.JSONSchema[];
|
|
651
|
+
oneOf?: z.core.JSONSchema.JSONSchema[];
|
|
652
|
+
not?: z.core.JSONSchema._JSONSchema;
|
|
653
|
+
multipleOf?: number;
|
|
654
|
+
maximum?: number;
|
|
655
|
+
exclusiveMaximum?: number | boolean;
|
|
656
|
+
minimum?: number;
|
|
657
|
+
exclusiveMinimum?: number | boolean;
|
|
658
|
+
maxLength?: number;
|
|
659
|
+
minLength?: number;
|
|
660
|
+
pattern?: string;
|
|
661
|
+
maxItems?: number;
|
|
662
|
+
minItems?: number;
|
|
663
|
+
uniqueItems?: boolean;
|
|
664
|
+
maxContains?: number;
|
|
665
|
+
minContains?: number;
|
|
666
|
+
maxProperties?: number;
|
|
667
|
+
minProperties?: number;
|
|
668
|
+
required?: string[];
|
|
669
|
+
dependentRequired?: Record<string, string[]>;
|
|
670
|
+
enum?: Array<string | number | boolean | null>;
|
|
671
|
+
const?: string | number | boolean | null;
|
|
672
|
+
id?: string;
|
|
673
|
+
title?: string;
|
|
674
|
+
description?: string;
|
|
675
|
+
default?: unknown;
|
|
676
|
+
deprecated?: boolean;
|
|
677
|
+
readOnly?: boolean;
|
|
678
|
+
writeOnly?: boolean;
|
|
679
|
+
nullable?: boolean;
|
|
680
|
+
examples?: unknown[];
|
|
681
|
+
format?: string;
|
|
682
|
+
contentMediaType?: string;
|
|
683
|
+
contentEncoding?: string;
|
|
684
|
+
contentSchema?: z.core.JSONSchema.JSONSchema;
|
|
685
|
+
_prefault?: unknown;
|
|
686
|
+
};
|
|
687
|
+
verb: VerbName;
|
|
688
|
+
name: string;
|
|
689
|
+
description: "Bind a Contract: give exactly one of terms (complete Contract Markdown) or forkOf (copy another Contract). Returns a kei/... id and its own worktree. target is where accepted work lands; gates is what must pass first. Runs no checks." | "Edit an active Contract's terms, target, prerequisites (after), or gates; naming none reports the Contract unchanged. Supply edits as section operations such as ## Replace: Objective, not a replacement Contract. Returns only what changed." | "Open the next chapter of an active Contract: give a # Title and optional narrative telling its Akumas what is being done now. Returns the new chapter number; the Contract terms stay unchanged." | "Hand in the work from a Contract's worktree. It lands on the target once prerequisites are accepted and every gate passes (reviewed: a satisfied review; verified: passing verify results); until then it waits, delivered. Uncommitted changes need includeDirty. dryRun: true only looks. Runs no checks and records no review." | "Run the Contract's ## Verification checks now. A failed check is a verdict, not a tool error. Results are bound to the exact integration tree they ran on: any change to the work or the target makes them stale. They count only under the verified gate, and may land an already-delivered Contract." | "Record your verdict on a Contract's diff: satisfied or unsatisfied, with reasons. Valid before or after deliver. Bound to the diff content: a pure rebase keeps it, a changed diff makes it stale. Satisfied may land an already-delivered Contract." | "Break an active Contract. Its work never lands; its worktree is reclaimed. No undo." | "Read a Contract in full: terms, current chapter, and working instructions. Or read one Debt in full with its prerequisites. Requires one explicit selector." | "Finish what an interrupted or lagging call left half done: Git, worktree, and hook steps, for one Contract or all. Safe to repeat; never undoes a recorded result." | "Birth a new Akuma from akumaName (ls aku/), with an optional first order. Returns birth and admission, not an answer; observe separately with wait. contract only marks whose work it is; give it a workdir and the terms yourself. A failed result with an akumaId still left an Akuma alive." | "Birth a copy of an Akuma as it stood at an answered turn (turn/<n> from history), to try another path. The copy wakes idle; give it orders with tell. Available only for Akumas that support forking." | "Give an Akuma new orders: steers its current work or wakes it. Returns admission, not an answer. Observe work separately with wait, or use ask for a structured answer." | "Demand a structured answer from an Akuma: a prompt and a JSON Schema in, parsed JSON out. The answer is not checked against the schema; non-JSON is a failure. Some Akumas cannot constrain answers to a schema." | "Kill an Akuma's current execution. Nothing is erased: history and queued orders remain, and tell or ask wakes it." | "Wait for Contracts to change or close and Akumas to finish their current work, together or separately. Any/all applies to the whole selection. Already satisfied members count immediately. A timeout ends observation, never the work." | "Read a bounded Contract or Akuma timeline, or open one complete item by its visible address." | "From inside a running Akuma only, leave a progress note for whoever holds you and keep working. Returns confirmation that the note was recorded, not that it was received." | "See who you are acting as and which Contract/worktree you are in, including your Akuma identity and turn initiator when available. This is context, not authentication." | "Observe resolved Settings." | "Reset the selected World with explicit confirmation." | "Watch everything at once: active Contracts, Debts, and Akumas. Use status, show, or history to look closer." | "Where one Contract stands (stage, gates, prerequisites, worktree) or what one Akuma is doing (state, current work, changed files). Select one complete identity or @name; returns its canonical id." | "List ids of one kind: Contracts (kei/), Debts (debt/), Akuma instances (aku/*), or akumaName values you can birth (aku/). Lifecycle selection is active (default), settled, or all; akumaName values have no lifecycle selection." | "Before parallel work: which files active Contracts claim to change and where those claims overlap. Advisory only; no locks, no conflict prediction." | "Record open work still owed, with optional body, priority and prerequisite needs. Returns its debt/... id." | "Create a Debt from Markdown." | "Change at least one Debt field: text, priority, prerequisites, or disposition (open, done, drop). Any state may be reopened or changed; omitted fields are preserved and empty body, note or needs clears them. Returns the updated Debt or reports no change." | "Diagnose Debt authority and prerequisites.";
|
|
690
|
+
inputSchema: {
|
|
691
|
+
type: string;
|
|
692
|
+
$schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
|
|
693
|
+
$id?: string;
|
|
694
|
+
$anchor?: string;
|
|
695
|
+
$ref?: string;
|
|
696
|
+
$dynamicRef?: string;
|
|
697
|
+
$dynamicAnchor?: string;
|
|
698
|
+
$vocabulary?: Record<string, boolean>;
|
|
699
|
+
$comment?: string;
|
|
700
|
+
$defs?: Record<string, z.core.JSONSchema.JSONSchema>;
|
|
701
|
+
additionalItems?: z.core.JSONSchema._JSONSchema;
|
|
702
|
+
unevaluatedItems?: z.core.JSONSchema._JSONSchema;
|
|
703
|
+
prefixItems?: z.core.JSONSchema._JSONSchema[];
|
|
704
|
+
items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
|
|
705
|
+
contains?: z.core.JSONSchema._JSONSchema;
|
|
706
|
+
additionalProperties?: z.core.JSONSchema._JSONSchema;
|
|
707
|
+
unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
|
|
708
|
+
properties?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
709
|
+
patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
710
|
+
dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
|
|
711
|
+
propertyNames?: z.core.JSONSchema._JSONSchema;
|
|
712
|
+
if?: z.core.JSONSchema._JSONSchema;
|
|
713
|
+
then?: z.core.JSONSchema._JSONSchema;
|
|
714
|
+
else?: z.core.JSONSchema._JSONSchema;
|
|
715
|
+
allOf?: z.core.JSONSchema.JSONSchema[];
|
|
716
|
+
anyOf?: z.core.JSONSchema.JSONSchema[];
|
|
717
|
+
oneOf?: z.core.JSONSchema.JSONSchema[];
|
|
718
|
+
not?: z.core.JSONSchema._JSONSchema;
|
|
719
|
+
multipleOf?: number;
|
|
720
|
+
maximum?: number;
|
|
721
|
+
exclusiveMaximum?: number | boolean;
|
|
722
|
+
minimum?: number;
|
|
723
|
+
exclusiveMinimum?: number | boolean;
|
|
724
|
+
maxLength?: number;
|
|
725
|
+
minLength?: number;
|
|
726
|
+
pattern?: string;
|
|
727
|
+
maxItems?: number;
|
|
728
|
+
minItems?: number;
|
|
729
|
+
uniqueItems?: boolean;
|
|
730
|
+
maxContains?: number;
|
|
731
|
+
minContains?: number;
|
|
732
|
+
maxProperties?: number;
|
|
733
|
+
minProperties?: number;
|
|
734
|
+
required?: string[];
|
|
735
|
+
dependentRequired?: Record<string, string[]>;
|
|
736
|
+
enum?: Array<string | number | boolean | null>;
|
|
737
|
+
const?: string | number | boolean | null;
|
|
738
|
+
id?: string;
|
|
739
|
+
title?: string;
|
|
740
|
+
description?: string;
|
|
741
|
+
default?: unknown;
|
|
742
|
+
deprecated?: boolean;
|
|
743
|
+
readOnly?: boolean;
|
|
744
|
+
writeOnly?: boolean;
|
|
745
|
+
nullable?: boolean;
|
|
746
|
+
examples?: unknown[];
|
|
747
|
+
format?: string;
|
|
748
|
+
contentMediaType?: string;
|
|
749
|
+
contentEncoding?: string;
|
|
750
|
+
contentSchema?: z.core.JSONSchema.JSONSchema;
|
|
751
|
+
_prefault?: unknown;
|
|
752
|
+
};
|
|
753
|
+
}[];
|
|
754
|
+
export {};
|