@astrosheep/keiyaku 4.6.30 → 4.6.31
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 +5 -5
- package/build/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/build/plugins/claude/skills/keiyaku/SKILL.md +12 -12
- package/build/plugins/claude/skills/keiyaku-akuma/SKILL.md +16 -16
- package/build/plugins/claude/skills/keiyaku-akuma/references/automation.md +14 -14
- package/build/plugins/claude/skills/keiyaku-babysit/SKILL.md +10 -10
- package/build/plugins/claude/skills/keiyaku-bind/SKILL.md +15 -15
- package/build/plugins/claude/skills/keiyaku-debt/SKILL.md +16 -16
- package/build/plugins/claude/skills/keiyaku-workflow/SKILL.md +21 -21
- package/build/plugins/codex/.codex-plugin/plugin.json +1 -1
- package/build/plugins/codex/skills/keiyaku/SKILL.md +12 -12
- package/build/plugins/codex/skills/keiyaku-akuma/SKILL.md +16 -16
- package/build/plugins/codex/skills/keiyaku-akuma/references/automation.md +14 -14
- package/build/plugins/codex/skills/keiyaku-babysit/SKILL.md +10 -10
- package/build/plugins/codex/skills/keiyaku-bind/SKILL.md +15 -15
- package/build/plugins/codex/skills/keiyaku-debt/SKILL.md +16 -16
- package/build/plugins/codex/skills/keiyaku-workflow/SKILL.md +21 -21
- package/build/plugins/opencode/package.json +1 -1
- package/build/plugins/opencode/skills/keiyaku/SKILL.md +12 -12
- package/build/plugins/opencode/skills/keiyaku-akuma/SKILL.md +16 -16
- package/build/plugins/opencode/skills/keiyaku-akuma/references/automation.md +14 -14
- package/build/plugins/opencode/skills/keiyaku-babysit/SKILL.md +10 -10
- package/build/plugins/opencode/skills/keiyaku-bind/SKILL.md +15 -15
- package/build/plugins/opencode/skills/keiyaku-debt/SKILL.md +16 -16
- package/build/plugins/opencode/skills/keiyaku-workflow/SKILL.md +21 -21
- package/build/plugins/pi/README.md +5 -5
- package/build/plugins/pi/akuma-tools.ts +17 -23
- package/build/skills/keiyaku/SKILL.md +12 -12
- package/build/skills/keiyaku-akuma/SKILL.md +16 -16
- package/build/skills/keiyaku-akuma/references/automation.md +14 -14
- package/build/skills/keiyaku-babysit/SKILL.md +10 -10
- package/build/skills/keiyaku-bind/SKILL.md +15 -15
- package/build/skills/keiyaku-debt/SKILL.md +16 -16
- package/build/skills/keiyaku-workflow/SKILL.md +21 -21
- package/build/src/akuma/akuma-call.d.ts +1 -1
- package/build/src/akuma/akuma-call.js +9 -9
- package/build/src/akuma/akuma-errors.d.ts +5 -5
- package/build/src/akuma/akuma-instance.d.ts +355 -12
- package/build/src/akuma/akuma-instance.js +20 -20
- package/build/src/akuma/akuma-observe.d.ts +11 -12
- package/build/src/akuma/akuma-observe.js +34 -26
- package/build/src/akuma/akuma-owner.d.ts +32 -11
- package/build/src/akuma/akuma-owner.js +35 -16
- package/build/src/akuma/akuma-probe.d.ts +3 -3
- package/build/src/akuma/akuma-probe.js +2 -2
- package/build/src/akuma/akuma-selection-execution.d.ts +985 -1
- package/build/src/akuma/akuma-selection-execution.js +42 -18
- package/build/src/akuma/akuma-stream.d.ts +2 -2
- package/build/src/akuma/akuma-stream.js +1 -1
- package/build/src/akuma/akuma-wait.d.ts +5 -5
- package/build/src/akuma/akuma-wait.js +52 -14
- package/build/src/akuma/akuma.d.ts +245 -271
- package/build/src/akuma/akuma.js +98 -46
- package/build/src/akuma/archetype.d.ts +19 -6
- package/build/src/akuma/archetype.js +25 -9
- package/build/src/akuma/body-launch.d.ts +2 -2
- package/build/src/akuma/body.js +4 -4
- package/build/src/akuma/call-initial-tell.d.ts +60 -44
- package/build/src/akuma/call-initial-tell.js +41 -2
- package/build/src/akuma/caller.d.ts +26 -17
- package/build/src/akuma/caller.js +22 -9
- package/build/src/akuma/coordinate.d.ts +9 -0
- package/build/src/akuma/coordinate.js +13 -0
- package/build/src/akuma/detached-body.js +2 -2
- package/build/src/akuma/dispatch-association.d.ts +4 -4
- package/build/src/akuma/dispatch-association.js +12 -3
- package/build/src/akuma/execution-instructions.js +2 -2
- package/build/src/akuma/heart/facts.d.ts +29 -7
- package/build/src/akuma/heart/facts.js +13 -0
- package/build/src/akuma/heart/index.d.ts +0 -3
- package/build/src/akuma/heart/index.js +3 -6
- package/build/src/akuma/heart/rows.js +2 -2
- package/build/src/akuma/heart/soul.js +5 -5
- package/build/src/akuma/identity.d.ts +17 -16
- package/build/src/akuma/identity.js +20 -19
- package/build/src/akuma/index.d.ts +1 -2
- package/build/src/akuma/lineage-cache.d.ts +4 -4
- package/build/src/akuma/lineage-cache.js +10 -10
- package/build/src/akuma/projection-read.d.ts +2 -5
- package/build/src/akuma/projection-read.js +34 -47
- package/build/src/akuma/projection.d.ts +659 -569
- package/build/src/akuma/projection.js +203 -94
- package/build/src/akuma/providers/acp/index.js +1 -1
- package/build/src/akuma/providers/execution-environment.d.ts +1 -3
- package/build/src/akuma/providers/execution-environment.js +0 -4
- package/build/src/akuma/publication.d.ts +2 -2
- package/build/src/akuma/publication.js +3 -3
- package/build/src/akuma/retention.js +2 -2
- package/build/src/akuma/selection-observation.d.ts +507 -43
- package/build/src/akuma/selection-observation.js +153 -1
- package/build/src/akuma/status-projection.d.ts +288 -0
- package/build/src/akuma/status-projection.js +154 -0
- package/build/src/akuma/turn-drive.js +0 -3
- package/build/src/alias/index.d.ts +9 -4
- package/build/src/alias/index.js +11 -9
- package/build/src/bounded-list.d.ts +8 -0
- package/build/src/bounded-list.js +9 -0
- package/build/src/cli/commands/akuma-grammar.d.ts +2 -2
- package/build/src/cli/commands/akuma-grammar.js +21 -21
- package/build/src/cli/commands/akuma.d.ts +1 -2
- package/build/src/cli/commands/akuma.js +115 -251
- package/build/src/cli/commands/contract-grammar.d.ts +4 -3
- package/build/src/cli/commands/contract-grammar.js +39 -22
- package/build/src/cli/commands/contract-help.d.ts +3 -1
- package/build/src/cli/commands/contract-help.js +4 -3
- package/build/src/cli/commands/contract.d.ts +6 -3
- package/build/src/cli/commands/contract.js +203 -434
- package/build/src/cli/commands/debt.d.ts +2 -3
- package/build/src/cli/commands/debt.js +101 -317
- package/build/src/cli/commands/report.js +11 -28
- package/build/src/cli/commands/whoami.d.ts +3 -43
- package/build/src/cli/commands/whoami.js +8 -121
- package/build/src/cli/coordinates.d.ts +4 -35
- package/build/src/cli/coordinates.js +13 -129
- package/build/src/cli/parse.d.ts +0 -6
- package/build/src/cli/parse.js +5 -48
- package/build/src/cli/render/akuma-activity.d.ts +31 -16
- package/build/src/cli/render/akuma-activity.js +157 -149
- package/build/src/cli/render/akuma-tool.d.ts +3 -6
- package/build/src/cli/render/akuma-tool.js +20 -14
- package/build/src/cli/render/akuma.d.ts +25 -26
- package/build/src/cli/render/akuma.js +100 -129
- package/build/src/cli/render/catalog.d.ts +4 -7
- package/build/src/cli/render/catalog.js +52 -99
- package/build/src/cli/render/contract-history.d.ts +3 -1
- package/build/src/cli/render/contract-history.js +140 -215
- package/build/src/cli/render/contract-observation.d.ts +43 -30
- package/build/src/cli/render/contract-observation.js +64 -31
- package/build/src/cli/render/contract-wait.js +6 -6
- package/build/src/cli/render/contract.d.ts +41 -6
- package/build/src/cli/render/contract.js +274 -370
- package/build/src/cli/render/debt.d.ts +9 -19
- package/build/src/cli/render/debt.js +120 -185
- package/build/src/cli/render/delivery-preview.d.ts +4 -3
- package/build/src/cli/render/delivery-preview.js +68 -96
- package/build/src/cli/render/kanshi-akuma.d.ts +4 -4
- package/build/src/cli/render/kanshi-akuma.js +70 -59
- package/build/src/cli/render/kanshi.d.ts +4 -4
- package/build/src/cli/render/kanshi.js +205 -221
- package/build/src/cli/render/marks.d.ts +11 -2
- package/build/src/cli/render/marks.js +13 -3
- package/build/src/cli/render/nuke.d.ts +3 -3
- package/build/src/cli/render/nuke.js +13 -16
- package/build/src/cli/render/receipt.d.ts +37 -43
- package/build/src/cli/render/receipt.js +313 -236
- package/build/src/cli/render/reconcile.d.ts +6 -4
- package/build/src/cli/render/reconcile.js +53 -137
- package/build/src/cli/render/refusal.d.ts +3 -2
- package/build/src/cli/render/refusal.js +73 -54
- package/build/src/cli/render/region.d.ts +11 -2
- package/build/src/cli/render/region.js +17 -23
- package/build/src/cli/render/settings.d.ts +0 -1
- package/build/src/cli/render/settings.js +8 -17
- package/build/src/cli/render/terminal.d.ts +2 -0
- package/build/src/cli/render/verbs.d.ts +4 -0
- package/build/src/cli/render/verbs.js +312 -0
- package/build/src/cli/render/whoami.d.ts +1 -1
- package/build/src/cli/render/whoami.js +24 -31
- package/build/src/cli/runtime.d.ts +3 -11
- package/build/src/cli/runtime.js +96 -79
- package/build/src/cli/scan.d.ts +1 -1
- package/build/src/cli/streams.js +1 -0
- package/build/src/contract-guidance.js +2 -2
- package/build/src/contract-worktree.d.ts +2 -15
- package/build/src/contract-worktree.js +19 -35
- package/build/src/core/facts/observation.d.ts +4 -5
- package/build/src/core/facts/observation.js +7 -9
- package/build/src/core/verbs/amend.d.ts +0 -1
- package/build/src/core/verbs/amend.js +3 -3
- package/build/src/core/verbs/bind.d.ts +0 -1
- package/build/src/core/verbs/bind.js +5 -5
- package/build/src/core/verbs/deliver.d.ts +3 -2
- package/build/src/core/verbs/deliver.js +2 -2
- package/build/src/core/verbs/placement.d.ts +0 -5
- package/build/src/core/verbs/placement.js +4 -6
- package/build/src/core/verbs/reintegrate.d.ts +0 -1
- package/build/src/core/verbs/reintegrate.js +2 -2
- package/build/src/debt/board.d.ts +132 -116
- package/build/src/debt/board.js +138 -94
- package/build/src/debt/catalog.d.ts +4 -4
- package/build/src/debt/catalog.js +2 -18
- package/build/src/debt/context.d.ts +15 -3
- package/build/src/debt/context.js +12 -1
- package/build/src/debt/created-observation.d.ts +5 -17
- package/build/src/debt/created-observation.js +14 -6
- package/build/src/debt/document.d.ts +20 -15
- package/build/src/debt/document.js +18 -1
- package/build/src/debt/index.d.ts +346 -23
- package/build/src/debt/index.js +68 -22
- package/build/src/debt/input.d.ts +2 -1
- package/build/src/debt/input.js +14 -0
- package/build/src/debt/lifecycle-operations.d.ts +2 -2
- package/build/src/debt/lifecycle-operations.js +14 -22
- package/build/src/debt/operation-types.d.ts +188 -66
- package/build/src/debt/operation-types.js +113 -1
- package/build/src/debt/operations.d.ts +11 -10
- package/build/src/debt/operations.js +46 -71
- package/build/src/debt/query.d.ts +14 -10
- package/build/src/debt/query.js +3 -12
- package/build/src/debt/store.d.ts +4 -2
- package/build/src/debt/store.js +8 -8
- package/build/src/debt/view.d.ts +0 -3
- package/build/src/debt/view.js +0 -4
- package/build/src/dispatch/index.d.ts +22 -5
- package/build/src/dispatch/index.js +46 -37
- package/build/src/git/admission.d.ts +2 -2
- package/build/src/git/admission.js +2 -1
- package/build/src/git/hooks.d.ts +14 -35
- package/build/src/git/hooks.js +45 -25
- package/build/src/git/integration.d.ts +6 -24
- package/build/src/git/integration.js +10 -16
- package/build/src/git/private-state-seat.d.ts +2 -2
- package/build/src/git/private-state-seat.js +2 -1
- package/build/src/git/reconcile.d.ts +17 -79
- package/build/src/git/reconcile.js +37 -52
- package/build/src/git/scratch.d.ts +3 -3
- package/build/src/git/scratch.js +4 -1
- package/build/src/git/target-placement.d.ts +23 -31
- package/build/src/git/target-placement.js +42 -27
- package/build/src/git/target.d.ts +2 -2
- package/build/src/git/target.js +2 -1
- package/build/src/git/tender.d.ts +7 -39
- package/build/src/git/tender.js +21 -54
- package/build/src/git/terminal-reconcile.js +15 -18
- package/build/src/git/terminal-seal.d.ts +2 -4
- package/build/src/git/terminal-seal.js +7 -33
- package/build/src/git/workspace.d.ts +65 -41
- package/build/src/git/workspace.js +45 -14
- package/build/src/identity/selector.d.ts +2 -0
- package/build/src/identity/selector.js +13 -3
- package/build/src/index.d.ts +48 -54
- package/build/src/index.js +31 -43
- package/build/src/kanshi/counts.d.ts +42 -8
- package/build/src/kanshi/counts.js +13 -2
- package/build/src/kanshi/index.d.ts +5 -5
- package/build/src/kanshi/index.js +4 -3
- package/build/src/kanshi/read.d.ts +489 -6
- package/build/src/kanshi/read.js +334 -483
- package/build/src/kanshi/report.d.ts +2504 -103
- package/build/src/kanshi/report.js +165 -1
- package/build/src/kanshi/select.d.ts +0 -8
- package/build/src/kanshi/select.js +20 -59
- package/build/src/library/address.d.ts +8 -8
- package/build/src/library/address.js +7 -7
- package/build/src/library/akuma-creation.d.ts +690 -84
- package/build/src/library/akuma-creation.js +202 -142
- package/build/src/library/akuma-retention.d.ts +2 -2
- package/build/src/library/akuma-retention.js +2 -2
- package/build/src/library/akumas.d.ts +10 -6
- package/build/src/library/akumas.js +24 -7
- package/build/src/library/bind.d.ts +28 -54
- package/build/src/library/bind.js +6 -4
- package/build/src/library/continuation.d.ts +197 -479
- package/build/src/library/continuation.js +40 -23
- package/build/src/library/contract-address.d.ts +6 -5
- package/build/src/library/contract-address.js +5 -7
- package/build/src/library/contract-composition.d.ts +18 -12
- package/build/src/library/contract-composition.js +55 -47
- package/build/src/library/contract-creation.d.ts +3 -2
- package/build/src/library/contract-creation.js +38 -32
- package/build/src/library/contract-execution.js +77 -38
- package/build/src/library/contract-outcomes.d.ts +1877 -27
- package/build/src/library/contract-outcomes.js +93 -10
- package/build/src/library/contract-settings.d.ts +2 -2
- package/build/src/library/contract-settings.js +18 -14
- package/build/src/library/contract-types.d.ts +238 -61
- package/build/src/library/contract-types.js +131 -1
- package/build/src/library/contract-wait.d.ts +38 -17
- package/build/src/library/contract-wait.js +40 -10
- package/build/src/library/delivery.d.ts +588 -36
- package/build/src/library/delivery.js +35 -27
- package/build/src/library/input.d.ts +1 -1
- package/build/src/library/input.js +1 -2
- package/build/src/library/invocation.d.ts +11 -7
- package/build/src/library/invocation.js +42 -51
- package/build/src/library/kei.d.ts +48 -0
- package/build/src/library/kei.js +256 -0
- package/build/src/library/keiyaku-attribution.d.ts +11 -0
- package/build/src/{cli/delivery-identity.js → library/keiyaku-attribution.js} +12 -1
- package/build/src/library/keiyaku-classify.d.ts +11 -0
- package/build/src/library/keiyaku-classify.js +146 -0
- package/build/src/library/keiyaku-coordinates.d.ts +31 -0
- package/build/src/library/keiyaku-coordinates.js +103 -0
- package/build/src/library/keiyaku-debt.d.ts +142 -0
- package/build/src/library/keiyaku-debt.js +188 -0
- package/build/src/library/keiyaku-identity.d.ts +58 -0
- package/build/src/library/keiyaku-identity.js +176 -0
- package/build/src/library/keiyaku-policy.d.ts +27 -0
- package/build/src/library/keiyaku-policy.js +44 -0
- package/build/src/library/keiyaku-status.d.ts +1487 -0
- package/build/src/library/keiyaku-status.js +92 -0
- package/build/src/library/keiyaku-verbs.d.ts +6774 -0
- package/build/src/library/keiyaku-verbs.js +458 -0
- package/build/src/library/keiyaku.d.ts +871 -38
- package/build/src/library/keiyaku.js +677 -127
- package/build/src/library/nuke.d.ts +22 -0
- package/build/src/library/nuke.js +4 -1
- package/build/src/library/outcome.d.ts +706 -692
- package/build/src/library/outcome.js +582 -167
- package/build/src/library/reconcile.d.ts +464 -116
- package/build/src/library/reconcile.js +174 -102
- package/build/src/library/refusal.d.ts +113 -577
- package/build/src/library/refusal.js +64 -51
- package/build/src/library/region.d.ts +5 -24
- package/build/src/library/region.js +6 -21
- package/build/src/library/selection.d.ts +181 -32
- package/build/src/library/selection.js +99 -64
- package/build/src/mcp/adapter.d.ts +11 -0
- package/build/src/mcp/adapter.js +106 -0
- package/build/src/mcp/help.d.ts +1 -0
- package/build/src/mcp/help.js +26 -0
- package/build/src/mcp/index.d.ts +2 -0
- package/build/src/mcp/index.js +37 -0
- package/build/src/plugin/public.d.ts +1 -1
- package/build/src/plugin/runtime.js +17 -14
- package/build/src/protocol/arc.d.ts +4 -1
- package/build/src/protocol/arc.js +7 -1
- package/build/src/protocol/attempt.d.ts +2 -3
- package/build/src/protocol/attempt.js +1 -10
- package/build/src/protocol/bind.d.ts +6 -7
- package/build/src/protocol/bind.js +9 -5
- package/build/src/protocol/completion.d.ts +448 -12
- package/build/src/protocol/completion.js +164 -26
- package/build/src/protocol/deliver.d.ts +26 -24
- package/build/src/protocol/deliver.js +24 -52
- package/build/src/protocol/delivery-preview.d.ts +97 -247
- package/build/src/protocol/delivery-preview.js +132 -128
- package/build/src/protocol/execution-observation.d.ts +146 -123
- package/build/src/protocol/execution-observation.js +9 -6
- package/build/src/protocol/intent.d.ts +9 -48
- package/build/src/protocol/intent.js +32 -46
- package/build/src/protocol/operations.d.ts +207 -505
- package/build/src/protocol/operations.js +81 -134
- package/build/src/protocol/placement.d.ts +0 -1
- package/build/src/protocol/placement.js +5 -2
- package/build/src/protocol/progress.d.ts +7 -97
- package/build/src/protocol/progress.js +7 -55
- package/build/src/protocol/read/observation.d.ts +13 -6
- package/build/src/protocol/read/observation.js +10 -9
- package/build/src/protocol/read/status.d.ts +464 -93
- package/build/src/protocol/read/status.js +372 -85
- package/build/src/protocol/reconcile.d.ts +2 -0
- package/build/src/protocol/reconcile.js +12 -11
- package/build/src/protocol/reintegrate.d.ts +0 -1
- package/build/src/protocol/reintegrate.js +4 -4
- package/build/src/protocol/result-leaves.d.ts +528 -0
- package/build/src/protocol/result-leaves.js +195 -0
- package/build/src/protocol/result-reasons.d.ts +129 -0
- package/build/src/protocol/result-reasons.js +87 -0
- package/build/src/protocol/review.d.ts +14 -11
- package/build/src/protocol/review.js +30 -14
- package/build/src/protocol/run.d.ts +4 -4
- package/build/src/protocol/run.js +4 -1
- package/build/src/protocol/verify.d.ts +359 -30
- package/build/src/protocol/verify.js +118 -28
- package/build/src/region.d.ts +26 -0
- package/build/src/region.js +28 -0
- package/build/src/runtime/proc/diagnostic.d.ts +11 -0
- package/build/src/runtime/proc/diagnostic.js +20 -0
- package/build/src/runtime/proc/windows-launch.exe +0 -0
- package/build/src/settings.d.ts +126 -32
- package/build/src/settings.js +107 -34
- package/build/src/settlement/settle.d.ts +29 -12
- package/build/src/settlement/settle.js +22 -15
- package/build/src/verification/declaration.d.ts +1 -3
- package/build/src/verification/declaration.js +2 -5
- package/build/src/verification/execution.d.ts +7 -19
- package/build/src/verification/execution.js +37 -16
- package/build/src/verification/observation.d.ts +13 -13
- package/build/src/verification/observation.js +9 -7
- package/build/src/world.d.ts +8 -0
- package/build/src/world.js +7 -0
- package/package.json +6 -5
- package/plugins/paseo/plugin/server/keiyaku.ts +13 -46
- package/plugins/paseo/plugin/server/message.ts +8 -30
- package/plugins/paseo/plugin/server/mirror.ts +16 -20
- package/plugins/paseo/plugin/server/provider.ts +1 -1
- package/plugins/paseo/plugin/server/sdk.ts +14 -6
- package/plugins/pi/README.md +5 -5
- package/plugins/pi/akuma-tools.ts +17 -23
- package/skills/keiyaku/SKILL.md +12 -12
- package/skills/keiyaku-akuma/SKILL.md +16 -16
- package/skills/keiyaku-akuma/references/automation.md +14 -14
- package/skills/keiyaku-babysit/SKILL.md +10 -10
- package/skills/keiyaku-bind/SKILL.md +15 -15
- package/skills/keiyaku-debt/SKILL.md +16 -16
- package/skills/keiyaku-workflow/SKILL.md +21 -21
- package/build/src/cli/actor.d.ts +0 -10
- package/build/src/cli/actor.js +0 -24
- package/build/src/cli/akuma-caller.d.ts +0 -3
- package/build/src/cli/akuma-caller.js +0 -31
- package/build/src/cli/delivery-identity.d.ts +0 -3
- package/build/src/cli/render/effects.d.ts +0 -26
- package/build/src/cli/render/effects.js +0 -41
- package/build/src/cli/selectors.d.ts +0 -10
- package/build/src/cli/selectors.js +0 -42
- package/build/src/markdown/diff.d.ts +0 -1
- package/build/src/markdown/diff.js +0 -4
|
@@ -1,76 +1,1904 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { ContractId } from "../core/facts/types.js";
|
|
3
|
+
export type { CurrentPhysicalIssue } from "../protocol/read/observation.js";
|
|
4
|
+
/** Internal independent authority observations, before board composition. */
|
|
5
|
+
export declare function sectionSchema<S extends z.ZodType>(value: S): z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
6
|
+
kind: z.ZodLiteral<"present">;
|
|
7
|
+
value: S;
|
|
8
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
9
|
+
kind: z.ZodLiteral<"absent">;
|
|
10
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
11
|
+
kind: z.ZodLiteral<"failed">;
|
|
12
|
+
failure: z.ZodReadonly<z.ZodObject<{
|
|
13
|
+
message: z.ZodString;
|
|
14
|
+
coordinate: z.ZodExactOptional<z.ZodString>;
|
|
15
|
+
}, z.core.$strict>>;
|
|
16
|
+
}, z.core.$strict>>]>;
|
|
17
|
+
export type Section<Value> = z.output<ReturnType<typeof sectionSchema<z.ZodType<Value>>>>;
|
|
18
|
+
export type ContractEndpointObservation = "active" | "terminal" | "missing" | "unavailable";
|
|
19
|
+
export type BoardSection<Value> = (Readonly<{
|
|
13
20
|
kind: "present";
|
|
14
|
-
|
|
15
|
-
}> | Readonly<{
|
|
21
|
+
}> & Value) | Readonly<{
|
|
16
22
|
kind: "absent";
|
|
17
23
|
}> | Readonly<{
|
|
18
24
|
kind: "failed";
|
|
19
|
-
|
|
20
|
-
message: string;
|
|
21
|
-
coordinate?: string;
|
|
22
|
-
}>;
|
|
23
|
-
}>;
|
|
24
|
-
export type ContractEndpointObservation = ContractDisposition | "missing" | "unavailable";
|
|
25
|
-
export type ContractHolderObservation = Readonly<{
|
|
26
|
-
kind: "held";
|
|
27
|
-
debtId: DebtId;
|
|
28
|
-
}> | Readonly<{
|
|
29
|
-
kind: "none";
|
|
30
|
-
}> | Readonly<{
|
|
31
|
-
kind: "unavailable";
|
|
32
|
-
}>;
|
|
33
|
-
export type ContractRosterAttachment = Readonly<{
|
|
34
|
-
id: string;
|
|
35
|
-
aliases: readonly AkumaAlias[];
|
|
36
|
-
aliasesUnavailable?: true;
|
|
37
|
-
}>;
|
|
38
|
-
export type ContractKanshiRow = ContractBoard["rows"][number] & Readonly<{
|
|
39
|
-
phase: ContractPhase;
|
|
40
|
-
holder: ContractHolderObservation;
|
|
41
|
-
roster: readonly ContractRosterAttachment[];
|
|
42
|
-
rosterUnavailable?: true;
|
|
43
|
-
namespaceDebts?: Section<readonly DebtRow[]>;
|
|
44
|
-
issue?: CurrentPhysicalIssue;
|
|
25
|
+
diagnostic: string;
|
|
45
26
|
}>;
|
|
46
|
-
export type
|
|
47
|
-
|
|
48
|
-
|
|
27
|
+
export type DebtSection<Value> = BoardSection<Value> | Readonly<{
|
|
28
|
+
kind: "failed";
|
|
29
|
+
diagnostic: string;
|
|
30
|
+
coordinate?: string;
|
|
49
31
|
}>;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
32
|
+
declare const holderSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>, z.ZodReadonly<z.ZodObject<{
|
|
33
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
34
|
+
}, z.core.$strict>>]>;
|
|
35
|
+
declare const attachmentSchema: z.ZodReadonly<z.ZodObject<{
|
|
36
|
+
id: z.ZodString;
|
|
37
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
38
|
+
aliasesUnavailable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
39
|
+
}, z.core.$strict>>;
|
|
40
|
+
declare const contractDetail: z.ZodReadonly<z.ZodObject<{
|
|
41
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
42
|
+
title: z.ZodExactOptional<z.ZodString>;
|
|
43
|
+
phase: z.ZodEnum<{
|
|
44
|
+
claimed: "claimed";
|
|
45
|
+
abandoned: "abandoned";
|
|
46
|
+
bound: "bound";
|
|
54
47
|
}>;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
48
|
+
workspace: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
49
|
+
kind: z.ZodLiteral<"present">;
|
|
50
|
+
path: z.ZodString;
|
|
51
|
+
counts: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
52
|
+
staged: z.ZodExactOptional<z.ZodNumber>;
|
|
53
|
+
unstaged: z.ZodExactOptional<z.ZodNumber>;
|
|
54
|
+
untracked: z.ZodExactOptional<z.ZodNumber>;
|
|
55
|
+
submodules: z.ZodExactOptional<z.ZodNumber>;
|
|
56
|
+
}, z.core.$strict>>>;
|
|
57
|
+
merge: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
58
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
59
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
60
|
+
path: z.ZodString;
|
|
61
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
62
|
+
kind: z.ZodLiteral<"unappointed">;
|
|
63
|
+
}, z.core.$strict>>]>;
|
|
64
|
+
target: z.ZodExactOptional<z.ZodString>;
|
|
65
|
+
targetLag: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
66
|
+
kind: z.ZodLiteral<"counted">;
|
|
67
|
+
behind: z.ZodExactOptional<z.ZodNumber>;
|
|
68
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
69
|
+
kind: z.ZodLiteral<"unknown">;
|
|
70
|
+
}, z.core.$strict>>]>>;
|
|
71
|
+
delivery: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
72
|
+
candidate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
73
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
74
|
+
}, z.core.$strict>>>;
|
|
75
|
+
targetObservation: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
76
|
+
kind: z.ZodLiteral<"moved">;
|
|
77
|
+
before: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
78
|
+
after: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
79
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
80
|
+
kind: z.ZodLiteral<"unknown">;
|
|
81
|
+
}, z.core.$strict>>]>>;
|
|
82
|
+
gates: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
83
|
+
gate: z.ZodString;
|
|
84
|
+
requirements: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
85
|
+
requirement: z.ZodExactOptional<z.ZodString>;
|
|
86
|
+
current: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
87
|
+
kind: z.ZodLiteral<"missing">;
|
|
88
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
89
|
+
kind: z.ZodLiteral<"stale">;
|
|
90
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
91
|
+
kind: z.ZodLiteral<"attested">;
|
|
92
|
+
verdict: z.ZodEnum<{
|
|
93
|
+
satisfied: "satisfied";
|
|
94
|
+
unsatisfied: "unsatisfied";
|
|
95
|
+
}>;
|
|
96
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
97
|
+
}, z.core.$strict>>]>;
|
|
98
|
+
index: z.ZodExactOptional<z.ZodNumber>;
|
|
99
|
+
}, z.core.$strict>>>>;
|
|
100
|
+
}, z.core.$strict>>>>>;
|
|
101
|
+
after: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
102
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
103
|
+
state: z.ZodEnum<{
|
|
104
|
+
active: "active";
|
|
105
|
+
abandoned: "abandoned";
|
|
106
|
+
missing: "missing";
|
|
107
|
+
}>;
|
|
108
|
+
}, z.core.$strict>>>>>;
|
|
109
|
+
issue: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
110
|
+
kind: z.ZodLiteral<"target-checkout-retained">;
|
|
111
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
112
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
113
|
+
diagnostic: z.ZodString;
|
|
114
|
+
}, z.core.$strict>>]>>;
|
|
115
|
+
abandonNote: z.ZodExactOptional<z.ZodString>;
|
|
116
|
+
kind: z.ZodLiteral<"contract">;
|
|
117
|
+
holder: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>, z.ZodReadonly<z.ZodObject<{
|
|
118
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
119
|
+
}, z.core.$strict>>]>>;
|
|
120
|
+
roster: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
121
|
+
id: z.ZodString;
|
|
122
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
123
|
+
aliasesUnavailable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
124
|
+
}, z.core.$strict>>>>, z.ZodReadonly<z.ZodObject<{
|
|
125
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
126
|
+
}, z.core.$strict>>]>>;
|
|
127
|
+
namespaceDebts: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
128
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
129
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
|
|
130
|
+
title: z.ZodString;
|
|
131
|
+
priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
132
|
+
disposition: z.ZodEnum<{
|
|
133
|
+
drop: "drop";
|
|
134
|
+
blocked: "blocked";
|
|
135
|
+
ready: "ready";
|
|
136
|
+
done: "done";
|
|
137
|
+
}>;
|
|
138
|
+
}, z.core.$strict>>>>>;
|
|
139
|
+
kind: z.ZodLiteral<"present">;
|
|
140
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
141
|
+
kind: z.ZodLiteral<"absent">;
|
|
142
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
143
|
+
kind: z.ZodLiteral<"failed">;
|
|
144
|
+
diagnostic: z.ZodString;
|
|
145
|
+
coordinate: z.ZodExactOptional<z.ZodString>;
|
|
146
|
+
}, z.core.$strict>>]>;
|
|
147
|
+
}, z.core.$strict>>;
|
|
148
|
+
export declare const contractStatusSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
149
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
150
|
+
title: z.ZodExactOptional<z.ZodString>;
|
|
151
|
+
phase: z.ZodEnum<{
|
|
152
|
+
claimed: "claimed";
|
|
153
|
+
abandoned: "abandoned";
|
|
154
|
+
bound: "bound";
|
|
66
155
|
}>;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
156
|
+
workspace: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
157
|
+
kind: z.ZodLiteral<"present">;
|
|
158
|
+
path: z.ZodString;
|
|
159
|
+
counts: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
160
|
+
staged: z.ZodExactOptional<z.ZodNumber>;
|
|
161
|
+
unstaged: z.ZodExactOptional<z.ZodNumber>;
|
|
162
|
+
untracked: z.ZodExactOptional<z.ZodNumber>;
|
|
163
|
+
submodules: z.ZodExactOptional<z.ZodNumber>;
|
|
164
|
+
}, z.core.$strict>>>;
|
|
165
|
+
merge: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
166
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
167
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
168
|
+
path: z.ZodString;
|
|
169
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
170
|
+
kind: z.ZodLiteral<"unappointed">;
|
|
171
|
+
}, z.core.$strict>>]>;
|
|
172
|
+
target: z.ZodExactOptional<z.ZodString>;
|
|
173
|
+
targetLag: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
174
|
+
kind: z.ZodLiteral<"counted">;
|
|
175
|
+
behind: z.ZodExactOptional<z.ZodNumber>;
|
|
176
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
177
|
+
kind: z.ZodLiteral<"unknown">;
|
|
178
|
+
}, z.core.$strict>>]>>;
|
|
179
|
+
delivery: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
180
|
+
candidate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
181
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
182
|
+
}, z.core.$strict>>>;
|
|
183
|
+
targetObservation: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
184
|
+
kind: z.ZodLiteral<"moved">;
|
|
185
|
+
before: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
186
|
+
after: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
187
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
188
|
+
kind: z.ZodLiteral<"unknown">;
|
|
189
|
+
}, z.core.$strict>>]>>;
|
|
190
|
+
gates: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
191
|
+
gate: z.ZodString;
|
|
192
|
+
requirements: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
193
|
+
requirement: z.ZodExactOptional<z.ZodString>;
|
|
194
|
+
current: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
195
|
+
kind: z.ZodLiteral<"missing">;
|
|
196
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
197
|
+
kind: z.ZodLiteral<"stale">;
|
|
198
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
199
|
+
kind: z.ZodLiteral<"attested">;
|
|
200
|
+
verdict: z.ZodEnum<{
|
|
201
|
+
satisfied: "satisfied";
|
|
202
|
+
unsatisfied: "unsatisfied";
|
|
203
|
+
}>;
|
|
204
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
205
|
+
}, z.core.$strict>>]>;
|
|
206
|
+
index: z.ZodExactOptional<z.ZodNumber>;
|
|
207
|
+
}, z.core.$strict>>>>;
|
|
208
|
+
}, z.core.$strict>>>>>;
|
|
209
|
+
after: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
210
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
211
|
+
state: z.ZodEnum<{
|
|
212
|
+
active: "active";
|
|
213
|
+
abandoned: "abandoned";
|
|
214
|
+
missing: "missing";
|
|
215
|
+
}>;
|
|
216
|
+
}, z.core.$strict>>>>>;
|
|
217
|
+
issue: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
218
|
+
kind: z.ZodLiteral<"target-checkout-retained">;
|
|
219
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
220
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
221
|
+
diagnostic: z.ZodString;
|
|
222
|
+
}, z.core.$strict>>]>>;
|
|
223
|
+
abandonNote: z.ZodExactOptional<z.ZodString>;
|
|
224
|
+
kind: z.ZodLiteral<"contract">;
|
|
225
|
+
holder: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>, z.ZodReadonly<z.ZodObject<{
|
|
226
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
227
|
+
}, z.core.$strict>>]>>;
|
|
228
|
+
roster: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
229
|
+
id: z.ZodString;
|
|
230
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
231
|
+
aliasesUnavailable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
232
|
+
}, z.core.$strict>>>>, z.ZodReadonly<z.ZodObject<{
|
|
233
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
234
|
+
}, z.core.$strict>>]>>;
|
|
235
|
+
namespaceDebts: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
236
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
237
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
|
|
238
|
+
title: z.ZodString;
|
|
239
|
+
priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
240
|
+
disposition: z.ZodEnum<{
|
|
241
|
+
drop: "drop";
|
|
242
|
+
blocked: "blocked";
|
|
243
|
+
ready: "ready";
|
|
244
|
+
done: "done";
|
|
245
|
+
}>;
|
|
246
|
+
}, z.core.$strict>>>>>;
|
|
247
|
+
kind: z.ZodLiteral<"present">;
|
|
248
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
249
|
+
kind: z.ZodLiteral<"absent">;
|
|
250
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
251
|
+
kind: z.ZodLiteral<"failed">;
|
|
252
|
+
diagnostic: z.ZodString;
|
|
253
|
+
coordinate: z.ZodExactOptional<z.ZodString>;
|
|
254
|
+
}, z.core.$strict>>]>;
|
|
255
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
256
|
+
kind: z.ZodLiteral<"contract-missing">;
|
|
257
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
258
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
259
|
+
kind: z.ZodLiteral<"contract-failed">;
|
|
260
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
261
|
+
diagnostic: z.ZodString;
|
|
262
|
+
}, z.core.$strict>>]>;
|
|
263
|
+
export declare const kanshiContractReportSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
264
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
265
|
+
title: z.ZodExactOptional<z.ZodString>;
|
|
266
|
+
phase: z.ZodEnum<{
|
|
267
|
+
claimed: "claimed";
|
|
268
|
+
abandoned: "abandoned";
|
|
269
|
+
bound: "bound";
|
|
270
|
+
}>;
|
|
271
|
+
workspace: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
272
|
+
kind: z.ZodLiteral<"present">;
|
|
273
|
+
path: z.ZodString;
|
|
274
|
+
counts: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
275
|
+
staged: z.ZodExactOptional<z.ZodNumber>;
|
|
276
|
+
unstaged: z.ZodExactOptional<z.ZodNumber>;
|
|
277
|
+
untracked: z.ZodExactOptional<z.ZodNumber>;
|
|
278
|
+
submodules: z.ZodExactOptional<z.ZodNumber>;
|
|
279
|
+
}, z.core.$strict>>>;
|
|
280
|
+
merge: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
281
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
282
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
283
|
+
path: z.ZodString;
|
|
284
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
285
|
+
kind: z.ZodLiteral<"unappointed">;
|
|
286
|
+
}, z.core.$strict>>]>;
|
|
287
|
+
target: z.ZodExactOptional<z.ZodString>;
|
|
288
|
+
targetLag: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
289
|
+
kind: z.ZodLiteral<"counted">;
|
|
290
|
+
behind: z.ZodExactOptional<z.ZodNumber>;
|
|
291
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
292
|
+
kind: z.ZodLiteral<"unknown">;
|
|
293
|
+
}, z.core.$strict>>]>>;
|
|
294
|
+
delivery: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
295
|
+
candidate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
296
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
297
|
+
}, z.core.$strict>>>;
|
|
298
|
+
targetObservation: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
299
|
+
kind: z.ZodLiteral<"moved">;
|
|
300
|
+
before: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
301
|
+
after: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
302
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
303
|
+
kind: z.ZodLiteral<"unknown">;
|
|
304
|
+
}, z.core.$strict>>]>>;
|
|
305
|
+
gates: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
306
|
+
gate: z.ZodString;
|
|
307
|
+
requirements: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
308
|
+
requirement: z.ZodExactOptional<z.ZodString>;
|
|
309
|
+
current: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
310
|
+
kind: z.ZodLiteral<"missing">;
|
|
311
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
312
|
+
kind: z.ZodLiteral<"stale">;
|
|
313
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
314
|
+
kind: z.ZodLiteral<"attested">;
|
|
315
|
+
verdict: z.ZodEnum<{
|
|
316
|
+
satisfied: "satisfied";
|
|
317
|
+
unsatisfied: "unsatisfied";
|
|
318
|
+
}>;
|
|
319
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
320
|
+
}, z.core.$strict>>]>;
|
|
321
|
+
index: z.ZodExactOptional<z.ZodNumber>;
|
|
322
|
+
}, z.core.$strict>>>>;
|
|
323
|
+
}, z.core.$strict>>>>>;
|
|
324
|
+
after: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
325
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
326
|
+
state: z.ZodEnum<{
|
|
327
|
+
active: "active";
|
|
328
|
+
abandoned: "abandoned";
|
|
329
|
+
missing: "missing";
|
|
330
|
+
}>;
|
|
331
|
+
}, z.core.$strict>>>>>;
|
|
332
|
+
issue: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
333
|
+
kind: z.ZodLiteral<"target-checkout-retained">;
|
|
334
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
335
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
336
|
+
diagnostic: z.ZodString;
|
|
337
|
+
}, z.core.$strict>>]>>;
|
|
338
|
+
abandonNote: z.ZodExactOptional<z.ZodString>;
|
|
339
|
+
kind: z.ZodLiteral<"contract">;
|
|
340
|
+
holder: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>, z.ZodReadonly<z.ZodObject<{
|
|
341
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
342
|
+
}, z.core.$strict>>]>>;
|
|
343
|
+
roster: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
344
|
+
id: z.ZodString;
|
|
345
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
346
|
+
aliasesUnavailable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
347
|
+
}, z.core.$strict>>>>, z.ZodReadonly<z.ZodObject<{
|
|
348
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
349
|
+
}, z.core.$strict>>]>>;
|
|
350
|
+
namespaceDebts: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
351
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
352
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
|
|
353
|
+
title: z.ZodString;
|
|
354
|
+
priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
355
|
+
disposition: z.ZodEnum<{
|
|
356
|
+
drop: "drop";
|
|
357
|
+
blocked: "blocked";
|
|
358
|
+
ready: "ready";
|
|
359
|
+
done: "done";
|
|
360
|
+
}>;
|
|
361
|
+
}, z.core.$strict>>>>>;
|
|
362
|
+
kind: z.ZodLiteral<"present">;
|
|
363
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
364
|
+
kind: z.ZodLiteral<"absent">;
|
|
365
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
366
|
+
kind: z.ZodLiteral<"failed">;
|
|
367
|
+
diagnostic: z.ZodString;
|
|
368
|
+
coordinate: z.ZodExactOptional<z.ZodString>;
|
|
369
|
+
}, z.core.$strict>>]>;
|
|
370
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
371
|
+
kind: z.ZodLiteral<"contract-missing">;
|
|
372
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
373
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
374
|
+
kind: z.ZodLiteral<"contract-failed">;
|
|
375
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
376
|
+
diagnostic: z.ZodString;
|
|
377
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
378
|
+
kind: z.ZodLiteral<"contract-absent">;
|
|
379
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
380
|
+
}, z.core.$strict>>]>;
|
|
381
|
+
export declare const contractKanshiBoardSchema: z.ZodReadonly<z.ZodObject<{
|
|
382
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
383
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
384
|
+
title: z.ZodExactOptional<z.ZodString>;
|
|
385
|
+
phaseAt: z.ZodString;
|
|
386
|
+
delivered: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
387
|
+
gates: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
388
|
+
name: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
389
|
+
verdict: z.ZodEnum<{
|
|
390
|
+
satisfied: "satisfied";
|
|
391
|
+
unsatisfied: "unsatisfied";
|
|
392
|
+
missing: "missing";
|
|
393
|
+
stale: "stale";
|
|
394
|
+
}>;
|
|
395
|
+
}, z.core.$strict>>>>>;
|
|
396
|
+
attention: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
397
|
+
kind: z.ZodLiteral<"workspace-unavailable">;
|
|
398
|
+
path: z.ZodString;
|
|
399
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
400
|
+
kind: z.ZodLiteral<"workspace-unappointed">;
|
|
401
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
402
|
+
kind: z.ZodLiteral<"workspace-failed">;
|
|
403
|
+
path: z.ZodString;
|
|
404
|
+
diagnostic: z.ZodString;
|
|
405
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
406
|
+
kind: z.ZodLiteral<"merge-in-progress">;
|
|
407
|
+
path: z.ZodString;
|
|
408
|
+
conflicts: z.ZodExactOptional<z.ZodNumber>;
|
|
409
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
410
|
+
kind: z.ZodLiteral<"target-behind">;
|
|
411
|
+
behind: z.ZodNumber;
|
|
412
|
+
subject: z.ZodExactOptional<z.ZodString>;
|
|
413
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
414
|
+
kind: z.ZodLiteral<"target-unknown">;
|
|
415
|
+
subject: z.ZodExactOptional<z.ZodString>;
|
|
416
|
+
}, z.core.$strict>>]>>>>;
|
|
417
|
+
associations: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
418
|
+
kind: z.ZodLiteral<"debt">;
|
|
419
|
+
debtId: z.ZodString;
|
|
420
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
421
|
+
kind: z.ZodLiteral<"akuma">;
|
|
422
|
+
akumaId: z.ZodString;
|
|
423
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
424
|
+
aliasesUnavailable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
425
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
426
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
427
|
+
source: z.ZodEnum<{
|
|
428
|
+
holder: "holder";
|
|
429
|
+
roster: "roster";
|
|
430
|
+
}>;
|
|
431
|
+
diagnostic: z.ZodString;
|
|
432
|
+
}, z.core.$strict>>]>>>>;
|
|
433
|
+
}, z.core.$strict>>>>>;
|
|
434
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
435
|
+
}, z.core.$strict>>;
|
|
436
|
+
declare const debtRow: z.ZodReadonly<z.ZodObject<{
|
|
437
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
|
|
438
|
+
title: z.ZodString;
|
|
439
|
+
priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
440
|
+
disposition: z.ZodEnum<{
|
|
441
|
+
blocked: "blocked";
|
|
442
|
+
ready: "ready";
|
|
443
|
+
}>;
|
|
444
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
445
|
+
kind: z.ZodLiteral<"associated">;
|
|
446
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
447
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
448
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
449
|
+
}, z.core.$strict>>]>>;
|
|
450
|
+
}, z.core.$strict>>;
|
|
451
|
+
declare const debtWorld: z.ZodReadonly<z.ZodObject<{
|
|
452
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
453
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
|
|
454
|
+
title: z.ZodString;
|
|
455
|
+
priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
456
|
+
disposition: z.ZodEnum<{
|
|
457
|
+
blocked: "blocked";
|
|
458
|
+
ready: "ready";
|
|
459
|
+
}>;
|
|
460
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
461
|
+
kind: z.ZodLiteral<"associated">;
|
|
462
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
463
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
464
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
465
|
+
}, z.core.$strict>>]>>;
|
|
466
|
+
}, z.core.$strict>>>>>;
|
|
467
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
468
|
+
}, z.core.$strict>>;
|
|
469
|
+
declare const akumaRow: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
470
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
471
|
+
pending: z.ZodExactOptional<z.ZodNumber>;
|
|
472
|
+
lastActivityAt: z.ZodExactOptional<z.ZodString>;
|
|
473
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
474
|
+
life: z.ZodEnum<{
|
|
475
|
+
killed: "killed";
|
|
476
|
+
hung: "hung";
|
|
477
|
+
untidy: "untidy";
|
|
478
|
+
running: "running";
|
|
479
|
+
asleep: "asleep";
|
|
480
|
+
stranded: "stranded";
|
|
481
|
+
}>;
|
|
482
|
+
lifeAt: z.ZodExactOptional<z.ZodString>;
|
|
483
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
484
|
+
kind: z.ZodLiteral<"associated">;
|
|
485
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
486
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
487
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
488
|
+
}, z.core.$strict>>]>>;
|
|
489
|
+
activity: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
490
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
491
|
+
kind: z.ZodLiteral<"run">;
|
|
492
|
+
command: z.ZodString;
|
|
493
|
+
}, z.core.$strict>>;
|
|
494
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
495
|
+
kind: z.ZodLiteral<"tool">;
|
|
496
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
497
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
498
|
+
status: z.ZodEnum<{
|
|
499
|
+
error: "error";
|
|
500
|
+
ok: "ok";
|
|
501
|
+
}>;
|
|
502
|
+
}, z.core.$strict>>]>;
|
|
503
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
504
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
505
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
506
|
+
kind: z.ZodLiteral<"read">;
|
|
507
|
+
path: z.ZodString;
|
|
508
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
509
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
510
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
511
|
+
kind: z.ZodLiteral<"search">;
|
|
512
|
+
query: z.ZodString;
|
|
513
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
514
|
+
content: "content";
|
|
515
|
+
files: "files";
|
|
516
|
+
web: "web";
|
|
517
|
+
}>>;
|
|
518
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
519
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
520
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
521
|
+
kind: z.ZodLiteral<"fileChange">;
|
|
522
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
523
|
+
path: z.ZodString;
|
|
524
|
+
op: z.ZodEnum<{
|
|
525
|
+
add: "add";
|
|
526
|
+
update: "update";
|
|
527
|
+
delete: "delete";
|
|
528
|
+
unspecified: "unspecified";
|
|
529
|
+
}>;
|
|
530
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
531
|
+
added: z.ZodNumber;
|
|
532
|
+
removed: z.ZodNumber;
|
|
533
|
+
}, z.core.$strict>>>;
|
|
534
|
+
}, z.core.$strict>>>>;
|
|
535
|
+
}, z.core.$strict>>]>;
|
|
536
|
+
kind: z.ZodLiteral<"tool">;
|
|
537
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
538
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
539
|
+
status: z.ZodEnum<{
|
|
540
|
+
error: "error";
|
|
541
|
+
ok: "ok";
|
|
542
|
+
}>;
|
|
543
|
+
}, z.core.$strict>>]>;
|
|
544
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
545
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
546
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
547
|
+
kind: z.ZodLiteral<"other">;
|
|
548
|
+
input: z.ZodExactOptional<z.ZodString>;
|
|
549
|
+
}, z.core.$strict>>;
|
|
550
|
+
name: z.ZodString;
|
|
551
|
+
kind: z.ZodLiteral<"tool">;
|
|
552
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
553
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
554
|
+
status: z.ZodEnum<{
|
|
555
|
+
error: "error";
|
|
556
|
+
ok: "ok";
|
|
557
|
+
}>;
|
|
558
|
+
}, z.core.$strict>>]>;
|
|
559
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
560
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
561
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
562
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
563
|
+
text: z.ZodString;
|
|
564
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
565
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
566
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
567
|
+
text: z.ZodString;
|
|
568
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
569
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
570
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
571
|
+
text: z.ZodString;
|
|
572
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
573
|
+
kind: z.ZodLiteral<"report">;
|
|
574
|
+
text: z.ZodString;
|
|
575
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
576
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
577
|
+
diagnostic: z.ZodString;
|
|
578
|
+
}, z.core.$strict>>]>>;
|
|
579
|
+
outcome: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
580
|
+
kind: z.ZodLiteral<"answered">;
|
|
581
|
+
answer: z.ZodString;
|
|
582
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
583
|
+
kind: z.ZodLiteral<"failed">;
|
|
584
|
+
diagnostic: z.ZodString;
|
|
585
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
586
|
+
kind: z.ZodLiteral<"canceled">;
|
|
587
|
+
}, z.core.$strict>>]>>;
|
|
588
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
589
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
590
|
+
life: z.ZodEnum<{
|
|
591
|
+
unborn: "unborn";
|
|
592
|
+
stillborn: "stillborn";
|
|
593
|
+
}>;
|
|
594
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
595
|
+
diagnostic: z.ZodExactOptional<z.ZodString>;
|
|
596
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
597
|
+
kind: z.ZodLiteral<"associated">;
|
|
598
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
599
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
600
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
601
|
+
}, z.core.$strict>>]>>;
|
|
602
|
+
activity: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
603
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
604
|
+
kind: z.ZodLiteral<"run">;
|
|
605
|
+
command: z.ZodString;
|
|
606
|
+
}, z.core.$strict>>;
|
|
607
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
608
|
+
kind: z.ZodLiteral<"tool">;
|
|
609
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
610
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
611
|
+
status: z.ZodEnum<{
|
|
612
|
+
error: "error";
|
|
613
|
+
ok: "ok";
|
|
614
|
+
}>;
|
|
615
|
+
}, z.core.$strict>>]>;
|
|
616
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
617
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
618
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
619
|
+
kind: z.ZodLiteral<"read">;
|
|
620
|
+
path: z.ZodString;
|
|
621
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
622
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
623
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
624
|
+
kind: z.ZodLiteral<"search">;
|
|
625
|
+
query: z.ZodString;
|
|
626
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
627
|
+
content: "content";
|
|
628
|
+
files: "files";
|
|
629
|
+
web: "web";
|
|
630
|
+
}>>;
|
|
631
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
632
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
633
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
634
|
+
kind: z.ZodLiteral<"fileChange">;
|
|
635
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
636
|
+
path: z.ZodString;
|
|
637
|
+
op: z.ZodEnum<{
|
|
638
|
+
add: "add";
|
|
639
|
+
update: "update";
|
|
640
|
+
delete: "delete";
|
|
641
|
+
unspecified: "unspecified";
|
|
642
|
+
}>;
|
|
643
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
644
|
+
added: z.ZodNumber;
|
|
645
|
+
removed: z.ZodNumber;
|
|
646
|
+
}, z.core.$strict>>>;
|
|
647
|
+
}, z.core.$strict>>>>;
|
|
648
|
+
}, z.core.$strict>>]>;
|
|
649
|
+
kind: z.ZodLiteral<"tool">;
|
|
650
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
651
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
652
|
+
status: z.ZodEnum<{
|
|
653
|
+
error: "error";
|
|
654
|
+
ok: "ok";
|
|
655
|
+
}>;
|
|
656
|
+
}, z.core.$strict>>]>;
|
|
657
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
658
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
659
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
660
|
+
kind: z.ZodLiteral<"other">;
|
|
661
|
+
input: z.ZodExactOptional<z.ZodString>;
|
|
662
|
+
}, z.core.$strict>>;
|
|
663
|
+
name: z.ZodString;
|
|
664
|
+
kind: z.ZodLiteral<"tool">;
|
|
665
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
666
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
667
|
+
status: z.ZodEnum<{
|
|
668
|
+
error: "error";
|
|
669
|
+
ok: "ok";
|
|
670
|
+
}>;
|
|
671
|
+
}, z.core.$strict>>]>;
|
|
672
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
673
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
674
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
675
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
676
|
+
text: z.ZodString;
|
|
677
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
678
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
679
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
680
|
+
text: z.ZodString;
|
|
681
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
682
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
683
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
684
|
+
text: z.ZodString;
|
|
685
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
686
|
+
kind: z.ZodLiteral<"report">;
|
|
687
|
+
text: z.ZodString;
|
|
688
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
689
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
690
|
+
diagnostic: z.ZodString;
|
|
691
|
+
}, z.core.$strict>>]>>;
|
|
692
|
+
outcome: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
693
|
+
kind: z.ZodLiteral<"answered">;
|
|
694
|
+
answer: z.ZodString;
|
|
695
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
696
|
+
kind: z.ZodLiteral<"failed">;
|
|
697
|
+
diagnostic: z.ZodString;
|
|
698
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
699
|
+
kind: z.ZodLiteral<"canceled">;
|
|
700
|
+
}, z.core.$strict>>]>>;
|
|
701
|
+
}, z.core.$strict>>]>;
|
|
702
|
+
declare const akumaWorld: z.ZodReadonly<z.ZodObject<{
|
|
703
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
704
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
705
|
+
pending: z.ZodExactOptional<z.ZodNumber>;
|
|
706
|
+
lastActivityAt: z.ZodExactOptional<z.ZodString>;
|
|
707
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
708
|
+
life: z.ZodEnum<{
|
|
709
|
+
killed: "killed";
|
|
710
|
+
hung: "hung";
|
|
711
|
+
untidy: "untidy";
|
|
712
|
+
running: "running";
|
|
713
|
+
asleep: "asleep";
|
|
714
|
+
stranded: "stranded";
|
|
715
|
+
}>;
|
|
716
|
+
lifeAt: z.ZodExactOptional<z.ZodString>;
|
|
717
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
718
|
+
kind: z.ZodLiteral<"associated">;
|
|
719
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
720
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
721
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
722
|
+
}, z.core.$strict>>]>>;
|
|
723
|
+
activity: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
724
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
725
|
+
kind: z.ZodLiteral<"run">;
|
|
726
|
+
command: z.ZodString;
|
|
727
|
+
}, z.core.$strict>>;
|
|
728
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
729
|
+
kind: z.ZodLiteral<"tool">;
|
|
730
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
731
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
732
|
+
status: z.ZodEnum<{
|
|
733
|
+
error: "error";
|
|
734
|
+
ok: "ok";
|
|
735
|
+
}>;
|
|
736
|
+
}, z.core.$strict>>]>;
|
|
737
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
738
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
739
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
740
|
+
kind: z.ZodLiteral<"read">;
|
|
741
|
+
path: z.ZodString;
|
|
742
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
743
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
744
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
745
|
+
kind: z.ZodLiteral<"search">;
|
|
746
|
+
query: z.ZodString;
|
|
747
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
748
|
+
content: "content";
|
|
749
|
+
files: "files";
|
|
750
|
+
web: "web";
|
|
751
|
+
}>>;
|
|
752
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
753
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
754
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
755
|
+
kind: z.ZodLiteral<"fileChange">;
|
|
756
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
757
|
+
path: z.ZodString;
|
|
758
|
+
op: z.ZodEnum<{
|
|
759
|
+
add: "add";
|
|
760
|
+
update: "update";
|
|
761
|
+
delete: "delete";
|
|
762
|
+
unspecified: "unspecified";
|
|
763
|
+
}>;
|
|
764
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
765
|
+
added: z.ZodNumber;
|
|
766
|
+
removed: z.ZodNumber;
|
|
767
|
+
}, z.core.$strict>>>;
|
|
768
|
+
}, z.core.$strict>>>>;
|
|
769
|
+
}, z.core.$strict>>]>;
|
|
770
|
+
kind: z.ZodLiteral<"tool">;
|
|
771
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
772
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
773
|
+
status: z.ZodEnum<{
|
|
774
|
+
error: "error";
|
|
775
|
+
ok: "ok";
|
|
776
|
+
}>;
|
|
777
|
+
}, z.core.$strict>>]>;
|
|
778
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
779
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
780
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
781
|
+
kind: z.ZodLiteral<"other">;
|
|
782
|
+
input: z.ZodExactOptional<z.ZodString>;
|
|
783
|
+
}, z.core.$strict>>;
|
|
784
|
+
name: z.ZodString;
|
|
785
|
+
kind: z.ZodLiteral<"tool">;
|
|
786
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
787
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
788
|
+
status: z.ZodEnum<{
|
|
789
|
+
error: "error";
|
|
790
|
+
ok: "ok";
|
|
791
|
+
}>;
|
|
792
|
+
}, z.core.$strict>>]>;
|
|
793
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
794
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
795
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
796
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
797
|
+
text: z.ZodString;
|
|
798
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
799
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
800
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
801
|
+
text: z.ZodString;
|
|
802
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
803
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
804
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
805
|
+
text: z.ZodString;
|
|
806
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
807
|
+
kind: z.ZodLiteral<"report">;
|
|
808
|
+
text: z.ZodString;
|
|
809
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
810
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
811
|
+
diagnostic: z.ZodString;
|
|
812
|
+
}, z.core.$strict>>]>>;
|
|
813
|
+
outcome: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
814
|
+
kind: z.ZodLiteral<"answered">;
|
|
815
|
+
answer: z.ZodString;
|
|
816
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
817
|
+
kind: z.ZodLiteral<"failed">;
|
|
818
|
+
diagnostic: z.ZodString;
|
|
819
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
820
|
+
kind: z.ZodLiteral<"canceled">;
|
|
821
|
+
}, z.core.$strict>>]>>;
|
|
822
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
823
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
824
|
+
life: z.ZodEnum<{
|
|
825
|
+
unborn: "unborn";
|
|
826
|
+
stillborn: "stillborn";
|
|
827
|
+
}>;
|
|
828
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
829
|
+
diagnostic: z.ZodExactOptional<z.ZodString>;
|
|
830
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
831
|
+
kind: z.ZodLiteral<"associated">;
|
|
832
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
833
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
834
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
835
|
+
}, z.core.$strict>>]>>;
|
|
836
|
+
activity: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
837
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
838
|
+
kind: z.ZodLiteral<"run">;
|
|
839
|
+
command: z.ZodString;
|
|
840
|
+
}, z.core.$strict>>;
|
|
841
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
842
|
+
kind: z.ZodLiteral<"tool">;
|
|
843
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
844
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
845
|
+
status: z.ZodEnum<{
|
|
846
|
+
error: "error";
|
|
847
|
+
ok: "ok";
|
|
848
|
+
}>;
|
|
849
|
+
}, z.core.$strict>>]>;
|
|
850
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
851
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
852
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
853
|
+
kind: z.ZodLiteral<"read">;
|
|
854
|
+
path: z.ZodString;
|
|
855
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
856
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
857
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
858
|
+
kind: z.ZodLiteral<"search">;
|
|
859
|
+
query: z.ZodString;
|
|
860
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
861
|
+
content: "content";
|
|
862
|
+
files: "files";
|
|
863
|
+
web: "web";
|
|
864
|
+
}>>;
|
|
865
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
866
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
867
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
868
|
+
kind: z.ZodLiteral<"fileChange">;
|
|
869
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
870
|
+
path: z.ZodString;
|
|
871
|
+
op: z.ZodEnum<{
|
|
872
|
+
add: "add";
|
|
873
|
+
update: "update";
|
|
874
|
+
delete: "delete";
|
|
875
|
+
unspecified: "unspecified";
|
|
876
|
+
}>;
|
|
877
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
878
|
+
added: z.ZodNumber;
|
|
879
|
+
removed: z.ZodNumber;
|
|
880
|
+
}, z.core.$strict>>>;
|
|
881
|
+
}, z.core.$strict>>>>;
|
|
882
|
+
}, z.core.$strict>>]>;
|
|
883
|
+
kind: z.ZodLiteral<"tool">;
|
|
884
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
885
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
886
|
+
status: z.ZodEnum<{
|
|
887
|
+
error: "error";
|
|
888
|
+
ok: "ok";
|
|
889
|
+
}>;
|
|
890
|
+
}, z.core.$strict>>]>;
|
|
891
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
892
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
893
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
894
|
+
kind: z.ZodLiteral<"other">;
|
|
895
|
+
input: z.ZodExactOptional<z.ZodString>;
|
|
896
|
+
}, z.core.$strict>>;
|
|
897
|
+
name: z.ZodString;
|
|
898
|
+
kind: z.ZodLiteral<"tool">;
|
|
899
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
900
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
901
|
+
status: z.ZodEnum<{
|
|
902
|
+
error: "error";
|
|
903
|
+
ok: "ok";
|
|
904
|
+
}>;
|
|
905
|
+
}, z.core.$strict>>]>;
|
|
906
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
907
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
908
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
909
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
910
|
+
text: z.ZodString;
|
|
911
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
912
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
913
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
914
|
+
text: z.ZodString;
|
|
915
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
916
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
917
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
918
|
+
text: z.ZodString;
|
|
919
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
920
|
+
kind: z.ZodLiteral<"report">;
|
|
921
|
+
text: z.ZodString;
|
|
922
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
923
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
924
|
+
diagnostic: z.ZodString;
|
|
925
|
+
}, z.core.$strict>>]>>;
|
|
926
|
+
outcome: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
927
|
+
kind: z.ZodLiteral<"answered">;
|
|
928
|
+
answer: z.ZodString;
|
|
929
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
930
|
+
kind: z.ZodLiteral<"failed">;
|
|
931
|
+
diagnostic: z.ZodString;
|
|
932
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
933
|
+
kind: z.ZodLiteral<"canceled">;
|
|
934
|
+
}, z.core.$strict>>]>>;
|
|
935
|
+
}, z.core.$strict>>]>>>>;
|
|
936
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
937
|
+
aliasesError: z.ZodExactOptional<z.ZodString>;
|
|
938
|
+
}, z.core.$strict>>;
|
|
939
|
+
export declare const kanshiReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
940
|
+
observedAt: z.ZodString;
|
|
941
|
+
contracts: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
942
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
943
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
944
|
+
title: z.ZodExactOptional<z.ZodString>;
|
|
945
|
+
phaseAt: z.ZodString;
|
|
946
|
+
delivered: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
947
|
+
gates: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
948
|
+
name: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
949
|
+
verdict: z.ZodEnum<{
|
|
950
|
+
satisfied: "satisfied";
|
|
951
|
+
unsatisfied: "unsatisfied";
|
|
952
|
+
missing: "missing";
|
|
953
|
+
stale: "stale";
|
|
954
|
+
}>;
|
|
955
|
+
}, z.core.$strict>>>>>;
|
|
956
|
+
attention: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
957
|
+
kind: z.ZodLiteral<"workspace-unavailable">;
|
|
958
|
+
path: z.ZodString;
|
|
959
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
960
|
+
kind: z.ZodLiteral<"workspace-unappointed">;
|
|
961
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
962
|
+
kind: z.ZodLiteral<"workspace-failed">;
|
|
963
|
+
path: z.ZodString;
|
|
964
|
+
diagnostic: z.ZodString;
|
|
965
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
966
|
+
kind: z.ZodLiteral<"merge-in-progress">;
|
|
967
|
+
path: z.ZodString;
|
|
968
|
+
conflicts: z.ZodExactOptional<z.ZodNumber>;
|
|
969
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
970
|
+
kind: z.ZodLiteral<"target-behind">;
|
|
971
|
+
behind: z.ZodNumber;
|
|
972
|
+
subject: z.ZodExactOptional<z.ZodString>;
|
|
973
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
974
|
+
kind: z.ZodLiteral<"target-unknown">;
|
|
975
|
+
subject: z.ZodExactOptional<z.ZodString>;
|
|
976
|
+
}, z.core.$strict>>]>>>>;
|
|
977
|
+
associations: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
978
|
+
kind: z.ZodLiteral<"debt">;
|
|
979
|
+
debtId: z.ZodString;
|
|
980
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
981
|
+
kind: z.ZodLiteral<"akuma">;
|
|
982
|
+
akumaId: z.ZodString;
|
|
983
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
984
|
+
aliasesUnavailable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
985
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
986
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
987
|
+
source: z.ZodEnum<{
|
|
988
|
+
holder: "holder";
|
|
989
|
+
roster: "roster";
|
|
990
|
+
}>;
|
|
991
|
+
diagnostic: z.ZodString;
|
|
992
|
+
}, z.core.$strict>>]>>>>;
|
|
993
|
+
}, z.core.$strict>>>>>;
|
|
994
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
995
|
+
kind: z.ZodLiteral<"present">;
|
|
996
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
997
|
+
kind: z.ZodLiteral<"absent">;
|
|
998
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
999
|
+
kind: z.ZodLiteral<"failed">;
|
|
1000
|
+
diagnostic: z.ZodString;
|
|
1001
|
+
}, z.core.$strict>>]>;
|
|
1002
|
+
debts: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1003
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1004
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
|
|
1005
|
+
title: z.ZodString;
|
|
1006
|
+
priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
1007
|
+
disposition: z.ZodEnum<{
|
|
1008
|
+
blocked: "blocked";
|
|
1009
|
+
ready: "ready";
|
|
1010
|
+
}>;
|
|
1011
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1012
|
+
kind: z.ZodLiteral<"associated">;
|
|
1013
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1014
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1015
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1016
|
+
}, z.core.$strict>>]>>;
|
|
1017
|
+
}, z.core.$strict>>>>>;
|
|
1018
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1019
|
+
kind: z.ZodLiteral<"present">;
|
|
1020
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1021
|
+
kind: z.ZodLiteral<"absent">;
|
|
1022
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1023
|
+
kind: z.ZodLiteral<"failed">;
|
|
1024
|
+
diagnostic: z.ZodString;
|
|
1025
|
+
coordinate: z.ZodExactOptional<z.ZodString>;
|
|
1026
|
+
}, z.core.$strict>>]>;
|
|
1027
|
+
akumas: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1028
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1029
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
1030
|
+
pending: z.ZodExactOptional<z.ZodNumber>;
|
|
1031
|
+
lastActivityAt: z.ZodExactOptional<z.ZodString>;
|
|
1032
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
1033
|
+
life: z.ZodEnum<{
|
|
1034
|
+
killed: "killed";
|
|
1035
|
+
hung: "hung";
|
|
1036
|
+
untidy: "untidy";
|
|
1037
|
+
running: "running";
|
|
1038
|
+
asleep: "asleep";
|
|
1039
|
+
stranded: "stranded";
|
|
1040
|
+
}>;
|
|
1041
|
+
lifeAt: z.ZodExactOptional<z.ZodString>;
|
|
1042
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1043
|
+
kind: z.ZodLiteral<"associated">;
|
|
1044
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1045
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1046
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1047
|
+
}, z.core.$strict>>]>>;
|
|
1048
|
+
activity: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1049
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
1050
|
+
kind: z.ZodLiteral<"run">;
|
|
1051
|
+
command: z.ZodString;
|
|
1052
|
+
}, z.core.$strict>>;
|
|
1053
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
1054
|
+
kind: z.ZodLiteral<"tool">;
|
|
1055
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
1056
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
1057
|
+
status: z.ZodEnum<{
|
|
1058
|
+
error: "error";
|
|
1059
|
+
ok: "ok";
|
|
1060
|
+
}>;
|
|
1061
|
+
}, z.core.$strict>>]>;
|
|
1062
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1063
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1064
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1065
|
+
kind: z.ZodLiteral<"read">;
|
|
1066
|
+
path: z.ZodString;
|
|
1067
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
1068
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
1069
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1070
|
+
kind: z.ZodLiteral<"search">;
|
|
1071
|
+
query: z.ZodString;
|
|
1072
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
1073
|
+
content: "content";
|
|
1074
|
+
files: "files";
|
|
1075
|
+
web: "web";
|
|
1076
|
+
}>>;
|
|
1077
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
1078
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
1079
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1080
|
+
kind: z.ZodLiteral<"fileChange">;
|
|
1081
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1082
|
+
path: z.ZodString;
|
|
1083
|
+
op: z.ZodEnum<{
|
|
1084
|
+
add: "add";
|
|
1085
|
+
update: "update";
|
|
1086
|
+
delete: "delete";
|
|
1087
|
+
unspecified: "unspecified";
|
|
1088
|
+
}>;
|
|
1089
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
1090
|
+
added: z.ZodNumber;
|
|
1091
|
+
removed: z.ZodNumber;
|
|
1092
|
+
}, z.core.$strict>>>;
|
|
1093
|
+
}, z.core.$strict>>>>;
|
|
1094
|
+
}, z.core.$strict>>]>;
|
|
1095
|
+
kind: z.ZodLiteral<"tool">;
|
|
1096
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
1097
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
1098
|
+
status: z.ZodEnum<{
|
|
1099
|
+
error: "error";
|
|
1100
|
+
ok: "ok";
|
|
1101
|
+
}>;
|
|
1102
|
+
}, z.core.$strict>>]>;
|
|
1103
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1104
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1105
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
1106
|
+
kind: z.ZodLiteral<"other">;
|
|
1107
|
+
input: z.ZodExactOptional<z.ZodString>;
|
|
1108
|
+
}, z.core.$strict>>;
|
|
1109
|
+
name: z.ZodString;
|
|
1110
|
+
kind: z.ZodLiteral<"tool">;
|
|
1111
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
1112
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
1113
|
+
status: z.ZodEnum<{
|
|
1114
|
+
error: "error";
|
|
1115
|
+
ok: "ok";
|
|
1116
|
+
}>;
|
|
1117
|
+
}, z.core.$strict>>]>;
|
|
1118
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1119
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
1120
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
1121
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1122
|
+
text: z.ZodString;
|
|
1123
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1124
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
1125
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1126
|
+
text: z.ZodString;
|
|
1127
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1128
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
1129
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1130
|
+
text: z.ZodString;
|
|
1131
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1132
|
+
kind: z.ZodLiteral<"report">;
|
|
1133
|
+
text: z.ZodString;
|
|
1134
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
1135
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1136
|
+
diagnostic: z.ZodString;
|
|
1137
|
+
}, z.core.$strict>>]>>;
|
|
1138
|
+
outcome: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1139
|
+
kind: z.ZodLiteral<"answered">;
|
|
1140
|
+
answer: z.ZodString;
|
|
1141
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1142
|
+
kind: z.ZodLiteral<"failed">;
|
|
1143
|
+
diagnostic: z.ZodString;
|
|
1144
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1145
|
+
kind: z.ZodLiteral<"canceled">;
|
|
1146
|
+
}, z.core.$strict>>]>>;
|
|
1147
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1148
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
1149
|
+
life: z.ZodEnum<{
|
|
1150
|
+
unborn: "unborn";
|
|
1151
|
+
stillborn: "stillborn";
|
|
1152
|
+
}>;
|
|
1153
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
1154
|
+
diagnostic: z.ZodExactOptional<z.ZodString>;
|
|
1155
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1156
|
+
kind: z.ZodLiteral<"associated">;
|
|
1157
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1158
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1159
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1160
|
+
}, z.core.$strict>>]>>;
|
|
1161
|
+
activity: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1162
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
1163
|
+
kind: z.ZodLiteral<"run">;
|
|
1164
|
+
command: z.ZodString;
|
|
1165
|
+
}, z.core.$strict>>;
|
|
1166
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
1167
|
+
kind: z.ZodLiteral<"tool">;
|
|
1168
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
1169
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
1170
|
+
status: z.ZodEnum<{
|
|
1171
|
+
error: "error";
|
|
1172
|
+
ok: "ok";
|
|
1173
|
+
}>;
|
|
1174
|
+
}, z.core.$strict>>]>;
|
|
1175
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1176
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1177
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1178
|
+
kind: z.ZodLiteral<"read">;
|
|
1179
|
+
path: z.ZodString;
|
|
1180
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
1181
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
1182
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1183
|
+
kind: z.ZodLiteral<"search">;
|
|
1184
|
+
query: z.ZodString;
|
|
1185
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
1186
|
+
content: "content";
|
|
1187
|
+
files: "files";
|
|
1188
|
+
web: "web";
|
|
1189
|
+
}>>;
|
|
1190
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
1191
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
1192
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1193
|
+
kind: z.ZodLiteral<"fileChange">;
|
|
1194
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1195
|
+
path: z.ZodString;
|
|
1196
|
+
op: z.ZodEnum<{
|
|
1197
|
+
add: "add";
|
|
1198
|
+
update: "update";
|
|
1199
|
+
delete: "delete";
|
|
1200
|
+
unspecified: "unspecified";
|
|
1201
|
+
}>;
|
|
1202
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
1203
|
+
added: z.ZodNumber;
|
|
1204
|
+
removed: z.ZodNumber;
|
|
1205
|
+
}, z.core.$strict>>>;
|
|
1206
|
+
}, z.core.$strict>>>>;
|
|
1207
|
+
}, z.core.$strict>>]>;
|
|
1208
|
+
kind: z.ZodLiteral<"tool">;
|
|
1209
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
1210
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
1211
|
+
status: z.ZodEnum<{
|
|
1212
|
+
error: "error";
|
|
1213
|
+
ok: "ok";
|
|
1214
|
+
}>;
|
|
1215
|
+
}, z.core.$strict>>]>;
|
|
1216
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1217
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1218
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
1219
|
+
kind: z.ZodLiteral<"other">;
|
|
1220
|
+
input: z.ZodExactOptional<z.ZodString>;
|
|
1221
|
+
}, z.core.$strict>>;
|
|
1222
|
+
name: z.ZodString;
|
|
1223
|
+
kind: z.ZodLiteral<"tool">;
|
|
1224
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
1225
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
1226
|
+
status: z.ZodEnum<{
|
|
1227
|
+
error: "error";
|
|
1228
|
+
ok: "ok";
|
|
1229
|
+
}>;
|
|
1230
|
+
}, z.core.$strict>>]>;
|
|
1231
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1232
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
1233
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
1234
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1235
|
+
text: z.ZodString;
|
|
1236
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1237
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
1238
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1239
|
+
text: z.ZodString;
|
|
1240
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1241
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
1242
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1243
|
+
text: z.ZodString;
|
|
1244
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1245
|
+
kind: z.ZodLiteral<"report">;
|
|
1246
|
+
text: z.ZodString;
|
|
1247
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
1248
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1249
|
+
diagnostic: z.ZodString;
|
|
1250
|
+
}, z.core.$strict>>]>>;
|
|
1251
|
+
outcome: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1252
|
+
kind: z.ZodLiteral<"answered">;
|
|
1253
|
+
answer: z.ZodString;
|
|
1254
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1255
|
+
kind: z.ZodLiteral<"failed">;
|
|
1256
|
+
diagnostic: z.ZodString;
|
|
1257
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1258
|
+
kind: z.ZodLiteral<"canceled">;
|
|
1259
|
+
}, z.core.$strict>>]>>;
|
|
1260
|
+
}, z.core.$strict>>]>>>>;
|
|
1261
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1262
|
+
aliasesError: z.ZodExactOptional<z.ZodString>;
|
|
1263
|
+
kind: z.ZodLiteral<"present">;
|
|
1264
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1265
|
+
kind: z.ZodLiteral<"absent">;
|
|
1266
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1267
|
+
kind: z.ZodLiteral<"failed">;
|
|
1268
|
+
diagnostic: z.ZodString;
|
|
1269
|
+
}, z.core.$strict>>]>;
|
|
1270
|
+
}, z.core.$strict>>;
|
|
1271
|
+
export declare const contractCategoryReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
1272
|
+
observedAt: z.ZodString;
|
|
1273
|
+
section: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1274
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1275
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1276
|
+
title: z.ZodExactOptional<z.ZodString>;
|
|
1277
|
+
phaseAt: z.ZodString;
|
|
1278
|
+
delivered: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1279
|
+
gates: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1280
|
+
name: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
1281
|
+
verdict: z.ZodEnum<{
|
|
1282
|
+
satisfied: "satisfied";
|
|
1283
|
+
unsatisfied: "unsatisfied";
|
|
1284
|
+
missing: "missing";
|
|
1285
|
+
stale: "stale";
|
|
1286
|
+
}>;
|
|
1287
|
+
}, z.core.$strict>>>>>;
|
|
1288
|
+
attention: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1289
|
+
kind: z.ZodLiteral<"workspace-unavailable">;
|
|
1290
|
+
path: z.ZodString;
|
|
1291
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1292
|
+
kind: z.ZodLiteral<"workspace-unappointed">;
|
|
1293
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1294
|
+
kind: z.ZodLiteral<"workspace-failed">;
|
|
1295
|
+
path: z.ZodString;
|
|
1296
|
+
diagnostic: z.ZodString;
|
|
1297
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1298
|
+
kind: z.ZodLiteral<"merge-in-progress">;
|
|
1299
|
+
path: z.ZodString;
|
|
1300
|
+
conflicts: z.ZodExactOptional<z.ZodNumber>;
|
|
1301
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1302
|
+
kind: z.ZodLiteral<"target-behind">;
|
|
1303
|
+
behind: z.ZodNumber;
|
|
1304
|
+
subject: z.ZodExactOptional<z.ZodString>;
|
|
1305
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1306
|
+
kind: z.ZodLiteral<"target-unknown">;
|
|
1307
|
+
subject: z.ZodExactOptional<z.ZodString>;
|
|
1308
|
+
}, z.core.$strict>>]>>>>;
|
|
1309
|
+
associations: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1310
|
+
kind: z.ZodLiteral<"debt">;
|
|
1311
|
+
debtId: z.ZodString;
|
|
1312
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1313
|
+
kind: z.ZodLiteral<"akuma">;
|
|
1314
|
+
akumaId: z.ZodString;
|
|
1315
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1316
|
+
aliasesUnavailable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1317
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1318
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1319
|
+
source: z.ZodEnum<{
|
|
1320
|
+
holder: "holder";
|
|
1321
|
+
roster: "roster";
|
|
1322
|
+
}>;
|
|
1323
|
+
diagnostic: z.ZodString;
|
|
1324
|
+
}, z.core.$strict>>]>>>>;
|
|
1325
|
+
}, z.core.$strict>>>>>;
|
|
1326
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1327
|
+
kind: z.ZodLiteral<"present">;
|
|
1328
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1329
|
+
kind: z.ZodLiteral<"failed">;
|
|
1330
|
+
diagnostic: z.ZodString;
|
|
1331
|
+
}, z.core.$strict>>]>;
|
|
1332
|
+
}, z.core.$strict>>;
|
|
1333
|
+
export declare const akumaCategoryReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
1334
|
+
observedAt: z.ZodString;
|
|
1335
|
+
section: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1336
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1337
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
1338
|
+
pending: z.ZodExactOptional<z.ZodNumber>;
|
|
1339
|
+
lastActivityAt: z.ZodExactOptional<z.ZodString>;
|
|
1340
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
1341
|
+
life: z.ZodEnum<{
|
|
1342
|
+
killed: "killed";
|
|
1343
|
+
hung: "hung";
|
|
1344
|
+
untidy: "untidy";
|
|
1345
|
+
running: "running";
|
|
1346
|
+
asleep: "asleep";
|
|
1347
|
+
stranded: "stranded";
|
|
1348
|
+
}>;
|
|
1349
|
+
lifeAt: z.ZodExactOptional<z.ZodString>;
|
|
1350
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1351
|
+
kind: z.ZodLiteral<"associated">;
|
|
1352
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1353
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1354
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1355
|
+
}, z.core.$strict>>]>>;
|
|
1356
|
+
activity: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1357
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
1358
|
+
kind: z.ZodLiteral<"run">;
|
|
1359
|
+
command: z.ZodString;
|
|
1360
|
+
}, z.core.$strict>>;
|
|
1361
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
1362
|
+
kind: z.ZodLiteral<"tool">;
|
|
1363
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
1364
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
1365
|
+
status: z.ZodEnum<{
|
|
1366
|
+
error: "error";
|
|
1367
|
+
ok: "ok";
|
|
1368
|
+
}>;
|
|
1369
|
+
}, z.core.$strict>>]>;
|
|
1370
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1371
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1372
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1373
|
+
kind: z.ZodLiteral<"read">;
|
|
1374
|
+
path: z.ZodString;
|
|
1375
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
1376
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
1377
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1378
|
+
kind: z.ZodLiteral<"search">;
|
|
1379
|
+
query: z.ZodString;
|
|
1380
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
1381
|
+
content: "content";
|
|
1382
|
+
files: "files";
|
|
1383
|
+
web: "web";
|
|
1384
|
+
}>>;
|
|
1385
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
1386
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
1387
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1388
|
+
kind: z.ZodLiteral<"fileChange">;
|
|
1389
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1390
|
+
path: z.ZodString;
|
|
1391
|
+
op: z.ZodEnum<{
|
|
1392
|
+
add: "add";
|
|
1393
|
+
update: "update";
|
|
1394
|
+
delete: "delete";
|
|
1395
|
+
unspecified: "unspecified";
|
|
1396
|
+
}>;
|
|
1397
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
1398
|
+
added: z.ZodNumber;
|
|
1399
|
+
removed: z.ZodNumber;
|
|
1400
|
+
}, z.core.$strict>>>;
|
|
1401
|
+
}, z.core.$strict>>>>;
|
|
1402
|
+
}, z.core.$strict>>]>;
|
|
1403
|
+
kind: z.ZodLiteral<"tool">;
|
|
1404
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
1405
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
1406
|
+
status: z.ZodEnum<{
|
|
1407
|
+
error: "error";
|
|
1408
|
+
ok: "ok";
|
|
1409
|
+
}>;
|
|
1410
|
+
}, z.core.$strict>>]>;
|
|
1411
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1412
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1413
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
1414
|
+
kind: z.ZodLiteral<"other">;
|
|
1415
|
+
input: z.ZodExactOptional<z.ZodString>;
|
|
1416
|
+
}, z.core.$strict>>;
|
|
1417
|
+
name: z.ZodString;
|
|
1418
|
+
kind: z.ZodLiteral<"tool">;
|
|
1419
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
1420
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
1421
|
+
status: z.ZodEnum<{
|
|
1422
|
+
error: "error";
|
|
1423
|
+
ok: "ok";
|
|
1424
|
+
}>;
|
|
1425
|
+
}, z.core.$strict>>]>;
|
|
1426
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1427
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
1428
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
1429
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1430
|
+
text: z.ZodString;
|
|
1431
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1432
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
1433
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1434
|
+
text: z.ZodString;
|
|
1435
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1436
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
1437
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1438
|
+
text: z.ZodString;
|
|
1439
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1440
|
+
kind: z.ZodLiteral<"report">;
|
|
1441
|
+
text: z.ZodString;
|
|
1442
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
1443
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1444
|
+
diagnostic: z.ZodString;
|
|
1445
|
+
}, z.core.$strict>>]>>;
|
|
1446
|
+
outcome: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1447
|
+
kind: z.ZodLiteral<"answered">;
|
|
1448
|
+
answer: z.ZodString;
|
|
1449
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1450
|
+
kind: z.ZodLiteral<"failed">;
|
|
1451
|
+
diagnostic: z.ZodString;
|
|
1452
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1453
|
+
kind: z.ZodLiteral<"canceled">;
|
|
1454
|
+
}, z.core.$strict>>]>>;
|
|
1455
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1456
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
1457
|
+
life: z.ZodEnum<{
|
|
1458
|
+
unborn: "unborn";
|
|
1459
|
+
stillborn: "stillborn";
|
|
1460
|
+
}>;
|
|
1461
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
1462
|
+
diagnostic: z.ZodExactOptional<z.ZodString>;
|
|
1463
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1464
|
+
kind: z.ZodLiteral<"associated">;
|
|
1465
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1466
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1467
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1468
|
+
}, z.core.$strict>>]>>;
|
|
1469
|
+
activity: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1470
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
1471
|
+
kind: z.ZodLiteral<"run">;
|
|
1472
|
+
command: z.ZodString;
|
|
1473
|
+
}, z.core.$strict>>;
|
|
1474
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
1475
|
+
kind: z.ZodLiteral<"tool">;
|
|
1476
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
1477
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
1478
|
+
status: z.ZodEnum<{
|
|
1479
|
+
error: "error";
|
|
1480
|
+
ok: "ok";
|
|
1481
|
+
}>;
|
|
1482
|
+
}, z.core.$strict>>]>;
|
|
1483
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1484
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1485
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1486
|
+
kind: z.ZodLiteral<"read">;
|
|
1487
|
+
path: z.ZodString;
|
|
1488
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
1489
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
1490
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1491
|
+
kind: z.ZodLiteral<"search">;
|
|
1492
|
+
query: z.ZodString;
|
|
1493
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
1494
|
+
content: "content";
|
|
1495
|
+
files: "files";
|
|
1496
|
+
web: "web";
|
|
1497
|
+
}>>;
|
|
1498
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
1499
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
1500
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1501
|
+
kind: z.ZodLiteral<"fileChange">;
|
|
1502
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1503
|
+
path: z.ZodString;
|
|
1504
|
+
op: z.ZodEnum<{
|
|
1505
|
+
add: "add";
|
|
1506
|
+
update: "update";
|
|
1507
|
+
delete: "delete";
|
|
1508
|
+
unspecified: "unspecified";
|
|
1509
|
+
}>;
|
|
1510
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
1511
|
+
added: z.ZodNumber;
|
|
1512
|
+
removed: z.ZodNumber;
|
|
1513
|
+
}, z.core.$strict>>>;
|
|
1514
|
+
}, z.core.$strict>>>>;
|
|
1515
|
+
}, z.core.$strict>>]>;
|
|
1516
|
+
kind: z.ZodLiteral<"tool">;
|
|
1517
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
1518
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
1519
|
+
status: z.ZodEnum<{
|
|
1520
|
+
error: "error";
|
|
1521
|
+
ok: "ok";
|
|
1522
|
+
}>;
|
|
1523
|
+
}, z.core.$strict>>]>;
|
|
1524
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1525
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1526
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
1527
|
+
kind: z.ZodLiteral<"other">;
|
|
1528
|
+
input: z.ZodExactOptional<z.ZodString>;
|
|
1529
|
+
}, z.core.$strict>>;
|
|
1530
|
+
name: z.ZodString;
|
|
1531
|
+
kind: z.ZodLiteral<"tool">;
|
|
1532
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
1533
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
1534
|
+
status: z.ZodEnum<{
|
|
1535
|
+
error: "error";
|
|
1536
|
+
ok: "ok";
|
|
1537
|
+
}>;
|
|
1538
|
+
}, z.core.$strict>>]>;
|
|
1539
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1540
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
1541
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
1542
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1543
|
+
text: z.ZodString;
|
|
1544
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1545
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
1546
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1547
|
+
text: z.ZodString;
|
|
1548
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1549
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
1550
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1551
|
+
text: z.ZodString;
|
|
1552
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1553
|
+
kind: z.ZodLiteral<"report">;
|
|
1554
|
+
text: z.ZodString;
|
|
1555
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
1556
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1557
|
+
diagnostic: z.ZodString;
|
|
1558
|
+
}, z.core.$strict>>]>>;
|
|
1559
|
+
outcome: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1560
|
+
kind: z.ZodLiteral<"answered">;
|
|
1561
|
+
answer: z.ZodString;
|
|
1562
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1563
|
+
kind: z.ZodLiteral<"failed">;
|
|
1564
|
+
diagnostic: z.ZodString;
|
|
1565
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1566
|
+
kind: z.ZodLiteral<"canceled">;
|
|
1567
|
+
}, z.core.$strict>>]>>;
|
|
1568
|
+
}, z.core.$strict>>]>>>>;
|
|
1569
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1570
|
+
aliasesError: z.ZodExactOptional<z.ZodString>;
|
|
1571
|
+
kind: z.ZodLiteral<"present">;
|
|
1572
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1573
|
+
kind: z.ZodLiteral<"absent">;
|
|
1574
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1575
|
+
kind: z.ZodLiteral<"failed">;
|
|
1576
|
+
diagnostic: z.ZodString;
|
|
1577
|
+
}, z.core.$strict>>]>;
|
|
1578
|
+
}, z.core.$strict>>;
|
|
1579
|
+
export declare const kanshiCategoryReportSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1580
|
+
observedAt: z.ZodString;
|
|
1581
|
+
section: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1582
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1583
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1584
|
+
title: z.ZodExactOptional<z.ZodString>;
|
|
1585
|
+
phaseAt: z.ZodString;
|
|
1586
|
+
delivered: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1587
|
+
gates: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1588
|
+
name: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
1589
|
+
verdict: z.ZodEnum<{
|
|
1590
|
+
satisfied: "satisfied";
|
|
1591
|
+
unsatisfied: "unsatisfied";
|
|
1592
|
+
missing: "missing";
|
|
1593
|
+
stale: "stale";
|
|
1594
|
+
}>;
|
|
1595
|
+
}, z.core.$strict>>>>>;
|
|
1596
|
+
attention: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1597
|
+
kind: z.ZodLiteral<"workspace-unavailable">;
|
|
1598
|
+
path: z.ZodString;
|
|
1599
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1600
|
+
kind: z.ZodLiteral<"workspace-unappointed">;
|
|
1601
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1602
|
+
kind: z.ZodLiteral<"workspace-failed">;
|
|
1603
|
+
path: z.ZodString;
|
|
1604
|
+
diagnostic: z.ZodString;
|
|
1605
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1606
|
+
kind: z.ZodLiteral<"merge-in-progress">;
|
|
1607
|
+
path: z.ZodString;
|
|
1608
|
+
conflicts: z.ZodExactOptional<z.ZodNumber>;
|
|
1609
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1610
|
+
kind: z.ZodLiteral<"target-behind">;
|
|
1611
|
+
behind: z.ZodNumber;
|
|
1612
|
+
subject: z.ZodExactOptional<z.ZodString>;
|
|
1613
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1614
|
+
kind: z.ZodLiteral<"target-unknown">;
|
|
1615
|
+
subject: z.ZodExactOptional<z.ZodString>;
|
|
1616
|
+
}, z.core.$strict>>]>>>>;
|
|
1617
|
+
associations: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1618
|
+
kind: z.ZodLiteral<"debt">;
|
|
1619
|
+
debtId: z.ZodString;
|
|
1620
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1621
|
+
kind: z.ZodLiteral<"akuma">;
|
|
1622
|
+
akumaId: z.ZodString;
|
|
1623
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1624
|
+
aliasesUnavailable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1625
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1626
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1627
|
+
source: z.ZodEnum<{
|
|
1628
|
+
holder: "holder";
|
|
1629
|
+
roster: "roster";
|
|
1630
|
+
}>;
|
|
1631
|
+
diagnostic: z.ZodString;
|
|
1632
|
+
}, z.core.$strict>>]>>>>;
|
|
1633
|
+
}, z.core.$strict>>>>>;
|
|
1634
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1635
|
+
kind: z.ZodLiteral<"present">;
|
|
1636
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1637
|
+
kind: z.ZodLiteral<"failed">;
|
|
1638
|
+
diagnostic: z.ZodString;
|
|
1639
|
+
}, z.core.$strict>>]>;
|
|
1640
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1641
|
+
observedAt: z.ZodString;
|
|
1642
|
+
section: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1643
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1644
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
1645
|
+
pending: z.ZodExactOptional<z.ZodNumber>;
|
|
1646
|
+
lastActivityAt: z.ZodExactOptional<z.ZodString>;
|
|
1647
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
1648
|
+
life: z.ZodEnum<{
|
|
1649
|
+
killed: "killed";
|
|
1650
|
+
hung: "hung";
|
|
1651
|
+
untidy: "untidy";
|
|
1652
|
+
running: "running";
|
|
1653
|
+
asleep: "asleep";
|
|
1654
|
+
stranded: "stranded";
|
|
1655
|
+
}>;
|
|
1656
|
+
lifeAt: z.ZodExactOptional<z.ZodString>;
|
|
1657
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1658
|
+
kind: z.ZodLiteral<"associated">;
|
|
1659
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1660
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1661
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1662
|
+
}, z.core.$strict>>]>>;
|
|
1663
|
+
activity: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1664
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
1665
|
+
kind: z.ZodLiteral<"run">;
|
|
1666
|
+
command: z.ZodString;
|
|
1667
|
+
}, z.core.$strict>>;
|
|
1668
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
1669
|
+
kind: z.ZodLiteral<"tool">;
|
|
1670
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
1671
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
1672
|
+
status: z.ZodEnum<{
|
|
1673
|
+
error: "error";
|
|
1674
|
+
ok: "ok";
|
|
1675
|
+
}>;
|
|
1676
|
+
}, z.core.$strict>>]>;
|
|
1677
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1678
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1679
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1680
|
+
kind: z.ZodLiteral<"read">;
|
|
1681
|
+
path: z.ZodString;
|
|
1682
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
1683
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
1684
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1685
|
+
kind: z.ZodLiteral<"search">;
|
|
1686
|
+
query: z.ZodString;
|
|
1687
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
1688
|
+
content: "content";
|
|
1689
|
+
files: "files";
|
|
1690
|
+
web: "web";
|
|
1691
|
+
}>>;
|
|
1692
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
1693
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
1694
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1695
|
+
kind: z.ZodLiteral<"fileChange">;
|
|
1696
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1697
|
+
path: z.ZodString;
|
|
1698
|
+
op: z.ZodEnum<{
|
|
1699
|
+
add: "add";
|
|
1700
|
+
update: "update";
|
|
1701
|
+
delete: "delete";
|
|
1702
|
+
unspecified: "unspecified";
|
|
1703
|
+
}>;
|
|
1704
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
1705
|
+
added: z.ZodNumber;
|
|
1706
|
+
removed: z.ZodNumber;
|
|
1707
|
+
}, z.core.$strict>>>;
|
|
1708
|
+
}, z.core.$strict>>>>;
|
|
1709
|
+
}, z.core.$strict>>]>;
|
|
1710
|
+
kind: z.ZodLiteral<"tool">;
|
|
1711
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
1712
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
1713
|
+
status: z.ZodEnum<{
|
|
1714
|
+
error: "error";
|
|
1715
|
+
ok: "ok";
|
|
1716
|
+
}>;
|
|
1717
|
+
}, z.core.$strict>>]>;
|
|
1718
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1719
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1720
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
1721
|
+
kind: z.ZodLiteral<"other">;
|
|
1722
|
+
input: z.ZodExactOptional<z.ZodString>;
|
|
1723
|
+
}, z.core.$strict>>;
|
|
1724
|
+
name: z.ZodString;
|
|
1725
|
+
kind: z.ZodLiteral<"tool">;
|
|
1726
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
1727
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
1728
|
+
status: z.ZodEnum<{
|
|
1729
|
+
error: "error";
|
|
1730
|
+
ok: "ok";
|
|
1731
|
+
}>;
|
|
1732
|
+
}, z.core.$strict>>]>;
|
|
1733
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1734
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
1735
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
1736
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1737
|
+
text: z.ZodString;
|
|
1738
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1739
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
1740
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1741
|
+
text: z.ZodString;
|
|
1742
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1743
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
1744
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1745
|
+
text: z.ZodString;
|
|
1746
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1747
|
+
kind: z.ZodLiteral<"report">;
|
|
1748
|
+
text: z.ZodString;
|
|
1749
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
1750
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1751
|
+
diagnostic: z.ZodString;
|
|
1752
|
+
}, z.core.$strict>>]>>;
|
|
1753
|
+
outcome: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1754
|
+
kind: z.ZodLiteral<"answered">;
|
|
1755
|
+
answer: z.ZodString;
|
|
1756
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1757
|
+
kind: z.ZodLiteral<"failed">;
|
|
1758
|
+
diagnostic: z.ZodString;
|
|
1759
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1760
|
+
kind: z.ZodLiteral<"canceled">;
|
|
1761
|
+
}, z.core.$strict>>]>>;
|
|
1762
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1763
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
1764
|
+
life: z.ZodEnum<{
|
|
1765
|
+
unborn: "unborn";
|
|
1766
|
+
stillborn: "stillborn";
|
|
1767
|
+
}>;
|
|
1768
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
1769
|
+
diagnostic: z.ZodExactOptional<z.ZodString>;
|
|
1770
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1771
|
+
kind: z.ZodLiteral<"associated">;
|
|
1772
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1773
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1774
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1775
|
+
}, z.core.$strict>>]>>;
|
|
1776
|
+
activity: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1777
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
1778
|
+
kind: z.ZodLiteral<"run">;
|
|
1779
|
+
command: z.ZodString;
|
|
1780
|
+
}, z.core.$strict>>;
|
|
1781
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
1782
|
+
kind: z.ZodLiteral<"tool">;
|
|
1783
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
1784
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
1785
|
+
status: z.ZodEnum<{
|
|
1786
|
+
error: "error";
|
|
1787
|
+
ok: "ok";
|
|
1788
|
+
}>;
|
|
1789
|
+
}, z.core.$strict>>]>;
|
|
1790
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1791
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1792
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1793
|
+
kind: z.ZodLiteral<"read">;
|
|
1794
|
+
path: z.ZodString;
|
|
1795
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
1796
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
1797
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1798
|
+
kind: z.ZodLiteral<"search">;
|
|
1799
|
+
query: z.ZodString;
|
|
1800
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
1801
|
+
content: "content";
|
|
1802
|
+
files: "files";
|
|
1803
|
+
web: "web";
|
|
1804
|
+
}>>;
|
|
1805
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
1806
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
1807
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1808
|
+
kind: z.ZodLiteral<"fileChange">;
|
|
1809
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1810
|
+
path: z.ZodString;
|
|
1811
|
+
op: z.ZodEnum<{
|
|
1812
|
+
add: "add";
|
|
1813
|
+
update: "update";
|
|
1814
|
+
delete: "delete";
|
|
1815
|
+
unspecified: "unspecified";
|
|
1816
|
+
}>;
|
|
1817
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
1818
|
+
added: z.ZodNumber;
|
|
1819
|
+
removed: z.ZodNumber;
|
|
1820
|
+
}, z.core.$strict>>>;
|
|
1821
|
+
}, z.core.$strict>>>>;
|
|
1822
|
+
}, z.core.$strict>>]>;
|
|
1823
|
+
kind: z.ZodLiteral<"tool">;
|
|
1824
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
1825
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
1826
|
+
status: z.ZodEnum<{
|
|
1827
|
+
error: "error";
|
|
1828
|
+
ok: "ok";
|
|
1829
|
+
}>;
|
|
1830
|
+
}, z.core.$strict>>]>;
|
|
1831
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1832
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1833
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
1834
|
+
kind: z.ZodLiteral<"other">;
|
|
1835
|
+
input: z.ZodExactOptional<z.ZodString>;
|
|
1836
|
+
}, z.core.$strict>>;
|
|
1837
|
+
name: z.ZodString;
|
|
1838
|
+
kind: z.ZodLiteral<"tool">;
|
|
1839
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
1840
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
1841
|
+
status: z.ZodEnum<{
|
|
1842
|
+
error: "error";
|
|
1843
|
+
ok: "ok";
|
|
1844
|
+
}>;
|
|
1845
|
+
}, z.core.$strict>>]>;
|
|
1846
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1847
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
1848
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
1849
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1850
|
+
text: z.ZodString;
|
|
1851
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1852
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
1853
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1854
|
+
text: z.ZodString;
|
|
1855
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1856
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
1857
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1858
|
+
text: z.ZodString;
|
|
1859
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1860
|
+
kind: z.ZodLiteral<"report">;
|
|
1861
|
+
text: z.ZodString;
|
|
1862
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
1863
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1864
|
+
diagnostic: z.ZodString;
|
|
1865
|
+
}, z.core.$strict>>]>>;
|
|
1866
|
+
outcome: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1867
|
+
kind: z.ZodLiteral<"answered">;
|
|
1868
|
+
answer: z.ZodString;
|
|
1869
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1870
|
+
kind: z.ZodLiteral<"failed">;
|
|
1871
|
+
diagnostic: z.ZodString;
|
|
1872
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1873
|
+
kind: z.ZodLiteral<"canceled">;
|
|
1874
|
+
}, z.core.$strict>>]>>;
|
|
1875
|
+
}, z.core.$strict>>]>>>>;
|
|
1876
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1877
|
+
aliasesError: z.ZodExactOptional<z.ZodString>;
|
|
1878
|
+
kind: z.ZodLiteral<"present">;
|
|
1879
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1880
|
+
kind: z.ZodLiteral<"absent">;
|
|
1881
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1882
|
+
kind: z.ZodLiteral<"failed">;
|
|
1883
|
+
diagnostic: z.ZodString;
|
|
1884
|
+
}, z.core.$strict>>]>;
|
|
1885
|
+
}, z.core.$strict>>]>;
|
|
1886
|
+
export type ContractHolderObservation = z.output<typeof holderSchema>;
|
|
1887
|
+
export type ContractRosterAttachment = z.output<typeof attachmentSchema>;
|
|
1888
|
+
export type ContractKanshiDetail = z.output<typeof contractDetail>;
|
|
1889
|
+
export type ContractKanshiBoard = z.output<typeof contractKanshiBoardSchema>;
|
|
1890
|
+
export type DebtKanshiRow = z.output<typeof debtRow>;
|
|
1891
|
+
export type DebtKanshiWorld = z.output<typeof debtWorld>;
|
|
1892
|
+
export type AkumaKanshiRow = z.output<typeof akumaRow>;
|
|
1893
|
+
export type AkumaKanshiWorld = z.output<typeof akumaWorld>;
|
|
1894
|
+
export type KanshiReport = z.output<typeof kanshiReportSchema>;
|
|
1895
|
+
export type KanshiContractReport = z.output<typeof kanshiContractReportSchema>;
|
|
1896
|
+
export type ContractStatus = z.output<typeof contractStatusSchema>;
|
|
1897
|
+
export type KanshiCategoryByOwner = {
|
|
1898
|
+
contract: z.output<typeof contractCategoryReportSchema>;
|
|
1899
|
+
akuma: z.output<typeof akumaCategoryReportSchema>;
|
|
1900
|
+
};
|
|
1901
|
+
export type KanshiCategoryReport<C extends keyof KanshiCategoryByOwner = keyof KanshiCategoryByOwner> = KanshiCategoryByOwner[C];
|
|
74
1902
|
export type KanshiRegionSelection = Readonly<{
|
|
75
1903
|
kind: "declarations";
|
|
76
1904
|
}> | Readonly<{
|
|
@@ -80,41 +1908,614 @@ export type KanshiRegionSelection = Readonly<{
|
|
|
80
1908
|
kind: "path";
|
|
81
1909
|
patterns: readonly [string, ...string[]];
|
|
82
1910
|
}>;
|
|
83
|
-
export
|
|
84
|
-
|
|
85
|
-
patterns:
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
99
|
-
export type
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}
|
|
120
|
-
|
|
1911
|
+
export declare const regionDeclarationSchema: z.ZodReadonly<z.ZodObject<{
|
|
1912
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1913
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1914
|
+
}, z.core.$strict>>;
|
|
1915
|
+
declare const overlapSchema: z.ZodReadonly<z.ZodObject<{
|
|
1916
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1917
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1918
|
+
mine: z.ZodString;
|
|
1919
|
+
theirs: z.ZodString;
|
|
1920
|
+
relation: z.ZodExactOptional<z.ZodEnum<{
|
|
1921
|
+
"mine-within-theirs": "mine-within-theirs";
|
|
1922
|
+
"theirs-within-mine": "theirs-within-mine";
|
|
1923
|
+
intersect: "intersect";
|
|
1924
|
+
}>>;
|
|
1925
|
+
}, z.core.$strict>>>>;
|
|
1926
|
+
}, z.core.$strict>>;
|
|
1927
|
+
export type RegionOverlap = z.output<typeof overlapSchema>;
|
|
1928
|
+
export declare const regionResultSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1929
|
+
kind: z.ZodLiteral<"present">;
|
|
1930
|
+
declarations: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1931
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1932
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1933
|
+
}, z.core.$strict>>>>>;
|
|
1934
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1935
|
+
kind: z.ZodLiteral<"present">;
|
|
1936
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1937
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1938
|
+
overlaps: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1939
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1940
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1941
|
+
mine: z.ZodString;
|
|
1942
|
+
theirs: z.ZodString;
|
|
1943
|
+
relation: z.ZodExactOptional<z.ZodEnum<{
|
|
1944
|
+
"mine-within-theirs": "mine-within-theirs";
|
|
1945
|
+
"theirs-within-mine": "theirs-within-mine";
|
|
1946
|
+
intersect: "intersect";
|
|
1947
|
+
}>>;
|
|
1948
|
+
}, z.core.$strict>>>>;
|
|
1949
|
+
}, z.core.$strict>>>>>;
|
|
1950
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1951
|
+
kind: z.ZodLiteral<"present">;
|
|
1952
|
+
overlaps: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1953
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1954
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1955
|
+
mine: z.ZodString;
|
|
1956
|
+
theirs: z.ZodString;
|
|
1957
|
+
relation: z.ZodExactOptional<z.ZodEnum<{
|
|
1958
|
+
"mine-within-theirs": "mine-within-theirs";
|
|
1959
|
+
"theirs-within-mine": "theirs-within-mine";
|
|
1960
|
+
intersect: "intersect";
|
|
1961
|
+
}>>;
|
|
1962
|
+
}, z.core.$strict>>>>;
|
|
1963
|
+
}, z.core.$strict>>>>>;
|
|
1964
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1965
|
+
kind: z.ZodLiteral<"failed">;
|
|
1966
|
+
diagnostic: z.ZodString;
|
|
1967
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1968
|
+
kind: z.ZodLiteral<"contract-missing">;
|
|
1969
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1970
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1971
|
+
kind: z.ZodLiteral<"contract-terminal">;
|
|
1972
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1973
|
+
}, z.core.$strict>>]>;
|
|
1974
|
+
export declare const regionReadSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1975
|
+
kind: z.ZodLiteral<"present">;
|
|
1976
|
+
declarations: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1977
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1978
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1979
|
+
}, z.core.$strict>>>>>;
|
|
1980
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1981
|
+
kind: z.ZodLiteral<"present">;
|
|
1982
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1983
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1984
|
+
overlaps: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1985
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1986
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1987
|
+
mine: z.ZodString;
|
|
1988
|
+
theirs: z.ZodString;
|
|
1989
|
+
relation: z.ZodExactOptional<z.ZodEnum<{
|
|
1990
|
+
"mine-within-theirs": "mine-within-theirs";
|
|
1991
|
+
"theirs-within-mine": "theirs-within-mine";
|
|
1992
|
+
intersect: "intersect";
|
|
1993
|
+
}>>;
|
|
1994
|
+
}, z.core.$strict>>>>;
|
|
1995
|
+
}, z.core.$strict>>>>>;
|
|
1996
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1997
|
+
kind: z.ZodLiteral<"present">;
|
|
1998
|
+
overlaps: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1999
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
2000
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2001
|
+
mine: z.ZodString;
|
|
2002
|
+
theirs: z.ZodString;
|
|
2003
|
+
relation: z.ZodExactOptional<z.ZodEnum<{
|
|
2004
|
+
"mine-within-theirs": "mine-within-theirs";
|
|
2005
|
+
"theirs-within-mine": "theirs-within-mine";
|
|
2006
|
+
intersect: "intersect";
|
|
2007
|
+
}>>;
|
|
2008
|
+
}, z.core.$strict>>>>;
|
|
2009
|
+
}, z.core.$strict>>>>>;
|
|
2010
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2011
|
+
kind: z.ZodLiteral<"failed">;
|
|
2012
|
+
diagnostic: z.ZodString;
|
|
2013
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2014
|
+
kind: z.ZodLiteral<"contract-missing">;
|
|
2015
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
2016
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2017
|
+
kind: z.ZodLiteral<"contract-terminal">;
|
|
2018
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
2019
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2020
|
+
kind: z.ZodLiteral<"absent">;
|
|
2021
|
+
}, z.core.$strict>>]>;
|
|
2022
|
+
export type RegionDeclaration = z.output<typeof regionDeclarationSchema>;
|
|
2023
|
+
export type RegionResult = z.output<typeof regionResultSchema>;
|
|
2024
|
+
export type RegionRead = z.output<typeof regionReadSchema>;
|
|
2025
|
+
export declare const kanshiResultSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2026
|
+
observedAt: z.ZodString;
|
|
2027
|
+
contracts: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2028
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2029
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
2030
|
+
title: z.ZodExactOptional<z.ZodString>;
|
|
2031
|
+
phaseAt: z.ZodString;
|
|
2032
|
+
delivered: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2033
|
+
gates: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2034
|
+
name: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
2035
|
+
verdict: z.ZodEnum<{
|
|
2036
|
+
satisfied: "satisfied";
|
|
2037
|
+
unsatisfied: "unsatisfied";
|
|
2038
|
+
missing: "missing";
|
|
2039
|
+
stale: "stale";
|
|
2040
|
+
}>;
|
|
2041
|
+
}, z.core.$strict>>>>>;
|
|
2042
|
+
attention: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2043
|
+
kind: z.ZodLiteral<"workspace-unavailable">;
|
|
2044
|
+
path: z.ZodString;
|
|
2045
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2046
|
+
kind: z.ZodLiteral<"workspace-unappointed">;
|
|
2047
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2048
|
+
kind: z.ZodLiteral<"workspace-failed">;
|
|
2049
|
+
path: z.ZodString;
|
|
2050
|
+
diagnostic: z.ZodString;
|
|
2051
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2052
|
+
kind: z.ZodLiteral<"merge-in-progress">;
|
|
2053
|
+
path: z.ZodString;
|
|
2054
|
+
conflicts: z.ZodExactOptional<z.ZodNumber>;
|
|
2055
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2056
|
+
kind: z.ZodLiteral<"target-behind">;
|
|
2057
|
+
behind: z.ZodNumber;
|
|
2058
|
+
subject: z.ZodExactOptional<z.ZodString>;
|
|
2059
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2060
|
+
kind: z.ZodLiteral<"target-unknown">;
|
|
2061
|
+
subject: z.ZodExactOptional<z.ZodString>;
|
|
2062
|
+
}, z.core.$strict>>]>>>>;
|
|
2063
|
+
associations: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2064
|
+
kind: z.ZodLiteral<"debt">;
|
|
2065
|
+
debtId: z.ZodString;
|
|
2066
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2067
|
+
kind: z.ZodLiteral<"akuma">;
|
|
2068
|
+
akumaId: z.ZodString;
|
|
2069
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
2070
|
+
aliasesUnavailable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2071
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2072
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2073
|
+
source: z.ZodEnum<{
|
|
2074
|
+
holder: "holder";
|
|
2075
|
+
roster: "roster";
|
|
2076
|
+
}>;
|
|
2077
|
+
diagnostic: z.ZodString;
|
|
2078
|
+
}, z.core.$strict>>]>>>>;
|
|
2079
|
+
}, z.core.$strict>>>>>;
|
|
2080
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2081
|
+
kind: z.ZodLiteral<"present">;
|
|
2082
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
2083
|
+
kind: z.ZodLiteral<"absent">;
|
|
2084
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2085
|
+
kind: z.ZodLiteral<"failed">;
|
|
2086
|
+
diagnostic: z.ZodString;
|
|
2087
|
+
}, z.core.$strict>>]>;
|
|
2088
|
+
debts: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2089
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2090
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
|
|
2091
|
+
title: z.ZodString;
|
|
2092
|
+
priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
2093
|
+
disposition: z.ZodEnum<{
|
|
2094
|
+
blocked: "blocked";
|
|
2095
|
+
ready: "ready";
|
|
2096
|
+
}>;
|
|
2097
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2098
|
+
kind: z.ZodLiteral<"associated">;
|
|
2099
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
2100
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2101
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2102
|
+
}, z.core.$strict>>]>>;
|
|
2103
|
+
}, z.core.$strict>>>>>;
|
|
2104
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2105
|
+
kind: z.ZodLiteral<"present">;
|
|
2106
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
2107
|
+
kind: z.ZodLiteral<"absent">;
|
|
2108
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2109
|
+
kind: z.ZodLiteral<"failed">;
|
|
2110
|
+
diagnostic: z.ZodString;
|
|
2111
|
+
coordinate: z.ZodExactOptional<z.ZodString>;
|
|
2112
|
+
}, z.core.$strict>>]>;
|
|
2113
|
+
akumas: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2114
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2115
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
2116
|
+
pending: z.ZodExactOptional<z.ZodNumber>;
|
|
2117
|
+
lastActivityAt: z.ZodExactOptional<z.ZodString>;
|
|
2118
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
2119
|
+
life: z.ZodEnum<{
|
|
2120
|
+
killed: "killed";
|
|
2121
|
+
hung: "hung";
|
|
2122
|
+
untidy: "untidy";
|
|
2123
|
+
running: "running";
|
|
2124
|
+
asleep: "asleep";
|
|
2125
|
+
stranded: "stranded";
|
|
2126
|
+
}>;
|
|
2127
|
+
lifeAt: z.ZodExactOptional<z.ZodString>;
|
|
2128
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2129
|
+
kind: z.ZodLiteral<"associated">;
|
|
2130
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
2131
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2132
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2133
|
+
}, z.core.$strict>>]>>;
|
|
2134
|
+
activity: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2135
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
2136
|
+
kind: z.ZodLiteral<"run">;
|
|
2137
|
+
command: z.ZodString;
|
|
2138
|
+
}, z.core.$strict>>;
|
|
2139
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
2140
|
+
kind: z.ZodLiteral<"tool">;
|
|
2141
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
2142
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
2143
|
+
status: z.ZodEnum<{
|
|
2144
|
+
error: "error";
|
|
2145
|
+
ok: "ok";
|
|
2146
|
+
}>;
|
|
2147
|
+
}, z.core.$strict>>]>;
|
|
2148
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2149
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2150
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2151
|
+
kind: z.ZodLiteral<"read">;
|
|
2152
|
+
path: z.ZodString;
|
|
2153
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
2154
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
2155
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2156
|
+
kind: z.ZodLiteral<"search">;
|
|
2157
|
+
query: z.ZodString;
|
|
2158
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
2159
|
+
content: "content";
|
|
2160
|
+
files: "files";
|
|
2161
|
+
web: "web";
|
|
2162
|
+
}>>;
|
|
2163
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
2164
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
2165
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2166
|
+
kind: z.ZodLiteral<"fileChange">;
|
|
2167
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2168
|
+
path: z.ZodString;
|
|
2169
|
+
op: z.ZodEnum<{
|
|
2170
|
+
add: "add";
|
|
2171
|
+
update: "update";
|
|
2172
|
+
delete: "delete";
|
|
2173
|
+
unspecified: "unspecified";
|
|
2174
|
+
}>;
|
|
2175
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
2176
|
+
added: z.ZodNumber;
|
|
2177
|
+
removed: z.ZodNumber;
|
|
2178
|
+
}, z.core.$strict>>>;
|
|
2179
|
+
}, z.core.$strict>>>>;
|
|
2180
|
+
}, z.core.$strict>>]>;
|
|
2181
|
+
kind: z.ZodLiteral<"tool">;
|
|
2182
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
2183
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
2184
|
+
status: z.ZodEnum<{
|
|
2185
|
+
error: "error";
|
|
2186
|
+
ok: "ok";
|
|
2187
|
+
}>;
|
|
2188
|
+
}, z.core.$strict>>]>;
|
|
2189
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2190
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2191
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
2192
|
+
kind: z.ZodLiteral<"other">;
|
|
2193
|
+
input: z.ZodExactOptional<z.ZodString>;
|
|
2194
|
+
}, z.core.$strict>>;
|
|
2195
|
+
name: z.ZodString;
|
|
2196
|
+
kind: z.ZodLiteral<"tool">;
|
|
2197
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
2198
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
2199
|
+
status: z.ZodEnum<{
|
|
2200
|
+
error: "error";
|
|
2201
|
+
ok: "ok";
|
|
2202
|
+
}>;
|
|
2203
|
+
}, z.core.$strict>>]>;
|
|
2204
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2205
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
2206
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
2207
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2208
|
+
text: z.ZodString;
|
|
2209
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2210
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
2211
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2212
|
+
text: z.ZodString;
|
|
2213
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2214
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
2215
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2216
|
+
text: z.ZodString;
|
|
2217
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2218
|
+
kind: z.ZodLiteral<"report">;
|
|
2219
|
+
text: z.ZodString;
|
|
2220
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
2221
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2222
|
+
diagnostic: z.ZodString;
|
|
2223
|
+
}, z.core.$strict>>]>>;
|
|
2224
|
+
outcome: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2225
|
+
kind: z.ZodLiteral<"answered">;
|
|
2226
|
+
answer: z.ZodString;
|
|
2227
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2228
|
+
kind: z.ZodLiteral<"failed">;
|
|
2229
|
+
diagnostic: z.ZodString;
|
|
2230
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2231
|
+
kind: z.ZodLiteral<"canceled">;
|
|
2232
|
+
}, z.core.$strict>>]>>;
|
|
2233
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2234
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
2235
|
+
life: z.ZodEnum<{
|
|
2236
|
+
unborn: "unborn";
|
|
2237
|
+
stillborn: "stillborn";
|
|
2238
|
+
}>;
|
|
2239
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
2240
|
+
diagnostic: z.ZodExactOptional<z.ZodString>;
|
|
2241
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2242
|
+
kind: z.ZodLiteral<"associated">;
|
|
2243
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
2244
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2245
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2246
|
+
}, z.core.$strict>>]>>;
|
|
2247
|
+
activity: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2248
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
2249
|
+
kind: z.ZodLiteral<"run">;
|
|
2250
|
+
command: z.ZodString;
|
|
2251
|
+
}, z.core.$strict>>;
|
|
2252
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
2253
|
+
kind: z.ZodLiteral<"tool">;
|
|
2254
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
2255
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
2256
|
+
status: z.ZodEnum<{
|
|
2257
|
+
error: "error";
|
|
2258
|
+
ok: "ok";
|
|
2259
|
+
}>;
|
|
2260
|
+
}, z.core.$strict>>]>;
|
|
2261
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2262
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2263
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2264
|
+
kind: z.ZodLiteral<"read">;
|
|
2265
|
+
path: z.ZodString;
|
|
2266
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
2267
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
2268
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2269
|
+
kind: z.ZodLiteral<"search">;
|
|
2270
|
+
query: z.ZodString;
|
|
2271
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
2272
|
+
content: "content";
|
|
2273
|
+
files: "files";
|
|
2274
|
+
web: "web";
|
|
2275
|
+
}>>;
|
|
2276
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
2277
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
2278
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2279
|
+
kind: z.ZodLiteral<"fileChange">;
|
|
2280
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2281
|
+
path: z.ZodString;
|
|
2282
|
+
op: z.ZodEnum<{
|
|
2283
|
+
add: "add";
|
|
2284
|
+
update: "update";
|
|
2285
|
+
delete: "delete";
|
|
2286
|
+
unspecified: "unspecified";
|
|
2287
|
+
}>;
|
|
2288
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
2289
|
+
added: z.ZodNumber;
|
|
2290
|
+
removed: z.ZodNumber;
|
|
2291
|
+
}, z.core.$strict>>>;
|
|
2292
|
+
}, z.core.$strict>>>>;
|
|
2293
|
+
}, z.core.$strict>>]>;
|
|
2294
|
+
kind: z.ZodLiteral<"tool">;
|
|
2295
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
2296
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
2297
|
+
status: z.ZodEnum<{
|
|
2298
|
+
error: "error";
|
|
2299
|
+
ok: "ok";
|
|
2300
|
+
}>;
|
|
2301
|
+
}, z.core.$strict>>]>;
|
|
2302
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2303
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2304
|
+
call: z.ZodReadonly<z.ZodObject<{
|
|
2305
|
+
kind: z.ZodLiteral<"other">;
|
|
2306
|
+
input: z.ZodExactOptional<z.ZodString>;
|
|
2307
|
+
}, z.core.$strict>>;
|
|
2308
|
+
name: z.ZodString;
|
|
2309
|
+
kind: z.ZodLiteral<"tool">;
|
|
2310
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
2311
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
2312
|
+
status: z.ZodEnum<{
|
|
2313
|
+
error: "error";
|
|
2314
|
+
ok: "ok";
|
|
2315
|
+
}>;
|
|
2316
|
+
}, z.core.$strict>>]>;
|
|
2317
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2318
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
2319
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
2320
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2321
|
+
text: z.ZodString;
|
|
2322
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2323
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
2324
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2325
|
+
text: z.ZodString;
|
|
2326
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2327
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
2328
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2329
|
+
text: z.ZodString;
|
|
2330
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2331
|
+
kind: z.ZodLiteral<"report">;
|
|
2332
|
+
text: z.ZodString;
|
|
2333
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
2334
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2335
|
+
diagnostic: z.ZodString;
|
|
2336
|
+
}, z.core.$strict>>]>>;
|
|
2337
|
+
outcome: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2338
|
+
kind: z.ZodLiteral<"answered">;
|
|
2339
|
+
answer: z.ZodString;
|
|
2340
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2341
|
+
kind: z.ZodLiteral<"failed">;
|
|
2342
|
+
diagnostic: z.ZodString;
|
|
2343
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2344
|
+
kind: z.ZodLiteral<"canceled">;
|
|
2345
|
+
}, z.core.$strict>>]>>;
|
|
2346
|
+
}, z.core.$strict>>]>>>>;
|
|
2347
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2348
|
+
aliasesError: z.ZodExactOptional<z.ZodString>;
|
|
2349
|
+
kind: z.ZodLiteral<"present">;
|
|
2350
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
2351
|
+
kind: z.ZodLiteral<"absent">;
|
|
2352
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2353
|
+
kind: z.ZodLiteral<"failed">;
|
|
2354
|
+
diagnostic: z.ZodString;
|
|
2355
|
+
}, z.core.$strict>>]>;
|
|
2356
|
+
}, z.core.$strict>>, z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2357
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
2358
|
+
title: z.ZodExactOptional<z.ZodString>;
|
|
2359
|
+
phase: z.ZodEnum<{
|
|
2360
|
+
claimed: "claimed";
|
|
2361
|
+
abandoned: "abandoned";
|
|
2362
|
+
bound: "bound";
|
|
2363
|
+
}>;
|
|
2364
|
+
workspace: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2365
|
+
kind: z.ZodLiteral<"present">;
|
|
2366
|
+
path: z.ZodString;
|
|
2367
|
+
counts: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
2368
|
+
staged: z.ZodExactOptional<z.ZodNumber>;
|
|
2369
|
+
unstaged: z.ZodExactOptional<z.ZodNumber>;
|
|
2370
|
+
untracked: z.ZodExactOptional<z.ZodNumber>;
|
|
2371
|
+
submodules: z.ZodExactOptional<z.ZodNumber>;
|
|
2372
|
+
}, z.core.$strict>>>;
|
|
2373
|
+
merge: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
2374
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2375
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2376
|
+
path: z.ZodString;
|
|
2377
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2378
|
+
kind: z.ZodLiteral<"unappointed">;
|
|
2379
|
+
}, z.core.$strict>>]>;
|
|
2380
|
+
target: z.ZodExactOptional<z.ZodString>;
|
|
2381
|
+
targetLag: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2382
|
+
kind: z.ZodLiteral<"counted">;
|
|
2383
|
+
behind: z.ZodExactOptional<z.ZodNumber>;
|
|
2384
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2385
|
+
kind: z.ZodLiteral<"unknown">;
|
|
2386
|
+
}, z.core.$strict>>]>>;
|
|
2387
|
+
delivery: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
2388
|
+
candidate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
2389
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
2390
|
+
}, z.core.$strict>>>;
|
|
2391
|
+
targetObservation: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2392
|
+
kind: z.ZodLiteral<"moved">;
|
|
2393
|
+
before: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
2394
|
+
after: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
2395
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2396
|
+
kind: z.ZodLiteral<"unknown">;
|
|
2397
|
+
}, z.core.$strict>>]>>;
|
|
2398
|
+
gates: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2399
|
+
gate: z.ZodString;
|
|
2400
|
+
requirements: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2401
|
+
requirement: z.ZodExactOptional<z.ZodString>;
|
|
2402
|
+
current: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2403
|
+
kind: z.ZodLiteral<"missing">;
|
|
2404
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2405
|
+
kind: z.ZodLiteral<"stale">;
|
|
2406
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2407
|
+
kind: z.ZodLiteral<"attested">;
|
|
2408
|
+
verdict: z.ZodEnum<{
|
|
2409
|
+
satisfied: "satisfied";
|
|
2410
|
+
unsatisfied: "unsatisfied";
|
|
2411
|
+
}>;
|
|
2412
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
2413
|
+
}, z.core.$strict>>]>;
|
|
2414
|
+
index: z.ZodExactOptional<z.ZodNumber>;
|
|
2415
|
+
}, z.core.$strict>>>>;
|
|
2416
|
+
}, z.core.$strict>>>>>;
|
|
2417
|
+
after: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2418
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
2419
|
+
state: z.ZodEnum<{
|
|
2420
|
+
active: "active";
|
|
2421
|
+
abandoned: "abandoned";
|
|
2422
|
+
missing: "missing";
|
|
2423
|
+
}>;
|
|
2424
|
+
}, z.core.$strict>>>>>;
|
|
2425
|
+
issue: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2426
|
+
kind: z.ZodLiteral<"target-checkout-retained">;
|
|
2427
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2428
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2429
|
+
diagnostic: z.ZodString;
|
|
2430
|
+
}, z.core.$strict>>]>>;
|
|
2431
|
+
abandonNote: z.ZodExactOptional<z.ZodString>;
|
|
2432
|
+
kind: z.ZodLiteral<"contract">;
|
|
2433
|
+
holder: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>, z.ZodReadonly<z.ZodObject<{
|
|
2434
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2435
|
+
}, z.core.$strict>>]>>;
|
|
2436
|
+
roster: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2437
|
+
id: z.ZodString;
|
|
2438
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
2439
|
+
aliasesUnavailable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2440
|
+
}, z.core.$strict>>>>, z.ZodReadonly<z.ZodObject<{
|
|
2441
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
2442
|
+
}, z.core.$strict>>]>>;
|
|
2443
|
+
namespaceDebts: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2444
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2445
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
|
|
2446
|
+
title: z.ZodString;
|
|
2447
|
+
priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
2448
|
+
disposition: z.ZodEnum<{
|
|
2449
|
+
drop: "drop";
|
|
2450
|
+
blocked: "blocked";
|
|
2451
|
+
ready: "ready";
|
|
2452
|
+
done: "done";
|
|
2453
|
+
}>;
|
|
2454
|
+
}, z.core.$strict>>>>>;
|
|
2455
|
+
kind: z.ZodLiteral<"present">;
|
|
2456
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
2457
|
+
kind: z.ZodLiteral<"absent">;
|
|
2458
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2459
|
+
kind: z.ZodLiteral<"failed">;
|
|
2460
|
+
diagnostic: z.ZodString;
|
|
2461
|
+
coordinate: z.ZodExactOptional<z.ZodString>;
|
|
2462
|
+
}, z.core.$strict>>]>;
|
|
2463
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2464
|
+
kind: z.ZodLiteral<"contract-missing">;
|
|
2465
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
2466
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2467
|
+
kind: z.ZodLiteral<"contract-failed">;
|
|
2468
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
2469
|
+
diagnostic: z.ZodString;
|
|
2470
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2471
|
+
kind: z.ZodLiteral<"contract-absent">;
|
|
2472
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
2473
|
+
}, z.core.$strict>>]>, z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
2474
|
+
kind: z.ZodLiteral<"present">;
|
|
2475
|
+
declarations: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2476
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
2477
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
2478
|
+
}, z.core.$strict>>>>>;
|
|
2479
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2480
|
+
kind: z.ZodLiteral<"present">;
|
|
2481
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
2482
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
2483
|
+
overlaps: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2484
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
2485
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2486
|
+
mine: z.ZodString;
|
|
2487
|
+
theirs: z.ZodString;
|
|
2488
|
+
relation: z.ZodExactOptional<z.ZodEnum<{
|
|
2489
|
+
"mine-within-theirs": "mine-within-theirs";
|
|
2490
|
+
"theirs-within-mine": "theirs-within-mine";
|
|
2491
|
+
intersect: "intersect";
|
|
2492
|
+
}>>;
|
|
2493
|
+
}, z.core.$strict>>>>;
|
|
2494
|
+
}, z.core.$strict>>>>>;
|
|
2495
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2496
|
+
kind: z.ZodLiteral<"present">;
|
|
2497
|
+
overlaps: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2498
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
2499
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
2500
|
+
mine: z.ZodString;
|
|
2501
|
+
theirs: z.ZodString;
|
|
2502
|
+
relation: z.ZodExactOptional<z.ZodEnum<{
|
|
2503
|
+
"mine-within-theirs": "mine-within-theirs";
|
|
2504
|
+
"theirs-within-mine": "theirs-within-mine";
|
|
2505
|
+
intersect: "intersect";
|
|
2506
|
+
}>>;
|
|
2507
|
+
}, z.core.$strict>>>>;
|
|
2508
|
+
}, z.core.$strict>>>>>;
|
|
2509
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2510
|
+
kind: z.ZodLiteral<"failed">;
|
|
2511
|
+
diagnostic: z.ZodString;
|
|
2512
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2513
|
+
kind: z.ZodLiteral<"contract-missing">;
|
|
2514
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
2515
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2516
|
+
kind: z.ZodLiteral<"contract-terminal">;
|
|
2517
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
2518
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
2519
|
+
kind: z.ZodLiteral<"absent">;
|
|
2520
|
+
}, z.core.$strict>>]>]>;
|
|
2521
|
+
export type KanshiResult = KanshiReport | KanshiContractReport | RegionRead;
|