@astrosheep/keiyaku 4.6.30 → 4.6.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/build/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/build/plugins/claude/skills/keiyaku/SKILL.md +12 -12
- package/build/plugins/claude/skills/keiyaku-akuma/SKILL.md +16 -16
- package/build/plugins/claude/skills/keiyaku-akuma/references/automation.md +14 -14
- package/build/plugins/claude/skills/keiyaku-babysit/SKILL.md +10 -10
- package/build/plugins/claude/skills/keiyaku-bind/SKILL.md +15 -15
- package/build/plugins/claude/skills/keiyaku-debt/SKILL.md +16 -16
- package/build/plugins/claude/skills/keiyaku-workflow/SKILL.md +21 -21
- package/build/plugins/codex/.codex-plugin/plugin.json +1 -1
- package/build/plugins/codex/skills/keiyaku/SKILL.md +12 -12
- package/build/plugins/codex/skills/keiyaku-akuma/SKILL.md +16 -16
- package/build/plugins/codex/skills/keiyaku-akuma/references/automation.md +14 -14
- package/build/plugins/codex/skills/keiyaku-babysit/SKILL.md +10 -10
- package/build/plugins/codex/skills/keiyaku-bind/SKILL.md +15 -15
- package/build/plugins/codex/skills/keiyaku-debt/SKILL.md +16 -16
- package/build/plugins/codex/skills/keiyaku-workflow/SKILL.md +21 -21
- package/build/plugins/opencode/package.json +1 -1
- package/build/plugins/opencode/skills/keiyaku/SKILL.md +12 -12
- package/build/plugins/opencode/skills/keiyaku-akuma/SKILL.md +16 -16
- package/build/plugins/opencode/skills/keiyaku-akuma/references/automation.md +14 -14
- package/build/plugins/opencode/skills/keiyaku-babysit/SKILL.md +10 -10
- package/build/plugins/opencode/skills/keiyaku-bind/SKILL.md +15 -15
- package/build/plugins/opencode/skills/keiyaku-debt/SKILL.md +16 -16
- package/build/plugins/opencode/skills/keiyaku-workflow/SKILL.md +21 -21
- package/build/plugins/pi/README.md +5 -5
- package/build/plugins/pi/akuma-tools.ts +17 -23
- package/build/skills/keiyaku/SKILL.md +12 -12
- package/build/skills/keiyaku-akuma/SKILL.md +16 -16
- package/build/skills/keiyaku-akuma/references/automation.md +14 -14
- package/build/skills/keiyaku-babysit/SKILL.md +10 -10
- package/build/skills/keiyaku-bind/SKILL.md +15 -15
- package/build/skills/keiyaku-debt/SKILL.md +16 -16
- package/build/skills/keiyaku-workflow/SKILL.md +21 -21
- package/build/src/akuma/akuma-call.d.ts +1 -1
- package/build/src/akuma/akuma-call.js +9 -9
- package/build/src/akuma/akuma-errors.d.ts +5 -5
- package/build/src/akuma/akuma-instance.d.ts +355 -12
- package/build/src/akuma/akuma-instance.js +20 -20
- package/build/src/akuma/akuma-observe.d.ts +11 -12
- package/build/src/akuma/akuma-observe.js +34 -26
- package/build/src/akuma/akuma-owner.d.ts +32 -11
- package/build/src/akuma/akuma-owner.js +35 -16
- package/build/src/akuma/akuma-probe.d.ts +3 -3
- package/build/src/akuma/akuma-probe.js +2 -2
- package/build/src/akuma/akuma-selection-execution.d.ts +985 -1
- package/build/src/akuma/akuma-selection-execution.js +42 -18
- package/build/src/akuma/akuma-stream.d.ts +2 -2
- package/build/src/akuma/akuma-stream.js +1 -1
- package/build/src/akuma/akuma-wait.d.ts +5 -5
- package/build/src/akuma/akuma-wait.js +52 -14
- package/build/src/akuma/akuma.d.ts +245 -271
- package/build/src/akuma/akuma.js +98 -46
- package/build/src/akuma/archetype.d.ts +19 -6
- package/build/src/akuma/archetype.js +25 -9
- package/build/src/akuma/body-launch.d.ts +2 -2
- package/build/src/akuma/body.js +4 -4
- package/build/src/akuma/call-initial-tell.d.ts +60 -44
- package/build/src/akuma/call-initial-tell.js +41 -2
- package/build/src/akuma/caller.d.ts +26 -17
- package/build/src/akuma/caller.js +22 -9
- package/build/src/akuma/coordinate.d.ts +9 -0
- package/build/src/akuma/coordinate.js +13 -0
- package/build/src/akuma/detached-body.js +2 -2
- package/build/src/akuma/dispatch-association.d.ts +4 -4
- package/build/src/akuma/dispatch-association.js +12 -3
- package/build/src/akuma/execution-instructions.js +2 -2
- package/build/src/akuma/heart/facts.d.ts +29 -7
- package/build/src/akuma/heart/facts.js +13 -0
- package/build/src/akuma/heart/index.d.ts +0 -3
- package/build/src/akuma/heart/index.js +3 -6
- package/build/src/akuma/heart/rows.js +2 -2
- package/build/src/akuma/heart/soul.js +5 -5
- package/build/src/akuma/identity.d.ts +17 -16
- package/build/src/akuma/identity.js +20 -19
- package/build/src/akuma/index.d.ts +1 -2
- package/build/src/akuma/lineage-cache.d.ts +4 -4
- package/build/src/akuma/lineage-cache.js +10 -10
- package/build/src/akuma/projection-read.d.ts +2 -5
- package/build/src/akuma/projection-read.js +34 -47
- package/build/src/akuma/projection.d.ts +659 -569
- package/build/src/akuma/projection.js +203 -94
- package/build/src/akuma/providers/acp/index.js +1 -1
- package/build/src/akuma/providers/execution-environment.d.ts +1 -3
- package/build/src/akuma/providers/execution-environment.js +0 -4
- package/build/src/akuma/publication.d.ts +2 -2
- package/build/src/akuma/publication.js +3 -3
- package/build/src/akuma/retention.js +2 -2
- package/build/src/akuma/selection-observation.d.ts +507 -43
- package/build/src/akuma/selection-observation.js +153 -1
- package/build/src/akuma/status-projection.d.ts +288 -0
- package/build/src/akuma/status-projection.js +154 -0
- package/build/src/akuma/turn-drive.js +0 -3
- package/build/src/alias/index.d.ts +9 -4
- package/build/src/alias/index.js +11 -9
- package/build/src/bounded-list.d.ts +8 -0
- package/build/src/bounded-list.js +9 -0
- package/build/src/cli/commands/akuma-grammar.d.ts +2 -2
- package/build/src/cli/commands/akuma-grammar.js +21 -21
- package/build/src/cli/commands/akuma.d.ts +1 -2
- package/build/src/cli/commands/akuma.js +115 -251
- package/build/src/cli/commands/contract-grammar.d.ts +4 -3
- package/build/src/cli/commands/contract-grammar.js +39 -22
- package/build/src/cli/commands/contract-help.d.ts +3 -1
- package/build/src/cli/commands/contract-help.js +4 -3
- package/build/src/cli/commands/contract.d.ts +6 -3
- package/build/src/cli/commands/contract.js +203 -434
- package/build/src/cli/commands/debt.d.ts +2 -3
- package/build/src/cli/commands/debt.js +101 -317
- package/build/src/cli/commands/report.js +11 -28
- package/build/src/cli/commands/whoami.d.ts +3 -43
- package/build/src/cli/commands/whoami.js +8 -121
- package/build/src/cli/coordinates.d.ts +4 -35
- package/build/src/cli/coordinates.js +13 -129
- package/build/src/cli/parse.d.ts +0 -6
- package/build/src/cli/parse.js +5 -48
- package/build/src/cli/render/akuma-activity.d.ts +31 -16
- package/build/src/cli/render/akuma-activity.js +157 -149
- package/build/src/cli/render/akuma-tool.d.ts +3 -6
- package/build/src/cli/render/akuma-tool.js +20 -14
- package/build/src/cli/render/akuma.d.ts +25 -26
- package/build/src/cli/render/akuma.js +100 -129
- package/build/src/cli/render/catalog.d.ts +4 -7
- package/build/src/cli/render/catalog.js +52 -99
- package/build/src/cli/render/contract-history.d.ts +3 -1
- package/build/src/cli/render/contract-history.js +140 -215
- package/build/src/cli/render/contract-observation.d.ts +43 -30
- package/build/src/cli/render/contract-observation.js +64 -31
- package/build/src/cli/render/contract-wait.js +6 -6
- package/build/src/cli/render/contract.d.ts +41 -6
- package/build/src/cli/render/contract.js +274 -370
- package/build/src/cli/render/debt.d.ts +9 -19
- package/build/src/cli/render/debt.js +120 -185
- package/build/src/cli/render/delivery-preview.d.ts +4 -3
- package/build/src/cli/render/delivery-preview.js +68 -96
- package/build/src/cli/render/kanshi-akuma.d.ts +4 -4
- package/build/src/cli/render/kanshi-akuma.js +70 -59
- package/build/src/cli/render/kanshi.d.ts +4 -4
- package/build/src/cli/render/kanshi.js +205 -221
- package/build/src/cli/render/marks.d.ts +11 -2
- package/build/src/cli/render/marks.js +13 -3
- package/build/src/cli/render/nuke.d.ts +3 -3
- package/build/src/cli/render/nuke.js +13 -16
- package/build/src/cli/render/receipt.d.ts +37 -43
- package/build/src/cli/render/receipt.js +313 -236
- package/build/src/cli/render/reconcile.d.ts +6 -4
- package/build/src/cli/render/reconcile.js +53 -137
- package/build/src/cli/render/refusal.d.ts +3 -2
- package/build/src/cli/render/refusal.js +73 -54
- package/build/src/cli/render/region.d.ts +11 -2
- package/build/src/cli/render/region.js +17 -23
- package/build/src/cli/render/settings.d.ts +0 -1
- package/build/src/cli/render/settings.js +8 -17
- package/build/src/cli/render/terminal.d.ts +2 -0
- package/build/src/cli/render/verbs.d.ts +4 -0
- package/build/src/cli/render/verbs.js +312 -0
- package/build/src/cli/render/whoami.d.ts +1 -1
- package/build/src/cli/render/whoami.js +24 -31
- package/build/src/cli/runtime.d.ts +3 -11
- package/build/src/cli/runtime.js +96 -79
- package/build/src/cli/scan.d.ts +1 -1
- package/build/src/cli/streams.js +1 -0
- package/build/src/contract-guidance.js +2 -2
- package/build/src/contract-worktree.d.ts +2 -15
- package/build/src/contract-worktree.js +19 -35
- package/build/src/core/facts/observation.d.ts +4 -5
- package/build/src/core/facts/observation.js +7 -9
- package/build/src/core/verbs/amend.d.ts +0 -1
- package/build/src/core/verbs/amend.js +3 -3
- package/build/src/core/verbs/bind.d.ts +0 -1
- package/build/src/core/verbs/bind.js +5 -5
- package/build/src/core/verbs/deliver.d.ts +3 -2
- package/build/src/core/verbs/deliver.js +2 -2
- package/build/src/core/verbs/placement.d.ts +0 -5
- package/build/src/core/verbs/placement.js +4 -6
- package/build/src/core/verbs/reintegrate.d.ts +0 -1
- package/build/src/core/verbs/reintegrate.js +2 -2
- package/build/src/debt/board.d.ts +132 -116
- package/build/src/debt/board.js +138 -94
- package/build/src/debt/catalog.d.ts +4 -4
- package/build/src/debt/catalog.js +2 -18
- package/build/src/debt/context.d.ts +15 -3
- package/build/src/debt/context.js +12 -1
- package/build/src/debt/created-observation.d.ts +5 -17
- package/build/src/debt/created-observation.js +14 -6
- package/build/src/debt/document.d.ts +20 -15
- package/build/src/debt/document.js +18 -1
- package/build/src/debt/index.d.ts +346 -23
- package/build/src/debt/index.js +68 -22
- package/build/src/debt/input.d.ts +2 -1
- package/build/src/debt/input.js +14 -0
- package/build/src/debt/lifecycle-operations.d.ts +2 -2
- package/build/src/debt/lifecycle-operations.js +14 -22
- package/build/src/debt/operation-types.d.ts +188 -66
- package/build/src/debt/operation-types.js +113 -1
- package/build/src/debt/operations.d.ts +11 -10
- package/build/src/debt/operations.js +46 -71
- package/build/src/debt/query.d.ts +14 -10
- package/build/src/debt/query.js +3 -12
- package/build/src/debt/store.d.ts +4 -2
- package/build/src/debt/store.js +8 -8
- package/build/src/debt/view.d.ts +0 -3
- package/build/src/debt/view.js +0 -4
- package/build/src/dispatch/index.d.ts +22 -5
- package/build/src/dispatch/index.js +46 -37
- package/build/src/git/admission.d.ts +2 -2
- package/build/src/git/admission.js +2 -1
- package/build/src/git/hooks.d.ts +14 -35
- package/build/src/git/hooks.js +45 -25
- package/build/src/git/integration.d.ts +6 -24
- package/build/src/git/integration.js +10 -16
- package/build/src/git/private-state-seat.d.ts +2 -2
- package/build/src/git/private-state-seat.js +2 -1
- package/build/src/git/reconcile.d.ts +17 -79
- package/build/src/git/reconcile.js +37 -52
- package/build/src/git/scratch.d.ts +3 -3
- package/build/src/git/scratch.js +4 -1
- package/build/src/git/target-placement.d.ts +23 -31
- package/build/src/git/target-placement.js +42 -27
- package/build/src/git/target.d.ts +2 -2
- package/build/src/git/target.js +2 -1
- package/build/src/git/tender.d.ts +7 -39
- package/build/src/git/tender.js +21 -54
- package/build/src/git/terminal-reconcile.js +15 -18
- package/build/src/git/terminal-seal.d.ts +2 -4
- package/build/src/git/terminal-seal.js +7 -33
- package/build/src/git/workspace.d.ts +65 -41
- package/build/src/git/workspace.js +45 -14
- package/build/src/identity/selector.d.ts +2 -0
- package/build/src/identity/selector.js +13 -3
- package/build/src/index.d.ts +48 -54
- package/build/src/index.js +31 -43
- package/build/src/kanshi/counts.d.ts +42 -8
- package/build/src/kanshi/counts.js +13 -2
- package/build/src/kanshi/index.d.ts +5 -5
- package/build/src/kanshi/index.js +4 -3
- package/build/src/kanshi/read.d.ts +489 -6
- package/build/src/kanshi/read.js +334 -483
- package/build/src/kanshi/report.d.ts +2504 -103
- package/build/src/kanshi/report.js +165 -1
- package/build/src/kanshi/select.d.ts +0 -8
- package/build/src/kanshi/select.js +20 -59
- package/build/src/library/address.d.ts +8 -8
- package/build/src/library/address.js +7 -7
- package/build/src/library/akuma-creation.d.ts +690 -84
- package/build/src/library/akuma-creation.js +202 -142
- package/build/src/library/akuma-retention.d.ts +2 -2
- package/build/src/library/akuma-retention.js +2 -2
- package/build/src/library/akumas.d.ts +10 -6
- package/build/src/library/akumas.js +24 -7
- package/build/src/library/bind.d.ts +28 -54
- package/build/src/library/bind.js +6 -4
- package/build/src/library/continuation.d.ts +197 -479
- package/build/src/library/continuation.js +40 -23
- package/build/src/library/contract-address.d.ts +6 -5
- package/build/src/library/contract-address.js +5 -7
- package/build/src/library/contract-composition.d.ts +18 -12
- package/build/src/library/contract-composition.js +55 -47
- package/build/src/library/contract-creation.d.ts +3 -2
- package/build/src/library/contract-creation.js +38 -32
- package/build/src/library/contract-execution.js +77 -38
- package/build/src/library/contract-outcomes.d.ts +1877 -27
- package/build/src/library/contract-outcomes.js +93 -10
- package/build/src/library/contract-settings.d.ts +2 -2
- package/build/src/library/contract-settings.js +18 -14
- package/build/src/library/contract-types.d.ts +238 -61
- package/build/src/library/contract-types.js +131 -1
- package/build/src/library/contract-wait.d.ts +38 -17
- package/build/src/library/contract-wait.js +40 -10
- package/build/src/library/delivery.d.ts +588 -36
- package/build/src/library/delivery.js +35 -27
- package/build/src/library/input.d.ts +1 -1
- package/build/src/library/input.js +1 -2
- package/build/src/library/invocation.d.ts +11 -7
- package/build/src/library/invocation.js +42 -51
- package/build/src/library/kei.d.ts +48 -0
- package/build/src/library/kei.js +256 -0
- package/build/src/library/keiyaku-attribution.d.ts +11 -0
- package/build/src/{cli/delivery-identity.js → library/keiyaku-attribution.js} +12 -1
- package/build/src/library/keiyaku-classify.d.ts +11 -0
- package/build/src/library/keiyaku-classify.js +146 -0
- package/build/src/library/keiyaku-coordinates.d.ts +31 -0
- package/build/src/library/keiyaku-coordinates.js +103 -0
- package/build/src/library/keiyaku-debt.d.ts +142 -0
- package/build/src/library/keiyaku-debt.js +188 -0
- package/build/src/library/keiyaku-identity.d.ts +58 -0
- package/build/src/library/keiyaku-identity.js +176 -0
- package/build/src/library/keiyaku-policy.d.ts +27 -0
- package/build/src/library/keiyaku-policy.js +44 -0
- package/build/src/library/keiyaku-status.d.ts +1487 -0
- package/build/src/library/keiyaku-status.js +92 -0
- package/build/src/library/keiyaku-verbs.d.ts +6774 -0
- package/build/src/library/keiyaku-verbs.js +458 -0
- package/build/src/library/keiyaku.d.ts +871 -38
- package/build/src/library/keiyaku.js +677 -127
- package/build/src/library/nuke.d.ts +22 -0
- package/build/src/library/nuke.js +4 -1
- package/build/src/library/outcome.d.ts +706 -692
- package/build/src/library/outcome.js +582 -167
- package/build/src/library/reconcile.d.ts +464 -116
- package/build/src/library/reconcile.js +174 -102
- package/build/src/library/refusal.d.ts +113 -577
- package/build/src/library/refusal.js +64 -51
- package/build/src/library/region.d.ts +5 -24
- package/build/src/library/region.js +6 -21
- package/build/src/library/selection.d.ts +181 -32
- package/build/src/library/selection.js +99 -64
- package/build/src/mcp/adapter.d.ts +11 -0
- package/build/src/mcp/adapter.js +106 -0
- package/build/src/mcp/help.d.ts +1 -0
- package/build/src/mcp/help.js +26 -0
- package/build/src/mcp/index.d.ts +2 -0
- package/build/src/mcp/index.js +37 -0
- package/build/src/plugin/public.d.ts +1 -1
- package/build/src/plugin/runtime.js +17 -14
- package/build/src/protocol/arc.d.ts +4 -1
- package/build/src/protocol/arc.js +7 -1
- package/build/src/protocol/attempt.d.ts +2 -3
- package/build/src/protocol/attempt.js +1 -10
- package/build/src/protocol/bind.d.ts +6 -7
- package/build/src/protocol/bind.js +9 -5
- package/build/src/protocol/completion.d.ts +448 -12
- package/build/src/protocol/completion.js +164 -26
- package/build/src/protocol/deliver.d.ts +26 -24
- package/build/src/protocol/deliver.js +24 -52
- package/build/src/protocol/delivery-preview.d.ts +97 -247
- package/build/src/protocol/delivery-preview.js +132 -128
- package/build/src/protocol/execution-observation.d.ts +146 -123
- package/build/src/protocol/execution-observation.js +9 -6
- package/build/src/protocol/intent.d.ts +9 -48
- package/build/src/protocol/intent.js +32 -46
- package/build/src/protocol/operations.d.ts +207 -505
- package/build/src/protocol/operations.js +81 -134
- package/build/src/protocol/placement.d.ts +0 -1
- package/build/src/protocol/placement.js +5 -2
- package/build/src/protocol/progress.d.ts +7 -97
- package/build/src/protocol/progress.js +7 -55
- package/build/src/protocol/read/observation.d.ts +13 -6
- package/build/src/protocol/read/observation.js +10 -9
- package/build/src/protocol/read/status.d.ts +464 -93
- package/build/src/protocol/read/status.js +372 -85
- package/build/src/protocol/reconcile.d.ts +2 -0
- package/build/src/protocol/reconcile.js +12 -11
- package/build/src/protocol/reintegrate.d.ts +0 -1
- package/build/src/protocol/reintegrate.js +4 -4
- package/build/src/protocol/result-leaves.d.ts +528 -0
- package/build/src/protocol/result-leaves.js +195 -0
- package/build/src/protocol/result-reasons.d.ts +129 -0
- package/build/src/protocol/result-reasons.js +87 -0
- package/build/src/protocol/review.d.ts +14 -11
- package/build/src/protocol/review.js +30 -14
- package/build/src/protocol/run.d.ts +4 -4
- package/build/src/protocol/run.js +4 -1
- package/build/src/protocol/verify.d.ts +359 -30
- package/build/src/protocol/verify.js +118 -28
- package/build/src/region.d.ts +26 -0
- package/build/src/region.js +28 -0
- package/build/src/runtime/proc/diagnostic.d.ts +11 -0
- package/build/src/runtime/proc/diagnostic.js +20 -0
- package/build/src/runtime/proc/windows-launch.exe +0 -0
- package/build/src/settings.d.ts +126 -32
- package/build/src/settings.js +107 -34
- package/build/src/settlement/settle.d.ts +29 -12
- package/build/src/settlement/settle.js +22 -15
- package/build/src/verification/declaration.d.ts +1 -3
- package/build/src/verification/declaration.js +2 -5
- package/build/src/verification/execution.d.ts +7 -19
- package/build/src/verification/execution.js +37 -16
- package/build/src/verification/observation.d.ts +13 -13
- package/build/src/verification/observation.js +9 -7
- package/build/src/world.d.ts +8 -0
- package/build/src/world.js +7 -0
- package/package.json +6 -5
- package/plugins/paseo/plugin/server/keiyaku.ts +13 -46
- package/plugins/paseo/plugin/server/message.ts +8 -30
- package/plugins/paseo/plugin/server/mirror.ts +16 -20
- package/plugins/paseo/plugin/server/provider.ts +1 -1
- package/plugins/paseo/plugin/server/sdk.ts +14 -6
- package/plugins/pi/README.md +5 -5
- package/plugins/pi/akuma-tools.ts +17 -23
- package/skills/keiyaku/SKILL.md +12 -12
- package/skills/keiyaku-akuma/SKILL.md +16 -16
- package/skills/keiyaku-akuma/references/automation.md +14 -14
- package/skills/keiyaku-babysit/SKILL.md +10 -10
- package/skills/keiyaku-bind/SKILL.md +15 -15
- package/skills/keiyaku-debt/SKILL.md +16 -16
- package/skills/keiyaku-workflow/SKILL.md +21 -21
- package/build/src/cli/actor.d.ts +0 -10
- package/build/src/cli/actor.js +0 -24
- package/build/src/cli/akuma-caller.d.ts +0 -3
- package/build/src/cli/akuma-caller.js +0 -31
- package/build/src/cli/delivery-identity.d.ts +0 -3
- package/build/src/cli/render/effects.d.ts +0 -26
- package/build/src/cli/render/effects.js +0 -41
- package/build/src/cli/selectors.d.ts +0 -10
- package/build/src/cli/selectors.js +0 -42
- package/build/src/markdown/diff.d.ts +0 -1
- package/build/src/markdown/diff.js +0 -4
|
@@ -1,37 +1,97 @@
|
|
|
1
1
|
import type { TimelineFact } from "./heart/index.js";
|
|
2
|
-
import {
|
|
2
|
+
import { reportFactSchema } from "./heart/facts.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
|
-
declare const
|
|
4
|
+
export declare const publicFileChangeSchema: z.ZodReadonly<z.ZodObject<{
|
|
5
|
+
op: z.ZodEnum<{
|
|
6
|
+
add: "add";
|
|
7
|
+
update: "update";
|
|
8
|
+
delete: "delete";
|
|
9
|
+
unspecified: "unspecified";
|
|
10
|
+
}>;
|
|
11
|
+
path: z.ZodString;
|
|
12
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
13
|
+
added: z.ZodNumber;
|
|
14
|
+
removed: z.ZodNumber;
|
|
15
|
+
}, z.core.$strict>>>;
|
|
16
|
+
patch: z.ZodExactOptional<z.ZodString>;
|
|
17
|
+
}, z.core.$strict>>;
|
|
18
|
+
export declare const publicRunCallSchema: z.ZodReadonly<z.ZodObject<{
|
|
19
|
+
kind: z.ZodLiteral<"run">;
|
|
20
|
+
command: z.ZodString;
|
|
21
|
+
}, z.core.$strict>>;
|
|
22
|
+
export declare const publicReadCallSchema: z.ZodReadonly<z.ZodObject<{
|
|
23
|
+
kind: z.ZodLiteral<"read">;
|
|
24
|
+
path: z.ZodString;
|
|
25
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
26
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
27
|
+
}, z.core.$strict>>;
|
|
28
|
+
export declare const publicSearchCallSchema: z.ZodReadonly<z.ZodObject<{
|
|
29
|
+
kind: z.ZodLiteral<"search">;
|
|
30
|
+
query: z.ZodString;
|
|
31
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
32
|
+
content: "content";
|
|
33
|
+
files: "files";
|
|
34
|
+
web: "web";
|
|
35
|
+
}>>;
|
|
36
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
37
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
38
|
+
}, z.core.$strict>>;
|
|
39
|
+
export declare const publicChangeCallSchema: z.ZodReadonly<z.ZodObject<{
|
|
40
|
+
kind: z.ZodLiteral<"fileChange">;
|
|
41
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
42
|
+
op: z.ZodEnum<{
|
|
43
|
+
add: "add";
|
|
44
|
+
update: "update";
|
|
45
|
+
delete: "delete";
|
|
46
|
+
unspecified: "unspecified";
|
|
47
|
+
}>;
|
|
48
|
+
path: z.ZodString;
|
|
49
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
50
|
+
added: z.ZodNumber;
|
|
51
|
+
removed: z.ZodNumber;
|
|
52
|
+
}, z.core.$strict>>>;
|
|
53
|
+
patch: z.ZodExactOptional<z.ZodString>;
|
|
54
|
+
}, z.core.$strict>>>>;
|
|
55
|
+
}, z.core.$strict>>;
|
|
56
|
+
export declare const publicToolResultSchema: z.ZodReadonly<z.ZodObject<{
|
|
57
|
+
status: z.ZodEnum<{
|
|
58
|
+
error: "error";
|
|
59
|
+
ok: "ok";
|
|
60
|
+
}>;
|
|
61
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
62
|
+
output: z.ZodExactOptional<z.ZodString>;
|
|
63
|
+
exitCode: z.ZodExactOptional<z.ZodNumber>;
|
|
64
|
+
}, z.core.$strict>>;
|
|
65
|
+
declare const turnRowSchema: z.ZodReadonly<z.ZodObject<{
|
|
5
66
|
kind: z.ZodLiteral<"turn">;
|
|
6
67
|
sequence: z.ZodNumber;
|
|
7
|
-
turnSequence: z.ZodNumber;
|
|
8
68
|
bodySequence: z.ZodNumber;
|
|
9
69
|
at: z.ZodString;
|
|
10
|
-
}, z.core.$strict
|
|
11
|
-
declare const callRowSchema: z.ZodObject<{
|
|
70
|
+
}, z.core.$strict>>;
|
|
71
|
+
declare const callRowSchema: z.ZodReadonly<z.ZodObject<{
|
|
12
72
|
kind: z.ZodLiteral<"call">;
|
|
13
73
|
sequence: z.ZodNumber;
|
|
14
74
|
turnSequence: z.ZodNumber;
|
|
15
75
|
at: z.ZodString;
|
|
16
76
|
text: z.ZodString;
|
|
17
|
-
}, z.core.$strict
|
|
18
|
-
declare const reportRowSchema: z.ZodObject<{
|
|
77
|
+
}, z.core.$strict>>;
|
|
78
|
+
export declare const reportRowSchema: z.ZodReadonly<z.ZodObject<{
|
|
19
79
|
kind: z.ZodLiteral<"report">;
|
|
20
80
|
sequence: z.ZodNumber;
|
|
21
81
|
bodySequence: z.ZodNumber;
|
|
22
82
|
turnSequence: z.ZodNumber;
|
|
23
83
|
text: z.ZodString;
|
|
24
84
|
at: z.ZodString;
|
|
25
|
-
}, z.core.$strict
|
|
26
|
-
declare const textRowSchema: (kind: "said" | "thought" | "note") => z.ZodObject<{
|
|
85
|
+
}, z.core.$strict>>;
|
|
86
|
+
export declare const textRowSchema: (kind: "said" | "thought" | "note") => z.ZodReadonly<z.ZodObject<{
|
|
27
87
|
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
28
88
|
sequence: z.ZodNumber;
|
|
29
89
|
turnSequence: z.ZodNumber;
|
|
30
90
|
at: z.ZodString;
|
|
31
91
|
text: z.ZodString;
|
|
32
|
-
truncated: z.
|
|
33
|
-
}, z.core.$strict
|
|
34
|
-
export declare const tellRowSchema: z.ZodObject<{
|
|
92
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
93
|
+
}, z.core.$strict>>;
|
|
94
|
+
export declare const tellRowSchema: z.ZodReadonly<z.ZodObject<{
|
|
35
95
|
kind: z.ZodLiteral<"tell">;
|
|
36
96
|
sequence: z.ZodNumber;
|
|
37
97
|
at: z.ZodString;
|
|
@@ -41,75 +101,69 @@ export declare const tellRowSchema: z.ZodObject<{
|
|
|
41
101
|
pending: "pending";
|
|
42
102
|
told: "told";
|
|
43
103
|
}>;
|
|
44
|
-
deliveries: z.ZodReadonly<z.ZodArray<z.
|
|
104
|
+
deliveries: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
45
105
|
deliveredAt: z.ZodString;
|
|
46
106
|
route: z.ZodEnum<{
|
|
47
107
|
launch: "launch";
|
|
48
108
|
live: "live";
|
|
49
109
|
}>;
|
|
50
110
|
turnSequence: z.ZodNumber;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
receipt?: "unavailable" | "required" | undefined;
|
|
65
|
-
}>>>>;
|
|
66
|
-
}, z.core.$strict>;
|
|
67
|
-
declare const outcomeRowSchema: z.ZodObject<{
|
|
111
|
+
}, z.core.$strict>>>>;
|
|
112
|
+
}, z.core.$strict>>;
|
|
113
|
+
export declare const outcomeSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
114
|
+
kind: z.ZodLiteral<"answered">;
|
|
115
|
+
answer: z.ZodString;
|
|
116
|
+
foldedSaidSequence: z.ZodExactOptional<z.ZodNumber>;
|
|
117
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
118
|
+
kind: z.ZodLiteral<"failed">;
|
|
119
|
+
diagnostic: z.ZodString;
|
|
120
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
121
|
+
kind: z.ZodLiteral<"canceled">;
|
|
122
|
+
}, z.core.$strict>>]>;
|
|
123
|
+
export declare const outcomeRowSchema: z.ZodReadonly<z.ZodObject<{
|
|
68
124
|
kind: z.ZodLiteral<"outcome">;
|
|
69
125
|
sequence: z.ZodNumber;
|
|
70
126
|
turnSequence: z.ZodNumber;
|
|
71
127
|
at: z.ZodString;
|
|
72
|
-
outcome: z.ZodUnion<readonly [z.ZodObject<{
|
|
128
|
+
outcome: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
73
129
|
kind: z.ZodLiteral<"answered">;
|
|
74
|
-
historyId: z.ZodString;
|
|
75
130
|
answer: z.ZodString;
|
|
76
|
-
foldedSaidSequence: z.
|
|
77
|
-
}, z.core.$strict
|
|
131
|
+
foldedSaidSequence: z.ZodExactOptional<z.ZodNumber>;
|
|
132
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
78
133
|
kind: z.ZodLiteral<"failed">;
|
|
79
|
-
historyId: z.ZodString;
|
|
80
134
|
diagnostic: z.ZodString;
|
|
81
|
-
}, z.core.$strict
|
|
135
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
82
136
|
kind: z.ZodLiteral<"canceled">;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
declare const activeToolRowSchema: z.ZodObject<{
|
|
137
|
+
}, z.core.$strict>>]>;
|
|
138
|
+
}, z.core.$strict>>;
|
|
139
|
+
declare const completedToolRowSchema: z.ZodReadonly<z.ZodObject<{
|
|
87
140
|
kind: z.ZodLiteral<"tool">;
|
|
88
141
|
sequence: z.ZodNumber;
|
|
89
142
|
turnSequence: z.ZodNumber;
|
|
90
143
|
at: z.ZodString;
|
|
144
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
91
145
|
name: z.ZodString;
|
|
92
|
-
call: z.ZodUnion<readonly [z.ZodObject<{
|
|
146
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
93
147
|
kind: z.ZodLiteral<"run">;
|
|
94
148
|
command: z.ZodString;
|
|
95
|
-
}, z.core.$strict
|
|
149
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
96
150
|
kind: z.ZodLiteral<"read">;
|
|
97
151
|
path: z.ZodString;
|
|
98
|
-
offset: z.
|
|
99
|
-
limit: z.
|
|
100
|
-
}, z.core.$strict
|
|
152
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
153
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
154
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
101
155
|
kind: z.ZodLiteral<"search">;
|
|
102
156
|
query: z.ZodString;
|
|
103
|
-
scope: z.
|
|
157
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
104
158
|
content: "content";
|
|
105
159
|
files: "files";
|
|
106
160
|
web: "web";
|
|
107
161
|
}>>;
|
|
108
|
-
path: z.
|
|
109
|
-
glob: z.
|
|
110
|
-
}, z.core.$strict
|
|
162
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
163
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
164
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
111
165
|
kind: z.ZodLiteral<"fileChange">;
|
|
112
|
-
changes: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
166
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
113
167
|
op: z.ZodEnum<{
|
|
114
168
|
add: "add";
|
|
115
169
|
update: "update";
|
|
@@ -117,112 +171,60 @@ declare const activeToolRowSchema: z.ZodObject<{
|
|
|
117
171
|
unspecified: "unspecified";
|
|
118
172
|
}>;
|
|
119
173
|
path: z.ZodString;
|
|
120
|
-
|
|
121
|
-
diffstat: z.ZodOptional<z.ZodObject<{
|
|
174
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
122
175
|
added: z.ZodNumber;
|
|
123
176
|
removed: z.ZodNumber;
|
|
124
|
-
}, z.core.$strict
|
|
125
|
-
|
|
126
|
-
|
|
177
|
+
}, z.core.$strict>>>;
|
|
178
|
+
patch: z.ZodExactOptional<z.ZodString>;
|
|
179
|
+
}, z.core.$strict>>>>;
|
|
180
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
127
181
|
kind: z.ZodLiteral<"other">;
|
|
128
|
-
|
|
129
|
-
input: z.ZodOptional<z.ZodObject<{
|
|
182
|
+
input: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
130
183
|
json: z.ZodString;
|
|
131
|
-
truncated: z.
|
|
132
|
-
}, z.core.$strict>>;
|
|
133
|
-
}, z.core.$strict>]>;
|
|
134
|
-
state: z.ZodLiteral<"active">;
|
|
135
|
-
toolId: z.ZodOptional<z.ZodString>;
|
|
136
|
-
truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
137
|
-
}, z.core.$strict>;
|
|
138
|
-
declare const completedToolRowSchema: z.ZodObject<{
|
|
139
|
-
kind: z.ZodLiteral<"tool">;
|
|
140
|
-
sequence: z.ZodNumber;
|
|
141
|
-
turnSequence: z.ZodNumber;
|
|
142
|
-
at: z.ZodString;
|
|
143
|
-
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
144
|
-
name: z.ZodString;
|
|
145
|
-
call: z.ZodUnion<readonly [z.ZodObject<{
|
|
146
|
-
kind: z.ZodLiteral<"run">;
|
|
147
|
-
command: z.ZodString;
|
|
148
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
149
|
-
kind: z.ZodLiteral<"read">;
|
|
150
|
-
path: z.ZodString;
|
|
151
|
-
offset: z.ZodOptional<z.ZodNumber>;
|
|
152
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
153
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
154
|
-
kind: z.ZodLiteral<"search">;
|
|
155
|
-
query: z.ZodString;
|
|
156
|
-
scope: z.ZodOptional<z.ZodEnum<{
|
|
157
|
-
content: "content";
|
|
158
|
-
files: "files";
|
|
159
|
-
web: "web";
|
|
160
|
-
}>>;
|
|
161
|
-
path: z.ZodOptional<z.ZodString>;
|
|
162
|
-
glob: z.ZodOptional<z.ZodString>;
|
|
163
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
164
|
-
kind: z.ZodLiteral<"fileChange">;
|
|
165
|
-
changes: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
166
|
-
op: z.ZodEnum<{
|
|
167
|
-
add: "add";
|
|
168
|
-
update: "update";
|
|
169
|
-
delete: "delete";
|
|
170
|
-
unspecified: "unspecified";
|
|
171
|
-
}>;
|
|
172
|
-
path: z.ZodString;
|
|
173
|
-
patch: z.ZodOptional<z.ZodString>;
|
|
174
|
-
diffstat: z.ZodOptional<z.ZodObject<{
|
|
175
|
-
added: z.ZodNumber;
|
|
176
|
-
removed: z.ZodNumber;
|
|
177
|
-
}, z.core.$strict>>;
|
|
184
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
178
185
|
}, z.core.$strict>>>;
|
|
179
|
-
}, z.core.$strict
|
|
180
|
-
|
|
181
|
-
display: z.ZodString;
|
|
182
|
-
input: z.ZodOptional<z.ZodObject<{
|
|
183
|
-
json: z.ZodString;
|
|
184
|
-
truncated: z.ZodBoolean;
|
|
185
|
-
}, z.core.$strict>>;
|
|
186
|
-
}, z.core.$strict>]>;
|
|
187
|
-
state: z.ZodObject<{
|
|
186
|
+
}, z.core.$strict>>]>;
|
|
187
|
+
state: z.ZodReadonly<z.ZodObject<{
|
|
188
188
|
status: z.ZodEnum<{
|
|
189
189
|
error: "error";
|
|
190
190
|
ok: "ok";
|
|
191
191
|
}>;
|
|
192
|
-
message: z.
|
|
193
|
-
output: z.
|
|
194
|
-
exitCode: z.
|
|
195
|
-
}, z.core.$strict
|
|
196
|
-
toolId: z.
|
|
197
|
-
truncated: z.
|
|
198
|
-
}, z.core.$strict
|
|
199
|
-
|
|
192
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
193
|
+
output: z.ZodExactOptional<z.ZodString>;
|
|
194
|
+
exitCode: z.ZodExactOptional<z.ZodNumber>;
|
|
195
|
+
}, z.core.$strict>>;
|
|
196
|
+
toolId: z.ZodString;
|
|
197
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
198
|
+
}, z.core.$strict>>;
|
|
199
|
+
/** Tool state varies inside one kind-tagged row, not competing tool alternatives. */
|
|
200
|
+
export declare const toolRowSchema: z.ZodReadonly<z.ZodObject<{
|
|
200
201
|
kind: z.ZodLiteral<"tool">;
|
|
201
202
|
sequence: z.ZodNumber;
|
|
202
203
|
turnSequence: z.ZodNumber;
|
|
203
204
|
at: z.ZodString;
|
|
205
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
204
206
|
name: z.ZodString;
|
|
205
|
-
call: z.ZodUnion<readonly [z.ZodObject<{
|
|
207
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
206
208
|
kind: z.ZodLiteral<"run">;
|
|
207
209
|
command: z.ZodString;
|
|
208
|
-
}, z.core.$strict
|
|
210
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
209
211
|
kind: z.ZodLiteral<"read">;
|
|
210
212
|
path: z.ZodString;
|
|
211
|
-
offset: z.
|
|
212
|
-
limit: z.
|
|
213
|
-
}, z.core.$strict
|
|
213
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
214
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
215
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
214
216
|
kind: z.ZodLiteral<"search">;
|
|
215
217
|
query: z.ZodString;
|
|
216
|
-
scope: z.
|
|
218
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
217
219
|
content: "content";
|
|
218
220
|
files: "files";
|
|
219
221
|
web: "web";
|
|
220
222
|
}>>;
|
|
221
|
-
path: z.
|
|
222
|
-
glob: z.
|
|
223
|
-
}, z.core.$strict
|
|
223
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
224
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
225
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
224
226
|
kind: z.ZodLiteral<"fileChange">;
|
|
225
|
-
changes: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
227
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
226
228
|
op: z.ZodEnum<{
|
|
227
229
|
add: "add";
|
|
228
230
|
update: "update";
|
|
@@ -230,59 +232,69 @@ declare const unsettledToolRowSchema: z.ZodObject<{
|
|
|
230
232
|
unspecified: "unspecified";
|
|
231
233
|
}>;
|
|
232
234
|
path: z.ZodString;
|
|
233
|
-
|
|
234
|
-
diffstat: z.ZodOptional<z.ZodObject<{
|
|
235
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
235
236
|
added: z.ZodNumber;
|
|
236
237
|
removed: z.ZodNumber;
|
|
237
|
-
}, z.core.$strict
|
|
238
|
-
|
|
239
|
-
|
|
238
|
+
}, z.core.$strict>>>;
|
|
239
|
+
patch: z.ZodExactOptional<z.ZodString>;
|
|
240
|
+
}, z.core.$strict>>>>;
|
|
241
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
240
242
|
kind: z.ZodLiteral<"other">;
|
|
241
|
-
|
|
242
|
-
input: z.ZodOptional<z.ZodObject<{
|
|
243
|
+
input: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
243
244
|
json: z.ZodString;
|
|
244
|
-
truncated: z.
|
|
245
|
-
}, z.core.$strict
|
|
246
|
-
}, z.core.$strict
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
245
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
246
|
+
}, z.core.$strict>>>;
|
|
247
|
+
}, z.core.$strict>>]>;
|
|
248
|
+
toolId: z.ZodString;
|
|
249
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
250
|
+
state: z.ZodUnion<readonly [z.ZodEnum<{
|
|
251
|
+
active: "active";
|
|
252
|
+
unsettled: "unsettled";
|
|
253
|
+
}>, z.ZodReadonly<z.ZodObject<{
|
|
254
|
+
status: z.ZodEnum<{
|
|
255
|
+
error: "error";
|
|
256
|
+
ok: "ok";
|
|
257
|
+
}>;
|
|
258
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
259
|
+
output: z.ZodExactOptional<z.ZodString>;
|
|
260
|
+
exitCode: z.ZodExactOptional<z.ZodNumber>;
|
|
261
|
+
}, z.core.$strict>>]>;
|
|
262
|
+
}, z.core.$strict>>;
|
|
263
|
+
declare const openSnapshotRowSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
252
264
|
kind: z.ZodLiteral<"report">;
|
|
253
265
|
sequence: z.ZodNumber;
|
|
254
266
|
bodySequence: z.ZodNumber;
|
|
255
267
|
turnSequence: z.ZodNumber;
|
|
256
268
|
text: z.ZodString;
|
|
257
269
|
at: z.ZodString;
|
|
258
|
-
}, z.core.$strict
|
|
270
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
259
271
|
kind: z.ZodLiteral<"call">;
|
|
260
272
|
sequence: z.ZodNumber;
|
|
261
273
|
turnSequence: z.ZodNumber;
|
|
262
274
|
at: z.ZodString;
|
|
263
275
|
text: z.ZodString;
|
|
264
|
-
}, z.core.$strict
|
|
276
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
265
277
|
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
266
278
|
sequence: z.ZodNumber;
|
|
267
279
|
turnSequence: z.ZodNumber;
|
|
268
280
|
at: z.ZodString;
|
|
269
281
|
text: z.ZodString;
|
|
270
|
-
truncated: z.
|
|
271
|
-
}, z.core.$strict
|
|
282
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
283
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
272
284
|
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
273
285
|
sequence: z.ZodNumber;
|
|
274
286
|
turnSequence: z.ZodNumber;
|
|
275
287
|
at: z.ZodString;
|
|
276
288
|
text: z.ZodString;
|
|
277
|
-
truncated: z.
|
|
278
|
-
}, z.core.$strict
|
|
289
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
290
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
279
291
|
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
280
292
|
sequence: z.ZodNumber;
|
|
281
293
|
turnSequence: z.ZodNumber;
|
|
282
294
|
at: z.ZodString;
|
|
283
295
|
text: z.ZodString;
|
|
284
|
-
truncated: z.
|
|
285
|
-
}, z.core.$strict
|
|
296
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
297
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
286
298
|
kind: z.ZodLiteral<"tell">;
|
|
287
299
|
sequence: z.ZodNumber;
|
|
288
300
|
at: z.ZodString;
|
|
@@ -292,55 +304,42 @@ declare const openSnapshotRowSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z
|
|
|
292
304
|
pending: "pending";
|
|
293
305
|
told: "told";
|
|
294
306
|
}>;
|
|
295
|
-
deliveries: z.ZodReadonly<z.ZodArray<z.
|
|
307
|
+
deliveries: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
296
308
|
deliveredAt: z.ZodString;
|
|
297
309
|
route: z.ZodEnum<{
|
|
298
310
|
launch: "launch";
|
|
299
311
|
live: "live";
|
|
300
312
|
}>;
|
|
301
313
|
turnSequence: z.ZodNumber;
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
required: "required";
|
|
305
|
-
}>>;
|
|
306
|
-
}, z.core.$strict>, z.ZodTransform<Readonly<{
|
|
307
|
-
turnSequence: number;
|
|
308
|
-
route: "launch" | "live";
|
|
309
|
-
receipt?: "unavailable" | "required";
|
|
310
|
-
deliveredAt: string;
|
|
311
|
-
}>, {
|
|
312
|
-
deliveredAt: string;
|
|
313
|
-
route: "launch" | "live";
|
|
314
|
-
turnSequence: number;
|
|
315
|
-
receipt?: "unavailable" | "required" | undefined;
|
|
316
|
-
}>>>>;
|
|
317
|
-
}, z.core.$strict>]>, z.ZodObject<{
|
|
314
|
+
}, z.core.$strict>>>>;
|
|
315
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
318
316
|
kind: z.ZodLiteral<"tool">;
|
|
319
317
|
sequence: z.ZodNumber;
|
|
320
318
|
turnSequence: z.ZodNumber;
|
|
321
319
|
at: z.ZodString;
|
|
320
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
322
321
|
name: z.ZodString;
|
|
323
|
-
call: z.ZodUnion<readonly [z.ZodObject<{
|
|
322
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
324
323
|
kind: z.ZodLiteral<"run">;
|
|
325
324
|
command: z.ZodString;
|
|
326
|
-
}, z.core.$strict
|
|
325
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
327
326
|
kind: z.ZodLiteral<"read">;
|
|
328
327
|
path: z.ZodString;
|
|
329
|
-
offset: z.
|
|
330
|
-
limit: z.
|
|
331
|
-
}, z.core.$strict
|
|
328
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
329
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
330
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
332
331
|
kind: z.ZodLiteral<"search">;
|
|
333
332
|
query: z.ZodString;
|
|
334
|
-
scope: z.
|
|
333
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
335
334
|
content: "content";
|
|
336
335
|
files: "files";
|
|
337
336
|
web: "web";
|
|
338
337
|
}>>;
|
|
339
|
-
path: z.
|
|
340
|
-
glob: z.
|
|
341
|
-
}, z.core.$strict
|
|
338
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
339
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
340
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
342
341
|
kind: z.ZodLiteral<"fileChange">;
|
|
343
|
-
changes: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
342
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
344
343
|
op: z.ZodEnum<{
|
|
345
344
|
add: "add";
|
|
346
345
|
update: "update";
|
|
@@ -348,119 +347,66 @@ declare const openSnapshotRowSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z
|
|
|
348
347
|
unspecified: "unspecified";
|
|
349
348
|
}>;
|
|
350
349
|
path: z.ZodString;
|
|
351
|
-
|
|
352
|
-
diffstat: z.ZodOptional<z.ZodObject<{
|
|
350
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
353
351
|
added: z.ZodNumber;
|
|
354
352
|
removed: z.ZodNumber;
|
|
355
|
-
}, z.core.$strict
|
|
356
|
-
|
|
357
|
-
|
|
353
|
+
}, z.core.$strict>>>;
|
|
354
|
+
patch: z.ZodExactOptional<z.ZodString>;
|
|
355
|
+
}, z.core.$strict>>>>;
|
|
356
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
358
357
|
kind: z.ZodLiteral<"other">;
|
|
359
|
-
|
|
360
|
-
input: z.ZodOptional<z.ZodObject<{
|
|
358
|
+
input: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
361
359
|
json: z.ZodString;
|
|
362
|
-
truncated: z.
|
|
363
|
-
}, z.core.$strict>>;
|
|
364
|
-
}, z.core.$strict>]>;
|
|
365
|
-
state: z.ZodLiteral<"active">;
|
|
366
|
-
toolId: z.ZodOptional<z.ZodString>;
|
|
367
|
-
truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
368
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
369
|
-
kind: z.ZodLiteral<"tool">;
|
|
370
|
-
sequence: z.ZodNumber;
|
|
371
|
-
turnSequence: z.ZodNumber;
|
|
372
|
-
at: z.ZodString;
|
|
373
|
-
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
374
|
-
name: z.ZodString;
|
|
375
|
-
call: z.ZodUnion<readonly [z.ZodObject<{
|
|
376
|
-
kind: z.ZodLiteral<"run">;
|
|
377
|
-
command: z.ZodString;
|
|
378
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
379
|
-
kind: z.ZodLiteral<"read">;
|
|
380
|
-
path: z.ZodString;
|
|
381
|
-
offset: z.ZodOptional<z.ZodNumber>;
|
|
382
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
383
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
384
|
-
kind: z.ZodLiteral<"search">;
|
|
385
|
-
query: z.ZodString;
|
|
386
|
-
scope: z.ZodOptional<z.ZodEnum<{
|
|
387
|
-
content: "content";
|
|
388
|
-
files: "files";
|
|
389
|
-
web: "web";
|
|
390
|
-
}>>;
|
|
391
|
-
path: z.ZodOptional<z.ZodString>;
|
|
392
|
-
glob: z.ZodOptional<z.ZodString>;
|
|
393
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
394
|
-
kind: z.ZodLiteral<"fileChange">;
|
|
395
|
-
changes: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
396
|
-
op: z.ZodEnum<{
|
|
397
|
-
add: "add";
|
|
398
|
-
update: "update";
|
|
399
|
-
delete: "delete";
|
|
400
|
-
unspecified: "unspecified";
|
|
401
|
-
}>;
|
|
402
|
-
path: z.ZodString;
|
|
403
|
-
patch: z.ZodOptional<z.ZodString>;
|
|
404
|
-
diffstat: z.ZodOptional<z.ZodObject<{
|
|
405
|
-
added: z.ZodNumber;
|
|
406
|
-
removed: z.ZodNumber;
|
|
407
|
-
}, z.core.$strict>>;
|
|
360
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
408
361
|
}, z.core.$strict>>>;
|
|
409
|
-
}, z.core.$strict
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
json: z.ZodString;
|
|
414
|
-
truncated: z.ZodBoolean;
|
|
415
|
-
}, z.core.$strict>>;
|
|
416
|
-
}, z.core.$strict>]>;
|
|
417
|
-
state: z.ZodObject<{
|
|
362
|
+
}, z.core.$strict>>]>;
|
|
363
|
+
toolId: z.ZodString;
|
|
364
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
365
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
418
366
|
status: z.ZodEnum<{
|
|
419
367
|
error: "error";
|
|
420
368
|
ok: "ok";
|
|
421
369
|
}>;
|
|
422
|
-
message: z.
|
|
423
|
-
output: z.
|
|
424
|
-
exitCode: z.
|
|
425
|
-
}, z.core.$strict>;
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
}, z.core.$strict>]>;
|
|
429
|
-
declare const idleSnapshotRowSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
370
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
371
|
+
output: z.ZodExactOptional<z.ZodString>;
|
|
372
|
+
exitCode: z.ZodExactOptional<z.ZodNumber>;
|
|
373
|
+
}, z.core.$strict>>]>;
|
|
374
|
+
}, z.core.$strict>>]>;
|
|
375
|
+
declare const idleSnapshotRowSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
430
376
|
kind: z.ZodLiteral<"report">;
|
|
431
377
|
sequence: z.ZodNumber;
|
|
432
378
|
bodySequence: z.ZodNumber;
|
|
433
379
|
turnSequence: z.ZodNumber;
|
|
434
380
|
text: z.ZodString;
|
|
435
381
|
at: z.ZodString;
|
|
436
|
-
}, z.core.$strict
|
|
382
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
437
383
|
kind: z.ZodLiteral<"call">;
|
|
438
384
|
sequence: z.ZodNumber;
|
|
439
385
|
turnSequence: z.ZodNumber;
|
|
440
386
|
at: z.ZodString;
|
|
441
387
|
text: z.ZodString;
|
|
442
|
-
}, z.core.$strict
|
|
388
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
443
389
|
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
444
390
|
sequence: z.ZodNumber;
|
|
445
391
|
turnSequence: z.ZodNumber;
|
|
446
392
|
at: z.ZodString;
|
|
447
393
|
text: z.ZodString;
|
|
448
|
-
truncated: z.
|
|
449
|
-
}, z.core.$strict
|
|
394
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
395
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
450
396
|
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
451
397
|
sequence: z.ZodNumber;
|
|
452
398
|
turnSequence: z.ZodNumber;
|
|
453
399
|
at: z.ZodString;
|
|
454
400
|
text: z.ZodString;
|
|
455
|
-
truncated: z.
|
|
456
|
-
}, z.core.$strict
|
|
401
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
402
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
457
403
|
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
458
404
|
sequence: z.ZodNumber;
|
|
459
405
|
turnSequence: z.ZodNumber;
|
|
460
406
|
at: z.ZodString;
|
|
461
407
|
text: z.ZodString;
|
|
462
|
-
truncated: z.
|
|
463
|
-
}, z.core.$strict
|
|
408
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
409
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
464
410
|
kind: z.ZodLiteral<"tell">;
|
|
465
411
|
sequence: z.ZodNumber;
|
|
466
412
|
at: z.ZodString;
|
|
@@ -470,56 +416,42 @@ declare const idleSnapshotRowSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z
|
|
|
470
416
|
pending: "pending";
|
|
471
417
|
told: "told";
|
|
472
418
|
}>;
|
|
473
|
-
deliveries: z.ZodReadonly<z.ZodArray<z.
|
|
419
|
+
deliveries: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
474
420
|
deliveredAt: z.ZodString;
|
|
475
421
|
route: z.ZodEnum<{
|
|
476
422
|
launch: "launch";
|
|
477
423
|
live: "live";
|
|
478
424
|
}>;
|
|
479
425
|
turnSequence: z.ZodNumber;
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
required: "required";
|
|
483
|
-
}>>;
|
|
484
|
-
}, z.core.$strict>, z.ZodTransform<Readonly<{
|
|
485
|
-
turnSequence: number;
|
|
486
|
-
route: "launch" | "live";
|
|
487
|
-
receipt?: "unavailable" | "required";
|
|
488
|
-
deliveredAt: string;
|
|
489
|
-
}>, {
|
|
490
|
-
deliveredAt: string;
|
|
491
|
-
route: "launch" | "live";
|
|
492
|
-
turnSequence: number;
|
|
493
|
-
receipt?: "unavailable" | "required" | undefined;
|
|
494
|
-
}>>>>;
|
|
495
|
-
}, z.core.$strict>]>, z.ZodObject<{
|
|
426
|
+
}, z.core.$strict>>>>;
|
|
427
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
496
428
|
kind: z.ZodLiteral<"tool">;
|
|
497
429
|
sequence: z.ZodNumber;
|
|
498
430
|
turnSequence: z.ZodNumber;
|
|
499
431
|
at: z.ZodString;
|
|
500
|
-
durationMs: z.
|
|
432
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
501
433
|
name: z.ZodString;
|
|
502
|
-
call: z.ZodUnion<readonly [z.ZodObject<{
|
|
434
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
503
435
|
kind: z.ZodLiteral<"run">;
|
|
504
436
|
command: z.ZodString;
|
|
505
|
-
}, z.core.$strict
|
|
437
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
506
438
|
kind: z.ZodLiteral<"read">;
|
|
507
439
|
path: z.ZodString;
|
|
508
|
-
offset: z.
|
|
509
|
-
limit: z.
|
|
510
|
-
}, z.core.$strict
|
|
440
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
441
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
442
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
511
443
|
kind: z.ZodLiteral<"search">;
|
|
512
444
|
query: z.ZodString;
|
|
513
|
-
scope: z.
|
|
445
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
514
446
|
content: "content";
|
|
515
447
|
files: "files";
|
|
516
448
|
web: "web";
|
|
517
449
|
}>>;
|
|
518
|
-
path: z.
|
|
519
|
-
glob: z.
|
|
520
|
-
}, z.core.$strict
|
|
450
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
451
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
452
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
521
453
|
kind: z.ZodLiteral<"fileChange">;
|
|
522
|
-
changes: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
454
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
523
455
|
op: z.ZodEnum<{
|
|
524
456
|
add: "add";
|
|
525
457
|
update: "update";
|
|
@@ -527,139 +459,114 @@ declare const idleSnapshotRowSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z
|
|
|
527
459
|
unspecified: "unspecified";
|
|
528
460
|
}>;
|
|
529
461
|
path: z.ZodString;
|
|
530
|
-
|
|
531
|
-
diffstat: z.ZodOptional<z.ZodObject<{
|
|
462
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
532
463
|
added: z.ZodNumber;
|
|
533
464
|
removed: z.ZodNumber;
|
|
534
|
-
}, z.core.$strict
|
|
535
|
-
|
|
536
|
-
|
|
465
|
+
}, z.core.$strict>>>;
|
|
466
|
+
patch: z.ZodExactOptional<z.ZodString>;
|
|
467
|
+
}, z.core.$strict>>>>;
|
|
468
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
537
469
|
kind: z.ZodLiteral<"other">;
|
|
538
|
-
|
|
539
|
-
input: z.ZodOptional<z.ZodObject<{
|
|
470
|
+
input: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
540
471
|
json: z.ZodString;
|
|
541
|
-
truncated: z.
|
|
542
|
-
}, z.core.$strict
|
|
543
|
-
}, z.core.$strict
|
|
544
|
-
state: z.ZodObject<{
|
|
472
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
473
|
+
}, z.core.$strict>>>;
|
|
474
|
+
}, z.core.$strict>>]>;
|
|
475
|
+
state: z.ZodReadonly<z.ZodObject<{
|
|
545
476
|
status: z.ZodEnum<{
|
|
546
477
|
error: "error";
|
|
547
478
|
ok: "ok";
|
|
548
479
|
}>;
|
|
549
|
-
message: z.
|
|
550
|
-
output: z.
|
|
551
|
-
exitCode: z.
|
|
552
|
-
}, z.core.$strict
|
|
553
|
-
toolId: z.
|
|
554
|
-
truncated: z.
|
|
555
|
-
}, z.core.$strict
|
|
556
|
-
declare const snapshotEntrySchema: <Row extends z.ZodType>(row: Row) => z.ZodUnion<readonly [z.ZodObject<{
|
|
480
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
481
|
+
output: z.ZodExactOptional<z.ZodString>;
|
|
482
|
+
exitCode: z.ZodExactOptional<z.ZodNumber>;
|
|
483
|
+
}, z.core.$strict>>;
|
|
484
|
+
toolId: z.ZodString;
|
|
485
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
486
|
+
}, z.core.$strict>>]>;
|
|
487
|
+
declare const snapshotEntrySchema: <Row extends z.ZodType>(row: Row) => z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
557
488
|
kind: z.ZodLiteral<"gap">;
|
|
558
489
|
count: z.ZodNumber;
|
|
559
|
-
}, z.core.$strict
|
|
490
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
560
491
|
kind: z.ZodLiteral<"row">;
|
|
561
492
|
row: Row;
|
|
562
|
-
}, z.core.$strict
|
|
563
|
-
declare const reportedFileChangeSchema: z.ZodObject<{
|
|
564
|
-
sequence: z.ZodNumber;
|
|
565
|
-
at: z.ZodString;
|
|
566
|
-
op: z.ZodEnum<{
|
|
567
|
-
add: "add";
|
|
568
|
-
update: "update";
|
|
569
|
-
delete: "delete";
|
|
570
|
-
unspecified: "unspecified";
|
|
571
|
-
}>;
|
|
493
|
+
}, z.core.$strict>>]>;
|
|
494
|
+
declare const reportedFileChangeSchema: z.ZodReadonly<z.ZodObject<{
|
|
572
495
|
path: z.ZodString;
|
|
573
|
-
diffstat: z.
|
|
496
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
574
497
|
added: z.ZodNumber;
|
|
575
498
|
removed: z.ZodNumber;
|
|
576
|
-
}, z.core.$strict
|
|
577
|
-
}, z.core.$strict
|
|
578
|
-
export declare const activitySnapshotSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
579
|
-
reportedChanges: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
580
|
-
sequence: z.ZodNumber;
|
|
581
|
-
at: z.ZodString;
|
|
582
|
-
op: z.ZodEnum<{
|
|
583
|
-
add: "add";
|
|
584
|
-
update: "update";
|
|
585
|
-
delete: "delete";
|
|
586
|
-
unspecified: "unspecified";
|
|
587
|
-
}>;
|
|
499
|
+
}, z.core.$strict>>>;
|
|
500
|
+
}, z.core.$strict>>;
|
|
501
|
+
export declare const activitySnapshotSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
502
|
+
reportedChanges: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
588
503
|
path: z.ZodString;
|
|
589
|
-
diffstat: z.
|
|
504
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
590
505
|
added: z.ZodNumber;
|
|
591
506
|
removed: z.ZodNumber;
|
|
592
|
-
}, z.core.$strict
|
|
593
|
-
}, z.core.$strict
|
|
507
|
+
}, z.core.$strict>>>;
|
|
508
|
+
}, z.core.$strict>>>>;
|
|
594
509
|
reportedChangesOmitted: z.ZodNumber;
|
|
510
|
+
reportedChangesOutside: z.ZodExactOptional<z.ZodNumber>;
|
|
595
511
|
kind: z.ZodLiteral<"unborn">;
|
|
596
512
|
entries: z.ZodReadonly<z.ZodTuple<[], null>>;
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
reportedChanges: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
600
|
-
sequence: z.ZodNumber;
|
|
601
|
-
at: z.ZodString;
|
|
602
|
-
op: z.ZodEnum<{
|
|
603
|
-
add: "add";
|
|
604
|
-
update: "update";
|
|
605
|
-
delete: "delete";
|
|
606
|
-
unspecified: "unspecified";
|
|
607
|
-
}>;
|
|
513
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
514
|
+
reportedChanges: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
608
515
|
path: z.ZodString;
|
|
609
|
-
diffstat: z.
|
|
516
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
610
517
|
added: z.ZodNumber;
|
|
611
518
|
removed: z.ZodNumber;
|
|
612
|
-
}, z.core.$strict
|
|
613
|
-
}, z.core.$strict
|
|
519
|
+
}, z.core.$strict>>>;
|
|
520
|
+
}, z.core.$strict>>>>;
|
|
614
521
|
reportedChangesOmitted: z.ZodNumber;
|
|
522
|
+
reportedChangesOutside: z.ZodExactOptional<z.ZodNumber>;
|
|
615
523
|
kind: z.ZodLiteral<"open">;
|
|
616
|
-
turn: z.ZodObject<{
|
|
524
|
+
turn: z.ZodReadonly<z.ZodObject<{
|
|
617
525
|
kind: z.ZodLiteral<"turn">;
|
|
618
526
|
sequence: z.ZodNumber;
|
|
619
|
-
turnSequence: z.ZodNumber;
|
|
620
527
|
bodySequence: z.ZodNumber;
|
|
621
528
|
at: z.ZodString;
|
|
622
|
-
}, z.core.$strict
|
|
623
|
-
entries: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
529
|
+
}, z.core.$strict>>;
|
|
530
|
+
entries: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
624
531
|
kind: z.ZodLiteral<"gap">;
|
|
625
532
|
count: z.ZodNumber;
|
|
626
|
-
}, z.core.$strict
|
|
533
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
627
534
|
kind: z.ZodLiteral<"row">;
|
|
628
|
-
row: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
535
|
+
row: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
629
536
|
kind: z.ZodLiteral<"report">;
|
|
630
537
|
sequence: z.ZodNumber;
|
|
631
538
|
bodySequence: z.ZodNumber;
|
|
632
539
|
turnSequence: z.ZodNumber;
|
|
633
540
|
text: z.ZodString;
|
|
634
541
|
at: z.ZodString;
|
|
635
|
-
}, z.core.$strict
|
|
542
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
636
543
|
kind: z.ZodLiteral<"call">;
|
|
637
544
|
sequence: z.ZodNumber;
|
|
638
545
|
turnSequence: z.ZodNumber;
|
|
639
546
|
at: z.ZodString;
|
|
640
547
|
text: z.ZodString;
|
|
641
|
-
}, z.core.$strict
|
|
548
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
642
549
|
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
643
550
|
sequence: z.ZodNumber;
|
|
644
551
|
turnSequence: z.ZodNumber;
|
|
645
552
|
at: z.ZodString;
|
|
646
553
|
text: z.ZodString;
|
|
647
|
-
truncated: z.
|
|
648
|
-
}, z.core.$strict
|
|
554
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
555
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
649
556
|
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
650
557
|
sequence: z.ZodNumber;
|
|
651
558
|
turnSequence: z.ZodNumber;
|
|
652
559
|
at: z.ZodString;
|
|
653
560
|
text: z.ZodString;
|
|
654
|
-
truncated: z.
|
|
655
|
-
}, z.core.$strict
|
|
561
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
562
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
656
563
|
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
657
564
|
sequence: z.ZodNumber;
|
|
658
565
|
turnSequence: z.ZodNumber;
|
|
659
566
|
at: z.ZodString;
|
|
660
567
|
text: z.ZodString;
|
|
661
|
-
truncated: z.
|
|
662
|
-
}, z.core.$strict
|
|
568
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
569
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
663
570
|
kind: z.ZodLiteral<"tell">;
|
|
664
571
|
sequence: z.ZodNumber;
|
|
665
572
|
at: z.ZodString;
|
|
@@ -669,55 +576,42 @@ export declare const activitySnapshotSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
669
576
|
pending: "pending";
|
|
670
577
|
told: "told";
|
|
671
578
|
}>;
|
|
672
|
-
deliveries: z.ZodReadonly<z.ZodArray<z.
|
|
579
|
+
deliveries: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
673
580
|
deliveredAt: z.ZodString;
|
|
674
581
|
route: z.ZodEnum<{
|
|
675
582
|
launch: "launch";
|
|
676
583
|
live: "live";
|
|
677
584
|
}>;
|
|
678
585
|
turnSequence: z.ZodNumber;
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
required: "required";
|
|
682
|
-
}>>;
|
|
683
|
-
}, z.core.$strict>, z.ZodTransform<Readonly<{
|
|
684
|
-
turnSequence: number;
|
|
685
|
-
route: "launch" | "live";
|
|
686
|
-
receipt?: "unavailable" | "required";
|
|
687
|
-
deliveredAt: string;
|
|
688
|
-
}>, {
|
|
689
|
-
deliveredAt: string;
|
|
690
|
-
route: "launch" | "live";
|
|
691
|
-
turnSequence: number;
|
|
692
|
-
receipt?: "unavailable" | "required" | undefined;
|
|
693
|
-
}>>>>;
|
|
694
|
-
}, z.core.$strict>]>, z.ZodObject<{
|
|
586
|
+
}, z.core.$strict>>>>;
|
|
587
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
695
588
|
kind: z.ZodLiteral<"tool">;
|
|
696
589
|
sequence: z.ZodNumber;
|
|
697
590
|
turnSequence: z.ZodNumber;
|
|
698
591
|
at: z.ZodString;
|
|
592
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
699
593
|
name: z.ZodString;
|
|
700
|
-
call: z.ZodUnion<readonly [z.ZodObject<{
|
|
594
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
701
595
|
kind: z.ZodLiteral<"run">;
|
|
702
596
|
command: z.ZodString;
|
|
703
|
-
}, z.core.$strict
|
|
597
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
704
598
|
kind: z.ZodLiteral<"read">;
|
|
705
599
|
path: z.ZodString;
|
|
706
|
-
offset: z.
|
|
707
|
-
limit: z.
|
|
708
|
-
}, z.core.$strict
|
|
600
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
601
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
602
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
709
603
|
kind: z.ZodLiteral<"search">;
|
|
710
604
|
query: z.ZodString;
|
|
711
|
-
scope: z.
|
|
605
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
712
606
|
content: "content";
|
|
713
607
|
files: "files";
|
|
714
608
|
web: "web";
|
|
715
609
|
}>>;
|
|
716
|
-
path: z.
|
|
717
|
-
glob: z.
|
|
718
|
-
}, z.core.$strict
|
|
610
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
611
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
612
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
719
613
|
kind: z.ZodLiteral<"fileChange">;
|
|
720
|
-
changes: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
614
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
721
615
|
op: z.ZodEnum<{
|
|
722
616
|
add: "add";
|
|
723
617
|
update: "update";
|
|
@@ -725,164 +619,100 @@ export declare const activitySnapshotSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
725
619
|
unspecified: "unspecified";
|
|
726
620
|
}>;
|
|
727
621
|
path: z.ZodString;
|
|
728
|
-
|
|
729
|
-
diffstat: z.ZodOptional<z.ZodObject<{
|
|
622
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
730
623
|
added: z.ZodNumber;
|
|
731
624
|
removed: z.ZodNumber;
|
|
732
|
-
}, z.core.$strict
|
|
733
|
-
|
|
734
|
-
|
|
625
|
+
}, z.core.$strict>>>;
|
|
626
|
+
patch: z.ZodExactOptional<z.ZodString>;
|
|
627
|
+
}, z.core.$strict>>>>;
|
|
628
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
735
629
|
kind: z.ZodLiteral<"other">;
|
|
736
|
-
|
|
737
|
-
input: z.ZodOptional<z.ZodObject<{
|
|
630
|
+
input: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
738
631
|
json: z.ZodString;
|
|
739
|
-
truncated: z.
|
|
740
|
-
}, z.core.$strict>>;
|
|
741
|
-
}, z.core.$strict>]>;
|
|
742
|
-
state: z.ZodLiteral<"active">;
|
|
743
|
-
toolId: z.ZodOptional<z.ZodString>;
|
|
744
|
-
truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
745
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
746
|
-
kind: z.ZodLiteral<"tool">;
|
|
747
|
-
sequence: z.ZodNumber;
|
|
748
|
-
turnSequence: z.ZodNumber;
|
|
749
|
-
at: z.ZodString;
|
|
750
|
-
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
751
|
-
name: z.ZodString;
|
|
752
|
-
call: z.ZodUnion<readonly [z.ZodObject<{
|
|
753
|
-
kind: z.ZodLiteral<"run">;
|
|
754
|
-
command: z.ZodString;
|
|
755
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
756
|
-
kind: z.ZodLiteral<"read">;
|
|
757
|
-
path: z.ZodString;
|
|
758
|
-
offset: z.ZodOptional<z.ZodNumber>;
|
|
759
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
760
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
761
|
-
kind: z.ZodLiteral<"search">;
|
|
762
|
-
query: z.ZodString;
|
|
763
|
-
scope: z.ZodOptional<z.ZodEnum<{
|
|
764
|
-
content: "content";
|
|
765
|
-
files: "files";
|
|
766
|
-
web: "web";
|
|
767
|
-
}>>;
|
|
768
|
-
path: z.ZodOptional<z.ZodString>;
|
|
769
|
-
glob: z.ZodOptional<z.ZodString>;
|
|
770
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
771
|
-
kind: z.ZodLiteral<"fileChange">;
|
|
772
|
-
changes: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
773
|
-
op: z.ZodEnum<{
|
|
774
|
-
add: "add";
|
|
775
|
-
update: "update";
|
|
776
|
-
delete: "delete";
|
|
777
|
-
unspecified: "unspecified";
|
|
778
|
-
}>;
|
|
779
|
-
path: z.ZodString;
|
|
780
|
-
patch: z.ZodOptional<z.ZodString>;
|
|
781
|
-
diffstat: z.ZodOptional<z.ZodObject<{
|
|
782
|
-
added: z.ZodNumber;
|
|
783
|
-
removed: z.ZodNumber;
|
|
784
|
-
}, z.core.$strict>>;
|
|
632
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
785
633
|
}, z.core.$strict>>>;
|
|
786
|
-
}, z.core.$strict
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
json: z.ZodString;
|
|
791
|
-
truncated: z.ZodBoolean;
|
|
792
|
-
}, z.core.$strict>>;
|
|
793
|
-
}, z.core.$strict>]>;
|
|
794
|
-
state: z.ZodObject<{
|
|
634
|
+
}, z.core.$strict>>]>;
|
|
635
|
+
toolId: z.ZodString;
|
|
636
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
637
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodReadonly<z.ZodObject<{
|
|
795
638
|
status: z.ZodEnum<{
|
|
796
639
|
error: "error";
|
|
797
640
|
ok: "ok";
|
|
798
641
|
}>;
|
|
799
|
-
message: z.
|
|
800
|
-
output: z.
|
|
801
|
-
exitCode: z.
|
|
802
|
-
}, z.core.$strict>;
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
openingSequence: z.ZodOptional<z.ZodNumber>;
|
|
809
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
810
|
-
reportedChanges: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
811
|
-
sequence: z.ZodNumber;
|
|
812
|
-
at: z.ZodString;
|
|
813
|
-
op: z.ZodEnum<{
|
|
814
|
-
add: "add";
|
|
815
|
-
update: "update";
|
|
816
|
-
delete: "delete";
|
|
817
|
-
unspecified: "unspecified";
|
|
818
|
-
}>;
|
|
642
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
643
|
+
output: z.ZodExactOptional<z.ZodString>;
|
|
644
|
+
exitCode: z.ZodExactOptional<z.ZodNumber>;
|
|
645
|
+
}, z.core.$strict>>]>;
|
|
646
|
+
}, z.core.$strict>>]>;
|
|
647
|
+
}, z.core.$strict>>]>>>;
|
|
648
|
+
openingSequence: z.ZodExactOptional<z.ZodNumber>;
|
|
649
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
650
|
+
reportedChanges: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
819
651
|
path: z.ZodString;
|
|
820
|
-
diffstat: z.
|
|
652
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
821
653
|
added: z.ZodNumber;
|
|
822
654
|
removed: z.ZodNumber;
|
|
823
|
-
}, z.core.$strict
|
|
824
|
-
}, z.core.$strict
|
|
655
|
+
}, z.core.$strict>>>;
|
|
656
|
+
}, z.core.$strict>>>>;
|
|
825
657
|
reportedChangesOmitted: z.ZodNumber;
|
|
658
|
+
reportedChangesOutside: z.ZodExactOptional<z.ZodNumber>;
|
|
826
659
|
kind: z.ZodLiteral<"idle">;
|
|
827
|
-
outcome: z.
|
|
660
|
+
outcome: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
828
661
|
kind: z.ZodLiteral<"outcome">;
|
|
829
662
|
sequence: z.ZodNumber;
|
|
830
663
|
turnSequence: z.ZodNumber;
|
|
831
664
|
at: z.ZodString;
|
|
832
|
-
outcome: z.ZodUnion<readonly [z.ZodObject<{
|
|
665
|
+
outcome: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
833
666
|
kind: z.ZodLiteral<"answered">;
|
|
834
|
-
historyId: z.ZodString;
|
|
835
667
|
answer: z.ZodString;
|
|
836
|
-
foldedSaidSequence: z.
|
|
837
|
-
}, z.core.$strict
|
|
668
|
+
foldedSaidSequence: z.ZodExactOptional<z.ZodNumber>;
|
|
669
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
838
670
|
kind: z.ZodLiteral<"failed">;
|
|
839
|
-
historyId: z.ZodString;
|
|
840
671
|
diagnostic: z.ZodString;
|
|
841
|
-
}, z.core.$strict
|
|
672
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
842
673
|
kind: z.ZodLiteral<"canceled">;
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
entries: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
674
|
+
}, z.core.$strict>>]>;
|
|
675
|
+
}, z.core.$strict>>>;
|
|
676
|
+
entries: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
847
677
|
kind: z.ZodLiteral<"gap">;
|
|
848
678
|
count: z.ZodNumber;
|
|
849
|
-
}, z.core.$strict
|
|
679
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
850
680
|
kind: z.ZodLiteral<"row">;
|
|
851
|
-
row: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
681
|
+
row: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
852
682
|
kind: z.ZodLiteral<"report">;
|
|
853
683
|
sequence: z.ZodNumber;
|
|
854
684
|
bodySequence: z.ZodNumber;
|
|
855
685
|
turnSequence: z.ZodNumber;
|
|
856
686
|
text: z.ZodString;
|
|
857
687
|
at: z.ZodString;
|
|
858
|
-
}, z.core.$strict
|
|
688
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
859
689
|
kind: z.ZodLiteral<"call">;
|
|
860
690
|
sequence: z.ZodNumber;
|
|
861
691
|
turnSequence: z.ZodNumber;
|
|
862
692
|
at: z.ZodString;
|
|
863
693
|
text: z.ZodString;
|
|
864
|
-
}, z.core.$strict
|
|
694
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
865
695
|
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
866
696
|
sequence: z.ZodNumber;
|
|
867
697
|
turnSequence: z.ZodNumber;
|
|
868
698
|
at: z.ZodString;
|
|
869
699
|
text: z.ZodString;
|
|
870
|
-
truncated: z.
|
|
871
|
-
}, z.core.$strict
|
|
700
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
701
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
872
702
|
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
873
703
|
sequence: z.ZodNumber;
|
|
874
704
|
turnSequence: z.ZodNumber;
|
|
875
705
|
at: z.ZodString;
|
|
876
706
|
text: z.ZodString;
|
|
877
|
-
truncated: z.
|
|
878
|
-
}, z.core.$strict
|
|
707
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
708
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
879
709
|
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
880
710
|
sequence: z.ZodNumber;
|
|
881
711
|
turnSequence: z.ZodNumber;
|
|
882
712
|
at: z.ZodString;
|
|
883
713
|
text: z.ZodString;
|
|
884
|
-
truncated: z.
|
|
885
|
-
}, z.core.$strict
|
|
714
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
715
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
886
716
|
kind: z.ZodLiteral<"tell">;
|
|
887
717
|
sequence: z.ZodNumber;
|
|
888
718
|
at: z.ZodString;
|
|
@@ -892,56 +722,42 @@ export declare const activitySnapshotSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
892
722
|
pending: "pending";
|
|
893
723
|
told: "told";
|
|
894
724
|
}>;
|
|
895
|
-
deliveries: z.ZodReadonly<z.ZodArray<z.
|
|
725
|
+
deliveries: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
896
726
|
deliveredAt: z.ZodString;
|
|
897
727
|
route: z.ZodEnum<{
|
|
898
728
|
launch: "launch";
|
|
899
729
|
live: "live";
|
|
900
730
|
}>;
|
|
901
731
|
turnSequence: z.ZodNumber;
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
required: "required";
|
|
905
|
-
}>>;
|
|
906
|
-
}, z.core.$strict>, z.ZodTransform<Readonly<{
|
|
907
|
-
turnSequence: number;
|
|
908
|
-
route: "launch" | "live";
|
|
909
|
-
receipt?: "unavailable" | "required";
|
|
910
|
-
deliveredAt: string;
|
|
911
|
-
}>, {
|
|
912
|
-
deliveredAt: string;
|
|
913
|
-
route: "launch" | "live";
|
|
914
|
-
turnSequence: number;
|
|
915
|
-
receipt?: "unavailable" | "required" | undefined;
|
|
916
|
-
}>>>>;
|
|
917
|
-
}, z.core.$strict>]>, z.ZodObject<{
|
|
732
|
+
}, z.core.$strict>>>>;
|
|
733
|
+
}, z.core.$strict>>]>, z.ZodReadonly<z.ZodObject<{
|
|
918
734
|
kind: z.ZodLiteral<"tool">;
|
|
919
735
|
sequence: z.ZodNumber;
|
|
920
736
|
turnSequence: z.ZodNumber;
|
|
921
737
|
at: z.ZodString;
|
|
922
|
-
durationMs: z.
|
|
738
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
923
739
|
name: z.ZodString;
|
|
924
|
-
call: z.ZodUnion<readonly [z.ZodObject<{
|
|
740
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
925
741
|
kind: z.ZodLiteral<"run">;
|
|
926
742
|
command: z.ZodString;
|
|
927
|
-
}, z.core.$strict
|
|
743
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
928
744
|
kind: z.ZodLiteral<"read">;
|
|
929
745
|
path: z.ZodString;
|
|
930
|
-
offset: z.
|
|
931
|
-
limit: z.
|
|
932
|
-
}, z.core.$strict
|
|
746
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
747
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
748
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
933
749
|
kind: z.ZodLiteral<"search">;
|
|
934
750
|
query: z.ZodString;
|
|
935
|
-
scope: z.
|
|
751
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
936
752
|
content: "content";
|
|
937
753
|
files: "files";
|
|
938
754
|
web: "web";
|
|
939
755
|
}>>;
|
|
940
|
-
path: z.
|
|
941
|
-
glob: z.
|
|
942
|
-
}, z.core.$strict
|
|
756
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
757
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
758
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
943
759
|
kind: z.ZodLiteral<"fileChange">;
|
|
944
|
-
changes: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
760
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
945
761
|
op: z.ZodEnum<{
|
|
946
762
|
add: "add";
|
|
947
763
|
update: "update";
|
|
@@ -949,47 +765,51 @@ export declare const activitySnapshotSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
949
765
|
unspecified: "unspecified";
|
|
950
766
|
}>;
|
|
951
767
|
path: z.ZodString;
|
|
952
|
-
|
|
953
|
-
diffstat: z.ZodOptional<z.ZodObject<{
|
|
768
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
954
769
|
added: z.ZodNumber;
|
|
955
770
|
removed: z.ZodNumber;
|
|
956
|
-
}, z.core.$strict
|
|
957
|
-
|
|
958
|
-
|
|
771
|
+
}, z.core.$strict>>>;
|
|
772
|
+
patch: z.ZodExactOptional<z.ZodString>;
|
|
773
|
+
}, z.core.$strict>>>>;
|
|
774
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
959
775
|
kind: z.ZodLiteral<"other">;
|
|
960
|
-
|
|
961
|
-
input: z.ZodOptional<z.ZodObject<{
|
|
776
|
+
input: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
962
777
|
json: z.ZodString;
|
|
963
|
-
truncated: z.
|
|
964
|
-
}, z.core.$strict
|
|
965
|
-
}, z.core.$strict
|
|
966
|
-
state: z.ZodObject<{
|
|
778
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
779
|
+
}, z.core.$strict>>>;
|
|
780
|
+
}, z.core.$strict>>]>;
|
|
781
|
+
state: z.ZodReadonly<z.ZodObject<{
|
|
967
782
|
status: z.ZodEnum<{
|
|
968
783
|
error: "error";
|
|
969
784
|
ok: "ok";
|
|
970
785
|
}>;
|
|
971
|
-
message: z.
|
|
972
|
-
output: z.
|
|
973
|
-
exitCode: z.
|
|
974
|
-
}, z.core.$strict
|
|
975
|
-
toolId: z.
|
|
976
|
-
truncated: z.
|
|
977
|
-
}, z.core.$strict
|
|
978
|
-
}, z.core.$strict
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
type
|
|
983
|
-
type
|
|
984
|
-
type
|
|
985
|
-
type
|
|
986
|
-
export type ReportRow = z.infer<typeof reportRowSchema>;
|
|
786
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
787
|
+
output: z.ZodExactOptional<z.ZodString>;
|
|
788
|
+
exitCode: z.ZodExactOptional<z.ZodNumber>;
|
|
789
|
+
}, z.core.$strict>>;
|
|
790
|
+
toolId: z.ZodString;
|
|
791
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
792
|
+
}, z.core.$strict>>]>;
|
|
793
|
+
}, z.core.$strict>>]>>>;
|
|
794
|
+
}, z.core.$strict>>]>;
|
|
795
|
+
export type TurnStartRow = z.output<typeof turnRowSchema>;
|
|
796
|
+
type CallRow = z.output<typeof callRowSchema>;
|
|
797
|
+
type SaidRow = z.output<ReturnType<typeof textRowSchema>>;
|
|
798
|
+
type ThoughtRow = z.output<ReturnType<typeof textRowSchema>>;
|
|
799
|
+
type NoteRow = z.output<ReturnType<typeof textRowSchema>>;
|
|
800
|
+
export type ReportRow = z.output<typeof reportFactSchema>;
|
|
987
801
|
type TurnNarrationRow = CallRow | SaidRow | ThoughtRow | NoteRow | ReportRow;
|
|
988
802
|
export type { TellRow } from "./heart/facts.js";
|
|
989
|
-
export type OutcomeRow = z.
|
|
990
|
-
export type
|
|
991
|
-
|
|
992
|
-
export type
|
|
803
|
+
export type OutcomeRow = z.output<typeof outcomeRowSchema>;
|
|
804
|
+
export type ToolRow = z.output<typeof toolRowSchema>;
|
|
805
|
+
type ToolRowFields = Omit<ToolRow, "state">;
|
|
806
|
+
export type ActiveToolRow = ToolRowFields & Readonly<{
|
|
807
|
+
state: "active";
|
|
808
|
+
}>;
|
|
809
|
+
export type CompletedToolRow = z.output<typeof completedToolRowSchema>;
|
|
810
|
+
export type UnsettledToolRow = ToolRowFields & Readonly<{
|
|
811
|
+
state: "unsettled";
|
|
812
|
+
}>;
|
|
993
813
|
export type OpenTurnRow = TurnNarrationRow | ActiveToolRow | CompletedToolRow;
|
|
994
814
|
export type ClosedTurnRow = TurnNarrationRow | UnsettledToolRow | CompletedToolRow;
|
|
995
815
|
export type OpenTurn = Readonly<{
|
|
@@ -1004,22 +824,292 @@ export type ClosedTurn = Readonly<{
|
|
|
1004
824
|
outcome: OutcomeRow;
|
|
1005
825
|
}>;
|
|
1006
826
|
export type ProjectedTurn = OpenTurn | ClosedTurn;
|
|
1007
|
-
export type ActivityRow =
|
|
1008
|
-
export type OpenSnapshotRow = z.
|
|
1009
|
-
export type IdleSnapshotRow = z.
|
|
827
|
+
export type ActivityRow = z.output<typeof activityRowSchema>;
|
|
828
|
+
export type OpenSnapshotRow = z.output<typeof openSnapshotRowSchema>;
|
|
829
|
+
export type IdleSnapshotRow = z.output<typeof idleSnapshotRowSchema>;
|
|
1010
830
|
export type SnapshotRow = OpenSnapshotRow | IdleSnapshotRow;
|
|
1011
|
-
export type ActivitySnapshotEntry<Row extends SnapshotRow = SnapshotRow> = z.
|
|
1012
|
-
export type ReportedFileChange = z.
|
|
1013
|
-
export type ActivitySnapshot = z.
|
|
1014
|
-
export
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
831
|
+
export type ActivitySnapshotEntry<Row extends SnapshotRow = SnapshotRow> = z.output<ReturnType<typeof snapshotEntrySchema<z.ZodType<Row>>>>;
|
|
832
|
+
export type ReportedFileChange = z.output<typeof reportedFileChangeSchema>;
|
|
833
|
+
export type ActivitySnapshot = z.output<typeof activitySnapshotSchema>;
|
|
834
|
+
export declare const activityRowSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
835
|
+
kind: z.ZodLiteral<"turn">;
|
|
836
|
+
sequence: z.ZodNumber;
|
|
837
|
+
bodySequence: z.ZodNumber;
|
|
838
|
+
at: z.ZodString;
|
|
839
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
840
|
+
kind: z.ZodLiteral<"call">;
|
|
841
|
+
sequence: z.ZodNumber;
|
|
842
|
+
turnSequence: z.ZodNumber;
|
|
843
|
+
at: z.ZodString;
|
|
844
|
+
text: z.ZodString;
|
|
845
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
846
|
+
kind: z.ZodLiteral<"report">;
|
|
847
|
+
sequence: z.ZodNumber;
|
|
848
|
+
bodySequence: z.ZodNumber;
|
|
849
|
+
turnSequence: z.ZodNumber;
|
|
850
|
+
text: z.ZodString;
|
|
851
|
+
at: z.ZodString;
|
|
852
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
853
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
854
|
+
sequence: z.ZodNumber;
|
|
855
|
+
turnSequence: z.ZodNumber;
|
|
856
|
+
at: z.ZodString;
|
|
857
|
+
text: z.ZodString;
|
|
858
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
859
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
860
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
861
|
+
sequence: z.ZodNumber;
|
|
862
|
+
turnSequence: z.ZodNumber;
|
|
863
|
+
at: z.ZodString;
|
|
864
|
+
text: z.ZodString;
|
|
865
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
866
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
867
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
868
|
+
sequence: z.ZodNumber;
|
|
869
|
+
turnSequence: z.ZodNumber;
|
|
870
|
+
at: z.ZodString;
|
|
871
|
+
text: z.ZodString;
|
|
872
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
873
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
874
|
+
kind: z.ZodLiteral<"tell">;
|
|
875
|
+
sequence: z.ZodNumber;
|
|
876
|
+
at: z.ZodString;
|
|
877
|
+
tellId: z.ZodString;
|
|
878
|
+
text: z.ZodString;
|
|
879
|
+
state: z.ZodEnum<{
|
|
880
|
+
pending: "pending";
|
|
881
|
+
told: "told";
|
|
882
|
+
}>;
|
|
883
|
+
deliveries: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
884
|
+
deliveredAt: z.ZodString;
|
|
885
|
+
route: z.ZodEnum<{
|
|
886
|
+
launch: "launch";
|
|
887
|
+
live: "live";
|
|
888
|
+
}>;
|
|
889
|
+
turnSequence: z.ZodNumber;
|
|
890
|
+
}, z.core.$strict>>>>;
|
|
891
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
892
|
+
kind: z.ZodLiteral<"tool">;
|
|
893
|
+
sequence: z.ZodNumber;
|
|
894
|
+
turnSequence: z.ZodNumber;
|
|
895
|
+
at: z.ZodString;
|
|
896
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
897
|
+
name: z.ZodString;
|
|
898
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
899
|
+
kind: z.ZodLiteral<"run">;
|
|
900
|
+
command: z.ZodString;
|
|
901
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
902
|
+
kind: z.ZodLiteral<"read">;
|
|
903
|
+
path: z.ZodString;
|
|
904
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
905
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
906
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
907
|
+
kind: z.ZodLiteral<"search">;
|
|
908
|
+
query: z.ZodString;
|
|
909
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
910
|
+
content: "content";
|
|
911
|
+
files: "files";
|
|
912
|
+
web: "web";
|
|
913
|
+
}>>;
|
|
914
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
915
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
916
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
917
|
+
kind: z.ZodLiteral<"fileChange">;
|
|
918
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
919
|
+
op: z.ZodEnum<{
|
|
920
|
+
add: "add";
|
|
921
|
+
update: "update";
|
|
922
|
+
delete: "delete";
|
|
923
|
+
unspecified: "unspecified";
|
|
924
|
+
}>;
|
|
925
|
+
path: z.ZodString;
|
|
926
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
927
|
+
added: z.ZodNumber;
|
|
928
|
+
removed: z.ZodNumber;
|
|
929
|
+
}, z.core.$strict>>>;
|
|
930
|
+
patch: z.ZodExactOptional<z.ZodString>;
|
|
931
|
+
}, z.core.$strict>>>>;
|
|
932
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
933
|
+
kind: z.ZodLiteral<"other">;
|
|
934
|
+
input: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
935
|
+
json: z.ZodString;
|
|
936
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
937
|
+
}, z.core.$strict>>>;
|
|
938
|
+
}, z.core.$strict>>]>;
|
|
939
|
+
toolId: z.ZodString;
|
|
940
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
941
|
+
state: z.ZodUnion<readonly [z.ZodEnum<{
|
|
942
|
+
active: "active";
|
|
943
|
+
unsettled: "unsettled";
|
|
944
|
+
}>, z.ZodReadonly<z.ZodObject<{
|
|
945
|
+
status: z.ZodEnum<{
|
|
946
|
+
error: "error";
|
|
947
|
+
ok: "ok";
|
|
948
|
+
}>;
|
|
949
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
950
|
+
output: z.ZodExactOptional<z.ZodString>;
|
|
951
|
+
exitCode: z.ZodExactOptional<z.ZodNumber>;
|
|
952
|
+
}, z.core.$strict>>]>;
|
|
953
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
954
|
+
kind: z.ZodLiteral<"outcome">;
|
|
955
|
+
sequence: z.ZodNumber;
|
|
956
|
+
turnSequence: z.ZodNumber;
|
|
957
|
+
at: z.ZodString;
|
|
958
|
+
outcome: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
959
|
+
kind: z.ZodLiteral<"answered">;
|
|
960
|
+
answer: z.ZodString;
|
|
961
|
+
foldedSaidSequence: z.ZodExactOptional<z.ZodNumber>;
|
|
962
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
963
|
+
kind: z.ZodLiteral<"failed">;
|
|
964
|
+
diagnostic: z.ZodString;
|
|
965
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
966
|
+
kind: z.ZodLiteral<"canceled">;
|
|
967
|
+
}, z.core.$strict>>]>;
|
|
968
|
+
}, z.core.$strict>>]>;
|
|
969
|
+
export declare const activityHistorySchema: z.ZodReadonly<z.ZodObject<{
|
|
970
|
+
rows: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
971
|
+
kind: z.ZodLiteral<"turn">;
|
|
972
|
+
sequence: z.ZodNumber;
|
|
973
|
+
bodySequence: z.ZodNumber;
|
|
974
|
+
at: z.ZodString;
|
|
975
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
976
|
+
kind: z.ZodLiteral<"call">;
|
|
977
|
+
sequence: z.ZodNumber;
|
|
978
|
+
turnSequence: z.ZodNumber;
|
|
979
|
+
at: z.ZodString;
|
|
980
|
+
text: z.ZodString;
|
|
981
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
982
|
+
kind: z.ZodLiteral<"report">;
|
|
983
|
+
sequence: z.ZodNumber;
|
|
984
|
+
bodySequence: z.ZodNumber;
|
|
985
|
+
turnSequence: z.ZodNumber;
|
|
986
|
+
text: z.ZodString;
|
|
987
|
+
at: z.ZodString;
|
|
988
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
989
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
990
|
+
sequence: z.ZodNumber;
|
|
991
|
+
turnSequence: z.ZodNumber;
|
|
992
|
+
at: z.ZodString;
|
|
993
|
+
text: z.ZodString;
|
|
994
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
995
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
996
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
997
|
+
sequence: z.ZodNumber;
|
|
998
|
+
turnSequence: z.ZodNumber;
|
|
999
|
+
at: z.ZodString;
|
|
1000
|
+
text: z.ZodString;
|
|
1001
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1002
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1003
|
+
kind: z.ZodLiteral<"thought" | "note" | "said">;
|
|
1004
|
+
sequence: z.ZodNumber;
|
|
1005
|
+
turnSequence: z.ZodNumber;
|
|
1006
|
+
at: z.ZodString;
|
|
1007
|
+
text: z.ZodString;
|
|
1008
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1009
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1010
|
+
kind: z.ZodLiteral<"tell">;
|
|
1011
|
+
sequence: z.ZodNumber;
|
|
1012
|
+
at: z.ZodString;
|
|
1013
|
+
tellId: z.ZodString;
|
|
1014
|
+
text: z.ZodString;
|
|
1015
|
+
state: z.ZodEnum<{
|
|
1016
|
+
pending: "pending";
|
|
1017
|
+
told: "told";
|
|
1018
|
+
}>;
|
|
1019
|
+
deliveries: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1020
|
+
deliveredAt: z.ZodString;
|
|
1021
|
+
route: z.ZodEnum<{
|
|
1022
|
+
launch: "launch";
|
|
1023
|
+
live: "live";
|
|
1024
|
+
}>;
|
|
1025
|
+
turnSequence: z.ZodNumber;
|
|
1026
|
+
}, z.core.$strict>>>>;
|
|
1027
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1028
|
+
kind: z.ZodLiteral<"tool">;
|
|
1029
|
+
sequence: z.ZodNumber;
|
|
1030
|
+
turnSequence: z.ZodNumber;
|
|
1031
|
+
at: z.ZodString;
|
|
1032
|
+
durationMs: z.ZodExactOptional<z.ZodNumber>;
|
|
1033
|
+
name: z.ZodString;
|
|
1034
|
+
call: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1035
|
+
kind: z.ZodLiteral<"run">;
|
|
1036
|
+
command: z.ZodString;
|
|
1037
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1038
|
+
kind: z.ZodLiteral<"read">;
|
|
1039
|
+
path: z.ZodString;
|
|
1040
|
+
offset: z.ZodExactOptional<z.ZodNumber>;
|
|
1041
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
1042
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1043
|
+
kind: z.ZodLiteral<"search">;
|
|
1044
|
+
query: z.ZodString;
|
|
1045
|
+
scope: z.ZodExactOptional<z.ZodEnum<{
|
|
1046
|
+
content: "content";
|
|
1047
|
+
files: "files";
|
|
1048
|
+
web: "web";
|
|
1049
|
+
}>>;
|
|
1050
|
+
path: z.ZodExactOptional<z.ZodString>;
|
|
1051
|
+
glob: z.ZodExactOptional<z.ZodString>;
|
|
1052
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1053
|
+
kind: z.ZodLiteral<"fileChange">;
|
|
1054
|
+
changes: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
1055
|
+
op: z.ZodEnum<{
|
|
1056
|
+
add: "add";
|
|
1057
|
+
update: "update";
|
|
1058
|
+
delete: "delete";
|
|
1059
|
+
unspecified: "unspecified";
|
|
1060
|
+
}>;
|
|
1061
|
+
path: z.ZodString;
|
|
1062
|
+
diffstat: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
1063
|
+
added: z.ZodNumber;
|
|
1064
|
+
removed: z.ZodNumber;
|
|
1065
|
+
}, z.core.$strict>>>;
|
|
1066
|
+
patch: z.ZodExactOptional<z.ZodString>;
|
|
1067
|
+
}, z.core.$strict>>>>;
|
|
1068
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1069
|
+
kind: z.ZodLiteral<"other">;
|
|
1070
|
+
input: z.ZodExactOptional<z.ZodReadonly<z.ZodObject<{
|
|
1071
|
+
json: z.ZodString;
|
|
1072
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1073
|
+
}, z.core.$strict>>>;
|
|
1074
|
+
}, z.core.$strict>>]>;
|
|
1075
|
+
toolId: z.ZodString;
|
|
1076
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
1077
|
+
state: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1078
|
+
active: "active";
|
|
1079
|
+
unsettled: "unsettled";
|
|
1080
|
+
}>, z.ZodReadonly<z.ZodObject<{
|
|
1081
|
+
status: z.ZodEnum<{
|
|
1082
|
+
error: "error";
|
|
1083
|
+
ok: "ok";
|
|
1084
|
+
}>;
|
|
1085
|
+
message: z.ZodExactOptional<z.ZodString>;
|
|
1086
|
+
output: z.ZodExactOptional<z.ZodString>;
|
|
1087
|
+
exitCode: z.ZodExactOptional<z.ZodNumber>;
|
|
1088
|
+
}, z.core.$strict>>]>;
|
|
1089
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1090
|
+
kind: z.ZodLiteral<"outcome">;
|
|
1091
|
+
sequence: z.ZodNumber;
|
|
1092
|
+
turnSequence: z.ZodNumber;
|
|
1093
|
+
at: z.ZodString;
|
|
1094
|
+
outcome: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
1095
|
+
kind: z.ZodLiteral<"answered">;
|
|
1096
|
+
answer: z.ZodString;
|
|
1097
|
+
foldedSaidSequence: z.ZodExactOptional<z.ZodNumber>;
|
|
1098
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1099
|
+
kind: z.ZodLiteral<"failed">;
|
|
1100
|
+
diagnostic: z.ZodString;
|
|
1101
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
1102
|
+
kind: z.ZodLiteral<"canceled">;
|
|
1103
|
+
}, z.core.$strict>>]>;
|
|
1104
|
+
}, z.core.$strict>>]>>>;
|
|
1105
|
+
omitted: z.ZodNumber;
|
|
1106
|
+
hasEarlier: z.ZodBoolean;
|
|
1107
|
+
hasLater: z.ZodBoolean;
|
|
1108
|
+
historyLost: z.ZodBoolean;
|
|
1109
|
+
lowestRetained: z.ZodNullable<z.ZodNumber>;
|
|
1110
|
+
highest: z.ZodNullable<z.ZodNumber>;
|
|
1111
|
+
}, z.core.$strict>>;
|
|
1112
|
+
export type ActivityHistory = z.output<typeof activityHistorySchema>;
|
|
1023
1113
|
export type ExactHistory = Readonly<{
|
|
1024
1114
|
kind: "exact";
|
|
1025
1115
|
outcome: OutcomeRow;
|
|
@@ -1053,4 +1143,4 @@ export type TurnLedger = Readonly<{
|
|
|
1053
1143
|
}>;
|
|
1054
1144
|
/** Fold the retained fact timeline into Turn-owned rows without inventing provider facts. */
|
|
1055
1145
|
export declare function projectTurns(facts: readonly TimelineFact[], retained?: RetainedWindow): TurnLedger;
|
|
1056
|
-
export {
|
|
1146
|
+
export { DEFAULT_TAIL, selectHistory, selectSnapshot, withoutReportedChanges } from "./projection-read.js";
|