@astrosheep/keiyaku 4.6.30 → 4.6.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -22
- 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 +27 -22
- package/build/plugins/claude/skills/keiyaku-akuma/references/automation.md +14 -14
- package/build/plugins/claude/skills/keiyaku-babysit/SKILL.md +15 -13
- package/build/plugins/claude/skills/keiyaku-bind/SKILL.md +18 -17
- package/build/plugins/claude/skills/keiyaku-debt/SKILL.md +30 -30
- package/build/plugins/claude/skills/keiyaku-workflow/SKILL.md +24 -23
- 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 +27 -22
- package/build/plugins/codex/skills/keiyaku-akuma/references/automation.md +14 -14
- package/build/plugins/codex/skills/keiyaku-babysit/SKILL.md +15 -13
- package/build/plugins/codex/skills/keiyaku-bind/SKILL.md +18 -17
- package/build/plugins/codex/skills/keiyaku-debt/SKILL.md +30 -30
- package/build/plugins/codex/skills/keiyaku-workflow/SKILL.md +24 -23
- 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 +27 -22
- package/build/plugins/opencode/skills/keiyaku-akuma/references/automation.md +14 -14
- package/build/plugins/opencode/skills/keiyaku-babysit/SKILL.md +15 -13
- package/build/plugins/opencode/skills/keiyaku-bind/SKILL.md +18 -17
- package/build/plugins/opencode/skills/keiyaku-debt/SKILL.md +30 -30
- package/build/plugins/opencode/skills/keiyaku-workflow/SKILL.md +24 -23
- package/build/plugins/pi/README.md +20 -22
- package/build/plugins/pi/akuma-tools.ts +43 -56
- package/build/plugins/pi/keiyaku.ts +15 -4
- package/build/skills/keiyaku/SKILL.md +12 -12
- package/build/skills/keiyaku-akuma/SKILL.md +27 -22
- package/build/skills/keiyaku-akuma/references/automation.md +14 -14
- package/build/skills/keiyaku-babysit/SKILL.md +15 -13
- package/build/skills/keiyaku-bind/SKILL.md +18 -17
- package/build/skills/keiyaku-debt/SKILL.md +30 -30
- package/build/skills/keiyaku-workflow/SKILL.md +24 -23
- package/build/src/akuma/akuma-call.d.ts +4 -6
- package/build/src/akuma/akuma-call.js +12 -15
- package/build/src/akuma/akuma-errors.d.ts +12 -9
- package/build/src/akuma/akuma-errors.js +16 -12
- package/build/src/akuma/akuma-instance.d.ts +102 -23
- package/build/src/akuma/akuma-instance.js +66 -66
- package/build/src/akuma/akuma-observe.d.ts +15 -15
- package/build/src/akuma/akuma-observe.js +34 -32
- package/build/src/akuma/akuma-owner.d.ts +46 -17
- package/build/src/akuma/akuma-owner.js +68 -43
- 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 +992 -5
- package/build/src/akuma/akuma-selection-execution.js +96 -125
- 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 +7 -7
- package/build/src/akuma/akuma-wait.js +52 -14
- package/build/src/akuma/akuma.d.ts +88 -451
- package/build/src/akuma/akuma.js +58 -56
- package/build/src/akuma/archetype.d.ts +31 -21
- package/build/src/akuma/archetype.js +67 -52
- package/build/src/akuma/body-launch.d.ts +2 -2
- package/build/src/akuma/body.js +35 -30
- package/build/src/akuma/call-initial-tell.d.ts +63 -44
- package/build/src/akuma/call-initial-tell.js +50 -3
- package/build/src/akuma/call-input.d.ts +8 -1
- package/build/src/akuma/call-input.js +27 -18
- package/build/src/akuma/caller.d.ts +26 -17
- package/build/src/akuma/caller.js +24 -10
- package/build/src/akuma/coordinate.d.ts +9 -0
- package/build/src/akuma/coordinate.js +13 -0
- package/build/src/akuma/detached-body.js +3 -3
- 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 +32 -9
- package/build/src/akuma/heart/facts.js +18 -5
- 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 +25 -9
- package/build/src/akuma/identity.d.ts +18 -17
- package/build/src/akuma/identity.js +29 -23
- package/build/src/akuma/index.d.ts +7 -9
- package/build/src/akuma/index.js +2 -3
- 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 +662 -569
- package/build/src/akuma/projection.js +203 -94
- package/build/src/akuma/provider-recipe.js +3 -2
- package/build/src/akuma/providers/acp/config.js +11 -10
- package/build/src/akuma/providers/acp/index.js +3 -2
- package/build/src/akuma/providers/codex-app-server/index.js +7 -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/providers/grok-build/index.js +2 -1
- package/build/src/akuma/providers/index.d.ts +0 -1
- package/build/src/akuma/providers/index.js +0 -8
- package/build/src/akuma/providers/paseo/index.js +7 -4
- package/build/src/akuma/providers/pi/index.js +4 -3
- package/build/src/akuma/publication.d.ts +3 -4
- package/build/src/akuma/publication.js +19 -17
- package/build/src/akuma/retention.js +2 -2
- package/build/src/akuma/schema.d.ts +3 -49
- package/build/src/akuma/schema.js +6 -147
- package/build/src/akuma/selection-observation.d.ts +559 -54
- package/build/src/akuma/selection-observation.js +207 -1
- package/build/src/akuma/status-projection.d.ts +52 -0
- package/build/src/akuma/status-projection.js +194 -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/body/amend.js +2 -1
- package/build/src/body/arc.js +3 -2
- package/build/src/body/criteria.js +4 -3
- package/build/src/body/decode.js +2 -1
- package/build/src/body/envelope.js +2 -1
- package/build/src/body/region.d.ts +1 -3
- package/build/src/body/region.js +3 -8
- package/build/src/body-host.d.ts +4 -11
- package/build/src/body-host.js +5 -4
- package/build/src/bounded-list.d.ts +8 -0
- package/build/src/bounded-list.js +11 -1
- package/build/src/cli/commands/akuma-grammar.d.ts +109 -66
- package/build/src/cli/commands/akuma-grammar.js +90 -110
- package/build/src/cli/commands/akuma.d.ts +8 -4
- package/build/src/cli/commands/akuma.js +92 -287
- package/build/src/cli/commands/contract-grammar.d.ts +3 -134
- package/build/src/cli/commands/contract-grammar.js +127 -203
- package/build/src/cli/commands/contract-help.d.ts +26 -21
- package/build/src/cli/commands/contract-help.js +45 -36
- package/build/src/cli/commands/contract.d.ts +6 -15
- package/build/src/cli/commands/contract.js +80 -518
- package/build/src/cli/commands/debt-grammar.d.ts +2 -4
- package/build/src/cli/commands/debt-grammar.js +22 -190
- package/build/src/cli/commands/debt.d.ts +2 -3
- package/build/src/cli/commands/debt.js +41 -334
- package/build/src/cli/commands/report.d.ts +2 -4
- 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 +3 -34
- package/build/src/cli/coordinates.js +13 -129
- package/build/src/cli/main.js +9 -3
- package/build/src/cli/parse.d.ts +78 -7
- package/build/src/cli/parse.js +49 -32
- package/build/src/cli/render/akuma-activity.d.ts +41 -31
- package/build/src/cli/render/akuma-activity.js +262 -349
- package/build/src/cli/render/akuma.d.ts +26 -27
- package/build/src/cli/render/akuma.js +99 -135
- package/build/src/cli/render/catalog.d.ts +3 -9
- package/build/src/cli/render/catalog.js +27 -105
- package/build/src/cli/render/contract-history.d.ts +3 -1
- package/build/src/cli/render/contract-history.js +139 -215
- package/build/src/cli/render/contract-observation.d.ts +36 -30
- package/build/src/cli/render/contract-observation.js +64 -34
- package/build/src/cli/render/contract-wait.js +6 -6
- package/build/src/cli/render/contract.d.ts +39 -6
- package/build/src/cli/render/contract.js +249 -374
- package/build/src/cli/render/debt.d.ts +7 -25
- package/build/src/cli/render/debt.js +74 -210
- 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 +8 -6
- package/build/src/cli/render/kanshi-akuma.js +77 -62
- package/build/src/cli/render/kanshi.d.ts +2 -4
- package/build/src/cli/render/kanshi.js +184 -223
- 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 +46 -43
- package/build/src/cli/render/receipt.js +318 -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 +6 -4
- package/build/src/cli/render/refusal.js +82 -65
- 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 +1 -2
- package/build/src/cli/render/settings.js +8 -17
- package/build/src/cli/render/terminal.d.ts +11 -8
- package/build/src/cli/render/terminal.js +48 -32
- package/build/src/cli/render/verbs.d.ts +6 -0
- package/build/src/cli/render/verbs.js +270 -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 +119 -101
- package/build/src/cli/scan.d.ts +1 -1
- package/build/src/cli/streams.d.ts +2 -9
- package/build/src/cli/streams.js +9 -1
- package/build/src/cli/usage.d.ts +2 -1
- package/build/src/cli/usage.js +3 -2
- package/build/src/contract-guidance.js +2 -2
- package/build/src/contract-worktree.d.ts +2 -15
- package/build/src/contract-worktree.js +20 -44
- package/build/src/core/facts/codec.js +9 -23
- package/build/src/core/facts/errors.d.ts +2 -1
- package/build/src/core/facts/errors.js +3 -3
- package/build/src/core/facts/observation.d.ts +4 -5
- package/build/src/core/facts/observation.js +7 -9
- package/build/src/core/facts/types.d.ts +2 -13
- package/build/src/core/facts/types.js +1 -6
- package/build/src/core/verbs/abandon.d.ts +1 -2
- package/build/src/core/verbs/amend.d.ts +1 -3
- package/build/src/core/verbs/amend.js +3 -3
- package/build/src/core/verbs/arc.d.ts +1 -2
- package/build/src/core/verbs/attestation.d.ts +1 -2
- package/build/src/core/verbs/bind.d.ts +1 -3
- package/build/src/core/verbs/bind.js +5 -5
- package/build/src/core/verbs/deliver.d.ts +4 -4
- package/build/src/core/verbs/deliver.js +2 -2
- package/build/src/core/verbs/placement.d.ts +1 -7
- package/build/src/core/verbs/placement.js +4 -6
- package/build/src/core/verbs/reintegrate.d.ts +1 -3
- package/build/src/core/verbs/reintegrate.js +2 -2
- package/build/src/debt/board.d.ts +70 -134
- package/build/src/debt/board.js +99 -190
- package/build/src/debt/catalog.d.ts +4 -6
- package/build/src/debt/catalog.js +3 -40
- package/build/src/debt/document.d.ts +23 -21
- package/build/src/debt/document.js +32 -58
- package/build/src/debt/identity.d.ts +2 -14
- package/build/src/debt/identity.js +19 -49
- package/build/src/debt/index.d.ts +239 -54
- package/build/src/debt/index.js +85 -88
- package/build/src/debt/input.d.ts +21 -6
- package/build/src/debt/input.js +57 -169
- package/build/src/debt/lifecycle-operations.d.ts +1 -3
- package/build/src/debt/lifecycle-operations.js +6 -86
- package/build/src/debt/operation-types.d.ts +97 -79
- package/build/src/debt/operation-types.js +57 -1
- package/build/src/debt/operations.d.ts +11 -19
- package/build/src/debt/operations.js +70 -191
- package/build/src/debt/store.d.ts +4 -4
- package/build/src/debt/store.js +40 -95
- 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/errors.d.ts +28 -0
- package/build/src/errors.js +26 -0
- package/build/src/git/admission.d.ts +2 -2
- package/build/src/git/admission.js +2 -1
- package/build/src/git/hooks.d.ts +15 -36
- 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/observe.d.ts +3 -0
- package/build/src/git/observe.js +19 -5
- 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 +20 -95
- package/build/src/git/reconcile.js +37 -70
- package/build/src/git/repository.d.ts +2 -1
- package/build/src/git/repository.js +3 -3
- 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 +27 -35
- package/build/src/git/target-placement.js +42 -27
- package/build/src/git/target.d.ts +4 -4
- package/build/src/git/target.js +2 -1
- package/build/src/git/tender.d.ts +8 -41
- package/build/src/git/tender.js +26 -66
- 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/coordinates.d.ts +1 -1
- package/build/src/identity/coordinates.js +3 -2
- package/build/src/identity/normalize.js +2 -1
- package/build/src/identity/selector.d.ts +2 -0
- package/build/src/identity/selector.js +17 -6
- package/build/src/index.d.ts +37 -66
- package/build/src/index.js +10 -47
- package/build/src/kanshi/counts.d.ts +44 -15
- package/build/src/kanshi/counts.js +18 -15
- package/build/src/kanshi/index.d.ts +22 -7
- package/build/src/kanshi/index.js +30 -3
- package/build/src/kanshi/read.d.ts +309 -15
- package/build/src/kanshi/read.js +226 -535
- package/build/src/kanshi/report.d.ts +1225 -103
- package/build/src/kanshi/report.js +153 -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 +17 -17
- package/build/src/library/address.js +41 -34
- package/build/src/library/akuma-creation.d.ts +828 -91
- package/build/src/library/akuma-creation.js +292 -273
- 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 +33 -10
- package/build/src/library/akumas.js +109 -25
- package/build/src/library/bind.d.ts +32 -61
- package/build/src/library/bind.js +8 -12
- package/build/src/library/continuation.d.ts +133 -505
- package/build/src/library/continuation.js +37 -29
- package/build/src/library/contract-address.d.ts +8 -10
- package/build/src/library/contract-address.js +16 -23
- package/build/src/library/contract-composition.d.ts +18 -13
- package/build/src/library/contract-composition.js +62 -61
- package/build/src/library/contract-creation.d.ts +3 -2
- package/build/src/library/contract-creation.js +54 -49
- package/build/src/library/contract-outcomes.d.ts +2365 -43
- package/build/src/library/contract-outcomes.js +73 -16
- package/build/src/library/contract-settings.d.ts +3 -4
- package/build/src/library/contract-settings.js +21 -19
- package/build/src/library/contract-types.d.ts +227 -75
- package/build/src/library/contract-types.js +90 -1
- package/build/src/library/contract-wait.d.ts +75 -17
- package/build/src/library/contract-wait.js +61 -24
- package/build/src/library/delivery.d.ts +566 -37
- package/build/src/library/delivery.js +16 -28
- package/build/src/library/input.d.ts +31 -5
- package/build/src/library/input.js +40 -41
- package/build/src/library/invocation.d.ts +18 -12
- package/build/src/library/invocation.js +98 -96
- package/build/src/library/kei.d.ts +56 -0
- package/build/src/library/kei.js +696 -0
- package/build/src/{cli/delivery-identity.js → library/keiyaku-attribution.js} +1 -1
- package/build/src/library/keiyaku-classify.d.ts +11 -0
- package/build/src/library/keiyaku-classify.js +127 -0
- package/build/src/library/keiyaku-coordinates.d.ts +26 -0
- package/build/src/library/keiyaku-coordinates.js +83 -0
- package/build/src/library/keiyaku-debt.d.ts +70 -0
- package/build/src/library/keiyaku-debt.js +39 -0
- package/build/src/library/keiyaku-identity.d.ts +58 -0
- package/build/src/library/keiyaku-identity.js +177 -0
- package/build/src/library/keiyaku-verbs.d.ts +6893 -0
- package/build/src/library/keiyaku-verbs.js +496 -0
- package/build/src/library/keiyaku.d.ts +41 -38
- package/build/src/library/keiyaku.js +590 -127
- package/build/src/library/nuke.d.ts +25 -1
- package/build/src/library/nuke.js +9 -2
- package/build/src/library/outcome.d.ts +867 -736
- package/build/src/library/outcome.js +431 -211
- package/build/src/library/reconcile.d.ts +652 -116
- package/build/src/library/reconcile.js +146 -108
- package/build/src/library/refusal.d.ts +118 -590
- package/build/src/library/refusal.js +54 -51
- package/build/src/library/region.d.ts +5 -24
- package/build/src/library/region.js +6 -21
- package/build/src/library/repo.js +4 -3
- package/build/src/library/selection.d.ts +205 -45
- package/build/src/library/selection.js +139 -128
- package/build/src/mcp/adapter.d.ts +17 -0
- package/build/src/mcp/adapter.js +241 -0
- package/build/src/mcp/help.d.ts +1 -0
- package/build/src/mcp/help.js +31 -0
- package/build/src/mcp/index.d.ts +2 -0
- package/build/src/mcp/index.js +37 -0
- package/build/src/mcp/output.d.ts +385 -0
- package/build/src/mcp/output.js +193 -0
- package/build/src/plugin/public.d.ts +5 -1
- package/build/src/plugin/runtime.d.ts +1 -1
- package/build/src/plugin/runtime.js +19 -16
- package/build/src/protocol/amend.d.ts +1 -1
- package/build/src/protocol/amend.js +2 -2
- 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 +10 -13
- package/build/src/protocol/bind.js +12 -8
- package/build/src/protocol/completion.d.ts +412 -13
- package/build/src/protocol/completion.js +202 -28
- package/build/src/protocol/deliver.d.ts +35 -28
- package/build/src/protocol/deliver.js +52 -80
- package/build/src/protocol/delivery-preview.d.ts +102 -250
- package/build/src/protocol/delivery-preview.js +134 -130
- package/build/src/protocol/execution-observation.d.ts +136 -121
- package/build/src/protocol/execution-observation.js +9 -6
- package/build/src/protocol/intent.d.ts +14 -56
- package/build/src/protocol/intent.js +46 -73
- package/build/src/protocol/operations.d.ts +240 -543
- package/build/src/protocol/operations.js +89 -151
- package/build/src/protocol/outcome.d.ts +3 -1
- package/build/src/protocol/placement.d.ts +1 -3
- package/build/src/protocol/placement.js +6 -3
- package/build/src/protocol/progress.d.ts +8 -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 +386 -98
- package/build/src/protocol/read/status.js +400 -139
- package/build/src/protocol/reconcile.d.ts +2 -0
- package/build/src/protocol/reconcile.js +12 -11
- package/build/src/protocol/reintegrate.d.ts +1 -3
- package/build/src/protocol/reintegrate.js +4 -5
- package/build/src/protocol/result-leaves.d.ts +507 -0
- package/build/src/protocol/result-leaves.js +156 -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 -15
- package/build/src/protocol/run.d.ts +4 -4
- package/build/src/protocol/run.js +4 -1
- package/build/src/protocol/verify.d.ts +406 -31
- package/build/src/protocol/verify.js +137 -34
- 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 +133 -40
- package/build/src/settings.js +122 -46
- package/build/src/settlement/holder.js +2 -2
- package/build/src/settlement/settle.d.ts +29 -18
- package/build/src/settlement/settle.js +22 -19
- package/build/src/verification/declaration.d.ts +4 -9
- package/build/src/verification/declaration.js +5 -10
- package/build/src/verification/execution.d.ts +7 -19
- package/build/src/verification/execution.js +37 -16
- package/build/src/verification/observation.d.ts +11 -11
- package/build/src/verification/observation.js +9 -7
- package/build/src/world.d.ts +11 -2
- package/build/src/world.js +12 -6
- package/package.json +6 -5
- package/plugins/paseo/plugin/index.server.ts +1 -1
- package/plugins/paseo/plugin/server/attach.ts +74 -67
- package/plugins/paseo/plugin/server/keiyaku.ts +73 -40
- package/plugins/paseo/plugin/server/message.ts +9 -30
- package/plugins/paseo/plugin/server/mirror-identity.ts +6 -4
- 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 +12 -6
- package/plugins/paseo/plugin/server/transport.ts +24 -1
- package/plugins/pi/README.md +20 -22
- package/plugins/pi/akuma-tools.ts +43 -56
- package/plugins/pi/keiyaku.ts +15 -4
- package/skills/keiyaku/SKILL.md +12 -12
- package/skills/keiyaku-akuma/SKILL.md +27 -22
- package/skills/keiyaku-akuma/references/automation.md +14 -14
- package/skills/keiyaku-babysit/SKILL.md +15 -13
- package/skills/keiyaku-bind/SKILL.md +18 -17
- package/skills/keiyaku-debt/SKILL.md +30 -30
- package/skills/keiyaku-workflow/SKILL.md +24 -23
- package/build/src/akuma/providers/codex-app-server/configuration.d.ts +0 -5
- package/build/src/akuma/providers/codex-app-server/configuration.js +0 -72
- package/build/src/cli/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/commands/debt-query.d.ts +0 -5
- package/build/src/cli/commands/debt-query.js +0 -194
- package/build/src/cli/render/akuma-tool-command.d.ts +0 -6
- package/build/src/cli/render/akuma-tool-command.js +0 -143
- package/build/src/cli/render/akuma-tool.d.ts +0 -32
- package/build/src/cli/render/akuma-tool.js +0 -219
- 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/debt/context.d.ts +0 -16
- package/build/src/debt/context.js +0 -91
- package/build/src/debt/created-observation.d.ts +0 -38
- package/build/src/debt/created-observation.js +0 -30
- package/build/src/debt/query.d.ts +0 -76
- package/build/src/debt/query.js +0 -292
- package/build/src/library/contract-execution.d.ts +0 -28
- package/build/src/library/contract-execution.js +0 -467
- package/build/src/markdown/diff.d.ts +0 -1
- package/build/src/markdown/diff.js +0 -4
- /package/build/src/{cli/delivery-identity.d.ts → library/keiyaku-attribution.d.ts} +0 -0
|
@@ -1,76 +1,810 @@
|
|
|
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
|
+
missing: "missing";
|
|
105
|
+
abandoned: "abandoned";
|
|
106
|
+
active: "active";
|
|
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
|
+
}, z.core.$strict>>;
|
|
128
|
+
export declare const contractNormalStatusSchema: z.ZodReadonly<z.ZodObject<{
|
|
129
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
130
|
+
title: z.ZodExactOptional<z.ZodString>;
|
|
131
|
+
phase: z.ZodEnum<{
|
|
132
|
+
claimed: "claimed";
|
|
133
|
+
abandoned: "abandoned";
|
|
134
|
+
bound: "bound";
|
|
66
135
|
}>;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
136
|
+
workspace: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
137
|
+
kind: z.ZodLiteral<"present">;
|
|
138
|
+
path: z.ZodString;
|
|
139
|
+
counts: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
140
|
+
staged: z.ZodExactOptional<z.ZodNumber>;
|
|
141
|
+
unstaged: z.ZodExactOptional<z.ZodNumber>;
|
|
142
|
+
untracked: z.ZodExactOptional<z.ZodNumber>;
|
|
143
|
+
submodules: z.ZodExactOptional<z.ZodNumber>;
|
|
144
|
+
}, z.core.$strict>>>;
|
|
145
|
+
merge: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
146
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
147
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
148
|
+
path: z.ZodString;
|
|
149
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
150
|
+
kind: z.ZodLiteral<"unappointed">;
|
|
151
|
+
}, z.core.$strict>>]>;
|
|
152
|
+
target: z.ZodExactOptional<z.ZodString>;
|
|
153
|
+
targetLag: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
154
|
+
kind: z.ZodLiteral<"counted">;
|
|
155
|
+
behind: z.ZodExactOptional<z.ZodNumber>;
|
|
156
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
157
|
+
kind: z.ZodLiteral<"unknown">;
|
|
158
|
+
}, z.core.$strict>>]>>;
|
|
159
|
+
delivery: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
160
|
+
candidate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
161
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
162
|
+
}, z.core.$strict>>>;
|
|
163
|
+
targetObservation: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
164
|
+
kind: z.ZodLiteral<"moved">;
|
|
165
|
+
before: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
166
|
+
after: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
167
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
168
|
+
kind: z.ZodLiteral<"unknown">;
|
|
169
|
+
}, z.core.$strict>>]>>;
|
|
170
|
+
gates: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
171
|
+
gate: z.ZodString;
|
|
172
|
+
requirements: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
173
|
+
requirement: z.ZodExactOptional<z.ZodString>;
|
|
174
|
+
current: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
175
|
+
kind: z.ZodLiteral<"missing">;
|
|
176
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
177
|
+
kind: z.ZodLiteral<"stale">;
|
|
178
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
179
|
+
kind: z.ZodLiteral<"attested">;
|
|
180
|
+
verdict: z.ZodEnum<{
|
|
181
|
+
satisfied: "satisfied";
|
|
182
|
+
unsatisfied: "unsatisfied";
|
|
183
|
+
}>;
|
|
184
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
185
|
+
}, z.core.$strict>>]>;
|
|
186
|
+
index: z.ZodExactOptional<z.ZodNumber>;
|
|
187
|
+
}, z.core.$strict>>>>;
|
|
188
|
+
}, z.core.$strict>>>>>;
|
|
189
|
+
after: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
190
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
191
|
+
state: z.ZodEnum<{
|
|
192
|
+
missing: "missing";
|
|
193
|
+
abandoned: "abandoned";
|
|
194
|
+
active: "active";
|
|
195
|
+
}>;
|
|
196
|
+
}, z.core.$strict>>>>>;
|
|
197
|
+
issue: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
198
|
+
kind: z.ZodLiteral<"target-checkout-retained">;
|
|
199
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
200
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
201
|
+
diagnostic: z.ZodString;
|
|
202
|
+
}, z.core.$strict>>]>>;
|
|
203
|
+
abandonNote: z.ZodExactOptional<z.ZodString>;
|
|
204
|
+
kind: z.ZodLiteral<"contract">;
|
|
205
|
+
holder: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>, z.ZodReadonly<z.ZodObject<{
|
|
206
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
207
|
+
}, z.core.$strict>>]>>;
|
|
208
|
+
roster: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
209
|
+
id: z.ZodString;
|
|
210
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
211
|
+
aliasesUnavailable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
212
|
+
}, z.core.$strict>>>>, z.ZodReadonly<z.ZodObject<{
|
|
213
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
214
|
+
}, z.core.$strict>>]>>;
|
|
215
|
+
}, z.core.$strict>>;
|
|
216
|
+
export declare const contractStatusSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
217
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
218
|
+
title: z.ZodExactOptional<z.ZodString>;
|
|
219
|
+
phase: z.ZodEnum<{
|
|
220
|
+
claimed: "claimed";
|
|
221
|
+
abandoned: "abandoned";
|
|
222
|
+
bound: "bound";
|
|
223
|
+
}>;
|
|
224
|
+
workspace: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
225
|
+
kind: z.ZodLiteral<"present">;
|
|
226
|
+
path: z.ZodString;
|
|
227
|
+
counts: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
228
|
+
staged: z.ZodExactOptional<z.ZodNumber>;
|
|
229
|
+
unstaged: z.ZodExactOptional<z.ZodNumber>;
|
|
230
|
+
untracked: z.ZodExactOptional<z.ZodNumber>;
|
|
231
|
+
submodules: z.ZodExactOptional<z.ZodNumber>;
|
|
232
|
+
}, z.core.$strict>>>;
|
|
233
|
+
merge: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
234
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
235
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
236
|
+
path: z.ZodString;
|
|
237
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
238
|
+
kind: z.ZodLiteral<"unappointed">;
|
|
239
|
+
}, z.core.$strict>>]>;
|
|
240
|
+
target: z.ZodExactOptional<z.ZodString>;
|
|
241
|
+
targetLag: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
242
|
+
kind: z.ZodLiteral<"counted">;
|
|
243
|
+
behind: z.ZodExactOptional<z.ZodNumber>;
|
|
244
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
245
|
+
kind: z.ZodLiteral<"unknown">;
|
|
246
|
+
}, z.core.$strict>>]>>;
|
|
247
|
+
delivery: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
248
|
+
candidate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
249
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
250
|
+
}, z.core.$strict>>>;
|
|
251
|
+
targetObservation: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
252
|
+
kind: z.ZodLiteral<"moved">;
|
|
253
|
+
before: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
254
|
+
after: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
255
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
256
|
+
kind: z.ZodLiteral<"unknown">;
|
|
257
|
+
}, z.core.$strict>>]>>;
|
|
258
|
+
gates: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
259
|
+
gate: z.ZodString;
|
|
260
|
+
requirements: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
261
|
+
requirement: z.ZodExactOptional<z.ZodString>;
|
|
262
|
+
current: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
263
|
+
kind: z.ZodLiteral<"missing">;
|
|
264
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
265
|
+
kind: z.ZodLiteral<"stale">;
|
|
266
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
267
|
+
kind: z.ZodLiteral<"attested">;
|
|
268
|
+
verdict: z.ZodEnum<{
|
|
269
|
+
satisfied: "satisfied";
|
|
270
|
+
unsatisfied: "unsatisfied";
|
|
271
|
+
}>;
|
|
272
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
273
|
+
}, z.core.$strict>>]>;
|
|
274
|
+
index: z.ZodExactOptional<z.ZodNumber>;
|
|
275
|
+
}, z.core.$strict>>>>;
|
|
276
|
+
}, z.core.$strict>>>>>;
|
|
277
|
+
after: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
278
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
279
|
+
state: z.ZodEnum<{
|
|
280
|
+
missing: "missing";
|
|
281
|
+
abandoned: "abandoned";
|
|
282
|
+
active: "active";
|
|
283
|
+
}>;
|
|
284
|
+
}, z.core.$strict>>>>>;
|
|
285
|
+
issue: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
286
|
+
kind: z.ZodLiteral<"target-checkout-retained">;
|
|
287
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
288
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
289
|
+
diagnostic: z.ZodString;
|
|
290
|
+
}, z.core.$strict>>]>>;
|
|
291
|
+
abandonNote: z.ZodExactOptional<z.ZodString>;
|
|
292
|
+
kind: z.ZodLiteral<"contract">;
|
|
293
|
+
holder: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>, z.ZodReadonly<z.ZodObject<{
|
|
294
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
295
|
+
}, z.core.$strict>>]>>;
|
|
296
|
+
roster: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
297
|
+
id: z.ZodString;
|
|
298
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
299
|
+
aliasesUnavailable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
300
|
+
}, z.core.$strict>>>>, z.ZodReadonly<z.ZodObject<{
|
|
301
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
302
|
+
}, z.core.$strict>>]>>;
|
|
303
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
304
|
+
kind: z.ZodLiteral<"contract-failed">;
|
|
305
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
306
|
+
diagnostic: z.ZodString;
|
|
307
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
308
|
+
kind: z.ZodLiteral<"contract-missing">;
|
|
309
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
310
|
+
}, z.core.$strict>>]>;
|
|
311
|
+
export declare const kanshiContractReportSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
312
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
313
|
+
title: z.ZodExactOptional<z.ZodString>;
|
|
314
|
+
phase: z.ZodEnum<{
|
|
315
|
+
claimed: "claimed";
|
|
316
|
+
abandoned: "abandoned";
|
|
317
|
+
bound: "bound";
|
|
318
|
+
}>;
|
|
319
|
+
workspace: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
320
|
+
kind: z.ZodLiteral<"present">;
|
|
321
|
+
path: z.ZodString;
|
|
322
|
+
counts: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
323
|
+
staged: z.ZodExactOptional<z.ZodNumber>;
|
|
324
|
+
unstaged: z.ZodExactOptional<z.ZodNumber>;
|
|
325
|
+
untracked: z.ZodExactOptional<z.ZodNumber>;
|
|
326
|
+
submodules: z.ZodExactOptional<z.ZodNumber>;
|
|
327
|
+
}, z.core.$strict>>>;
|
|
328
|
+
merge: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
329
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
330
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
331
|
+
path: z.ZodString;
|
|
332
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
333
|
+
kind: z.ZodLiteral<"unappointed">;
|
|
334
|
+
}, z.core.$strict>>]>;
|
|
335
|
+
target: z.ZodExactOptional<z.ZodString>;
|
|
336
|
+
targetLag: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
337
|
+
kind: z.ZodLiteral<"counted">;
|
|
338
|
+
behind: z.ZodExactOptional<z.ZodNumber>;
|
|
339
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
340
|
+
kind: z.ZodLiteral<"unknown">;
|
|
341
|
+
}, z.core.$strict>>]>>;
|
|
342
|
+
delivery: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
343
|
+
candidate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
344
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
345
|
+
}, z.core.$strict>>>;
|
|
346
|
+
targetObservation: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
347
|
+
kind: z.ZodLiteral<"moved">;
|
|
348
|
+
before: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
349
|
+
after: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
350
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
351
|
+
kind: z.ZodLiteral<"unknown">;
|
|
352
|
+
}, z.core.$strict>>]>>;
|
|
353
|
+
gates: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
354
|
+
gate: z.ZodString;
|
|
355
|
+
requirements: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
356
|
+
requirement: z.ZodExactOptional<z.ZodString>;
|
|
357
|
+
current: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
358
|
+
kind: z.ZodLiteral<"missing">;
|
|
359
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
360
|
+
kind: z.ZodLiteral<"stale">;
|
|
361
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
362
|
+
kind: z.ZodLiteral<"attested">;
|
|
363
|
+
verdict: z.ZodEnum<{
|
|
364
|
+
satisfied: "satisfied";
|
|
365
|
+
unsatisfied: "unsatisfied";
|
|
366
|
+
}>;
|
|
367
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
368
|
+
}, z.core.$strict>>]>;
|
|
369
|
+
index: z.ZodExactOptional<z.ZodNumber>;
|
|
370
|
+
}, z.core.$strict>>>>;
|
|
371
|
+
}, z.core.$strict>>>>>;
|
|
372
|
+
after: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
373
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
374
|
+
state: z.ZodEnum<{
|
|
375
|
+
missing: "missing";
|
|
376
|
+
abandoned: "abandoned";
|
|
377
|
+
active: "active";
|
|
378
|
+
}>;
|
|
379
|
+
}, z.core.$strict>>>>>;
|
|
380
|
+
issue: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
381
|
+
kind: z.ZodLiteral<"target-checkout-retained">;
|
|
382
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
383
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
384
|
+
diagnostic: z.ZodString;
|
|
385
|
+
}, z.core.$strict>>]>>;
|
|
386
|
+
abandonNote: z.ZodExactOptional<z.ZodString>;
|
|
387
|
+
kind: z.ZodLiteral<"contract">;
|
|
388
|
+
holder: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>, z.ZodReadonly<z.ZodObject<{
|
|
389
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
390
|
+
}, z.core.$strict>>]>>;
|
|
391
|
+
roster: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
392
|
+
id: z.ZodString;
|
|
393
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
394
|
+
aliasesUnavailable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
395
|
+
}, z.core.$strict>>>>, z.ZodReadonly<z.ZodObject<{
|
|
396
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
397
|
+
}, z.core.$strict>>]>>;
|
|
398
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
399
|
+
kind: z.ZodLiteral<"contract-failed">;
|
|
400
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
401
|
+
diagnostic: z.ZodString;
|
|
402
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
403
|
+
kind: z.ZodLiteral<"contract-missing">;
|
|
404
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
405
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
406
|
+
kind: z.ZodLiteral<"contract-absent">;
|
|
407
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
408
|
+
}, z.core.$strict>>]>;
|
|
409
|
+
export declare const contractKanshiBoardSchema: z.ZodReadonly<z.ZodObject<{
|
|
410
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
411
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
412
|
+
title: z.ZodExactOptional<z.ZodString>;
|
|
413
|
+
phase: z.ZodEnum<{
|
|
414
|
+
claimed: "claimed";
|
|
415
|
+
abandoned: "abandoned";
|
|
416
|
+
bound: "bound";
|
|
417
|
+
}>;
|
|
418
|
+
phaseAt: z.ZodString;
|
|
419
|
+
delivered: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
420
|
+
gates: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
421
|
+
name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
422
|
+
verdict: z.ZodEnum<{
|
|
423
|
+
missing: "missing";
|
|
424
|
+
satisfied: "satisfied";
|
|
425
|
+
unsatisfied: "unsatisfied";
|
|
426
|
+
stale: "stale";
|
|
427
|
+
}>;
|
|
428
|
+
}, z.core.$strict>>>>>;
|
|
429
|
+
attention: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
430
|
+
kind: z.ZodLiteral<"workspace-unavailable">;
|
|
431
|
+
path: z.ZodString;
|
|
432
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
433
|
+
kind: z.ZodLiteral<"workspace-unappointed">;
|
|
434
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
435
|
+
kind: z.ZodLiteral<"workspace-failed">;
|
|
436
|
+
path: z.ZodString;
|
|
437
|
+
diagnostic: z.ZodString;
|
|
438
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
439
|
+
kind: z.ZodLiteral<"merge-in-progress">;
|
|
440
|
+
path: z.ZodString;
|
|
441
|
+
conflicts: z.ZodExactOptional<z.ZodNumber>;
|
|
442
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
443
|
+
kind: z.ZodLiteral<"target-behind">;
|
|
444
|
+
behind: z.ZodNumber;
|
|
445
|
+
subject: z.ZodExactOptional<z.ZodString>;
|
|
446
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
447
|
+
kind: z.ZodLiteral<"target-unknown">;
|
|
448
|
+
subject: z.ZodExactOptional<z.ZodString>;
|
|
449
|
+
}, z.core.$strict>>]>>>>;
|
|
450
|
+
associations: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
451
|
+
kind: z.ZodLiteral<"debt">;
|
|
452
|
+
debtId: z.ZodString;
|
|
453
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
454
|
+
kind: z.ZodLiteral<"akuma">;
|
|
455
|
+
akumaId: z.ZodString;
|
|
456
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
457
|
+
aliasesUnavailable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
458
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
459
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
460
|
+
source: z.ZodEnum<{
|
|
461
|
+
holder: "holder";
|
|
462
|
+
roster: "roster";
|
|
463
|
+
}>;
|
|
464
|
+
diagnostic: z.ZodString;
|
|
465
|
+
}, z.core.$strict>>]>>>>;
|
|
466
|
+
}, z.core.$strict>>>>>;
|
|
467
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
468
|
+
}, z.core.$strict>>;
|
|
469
|
+
declare const debtRow: z.ZodReadonly<z.ZodObject<{
|
|
470
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
|
|
471
|
+
title: z.ZodString;
|
|
472
|
+
priority: z.ZodType<import("../debt/document.js").DebtPriority, import("../debt/document.js").DebtPriority, z.core.$ZodTypeInternals<import("../debt/document.js").DebtPriority, import("../debt/document.js").DebtPriority>>;
|
|
473
|
+
disposition: z.ZodEnum<{
|
|
474
|
+
ready: "ready";
|
|
475
|
+
blocked: "blocked";
|
|
476
|
+
}>;
|
|
477
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
478
|
+
kind: z.ZodLiteral<"associated">;
|
|
479
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
480
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
481
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
482
|
+
}, z.core.$strict>>]>>;
|
|
483
|
+
}, z.core.$strict>>;
|
|
484
|
+
declare const debtWorld: z.ZodReadonly<z.ZodObject<{
|
|
485
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
486
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
|
|
487
|
+
title: z.ZodString;
|
|
488
|
+
priority: z.ZodType<import("../debt/document.js").DebtPriority, import("../debt/document.js").DebtPriority, z.core.$ZodTypeInternals<import("../debt/document.js").DebtPriority, import("../debt/document.js").DebtPriority>>;
|
|
489
|
+
disposition: z.ZodEnum<{
|
|
490
|
+
ready: "ready";
|
|
491
|
+
blocked: "blocked";
|
|
492
|
+
}>;
|
|
493
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
494
|
+
kind: z.ZodLiteral<"associated">;
|
|
495
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
496
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
497
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
498
|
+
}, z.core.$strict>>]>>;
|
|
499
|
+
}, z.core.$strict>>>>>;
|
|
500
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
501
|
+
}, z.core.$strict>>;
|
|
502
|
+
declare const akumaWorldRow: z.ZodReadonly<z.ZodObject<{
|
|
503
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
504
|
+
life: z.ZodEnum<{
|
|
505
|
+
hung: "hung";
|
|
506
|
+
untidy: "untidy";
|
|
507
|
+
killed: "killed";
|
|
508
|
+
running: "running";
|
|
509
|
+
asleep: "asleep";
|
|
510
|
+
stranded: "stranded";
|
|
511
|
+
unborn: "unborn";
|
|
512
|
+
stillborn: "stillborn";
|
|
513
|
+
}>;
|
|
514
|
+
lifeAt: z.ZodExactOptional<z.ZodString>;
|
|
515
|
+
lastActivityAt: z.ZodExactOptional<z.ZodString>;
|
|
516
|
+
pending: z.ZodExactOptional<z.ZodNumber>;
|
|
517
|
+
diagnostic: z.ZodExactOptional<z.ZodString>;
|
|
518
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
519
|
+
parentAkumaId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>>;
|
|
520
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
521
|
+
kind: z.ZodLiteral<"associated">;
|
|
522
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
523
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
524
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
525
|
+
}, z.core.$strict>>]>>;
|
|
526
|
+
work: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
527
|
+
kind: z.ZodEnum<{
|
|
528
|
+
open: "open";
|
|
529
|
+
idle: "idle";
|
|
530
|
+
}>;
|
|
531
|
+
turn: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
532
|
+
sequence: z.ZodNumber;
|
|
533
|
+
bodySequence: z.ZodNumber;
|
|
534
|
+
}, z.core.$strict>>>;
|
|
535
|
+
activeTools: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
536
|
+
id: z.ZodNumber;
|
|
537
|
+
turnSequence: z.ZodNumber;
|
|
538
|
+
toolId: z.ZodString;
|
|
539
|
+
}, z.core.$strict>>>>>;
|
|
540
|
+
latestActivity: z.ZodExactOptional<z.ZodNumber>;
|
|
541
|
+
pending: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
542
|
+
id: z.ZodNumber;
|
|
543
|
+
tellId: z.ZodString;
|
|
544
|
+
}, z.core.$strict>>>>>;
|
|
545
|
+
outcome: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
546
|
+
historyId: z.ZodTemplateLiteral<`turn/${number}`>;
|
|
547
|
+
activityId: z.ZodNumber;
|
|
548
|
+
verdict: z.ZodEnum<{
|
|
549
|
+
answered: "answered";
|
|
550
|
+
failed: "failed";
|
|
551
|
+
canceled: "canceled";
|
|
552
|
+
}>;
|
|
553
|
+
}, z.core.$strict>>>;
|
|
554
|
+
summary: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
555
|
+
id: z.ZodNumber;
|
|
556
|
+
text: z.ZodString;
|
|
557
|
+
clipped: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
558
|
+
}, z.core.$strict>>>;
|
|
559
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
560
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
561
|
+
diagnostic: z.ZodString;
|
|
562
|
+
}, z.core.$strict>>]>>;
|
|
563
|
+
}, z.core.$strict>>;
|
|
564
|
+
declare const akumaWorld: z.ZodReadonly<z.ZodObject<{
|
|
565
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
566
|
+
aliasesError: z.ZodExactOptional<z.ZodString>;
|
|
567
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
568
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
569
|
+
life: z.ZodEnum<{
|
|
570
|
+
hung: "hung";
|
|
571
|
+
untidy: "untidy";
|
|
572
|
+
killed: "killed";
|
|
573
|
+
running: "running";
|
|
574
|
+
asleep: "asleep";
|
|
575
|
+
stranded: "stranded";
|
|
576
|
+
unborn: "unborn";
|
|
577
|
+
stillborn: "stillborn";
|
|
578
|
+
}>;
|
|
579
|
+
lifeAt: z.ZodExactOptional<z.ZodString>;
|
|
580
|
+
lastActivityAt: z.ZodExactOptional<z.ZodString>;
|
|
581
|
+
pending: z.ZodExactOptional<z.ZodNumber>;
|
|
582
|
+
diagnostic: z.ZodExactOptional<z.ZodString>;
|
|
583
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
584
|
+
parentAkumaId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>>;
|
|
585
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
586
|
+
kind: z.ZodLiteral<"associated">;
|
|
587
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
588
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
589
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
590
|
+
}, z.core.$strict>>]>>;
|
|
591
|
+
work: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
592
|
+
kind: z.ZodEnum<{
|
|
593
|
+
open: "open";
|
|
594
|
+
idle: "idle";
|
|
595
|
+
}>;
|
|
596
|
+
turn: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
597
|
+
sequence: z.ZodNumber;
|
|
598
|
+
bodySequence: z.ZodNumber;
|
|
599
|
+
}, z.core.$strict>>>;
|
|
600
|
+
activeTools: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
601
|
+
id: z.ZodNumber;
|
|
602
|
+
turnSequence: z.ZodNumber;
|
|
603
|
+
toolId: z.ZodString;
|
|
604
|
+
}, z.core.$strict>>>>>;
|
|
605
|
+
latestActivity: z.ZodExactOptional<z.ZodNumber>;
|
|
606
|
+
pending: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
607
|
+
id: z.ZodNumber;
|
|
608
|
+
tellId: z.ZodString;
|
|
609
|
+
}, z.core.$strict>>>>>;
|
|
610
|
+
outcome: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
611
|
+
historyId: z.ZodTemplateLiteral<`turn/${number}`>;
|
|
612
|
+
activityId: z.ZodNumber;
|
|
613
|
+
verdict: z.ZodEnum<{
|
|
614
|
+
answered: "answered";
|
|
615
|
+
failed: "failed";
|
|
616
|
+
canceled: "canceled";
|
|
617
|
+
}>;
|
|
618
|
+
}, z.core.$strict>>>;
|
|
619
|
+
summary: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
620
|
+
id: z.ZodNumber;
|
|
621
|
+
text: z.ZodString;
|
|
622
|
+
clipped: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
623
|
+
}, z.core.$strict>>>;
|
|
624
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
625
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
626
|
+
diagnostic: z.ZodString;
|
|
627
|
+
}, z.core.$strict>>]>>;
|
|
628
|
+
}, z.core.$strict>>>>>;
|
|
629
|
+
}, z.core.$strict>>;
|
|
630
|
+
export declare const kanshiReportSchema: z.ZodReadonly<z.ZodObject<{
|
|
631
|
+
kind: z.ZodLiteral<"world">;
|
|
632
|
+
observedAt: z.ZodString;
|
|
633
|
+
contracts: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
634
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
635
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
636
|
+
title: z.ZodExactOptional<z.ZodString>;
|
|
637
|
+
phase: z.ZodEnum<{
|
|
638
|
+
claimed: "claimed";
|
|
639
|
+
abandoned: "abandoned";
|
|
640
|
+
bound: "bound";
|
|
641
|
+
}>;
|
|
642
|
+
phaseAt: z.ZodString;
|
|
643
|
+
delivered: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
644
|
+
gates: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
645
|
+
name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
646
|
+
verdict: z.ZodEnum<{
|
|
647
|
+
missing: "missing";
|
|
648
|
+
satisfied: "satisfied";
|
|
649
|
+
unsatisfied: "unsatisfied";
|
|
650
|
+
stale: "stale";
|
|
651
|
+
}>;
|
|
652
|
+
}, z.core.$strict>>>>>;
|
|
653
|
+
attention: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
654
|
+
kind: z.ZodLiteral<"workspace-unavailable">;
|
|
655
|
+
path: z.ZodString;
|
|
656
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
657
|
+
kind: z.ZodLiteral<"workspace-unappointed">;
|
|
658
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
659
|
+
kind: z.ZodLiteral<"workspace-failed">;
|
|
660
|
+
path: z.ZodString;
|
|
661
|
+
diagnostic: z.ZodString;
|
|
662
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
663
|
+
kind: z.ZodLiteral<"merge-in-progress">;
|
|
664
|
+
path: z.ZodString;
|
|
665
|
+
conflicts: z.ZodExactOptional<z.ZodNumber>;
|
|
666
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
667
|
+
kind: z.ZodLiteral<"target-behind">;
|
|
668
|
+
behind: z.ZodNumber;
|
|
669
|
+
subject: z.ZodExactOptional<z.ZodString>;
|
|
670
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
671
|
+
kind: z.ZodLiteral<"target-unknown">;
|
|
672
|
+
subject: z.ZodExactOptional<z.ZodString>;
|
|
673
|
+
}, z.core.$strict>>]>>>>;
|
|
674
|
+
associations: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
675
|
+
kind: z.ZodLiteral<"debt">;
|
|
676
|
+
debtId: z.ZodString;
|
|
677
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
678
|
+
kind: z.ZodLiteral<"akuma">;
|
|
679
|
+
akumaId: z.ZodString;
|
|
680
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
681
|
+
aliasesUnavailable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
682
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
683
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
684
|
+
source: z.ZodEnum<{
|
|
685
|
+
holder: "holder";
|
|
686
|
+
roster: "roster";
|
|
687
|
+
}>;
|
|
688
|
+
diagnostic: z.ZodString;
|
|
689
|
+
}, z.core.$strict>>]>>>>;
|
|
690
|
+
}, z.core.$strict>>>>>;
|
|
691
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
692
|
+
kind: z.ZodLiteral<"present">;
|
|
693
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
694
|
+
kind: z.ZodLiteral<"absent">;
|
|
695
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
696
|
+
kind: z.ZodLiteral<"failed">;
|
|
697
|
+
diagnostic: z.ZodString;
|
|
698
|
+
}, z.core.$strict>>]>;
|
|
699
|
+
debts: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
700
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
701
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
|
|
702
|
+
title: z.ZodString;
|
|
703
|
+
priority: z.ZodType<import("../debt/document.js").DebtPriority, import("../debt/document.js").DebtPriority, z.core.$ZodTypeInternals<import("../debt/document.js").DebtPriority, import("../debt/document.js").DebtPriority>>;
|
|
704
|
+
disposition: z.ZodEnum<{
|
|
705
|
+
ready: "ready";
|
|
706
|
+
blocked: "blocked";
|
|
707
|
+
}>;
|
|
708
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
709
|
+
kind: z.ZodLiteral<"associated">;
|
|
710
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
711
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
712
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
713
|
+
}, z.core.$strict>>]>>;
|
|
714
|
+
}, z.core.$strict>>>>>;
|
|
715
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
716
|
+
kind: z.ZodLiteral<"present">;
|
|
717
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
718
|
+
kind: z.ZodLiteral<"absent">;
|
|
719
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
720
|
+
kind: z.ZodLiteral<"failed">;
|
|
721
|
+
diagnostic: z.ZodString;
|
|
722
|
+
coordinate: z.ZodExactOptional<z.ZodString>;
|
|
723
|
+
}, z.core.$strict>>]>;
|
|
724
|
+
akumas: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
725
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
726
|
+
aliasesError: z.ZodExactOptional<z.ZodString>;
|
|
727
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
728
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
729
|
+
life: z.ZodEnum<{
|
|
730
|
+
hung: "hung";
|
|
731
|
+
untidy: "untidy";
|
|
732
|
+
killed: "killed";
|
|
733
|
+
running: "running";
|
|
734
|
+
asleep: "asleep";
|
|
735
|
+
stranded: "stranded";
|
|
736
|
+
unborn: "unborn";
|
|
737
|
+
stillborn: "stillborn";
|
|
738
|
+
}>;
|
|
739
|
+
lifeAt: z.ZodExactOptional<z.ZodString>;
|
|
740
|
+
lastActivityAt: z.ZodExactOptional<z.ZodString>;
|
|
741
|
+
pending: z.ZodExactOptional<z.ZodNumber>;
|
|
742
|
+
diagnostic: z.ZodExactOptional<z.ZodString>;
|
|
743
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
744
|
+
parentAkumaId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>>;
|
|
745
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
746
|
+
kind: z.ZodLiteral<"associated">;
|
|
747
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
748
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
749
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
750
|
+
}, z.core.$strict>>]>>;
|
|
751
|
+
work: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
752
|
+
kind: z.ZodEnum<{
|
|
753
|
+
open: "open";
|
|
754
|
+
idle: "idle";
|
|
755
|
+
}>;
|
|
756
|
+
turn: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
757
|
+
sequence: z.ZodNumber;
|
|
758
|
+
bodySequence: z.ZodNumber;
|
|
759
|
+
}, z.core.$strict>>>;
|
|
760
|
+
activeTools: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
761
|
+
id: z.ZodNumber;
|
|
762
|
+
turnSequence: z.ZodNumber;
|
|
763
|
+
toolId: z.ZodString;
|
|
764
|
+
}, z.core.$strict>>>>>;
|
|
765
|
+
latestActivity: z.ZodExactOptional<z.ZodNumber>;
|
|
766
|
+
pending: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
767
|
+
id: z.ZodNumber;
|
|
768
|
+
tellId: z.ZodString;
|
|
769
|
+
}, z.core.$strict>>>>>;
|
|
770
|
+
outcome: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
771
|
+
historyId: z.ZodTemplateLiteral<`turn/${number}`>;
|
|
772
|
+
activityId: z.ZodNumber;
|
|
773
|
+
verdict: z.ZodEnum<{
|
|
774
|
+
answered: "answered";
|
|
775
|
+
failed: "failed";
|
|
776
|
+
canceled: "canceled";
|
|
777
|
+
}>;
|
|
778
|
+
}, z.core.$strict>>>;
|
|
779
|
+
summary: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
780
|
+
id: z.ZodNumber;
|
|
781
|
+
text: z.ZodString;
|
|
782
|
+
clipped: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
783
|
+
}, z.core.$strict>>>;
|
|
784
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
785
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
786
|
+
diagnostic: z.ZodString;
|
|
787
|
+
}, z.core.$strict>>]>>;
|
|
788
|
+
}, z.core.$strict>>>>>;
|
|
789
|
+
kind: z.ZodLiteral<"present">;
|
|
790
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
791
|
+
kind: z.ZodLiteral<"absent">;
|
|
792
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
793
|
+
kind: z.ZodLiteral<"failed">;
|
|
794
|
+
diagnostic: z.ZodString;
|
|
795
|
+
}, z.core.$strict>>]>;
|
|
796
|
+
}, z.core.$strict>>;
|
|
797
|
+
export type ContractHolderObservation = z.output<typeof holderSchema>;
|
|
798
|
+
export type ContractRosterAttachment = z.output<typeof attachmentSchema>;
|
|
799
|
+
export type ContractKanshiDetail = z.output<typeof contractDetail>;
|
|
800
|
+
export type ContractKanshiBoard = z.output<typeof contractKanshiBoardSchema>;
|
|
801
|
+
export type DebtKanshiRow = z.output<typeof debtRow>;
|
|
802
|
+
export type DebtKanshiWorld = z.output<typeof debtWorld>;
|
|
803
|
+
export type AkumaKanshiRow = z.output<typeof akumaWorldRow>;
|
|
804
|
+
export type AkumaKanshiWorld = z.output<typeof akumaWorld>;
|
|
805
|
+
export type KanshiReport = z.output<typeof kanshiReportSchema>;
|
|
806
|
+
export type KanshiContractReport = z.output<typeof kanshiContractReportSchema>;
|
|
807
|
+
export type ContractStatus = z.output<typeof contractStatusSchema>;
|
|
74
808
|
export type KanshiRegionSelection = Readonly<{
|
|
75
809
|
kind: "declarations";
|
|
76
810
|
}> | Readonly<{
|
|
@@ -80,41 +814,429 @@ export type KanshiRegionSelection = Readonly<{
|
|
|
80
814
|
kind: "path";
|
|
81
815
|
patterns: readonly [string, ...string[]];
|
|
82
816
|
}>;
|
|
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
|
-
|
|
817
|
+
export declare const regionDeclarationSchema: z.ZodReadonly<z.ZodObject<{
|
|
818
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
819
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
820
|
+
}, z.core.$strict>>;
|
|
821
|
+
declare const overlapSchema: z.ZodReadonly<z.ZodObject<{
|
|
822
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
823
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
824
|
+
mine: z.ZodString;
|
|
825
|
+
theirs: z.ZodString;
|
|
826
|
+
relation: z.ZodExactOptional<z.ZodEnum<{
|
|
827
|
+
"mine-within-theirs": "mine-within-theirs";
|
|
828
|
+
"theirs-within-mine": "theirs-within-mine";
|
|
829
|
+
intersect: "intersect";
|
|
830
|
+
}>>;
|
|
831
|
+
}, z.core.$strict>>>>;
|
|
832
|
+
}, z.core.$strict>>;
|
|
833
|
+
export type RegionOverlap = z.output<typeof overlapSchema>;
|
|
834
|
+
export declare const regionResultSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
835
|
+
kind: z.ZodLiteral<"present">;
|
|
836
|
+
declarations: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
837
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
838
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
839
|
+
}, z.core.$strict>>>>>;
|
|
840
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
841
|
+
kind: z.ZodLiteral<"present">;
|
|
842
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
843
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
844
|
+
overlaps: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
845
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
846
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
847
|
+
mine: z.ZodString;
|
|
848
|
+
theirs: z.ZodString;
|
|
849
|
+
relation: z.ZodExactOptional<z.ZodEnum<{
|
|
850
|
+
"mine-within-theirs": "mine-within-theirs";
|
|
851
|
+
"theirs-within-mine": "theirs-within-mine";
|
|
852
|
+
intersect: "intersect";
|
|
853
|
+
}>>;
|
|
854
|
+
}, z.core.$strict>>>>;
|
|
855
|
+
}, z.core.$strict>>>>>;
|
|
856
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
857
|
+
kind: z.ZodLiteral<"present">;
|
|
858
|
+
overlaps: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
859
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
860
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
861
|
+
mine: z.ZodString;
|
|
862
|
+
theirs: z.ZodString;
|
|
863
|
+
relation: z.ZodExactOptional<z.ZodEnum<{
|
|
864
|
+
"mine-within-theirs": "mine-within-theirs";
|
|
865
|
+
"theirs-within-mine": "theirs-within-mine";
|
|
866
|
+
intersect: "intersect";
|
|
867
|
+
}>>;
|
|
868
|
+
}, z.core.$strict>>>>;
|
|
869
|
+
}, z.core.$strict>>>>>;
|
|
870
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
871
|
+
kind: z.ZodLiteral<"failed">;
|
|
872
|
+
diagnostic: z.ZodString;
|
|
873
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
874
|
+
kind: z.ZodLiteral<"contract-missing">;
|
|
875
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
876
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
877
|
+
kind: z.ZodLiteral<"contract-terminal">;
|
|
878
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
879
|
+
}, z.core.$strict>>]>;
|
|
880
|
+
export declare const regionReadSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
881
|
+
kind: z.ZodLiteral<"present">;
|
|
882
|
+
declarations: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
883
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
884
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
885
|
+
}, z.core.$strict>>>>>;
|
|
886
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
887
|
+
kind: z.ZodLiteral<"present">;
|
|
888
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
889
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
890
|
+
overlaps: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
891
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
892
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
893
|
+
mine: z.ZodString;
|
|
894
|
+
theirs: z.ZodString;
|
|
895
|
+
relation: z.ZodExactOptional<z.ZodEnum<{
|
|
896
|
+
"mine-within-theirs": "mine-within-theirs";
|
|
897
|
+
"theirs-within-mine": "theirs-within-mine";
|
|
898
|
+
intersect: "intersect";
|
|
899
|
+
}>>;
|
|
900
|
+
}, z.core.$strict>>>>;
|
|
901
|
+
}, z.core.$strict>>>>>;
|
|
902
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
903
|
+
kind: z.ZodLiteral<"present">;
|
|
904
|
+
overlaps: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
905
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
906
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
907
|
+
mine: z.ZodString;
|
|
908
|
+
theirs: z.ZodString;
|
|
909
|
+
relation: z.ZodExactOptional<z.ZodEnum<{
|
|
910
|
+
"mine-within-theirs": "mine-within-theirs";
|
|
911
|
+
"theirs-within-mine": "theirs-within-mine";
|
|
912
|
+
intersect: "intersect";
|
|
913
|
+
}>>;
|
|
914
|
+
}, z.core.$strict>>>>;
|
|
915
|
+
}, z.core.$strict>>>>>;
|
|
916
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
917
|
+
kind: z.ZodLiteral<"failed">;
|
|
918
|
+
diagnostic: z.ZodString;
|
|
919
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
920
|
+
kind: z.ZodLiteral<"contract-missing">;
|
|
921
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
922
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
923
|
+
kind: z.ZodLiteral<"contract-terminal">;
|
|
924
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
925
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
926
|
+
kind: z.ZodLiteral<"absent">;
|
|
927
|
+
}, z.core.$strict>>]>;
|
|
928
|
+
export type RegionDeclaration = z.output<typeof regionDeclarationSchema>;
|
|
929
|
+
export type RegionResult = z.output<typeof regionResultSchema>;
|
|
930
|
+
export type RegionRead = z.output<typeof regionReadSchema>;
|
|
931
|
+
export declare const kanshiResultSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
932
|
+
kind: z.ZodLiteral<"world">;
|
|
933
|
+
observedAt: z.ZodString;
|
|
934
|
+
contracts: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
935
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
936
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
937
|
+
title: z.ZodExactOptional<z.ZodString>;
|
|
938
|
+
phase: z.ZodEnum<{
|
|
939
|
+
claimed: "claimed";
|
|
940
|
+
abandoned: "abandoned";
|
|
941
|
+
bound: "bound";
|
|
942
|
+
}>;
|
|
943
|
+
phaseAt: z.ZodString;
|
|
944
|
+
delivered: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
945
|
+
gates: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
946
|
+
name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
947
|
+
verdict: z.ZodEnum<{
|
|
948
|
+
missing: "missing";
|
|
949
|
+
satisfied: "satisfied";
|
|
950
|
+
unsatisfied: "unsatisfied";
|
|
951
|
+
stale: "stale";
|
|
952
|
+
}>;
|
|
953
|
+
}, z.core.$strict>>>>>;
|
|
954
|
+
attention: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
955
|
+
kind: z.ZodLiteral<"workspace-unavailable">;
|
|
956
|
+
path: z.ZodString;
|
|
957
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
958
|
+
kind: z.ZodLiteral<"workspace-unappointed">;
|
|
959
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
960
|
+
kind: z.ZodLiteral<"workspace-failed">;
|
|
961
|
+
path: z.ZodString;
|
|
962
|
+
diagnostic: z.ZodString;
|
|
963
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
964
|
+
kind: z.ZodLiteral<"merge-in-progress">;
|
|
965
|
+
path: z.ZodString;
|
|
966
|
+
conflicts: z.ZodExactOptional<z.ZodNumber>;
|
|
967
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
968
|
+
kind: z.ZodLiteral<"target-behind">;
|
|
969
|
+
behind: z.ZodNumber;
|
|
970
|
+
subject: z.ZodExactOptional<z.ZodString>;
|
|
971
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
972
|
+
kind: z.ZodLiteral<"target-unknown">;
|
|
973
|
+
subject: z.ZodExactOptional<z.ZodString>;
|
|
974
|
+
}, z.core.$strict>>]>>>>;
|
|
975
|
+
associations: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
976
|
+
kind: z.ZodLiteral<"debt">;
|
|
977
|
+
debtId: z.ZodString;
|
|
978
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
979
|
+
kind: z.ZodLiteral<"akuma">;
|
|
980
|
+
akumaId: z.ZodString;
|
|
981
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
982
|
+
aliasesUnavailable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
983
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
984
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
985
|
+
source: z.ZodEnum<{
|
|
986
|
+
holder: "holder";
|
|
987
|
+
roster: "roster";
|
|
988
|
+
}>;
|
|
989
|
+
diagnostic: z.ZodString;
|
|
990
|
+
}, z.core.$strict>>]>>>>;
|
|
991
|
+
}, z.core.$strict>>>>>;
|
|
992
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
993
|
+
kind: z.ZodLiteral<"present">;
|
|
994
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
995
|
+
kind: z.ZodLiteral<"absent">;
|
|
996
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
997
|
+
kind: z.ZodLiteral<"failed">;
|
|
998
|
+
diagnostic: z.ZodString;
|
|
999
|
+
}, z.core.$strict>>]>;
|
|
1000
|
+
debts: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1001
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1002
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
|
|
1003
|
+
title: z.ZodString;
|
|
1004
|
+
priority: z.ZodType<import("../debt/document.js").DebtPriority, import("../debt/document.js").DebtPriority, z.core.$ZodTypeInternals<import("../debt/document.js").DebtPriority, import("../debt/document.js").DebtPriority>>;
|
|
1005
|
+
disposition: z.ZodEnum<{
|
|
1006
|
+
ready: "ready";
|
|
1007
|
+
blocked: "blocked";
|
|
1008
|
+
}>;
|
|
1009
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1010
|
+
kind: z.ZodLiteral<"associated">;
|
|
1011
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1012
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1013
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1014
|
+
}, z.core.$strict>>]>>;
|
|
1015
|
+
}, z.core.$strict>>>>>;
|
|
1016
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1017
|
+
kind: z.ZodLiteral<"present">;
|
|
1018
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1019
|
+
kind: z.ZodLiteral<"absent">;
|
|
1020
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1021
|
+
kind: z.ZodLiteral<"failed">;
|
|
1022
|
+
diagnostic: z.ZodString;
|
|
1023
|
+
coordinate: z.ZodExactOptional<z.ZodString>;
|
|
1024
|
+
}, z.core.$strict>>]>;
|
|
1025
|
+
akumas: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1026
|
+
more: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1027
|
+
aliasesError: z.ZodExactOptional<z.ZodString>;
|
|
1028
|
+
rows: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1029
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>;
|
|
1030
|
+
life: z.ZodEnum<{
|
|
1031
|
+
hung: "hung";
|
|
1032
|
+
untidy: "untidy";
|
|
1033
|
+
killed: "killed";
|
|
1034
|
+
running: "running";
|
|
1035
|
+
asleep: "asleep";
|
|
1036
|
+
stranded: "stranded";
|
|
1037
|
+
unborn: "unborn";
|
|
1038
|
+
stillborn: "stillborn";
|
|
1039
|
+
}>;
|
|
1040
|
+
lifeAt: z.ZodExactOptional<z.ZodString>;
|
|
1041
|
+
lastActivityAt: z.ZodExactOptional<z.ZodString>;
|
|
1042
|
+
pending: z.ZodExactOptional<z.ZodNumber>;
|
|
1043
|
+
diagnostic: z.ZodExactOptional<z.ZodString>;
|
|
1044
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
1045
|
+
parentAkumaId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").AkumaId, string>>>;
|
|
1046
|
+
contract: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1047
|
+
kind: z.ZodLiteral<"associated">;
|
|
1048
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1049
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1050
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1051
|
+
}, z.core.$strict>>]>>;
|
|
1052
|
+
work: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1053
|
+
kind: z.ZodEnum<{
|
|
1054
|
+
open: "open";
|
|
1055
|
+
idle: "idle";
|
|
1056
|
+
}>;
|
|
1057
|
+
turn: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
1058
|
+
sequence: z.ZodNumber;
|
|
1059
|
+
bodySequence: z.ZodNumber;
|
|
1060
|
+
}, z.core.$strict>>>;
|
|
1061
|
+
activeTools: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1062
|
+
id: z.ZodNumber;
|
|
1063
|
+
turnSequence: z.ZodNumber;
|
|
1064
|
+
toolId: z.ZodString;
|
|
1065
|
+
}, z.core.$strict>>>>>;
|
|
1066
|
+
latestActivity: z.ZodExactOptional<z.ZodNumber>;
|
|
1067
|
+
pending: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1068
|
+
id: z.ZodNumber;
|
|
1069
|
+
tellId: z.ZodString;
|
|
1070
|
+
}, z.core.$strict>>>>>;
|
|
1071
|
+
outcome: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
1072
|
+
historyId: z.ZodTemplateLiteral<`turn/${number}`>;
|
|
1073
|
+
activityId: z.ZodNumber;
|
|
1074
|
+
verdict: z.ZodEnum<{
|
|
1075
|
+
answered: "answered";
|
|
1076
|
+
failed: "failed";
|
|
1077
|
+
canceled: "canceled";
|
|
1078
|
+
}>;
|
|
1079
|
+
}, z.core.$strict>>>;
|
|
1080
|
+
summary: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
1081
|
+
id: z.ZodNumber;
|
|
1082
|
+
text: z.ZodString;
|
|
1083
|
+
clipped: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1084
|
+
}, z.core.$strict>>>;
|
|
1085
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1086
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1087
|
+
diagnostic: z.ZodString;
|
|
1088
|
+
}, z.core.$strict>>]>>;
|
|
1089
|
+
}, z.core.$strict>>>>>;
|
|
1090
|
+
kind: z.ZodLiteral<"present">;
|
|
1091
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
1092
|
+
kind: z.ZodLiteral<"absent">;
|
|
1093
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1094
|
+
kind: z.ZodLiteral<"failed">;
|
|
1095
|
+
diagnostic: z.ZodString;
|
|
1096
|
+
}, z.core.$strict>>]>;
|
|
1097
|
+
}, z.core.$strict>>, z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1098
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1099
|
+
title: z.ZodExactOptional<z.ZodString>;
|
|
1100
|
+
phase: z.ZodEnum<{
|
|
1101
|
+
claimed: "claimed";
|
|
1102
|
+
abandoned: "abandoned";
|
|
1103
|
+
bound: "bound";
|
|
1104
|
+
}>;
|
|
1105
|
+
workspace: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1106
|
+
kind: z.ZodLiteral<"present">;
|
|
1107
|
+
path: z.ZodString;
|
|
1108
|
+
counts: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
1109
|
+
staged: z.ZodExactOptional<z.ZodNumber>;
|
|
1110
|
+
unstaged: z.ZodExactOptional<z.ZodNumber>;
|
|
1111
|
+
untracked: z.ZodExactOptional<z.ZodNumber>;
|
|
1112
|
+
submodules: z.ZodExactOptional<z.ZodNumber>;
|
|
1113
|
+
}, z.core.$strict>>>;
|
|
1114
|
+
merge: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1115
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1116
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1117
|
+
path: z.ZodString;
|
|
1118
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1119
|
+
kind: z.ZodLiteral<"unappointed">;
|
|
1120
|
+
}, z.core.$strict>>]>;
|
|
1121
|
+
target: z.ZodExactOptional<z.ZodString>;
|
|
1122
|
+
targetLag: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1123
|
+
kind: z.ZodLiteral<"counted">;
|
|
1124
|
+
behind: z.ZodExactOptional<z.ZodNumber>;
|
|
1125
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1126
|
+
kind: z.ZodLiteral<"unknown">;
|
|
1127
|
+
}, z.core.$strict>>]>>;
|
|
1128
|
+
delivery: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
1129
|
+
candidate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
1130
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
1131
|
+
}, z.core.$strict>>>;
|
|
1132
|
+
targetObservation: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1133
|
+
kind: z.ZodLiteral<"moved">;
|
|
1134
|
+
before: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
1135
|
+
after: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
1136
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1137
|
+
kind: z.ZodLiteral<"unknown">;
|
|
1138
|
+
}, z.core.$strict>>]>>;
|
|
1139
|
+
gates: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1140
|
+
gate: z.ZodString;
|
|
1141
|
+
requirements: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1142
|
+
requirement: z.ZodExactOptional<z.ZodString>;
|
|
1143
|
+
current: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1144
|
+
kind: z.ZodLiteral<"missing">;
|
|
1145
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1146
|
+
kind: z.ZodLiteral<"stale">;
|
|
1147
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1148
|
+
kind: z.ZodLiteral<"attested">;
|
|
1149
|
+
verdict: z.ZodEnum<{
|
|
1150
|
+
satisfied: "satisfied";
|
|
1151
|
+
unsatisfied: "unsatisfied";
|
|
1152
|
+
}>;
|
|
1153
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
1154
|
+
}, z.core.$strict>>]>;
|
|
1155
|
+
index: z.ZodExactOptional<z.ZodNumber>;
|
|
1156
|
+
}, z.core.$strict>>>>;
|
|
1157
|
+
}, z.core.$strict>>>>>;
|
|
1158
|
+
after: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1159
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1160
|
+
state: z.ZodEnum<{
|
|
1161
|
+
missing: "missing";
|
|
1162
|
+
abandoned: "abandoned";
|
|
1163
|
+
active: "active";
|
|
1164
|
+
}>;
|
|
1165
|
+
}, z.core.$strict>>>>>;
|
|
1166
|
+
issue: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1167
|
+
kind: z.ZodLiteral<"target-checkout-retained">;
|
|
1168
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1169
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1170
|
+
diagnostic: z.ZodString;
|
|
1171
|
+
}, z.core.$strict>>]>>;
|
|
1172
|
+
abandonNote: z.ZodExactOptional<z.ZodString>;
|
|
1173
|
+
kind: z.ZodLiteral<"contract">;
|
|
1174
|
+
holder: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>, z.ZodReadonly<z.ZodObject<{
|
|
1175
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1176
|
+
}, z.core.$strict>>]>>;
|
|
1177
|
+
roster: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1178
|
+
id: z.ZodString;
|
|
1179
|
+
aliases: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../identity/selector.js").AkumaAlias, string>>>>>;
|
|
1180
|
+
aliasesUnavailable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1181
|
+
}, z.core.$strict>>>>, z.ZodReadonly<z.ZodObject<{
|
|
1182
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1183
|
+
}, z.core.$strict>>]>>;
|
|
1184
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1185
|
+
kind: z.ZodLiteral<"contract-failed">;
|
|
1186
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1187
|
+
diagnostic: z.ZodString;
|
|
1188
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1189
|
+
kind: z.ZodLiteral<"contract-missing">;
|
|
1190
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1191
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1192
|
+
kind: z.ZodLiteral<"contract-absent">;
|
|
1193
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1194
|
+
}, z.core.$strict>>]>, z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1195
|
+
kind: z.ZodLiteral<"present">;
|
|
1196
|
+
declarations: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1197
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1198
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1199
|
+
}, z.core.$strict>>>>>;
|
|
1200
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1201
|
+
kind: z.ZodLiteral<"present">;
|
|
1202
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1203
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1204
|
+
overlaps: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1205
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1206
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1207
|
+
mine: z.ZodString;
|
|
1208
|
+
theirs: z.ZodString;
|
|
1209
|
+
relation: z.ZodExactOptional<z.ZodEnum<{
|
|
1210
|
+
"mine-within-theirs": "mine-within-theirs";
|
|
1211
|
+
"theirs-within-mine": "theirs-within-mine";
|
|
1212
|
+
intersect: "intersect";
|
|
1213
|
+
}>>;
|
|
1214
|
+
}, z.core.$strict>>>>;
|
|
1215
|
+
}, z.core.$strict>>>>>;
|
|
1216
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1217
|
+
kind: z.ZodLiteral<"present">;
|
|
1218
|
+
overlaps: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1219
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1220
|
+
patterns: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1221
|
+
mine: z.ZodString;
|
|
1222
|
+
theirs: z.ZodString;
|
|
1223
|
+
relation: z.ZodExactOptional<z.ZodEnum<{
|
|
1224
|
+
"mine-within-theirs": "mine-within-theirs";
|
|
1225
|
+
"theirs-within-mine": "theirs-within-mine";
|
|
1226
|
+
intersect: "intersect";
|
|
1227
|
+
}>>;
|
|
1228
|
+
}, z.core.$strict>>>>;
|
|
1229
|
+
}, z.core.$strict>>>>>;
|
|
1230
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1231
|
+
kind: z.ZodLiteral<"failed">;
|
|
1232
|
+
diagnostic: z.ZodString;
|
|
1233
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1234
|
+
kind: z.ZodLiteral<"contract-missing">;
|
|
1235
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1236
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1237
|
+
kind: z.ZodLiteral<"contract-terminal">;
|
|
1238
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
1239
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1240
|
+
kind: z.ZodLiteral<"absent">;
|
|
1241
|
+
}, z.core.$strict>>]>]>;
|
|
1242
|
+
export type KanshiResult = KanshiReport | KanshiContractReport | RegionRead;
|