@astrosheep/keiyaku 4.6.31 → 4.6.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -17
- package/build/plugins/claude/skills/keiyaku-akuma/SKILL.md +16 -11
- package/build/plugins/claude/skills/keiyaku-babysit/SKILL.md +5 -3
- package/build/plugins/claude/skills/keiyaku-bind/SKILL.md +4 -3
- package/build/plugins/claude/skills/keiyaku-debt/SKILL.md +17 -17
- package/build/plugins/claude/skills/keiyaku-workflow/SKILL.md +4 -3
- package/build/plugins/codex/skills/keiyaku-akuma/SKILL.md +16 -11
- package/build/plugins/codex/skills/keiyaku-babysit/SKILL.md +5 -3
- package/build/plugins/codex/skills/keiyaku-bind/SKILL.md +4 -3
- package/build/plugins/codex/skills/keiyaku-debt/SKILL.md +17 -17
- package/build/plugins/codex/skills/keiyaku-workflow/SKILL.md +4 -3
- package/build/plugins/opencode/skills/keiyaku-akuma/SKILL.md +16 -11
- package/build/plugins/opencode/skills/keiyaku-babysit/SKILL.md +5 -3
- package/build/plugins/opencode/skills/keiyaku-bind/SKILL.md +4 -3
- package/build/plugins/opencode/skills/keiyaku-debt/SKILL.md +17 -17
- package/build/plugins/opencode/skills/keiyaku-workflow/SKILL.md +4 -3
- package/build/plugins/pi/README.md +16 -18
- package/build/plugins/pi/akuma-tools.ts +31 -38
- package/build/plugins/pi/keiyaku.ts +15 -4
- package/build/skills/keiyaku-akuma/SKILL.md +16 -11
- package/build/skills/keiyaku-babysit/SKILL.md +5 -3
- package/build/skills/keiyaku-bind/SKILL.md +4 -3
- package/build/skills/keiyaku-debt/SKILL.md +17 -17
- package/build/skills/keiyaku-workflow/SKILL.md +4 -3
- package/build/src/akuma/akuma-call.d.ts +3 -5
- package/build/src/akuma/akuma-call.js +7 -10
- package/build/src/akuma/akuma-errors.d.ts +7 -4
- package/build/src/akuma/akuma-errors.js +16 -12
- package/build/src/akuma/akuma-instance.d.ts +39 -303
- package/build/src/akuma/akuma-instance.js +48 -48
- package/build/src/akuma/akuma-observe.d.ts +5 -4
- package/build/src/akuma/akuma-observe.js +1 -7
- package/build/src/akuma/akuma-owner.d.ts +14 -6
- package/build/src/akuma/akuma-owner.js +33 -27
- package/build/src/akuma/akuma-selection-execution.d.ts +22 -19
- package/build/src/akuma/akuma-selection-execution.js +71 -124
- package/build/src/akuma/akuma-wait.d.ts +3 -3
- package/build/src/akuma/akuma.d.ts +47 -384
- package/build/src/akuma/akuma.js +8 -58
- package/build/src/akuma/archetype.d.ts +16 -19
- package/build/src/akuma/archetype.js +48 -49
- package/build/src/akuma/body.js +31 -26
- package/build/src/akuma/call-initial-tell.d.ts +4 -1
- package/build/src/akuma/call-initial-tell.js +9 -1
- package/build/src/akuma/call-input.d.ts +8 -1
- package/build/src/akuma/call-input.js +27 -18
- package/build/src/akuma/caller.js +2 -1
- package/build/src/akuma/detached-body.js +1 -1
- package/build/src/akuma/heart/facts.d.ts +5 -4
- package/build/src/akuma/heart/facts.js +5 -5
- package/build/src/akuma/heart/soul.js +20 -4
- package/build/src/akuma/identity.d.ts +1 -1
- package/build/src/akuma/identity.js +9 -4
- package/build/src/akuma/index.d.ts +6 -7
- package/build/src/akuma/index.js +2 -3
- package/build/src/akuma/projection.d.ts +3 -0
- package/build/src/akuma/provider-recipe.js +3 -2
- package/build/src/akuma/providers/acp/config.js +11 -10
- package/build/src/akuma/providers/acp/index.js +2 -1
- package/build/src/akuma/providers/codex-app-server/index.js +7 -1
- package/build/src/akuma/providers/grok-build/index.js +2 -1
- package/build/src/akuma/providers/index.d.ts +0 -1
- package/build/src/akuma/providers/index.js +0 -8
- package/build/src/akuma/providers/paseo/index.js +7 -4
- package/build/src/akuma/providers/pi/index.js +4 -3
- package/build/src/akuma/publication.d.ts +1 -2
- package/build/src/akuma/publication.js +16 -14
- package/build/src/akuma/schema.d.ts +3 -49
- package/build/src/akuma/schema.js +6 -147
- package/build/src/akuma/selection-observation.d.ts +281 -240
- package/build/src/akuma/selection-observation.js +122 -68
- package/build/src/akuma/status-projection.d.ts +49 -285
- package/build/src/akuma/status-projection.js +178 -138
- package/build/src/body/amend.js +2 -1
- package/build/src/body/arc.js +3 -2
- package/build/src/body/criteria.js +4 -3
- package/build/src/body/decode.js +2 -1
- package/build/src/body/envelope.js +2 -1
- package/build/src/body/region.d.ts +1 -3
- package/build/src/body/region.js +3 -8
- package/build/src/body-host.d.ts +4 -11
- package/build/src/body-host.js +5 -4
- package/build/src/bounded-list.js +2 -1
- package/build/src/cli/commands/akuma-grammar.d.ts +109 -66
- package/build/src/cli/commands/akuma-grammar.js +75 -95
- package/build/src/cli/commands/akuma.d.ts +8 -3
- package/build/src/cli/commands/akuma.js +63 -122
- package/build/src/cli/commands/contract-grammar.d.ts +3 -135
- package/build/src/cli/commands/contract-grammar.js +125 -218
- package/build/src/cli/commands/contract-help.d.ts +24 -21
- package/build/src/cli/commands/contract-help.js +43 -35
- package/build/src/cli/commands/contract.d.ts +6 -18
- package/build/src/cli/commands/contract.js +65 -272
- package/build/src/cli/commands/debt-grammar.d.ts +2 -4
- package/build/src/cli/commands/debt-grammar.js +22 -190
- package/build/src/cli/commands/debt.js +10 -87
- package/build/src/cli/commands/report.d.ts +2 -4
- package/build/src/cli/coordinates.d.ts +1 -1
- package/build/src/cli/coordinates.js +1 -1
- package/build/src/cli/main.js +9 -3
- package/build/src/cli/parse.d.ts +80 -3
- package/build/src/cli/parse.js +76 -16
- package/build/src/cli/render/akuma-activity.d.ts +19 -24
- package/build/src/cli/render/akuma-activity.js +164 -259
- package/build/src/cli/render/akuma.d.ts +3 -3
- package/build/src/cli/render/akuma.js +36 -43
- package/build/src/cli/render/catalog.d.ts +2 -5
- package/build/src/cli/render/catalog.js +2 -33
- package/build/src/cli/render/contract-history.js +1 -2
- package/build/src/cli/render/contract-observation.d.ts +0 -7
- package/build/src/cli/render/contract-observation.js +0 -3
- package/build/src/cli/render/contract.d.ts +7 -9
- package/build/src/cli/render/contract.js +35 -64
- package/build/src/cli/render/debt.d.ts +3 -11
- package/build/src/cli/render/debt.js +17 -88
- package/build/src/cli/render/delivery-preview.js +4 -4
- package/build/src/cli/render/kanshi-akuma.d.ts +5 -3
- package/build/src/cli/render/kanshi-akuma.js +22 -18
- package/build/src/cli/render/kanshi.d.ts +1 -3
- package/build/src/cli/render/kanshi.js +16 -39
- package/build/src/cli/render/receipt.d.ts +21 -12
- package/build/src/cli/render/receipt.js +49 -44
- package/build/src/cli/render/refusal.d.ts +4 -3
- package/build/src/cli/render/refusal.js +15 -17
- package/build/src/cli/render/settings.d.ts +1 -1
- package/build/src/cli/render/terminal.d.ts +9 -8
- package/build/src/cli/render/terminal.js +48 -32
- package/build/src/cli/render/verbs.d.ts +3 -1
- package/build/src/cli/render/verbs.js +74 -116
- package/build/src/cli/runtime.js +66 -65
- package/build/src/cli/streams.d.ts +2 -9
- package/build/src/cli/streams.js +8 -1
- package/build/src/cli/usage.d.ts +2 -1
- package/build/src/cli/usage.js +3 -2
- package/build/src/contract-worktree.js +2 -10
- package/build/src/core/facts/codec.js +9 -23
- package/build/src/core/facts/errors.d.ts +2 -1
- package/build/src/core/facts/errors.js +3 -3
- package/build/src/core/facts/types.d.ts +2 -13
- package/build/src/core/facts/types.js +1 -6
- package/build/src/core/verbs/abandon.d.ts +1 -2
- package/build/src/core/verbs/amend.d.ts +1 -2
- package/build/src/core/verbs/arc.d.ts +1 -2
- package/build/src/core/verbs/attestation.d.ts +1 -2
- package/build/src/core/verbs/bind.d.ts +1 -2
- package/build/src/core/verbs/deliver.d.ts +1 -2
- package/build/src/core/verbs/placement.d.ts +1 -2
- package/build/src/core/verbs/reintegrate.d.ts +1 -2
- package/build/src/debt/board.d.ts +14 -94
- package/build/src/debt/board.js +25 -160
- package/build/src/debt/catalog.d.ts +0 -2
- package/build/src/debt/catalog.js +1 -22
- package/build/src/debt/document.d.ts +8 -11
- package/build/src/debt/document.js +19 -62
- package/build/src/debt/identity.d.ts +2 -14
- package/build/src/debt/identity.js +19 -49
- package/build/src/debt/index.d.ts +81 -219
- package/build/src/debt/index.js +61 -110
- package/build/src/debt/input.d.ts +19 -5
- package/build/src/debt/input.js +51 -177
- package/build/src/debt/lifecycle-operations.d.ts +1 -3
- package/build/src/debt/lifecycle-operations.js +1 -73
- package/build/src/debt/operation-types.d.ts +24 -128
- package/build/src/debt/operation-types.js +6 -62
- package/build/src/debt/operations.d.ts +8 -17
- package/build/src/debt/operations.js +58 -154
- package/build/src/debt/store.d.ts +0 -2
- package/build/src/debt/store.js +32 -87
- package/build/src/errors.d.ts +28 -0
- package/build/src/errors.js +26 -0
- package/build/src/git/hooks.d.ts +1 -1
- package/build/src/git/observe.d.ts +3 -0
- package/build/src/git/observe.js +19 -5
- package/build/src/git/reconcile.d.ts +3 -16
- package/build/src/git/reconcile.js +0 -18
- package/build/src/git/repository.d.ts +2 -1
- package/build/src/git/repository.js +3 -3
- package/build/src/git/target-placement.d.ts +4 -4
- package/build/src/git/target.d.ts +2 -2
- package/build/src/git/tender.d.ts +1 -2
- package/build/src/git/tender.js +5 -12
- package/build/src/identity/coordinates.d.ts +1 -1
- package/build/src/identity/coordinates.js +3 -2
- package/build/src/identity/normalize.js +2 -1
- package/build/src/identity/selector.js +4 -3
- package/build/src/index.d.ts +34 -57
- package/build/src/index.js +11 -36
- package/build/src/kanshi/counts.d.ts +3 -8
- package/build/src/kanshi/counts.js +6 -14
- package/build/src/kanshi/index.d.ts +22 -7
- package/build/src/kanshi/index.js +30 -4
- package/build/src/kanshi/read.d.ts +81 -270
- package/build/src/kanshi/read.js +39 -199
- package/build/src/kanshi/report.d.ts +340 -1619
- package/build/src/kanshi/report.js +19 -31
- package/build/src/library/address.d.ts +11 -11
- package/build/src/library/address.js +34 -27
- package/build/src/library/akuma-creation.d.ts +210 -79
- package/build/src/library/akuma-creation.js +201 -242
- package/build/src/library/akumas.d.ts +24 -5
- package/build/src/library/akumas.js +96 -29
- package/build/src/library/bind.d.ts +7 -10
- package/build/src/library/bind.js +2 -8
- package/build/src/library/continuation.d.ts +141 -231
- package/build/src/library/continuation.js +22 -31
- package/build/src/library/contract-address.d.ts +6 -9
- package/build/src/library/contract-address.js +11 -16
- package/build/src/library/contract-composition.d.ts +2 -3
- package/build/src/library/contract-composition.js +12 -19
- package/build/src/library/contract-creation.js +33 -34
- package/build/src/library/contract-outcomes.d.ts +1278 -806
- package/build/src/library/contract-outcomes.js +11 -37
- package/build/src/library/contract-settings.d.ts +1 -2
- package/build/src/library/contract-settings.js +5 -7
- package/build/src/library/contract-types.d.ts +42 -67
- package/build/src/library/contract-types.js +15 -56
- package/build/src/library/contract-wait.d.ts +40 -3
- package/build/src/library/contract-wait.js +28 -21
- package/build/src/library/delivery.d.ts +366 -389
- package/build/src/library/delivery.js +5 -25
- package/build/src/library/input.d.ts +31 -5
- package/build/src/library/input.js +40 -40
- package/build/src/library/invocation.d.ts +13 -11
- package/build/src/library/invocation.js +69 -58
- package/build/src/library/kei.d.ts +16 -8
- package/build/src/library/kei.js +459 -19
- package/build/src/library/keiyaku-attribution.d.ts +0 -8
- package/build/src/library/keiyaku-attribution.js +0 -11
- package/build/src/library/keiyaku-classify.d.ts +2 -2
- package/build/src/library/keiyaku-classify.js +40 -59
- package/build/src/library/keiyaku-coordinates.d.ts +3 -8
- package/build/src/library/keiyaku-coordinates.js +6 -26
- package/build/src/library/keiyaku-debt.d.ts +21 -93
- package/build/src/library/keiyaku-debt.js +8 -157
- package/build/src/library/keiyaku-identity.js +5 -4
- package/build/src/library/keiyaku-verbs.d.ts +4004 -3885
- package/build/src/library/keiyaku-verbs.js +309 -271
- package/build/src/library/keiyaku.d.ts +30 -860
- package/build/src/library/keiyaku.js +169 -256
- package/build/src/library/nuke.d.ts +4 -2
- package/build/src/library/nuke.js +5 -1
- package/build/src/library/outcome.d.ts +424 -307
- package/build/src/library/outcome.js +167 -362
- package/build/src/library/reconcile.d.ts +331 -143
- package/build/src/library/reconcile.js +38 -72
- package/build/src/library/refusal.d.ts +20 -28
- package/build/src/library/refusal.js +1 -11
- package/build/src/library/repo.js +4 -3
- package/build/src/library/selection.d.ts +32 -21
- package/build/src/library/selection.js +63 -87
- package/build/src/mcp/adapter.d.ts +6 -0
- package/build/src/mcp/adapter.js +177 -42
- package/build/src/mcp/help.d.ts +1 -1
- package/build/src/mcp/help.js +12 -7
- package/build/src/mcp/output.d.ts +385 -0
- package/build/src/mcp/output.js +193 -0
- package/build/src/plugin/public.d.ts +4 -0
- package/build/src/plugin/runtime.d.ts +1 -1
- package/build/src/plugin/runtime.js +2 -2
- package/build/src/protocol/amend.d.ts +1 -1
- package/build/src/protocol/amend.js +2 -2
- package/build/src/protocol/bind.d.ts +5 -7
- package/build/src/protocol/bind.js +3 -3
- package/build/src/protocol/completion.d.ts +158 -195
- package/build/src/protocol/completion.js +55 -19
- package/build/src/protocol/deliver.d.ts +11 -6
- package/build/src/protocol/deliver.js +30 -30
- package/build/src/protocol/delivery-preview.d.ts +13 -11
- package/build/src/protocol/delivery-preview.js +2 -2
- package/build/src/protocol/execution-observation.d.ts +5 -13
- package/build/src/protocol/intent.d.ts +6 -9
- package/build/src/protocol/intent.js +18 -31
- package/build/src/protocol/operations.d.ts +48 -53
- package/build/src/protocol/operations.js +16 -25
- package/build/src/protocol/outcome.d.ts +3 -1
- package/build/src/protocol/placement.d.ts +1 -2
- package/build/src/protocol/placement.js +1 -1
- package/build/src/protocol/progress.d.ts +1 -0
- package/build/src/protocol/read/status.d.ts +29 -112
- package/build/src/protocol/read/status.js +52 -78
- package/build/src/protocol/reintegrate.d.ts +1 -2
- package/build/src/protocol/reintegrate.js +0 -1
- package/build/src/protocol/result-leaves.d.ts +11 -32
- package/build/src/protocol/result-leaves.js +18 -57
- package/build/src/protocol/result-reasons.d.ts +6 -6
- package/build/src/protocol/review.js +0 -1
- package/build/src/protocol/verify.d.ts +192 -146
- package/build/src/protocol/verify.js +60 -47
- package/build/src/runtime/proc/windows-launch.exe +0 -0
- package/build/src/settings.d.ts +8 -9
- package/build/src/settings.js +16 -13
- package/build/src/settlement/holder.js +2 -2
- package/build/src/settlement/settle.d.ts +0 -6
- package/build/src/settlement/settle.js +0 -4
- package/build/src/verification/declaration.d.ts +3 -6
- package/build/src/verification/declaration.js +3 -5
- package/build/src/verification/observation.d.ts +2 -2
- package/build/src/world.d.ts +3 -2
- package/build/src/world.js +5 -6
- package/package.json +1 -1
- package/plugins/paseo/plugin/index.server.ts +1 -1
- package/plugins/paseo/plugin/server/attach.ts +74 -67
- package/plugins/paseo/plugin/server/keiyaku.ts +80 -14
- package/plugins/paseo/plugin/server/message.ts +2 -1
- package/plugins/paseo/plugin/server/mirror-identity.ts +6 -4
- package/plugins/paseo/plugin/server/sdk.ts +9 -11
- package/plugins/paseo/plugin/server/transport.ts +24 -1
- package/plugins/pi/README.md +16 -18
- package/plugins/pi/akuma-tools.ts +31 -38
- package/plugins/pi/keiyaku.ts +15 -4
- package/skills/keiyaku-akuma/SKILL.md +16 -11
- package/skills/keiyaku-babysit/SKILL.md +5 -3
- package/skills/keiyaku-bind/SKILL.md +4 -3
- package/skills/keiyaku-debt/SKILL.md +17 -17
- package/skills/keiyaku-workflow/SKILL.md +4 -3
- package/build/src/akuma/providers/codex-app-server/configuration.d.ts +0 -5
- package/build/src/akuma/providers/codex-app-server/configuration.js +0 -72
- package/build/src/cli/commands/debt-query.d.ts +0 -5
- package/build/src/cli/commands/debt-query.js +0 -194
- package/build/src/cli/render/akuma-tool-command.d.ts +0 -6
- package/build/src/cli/render/akuma-tool-command.js +0 -143
- package/build/src/cli/render/akuma-tool.d.ts +0 -29
- package/build/src/cli/render/akuma-tool.js +0 -225
- package/build/src/debt/context.d.ts +0 -28
- package/build/src/debt/context.js +0 -102
- package/build/src/debt/created-observation.d.ts +0 -26
- package/build/src/debt/created-observation.js +0 -38
- package/build/src/debt/query.d.ts +0 -80
- package/build/src/debt/query.js +0 -283
- package/build/src/library/contract-execution.d.ts +0 -28
- package/build/src/library/contract-execution.js +0 -506
- package/build/src/library/keiyaku-policy.d.ts +0 -27
- package/build/src/library/keiyaku-policy.js +0 -44
- package/build/src/library/keiyaku-status.d.ts +0 -1487
- package/build/src/library/keiyaku-status.js +0 -92
|
@@ -1,68 +1,63 @@
|
|
|
1
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
2
|
export declare const deliverPlacementSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
7
3
|
kind: z.ZodLiteral<"placed">;
|
|
8
4
|
target: z.ZodExactOptional<z.ZodString>;
|
|
9
|
-
predecessor: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
5
|
+
predecessor: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>>;
|
|
10
6
|
}, z.core.$strict>>, z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
11
|
-
kind: z.
|
|
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
|
-
}>;
|
|
7
|
+
kind: z.ZodLiteral<"delivery-missing">;
|
|
38
8
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
39
9
|
kind: z.ZodLiteral<"prerequisites-unsatisfied">;
|
|
40
10
|
unmet: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
41
|
-
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
11
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
42
12
|
state: z.ZodEnum<{
|
|
43
|
-
active: "active";
|
|
44
|
-
abandoned: "abandoned";
|
|
45
13
|
missing: "missing";
|
|
14
|
+
abandoned: "abandoned";
|
|
15
|
+
active: "active";
|
|
46
16
|
}>;
|
|
47
17
|
}, z.core.$strict>>>>;
|
|
48
18
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
49
19
|
kind: z.ZodLiteral<"gates-unsatisfied">;
|
|
50
20
|
unmet: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
51
21
|
state: z.ZodLiteral<"missing">;
|
|
52
|
-
gate: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
22
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
53
23
|
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
54
24
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
55
25
|
state: z.ZodLiteral<"unsatisfied">;
|
|
56
26
|
summary: z.ZodExactOptional<z.ZodString>;
|
|
57
|
-
gate: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
27
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
58
28
|
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
59
29
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
60
30
|
state: z.ZodLiteral<"stale">;
|
|
61
31
|
previousContentId: z.ZodExactOptional<z.ZodString>;
|
|
62
32
|
currentContentId: z.ZodExactOptional<z.ZodString>;
|
|
63
|
-
gate: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
33
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
64
34
|
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
65
35
|
}, z.core.$strict>>]>>>;
|
|
36
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
37
|
+
kind: z.ZodEnum<{
|
|
38
|
+
"contract-missing": "contract-missing";
|
|
39
|
+
terminal: "terminal";
|
|
40
|
+
}>;
|
|
41
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
42
|
+
kind: z.ZodEnum<{
|
|
43
|
+
"target-contract-missing": "target-contract-missing";
|
|
44
|
+
"target-contract-terminal": "target-contract-terminal";
|
|
45
|
+
}>;
|
|
46
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
47
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
48
|
+
kind: z.ZodLiteral<"target-workspace-unavailable">;
|
|
49
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
50
|
+
reason: z.ZodEnum<{
|
|
51
|
+
unappointed: "unappointed";
|
|
52
|
+
missing: "missing";
|
|
53
|
+
association: "association";
|
|
54
|
+
replaced: "replaced";
|
|
55
|
+
attached: "attached";
|
|
56
|
+
uncommitted: "uncommitted";
|
|
57
|
+
operation: "operation";
|
|
58
|
+
}>;
|
|
59
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
60
|
+
kind: z.ZodLiteral<"target-missing">;
|
|
66
61
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
67
62
|
kind: z.ZodLiteral<"checkout-not-followable">;
|
|
68
63
|
target: z.ZodString;
|
|
@@ -73,10 +68,10 @@ export declare const deliverPlacementSchema: z.ZodUnion<readonly [z.ZodReadonly<
|
|
|
73
68
|
"not-based-on-target": "not-based-on-target";
|
|
74
69
|
"unrelated-histories": "unrelated-histories";
|
|
75
70
|
}>;
|
|
76
|
-
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
71
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
77
72
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
78
73
|
kind: z.ZodLiteral<"integration-conflict">;
|
|
79
|
-
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
74
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
80
75
|
conflictPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
81
76
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
82
77
|
kind: z.ZodLiteral<"integration-unsupported">;
|
|
@@ -96,79 +91,88 @@ export declare const deliverPlacementSchema: z.ZodUnion<readonly [z.ZodReadonly<
|
|
|
96
91
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
97
92
|
kind: z.ZodLiteral<"target-content-identical">;
|
|
98
93
|
target: z.ZodString;
|
|
99
|
-
expected: z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
100
|
-
observed: z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
94
|
+
expected: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
95
|
+
observed: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
101
96
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
102
97
|
kind: z.ZodLiteral<"target-moved">;
|
|
103
98
|
target: z.ZodString;
|
|
104
|
-
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
105
|
-
observed: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
99
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
100
|
+
observed: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>>;
|
|
101
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
102
|
+
kind: z.ZodLiteral<"execution-stopped">;
|
|
103
|
+
reason: z.ZodEnum<{
|
|
104
|
+
failed: "failed";
|
|
105
|
+
cancelled: "cancelled";
|
|
106
|
+
}>;
|
|
107
|
+
diagnostic: z.ZodString;
|
|
108
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
109
|
+
kind: z.ZodLiteral<"physical-lag">;
|
|
106
110
|
}, z.core.$strict>>]>]>;
|
|
107
111
|
export declare const deliveredValueSchema: z.ZodReadonly<z.ZodObject<{
|
|
108
|
-
candidate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
109
|
-
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
110
|
-
contentId: z.ZodPipe<z.ZodString, z.ZodTransform<ChangeId, string>>;
|
|
112
|
+
candidate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
113
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
114
|
+
contentId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ChangeId, string>>;
|
|
111
115
|
admission: z.ZodExactOptional<z.ZodLiteral<"reused">>;
|
|
116
|
+
previousContentId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ChangeId, string>>>;
|
|
112
117
|
placement: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
113
118
|
kind: z.ZodLiteral<"placed">;
|
|
114
119
|
target: z.ZodExactOptional<z.ZodString>;
|
|
115
|
-
predecessor: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
120
|
+
predecessor: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>>;
|
|
116
121
|
}, z.core.$strict>>, z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
117
|
-
kind: z.
|
|
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
|
-
}>;
|
|
122
|
+
kind: z.ZodLiteral<"delivery-missing">;
|
|
144
123
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
145
124
|
kind: z.ZodLiteral<"prerequisites-unsatisfied">;
|
|
146
125
|
unmet: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
147
|
-
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
126
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
148
127
|
state: z.ZodEnum<{
|
|
149
|
-
active: "active";
|
|
150
|
-
abandoned: "abandoned";
|
|
151
128
|
missing: "missing";
|
|
129
|
+
abandoned: "abandoned";
|
|
130
|
+
active: "active";
|
|
152
131
|
}>;
|
|
153
132
|
}, z.core.$strict>>>>;
|
|
154
133
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
155
134
|
kind: z.ZodLiteral<"gates-unsatisfied">;
|
|
156
135
|
unmet: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
157
136
|
state: z.ZodLiteral<"missing">;
|
|
158
|
-
gate: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
137
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
159
138
|
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
160
139
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
161
140
|
state: z.ZodLiteral<"unsatisfied">;
|
|
162
141
|
summary: z.ZodExactOptional<z.ZodString>;
|
|
163
|
-
gate: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
142
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
164
143
|
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
165
144
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
166
145
|
state: z.ZodLiteral<"stale">;
|
|
167
146
|
previousContentId: z.ZodExactOptional<z.ZodString>;
|
|
168
147
|
currentContentId: z.ZodExactOptional<z.ZodString>;
|
|
169
|
-
gate: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
148
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
170
149
|
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
171
150
|
}, z.core.$strict>>]>>>;
|
|
151
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
152
|
+
kind: z.ZodEnum<{
|
|
153
|
+
"contract-missing": "contract-missing";
|
|
154
|
+
terminal: "terminal";
|
|
155
|
+
}>;
|
|
156
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
157
|
+
kind: z.ZodEnum<{
|
|
158
|
+
"target-contract-missing": "target-contract-missing";
|
|
159
|
+
"target-contract-terminal": "target-contract-terminal";
|
|
160
|
+
}>;
|
|
161
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
162
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
163
|
+
kind: z.ZodLiteral<"target-workspace-unavailable">;
|
|
164
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
165
|
+
reason: z.ZodEnum<{
|
|
166
|
+
unappointed: "unappointed";
|
|
167
|
+
missing: "missing";
|
|
168
|
+
association: "association";
|
|
169
|
+
replaced: "replaced";
|
|
170
|
+
attached: "attached";
|
|
171
|
+
uncommitted: "uncommitted";
|
|
172
|
+
operation: "operation";
|
|
173
|
+
}>;
|
|
174
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
175
|
+
kind: z.ZodLiteral<"target-missing">;
|
|
172
176
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
173
177
|
kind: z.ZodLiteral<"checkout-not-followable">;
|
|
174
178
|
target: z.ZodString;
|
|
@@ -179,10 +183,10 @@ export declare const deliveredValueSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
179
183
|
"not-based-on-target": "not-based-on-target";
|
|
180
184
|
"unrelated-histories": "unrelated-histories";
|
|
181
185
|
}>;
|
|
182
|
-
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
186
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
183
187
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
184
188
|
kind: z.ZodLiteral<"integration-conflict">;
|
|
185
|
-
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
189
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
186
190
|
conflictPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
187
191
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
188
192
|
kind: z.ZodLiteral<"integration-unsupported">;
|
|
@@ -202,210 +206,200 @@ export declare const deliveredValueSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
202
206
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
203
207
|
kind: z.ZodLiteral<"target-content-identical">;
|
|
204
208
|
target: z.ZodString;
|
|
205
|
-
expected: z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
206
|
-
observed: z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
209
|
+
expected: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
210
|
+
observed: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
207
211
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
208
212
|
kind: z.ZodLiteral<"target-moved">;
|
|
209
213
|
target: z.ZodString;
|
|
210
|
-
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
211
|
-
observed: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
214
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
215
|
+
observed: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>>;
|
|
216
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
217
|
+
kind: z.ZodLiteral<"execution-stopped">;
|
|
218
|
+
reason: z.ZodEnum<{
|
|
219
|
+
failed: "failed";
|
|
220
|
+
cancelled: "cancelled";
|
|
221
|
+
}>;
|
|
222
|
+
diagnostic: z.ZodString;
|
|
223
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
224
|
+
kind: z.ZodLiteral<"physical-lag">;
|
|
212
225
|
}, z.core.$strict>>]>]>>;
|
|
213
|
-
previousContentId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ChangeId, string>>>;
|
|
214
226
|
continuation: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
215
|
-
claimed: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
216
|
-
stopped: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
227
|
+
claimed: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>>>>;
|
|
228
|
+
stopped: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
229
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
230
|
+
stop: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
231
|
+
kind: z.ZodLiteral<"delivery-missing">;
|
|
232
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
233
|
+
kind: z.ZodLiteral<"prerequisites-unsatisfied">;
|
|
234
|
+
unmet: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
235
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
236
|
+
state: z.ZodEnum<{
|
|
237
|
+
missing: "missing";
|
|
238
|
+
abandoned: "abandoned";
|
|
239
|
+
active: "active";
|
|
240
|
+
}>;
|
|
241
|
+
}, z.core.$strict>>>>;
|
|
242
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
243
|
+
kind: z.ZodLiteral<"gates-unsatisfied">;
|
|
244
|
+
unmet: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
245
|
+
state: z.ZodLiteral<"missing">;
|
|
246
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
247
|
+
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
248
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
249
|
+
state: z.ZodLiteral<"unsatisfied">;
|
|
250
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
251
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
252
|
+
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
253
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
254
|
+
state: z.ZodLiteral<"stale">;
|
|
255
|
+
previousContentId: z.ZodExactOptional<z.ZodString>;
|
|
256
|
+
currentContentId: z.ZodExactOptional<z.ZodString>;
|
|
257
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
258
|
+
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
259
|
+
}, z.core.$strict>>]>>>;
|
|
260
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
261
|
+
kind: z.ZodEnum<{
|
|
262
|
+
"contract-missing": "contract-missing";
|
|
263
|
+
terminal: "terminal";
|
|
264
|
+
}>;
|
|
265
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
266
|
+
kind: z.ZodEnum<{
|
|
267
|
+
"target-contract-missing": "target-contract-missing";
|
|
268
|
+
"target-contract-terminal": "target-contract-terminal";
|
|
269
|
+
}>;
|
|
270
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
271
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
272
|
+
kind: z.ZodLiteral<"target-workspace-unavailable">;
|
|
273
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
274
|
+
reason: z.ZodEnum<{
|
|
275
|
+
unappointed: "unappointed";
|
|
264
276
|
missing: "missing";
|
|
277
|
+
association: "association";
|
|
278
|
+
replaced: "replaced";
|
|
279
|
+
attached: "attached";
|
|
280
|
+
uncommitted: "uncommitted";
|
|
281
|
+
operation: "operation";
|
|
265
282
|
}>;
|
|
266
|
-
}, z.core.$strict
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
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>>)[]>>>>;
|
|
283
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
284
|
+
kind: z.ZodLiteral<"target-missing">;
|
|
285
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
286
|
+
kind: z.ZodLiteral<"checkout-not-followable">;
|
|
287
|
+
target: z.ZodString;
|
|
288
|
+
path: z.ZodString;
|
|
289
|
+
paths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
290
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
291
|
+
kind: z.ZodEnum<{
|
|
292
|
+
"not-based-on-target": "not-based-on-target";
|
|
293
|
+
"unrelated-histories": "unrelated-histories";
|
|
294
|
+
}>;
|
|
295
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
296
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
297
|
+
kind: z.ZodLiteral<"integration-conflict">;
|
|
298
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
299
|
+
conflictPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
300
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
301
|
+
kind: z.ZodLiteral<"integration-unsupported">;
|
|
302
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
303
|
+
kind: z.ZodLiteral<"retry">;
|
|
304
|
+
reason: z.ZodEnum<{
|
|
305
|
+
exhausted: "exhausted";
|
|
306
|
+
collision: "collision";
|
|
307
|
+
}>;
|
|
308
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
309
|
+
kind: z.ZodLiteral<"retry">;
|
|
310
|
+
reason: z.ZodLiteral<"publication-failed">;
|
|
311
|
+
diagnostic: z.ZodString;
|
|
312
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
313
|
+
kind: z.ZodLiteral<"failed">;
|
|
314
|
+
diagnostic: z.ZodString;
|
|
315
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
316
|
+
kind: z.ZodLiteral<"target-content-identical">;
|
|
317
|
+
target: z.ZodString;
|
|
318
|
+
expected: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
319
|
+
observed: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
320
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
321
|
+
kind: z.ZodLiteral<"target-moved">;
|
|
322
|
+
target: z.ZodString;
|
|
323
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
324
|
+
observed: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>>;
|
|
325
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
326
|
+
kind: z.ZodLiteral<"execution-stopped">;
|
|
327
|
+
reason: z.ZodEnum<{
|
|
328
|
+
failed: "failed";
|
|
329
|
+
cancelled: "cancelled";
|
|
330
|
+
}>;
|
|
331
|
+
diagnostic: z.ZodString;
|
|
332
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
333
|
+
kind: z.ZodLiteral<"physical-lag">;
|
|
334
|
+
}, z.core.$strict>>]>;
|
|
335
|
+
}, z.core.$strict>>>>>;
|
|
342
336
|
}, z.core.$strict>>>;
|
|
343
337
|
}, z.core.$strict>>;
|
|
344
338
|
export declare const deliverySchema: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
345
|
-
candidate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
346
|
-
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
347
|
-
contentId: z.ZodPipe<z.ZodString, z.ZodTransform<ChangeId, string>>;
|
|
339
|
+
candidate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
340
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
341
|
+
contentId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ChangeId, string>>;
|
|
348
342
|
admission: z.ZodExactOptional<z.ZodLiteral<"reused">>;
|
|
343
|
+
previousContentId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ChangeId, string>>>;
|
|
349
344
|
placement: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
350
345
|
kind: z.ZodLiteral<"placed">;
|
|
351
346
|
target: z.ZodExactOptional<z.ZodString>;
|
|
352
|
-
predecessor: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
347
|
+
predecessor: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>>;
|
|
353
348
|
}, z.core.$strict>>, z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
354
|
-
kind: z.
|
|
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
|
-
}>;
|
|
349
|
+
kind: z.ZodLiteral<"delivery-missing">;
|
|
381
350
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
382
351
|
kind: z.ZodLiteral<"prerequisites-unsatisfied">;
|
|
383
352
|
unmet: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
384
|
-
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
353
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
385
354
|
state: z.ZodEnum<{
|
|
386
|
-
active: "active";
|
|
387
|
-
abandoned: "abandoned";
|
|
388
355
|
missing: "missing";
|
|
356
|
+
abandoned: "abandoned";
|
|
357
|
+
active: "active";
|
|
389
358
|
}>;
|
|
390
359
|
}, z.core.$strict>>>>;
|
|
391
360
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
392
361
|
kind: z.ZodLiteral<"gates-unsatisfied">;
|
|
393
362
|
unmet: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
394
363
|
state: z.ZodLiteral<"missing">;
|
|
395
|
-
gate: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
364
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
396
365
|
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
397
366
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
398
367
|
state: z.ZodLiteral<"unsatisfied">;
|
|
399
368
|
summary: z.ZodExactOptional<z.ZodString>;
|
|
400
|
-
gate: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
369
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
401
370
|
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
402
371
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
403
372
|
state: z.ZodLiteral<"stale">;
|
|
404
373
|
previousContentId: z.ZodExactOptional<z.ZodString>;
|
|
405
374
|
currentContentId: z.ZodExactOptional<z.ZodString>;
|
|
406
|
-
gate: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
375
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
407
376
|
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
408
377
|
}, z.core.$strict>>]>>>;
|
|
378
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
379
|
+
kind: z.ZodEnum<{
|
|
380
|
+
"contract-missing": "contract-missing";
|
|
381
|
+
terminal: "terminal";
|
|
382
|
+
}>;
|
|
383
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
384
|
+
kind: z.ZodEnum<{
|
|
385
|
+
"target-contract-missing": "target-contract-missing";
|
|
386
|
+
"target-contract-terminal": "target-contract-terminal";
|
|
387
|
+
}>;
|
|
388
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
389
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
390
|
+
kind: z.ZodLiteral<"target-workspace-unavailable">;
|
|
391
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
392
|
+
reason: z.ZodEnum<{
|
|
393
|
+
unappointed: "unappointed";
|
|
394
|
+
missing: "missing";
|
|
395
|
+
association: "association";
|
|
396
|
+
replaced: "replaced";
|
|
397
|
+
attached: "attached";
|
|
398
|
+
uncommitted: "uncommitted";
|
|
399
|
+
operation: "operation";
|
|
400
|
+
}>;
|
|
401
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
402
|
+
kind: z.ZodLiteral<"target-missing">;
|
|
409
403
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
410
404
|
kind: z.ZodLiteral<"checkout-not-followable">;
|
|
411
405
|
target: z.ZodString;
|
|
@@ -416,10 +410,10 @@ export declare const deliverySchema: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
|
416
410
|
"not-based-on-target": "not-based-on-target";
|
|
417
411
|
"unrelated-histories": "unrelated-histories";
|
|
418
412
|
}>;
|
|
419
|
-
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
413
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
420
414
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
421
415
|
kind: z.ZodLiteral<"integration-conflict">;
|
|
422
|
-
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
416
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
423
417
|
conflictPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
424
418
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
425
419
|
kind: z.ZodLiteral<"integration-unsupported">;
|
|
@@ -439,151 +433,134 @@ export declare const deliverySchema: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
|
439
433
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
440
434
|
kind: z.ZodLiteral<"target-content-identical">;
|
|
441
435
|
target: z.ZodString;
|
|
442
|
-
expected: z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
443
|
-
observed: z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
436
|
+
expected: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
437
|
+
observed: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
444
438
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
445
439
|
kind: z.ZodLiteral<"target-moved">;
|
|
446
440
|
target: z.ZodString;
|
|
447
|
-
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
448
|
-
observed: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
441
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
442
|
+
observed: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>>;
|
|
443
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
444
|
+
kind: z.ZodLiteral<"execution-stopped">;
|
|
445
|
+
reason: z.ZodEnum<{
|
|
446
|
+
failed: "failed";
|
|
447
|
+
cancelled: "cancelled";
|
|
448
|
+
}>;
|
|
449
|
+
diagnostic: z.ZodString;
|
|
450
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
451
|
+
kind: z.ZodLiteral<"physical-lag">;
|
|
449
452
|
}, z.core.$strict>>]>]>>;
|
|
450
|
-
previousContentId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ChangeId, string>>>;
|
|
451
453
|
continuation: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
452
|
-
claimed: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../
|
|
453
|
-
stopped: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
454
|
+
claimed: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>>>>;
|
|
455
|
+
stopped: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
456
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
457
|
+
stop: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
458
|
+
kind: z.ZodLiteral<"delivery-missing">;
|
|
459
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
460
|
+
kind: z.ZodLiteral<"prerequisites-unsatisfied">;
|
|
461
|
+
unmet: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
462
|
+
contractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
463
|
+
state: z.ZodEnum<{
|
|
464
|
+
missing: "missing";
|
|
465
|
+
abandoned: "abandoned";
|
|
466
|
+
active: "active";
|
|
467
|
+
}>;
|
|
468
|
+
}, z.core.$strict>>>>;
|
|
469
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
470
|
+
kind: z.ZodLiteral<"gates-unsatisfied">;
|
|
471
|
+
unmet: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
472
|
+
state: z.ZodLiteral<"missing">;
|
|
473
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
474
|
+
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
475
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
476
|
+
state: z.ZodLiteral<"unsatisfied">;
|
|
477
|
+
summary: z.ZodExactOptional<z.ZodString>;
|
|
478
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
479
|
+
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
480
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
481
|
+
state: z.ZodLiteral<"stale">;
|
|
482
|
+
previousContentId: z.ZodExactOptional<z.ZodString>;
|
|
483
|
+
currentContentId: z.ZodExactOptional<z.ZodString>;
|
|
484
|
+
gate: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
485
|
+
requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
|
|
486
|
+
}, z.core.$strict>>]>>>;
|
|
487
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
488
|
+
kind: z.ZodEnum<{
|
|
489
|
+
"contract-missing": "contract-missing";
|
|
490
|
+
terminal: "terminal";
|
|
491
|
+
}>;
|
|
492
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
493
|
+
kind: z.ZodEnum<{
|
|
494
|
+
"target-contract-missing": "target-contract-missing";
|
|
495
|
+
"target-contract-terminal": "target-contract-terminal";
|
|
496
|
+
}>;
|
|
497
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
498
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
499
|
+
kind: z.ZodLiteral<"target-workspace-unavailable">;
|
|
500
|
+
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").ContractId, string>>;
|
|
501
|
+
reason: z.ZodEnum<{
|
|
502
|
+
unappointed: "unappointed";
|
|
501
503
|
missing: "missing";
|
|
504
|
+
association: "association";
|
|
505
|
+
replaced: "replaced";
|
|
506
|
+
attached: "attached";
|
|
507
|
+
uncommitted: "uncommitted";
|
|
508
|
+
operation: "operation";
|
|
502
509
|
}>;
|
|
503
|
-
}, z.core.$strict
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
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>>)[]>>>>;
|
|
510
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
511
|
+
kind: z.ZodLiteral<"target-missing">;
|
|
512
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
513
|
+
kind: z.ZodLiteral<"checkout-not-followable">;
|
|
514
|
+
target: z.ZodString;
|
|
515
|
+
path: z.ZodString;
|
|
516
|
+
paths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
517
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
518
|
+
kind: z.ZodEnum<{
|
|
519
|
+
"not-based-on-target": "not-based-on-target";
|
|
520
|
+
"unrelated-histories": "unrelated-histories";
|
|
521
|
+
}>;
|
|
522
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
523
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
524
|
+
kind: z.ZodLiteral<"integration-conflict">;
|
|
525
|
+
targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
526
|
+
conflictPaths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
527
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
528
|
+
kind: z.ZodLiteral<"integration-unsupported">;
|
|
529
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
530
|
+
kind: z.ZodLiteral<"retry">;
|
|
531
|
+
reason: z.ZodEnum<{
|
|
532
|
+
exhausted: "exhausted";
|
|
533
|
+
collision: "collision";
|
|
534
|
+
}>;
|
|
535
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
536
|
+
kind: z.ZodLiteral<"retry">;
|
|
537
|
+
reason: z.ZodLiteral<"publication-failed">;
|
|
538
|
+
diagnostic: z.ZodString;
|
|
539
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
540
|
+
kind: z.ZodLiteral<"failed">;
|
|
541
|
+
diagnostic: z.ZodString;
|
|
542
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
543
|
+
kind: z.ZodLiteral<"target-content-identical">;
|
|
544
|
+
target: z.ZodString;
|
|
545
|
+
expected: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
546
|
+
observed: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
547
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
548
|
+
kind: z.ZodLiteral<"target-moved">;
|
|
549
|
+
target: z.ZodString;
|
|
550
|
+
integration: z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>;
|
|
551
|
+
observed: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("../index.js").SnapshotId, string>>>;
|
|
552
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
553
|
+
kind: z.ZodLiteral<"execution-stopped">;
|
|
554
|
+
reason: z.ZodEnum<{
|
|
555
|
+
failed: "failed";
|
|
556
|
+
cancelled: "cancelled";
|
|
557
|
+
}>;
|
|
558
|
+
diagnostic: z.ZodString;
|
|
559
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
560
|
+
kind: z.ZodLiteral<"physical-lag">;
|
|
561
|
+
}, z.core.$strict>>]>;
|
|
562
|
+
}, z.core.$strict>>>>>;
|
|
579
563
|
}, z.core.$strict>>>;
|
|
580
564
|
}, z.core.$strict>>>;
|
|
581
565
|
export type DeliveryValue = z.output<typeof deliveredValueSchema>;
|
|
582
566
|
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;
|
|
588
|
-
}>;
|
|
589
|
-
export declare function compactDelivery(delivery: DeliverData & CompletionEvidence & Partial<Pick<RawDeliveryValue, "leading" | "previousContentId" | "continuation">>): DeliveryValue;
|