@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
|
@@ -8,7 +8,7 @@ import type { ReconcileResult } from "../git/reconcile.js";
|
|
|
8
8
|
import { type RepositoryScope } from "../protocol/operations.js";
|
|
9
9
|
import { type ProtocolProgress } from "../protocol/progress.js";
|
|
10
10
|
import { type SettlementReport } from "../settlement/settle.js";
|
|
11
|
-
import { InvocationAccumulator } from "./invocation.js";
|
|
11
|
+
import type { InvocationAccumulator } from "./invocation.js";
|
|
12
12
|
export { reconcileLagScope, reconcileLagIsFailure, reconciliationLagSchema } from "./outcome.js";
|
|
13
13
|
export type { ReconcileLagScope } from "./outcome.js";
|
|
14
14
|
declare const reconcileEffectSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
@@ -57,59 +57,97 @@ declare const contractReconcileSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
57
57
|
kind: z.ZodLiteral<"debt-settled">;
|
|
58
58
|
debtId: z.ZodString;
|
|
59
59
|
}, z.core.$strict>>]>>>>;
|
|
60
|
-
issues: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
61
|
-
kind: z.ZodLiteral<"worktree-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
kind: z.ZodLiteral<"unsealed-bytes">;
|
|
60
|
+
issues: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [...(z.ZodReadonly<z.ZodObject<{
|
|
61
|
+
kind: z.ZodLiteral<"worktree-hook-failed">;
|
|
62
|
+
phase: z.ZodEnum<{
|
|
63
|
+
create: "create";
|
|
64
|
+
destroy: "destroy";
|
|
65
|
+
}>;
|
|
67
66
|
path: z.ZodString;
|
|
67
|
+
name: z.ZodString;
|
|
68
|
+
diagnostic: z.ZodString;
|
|
69
|
+
severity: z.ZodEnum<{
|
|
70
|
+
optional: "optional";
|
|
71
|
+
required: "required";
|
|
72
|
+
}>;
|
|
68
73
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
69
|
-
}, z.core.$strict
|
|
70
|
-
kind: z.ZodLiteral<"
|
|
71
|
-
path: z.ZodString;
|
|
72
|
-
target: z.ZodString;
|
|
74
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
75
|
+
kind: z.ZodLiteral<"reconcile-failed">;
|
|
73
76
|
diagnostic: z.ZodString;
|
|
77
|
+
severity: z.ZodEnum<{
|
|
78
|
+
optional: "optional";
|
|
79
|
+
required: "required";
|
|
80
|
+
}>;
|
|
74
81
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
75
|
-
}, z.core.$strict
|
|
82
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
76
83
|
kind: z.ZodLiteral<"target-workspace-retained">;
|
|
77
84
|
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
78
85
|
reason: z.ZodEnum<{
|
|
79
|
-
missing: "missing";
|
|
80
|
-
replaced: "replaced";
|
|
81
86
|
unappointed: "unappointed";
|
|
87
|
+
missing: "missing";
|
|
82
88
|
association: "association";
|
|
89
|
+
replaced: "replaced";
|
|
83
90
|
attached: "attached";
|
|
84
91
|
uncommitted: "uncommitted";
|
|
85
92
|
operation: "operation";
|
|
86
93
|
}>;
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
phase: z.ZodEnum<{
|
|
91
|
-
destroy: "destroy";
|
|
92
|
-
create: "create";
|
|
94
|
+
severity: z.ZodEnum<{
|
|
95
|
+
optional: "optional";
|
|
96
|
+
required: "required";
|
|
93
97
|
}>;
|
|
98
|
+
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
99
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
100
|
+
kind: z.ZodLiteral<"target-checkout-retained">;
|
|
94
101
|
path: z.ZodString;
|
|
95
|
-
|
|
102
|
+
target: z.ZodString;
|
|
96
103
|
diagnostic: z.ZodString;
|
|
104
|
+
severity: z.ZodEnum<{
|
|
105
|
+
optional: "optional";
|
|
106
|
+
required: "required";
|
|
107
|
+
}>;
|
|
97
108
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
98
|
-
}, z.core.$strict
|
|
99
|
-
kind: z.ZodLiteral<"
|
|
100
|
-
|
|
109
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
110
|
+
kind: z.ZodLiteral<"unsealed-bytes">;
|
|
111
|
+
path: z.ZodString;
|
|
112
|
+
severity: z.ZodEnum<{
|
|
113
|
+
optional: "optional";
|
|
114
|
+
required: "required";
|
|
115
|
+
}>;
|
|
101
116
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
102
|
-
}, z.core.$strict
|
|
117
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
118
|
+
kind: z.ZodLiteral<"worktree-retained">;
|
|
119
|
+
path: z.ZodString;
|
|
120
|
+
diagnostic: z.ZodExactOptional<z.ZodString>;
|
|
121
|
+
severity: z.ZodEnum<{
|
|
122
|
+
optional: "optional";
|
|
123
|
+
required: "required";
|
|
124
|
+
}>;
|
|
125
|
+
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
126
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
103
127
|
kind: z.ZodLiteral<"contract-file-failed">;
|
|
104
128
|
path: z.ZodString;
|
|
105
129
|
diagnostic: z.ZodString;
|
|
130
|
+
severity: z.ZodEnum<{
|
|
131
|
+
optional: "optional";
|
|
132
|
+
required: "required";
|
|
133
|
+
}>;
|
|
106
134
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
107
|
-
}, z.core.$strict
|
|
108
|
-
kind: z.ZodLiteral<"
|
|
135
|
+
}, z.core.$strict>>)[], z.ZodReadonly<z.ZodObject<{
|
|
136
|
+
kind: z.ZodLiteral<"diagnostic">;
|
|
137
|
+
severity: z.ZodEnum<{
|
|
138
|
+
optional: "optional";
|
|
139
|
+
required: "required";
|
|
140
|
+
}>;
|
|
109
141
|
diagnostic: z.ZodString;
|
|
142
|
+
snapshot: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
|
|
143
|
+
requirement: z.ZodExactOptional<z.ZodString>;
|
|
144
|
+
index: z.ZodExactOptional<z.ZodNumber>;
|
|
145
|
+
name: z.ZodExactOptional<z.ZodString>;
|
|
146
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
110
147
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
111
148
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
112
149
|
kind: z.ZodLiteral<"settlement-failed">;
|
|
150
|
+
severity: z.ZodLiteral<"required">;
|
|
113
151
|
debtId: z.ZodExactOptional<z.ZodString>;
|
|
114
152
|
diagnostic: z.ZodString;
|
|
115
153
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
@@ -139,59 +177,97 @@ export declare const reconcileCompletionSchema: z.ZodUnion<readonly [z.ZodReadon
|
|
|
139
177
|
kind: z.ZodLiteral<"debt-settled">;
|
|
140
178
|
debtId: z.ZodString;
|
|
141
179
|
}, z.core.$strict>>]>>>>;
|
|
142
|
-
issues: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
143
|
-
kind: z.ZodLiteral<"worktree-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
kind: z.ZodLiteral<"unsealed-bytes">;
|
|
180
|
+
issues: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [...(z.ZodReadonly<z.ZodObject<{
|
|
181
|
+
kind: z.ZodLiteral<"worktree-hook-failed">;
|
|
182
|
+
phase: z.ZodEnum<{
|
|
183
|
+
create: "create";
|
|
184
|
+
destroy: "destroy";
|
|
185
|
+
}>;
|
|
149
186
|
path: z.ZodString;
|
|
187
|
+
name: z.ZodString;
|
|
188
|
+
diagnostic: z.ZodString;
|
|
189
|
+
severity: z.ZodEnum<{
|
|
190
|
+
optional: "optional";
|
|
191
|
+
required: "required";
|
|
192
|
+
}>;
|
|
150
193
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
151
|
-
}, z.core.$strict
|
|
152
|
-
kind: z.ZodLiteral<"
|
|
153
|
-
path: z.ZodString;
|
|
154
|
-
target: z.ZodString;
|
|
194
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
195
|
+
kind: z.ZodLiteral<"reconcile-failed">;
|
|
155
196
|
diagnostic: z.ZodString;
|
|
197
|
+
severity: z.ZodEnum<{
|
|
198
|
+
optional: "optional";
|
|
199
|
+
required: "required";
|
|
200
|
+
}>;
|
|
156
201
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
157
|
-
}, z.core.$strict
|
|
202
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
158
203
|
kind: z.ZodLiteral<"target-workspace-retained">;
|
|
159
204
|
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
160
205
|
reason: z.ZodEnum<{
|
|
161
|
-
missing: "missing";
|
|
162
|
-
replaced: "replaced";
|
|
163
206
|
unappointed: "unappointed";
|
|
207
|
+
missing: "missing";
|
|
164
208
|
association: "association";
|
|
209
|
+
replaced: "replaced";
|
|
165
210
|
attached: "attached";
|
|
166
211
|
uncommitted: "uncommitted";
|
|
167
212
|
operation: "operation";
|
|
168
213
|
}>;
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
phase: z.ZodEnum<{
|
|
173
|
-
destroy: "destroy";
|
|
174
|
-
create: "create";
|
|
214
|
+
severity: z.ZodEnum<{
|
|
215
|
+
optional: "optional";
|
|
216
|
+
required: "required";
|
|
175
217
|
}>;
|
|
218
|
+
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
219
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
220
|
+
kind: z.ZodLiteral<"target-checkout-retained">;
|
|
176
221
|
path: z.ZodString;
|
|
177
|
-
|
|
222
|
+
target: z.ZodString;
|
|
178
223
|
diagnostic: z.ZodString;
|
|
224
|
+
severity: z.ZodEnum<{
|
|
225
|
+
optional: "optional";
|
|
226
|
+
required: "required";
|
|
227
|
+
}>;
|
|
179
228
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
180
|
-
}, z.core.$strict
|
|
181
|
-
kind: z.ZodLiteral<"
|
|
182
|
-
|
|
229
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
230
|
+
kind: z.ZodLiteral<"unsealed-bytes">;
|
|
231
|
+
path: z.ZodString;
|
|
232
|
+
severity: z.ZodEnum<{
|
|
233
|
+
optional: "optional";
|
|
234
|
+
required: "required";
|
|
235
|
+
}>;
|
|
183
236
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
184
|
-
}, z.core.$strict
|
|
237
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
238
|
+
kind: z.ZodLiteral<"worktree-retained">;
|
|
239
|
+
path: z.ZodString;
|
|
240
|
+
diagnostic: z.ZodExactOptional<z.ZodString>;
|
|
241
|
+
severity: z.ZodEnum<{
|
|
242
|
+
optional: "optional";
|
|
243
|
+
required: "required";
|
|
244
|
+
}>;
|
|
245
|
+
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
246
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
185
247
|
kind: z.ZodLiteral<"contract-file-failed">;
|
|
186
248
|
path: z.ZodString;
|
|
187
249
|
diagnostic: z.ZodString;
|
|
250
|
+
severity: z.ZodEnum<{
|
|
251
|
+
optional: "optional";
|
|
252
|
+
required: "required";
|
|
253
|
+
}>;
|
|
188
254
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
189
|
-
}, z.core.$strict
|
|
190
|
-
kind: z.ZodLiteral<"
|
|
255
|
+
}, z.core.$strict>>)[], z.ZodReadonly<z.ZodObject<{
|
|
256
|
+
kind: z.ZodLiteral<"diagnostic">;
|
|
257
|
+
severity: z.ZodEnum<{
|
|
258
|
+
optional: "optional";
|
|
259
|
+
required: "required";
|
|
260
|
+
}>;
|
|
191
261
|
diagnostic: z.ZodString;
|
|
262
|
+
snapshot: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
|
|
263
|
+
requirement: z.ZodExactOptional<z.ZodString>;
|
|
264
|
+
index: z.ZodExactOptional<z.ZodNumber>;
|
|
265
|
+
name: z.ZodExactOptional<z.ZodString>;
|
|
266
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
192
267
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
193
268
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
194
269
|
kind: z.ZodLiteral<"settlement-failed">;
|
|
270
|
+
severity: z.ZodLiteral<"required">;
|
|
195
271
|
debtId: z.ZodExactOptional<z.ZodString>;
|
|
196
272
|
diagnostic: z.ZodString;
|
|
197
273
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
@@ -227,59 +303,97 @@ export declare const repoReconcileReportSchema: z.ZodUnion<readonly [z.ZodReadon
|
|
|
227
303
|
kind: z.ZodLiteral<"debt-settled">;
|
|
228
304
|
debtId: z.ZodString;
|
|
229
305
|
}, z.core.$strict>>]>>>>;
|
|
230
|
-
issues: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
231
|
-
kind: z.ZodLiteral<"worktree-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
kind: z.ZodLiteral<"unsealed-bytes">;
|
|
306
|
+
issues: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [...(z.ZodReadonly<z.ZodObject<{
|
|
307
|
+
kind: z.ZodLiteral<"worktree-hook-failed">;
|
|
308
|
+
phase: z.ZodEnum<{
|
|
309
|
+
create: "create";
|
|
310
|
+
destroy: "destroy";
|
|
311
|
+
}>;
|
|
237
312
|
path: z.ZodString;
|
|
313
|
+
name: z.ZodString;
|
|
314
|
+
diagnostic: z.ZodString;
|
|
315
|
+
severity: z.ZodEnum<{
|
|
316
|
+
optional: "optional";
|
|
317
|
+
required: "required";
|
|
318
|
+
}>;
|
|
238
319
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
239
|
-
}, z.core.$strict
|
|
240
|
-
kind: z.ZodLiteral<"
|
|
241
|
-
path: z.ZodString;
|
|
242
|
-
target: z.ZodString;
|
|
320
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
321
|
+
kind: z.ZodLiteral<"reconcile-failed">;
|
|
243
322
|
diagnostic: z.ZodString;
|
|
323
|
+
severity: z.ZodEnum<{
|
|
324
|
+
optional: "optional";
|
|
325
|
+
required: "required";
|
|
326
|
+
}>;
|
|
244
327
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
245
|
-
}, z.core.$strict
|
|
328
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
246
329
|
kind: z.ZodLiteral<"target-workspace-retained">;
|
|
247
330
|
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
248
331
|
reason: z.ZodEnum<{
|
|
249
|
-
missing: "missing";
|
|
250
|
-
replaced: "replaced";
|
|
251
332
|
unappointed: "unappointed";
|
|
333
|
+
missing: "missing";
|
|
252
334
|
association: "association";
|
|
335
|
+
replaced: "replaced";
|
|
253
336
|
attached: "attached";
|
|
254
337
|
uncommitted: "uncommitted";
|
|
255
338
|
operation: "operation";
|
|
256
339
|
}>;
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
phase: z.ZodEnum<{
|
|
261
|
-
destroy: "destroy";
|
|
262
|
-
create: "create";
|
|
340
|
+
severity: z.ZodEnum<{
|
|
341
|
+
optional: "optional";
|
|
342
|
+
required: "required";
|
|
263
343
|
}>;
|
|
344
|
+
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
345
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
346
|
+
kind: z.ZodLiteral<"target-checkout-retained">;
|
|
264
347
|
path: z.ZodString;
|
|
265
|
-
|
|
348
|
+
target: z.ZodString;
|
|
266
349
|
diagnostic: z.ZodString;
|
|
350
|
+
severity: z.ZodEnum<{
|
|
351
|
+
optional: "optional";
|
|
352
|
+
required: "required";
|
|
353
|
+
}>;
|
|
267
354
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
268
|
-
}, z.core.$strict
|
|
269
|
-
kind: z.ZodLiteral<"
|
|
270
|
-
|
|
355
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
356
|
+
kind: z.ZodLiteral<"unsealed-bytes">;
|
|
357
|
+
path: z.ZodString;
|
|
358
|
+
severity: z.ZodEnum<{
|
|
359
|
+
optional: "optional";
|
|
360
|
+
required: "required";
|
|
361
|
+
}>;
|
|
271
362
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
272
|
-
}, z.core.$strict
|
|
363
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
364
|
+
kind: z.ZodLiteral<"worktree-retained">;
|
|
365
|
+
path: z.ZodString;
|
|
366
|
+
diagnostic: z.ZodExactOptional<z.ZodString>;
|
|
367
|
+
severity: z.ZodEnum<{
|
|
368
|
+
optional: "optional";
|
|
369
|
+
required: "required";
|
|
370
|
+
}>;
|
|
371
|
+
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
372
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
273
373
|
kind: z.ZodLiteral<"contract-file-failed">;
|
|
274
374
|
path: z.ZodString;
|
|
275
375
|
diagnostic: z.ZodString;
|
|
376
|
+
severity: z.ZodEnum<{
|
|
377
|
+
optional: "optional";
|
|
378
|
+
required: "required";
|
|
379
|
+
}>;
|
|
276
380
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
277
|
-
}, z.core.$strict
|
|
278
|
-
kind: z.ZodLiteral<"
|
|
381
|
+
}, z.core.$strict>>)[], z.ZodReadonly<z.ZodObject<{
|
|
382
|
+
kind: z.ZodLiteral<"diagnostic">;
|
|
383
|
+
severity: z.ZodEnum<{
|
|
384
|
+
optional: "optional";
|
|
385
|
+
required: "required";
|
|
386
|
+
}>;
|
|
279
387
|
diagnostic: z.ZodString;
|
|
388
|
+
snapshot: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
|
|
389
|
+
requirement: z.ZodExactOptional<z.ZodString>;
|
|
390
|
+
index: z.ZodExactOptional<z.ZodNumber>;
|
|
391
|
+
name: z.ZodExactOptional<z.ZodString>;
|
|
392
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
280
393
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
281
394
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
282
395
|
kind: z.ZodLiteral<"settlement-failed">;
|
|
396
|
+
severity: z.ZodLiteral<"required">;
|
|
283
397
|
debtId: z.ZodExactOptional<z.ZodString>;
|
|
284
398
|
diagnostic: z.ZodString;
|
|
285
399
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
@@ -313,59 +427,97 @@ export declare const reconcileResultSchema: z.ZodUnion<readonly [z.ZodUnion<read
|
|
|
313
427
|
kind: z.ZodLiteral<"debt-settled">;
|
|
314
428
|
debtId: z.ZodString;
|
|
315
429
|
}, z.core.$strict>>]>>>>;
|
|
316
|
-
issues: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
317
|
-
kind: z.ZodLiteral<"worktree-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
kind: z.ZodLiteral<"unsealed-bytes">;
|
|
430
|
+
issues: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [...(z.ZodReadonly<z.ZodObject<{
|
|
431
|
+
kind: z.ZodLiteral<"worktree-hook-failed">;
|
|
432
|
+
phase: z.ZodEnum<{
|
|
433
|
+
create: "create";
|
|
434
|
+
destroy: "destroy";
|
|
435
|
+
}>;
|
|
323
436
|
path: z.ZodString;
|
|
437
|
+
name: z.ZodString;
|
|
438
|
+
diagnostic: z.ZodString;
|
|
439
|
+
severity: z.ZodEnum<{
|
|
440
|
+
optional: "optional";
|
|
441
|
+
required: "required";
|
|
442
|
+
}>;
|
|
324
443
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
325
|
-
}, z.core.$strict
|
|
326
|
-
kind: z.ZodLiteral<"
|
|
327
|
-
path: z.ZodString;
|
|
328
|
-
target: z.ZodString;
|
|
444
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
445
|
+
kind: z.ZodLiteral<"reconcile-failed">;
|
|
329
446
|
diagnostic: z.ZodString;
|
|
447
|
+
severity: z.ZodEnum<{
|
|
448
|
+
optional: "optional";
|
|
449
|
+
required: "required";
|
|
450
|
+
}>;
|
|
330
451
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
331
|
-
}, z.core.$strict
|
|
452
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
332
453
|
kind: z.ZodLiteral<"target-workspace-retained">;
|
|
333
454
|
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
334
455
|
reason: z.ZodEnum<{
|
|
335
|
-
missing: "missing";
|
|
336
|
-
replaced: "replaced";
|
|
337
456
|
unappointed: "unappointed";
|
|
457
|
+
missing: "missing";
|
|
338
458
|
association: "association";
|
|
459
|
+
replaced: "replaced";
|
|
339
460
|
attached: "attached";
|
|
340
461
|
uncommitted: "uncommitted";
|
|
341
462
|
operation: "operation";
|
|
342
463
|
}>;
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
phase: z.ZodEnum<{
|
|
347
|
-
destroy: "destroy";
|
|
348
|
-
create: "create";
|
|
464
|
+
severity: z.ZodEnum<{
|
|
465
|
+
optional: "optional";
|
|
466
|
+
required: "required";
|
|
349
467
|
}>;
|
|
468
|
+
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
469
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
470
|
+
kind: z.ZodLiteral<"target-checkout-retained">;
|
|
350
471
|
path: z.ZodString;
|
|
351
|
-
|
|
472
|
+
target: z.ZodString;
|
|
352
473
|
diagnostic: z.ZodString;
|
|
474
|
+
severity: z.ZodEnum<{
|
|
475
|
+
optional: "optional";
|
|
476
|
+
required: "required";
|
|
477
|
+
}>;
|
|
353
478
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
354
|
-
}, z.core.$strict
|
|
355
|
-
kind: z.ZodLiteral<"
|
|
356
|
-
|
|
479
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
480
|
+
kind: z.ZodLiteral<"unsealed-bytes">;
|
|
481
|
+
path: z.ZodString;
|
|
482
|
+
severity: z.ZodEnum<{
|
|
483
|
+
optional: "optional";
|
|
484
|
+
required: "required";
|
|
485
|
+
}>;
|
|
357
486
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
358
|
-
}, z.core.$strict
|
|
487
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
488
|
+
kind: z.ZodLiteral<"worktree-retained">;
|
|
489
|
+
path: z.ZodString;
|
|
490
|
+
diagnostic: z.ZodExactOptional<z.ZodString>;
|
|
491
|
+
severity: z.ZodEnum<{
|
|
492
|
+
optional: "optional";
|
|
493
|
+
required: "required";
|
|
494
|
+
}>;
|
|
495
|
+
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
496
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
359
497
|
kind: z.ZodLiteral<"contract-file-failed">;
|
|
360
498
|
path: z.ZodString;
|
|
361
499
|
diagnostic: z.ZodString;
|
|
500
|
+
severity: z.ZodEnum<{
|
|
501
|
+
optional: "optional";
|
|
502
|
+
required: "required";
|
|
503
|
+
}>;
|
|
362
504
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
363
|
-
}, z.core.$strict
|
|
364
|
-
kind: z.ZodLiteral<"
|
|
505
|
+
}, z.core.$strict>>)[], z.ZodReadonly<z.ZodObject<{
|
|
506
|
+
kind: z.ZodLiteral<"diagnostic">;
|
|
507
|
+
severity: z.ZodEnum<{
|
|
508
|
+
optional: "optional";
|
|
509
|
+
required: "required";
|
|
510
|
+
}>;
|
|
365
511
|
diagnostic: z.ZodString;
|
|
512
|
+
snapshot: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
|
|
513
|
+
requirement: z.ZodExactOptional<z.ZodString>;
|
|
514
|
+
index: z.ZodExactOptional<z.ZodNumber>;
|
|
515
|
+
name: z.ZodExactOptional<z.ZodString>;
|
|
516
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
366
517
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
367
518
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
368
519
|
kind: z.ZodLiteral<"settlement-failed">;
|
|
520
|
+
severity: z.ZodLiteral<"required">;
|
|
369
521
|
debtId: z.ZodExactOptional<z.ZodString>;
|
|
370
522
|
diagnostic: z.ZodString;
|
|
371
523
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
@@ -400,59 +552,97 @@ export declare const reconcileResultSchema: z.ZodUnion<readonly [z.ZodUnion<read
|
|
|
400
552
|
kind: z.ZodLiteral<"debt-settled">;
|
|
401
553
|
debtId: z.ZodString;
|
|
402
554
|
}, z.core.$strict>>]>>>>;
|
|
403
|
-
issues: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
404
|
-
kind: z.ZodLiteral<"worktree-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
kind: z.ZodLiteral<"unsealed-bytes">;
|
|
555
|
+
issues: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [...(z.ZodReadonly<z.ZodObject<{
|
|
556
|
+
kind: z.ZodLiteral<"worktree-hook-failed">;
|
|
557
|
+
phase: z.ZodEnum<{
|
|
558
|
+
create: "create";
|
|
559
|
+
destroy: "destroy";
|
|
560
|
+
}>;
|
|
410
561
|
path: z.ZodString;
|
|
562
|
+
name: z.ZodString;
|
|
563
|
+
diagnostic: z.ZodString;
|
|
564
|
+
severity: z.ZodEnum<{
|
|
565
|
+
optional: "optional";
|
|
566
|
+
required: "required";
|
|
567
|
+
}>;
|
|
411
568
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
412
|
-
}, z.core.$strict
|
|
413
|
-
kind: z.ZodLiteral<"
|
|
414
|
-
path: z.ZodString;
|
|
415
|
-
target: z.ZodString;
|
|
569
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
570
|
+
kind: z.ZodLiteral<"reconcile-failed">;
|
|
416
571
|
diagnostic: z.ZodString;
|
|
572
|
+
severity: z.ZodEnum<{
|
|
573
|
+
optional: "optional";
|
|
574
|
+
required: "required";
|
|
575
|
+
}>;
|
|
417
576
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
418
|
-
}, z.core.$strict
|
|
577
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
419
578
|
kind: z.ZodLiteral<"target-workspace-retained">;
|
|
420
579
|
targetContractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
|
|
421
580
|
reason: z.ZodEnum<{
|
|
422
|
-
missing: "missing";
|
|
423
|
-
replaced: "replaced";
|
|
424
581
|
unappointed: "unappointed";
|
|
582
|
+
missing: "missing";
|
|
425
583
|
association: "association";
|
|
584
|
+
replaced: "replaced";
|
|
426
585
|
attached: "attached";
|
|
427
586
|
uncommitted: "uncommitted";
|
|
428
587
|
operation: "operation";
|
|
429
588
|
}>;
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
phase: z.ZodEnum<{
|
|
434
|
-
destroy: "destroy";
|
|
435
|
-
create: "create";
|
|
589
|
+
severity: z.ZodEnum<{
|
|
590
|
+
optional: "optional";
|
|
591
|
+
required: "required";
|
|
436
592
|
}>;
|
|
593
|
+
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
594
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
595
|
+
kind: z.ZodLiteral<"target-checkout-retained">;
|
|
437
596
|
path: z.ZodString;
|
|
438
|
-
|
|
597
|
+
target: z.ZodString;
|
|
439
598
|
diagnostic: z.ZodString;
|
|
599
|
+
severity: z.ZodEnum<{
|
|
600
|
+
optional: "optional";
|
|
601
|
+
required: "required";
|
|
602
|
+
}>;
|
|
440
603
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
441
|
-
}, z.core.$strict
|
|
442
|
-
kind: z.ZodLiteral<"
|
|
443
|
-
|
|
604
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
605
|
+
kind: z.ZodLiteral<"unsealed-bytes">;
|
|
606
|
+
path: z.ZodString;
|
|
607
|
+
severity: z.ZodEnum<{
|
|
608
|
+
optional: "optional";
|
|
609
|
+
required: "required";
|
|
610
|
+
}>;
|
|
444
611
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
445
|
-
}, z.core.$strict
|
|
612
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
613
|
+
kind: z.ZodLiteral<"worktree-retained">;
|
|
614
|
+
path: z.ZodString;
|
|
615
|
+
diagnostic: z.ZodExactOptional<z.ZodString>;
|
|
616
|
+
severity: z.ZodEnum<{
|
|
617
|
+
optional: "optional";
|
|
618
|
+
required: "required";
|
|
619
|
+
}>;
|
|
620
|
+
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
621
|
+
}, z.core.$strict>> | z.ZodReadonly<z.ZodObject<{
|
|
446
622
|
kind: z.ZodLiteral<"contract-file-failed">;
|
|
447
623
|
path: z.ZodString;
|
|
448
624
|
diagnostic: z.ZodString;
|
|
625
|
+
severity: z.ZodEnum<{
|
|
626
|
+
optional: "optional";
|
|
627
|
+
required: "required";
|
|
628
|
+
}>;
|
|
449
629
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
450
|
-
}, z.core.$strict
|
|
451
|
-
kind: z.ZodLiteral<"
|
|
630
|
+
}, z.core.$strict>>)[], z.ZodReadonly<z.ZodObject<{
|
|
631
|
+
kind: z.ZodLiteral<"diagnostic">;
|
|
632
|
+
severity: z.ZodEnum<{
|
|
633
|
+
optional: "optional";
|
|
634
|
+
required: "required";
|
|
635
|
+
}>;
|
|
452
636
|
diagnostic: z.ZodString;
|
|
637
|
+
snapshot: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
|
|
638
|
+
requirement: z.ZodExactOptional<z.ZodString>;
|
|
639
|
+
index: z.ZodExactOptional<z.ZodNumber>;
|
|
640
|
+
name: z.ZodExactOptional<z.ZodString>;
|
|
641
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
453
642
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
454
643
|
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
455
644
|
kind: z.ZodLiteral<"settlement-failed">;
|
|
645
|
+
severity: z.ZodLiteral<"required">;
|
|
456
646
|
debtId: z.ZodExactOptional<z.ZodString>;
|
|
457
647
|
diagnostic: z.ZodString;
|
|
458
648
|
contractId: z.ZodExactOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
|
|
@@ -463,10 +653,8 @@ export declare const reconcileResultSchema: z.ZodUnion<readonly [z.ZodUnion<read
|
|
|
463
653
|
diagnostic: z.ZodString;
|
|
464
654
|
}, z.core.$strict>>]>]>;
|
|
465
655
|
export type MeaningfulEffect = z.output<typeof reconcileEffectSchema>;
|
|
466
|
-
export type TopologyEffect = MeaningfulEffect;
|
|
467
656
|
export type ReconcileCompletion = z.output<typeof reconcileCompletionSchema>;
|
|
468
657
|
export type RepoContractReconcileReport = z.output<typeof contractReconcileSchema>;
|
|
469
|
-
export type ReconcileReport = RepoContractReconcileReport;
|
|
470
658
|
export type RepoReconcileReport = z.output<typeof repoReconcileReportSchema>;
|
|
471
659
|
type ReconcileProgress = ProtocolProgress & Readonly<{
|
|
472
660
|
recordSettlement(contractId: ContractId, report: SettlementReport): void;
|
|
@@ -480,7 +668,7 @@ type ReconcileOptions = Readonly<{
|
|
|
480
668
|
channel: GitDecodeChannel;
|
|
481
669
|
hooks: WorktreeHooks;
|
|
482
670
|
retryHooks: boolean;
|
|
483
|
-
progress
|
|
671
|
+
progress: ReconcileProgress;
|
|
484
672
|
}>;
|
|
485
673
|
/**
|
|
486
674
|
* The one post-admission reconciliation walk: every affected Contract is observed afresh, and an
|
|
@@ -489,10 +677,10 @@ type ReconcileOptions = Readonly<{
|
|
|
489
677
|
export declare function reconcileAffectedContracts(accumulator: InvocationAccumulator, contractId: ContractId, scope: RepositoryScope, channel: GitDecodeChannel, hooks: WorktreeHooks): Promise<void>;
|
|
490
678
|
export declare function observedReconcileContracts(accumulator: InvocationAccumulator): readonly RepoContractReconcileReport[];
|
|
491
679
|
export declare function reconcileException(error: unknown, accumulator: InvocationAccumulator, contractId?: ContractId): never;
|
|
492
|
-
export declare function completeReconcile(input: ReconcileOptions & Readonly<{
|
|
680
|
+
export declare function completeReconcile(input: Omit<ReconcileOptions, "progress"> & Readonly<{
|
|
493
681
|
contractId: ContractId;
|
|
494
|
-
accumulator
|
|
682
|
+
accumulator: InvocationAccumulator;
|
|
495
683
|
}>): Promise<ReconcileCompletion>;
|
|
496
|
-
export declare function completeRepoReconcile(input: ReconcileOptions & Readonly<{
|
|
497
|
-
accumulator
|
|
684
|
+
export declare function completeRepoReconcile(input: Omit<ReconcileOptions, "progress"> & Readonly<{
|
|
685
|
+
accumulator: InvocationAccumulator;
|
|
498
686
|
}>): Promise<RepoReconcileReport>;
|