@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,37 +1,589 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type {
|
|
3
|
-
import type
|
|
4
|
-
import type {
|
|
5
|
-
import type
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { ChangeId, DeliverData } from "../core/facts/types.js";
|
|
3
|
+
import { type CompletionEvidence } from "../protocol/completion.js";
|
|
4
|
+
import type { DeliverLeading } from "../protocol/deliver.js";
|
|
5
|
+
import { type ContinuationReport } from "./continuation.js";
|
|
6
|
+
export declare const deliverPlacementSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
7
|
+
kind: z.ZodLiteral<"placed">;
|
|
8
|
+
target: z.ZodExactOptional<z.ZodString>;
|
|
9
|
+
predecessor: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
|
|
10
|
+
}, z.core.$strict>>, z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
11
|
+
kind: z.ZodEnum<{
|
|
12
|
+
terminal: "terminal";
|
|
13
|
+
"contract-missing": "contract-missing";
|
|
14
|
+
}>;
|
|
15
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
16
|
+
kind: z.ZodEnum<{
|
|
17
|
+
"target-contract-missing": "target-contract-missing";
|
|
18
|
+
"target-contract-terminal": "target-contract-terminal";
|
|
19
|
+
}>;
|
|
20
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
21
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
22
|
+
kind: z.ZodLiteral<"target-workspace-unavailable">;
|
|
23
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
24
|
+
reason: z.ZodEnum<{
|
|
25
|
+
missing: "missing";
|
|
26
|
+
replaced: "replaced";
|
|
27
|
+
unappointed: "unappointed";
|
|
28
|
+
association: "association";
|
|
29
|
+
attached: "attached";
|
|
30
|
+
uncommitted: "uncommitted";
|
|
31
|
+
operation: "operation";
|
|
32
|
+
}>;
|
|
33
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
34
|
+
kind: z.ZodEnum<{
|
|
35
|
+
"target-missing": "target-missing";
|
|
36
|
+
"delivery-missing": "delivery-missing";
|
|
37
|
+
}>;
|
|
38
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
39
|
+
kind: z.ZodLiteral<"prerequisites-unsatisfied">;
|
|
40
|
+
unmet: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
41
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
42
|
+
state: z.ZodEnum<{
|
|
43
|
+
active: "active";
|
|
44
|
+
abandoned: "abandoned";
|
|
45
|
+
missing: "missing";
|
|
46
|
+
}>;
|
|
47
|
+
}, z.core.$strict>>>>;
|
|
48
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
49
|
+
kind: z.ZodLiteral<"gates-unsatisfied">;
|
|
50
|
+
unmet: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
51
|
+
state: z.ZodLiteral<"missing">;
|
|
52
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
53
|
+
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
54
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
55
|
+
state: z.ZodLiteral<"unsatisfied">;
|
|
56
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
57
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
58
|
+
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
59
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
60
|
+
state: z.ZodLiteral<"stale">;
|
|
61
|
+
previousContentId: z.ZodExactOptional<z.ZodString>;
|
|
62
|
+
currentContentId: z.ZodExactOptional<z.ZodString>;
|
|
63
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
64
|
+
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
65
|
+
}, z.core.$strict>>]>>>;
|
|
66
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
67
|
+
kind: z.ZodLiteral<"checkout-not-followable">;
|
|
68
|
+
target: z.ZodString;
|
|
69
|
+
path: z.ZodString;
|
|
70
|
+
paths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
71
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
72
|
+
kind: z.ZodEnum<{
|
|
73
|
+
"not-based-on-target": "not-based-on-target";
|
|
74
|
+
"unrelated-histories": "unrelated-histories";
|
|
75
|
+
}>;
|
|
76
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
77
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
78
|
+
kind: z.ZodLiteral<"integration-conflict">;
|
|
79
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
80
|
+
conflictPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
81
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
82
|
+
kind: z.ZodLiteral<"integration-unsupported">;
|
|
83
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
84
|
+
kind: z.ZodLiteral<"retry">;
|
|
85
|
+
reason: z.ZodEnum<{
|
|
86
|
+
exhausted: "exhausted";
|
|
87
|
+
collision: "collision";
|
|
88
|
+
}>;
|
|
89
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
90
|
+
kind: z.ZodLiteral<"retry">;
|
|
91
|
+
reason: z.ZodLiteral<"publication-failed">;
|
|
92
|
+
diagnostic: z.ZodString;
|
|
93
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
94
|
+
kind: z.ZodLiteral<"failed">;
|
|
95
|
+
diagnostic: z.ZodString;
|
|
96
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
97
|
+
kind: z.ZodLiteral<"target-content-identical">;
|
|
98
|
+
target: z.ZodString;
|
|
99
|
+
expected: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
100
|
+
observed: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
101
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
102
|
+
kind: z.ZodLiteral<"target-moved">;
|
|
103
|
+
target: z.ZodString;
|
|
104
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
105
|
+
observed: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
|
|
106
|
+
}, z.core.$strict>>]>]>;
|
|
107
|
+
export declare const deliveredValueSchema: z.ZodReadonly<z.ZodObject<{
|
|
108
|
+
candidate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
109
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
110
|
+
contentId: z.ZodPipe<z.ZodString, z.ZodTransform<ChangeId, string>>;
|
|
111
|
+
admission: z.ZodExactOptional<z.ZodLiteral<"reused">>;
|
|
112
|
+
placement: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
113
|
+
kind: z.ZodLiteral<"placed">;
|
|
114
|
+
target: z.ZodExactOptional<z.ZodString>;
|
|
115
|
+
predecessor: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
|
|
116
|
+
}, z.core.$strict>>, z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
117
|
+
kind: z.ZodEnum<{
|
|
118
|
+
terminal: "terminal";
|
|
119
|
+
"contract-missing": "contract-missing";
|
|
120
|
+
}>;
|
|
121
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
122
|
+
kind: z.ZodEnum<{
|
|
123
|
+
"target-contract-missing": "target-contract-missing";
|
|
124
|
+
"target-contract-terminal": "target-contract-terminal";
|
|
125
|
+
}>;
|
|
126
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
127
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
128
|
+
kind: z.ZodLiteral<"target-workspace-unavailable">;
|
|
129
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
130
|
+
reason: z.ZodEnum<{
|
|
131
|
+
missing: "missing";
|
|
132
|
+
replaced: "replaced";
|
|
133
|
+
unappointed: "unappointed";
|
|
134
|
+
association: "association";
|
|
135
|
+
attached: "attached";
|
|
136
|
+
uncommitted: "uncommitted";
|
|
137
|
+
operation: "operation";
|
|
138
|
+
}>;
|
|
139
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
140
|
+
kind: z.ZodEnum<{
|
|
141
|
+
"target-missing": "target-missing";
|
|
142
|
+
"delivery-missing": "delivery-missing";
|
|
143
|
+
}>;
|
|
144
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
145
|
+
kind: z.ZodLiteral<"prerequisites-unsatisfied">;
|
|
146
|
+
unmet: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
147
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
148
|
+
state: z.ZodEnum<{
|
|
149
|
+
active: "active";
|
|
150
|
+
abandoned: "abandoned";
|
|
151
|
+
missing: "missing";
|
|
152
|
+
}>;
|
|
153
|
+
}, z.core.$strict>>>>;
|
|
154
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
155
|
+
kind: z.ZodLiteral<"gates-unsatisfied">;
|
|
156
|
+
unmet: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
157
|
+
state: z.ZodLiteral<"missing">;
|
|
158
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
159
|
+
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
160
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
161
|
+
state: z.ZodLiteral<"unsatisfied">;
|
|
162
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
163
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
164
|
+
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
165
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
166
|
+
state: z.ZodLiteral<"stale">;
|
|
167
|
+
previousContentId: z.ZodExactOptional<z.ZodString>;
|
|
168
|
+
currentContentId: z.ZodExactOptional<z.ZodString>;
|
|
169
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
170
|
+
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
171
|
+
}, z.core.$strict>>]>>>;
|
|
172
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
173
|
+
kind: z.ZodLiteral<"checkout-not-followable">;
|
|
174
|
+
target: z.ZodString;
|
|
175
|
+
path: z.ZodString;
|
|
176
|
+
paths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
177
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
178
|
+
kind: z.ZodEnum<{
|
|
179
|
+
"not-based-on-target": "not-based-on-target";
|
|
180
|
+
"unrelated-histories": "unrelated-histories";
|
|
181
|
+
}>;
|
|
182
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
183
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
184
|
+
kind: z.ZodLiteral<"integration-conflict">;
|
|
185
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
186
|
+
conflictPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
187
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
188
|
+
kind: z.ZodLiteral<"integration-unsupported">;
|
|
189
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
190
|
+
kind: z.ZodLiteral<"retry">;
|
|
191
|
+
reason: z.ZodEnum<{
|
|
192
|
+
exhausted: "exhausted";
|
|
193
|
+
collision: "collision";
|
|
194
|
+
}>;
|
|
195
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
196
|
+
kind: z.ZodLiteral<"retry">;
|
|
197
|
+
reason: z.ZodLiteral<"publication-failed">;
|
|
198
|
+
diagnostic: z.ZodString;
|
|
199
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
200
|
+
kind: z.ZodLiteral<"failed">;
|
|
201
|
+
diagnostic: z.ZodString;
|
|
202
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
203
|
+
kind: z.ZodLiteral<"target-content-identical">;
|
|
204
|
+
target: z.ZodString;
|
|
205
|
+
expected: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
206
|
+
observed: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
207
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
208
|
+
kind: z.ZodLiteral<"target-moved">;
|
|
209
|
+
target: z.ZodString;
|
|
210
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
211
|
+
observed: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
|
|
212
|
+
}, z.core.$strict>>]>]>>;
|
|
213
|
+
previousContentId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ChangeId, string>>>;
|
|
214
|
+
continuation: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
215
|
+
claimed: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>>>>;
|
|
216
|
+
stopped: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<(z.ZodReadonly<z.ZodObject<{
|
|
217
|
+
kind: z.ZodLiteral<"target-moved">;
|
|
218
|
+
target: z.ZodString;
|
|
219
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
220
|
+
observed: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
|
|
221
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
222
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
223
|
+
kind: z.ZodEnum<{
|
|
224
|
+
"already-terminal": "already-terminal";
|
|
225
|
+
"physical-lag": "physical-lag";
|
|
226
|
+
}>;
|
|
227
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
228
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
229
|
+
kind: z.ZodLiteral<"target-content-identical">;
|
|
230
|
+
target: z.ZodString;
|
|
231
|
+
expected: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
232
|
+
observed: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
233
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
234
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
235
|
+
kind: z.ZodLiteral<"failed">;
|
|
236
|
+
diagnostic: z.ZodString;
|
|
237
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
238
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
239
|
+
kind: z.ZodLiteral<"gates-unsatisfied">;
|
|
240
|
+
unmet: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
241
|
+
state: z.ZodLiteral<"missing">;
|
|
242
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
243
|
+
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
244
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
245
|
+
state: z.ZodLiteral<"unsatisfied">;
|
|
246
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
247
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
248
|
+
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
249
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
250
|
+
state: z.ZodLiteral<"stale">;
|
|
251
|
+
previousContentId: z.ZodExactOptional<z.ZodString>;
|
|
252
|
+
currentContentId: z.ZodExactOptional<z.ZodString>;
|
|
253
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
254
|
+
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
255
|
+
}, z.core.$strict>>]>>>;
|
|
256
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
257
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
258
|
+
kind: z.ZodLiteral<"prerequisites-unsatisfied">;
|
|
259
|
+
unmet: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
260
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
261
|
+
state: z.ZodEnum<{
|
|
262
|
+
active: "active";
|
|
263
|
+
abandoned: "abandoned";
|
|
264
|
+
missing: "missing";
|
|
265
|
+
}>;
|
|
266
|
+
}, z.core.$strict>>>>;
|
|
267
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
268
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
269
|
+
kind: z.ZodEnum<{
|
|
270
|
+
"target-missing": "target-missing";
|
|
271
|
+
"delivery-missing": "delivery-missing";
|
|
272
|
+
}>;
|
|
273
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
274
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
275
|
+
kind: z.ZodLiteral<"checkout-not-followable">;
|
|
276
|
+
target: z.ZodString;
|
|
277
|
+
path: z.ZodString;
|
|
278
|
+
paths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
279
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
280
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
281
|
+
kind: z.ZodLiteral<"integration-unsupported">;
|
|
282
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
283
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
284
|
+
kind: z.ZodLiteral<"integration-conflict">;
|
|
285
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
286
|
+
conflictPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
287
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
288
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
289
|
+
kind: z.ZodEnum<{
|
|
290
|
+
"not-based-on-target": "not-based-on-target";
|
|
291
|
+
"unrelated-histories": "unrelated-histories";
|
|
292
|
+
}>;
|
|
293
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
294
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
295
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
296
|
+
kind: z.ZodLiteral<"retry">;
|
|
297
|
+
reason: z.ZodLiteral<"publication-failed">;
|
|
298
|
+
diagnostic: z.ZodString;
|
|
299
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
300
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
301
|
+
kind: z.ZodLiteral<"retry">;
|
|
302
|
+
reason: z.ZodEnum<{
|
|
303
|
+
exhausted: "exhausted";
|
|
304
|
+
collision: "collision";
|
|
305
|
+
}>;
|
|
306
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
307
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
308
|
+
kind: z.ZodLiteral<"target-workspace-unavailable">;
|
|
309
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
310
|
+
reason: z.ZodEnum<{
|
|
311
|
+
missing: "missing";
|
|
312
|
+
replaced: "replaced";
|
|
313
|
+
unappointed: "unappointed";
|
|
314
|
+
association: "association";
|
|
315
|
+
attached: "attached";
|
|
316
|
+
uncommitted: "uncommitted";
|
|
317
|
+
operation: "operation";
|
|
318
|
+
}>;
|
|
319
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
320
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
321
|
+
kind: z.ZodEnum<{
|
|
322
|
+
"target-contract-missing": "target-contract-missing";
|
|
323
|
+
"target-contract-terminal": "target-contract-terminal";
|
|
324
|
+
}>;
|
|
325
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
326
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
327
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
328
|
+
kind: z.ZodEnum<{
|
|
329
|
+
terminal: "terminal";
|
|
330
|
+
"contract-missing": "contract-missing";
|
|
331
|
+
}>;
|
|
332
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
333
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
334
|
+
kind: z.ZodLiteral<"execution-stopped">;
|
|
335
|
+
reason: z.ZodEnum<{
|
|
336
|
+
failed: "failed";
|
|
337
|
+
cancelled: "cancelled";
|
|
338
|
+
}>;
|
|
339
|
+
diagnostic: z.ZodString;
|
|
340
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
341
|
+
}, z.core.$strict>>)[]>>>>;
|
|
342
|
+
}, z.core.$strict>>>;
|
|
343
|
+
}, z.core.$strict>>;
|
|
344
|
+
export declare const deliverySchema: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
345
|
+
candidate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
346
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
347
|
+
contentId: z.ZodPipe<z.ZodString, z.ZodTransform<ChangeId, string>>;
|
|
348
|
+
admission: z.ZodExactOptional<z.ZodLiteral<"reused">>;
|
|
349
|
+
placement: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
350
|
+
kind: z.ZodLiteral<"placed">;
|
|
351
|
+
target: z.ZodExactOptional<z.ZodString>;
|
|
352
|
+
predecessor: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
|
|
353
|
+
}, z.core.$strict>>, z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
354
|
+
kind: z.ZodEnum<{
|
|
355
|
+
terminal: "terminal";
|
|
356
|
+
"contract-missing": "contract-missing";
|
|
357
|
+
}>;
|
|
358
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
359
|
+
kind: z.ZodEnum<{
|
|
360
|
+
"target-contract-missing": "target-contract-missing";
|
|
361
|
+
"target-contract-terminal": "target-contract-terminal";
|
|
362
|
+
}>;
|
|
363
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
364
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
365
|
+
kind: z.ZodLiteral<"target-workspace-unavailable">;
|
|
366
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
367
|
+
reason: z.ZodEnum<{
|
|
368
|
+
missing: "missing";
|
|
369
|
+
replaced: "replaced";
|
|
370
|
+
unappointed: "unappointed";
|
|
371
|
+
association: "association";
|
|
372
|
+
attached: "attached";
|
|
373
|
+
uncommitted: "uncommitted";
|
|
374
|
+
operation: "operation";
|
|
375
|
+
}>;
|
|
376
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
377
|
+
kind: z.ZodEnum<{
|
|
378
|
+
"target-missing": "target-missing";
|
|
379
|
+
"delivery-missing": "delivery-missing";
|
|
380
|
+
}>;
|
|
381
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
382
|
+
kind: z.ZodLiteral<"prerequisites-unsatisfied">;
|
|
383
|
+
unmet: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
384
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
385
|
+
state: z.ZodEnum<{
|
|
386
|
+
active: "active";
|
|
387
|
+
abandoned: "abandoned";
|
|
388
|
+
missing: "missing";
|
|
389
|
+
}>;
|
|
390
|
+
}, z.core.$strict>>>>;
|
|
391
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
392
|
+
kind: z.ZodLiteral<"gates-unsatisfied">;
|
|
393
|
+
unmet: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
394
|
+
state: z.ZodLiteral<"missing">;
|
|
395
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
396
|
+
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
397
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
398
|
+
state: z.ZodLiteral<"unsatisfied">;
|
|
399
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
400
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
401
|
+
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
402
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
403
|
+
state: z.ZodLiteral<"stale">;
|
|
404
|
+
previousContentId: z.ZodExactOptional<z.ZodString>;
|
|
405
|
+
currentContentId: z.ZodExactOptional<z.ZodString>;
|
|
406
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
407
|
+
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
408
|
+
}, z.core.$strict>>]>>>;
|
|
409
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
410
|
+
kind: z.ZodLiteral<"checkout-not-followable">;
|
|
411
|
+
target: z.ZodString;
|
|
412
|
+
path: z.ZodString;
|
|
413
|
+
paths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
414
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
415
|
+
kind: z.ZodEnum<{
|
|
416
|
+
"not-based-on-target": "not-based-on-target";
|
|
417
|
+
"unrelated-histories": "unrelated-histories";
|
|
418
|
+
}>;
|
|
419
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
420
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
421
|
+
kind: z.ZodLiteral<"integration-conflict">;
|
|
422
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
423
|
+
conflictPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
424
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
425
|
+
kind: z.ZodLiteral<"integration-unsupported">;
|
|
426
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
427
|
+
kind: z.ZodLiteral<"retry">;
|
|
428
|
+
reason: z.ZodEnum<{
|
|
429
|
+
exhausted: "exhausted";
|
|
430
|
+
collision: "collision";
|
|
431
|
+
}>;
|
|
432
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
433
|
+
kind: z.ZodLiteral<"retry">;
|
|
434
|
+
reason: z.ZodLiteral<"publication-failed">;
|
|
435
|
+
diagnostic: z.ZodString;
|
|
436
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
437
|
+
kind: z.ZodLiteral<"failed">;
|
|
438
|
+
diagnostic: z.ZodString;
|
|
439
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
440
|
+
kind: z.ZodLiteral<"target-content-identical">;
|
|
441
|
+
target: z.ZodString;
|
|
442
|
+
expected: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
443
|
+
observed: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
444
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
445
|
+
kind: z.ZodLiteral<"target-moved">;
|
|
446
|
+
target: z.ZodString;
|
|
447
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
448
|
+
observed: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
|
|
449
|
+
}, z.core.$strict>>]>]>>;
|
|
450
|
+
previousContentId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ChangeId, string>>>;
|
|
451
|
+
continuation: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
452
|
+
claimed: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>>>>;
|
|
453
|
+
stopped: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<(z.ZodReadonly<z.ZodObject<{
|
|
454
|
+
kind: z.ZodLiteral<"target-moved">;
|
|
455
|
+
target: z.ZodString;
|
|
456
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
457
|
+
observed: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
|
|
458
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
459
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
460
|
+
kind: z.ZodEnum<{
|
|
461
|
+
"already-terminal": "already-terminal";
|
|
462
|
+
"physical-lag": "physical-lag";
|
|
463
|
+
}>;
|
|
464
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
465
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
466
|
+
kind: z.ZodLiteral<"target-content-identical">;
|
|
467
|
+
target: z.ZodString;
|
|
468
|
+
expected: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
469
|
+
observed: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
470
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
471
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
472
|
+
kind: z.ZodLiteral<"failed">;
|
|
473
|
+
diagnostic: z.ZodString;
|
|
474
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
475
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
476
|
+
kind: z.ZodLiteral<"gates-unsatisfied">;
|
|
477
|
+
unmet: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
478
|
+
state: z.ZodLiteral<"missing">;
|
|
479
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
480
|
+
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
481
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
482
|
+
state: z.ZodLiteral<"unsatisfied">;
|
|
483
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
484
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
485
|
+
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
486
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
487
|
+
state: z.ZodLiteral<"stale">;
|
|
488
|
+
previousContentId: z.ZodExactOptional<z.ZodString>;
|
|
489
|
+
currentContentId: z.ZodExactOptional<z.ZodString>;
|
|
490
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
|
|
491
|
+
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
492
|
+
}, z.core.$strict>>]>>>;
|
|
493
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
494
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
495
|
+
kind: z.ZodLiteral<"prerequisites-unsatisfied">;
|
|
496
|
+
unmet: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
497
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
498
|
+
state: z.ZodEnum<{
|
|
499
|
+
active: "active";
|
|
500
|
+
abandoned: "abandoned";
|
|
501
|
+
missing: "missing";
|
|
502
|
+
}>;
|
|
503
|
+
}, z.core.$strict>>>>;
|
|
504
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
505
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
506
|
+
kind: z.ZodEnum<{
|
|
507
|
+
"target-missing": "target-missing";
|
|
508
|
+
"delivery-missing": "delivery-missing";
|
|
509
|
+
}>;
|
|
510
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
511
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
512
|
+
kind: z.ZodLiteral<"checkout-not-followable">;
|
|
513
|
+
target: z.ZodString;
|
|
514
|
+
path: z.ZodString;
|
|
515
|
+
paths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
516
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
517
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
518
|
+
kind: z.ZodLiteral<"integration-unsupported">;
|
|
519
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
520
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
521
|
+
kind: z.ZodLiteral<"integration-conflict">;
|
|
522
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
523
|
+
conflictPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
524
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
525
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
526
|
+
kind: z.ZodEnum<{
|
|
527
|
+
"not-based-on-target": "not-based-on-target";
|
|
528
|
+
"unrelated-histories": "unrelated-histories";
|
|
529
|
+
}>;
|
|
530
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
|
|
531
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
532
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
533
|
+
kind: z.ZodLiteral<"retry">;
|
|
534
|
+
reason: z.ZodLiteral<"publication-failed">;
|
|
535
|
+
diagnostic: z.ZodString;
|
|
536
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
537
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
538
|
+
kind: z.ZodLiteral<"retry">;
|
|
539
|
+
reason: z.ZodEnum<{
|
|
540
|
+
exhausted: "exhausted";
|
|
541
|
+
collision: "collision";
|
|
542
|
+
}>;
|
|
543
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
544
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
545
|
+
kind: z.ZodLiteral<"target-workspace-unavailable">;
|
|
546
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
547
|
+
reason: z.ZodEnum<{
|
|
548
|
+
missing: "missing";
|
|
549
|
+
replaced: "replaced";
|
|
550
|
+
unappointed: "unappointed";
|
|
551
|
+
association: "association";
|
|
552
|
+
attached: "attached";
|
|
553
|
+
uncommitted: "uncommitted";
|
|
554
|
+
operation: "operation";
|
|
555
|
+
}>;
|
|
556
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
557
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
558
|
+
kind: z.ZodEnum<{
|
|
559
|
+
"target-contract-missing": "target-contract-missing";
|
|
560
|
+
"target-contract-terminal": "target-contract-terminal";
|
|
561
|
+
}>;
|
|
562
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
563
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
564
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
565
|
+
kind: z.ZodEnum<{
|
|
566
|
+
terminal: "terminal";
|
|
567
|
+
"contract-missing": "contract-missing";
|
|
568
|
+
}>;
|
|
569
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
570
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
571
|
+
kind: z.ZodLiteral<"execution-stopped">;
|
|
572
|
+
reason: z.ZodEnum<{
|
|
573
|
+
failed: "failed";
|
|
574
|
+
cancelled: "cancelled";
|
|
575
|
+
}>;
|
|
576
|
+
diagnostic: z.ZodString;
|
|
577
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ContractId, string>>;
|
|
578
|
+
}, z.core.$strict>>)[]>>>>;
|
|
579
|
+
}, z.core.$strict>>>;
|
|
580
|
+
}, z.core.$strict>>>;
|
|
581
|
+
export type DeliveryValue = z.output<typeof deliveredValueSchema>;
|
|
582
|
+
export type Delivery = DeliveryValue;
|
|
583
|
+
/** Protocol custody only; ordinary public delivery results never expose this carrier. */
|
|
584
|
+
export type RawDeliveryValue = DeliverData & CompletionEvidence & Readonly<{
|
|
585
|
+
leading: DeliverLeading;
|
|
586
|
+
previousContentId?: ChangeId;
|
|
587
|
+
continuation?: ContinuationReport;
|
|
12
588
|
}>;
|
|
13
|
-
declare
|
|
14
|
-
private readonly readDiff;
|
|
15
|
-
readonly leading?: DeliveryValue["leading"];
|
|
16
|
-
readonly contentChange?: DeliveryValue["contentChange"];
|
|
17
|
-
readonly completion?: DeliveryValue["completion"];
|
|
18
|
-
readonly gates?: DeliveryValue["gates"];
|
|
19
|
-
readonly placement?: DeliveryValue["placement"];
|
|
20
|
-
readonly continuation?: DeliveryValue["continuation"];
|
|
21
|
-
readonly tenderSnapshot: SnapshotId;
|
|
22
|
-
readonly note?: string;
|
|
23
|
-
readonly integration: DeliveryValue["integration"];
|
|
24
|
-
readonly method: DeliveryValue["method"];
|
|
25
|
-
readonly policy: DeliveryValue["policy"];
|
|
26
|
-
constructor(identity: Pick<DeliveryValue, "tenderSnapshot" | "integration" | "method" | "policy">, readDiff: () => Promise<string | null>, outcomes?: Partial<Pick<DeliveryValue, "leading" | "contentChange" | "completion" | "gates" | "placement" | "continuation">>);
|
|
27
|
-
diff(): Promise<string | null>;
|
|
28
|
-
}
|
|
29
|
-
export type Delivery = DeliveryHandle;
|
|
30
|
-
type HandleType<T extends object> = Readonly<{
|
|
31
|
-
prototype: T;
|
|
32
|
-
[Symbol.hasInstance](value: unknown): boolean;
|
|
33
|
-
}>;
|
|
34
|
-
export declare const Delivery: HandleType<DeliveryHandle>;
|
|
35
|
-
export declare function deliveryForContract(scope: RepositoryScope, delivery: DeliveryValue): Delivery & DeliveryValue;
|
|
36
|
-
export declare function deliveryForContract(scope: RepositoryScope, delivery: Pick<DeliveryValue, "tenderSnapshot" | "integration" | "method" | "policy">): Delivery;
|
|
37
|
-
export {};
|
|
589
|
+
export declare function compactDelivery(delivery: DeliverData & CompletionEvidence & Partial<Pick<RawDeliveryValue, "leading" | "previousContentId" | "continuation">>): DeliveryValue;
|