@astrosheep/keiyaku 4.6.30 → 4.6.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/build/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/build/plugins/claude/skills/keiyaku/SKILL.md +12 -12
- package/build/plugins/claude/skills/keiyaku-akuma/SKILL.md +16 -16
- package/build/plugins/claude/skills/keiyaku-akuma/references/automation.md +14 -14
- package/build/plugins/claude/skills/keiyaku-babysit/SKILL.md +10 -10
- package/build/plugins/claude/skills/keiyaku-bind/SKILL.md +15 -15
- package/build/plugins/claude/skills/keiyaku-debt/SKILL.md +16 -16
- package/build/plugins/claude/skills/keiyaku-workflow/SKILL.md +21 -21
- package/build/plugins/codex/.codex-plugin/plugin.json +1 -1
- package/build/plugins/codex/skills/keiyaku/SKILL.md +12 -12
- package/build/plugins/codex/skills/keiyaku-akuma/SKILL.md +16 -16
- package/build/plugins/codex/skills/keiyaku-akuma/references/automation.md +14 -14
- package/build/plugins/codex/skills/keiyaku-babysit/SKILL.md +10 -10
- package/build/plugins/codex/skills/keiyaku-bind/SKILL.md +15 -15
- package/build/plugins/codex/skills/keiyaku-debt/SKILL.md +16 -16
- package/build/plugins/codex/skills/keiyaku-workflow/SKILL.md +21 -21
- package/build/plugins/opencode/package.json +1 -1
- package/build/plugins/opencode/skills/keiyaku/SKILL.md +12 -12
- package/build/plugins/opencode/skills/keiyaku-akuma/SKILL.md +16 -16
- package/build/plugins/opencode/skills/keiyaku-akuma/references/automation.md +14 -14
- package/build/plugins/opencode/skills/keiyaku-babysit/SKILL.md +10 -10
- package/build/plugins/opencode/skills/keiyaku-bind/SKILL.md +15 -15
- package/build/plugins/opencode/skills/keiyaku-debt/SKILL.md +16 -16
- package/build/plugins/opencode/skills/keiyaku-workflow/SKILL.md +21 -21
- package/build/plugins/pi/README.md +5 -5
- package/build/plugins/pi/akuma-tools.ts +17 -23
- package/build/skills/keiyaku/SKILL.md +12 -12
- package/build/skills/keiyaku-akuma/SKILL.md +16 -16
- package/build/skills/keiyaku-akuma/references/automation.md +14 -14
- package/build/skills/keiyaku-babysit/SKILL.md +10 -10
- package/build/skills/keiyaku-bind/SKILL.md +15 -15
- package/build/skills/keiyaku-debt/SKILL.md +16 -16
- package/build/skills/keiyaku-workflow/SKILL.md +21 -21
- package/build/src/akuma/akuma-call.d.ts +1 -1
- package/build/src/akuma/akuma-call.js +9 -9
- package/build/src/akuma/akuma-errors.d.ts +5 -5
- package/build/src/akuma/akuma-instance.d.ts +355 -12
- package/build/src/akuma/akuma-instance.js +20 -20
- package/build/src/akuma/akuma-observe.d.ts +11 -12
- package/build/src/akuma/akuma-observe.js +34 -26
- package/build/src/akuma/akuma-owner.d.ts +32 -11
- package/build/src/akuma/akuma-owner.js +35 -16
- package/build/src/akuma/akuma-probe.d.ts +3 -3
- package/build/src/akuma/akuma-probe.js +2 -2
- package/build/src/akuma/akuma-selection-execution.d.ts +985 -1
- package/build/src/akuma/akuma-selection-execution.js +42 -18
- package/build/src/akuma/akuma-stream.d.ts +2 -2
- package/build/src/akuma/akuma-stream.js +1 -1
- package/build/src/akuma/akuma-wait.d.ts +5 -5
- package/build/src/akuma/akuma-wait.js +52 -14
- package/build/src/akuma/akuma.d.ts +245 -271
- package/build/src/akuma/akuma.js +98 -46
- package/build/src/akuma/archetype.d.ts +19 -6
- package/build/src/akuma/archetype.js +25 -9
- package/build/src/akuma/body-launch.d.ts +2 -2
- package/build/src/akuma/body.js +4 -4
- package/build/src/akuma/call-initial-tell.d.ts +60 -44
- package/build/src/akuma/call-initial-tell.js +41 -2
- package/build/src/akuma/caller.d.ts +26 -17
- package/build/src/akuma/caller.js +22 -9
- package/build/src/akuma/coordinate.d.ts +9 -0
- package/build/src/akuma/coordinate.js +13 -0
- package/build/src/akuma/detached-body.js +2 -2
- package/build/src/akuma/dispatch-association.d.ts +4 -4
- package/build/src/akuma/dispatch-association.js +12 -3
- package/build/src/akuma/execution-instructions.js +2 -2
- package/build/src/akuma/heart/facts.d.ts +29 -7
- package/build/src/akuma/heart/facts.js +13 -0
- package/build/src/akuma/heart/index.d.ts +0 -3
- package/build/src/akuma/heart/index.js +3 -6
- package/build/src/akuma/heart/rows.js +2 -2
- package/build/src/akuma/heart/soul.js +5 -5
- package/build/src/akuma/identity.d.ts +17 -16
- package/build/src/akuma/identity.js +20 -19
- package/build/src/akuma/index.d.ts +1 -2
- package/build/src/akuma/lineage-cache.d.ts +4 -4
- package/build/src/akuma/lineage-cache.js +10 -10
- package/build/src/akuma/projection-read.d.ts +2 -5
- package/build/src/akuma/projection-read.js +34 -47
- package/build/src/akuma/projection.d.ts +659 -569
- package/build/src/akuma/projection.js +203 -94
- package/build/src/akuma/providers/acp/index.js +1 -1
- package/build/src/akuma/providers/execution-environment.d.ts +1 -3
- package/build/src/akuma/providers/execution-environment.js +0 -4
- package/build/src/akuma/publication.d.ts +2 -2
- package/build/src/akuma/publication.js +3 -3
- package/build/src/akuma/retention.js +2 -2
- package/build/src/akuma/selection-observation.d.ts +507 -43
- package/build/src/akuma/selection-observation.js +153 -1
- package/build/src/akuma/status-projection.d.ts +288 -0
- package/build/src/akuma/status-projection.js +154 -0
- package/build/src/akuma/turn-drive.js +0 -3
- package/build/src/alias/index.d.ts +9 -4
- package/build/src/alias/index.js +11 -9
- package/build/src/bounded-list.d.ts +8 -0
- package/build/src/bounded-list.js +9 -0
- package/build/src/cli/commands/akuma-grammar.d.ts +2 -2
- package/build/src/cli/commands/akuma-grammar.js +21 -21
- package/build/src/cli/commands/akuma.d.ts +1 -2
- package/build/src/cli/commands/akuma.js +115 -251
- package/build/src/cli/commands/contract-grammar.d.ts +4 -3
- package/build/src/cli/commands/contract-grammar.js +39 -22
- package/build/src/cli/commands/contract-help.d.ts +3 -1
- package/build/src/cli/commands/contract-help.js +4 -3
- package/build/src/cli/commands/contract.d.ts +6 -3
- package/build/src/cli/commands/contract.js +203 -434
- package/build/src/cli/commands/debt.d.ts +2 -3
- package/build/src/cli/commands/debt.js +101 -317
- package/build/src/cli/commands/report.js +11 -28
- package/build/src/cli/commands/whoami.d.ts +3 -43
- package/build/src/cli/commands/whoami.js +8 -121
- package/build/src/cli/coordinates.d.ts +4 -35
- package/build/src/cli/coordinates.js +13 -129
- package/build/src/cli/parse.d.ts +0 -6
- package/build/src/cli/parse.js +5 -48
- package/build/src/cli/render/akuma-activity.d.ts +31 -16
- package/build/src/cli/render/akuma-activity.js +157 -149
- package/build/src/cli/render/akuma-tool.d.ts +3 -6
- package/build/src/cli/render/akuma-tool.js +20 -14
- package/build/src/cli/render/akuma.d.ts +25 -26
- package/build/src/cli/render/akuma.js +100 -129
- package/build/src/cli/render/catalog.d.ts +4 -7
- package/build/src/cli/render/catalog.js +52 -99
- package/build/src/cli/render/contract-history.d.ts +3 -1
- package/build/src/cli/render/contract-history.js +140 -215
- package/build/src/cli/render/contract-observation.d.ts +43 -30
- package/build/src/cli/render/contract-observation.js +64 -31
- package/build/src/cli/render/contract-wait.js +6 -6
- package/build/src/cli/render/contract.d.ts +41 -6
- package/build/src/cli/render/contract.js +274 -370
- package/build/src/cli/render/debt.d.ts +9 -19
- package/build/src/cli/render/debt.js +120 -185
- package/build/src/cli/render/delivery-preview.d.ts +4 -3
- package/build/src/cli/render/delivery-preview.js +68 -96
- package/build/src/cli/render/kanshi-akuma.d.ts +4 -4
- package/build/src/cli/render/kanshi-akuma.js +70 -59
- package/build/src/cli/render/kanshi.d.ts +4 -4
- package/build/src/cli/render/kanshi.js +205 -221
- package/build/src/cli/render/marks.d.ts +11 -2
- package/build/src/cli/render/marks.js +13 -3
- package/build/src/cli/render/nuke.d.ts +3 -3
- package/build/src/cli/render/nuke.js +13 -16
- package/build/src/cli/render/receipt.d.ts +37 -43
- package/build/src/cli/render/receipt.js +313 -236
- package/build/src/cli/render/reconcile.d.ts +6 -4
- package/build/src/cli/render/reconcile.js +53 -137
- package/build/src/cli/render/refusal.d.ts +3 -2
- package/build/src/cli/render/refusal.js +73 -54
- package/build/src/cli/render/region.d.ts +11 -2
- package/build/src/cli/render/region.js +17 -23
- package/build/src/cli/render/settings.d.ts +0 -1
- package/build/src/cli/render/settings.js +8 -17
- package/build/src/cli/render/terminal.d.ts +2 -0
- package/build/src/cli/render/verbs.d.ts +4 -0
- package/build/src/cli/render/verbs.js +312 -0
- package/build/src/cli/render/whoami.d.ts +1 -1
- package/build/src/cli/render/whoami.js +24 -31
- package/build/src/cli/runtime.d.ts +3 -11
- package/build/src/cli/runtime.js +96 -79
- package/build/src/cli/scan.d.ts +1 -1
- package/build/src/cli/streams.js +1 -0
- package/build/src/contract-guidance.js +2 -2
- package/build/src/contract-worktree.d.ts +2 -15
- package/build/src/contract-worktree.js +19 -35
- package/build/src/core/facts/observation.d.ts +4 -5
- package/build/src/core/facts/observation.js +7 -9
- package/build/src/core/verbs/amend.d.ts +0 -1
- package/build/src/core/verbs/amend.js +3 -3
- package/build/src/core/verbs/bind.d.ts +0 -1
- package/build/src/core/verbs/bind.js +5 -5
- package/build/src/core/verbs/deliver.d.ts +3 -2
- package/build/src/core/verbs/deliver.js +2 -2
- package/build/src/core/verbs/placement.d.ts +0 -5
- package/build/src/core/verbs/placement.js +4 -6
- package/build/src/core/verbs/reintegrate.d.ts +0 -1
- package/build/src/core/verbs/reintegrate.js +2 -2
- package/build/src/debt/board.d.ts +132 -116
- package/build/src/debt/board.js +138 -94
- package/build/src/debt/catalog.d.ts +4 -4
- package/build/src/debt/catalog.js +2 -18
- package/build/src/debt/context.d.ts +15 -3
- package/build/src/debt/context.js +12 -1
- package/build/src/debt/created-observation.d.ts +5 -17
- package/build/src/debt/created-observation.js +14 -6
- package/build/src/debt/document.d.ts +20 -15
- package/build/src/debt/document.js +18 -1
- package/build/src/debt/index.d.ts +346 -23
- package/build/src/debt/index.js +68 -22
- package/build/src/debt/input.d.ts +2 -1
- package/build/src/debt/input.js +14 -0
- package/build/src/debt/lifecycle-operations.d.ts +2 -2
- package/build/src/debt/lifecycle-operations.js +14 -22
- package/build/src/debt/operation-types.d.ts +188 -66
- package/build/src/debt/operation-types.js +113 -1
- package/build/src/debt/operations.d.ts +11 -10
- package/build/src/debt/operations.js +46 -71
- package/build/src/debt/query.d.ts +14 -10
- package/build/src/debt/query.js +3 -12
- package/build/src/debt/store.d.ts +4 -2
- package/build/src/debt/store.js +8 -8
- package/build/src/debt/view.d.ts +0 -3
- package/build/src/debt/view.js +0 -4
- package/build/src/dispatch/index.d.ts +22 -5
- package/build/src/dispatch/index.js +46 -37
- package/build/src/git/admission.d.ts +2 -2
- package/build/src/git/admission.js +2 -1
- package/build/src/git/hooks.d.ts +14 -35
- package/build/src/git/hooks.js +45 -25
- package/build/src/git/integration.d.ts +6 -24
- package/build/src/git/integration.js +10 -16
- package/build/src/git/private-state-seat.d.ts +2 -2
- package/build/src/git/private-state-seat.js +2 -1
- package/build/src/git/reconcile.d.ts +17 -79
- package/build/src/git/reconcile.js +37 -52
- package/build/src/git/scratch.d.ts +3 -3
- package/build/src/git/scratch.js +4 -1
- package/build/src/git/target-placement.d.ts +23 -31
- package/build/src/git/target-placement.js +42 -27
- package/build/src/git/target.d.ts +2 -2
- package/build/src/git/target.js +2 -1
- package/build/src/git/tender.d.ts +7 -39
- package/build/src/git/tender.js +21 -54
- package/build/src/git/terminal-reconcile.js +15 -18
- package/build/src/git/terminal-seal.d.ts +2 -4
- package/build/src/git/terminal-seal.js +7 -33
- package/build/src/git/workspace.d.ts +65 -41
- package/build/src/git/workspace.js +45 -14
- package/build/src/identity/selector.d.ts +2 -0
- package/build/src/identity/selector.js +13 -3
- package/build/src/index.d.ts +48 -54
- package/build/src/index.js +31 -43
- package/build/src/kanshi/counts.d.ts +42 -8
- package/build/src/kanshi/counts.js +13 -2
- package/build/src/kanshi/index.d.ts +5 -5
- package/build/src/kanshi/index.js +4 -3
- package/build/src/kanshi/read.d.ts +489 -6
- package/build/src/kanshi/read.js +334 -483
- package/build/src/kanshi/report.d.ts +2504 -103
- package/build/src/kanshi/report.js +165 -1
- package/build/src/kanshi/select.d.ts +0 -8
- package/build/src/kanshi/select.js +20 -59
- package/build/src/library/address.d.ts +8 -8
- package/build/src/library/address.js +7 -7
- package/build/src/library/akuma-creation.d.ts +690 -84
- package/build/src/library/akuma-creation.js +202 -142
- package/build/src/library/akuma-retention.d.ts +2 -2
- package/build/src/library/akuma-retention.js +2 -2
- package/build/src/library/akumas.d.ts +10 -6
- package/build/src/library/akumas.js +24 -7
- package/build/src/library/bind.d.ts +28 -54
- package/build/src/library/bind.js +6 -4
- package/build/src/library/continuation.d.ts +197 -479
- package/build/src/library/continuation.js +40 -23
- package/build/src/library/contract-address.d.ts +6 -5
- package/build/src/library/contract-address.js +5 -7
- package/build/src/library/contract-composition.d.ts +18 -12
- package/build/src/library/contract-composition.js +55 -47
- package/build/src/library/contract-creation.d.ts +3 -2
- package/build/src/library/contract-creation.js +38 -32
- package/build/src/library/contract-execution.js +77 -38
- package/build/src/library/contract-outcomes.d.ts +1877 -27
- package/build/src/library/contract-outcomes.js +93 -10
- package/build/src/library/contract-settings.d.ts +2 -2
- package/build/src/library/contract-settings.js +18 -14
- package/build/src/library/contract-types.d.ts +238 -61
- package/build/src/library/contract-types.js +131 -1
- package/build/src/library/contract-wait.d.ts +38 -17
- package/build/src/library/contract-wait.js +40 -10
- package/build/src/library/delivery.d.ts +588 -36
- package/build/src/library/delivery.js +35 -27
- package/build/src/library/input.d.ts +1 -1
- package/build/src/library/input.js +1 -2
- package/build/src/library/invocation.d.ts +11 -7
- package/build/src/library/invocation.js +42 -51
- package/build/src/library/kei.d.ts +48 -0
- package/build/src/library/kei.js +256 -0
- package/build/src/library/keiyaku-attribution.d.ts +11 -0
- package/build/src/{cli/delivery-identity.js → library/keiyaku-attribution.js} +12 -1
- package/build/src/library/keiyaku-classify.d.ts +11 -0
- package/build/src/library/keiyaku-classify.js +146 -0
- package/build/src/library/keiyaku-coordinates.d.ts +31 -0
- package/build/src/library/keiyaku-coordinates.js +103 -0
- package/build/src/library/keiyaku-debt.d.ts +142 -0
- package/build/src/library/keiyaku-debt.js +188 -0
- package/build/src/library/keiyaku-identity.d.ts +58 -0
- package/build/src/library/keiyaku-identity.js +176 -0
- package/build/src/library/keiyaku-policy.d.ts +27 -0
- package/build/src/library/keiyaku-policy.js +44 -0
- package/build/src/library/keiyaku-status.d.ts +1487 -0
- package/build/src/library/keiyaku-status.js +92 -0
- package/build/src/library/keiyaku-verbs.d.ts +6774 -0
- package/build/src/library/keiyaku-verbs.js +458 -0
- package/build/src/library/keiyaku.d.ts +871 -38
- package/build/src/library/keiyaku.js +677 -127
- package/build/src/library/nuke.d.ts +22 -0
- package/build/src/library/nuke.js +4 -1
- package/build/src/library/outcome.d.ts +706 -692
- package/build/src/library/outcome.js +582 -167
- package/build/src/library/reconcile.d.ts +464 -116
- package/build/src/library/reconcile.js +174 -102
- package/build/src/library/refusal.d.ts +113 -577
- package/build/src/library/refusal.js +64 -51
- package/build/src/library/region.d.ts +5 -24
- package/build/src/library/region.js +6 -21
- package/build/src/library/selection.d.ts +181 -32
- package/build/src/library/selection.js +99 -64
- package/build/src/mcp/adapter.d.ts +11 -0
- package/build/src/mcp/adapter.js +106 -0
- package/build/src/mcp/help.d.ts +1 -0
- package/build/src/mcp/help.js +26 -0
- package/build/src/mcp/index.d.ts +2 -0
- package/build/src/mcp/index.js +37 -0
- package/build/src/plugin/public.d.ts +1 -1
- package/build/src/plugin/runtime.js +17 -14
- package/build/src/protocol/arc.d.ts +4 -1
- package/build/src/protocol/arc.js +7 -1
- package/build/src/protocol/attempt.d.ts +2 -3
- package/build/src/protocol/attempt.js +1 -10
- package/build/src/protocol/bind.d.ts +6 -7
- package/build/src/protocol/bind.js +9 -5
- package/build/src/protocol/completion.d.ts +448 -12
- package/build/src/protocol/completion.js +164 -26
- package/build/src/protocol/deliver.d.ts +26 -24
- package/build/src/protocol/deliver.js +24 -52
- package/build/src/protocol/delivery-preview.d.ts +97 -247
- package/build/src/protocol/delivery-preview.js +132 -128
- package/build/src/protocol/execution-observation.d.ts +146 -123
- package/build/src/protocol/execution-observation.js +9 -6
- package/build/src/protocol/intent.d.ts +9 -48
- package/build/src/protocol/intent.js +32 -46
- package/build/src/protocol/operations.d.ts +207 -505
- package/build/src/protocol/operations.js +81 -134
- package/build/src/protocol/placement.d.ts +0 -1
- package/build/src/protocol/placement.js +5 -2
- package/build/src/protocol/progress.d.ts +7 -97
- package/build/src/protocol/progress.js +7 -55
- package/build/src/protocol/read/observation.d.ts +13 -6
- package/build/src/protocol/read/observation.js +10 -9
- package/build/src/protocol/read/status.d.ts +464 -93
- package/build/src/protocol/read/status.js +372 -85
- package/build/src/protocol/reconcile.d.ts +2 -0
- package/build/src/protocol/reconcile.js +12 -11
- package/build/src/protocol/reintegrate.d.ts +0 -1
- package/build/src/protocol/reintegrate.js +4 -4
- package/build/src/protocol/result-leaves.d.ts +528 -0
- package/build/src/protocol/result-leaves.js +195 -0
- package/build/src/protocol/result-reasons.d.ts +129 -0
- package/build/src/protocol/result-reasons.js +87 -0
- package/build/src/protocol/review.d.ts +14 -11
- package/build/src/protocol/review.js +30 -14
- package/build/src/protocol/run.d.ts +4 -4
- package/build/src/protocol/run.js +4 -1
- package/build/src/protocol/verify.d.ts +359 -30
- package/build/src/protocol/verify.js +118 -28
- package/build/src/region.d.ts +26 -0
- package/build/src/region.js +28 -0
- package/build/src/runtime/proc/diagnostic.d.ts +11 -0
- package/build/src/runtime/proc/diagnostic.js +20 -0
- package/build/src/runtime/proc/windows-launch.exe +0 -0
- package/build/src/settings.d.ts +126 -32
- package/build/src/settings.js +107 -34
- package/build/src/settlement/settle.d.ts +29 -12
- package/build/src/settlement/settle.js +22 -15
- package/build/src/verification/declaration.d.ts +1 -3
- package/build/src/verification/declaration.js +2 -5
- package/build/src/verification/execution.d.ts +7 -19
- package/build/src/verification/execution.js +37 -16
- package/build/src/verification/observation.d.ts +13 -13
- package/build/src/verification/observation.js +9 -7
- package/build/src/world.d.ts +8 -0
- package/build/src/world.js +7 -0
- package/package.json +6 -5
- package/plugins/paseo/plugin/server/keiyaku.ts +13 -46
- package/plugins/paseo/plugin/server/message.ts +8 -30
- package/plugins/paseo/plugin/server/mirror.ts +16 -20
- package/plugins/paseo/plugin/server/provider.ts +1 -1
- package/plugins/paseo/plugin/server/sdk.ts +14 -6
- package/plugins/pi/README.md +5 -5
- package/plugins/pi/akuma-tools.ts +17 -23
- package/skills/keiyaku/SKILL.md +12 -12
- package/skills/keiyaku-akuma/SKILL.md +16 -16
- package/skills/keiyaku-akuma/references/automation.md +14 -14
- package/skills/keiyaku-babysit/SKILL.md +10 -10
- package/skills/keiyaku-bind/SKILL.md +15 -15
- package/skills/keiyaku-debt/SKILL.md +16 -16
- package/skills/keiyaku-workflow/SKILL.md +21 -21
- package/build/src/cli/actor.d.ts +0 -10
- package/build/src/cli/actor.js +0 -24
- package/build/src/cli/akuma-caller.d.ts +0 -3
- package/build/src/cli/akuma-caller.js +0 -31
- package/build/src/cli/delivery-identity.d.ts +0 -3
- package/build/src/cli/render/effects.d.ts +0 -26
- package/build/src/cli/render/effects.js +0 -41
- package/build/src/cli/selectors.d.ts +0 -10
- package/build/src/cli/selectors.js +0 -42
- package/build/src/markdown/diff.d.ts +0 -1
- package/build/src/markdown/diff.js +0 -4
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import type { DecideInput, OfferDecision } from "../core/decide.js";
|
|
3
|
-
import type { ActorId, ContractId, ContractState, DeliverData, DocumentKey
|
|
3
|
+
import type { ActorId, ContractId, ContractState, DeliverData, DocumentKey } from "../core/facts/types.js";
|
|
4
|
+
export { deliverDataSchema, gateSchema, verdictSchema, candidateContentChangeSchema, gateCurrentSchema, requirementIdSchema, requirementReportSchema, gateReportSchema, } from "./result-leaves.js";
|
|
4
5
|
import type { IntegrationPreparationRefusal } from "../git/integration.js";
|
|
5
6
|
import type { GitRepository } from "../git/process.js";
|
|
6
7
|
import { type GitDecodeChannel } from "../git/read-observation.js";
|
|
7
8
|
import type { WorktreeLeak } from "../git/scratch.js";
|
|
9
|
+
export { checkoutNotFollowableRefusalSchema } from "../git/target-placement.js";
|
|
8
10
|
import type { VerificationDeclarationPreparation } from "../verification/declaration.js";
|
|
9
11
|
import type { AcceptedAdmission, DecidedOfferResult } from "./attempt.js";
|
|
10
12
|
import { type IntentAdmissionOptions } from "./intent.js";
|
|
@@ -18,193 +20,62 @@ import { type ContractBoard, type ContractCatalogue, type ContractObservation }
|
|
|
18
20
|
import type { ProtocolTerminal } from "./run.js";
|
|
19
21
|
export { changeIdSchema, contractIdSchema, snapshotIdSchema } from "../git/identity.js";
|
|
20
22
|
export { entryUlidSchema } from "./attempt.js";
|
|
21
|
-
export declare const
|
|
22
|
-
export declare const deliverDataSchema: z.ZodObject<{
|
|
23
|
-
note: z.ZodOptional<z.ZodString>;
|
|
24
|
-
tenderSnapshot: z.ZodPipe<z.ZodString, z.ZodTransform<SnapshotId, string>>;
|
|
25
|
-
integration: z.ZodObject<{
|
|
26
|
-
predecessor: z.ZodPipe<z.ZodString, z.ZodTransform<SnapshotId, string>>;
|
|
27
|
-
snapshot: z.ZodPipe<z.ZodString, z.ZodTransform<SnapshotId, string>>;
|
|
28
|
-
changeId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
29
|
-
}, z.core.$strict>;
|
|
30
|
-
method: z.ZodLiteral<"squash">;
|
|
31
|
-
policy: z.ZodObject<{
|
|
32
|
-
requireBranchesToBeUpToDate: z.ZodBoolean;
|
|
33
|
-
}, z.core.$strict>;
|
|
34
|
-
}, z.core.$strict>;
|
|
35
|
-
export declare const verdictSchema: z.ZodEnum<{
|
|
36
|
-
satisfied: "satisfied";
|
|
37
|
-
unsatisfied: "unsatisfied";
|
|
38
|
-
}>;
|
|
39
|
-
export declare const activeContractRefusalSchema: z.ZodObject<{
|
|
23
|
+
export declare const activeContractRefusalSchema: z.ZodReadonly<z.ZodObject<{
|
|
40
24
|
kind: z.ZodEnum<{
|
|
41
25
|
terminal: "terminal";
|
|
42
26
|
"contract-missing": "contract-missing";
|
|
43
27
|
}>;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
export declare const bindRefusalSchema: z.ZodObject<{
|
|
28
|
+
}, z.core.$strict>>;
|
|
29
|
+
export declare const bindRefusalSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
47
30
|
kind: z.ZodEnum<{
|
|
48
|
-
"
|
|
49
|
-
"target-contract-terminal": "target-contract-terminal";
|
|
50
|
-
"target-contract-self": "target-contract-self";
|
|
31
|
+
"unknown-prerequisite": "unknown-prerequisite";
|
|
51
32
|
"contract-exists": "contract-exists";
|
|
52
33
|
"invalid-after": "invalid-after";
|
|
53
|
-
"unknown-prerequisite": "unknown-prerequisite";
|
|
54
34
|
}>;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
35
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
36
|
+
kind: z.ZodEnum<{
|
|
37
|
+
"target-contract-missing": "target-contract-missing";
|
|
38
|
+
"target-contract-terminal": "target-contract-terminal";
|
|
39
|
+
}>;
|
|
40
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
41
|
+
}, z.core.$strict>>]>;
|
|
42
|
+
export declare const amendRefusalSchema: z.ZodReadonly<z.ZodObject<{
|
|
58
43
|
kind: z.ZodEnum<{
|
|
59
44
|
terminal: "terminal";
|
|
60
45
|
"contract-missing": "contract-missing";
|
|
61
|
-
"unknown-prerequisite": "unknown-prerequisite";
|
|
62
46
|
"terms-moved": "terms-moved";
|
|
47
|
+
"unknown-prerequisite": "unknown-prerequisite";
|
|
63
48
|
"cyclic-prerequisite": "cyclic-prerequisite";
|
|
64
49
|
}>;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
export declare const deliverRefusalSchema: z.ZodObject<{
|
|
50
|
+
}, z.core.$strict>>;
|
|
51
|
+
export declare const deliverRefusalSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
68
52
|
kind: z.ZodEnum<{
|
|
69
53
|
terminal: "terminal";
|
|
70
54
|
"contract-missing": "contract-missing";
|
|
55
|
+
}>;
|
|
56
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
57
|
+
kind: z.ZodEnum<{
|
|
71
58
|
"target-contract-missing": "target-contract-missing";
|
|
72
59
|
"target-contract-terminal": "target-contract-terminal";
|
|
73
|
-
"target-contract-self": "target-contract-self";
|
|
74
|
-
"document-moved": "document-moved";
|
|
75
60
|
}>;
|
|
76
|
-
|
|
77
|
-
}, z.core.$strict>;
|
|
78
|
-
export declare const verificationDeclarationRefusalSchema: z.ZodObject<{
|
|
61
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
62
|
+
}, z.core.$strict>>]>;
|
|
63
|
+
export declare const verificationDeclarationRefusalSchema: z.ZodReadonly<z.ZodObject<{
|
|
79
64
|
kind: z.ZodLiteral<"verification-declaration-invalid">;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
export declare const candidateContentChangeSchema: z.ZodObject<{
|
|
83
|
-
kind: z.ZodLiteral<"candidate-content-changed">;
|
|
84
|
-
target: z.ZodOptional<z.ZodString>;
|
|
85
|
-
previousChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
86
|
-
currentChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
87
|
-
}, z.core.$strict>;
|
|
88
|
-
export declare const gateCurrentSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
89
|
-
kind: z.ZodLiteral<"missing">;
|
|
90
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
91
|
-
kind: z.ZodLiteral<"attested">;
|
|
92
|
-
verdict: z.ZodEnum<{
|
|
93
|
-
satisfied: "satisfied";
|
|
94
|
-
unsatisfied: "unsatisfied";
|
|
95
|
-
}>;
|
|
96
|
-
at: z.ZodString;
|
|
97
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
98
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
99
|
-
kind: z.ZodLiteral<"stale">;
|
|
100
|
-
priorVerdict: z.ZodEnum<{
|
|
101
|
-
satisfied: "satisfied";
|
|
102
|
-
unsatisfied: "unsatisfied";
|
|
103
|
-
}>;
|
|
104
|
-
reason: z.ZodOptional<z.ZodObject<{
|
|
105
|
-
kind: z.ZodLiteral<"candidate-content-changed">;
|
|
106
|
-
target: z.ZodOptional<z.ZodString>;
|
|
107
|
-
previousChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
108
|
-
currentChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
109
|
-
}, z.core.$strict>>;
|
|
110
|
-
}, z.core.$strict>]>;
|
|
111
|
-
export declare const requirementIdSchema: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
112
|
-
export declare const requirementReportSchema: z.ZodObject<{
|
|
113
|
-
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
114
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
115
|
-
kind: z.ZodLiteral<"missing">;
|
|
116
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
117
|
-
kind: z.ZodLiteral<"attested">;
|
|
118
|
-
verdict: z.ZodEnum<{
|
|
119
|
-
satisfied: "satisfied";
|
|
120
|
-
unsatisfied: "unsatisfied";
|
|
121
|
-
}>;
|
|
122
|
-
at: z.ZodString;
|
|
123
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
124
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
125
|
-
kind: z.ZodLiteral<"stale">;
|
|
126
|
-
priorVerdict: z.ZodEnum<{
|
|
127
|
-
satisfied: "satisfied";
|
|
128
|
-
unsatisfied: "unsatisfied";
|
|
129
|
-
}>;
|
|
130
|
-
reason: z.ZodOptional<z.ZodObject<{
|
|
131
|
-
kind: z.ZodLiteral<"candidate-content-changed">;
|
|
132
|
-
target: z.ZodOptional<z.ZodString>;
|
|
133
|
-
previousChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
134
|
-
currentChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
135
|
-
}, z.core.$strict>>;
|
|
136
|
-
}, z.core.$strict>]>;
|
|
137
|
-
}, z.core.$strict>;
|
|
138
|
-
export declare const gateReportSchema: z.ZodObject<{
|
|
139
|
-
gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
140
|
-
requirements: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
141
|
-
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
142
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
143
|
-
kind: z.ZodLiteral<"missing">;
|
|
144
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
145
|
-
kind: z.ZodLiteral<"attested">;
|
|
146
|
-
verdict: z.ZodEnum<{
|
|
147
|
-
satisfied: "satisfied";
|
|
148
|
-
unsatisfied: "unsatisfied";
|
|
149
|
-
}>;
|
|
150
|
-
at: z.ZodString;
|
|
151
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
152
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
153
|
-
kind: z.ZodLiteral<"stale">;
|
|
154
|
-
priorVerdict: z.ZodEnum<{
|
|
155
|
-
satisfied: "satisfied";
|
|
156
|
-
unsatisfied: "unsatisfied";
|
|
157
|
-
}>;
|
|
158
|
-
reason: z.ZodOptional<z.ZodObject<{
|
|
159
|
-
kind: z.ZodLiteral<"candidate-content-changed">;
|
|
160
|
-
target: z.ZodOptional<z.ZodString>;
|
|
161
|
-
previousChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
162
|
-
currentChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
163
|
-
}, z.core.$strict>>;
|
|
164
|
-
}, z.core.$strict>]>;
|
|
165
|
-
}, z.core.$strict>>>;
|
|
166
|
-
satisfied: z.ZodBoolean;
|
|
167
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
168
|
-
kind: z.ZodLiteral<"missing">;
|
|
169
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
170
|
-
kind: z.ZodLiteral<"attested">;
|
|
171
|
-
verdict: z.ZodEnum<{
|
|
172
|
-
satisfied: "satisfied";
|
|
173
|
-
unsatisfied: "unsatisfied";
|
|
174
|
-
}>;
|
|
175
|
-
at: z.ZodString;
|
|
176
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
177
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
178
|
-
kind: z.ZodLiteral<"stale">;
|
|
179
|
-
priorVerdict: z.ZodEnum<{
|
|
180
|
-
satisfied: "satisfied";
|
|
181
|
-
unsatisfied: "unsatisfied";
|
|
182
|
-
}>;
|
|
183
|
-
reason: z.ZodOptional<z.ZodObject<{
|
|
184
|
-
kind: z.ZodLiteral<"candidate-content-changed">;
|
|
185
|
-
target: z.ZodOptional<z.ZodString>;
|
|
186
|
-
previousChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
187
|
-
currentChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
188
|
-
}, z.core.$strict>>;
|
|
189
|
-
}, z.core.$strict>]>;
|
|
190
|
-
}, z.core.$strict>;
|
|
191
|
-
export declare const verifyRefusalSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
65
|
+
}, z.core.$strict>>;
|
|
66
|
+
export declare const verifyRefusalSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
192
67
|
kind: z.ZodLiteral<"verification-not-selected">;
|
|
193
|
-
|
|
194
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
68
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
195
69
|
kind: z.ZodLiteral<"verification-index-out-of-range">;
|
|
196
|
-
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
197
|
-
index: z.ZodNumber;
|
|
198
70
|
total: z.ZodNumber;
|
|
199
|
-
}, z.core.$strict
|
|
200
|
-
export declare const placementRefusalSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
71
|
+
}, z.core.$strict>>]>;
|
|
72
|
+
export declare const placementRefusalSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
201
73
|
kind: z.ZodEnum<{
|
|
202
74
|
"target-contract-missing": "target-contract-missing";
|
|
203
75
|
"target-contract-terminal": "target-contract-terminal";
|
|
204
|
-
"target-contract-self": "target-contract-self";
|
|
205
76
|
}>;
|
|
206
|
-
|
|
207
|
-
}, z.core.$strict
|
|
77
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
78
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
208
79
|
kind: z.ZodLiteral<"target-workspace-unavailable">;
|
|
209
80
|
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
210
81
|
reason: z.ZodEnum<{
|
|
@@ -216,96 +87,86 @@ export declare const placementRefusalSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
216
87
|
uncommitted: "uncommitted";
|
|
217
88
|
operation: "operation";
|
|
218
89
|
}>;
|
|
219
|
-
}, z.core.$strict
|
|
90
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
220
91
|
kind: z.ZodEnum<{
|
|
221
92
|
terminal: "terminal";
|
|
222
93
|
"contract-missing": "contract-missing";
|
|
223
94
|
"delivery-missing": "delivery-missing";
|
|
224
95
|
}>;
|
|
225
|
-
|
|
226
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
96
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
227
97
|
kind: z.ZodLiteral<"gates-unsatisfied">;
|
|
228
|
-
|
|
229
|
-
unmet: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
98
|
+
unmet: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
230
99
|
gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
231
|
-
requirements: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
100
|
+
requirements: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
232
101
|
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
233
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
102
|
+
current: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
234
103
|
kind: z.ZodLiteral<"missing">;
|
|
235
|
-
}, z.core.$strict
|
|
104
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
236
105
|
kind: z.ZodLiteral<"attested">;
|
|
237
106
|
verdict: z.ZodEnum<{
|
|
238
107
|
satisfied: "satisfied";
|
|
239
108
|
unsatisfied: "unsatisfied";
|
|
240
109
|
}>;
|
|
241
110
|
at: z.ZodString;
|
|
242
|
-
summary: z.
|
|
243
|
-
}, z.core.$strict
|
|
111
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
112
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
244
113
|
kind: z.ZodLiteral<"stale">;
|
|
245
114
|
priorVerdict: z.ZodEnum<{
|
|
246
115
|
satisfied: "satisfied";
|
|
247
116
|
unsatisfied: "unsatisfied";
|
|
248
117
|
}>;
|
|
249
|
-
reason: z.
|
|
118
|
+
reason: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
250
119
|
kind: z.ZodLiteral<"candidate-content-changed">;
|
|
251
|
-
target: z.
|
|
120
|
+
target: z.ZodExactOptional<z.ZodString>;
|
|
252
121
|
previousChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
253
122
|
currentChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
254
|
-
}, z.core.$strict
|
|
255
|
-
}, z.core.$strict
|
|
256
|
-
}, z.core.$strict
|
|
123
|
+
}, z.core.$strict>>>;
|
|
124
|
+
}, z.core.$strict>>]>;
|
|
125
|
+
}, z.core.$strict>>>>;
|
|
257
126
|
satisfied: z.ZodBoolean;
|
|
258
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
127
|
+
current: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
259
128
|
kind: z.ZodLiteral<"missing">;
|
|
260
|
-
}, z.core.$strict
|
|
129
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
261
130
|
kind: z.ZodLiteral<"attested">;
|
|
262
131
|
verdict: z.ZodEnum<{
|
|
263
132
|
satisfied: "satisfied";
|
|
264
133
|
unsatisfied: "unsatisfied";
|
|
265
134
|
}>;
|
|
266
135
|
at: z.ZodString;
|
|
267
|
-
summary: z.
|
|
268
|
-
}, z.core.$strict
|
|
136
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
137
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
269
138
|
kind: z.ZodLiteral<"stale">;
|
|
270
139
|
priorVerdict: z.ZodEnum<{
|
|
271
140
|
satisfied: "satisfied";
|
|
272
141
|
unsatisfied: "unsatisfied";
|
|
273
142
|
}>;
|
|
274
|
-
reason: z.
|
|
143
|
+
reason: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
275
144
|
kind: z.ZodLiteral<"candidate-content-changed">;
|
|
276
|
-
target: z.
|
|
145
|
+
target: z.ZodExactOptional<z.ZodString>;
|
|
277
146
|
previousChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
278
147
|
currentChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
279
|
-
}, z.core.$strict
|
|
280
|
-
}, z.core.$strict
|
|
281
|
-
}, z.core.$strict
|
|
282
|
-
|
|
283
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
148
|
+
}, z.core.$strict>>>;
|
|
149
|
+
}, z.core.$strict>>]>;
|
|
150
|
+
}, z.core.$strict>>>>;
|
|
151
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
284
152
|
kind: z.ZodLiteral<"prerequisites-unsatisfied">;
|
|
285
|
-
|
|
286
|
-
unmet: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
153
|
+
unmet: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
287
154
|
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
288
155
|
state: z.ZodEnum<{
|
|
289
156
|
active: "active";
|
|
290
157
|
abandoned: "abandoned";
|
|
291
158
|
missing: "missing";
|
|
292
159
|
}>;
|
|
293
|
-
}, z.core.$strict
|
|
294
|
-
}, z.core.$strict
|
|
295
|
-
export declare const deliverConflictRefusalSchema: z.ZodObject<{
|
|
160
|
+
}, z.core.$strict>>>>;
|
|
161
|
+
}, z.core.$strict>>]>;
|
|
162
|
+
export declare const deliverConflictRefusalSchema: z.ZodReadonly<z.ZodObject<{
|
|
296
163
|
kind: z.ZodLiteral<"integration-failed">;
|
|
297
|
-
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
298
164
|
reason: z.ZodLiteral<"conflict">;
|
|
299
|
-
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<SnapshotId, string>>;
|
|
165
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
300
166
|
conflictPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
301
|
-
|
|
302
|
-
materialize: z.ZodLiteral<"deliver --materialize-conflict --include-dirty">;
|
|
303
|
-
deliver: z.ZodLiteral<"deliver --include-dirty">;
|
|
304
|
-
staging: z.ZodLiteral<"not-required">;
|
|
305
|
-
}, z.core.$strict>;
|
|
306
|
-
}, z.core.$strict>;
|
|
167
|
+
}, z.core.$strict>>;
|
|
307
168
|
export type DeliverConflictRefusal = z.infer<typeof deliverConflictRefusalSchema>;
|
|
308
|
-
export declare const deliveryPreparationRefusalSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
169
|
+
export declare const deliveryPreparationRefusalSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
309
170
|
kind: z.ZodLiteral<"target-workspace-unavailable">;
|
|
310
171
|
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
311
172
|
reason: z.ZodEnum<{
|
|
@@ -317,110 +178,73 @@ export declare const deliveryPreparationRefusalSchema: z.ZodUnion<readonly [z.Zo
|
|
|
317
178
|
uncommitted: "uncommitted";
|
|
318
179
|
operation: "operation";
|
|
319
180
|
}>;
|
|
320
|
-
}, z.core.$strict
|
|
181
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
321
182
|
kind: z.ZodLiteral<"target-missing">;
|
|
322
|
-
|
|
323
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
183
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
324
184
|
kind: z.ZodLiteral<"worktree-missing">;
|
|
325
|
-
|
|
326
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
185
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
327
186
|
kind: z.ZodLiteral<"dirty-workspace">;
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
untracked: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
332
|
-
submodules: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
333
|
-
shortStat: z.ZodObject<{
|
|
334
|
-
filesChanged: z.ZodNumber;
|
|
335
|
-
insertions: z.ZodNumber;
|
|
336
|
-
deletions: z.ZodNumber;
|
|
337
|
-
}, z.core.$strict>;
|
|
338
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
339
|
-
kind: z.ZodLiteral<"unmerged-paths">;
|
|
340
|
-
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
341
|
-
paths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
342
|
-
}, z.core.$strict>, z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
187
|
+
paths: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
188
|
+
submodules: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
189
|
+
}, z.core.$strict>>, z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
343
190
|
kind: z.ZodLiteral<"integration-failed">;
|
|
344
|
-
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
345
191
|
reason: z.ZodEnum<{
|
|
346
192
|
conflict: "conflict";
|
|
347
193
|
"not-based-on-target": "not-based-on-target";
|
|
348
194
|
"unrelated-histories": "unrelated-histories";
|
|
349
195
|
}>;
|
|
350
|
-
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<SnapshotId, string>>;
|
|
351
|
-
conflictPaths: z.
|
|
352
|
-
}, z.core.$strict
|
|
353
|
-
kind: "integration-failed";
|
|
354
|
-
contractId: ContractId;
|
|
355
|
-
reason: "conflict" | "not-based-on-target" | "unrelated-histories";
|
|
356
|
-
targetHead: SnapshotId;
|
|
357
|
-
} & {
|
|
358
|
-
conflictPaths?: readonly string[];
|
|
359
|
-
}, {
|
|
360
|
-
kind: "integration-failed";
|
|
361
|
-
contractId: ContractId;
|
|
362
|
-
reason: "conflict" | "not-based-on-target" | "unrelated-histories";
|
|
363
|
-
targetHead: SnapshotId;
|
|
364
|
-
conflictPaths?: readonly string[] | undefined;
|
|
365
|
-
}>>, z.ZodObject<{
|
|
196
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
197
|
+
conflictPaths: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
198
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
366
199
|
kind: z.ZodLiteral<"integration-unsupported">;
|
|
367
|
-
|
|
368
|
-
requiredGit: z.ZodLiteral<"2.38">;
|
|
369
|
-
}, z.core.$strict>]>, z.ZodObject<{
|
|
200
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
370
201
|
kind: z.ZodLiteral<"merge-state-present">;
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
kind: z.ZodLiteral<"worktree">;
|
|
374
|
-
path: z.ZodString;
|
|
375
|
-
}, z.core.$strict>;
|
|
376
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
377
|
-
kind: z.ZodLiteral<"checkout-not-followable">;
|
|
378
|
-
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
379
|
-
target: z.ZodString;
|
|
380
|
-
path: z.ZodString;
|
|
381
|
-
reason: z.ZodLiteral<"untracked">;
|
|
382
|
-
paths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
383
|
-
}, z.core.$strict>]>;
|
|
202
|
+
worktreePath: z.ZodString;
|
|
203
|
+
}, z.core.$strict>>]>;
|
|
384
204
|
export type DeliveryPreparationRefusal = z.infer<typeof deliveryPreparationRefusalSchema>;
|
|
385
|
-
|
|
205
|
+
/** Preparation that can actually reach a delivery commit, without deliver materialization. */
|
|
206
|
+
export type MechanicalPreparationRefusal = Exclude<DeliveryPreparationRefusal, {
|
|
207
|
+
kind: "merge-state-present";
|
|
208
|
+
}>;
|
|
209
|
+
export declare const intentRefusalSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
386
210
|
kind: z.ZodEnum<{
|
|
387
211
|
terminal: "terminal";
|
|
388
212
|
"contract-missing": "contract-missing";
|
|
389
213
|
}>;
|
|
390
|
-
|
|
391
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
214
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
392
215
|
kind: z.ZodEnum<{
|
|
393
216
|
terminal: "terminal";
|
|
394
217
|
"contract-missing": "contract-missing";
|
|
395
|
-
"unknown-prerequisite": "unknown-prerequisite";
|
|
396
218
|
"terms-moved": "terms-moved";
|
|
219
|
+
"unknown-prerequisite": "unknown-prerequisite";
|
|
397
220
|
"cyclic-prerequisite": "cyclic-prerequisite";
|
|
398
221
|
}>;
|
|
399
|
-
|
|
400
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
222
|
+
}, z.core.$strict>>, z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
401
223
|
kind: z.ZodEnum<{
|
|
402
|
-
"
|
|
403
|
-
"target-contract-terminal": "target-contract-terminal";
|
|
404
|
-
"target-contract-self": "target-contract-self";
|
|
224
|
+
"unknown-prerequisite": "unknown-prerequisite";
|
|
405
225
|
"contract-exists": "contract-exists";
|
|
406
226
|
"invalid-after": "invalid-after";
|
|
407
|
-
"unknown-prerequisite": "unknown-prerequisite";
|
|
408
227
|
}>;
|
|
409
|
-
|
|
410
|
-
|
|
228
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
229
|
+
kind: z.ZodEnum<{
|
|
230
|
+
"target-contract-missing": "target-contract-missing";
|
|
231
|
+
"target-contract-terminal": "target-contract-terminal";
|
|
232
|
+
}>;
|
|
233
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
234
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
411
235
|
kind: z.ZodLiteral<"fork-source-moved">;
|
|
412
|
-
|
|
413
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
236
|
+
}, z.core.$strict>>, z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
414
237
|
kind: z.ZodEnum<{
|
|
415
238
|
terminal: "terminal";
|
|
416
239
|
"contract-missing": "contract-missing";
|
|
240
|
+
}>;
|
|
241
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
242
|
+
kind: z.ZodEnum<{
|
|
417
243
|
"target-contract-missing": "target-contract-missing";
|
|
418
244
|
"target-contract-terminal": "target-contract-terminal";
|
|
419
|
-
"target-contract-self": "target-contract-self";
|
|
420
|
-
"document-moved": "document-moved";
|
|
421
245
|
}>;
|
|
422
|
-
|
|
423
|
-
}, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
|
|
246
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
247
|
+
}, z.core.$strict>>]>, z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
424
248
|
kind: z.ZodLiteral<"target-workspace-unavailable">;
|
|
425
249
|
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
426
250
|
reason: z.ZodEnum<{
|
|
@@ -432,88 +256,40 @@ export declare const intentRefusalSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
432
256
|
uncommitted: "uncommitted";
|
|
433
257
|
operation: "operation";
|
|
434
258
|
}>;
|
|
435
|
-
}, z.core.$strict
|
|
259
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
436
260
|
kind: z.ZodLiteral<"target-missing">;
|
|
437
|
-
|
|
438
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
261
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
439
262
|
kind: z.ZodLiteral<"worktree-missing">;
|
|
440
|
-
|
|
441
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
263
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
442
264
|
kind: z.ZodLiteral<"dirty-workspace">;
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
untracked: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
447
|
-
submodules: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
448
|
-
shortStat: z.ZodObject<{
|
|
449
|
-
filesChanged: z.ZodNumber;
|
|
450
|
-
insertions: z.ZodNumber;
|
|
451
|
-
deletions: z.ZodNumber;
|
|
452
|
-
}, z.core.$strict>;
|
|
453
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
454
|
-
kind: z.ZodLiteral<"unmerged-paths">;
|
|
455
|
-
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
456
|
-
paths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
457
|
-
}, z.core.$strict>, z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
265
|
+
paths: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
266
|
+
submodules: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
267
|
+
}, z.core.$strict>>, z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
458
268
|
kind: z.ZodLiteral<"integration-failed">;
|
|
459
|
-
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
460
269
|
reason: z.ZodEnum<{
|
|
461
270
|
conflict: "conflict";
|
|
462
271
|
"not-based-on-target": "not-based-on-target";
|
|
463
272
|
"unrelated-histories": "unrelated-histories";
|
|
464
273
|
}>;
|
|
465
|
-
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<SnapshotId, string>>;
|
|
466
|
-
conflictPaths: z.
|
|
467
|
-
}, z.core.$strict
|
|
468
|
-
kind: "integration-failed";
|
|
469
|
-
contractId: ContractId;
|
|
470
|
-
reason: "conflict" | "not-based-on-target" | "unrelated-histories";
|
|
471
|
-
targetHead: SnapshotId;
|
|
472
|
-
} & {
|
|
473
|
-
conflictPaths?: readonly string[];
|
|
474
|
-
}, {
|
|
475
|
-
kind: "integration-failed";
|
|
476
|
-
contractId: ContractId;
|
|
477
|
-
reason: "conflict" | "not-based-on-target" | "unrelated-histories";
|
|
478
|
-
targetHead: SnapshotId;
|
|
479
|
-
conflictPaths?: readonly string[] | undefined;
|
|
480
|
-
}>>, z.ZodObject<{
|
|
274
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
275
|
+
conflictPaths: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
276
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
481
277
|
kind: z.ZodLiteral<"integration-unsupported">;
|
|
482
|
-
|
|
483
|
-
requiredGit: z.ZodLiteral<"2.38">;
|
|
484
|
-
}, z.core.$strict>]>, z.ZodObject<{
|
|
278
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
485
279
|
kind: z.ZodLiteral<"merge-state-present">;
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
kind: z.ZodLiteral<"worktree">;
|
|
489
|
-
path: z.ZodString;
|
|
490
|
-
}, z.core.$strict>;
|
|
491
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
492
|
-
kind: z.ZodLiteral<"checkout-not-followable">;
|
|
493
|
-
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
494
|
-
target: z.ZodString;
|
|
495
|
-
path: z.ZodString;
|
|
496
|
-
reason: z.ZodLiteral<"untracked">;
|
|
497
|
-
paths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
498
|
-
}, z.core.$strict>]>, z.ZodObject<{
|
|
280
|
+
worktreePath: z.ZodString;
|
|
281
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
499
282
|
kind: z.ZodLiteral<"integration-failed">;
|
|
500
|
-
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
501
283
|
reason: z.ZodLiteral<"conflict">;
|
|
502
|
-
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<SnapshotId, string>>;
|
|
284
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
503
285
|
conflictPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
504
|
-
|
|
505
|
-
materialize: z.ZodLiteral<"deliver --materialize-conflict --include-dirty">;
|
|
506
|
-
deliver: z.ZodLiteral<"deliver --include-dirty">;
|
|
507
|
-
staging: z.ZodLiteral<"not-required">;
|
|
508
|
-
}, z.core.$strict>;
|
|
509
|
-
}, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
|
|
286
|
+
}, z.core.$strict>>, z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
510
287
|
kind: z.ZodEnum<{
|
|
511
288
|
"target-contract-missing": "target-contract-missing";
|
|
512
289
|
"target-contract-terminal": "target-contract-terminal";
|
|
513
|
-
"target-contract-self": "target-contract-self";
|
|
514
290
|
}>;
|
|
515
|
-
|
|
516
|
-
}, z.core.$strict
|
|
291
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
292
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
517
293
|
kind: z.ZodLiteral<"target-workspace-unavailable">;
|
|
518
294
|
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
519
295
|
reason: z.ZodEnum<{
|
|
@@ -525,88 +301,84 @@ export declare const intentRefusalSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
525
301
|
uncommitted: "uncommitted";
|
|
526
302
|
operation: "operation";
|
|
527
303
|
}>;
|
|
528
|
-
}, z.core.$strict
|
|
304
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
529
305
|
kind: z.ZodEnum<{
|
|
530
306
|
terminal: "terminal";
|
|
531
307
|
"contract-missing": "contract-missing";
|
|
532
308
|
"delivery-missing": "delivery-missing";
|
|
533
309
|
}>;
|
|
534
|
-
|
|
535
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
310
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
536
311
|
kind: z.ZodLiteral<"gates-unsatisfied">;
|
|
537
|
-
|
|
538
|
-
unmet: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
312
|
+
unmet: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
539
313
|
gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
540
|
-
requirements: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
314
|
+
requirements: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
541
315
|
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
542
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
316
|
+
current: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
543
317
|
kind: z.ZodLiteral<"missing">;
|
|
544
|
-
}, z.core.$strict
|
|
318
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
545
319
|
kind: z.ZodLiteral<"attested">;
|
|
546
320
|
verdict: z.ZodEnum<{
|
|
547
321
|
satisfied: "satisfied";
|
|
548
322
|
unsatisfied: "unsatisfied";
|
|
549
323
|
}>;
|
|
550
324
|
at: z.ZodString;
|
|
551
|
-
summary: z.
|
|
552
|
-
}, z.core.$strict
|
|
325
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
326
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
553
327
|
kind: z.ZodLiteral<"stale">;
|
|
554
328
|
priorVerdict: z.ZodEnum<{
|
|
555
329
|
satisfied: "satisfied";
|
|
556
330
|
unsatisfied: "unsatisfied";
|
|
557
331
|
}>;
|
|
558
|
-
reason: z.
|
|
332
|
+
reason: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
559
333
|
kind: z.ZodLiteral<"candidate-content-changed">;
|
|
560
|
-
target: z.
|
|
334
|
+
target: z.ZodExactOptional<z.ZodString>;
|
|
561
335
|
previousChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
562
336
|
currentChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
563
|
-
}, z.core.$strict
|
|
564
|
-
}, z.core.$strict
|
|
565
|
-
}, z.core.$strict
|
|
337
|
+
}, z.core.$strict>>>;
|
|
338
|
+
}, z.core.$strict>>]>;
|
|
339
|
+
}, z.core.$strict>>>>;
|
|
566
340
|
satisfied: z.ZodBoolean;
|
|
567
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
341
|
+
current: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
568
342
|
kind: z.ZodLiteral<"missing">;
|
|
569
|
-
}, z.core.$strict
|
|
343
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
570
344
|
kind: z.ZodLiteral<"attested">;
|
|
571
345
|
verdict: z.ZodEnum<{
|
|
572
346
|
satisfied: "satisfied";
|
|
573
347
|
unsatisfied: "unsatisfied";
|
|
574
348
|
}>;
|
|
575
349
|
at: z.ZodString;
|
|
576
|
-
summary: z.
|
|
577
|
-
}, z.core.$strict
|
|
350
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
351
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
578
352
|
kind: z.ZodLiteral<"stale">;
|
|
579
353
|
priorVerdict: z.ZodEnum<{
|
|
580
354
|
satisfied: "satisfied";
|
|
581
355
|
unsatisfied: "unsatisfied";
|
|
582
356
|
}>;
|
|
583
|
-
reason: z.
|
|
357
|
+
reason: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
584
358
|
kind: z.ZodLiteral<"candidate-content-changed">;
|
|
585
|
-
target: z.
|
|
359
|
+
target: z.ZodExactOptional<z.ZodString>;
|
|
586
360
|
previousChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
587
361
|
currentChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
588
|
-
}, z.core.$strict
|
|
589
|
-
}, z.core.$strict
|
|
590
|
-
}, z.core.$strict
|
|
591
|
-
|
|
592
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
362
|
+
}, z.core.$strict>>>;
|
|
363
|
+
}, z.core.$strict>>]>;
|
|
364
|
+
}, z.core.$strict>>>>;
|
|
365
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
593
366
|
kind: z.ZodLiteral<"prerequisites-unsatisfied">;
|
|
594
|
-
|
|
595
|
-
unmet: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
367
|
+
unmet: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
596
368
|
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
597
369
|
state: z.ZodEnum<{
|
|
598
370
|
active: "active";
|
|
599
371
|
abandoned: "abandoned";
|
|
600
372
|
missing: "missing";
|
|
601
373
|
}>;
|
|
602
|
-
}, z.core.$strict
|
|
603
|
-
}, z.core.$strict
|
|
374
|
+
}, z.core.$strict>>>>;
|
|
375
|
+
}, z.core.$strict>>]>, z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
604
376
|
kind: z.ZodEnum<{
|
|
605
|
-
"target-missing": "target-missing";
|
|
606
377
|
"unborn-head": "unborn-head";
|
|
378
|
+
"target-missing": "target-missing";
|
|
607
379
|
"invalid-target": "invalid-target";
|
|
608
380
|
}>;
|
|
609
|
-
}, z.core.$strict
|
|
381
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
610
382
|
kind: z.ZodLiteral<"target-workspace-unavailable">;
|
|
611
383
|
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
612
384
|
reason: z.ZodEnum<{
|
|
@@ -618,18 +390,14 @@ export declare const intentRefusalSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
618
390
|
uncommitted: "uncommitted";
|
|
619
391
|
operation: "operation";
|
|
620
392
|
}>;
|
|
621
|
-
}, z.core.$strict
|
|
393
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
622
394
|
kind: z.ZodLiteral<"verification-declaration-invalid">;
|
|
623
|
-
|
|
624
|
-
}, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
|
|
395
|
+
}, z.core.$strict>>, z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
625
396
|
kind: z.ZodLiteral<"verification-not-selected">;
|
|
626
|
-
|
|
627
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
397
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
628
398
|
kind: z.ZodLiteral<"verification-index-out-of-range">;
|
|
629
|
-
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
630
|
-
index: z.ZodNumber;
|
|
631
399
|
total: z.ZodNumber;
|
|
632
|
-
}, z.core.$strict
|
|
400
|
+
}, z.core.$strict>>]>]>;
|
|
633
401
|
type IntentRefusal = z.infer<typeof intentRefusalSchema>;
|
|
634
402
|
export type IntentRetry = ProtocolTerminal;
|
|
635
403
|
export type IntentOutcome<Value, Refusal = IntentRefusal> = ProtocolIntentOutcome<Value, Refusal>;
|
|
@@ -659,87 +427,52 @@ export type DocumentDerivation = Readonly<{
|
|
|
659
427
|
title: string;
|
|
660
428
|
verification: VerificationDeclarationPreparation;
|
|
661
429
|
}>;
|
|
662
|
-
export declare const verificationStopSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
663
|
-
refusal: z.
|
|
430
|
+
export declare const verificationStopSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
431
|
+
refusal: z.ZodReadonly<z.ZodObject<{
|
|
664
432
|
kind: z.ZodEnum<{
|
|
665
433
|
terminal: "terminal";
|
|
666
434
|
"contract-missing": "contract-missing";
|
|
667
435
|
}>;
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
contractId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
672
|
-
}, z.core.$strict>]>;
|
|
673
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
674
|
-
retry: z.ZodUnion<readonly [z.ZodObject<{
|
|
436
|
+
}, z.core.$strict>>;
|
|
437
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
438
|
+
retry: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
675
439
|
kind: z.ZodEnum<{
|
|
676
|
-
collision: "collision";
|
|
677
440
|
exhausted: "exhausted";
|
|
441
|
+
collision: "collision";
|
|
678
442
|
}>;
|
|
679
|
-
}, z.core.$strict
|
|
443
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
680
444
|
kind: z.ZodLiteral<"publication-failed">;
|
|
681
445
|
diagnostic: z.ZodString;
|
|
682
|
-
}, z.core.$strict
|
|
683
|
-
}, z.core.$strict
|
|
684
|
-
stdout: z.ZodOptional<z.ZodString>;
|
|
685
|
-
stderr: z.ZodOptional<z.ZodString>;
|
|
686
|
-
truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
446
|
+
}, z.core.$strict>>]>;
|
|
447
|
+
}, z.core.$strict>>, z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
687
448
|
failure: z.ZodEnum<{
|
|
688
449
|
cancelled: "cancelled";
|
|
689
450
|
"unknown-exit": "unknown-exit";
|
|
690
451
|
}>;
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
stderr: z.ZodOptional<z.ZodString>;
|
|
694
|
-
truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
452
|
+
diagnostic: z.ZodExactOptional<z.ZodString>;
|
|
453
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
695
454
|
failure: z.ZodEnum<{
|
|
696
455
|
"spawn-error": "spawn-error";
|
|
697
456
|
"candidate-unavailable": "candidate-unavailable";
|
|
698
457
|
}>;
|
|
699
458
|
diagnostic: z.ZodString;
|
|
700
|
-
}, z.core.$strict
|
|
701
|
-
stdout: z.ZodOptional<z.ZodString>;
|
|
702
|
-
stderr: z.ZodOptional<z.ZodString>;
|
|
703
|
-
truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
459
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
704
460
|
failure: z.ZodLiteral<"environment-failure">;
|
|
705
461
|
diagnostic: z.ZodString;
|
|
706
|
-
}, z.core.$strict
|
|
707
|
-
stdout: z.ZodOptional<z.ZodString>;
|
|
708
|
-
stderr: z.ZodOptional<z.ZodString>;
|
|
709
|
-
truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
462
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
710
463
|
failure: z.ZodLiteral<"environment-failure">;
|
|
711
464
|
name: z.ZodString;
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
code: z.ZodNumber;
|
|
715
|
-
stdout: z.ZodString;
|
|
716
|
-
stderr: z.ZodString;
|
|
717
|
-
truncated: z.ZodBoolean;
|
|
718
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
719
|
-
stdout: z.ZodOptional<z.ZodString>;
|
|
720
|
-
stderr: z.ZodOptional<z.ZodString>;
|
|
721
|
-
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
722
|
-
kind: z.ZodLiteral<"timeout">;
|
|
723
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
724
|
-
stdout: z.ZodOptional<z.ZodString>;
|
|
725
|
-
stderr: z.ZodOptional<z.ZodString>;
|
|
726
|
-
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
727
|
-
kind: z.ZodLiteral<"unknown-exit">;
|
|
728
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
729
|
-
kind: z.ZodLiteral<"spawn-error">;
|
|
730
|
-
diagnostic: z.ZodString;
|
|
731
|
-
}, z.core.$strict>]>;
|
|
732
|
-
}, z.core.$strict>]>]>;
|
|
465
|
+
diagnostic: z.ZodString;
|
|
466
|
+
}, z.core.$strict>>]>]>;
|
|
733
467
|
export type VerificationStop = z.infer<typeof verificationStopSchema>;
|
|
734
|
-
export declare const placementStopSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
735
|
-
refusal: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
468
|
+
export declare const placementStopSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
469
|
+
refusal: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
736
470
|
kind: z.ZodEnum<{
|
|
737
471
|
"target-contract-missing": "target-contract-missing";
|
|
738
472
|
"target-contract-terminal": "target-contract-terminal";
|
|
739
|
-
"target-contract-self": "target-contract-self";
|
|
740
473
|
}>;
|
|
741
|
-
|
|
742
|
-
}, z.core.$strict
|
|
474
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
475
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
743
476
|
kind: z.ZodLiteral<"target-workspace-unavailable">;
|
|
744
477
|
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
745
478
|
reason: z.ZodEnum<{
|
|
@@ -751,148 +484,122 @@ export declare const placementStopSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
751
484
|
uncommitted: "uncommitted";
|
|
752
485
|
operation: "operation";
|
|
753
486
|
}>;
|
|
754
|
-
}, z.core.$strict
|
|
487
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
755
488
|
kind: z.ZodEnum<{
|
|
756
489
|
terminal: "terminal";
|
|
757
490
|
"contract-missing": "contract-missing";
|
|
758
491
|
"delivery-missing": "delivery-missing";
|
|
759
492
|
}>;
|
|
760
|
-
|
|
761
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
493
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
762
494
|
kind: z.ZodLiteral<"gates-unsatisfied">;
|
|
763
|
-
|
|
764
|
-
unmet: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
495
|
+
unmet: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
765
496
|
gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
766
|
-
requirements: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
497
|
+
requirements: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
767
498
|
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
768
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
499
|
+
current: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
769
500
|
kind: z.ZodLiteral<"missing">;
|
|
770
|
-
}, z.core.$strict
|
|
501
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
771
502
|
kind: z.ZodLiteral<"attested">;
|
|
772
503
|
verdict: z.ZodEnum<{
|
|
773
504
|
satisfied: "satisfied";
|
|
774
505
|
unsatisfied: "unsatisfied";
|
|
775
506
|
}>;
|
|
776
507
|
at: z.ZodString;
|
|
777
|
-
summary: z.
|
|
778
|
-
}, z.core.$strict
|
|
508
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
509
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
779
510
|
kind: z.ZodLiteral<"stale">;
|
|
780
511
|
priorVerdict: z.ZodEnum<{
|
|
781
512
|
satisfied: "satisfied";
|
|
782
513
|
unsatisfied: "unsatisfied";
|
|
783
514
|
}>;
|
|
784
|
-
reason: z.
|
|
515
|
+
reason: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
785
516
|
kind: z.ZodLiteral<"candidate-content-changed">;
|
|
786
|
-
target: z.
|
|
517
|
+
target: z.ZodExactOptional<z.ZodString>;
|
|
787
518
|
previousChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
788
519
|
currentChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
789
|
-
}, z.core.$strict
|
|
790
|
-
}, z.core.$strict
|
|
791
|
-
}, z.core.$strict
|
|
520
|
+
}, z.core.$strict>>>;
|
|
521
|
+
}, z.core.$strict>>]>;
|
|
522
|
+
}, z.core.$strict>>>>;
|
|
792
523
|
satisfied: z.ZodBoolean;
|
|
793
|
-
current: z.ZodUnion<readonly [z.ZodObject<{
|
|
524
|
+
current: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
794
525
|
kind: z.ZodLiteral<"missing">;
|
|
795
|
-
}, z.core.$strict
|
|
526
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
796
527
|
kind: z.ZodLiteral<"attested">;
|
|
797
528
|
verdict: z.ZodEnum<{
|
|
798
529
|
satisfied: "satisfied";
|
|
799
530
|
unsatisfied: "unsatisfied";
|
|
800
531
|
}>;
|
|
801
532
|
at: z.ZodString;
|
|
802
|
-
summary: z.
|
|
803
|
-
}, z.core.$strict
|
|
533
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
534
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
804
535
|
kind: z.ZodLiteral<"stale">;
|
|
805
536
|
priorVerdict: z.ZodEnum<{
|
|
806
537
|
satisfied: "satisfied";
|
|
807
538
|
unsatisfied: "unsatisfied";
|
|
808
539
|
}>;
|
|
809
|
-
reason: z.
|
|
540
|
+
reason: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
810
541
|
kind: z.ZodLiteral<"candidate-content-changed">;
|
|
811
|
-
target: z.
|
|
542
|
+
target: z.ZodExactOptional<z.ZodString>;
|
|
812
543
|
previousChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
813
544
|
currentChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
|
|
814
|
-
}, z.core.$strict
|
|
815
|
-
}, z.core.$strict
|
|
816
|
-
}, z.core.$strict
|
|
817
|
-
|
|
818
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
545
|
+
}, z.core.$strict>>>;
|
|
546
|
+
}, z.core.$strict>>]>;
|
|
547
|
+
}, z.core.$strict>>>>;
|
|
548
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
819
549
|
kind: z.ZodLiteral<"prerequisites-unsatisfied">;
|
|
820
|
-
|
|
821
|
-
unmet: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
550
|
+
unmet: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
822
551
|
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
823
552
|
state: z.ZodEnum<{
|
|
824
553
|
active: "active";
|
|
825
554
|
abandoned: "abandoned";
|
|
826
555
|
missing: "missing";
|
|
827
556
|
}>;
|
|
828
|
-
}, z.core.$strict
|
|
829
|
-
}, z.core.$strict
|
|
557
|
+
}, z.core.$strict>>>>;
|
|
558
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
830
559
|
kind: z.ZodLiteral<"checkout-not-followable">;
|
|
831
|
-
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
832
560
|
target: z.ZodString;
|
|
833
561
|
path: z.ZodString;
|
|
834
|
-
reason: z.ZodLiteral<"untracked">;
|
|
835
562
|
paths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
836
|
-
}, z.core.$strict
|
|
563
|
+
}, z.core.$strict>>, z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
837
564
|
kind: z.ZodLiteral<"integration-failed">;
|
|
838
|
-
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
839
565
|
reason: z.ZodEnum<{
|
|
840
566
|
conflict: "conflict";
|
|
841
567
|
"not-based-on-target": "not-based-on-target";
|
|
842
568
|
"unrelated-histories": "unrelated-histories";
|
|
843
569
|
}>;
|
|
844
|
-
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<SnapshotId, string>>;
|
|
845
|
-
conflictPaths: z.
|
|
846
|
-
}, z.core.$strict
|
|
847
|
-
kind: "integration-failed";
|
|
848
|
-
contractId: ContractId;
|
|
849
|
-
reason: "conflict" | "not-based-on-target" | "unrelated-histories";
|
|
850
|
-
targetHead: SnapshotId;
|
|
851
|
-
} & {
|
|
852
|
-
conflictPaths?: readonly string[];
|
|
853
|
-
}, {
|
|
854
|
-
kind: "integration-failed";
|
|
855
|
-
contractId: ContractId;
|
|
856
|
-
reason: "conflict" | "not-based-on-target" | "unrelated-histories";
|
|
857
|
-
targetHead: SnapshotId;
|
|
858
|
-
conflictPaths?: readonly string[] | undefined;
|
|
859
|
-
}>>, z.ZodObject<{
|
|
570
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
571
|
+
conflictPaths: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
572
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
860
573
|
kind: z.ZodLiteral<"integration-unsupported">;
|
|
861
|
-
|
|
862
|
-
requiredGit: z.ZodLiteral<"2.38">;
|
|
863
|
-
}, z.core.$strict>]>, z.ZodObject<{
|
|
574
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
864
575
|
kind: z.ZodLiteral<"target-missing">;
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
retry: z.ZodUnion<readonly [z.ZodObject<{
|
|
576
|
+
}, z.core.$strict>>]>;
|
|
577
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
578
|
+
retry: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
869
579
|
kind: z.ZodEnum<{
|
|
870
|
-
collision: "collision";
|
|
871
580
|
exhausted: "exhausted";
|
|
581
|
+
collision: "collision";
|
|
872
582
|
}>;
|
|
873
|
-
}, z.core.$strict
|
|
583
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
874
584
|
kind: z.ZodLiteral<"publication-failed">;
|
|
875
585
|
diagnostic: z.ZodString;
|
|
876
|
-
}, z.core.$strict
|
|
877
|
-
}, z.core.$strict
|
|
586
|
+
}, z.core.$strict>>]>;
|
|
587
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
878
588
|
failure: z.ZodLiteral<"target-placement-failed">;
|
|
879
589
|
diagnostic: z.ZodString;
|
|
880
|
-
}, z.core.$strict
|
|
590
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
881
591
|
failure: z.ZodLiteral<"target-moved">;
|
|
882
|
-
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
883
592
|
target: z.ZodString;
|
|
884
|
-
integratedAt: z.ZodPipe<z.ZodString, z.ZodTransform<SnapshotId, string>>;
|
|
885
|
-
observed: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<SnapshotId, string>>>;
|
|
886
|
-
attempts: z.ZodNumber;
|
|
593
|
+
integratedAt: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
594
|
+
observed: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
|
|
887
595
|
observedTreeEqualsCandidate: z.ZodBoolean;
|
|
888
|
-
}, z.core.$strict
|
|
596
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
889
597
|
failure: z.ZodLiteral<"target-moved">;
|
|
890
|
-
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
891
598
|
target: z.ZodString;
|
|
892
|
-
expected: z.ZodPipe<z.ZodString, z.ZodTransform<SnapshotId, string>>;
|
|
893
|
-
observed: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<SnapshotId, string>>>;
|
|
599
|
+
expected: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
600
|
+
observed: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
|
|
894
601
|
observedTreeEqualsCandidate: z.ZodBoolean;
|
|
895
|
-
}, z.core.$strict
|
|
602
|
+
}, z.core.$strict>>]>;
|
|
896
603
|
export type PlacementStop = z.infer<typeof placementStopSchema>;
|
|
897
604
|
export type AttemptDecision<Value, Refusal = IntentRefusal> = (AcceptedAdmission & Readonly<{
|
|
898
605
|
value: Value;
|
|
@@ -945,8 +652,3 @@ export declare function documentsOperationAt(scope: RepositoryScope, channel: Gi
|
|
|
945
652
|
/** A legitimately absent Contract is `null`; the caller maps absence to its own domain answer. */
|
|
946
653
|
export declare function stateOperation(input: MutationOperationInput): Promise<ContractState | null>;
|
|
947
654
|
export declare function deliveryOperation(input: MutationOperationInput): Promise<DeliverData | null>;
|
|
948
|
-
export declare function deliveryDiffOperation(input: Readonly<{
|
|
949
|
-
scope: RepositoryScope;
|
|
950
|
-
integrationPredecessor: SnapshotId;
|
|
951
|
-
integrationSnapshot: SnapshotId;
|
|
952
|
-
}>): Promise<string | null>;
|