@flyingrobots/graft 0.5.0 → 0.6.1
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/{docs/ADVANCED_GUIDE.md → ADVANCED_GUIDE.md} +10 -7
- package/ARCHITECTURE.md +130 -377
- package/CHANGELOG.md +101 -13
- package/GUIDE.md +53 -0
- package/README.md +107 -269
- package/bin/graft.js +5 -3
- package/dist/adapters/canonical-json.d.ts +6 -0
- package/dist/adapters/canonical-json.d.ts.map +1 -0
- package/dist/adapters/canonical-json.js +52 -0
- package/dist/adapters/canonical-json.js.map +1 -0
- package/dist/adapters/node-fs.d.ts +3 -0
- package/dist/adapters/node-fs.d.ts.map +1 -0
- package/dist/adapters/node-fs.js +33 -0
- package/dist/adapters/node-fs.js.map +1 -0
- package/dist/adapters/node-git.d.ts +3 -0
- package/dist/adapters/node-git.d.ts.map +1 -0
- package/dist/adapters/node-git.js +44 -0
- package/dist/adapters/node-git.js.map +1 -0
- package/dist/adapters/node-process-runner.d.ts +3 -0
- package/dist/adapters/node-process-runner.d.ts.map +1 -0
- package/dist/adapters/node-process-runner.js +23 -0
- package/dist/adapters/node-process-runner.js.map +1 -0
- package/dist/adapters/repo-paths.d.ts +3 -0
- package/dist/adapters/repo-paths.d.ts.map +1 -0
- package/dist/adapters/repo-paths.js +22 -0
- package/dist/adapters/repo-paths.js.map +1 -0
- package/dist/adapters/rotating-ndjson-log.d.ts +18 -0
- package/dist/adapters/rotating-ndjson-log.d.ts.map +1 -0
- package/dist/adapters/rotating-ndjson-log.js +48 -0
- package/dist/adapters/rotating-ndjson-log.js.map +1 -0
- package/dist/api/index.d.ts +27 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/index.js +25 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/repo-local-graft.d.ts +7 -0
- package/dist/api/repo-local-graft.d.ts.map +1 -0
- package/dist/api/repo-local-graft.js +12 -0
- package/dist/api/repo-local-graft.js.map +1 -0
- package/dist/api/repo-workspace.d.ts +15 -0
- package/dist/api/repo-workspace.d.ts.map +1 -0
- package/dist/api/repo-workspace.js +23 -0
- package/dist/api/repo-workspace.js.map +1 -0
- package/dist/api/tool-bridge.d.ts +7 -0
- package/dist/api/tool-bridge.d.ts.map +1 -0
- package/dist/api/tool-bridge.js +14 -0
- package/dist/api/tool-bridge.js.map +1 -0
- package/dist/cli/activity-render.d.ts +2 -0
- package/dist/cli/activity-render.d.ts.map +1 -0
- package/dist/cli/activity-render.js +90 -0
- package/dist/cli/activity-render.js.map +1 -0
- package/dist/cli/cli-error.d.ts +10 -0
- package/dist/cli/cli-error.d.ts.map +1 -0
- package/dist/cli/cli-error.js +130 -0
- package/dist/cli/cli-error.js.map +1 -0
- package/dist/cli/command-parser.d.ts +17 -0
- package/dist/cli/command-parser.d.ts.map +1 -0
- package/dist/cli/command-parser.js +255 -0
- package/dist/cli/command-parser.js.map +1 -0
- package/dist/cli/entrypoint.d.ts +7 -0
- package/dist/cli/entrypoint.d.ts.map +1 -0
- package/dist/cli/entrypoint.js +8 -0
- package/dist/cli/entrypoint.js.map +1 -0
- package/dist/cli/index-cmd.d.ts +12 -0
- package/dist/cli/index-cmd.d.ts.map +1 -0
- package/dist/cli/index-cmd.js +73 -0
- package/dist/cli/index-cmd.js.map +1 -0
- package/dist/cli/index-model.d.ts +33 -0
- package/dist/cli/index-model.d.ts.map +1 -0
- package/dist/cli/index-model.js +55 -0
- package/dist/cli/index-model.js.map +1 -0
- package/dist/cli/init-bootstrap.d.ts +6 -0
- package/dist/cli/init-bootstrap.d.ts.map +1 -0
- package/dist/cli/init-bootstrap.js +27 -0
- package/dist/cli/init-bootstrap.js.map +1 -0
- package/dist/cli/init-client-config.d.ts +13 -0
- package/dist/cli/init-client-config.d.ts.map +1 -0
- package/dist/cli/init-client-config.js +215 -0
- package/dist/cli/init-client-config.js.map +1 -0
- package/dist/cli/init-model.d.ts +80 -0
- package/dist/cli/init-model.d.ts.map +1 -0
- package/dist/cli/init-model.js +202 -0
- package/dist/cli/init-model.js.map +1 -0
- package/dist/cli/init-render.d.ts +8 -0
- package/dist/cli/init-render.d.ts.map +1 -0
- package/dist/cli/init-render.js +43 -0
- package/dist/cli/init-render.js.map +1 -0
- package/dist/cli/init-target-hooks.d.ts +3 -0
- package/dist/cli/init-target-hooks.d.ts.map +1 -0
- package/dist/cli/init-target-hooks.js +75 -0
- package/dist/cli/init-target-hooks.js.map +1 -0
- package/dist/cli/init.d.ts +12 -0
- package/dist/cli/init.d.ts.map +1 -0
- package/dist/cli/init.js +96 -0
- package/dist/cli/init.js.map +1 -0
- package/dist/cli/json-document.d.ts +35 -0
- package/dist/cli/json-document.d.ts.map +1 -0
- package/dist/cli/json-document.js +107 -0
- package/dist/cli/json-document.js.map +1 -0
- package/dist/cli/local-history-dag-model.d.ts +43 -0
- package/dist/cli/local-history-dag-model.d.ts.map +1 -0
- package/dist/cli/local-history-dag-model.js +344 -0
- package/dist/cli/local-history-dag-model.js.map +1 -0
- package/dist/cli/local-history-dag-render.d.ts +3 -0
- package/dist/cli/local-history-dag-render.d.ts.map +1 -0
- package/dist/cli/local-history-dag-render.js +126 -0
- package/dist/cli/local-history-dag-render.js.map +1 -0
- package/dist/cli/local-history-dag.d.ts +13 -0
- package/dist/cli/local-history-dag.d.ts.map +1 -0
- package/dist/cli/local-history-dag.js +60 -0
- package/dist/cli/local-history-dag.js.map +1 -0
- package/dist/cli/main.d.ts +15 -0
- package/dist/cli/main.d.ts.map +1 -0
- package/dist/cli/main.js +126 -0
- package/dist/cli/main.js.map +1 -0
- package/dist/cli/migrate-local-history.d.ts +12 -0
- package/dist/cli/migrate-local-history.d.ts.map +1 -0
- package/dist/cli/migrate-local-history.js +82 -0
- package/dist/cli/migrate-local-history.js.map +1 -0
- package/dist/cli/peer-command.d.ts +9 -0
- package/dist/cli/peer-command.d.ts.map +1 -0
- package/dist/cli/peer-command.js +38 -0
- package/dist/cli/peer-command.js.map +1 -0
- package/dist/contracts/capabilities.d.ts +44 -0
- package/dist/contracts/capabilities.d.ts.map +1 -0
- package/dist/contracts/capabilities.js +382 -0
- package/dist/contracts/capabilities.js.map +1 -0
- package/dist/contracts/causal-ontology.d.ts +1937 -0
- package/dist/contracts/causal-ontology.d.ts.map +1 -0
- package/dist/contracts/causal-ontology.js +506 -0
- package/dist/contracts/causal-ontology.js.map +1 -0
- package/dist/contracts/causal-surface-next-action.d.ts +17 -0
- package/dist/contracts/causal-surface-next-action.d.ts.map +1 -0
- package/dist/contracts/causal-surface-next-action.js +16 -0
- package/dist/contracts/causal-surface-next-action.js.map +1 -0
- package/dist/contracts/json-object.d.ts +7 -0
- package/dist/contracts/json-object.d.ts.map +1 -0
- package/dist/contracts/json-object.js +24 -0
- package/dist/contracts/json-object.js.map +1 -0
- package/dist/contracts/mcp-runtime.d.ts +4 -0
- package/dist/contracts/mcp-runtime.d.ts.map +1 -0
- package/dist/contracts/mcp-runtime.js +11 -0
- package/dist/contracts/mcp-runtime.js.map +1 -0
- package/dist/contracts/output-schema-cli.d.ts +2716 -0
- package/dist/contracts/output-schema-cli.d.ts.map +1 -0
- package/dist/contracts/output-schema-cli.js +68 -0
- package/dist/contracts/output-schema-cli.js.map +1 -0
- package/dist/contracts/output-schema-fragments.d.ts +10819 -0
- package/dist/contracts/output-schema-fragments.d.ts.map +1 -0
- package/dist/contracts/output-schema-fragments.js +753 -0
- package/dist/contracts/output-schema-fragments.js.map +1 -0
- package/dist/contracts/output-schema-mcp.d.ts +5926 -0
- package/dist/contracts/output-schema-mcp.d.ts.map +1 -0
- package/dist/contracts/output-schema-mcp.js +231 -0
- package/dist/contracts/output-schema-mcp.js.map +1 -0
- package/dist/contracts/output-schema-meta.d.ts +30 -0
- package/dist/contracts/output-schema-meta.d.ts.map +1 -0
- package/dist/contracts/output-schema-meta.js +51 -0
- package/dist/contracts/output-schema-meta.js.map +1 -0
- package/dist/contracts/output-schemas.d.ts +1072 -0
- package/dist/contracts/output-schemas.d.ts.map +1 -0
- package/dist/contracts/output-schemas.js +1089 -0
- package/dist/contracts/output-schemas.js.map +1 -0
- package/dist/git/diff.d.ts +32 -0
- package/dist/git/diff.d.ts.map +1 -0
- package/dist/git/diff.js +82 -0
- package/dist/git/diff.js.map +1 -0
- package/dist/git/target-git-hook-bootstrap.d.ts +7 -0
- package/dist/git/target-git-hook-bootstrap.d.ts.map +1 -0
- package/dist/git/target-git-hook-bootstrap.js +40 -0
- package/dist/git/target-git-hook-bootstrap.js.map +1 -0
- package/dist/guards/stream-boundary.d.ts +41 -0
- package/dist/guards/stream-boundary.d.ts.map +1 -0
- package/dist/guards/stream-boundary.js +97 -0
- package/dist/guards/stream-boundary.js.map +1 -0
- package/dist/hooks/posttooluse-read.d.ts +4 -0
- package/dist/hooks/posttooluse-read.d.ts.map +1 -0
- package/dist/hooks/posttooluse-read.js +41 -0
- package/dist/hooks/posttooluse-read.js.map +1 -0
- package/dist/hooks/pretooluse-read.d.ts +4 -0
- package/dist/hooks/pretooluse-read.d.ts.map +1 -0
- package/dist/hooks/pretooluse-read.js +41 -0
- package/dist/hooks/pretooluse-read.js.map +1 -0
- package/dist/hooks/read-governor.d.ts +24 -0
- package/dist/hooks/read-governor.d.ts.map +1 -0
- package/dist/hooks/read-governor.js +76 -0
- package/dist/hooks/read-governor.js.map +1 -0
- package/dist/hooks/read-messages.d.ts +6 -0
- package/dist/hooks/read-messages.d.ts.map +1 -0
- package/dist/hooks/read-messages.js +45 -0
- package/dist/hooks/read-messages.js.map +1 -0
- package/dist/hooks/shared.d.ts +52 -0
- package/dist/hooks/shared.d.ts.map +1 -0
- package/dist/hooks/shared.js +137 -0
- package/dist/hooks/shared.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp/burden.d.ts +21 -0
- package/dist/mcp/burden.d.ts.map +1 -0
- package/dist/mcp/burden.js +96 -0
- package/dist/mcp/burden.js.map +1 -0
- package/dist/mcp/cache.d.ts +2 -0
- package/dist/mcp/cache.d.ts.map +1 -0
- package/dist/mcp/cache.js +2 -0
- package/dist/mcp/cache.js.map +1 -0
- package/dist/mcp/cached-file.d.ts +2 -0
- package/dist/mcp/cached-file.d.ts.map +1 -0
- package/dist/mcp/cached-file.js +2 -0
- package/dist/mcp/cached-file.js.map +1 -0
- package/dist/mcp/context.d.ts +84 -0
- package/dist/mcp/context.d.ts.map +1 -0
- package/dist/mcp/context.js +79 -0
- package/dist/mcp/context.js.map +1 -0
- package/dist/mcp/control-plane/authz-storage.d.ts +35 -0
- package/dist/mcp/control-plane/authz-storage.d.ts.map +1 -0
- package/dist/mcp/control-plane/authz-storage.js +85 -0
- package/dist/mcp/control-plane/authz-storage.js.map +1 -0
- package/dist/mcp/control-plane/session-registry.d.ts +12 -0
- package/dist/mcp/control-plane/session-registry.d.ts.map +1 -0
- package/dist/mcp/control-plane/session-registry.js +88 -0
- package/dist/mcp/control-plane/session-registry.js.map +1 -0
- package/dist/mcp/control-plane/status-projection.d.ts +8 -0
- package/dist/mcp/control-plane/status-projection.d.ts.map +1 -0
- package/dist/mcp/control-plane/status-projection.js +49 -0
- package/dist/mcp/control-plane/status-projection.js.map +1 -0
- package/dist/mcp/control-plane/types.d.ts +107 -0
- package/dist/mcp/control-plane/types.d.ts.map +1 -0
- package/dist/mcp/control-plane/types.js +2 -0
- package/dist/mcp/control-plane/types.js.map +1 -0
- package/dist/mcp/daemon-bootstrap.d.ts +9 -0
- package/dist/mcp/daemon-bootstrap.d.ts.map +1 -0
- package/dist/mcp/daemon-bootstrap.js +96 -0
- package/dist/mcp/daemon-bootstrap.js.map +1 -0
- package/dist/mcp/daemon-control-plane.d.ts +37 -0
- package/dist/mcp/daemon-control-plane.d.ts.map +1 -0
- package/dist/mcp/daemon-control-plane.js +200 -0
- package/dist/mcp/daemon-control-plane.js.map +1 -0
- package/dist/mcp/daemon-job-scheduler.d.ts +60 -0
- package/dist/mcp/daemon-job-scheduler.d.ts.map +1 -0
- package/dist/mcp/daemon-job-scheduler.js +203 -0
- package/dist/mcp/daemon-job-scheduler.js.map +1 -0
- package/dist/mcp/daemon-repos.d.ts +9 -0
- package/dist/mcp/daemon-repos.d.ts.map +1 -0
- package/dist/mcp/daemon-repos.js +73 -0
- package/dist/mcp/daemon-repos.js.map +1 -0
- package/dist/mcp/daemon-server.d.ts +23 -0
- package/dist/mcp/daemon-server.d.ts.map +1 -0
- package/dist/mcp/daemon-server.js +128 -0
- package/dist/mcp/daemon-server.js.map +1 -0
- package/dist/mcp/daemon-session-host.d.ts +31 -0
- package/dist/mcp/daemon-session-host.d.ts.map +1 -0
- package/dist/mcp/daemon-session-host.js +173 -0
- package/dist/mcp/daemon-session-host.js.map +1 -0
- package/dist/mcp/daemon-stdio-bridge.d.ts +17 -0
- package/dist/mcp/daemon-stdio-bridge.d.ts.map +1 -0
- package/dist/mcp/daemon-stdio-bridge.js +207 -0
- package/dist/mcp/daemon-stdio-bridge.js.map +1 -0
- package/dist/mcp/daemon-worker-child-pool.d.ts +22 -0
- package/dist/mcp/daemon-worker-child-pool.d.ts.map +1 -0
- package/dist/mcp/daemon-worker-child-pool.js +193 -0
- package/dist/mcp/daemon-worker-child-pool.js.map +1 -0
- package/dist/mcp/daemon-worker-inline-pool.d.ts +12 -0
- package/dist/mcp/daemon-worker-inline-pool.d.ts.map +1 -0
- package/dist/mcp/daemon-worker-inline-pool.js +43 -0
- package/dist/mcp/daemon-worker-inline-pool.js.map +1 -0
- package/dist/mcp/daemon-worker-pool.d.ts +4 -0
- package/dist/mcp/daemon-worker-pool.d.ts.map +1 -0
- package/dist/mcp/daemon-worker-pool.js +3 -0
- package/dist/mcp/daemon-worker-pool.js.map +1 -0
- package/dist/mcp/daemon-worker-process.d.ts +2 -0
- package/dist/mcp/daemon-worker-process.d.ts.map +1 -0
- package/dist/mcp/daemon-worker-process.js +26 -0
- package/dist/mcp/daemon-worker-process.js.map +1 -0
- package/dist/mcp/daemon-worker-types.d.ts +56 -0
- package/dist/mcp/daemon-worker-types.d.ts.map +1 -0
- package/dist/mcp/daemon-worker-types.js +2 -0
- package/dist/mcp/daemon-worker-types.js.map +1 -0
- package/dist/mcp/metrics.d.ts +57 -0
- package/dist/mcp/metrics.d.ts.map +1 -0
- package/dist/mcp/metrics.js +133 -0
- package/dist/mcp/metrics.js.map +1 -0
- package/dist/mcp/monitor-health.d.ts +29 -0
- package/dist/mcp/monitor-health.d.ts.map +1 -0
- package/dist/mcp/monitor-health.js +70 -0
- package/dist/mcp/monitor-health.js.map +1 -0
- package/dist/mcp/monitor-persistence.d.ts +17 -0
- package/dist/mcp/monitor-persistence.d.ts.map +1 -0
- package/dist/mcp/monitor-persistence.js +38 -0
- package/dist/mcp/monitor-persistence.js.map +1 -0
- package/dist/mcp/monitor-tick-job.d.ts +22 -0
- package/dist/mcp/monitor-tick-job.d.ts.map +1 -0
- package/dist/mcp/monitor-tick-job.js +65 -0
- package/dist/mcp/monitor-tick-job.js.map +1 -0
- package/dist/mcp/monitor-types.d.ts +123 -0
- package/dist/mcp/monitor-types.d.ts.map +1 -0
- package/dist/mcp/monitor-types.js +29 -0
- package/dist/mcp/monitor-types.js.map +1 -0
- package/dist/mcp/persisted-local-history-graph.d.ts +40 -0
- package/dist/mcp/persisted-local-history-graph.d.ts.map +1 -0
- package/dist/mcp/persisted-local-history-graph.js +388 -0
- package/dist/mcp/persisted-local-history-graph.js.map +1 -0
- package/dist/mcp/persisted-local-history-policy.d.ts +43 -0
- package/dist/mcp/persisted-local-history-policy.d.ts.map +1 -0
- package/dist/mcp/persisted-local-history-policy.js +372 -0
- package/dist/mcp/persisted-local-history-policy.js.map +1 -0
- package/dist/mcp/persisted-local-history-views.d.ts +24 -0
- package/dist/mcp/persisted-local-history-views.d.ts.map +1 -0
- package/dist/mcp/persisted-local-history-views.js +201 -0
- package/dist/mcp/persisted-local-history-views.js.map +1 -0
- package/dist/mcp/persisted-local-history.d.ts +795 -0
- package/dist/mcp/persisted-local-history.d.ts.map +1 -0
- package/dist/mcp/persisted-local-history.js +1076 -0
- package/dist/mcp/persisted-local-history.js.map +1 -0
- package/dist/mcp/persistent-monitor-runtime.d.ts +33 -0
- package/dist/mcp/persistent-monitor-runtime.d.ts.map +1 -0
- package/dist/mcp/persistent-monitor-runtime.js +356 -0
- package/dist/mcp/persistent-monitor-runtime.js.map +1 -0
- package/dist/mcp/policy.d.ts +29 -0
- package/dist/mcp/policy.d.ts.map +1 -0
- package/dist/mcp/policy.js +40 -0
- package/dist/mcp/policy.js.map +1 -0
- package/dist/mcp/receipt.d.ts +64 -0
- package/dist/mcp/receipt.d.ts.map +1 -0
- package/dist/mcp/receipt.js +99 -0
- package/dist/mcp/receipt.js.map +1 -0
- package/dist/mcp/repo-concurrency.d.ts +62 -0
- package/dist/mcp/repo-concurrency.d.ts.map +1 -0
- package/dist/mcp/repo-concurrency.js +195 -0
- package/dist/mcp/repo-concurrency.js.map +1 -0
- package/dist/mcp/repo-overview/filter.d.ts +6 -0
- package/dist/mcp/repo-overview/filter.d.ts.map +1 -0
- package/dist/mcp/repo-overview/filter.js +32 -0
- package/dist/mcp/repo-overview/filter.js.map +1 -0
- package/dist/mcp/repo-overview/types.d.ts +41 -0
- package/dist/mcp/repo-overview/types.d.ts.map +1 -0
- package/dist/mcp/repo-overview/types.js +2 -0
- package/dist/mcp/repo-overview/types.js.map +1 -0
- package/dist/mcp/repo-overview/view-projection.d.ts +8 -0
- package/dist/mcp/repo-overview/view-projection.d.ts.map +1 -0
- package/dist/mcp/repo-overview/view-projection.js +73 -0
- package/dist/mcp/repo-overview/view-projection.js.map +1 -0
- package/dist/mcp/repo-state-git.d.ts +8 -0
- package/dist/mcp/repo-state-git.d.ts.map +1 -0
- package/dist/mcp/repo-state-git.js +203 -0
- package/dist/mcp/repo-state-git.js.map +1 -0
- package/dist/mcp/repo-state-observation.d.ts +4 -0
- package/dist/mcp/repo-state-observation.d.ts.map +1 -0
- package/dist/mcp/repo-state-observation.js +171 -0
- package/dist/mcp/repo-state-observation.js.map +1 -0
- package/dist/mcp/repo-state-transition.d.ts +4 -0
- package/dist/mcp/repo-state-transition.d.ts.map +1 -0
- package/dist/mcp/repo-state-transition.js +124 -0
- package/dist/mcp/repo-state-transition.js.map +1 -0
- package/dist/mcp/repo-state-types.d.ts +88 -0
- package/dist/mcp/repo-state-types.d.ts.map +1 -0
- package/dist/mcp/repo-state-types.js +2 -0
- package/dist/mcp/repo-state-types.js.map +1 -0
- package/dist/mcp/repo-state.d.ts +37 -0
- package/dist/mcp/repo-state.d.ts.map +1 -0
- package/dist/mcp/repo-state.js +101 -0
- package/dist/mcp/repo-state.js.map +1 -0
- package/dist/mcp/repo-tool-job.d.ts +55 -0
- package/dist/mcp/repo-tool-job.d.ts.map +1 -0
- package/dist/mcp/repo-tool-job.js +50 -0
- package/dist/mcp/repo-tool-job.js.map +1 -0
- package/dist/mcp/repo-tool-worker-context.d.ts +8 -0
- package/dist/mcp/repo-tool-worker-context.d.ts.map +1 -0
- package/dist/mcp/repo-tool-worker-context.js +199 -0
- package/dist/mcp/repo-tool-worker-context.js.map +1 -0
- package/dist/mcp/repo-workspace.d.ts +4 -0
- package/dist/mcp/repo-workspace.d.ts.map +1 -0
- package/dist/mcp/repo-workspace.js +15 -0
- package/dist/mcp/repo-workspace.js.map +1 -0
- package/dist/mcp/run-capture-config.d.ts +11 -0
- package/dist/mcp/run-capture-config.d.ts.map +1 -0
- package/dist/mcp/run-capture-config.js +23 -0
- package/dist/mcp/run-capture-config.js.map +1 -0
- package/dist/mcp/runtime-causal-context.d.ts +22 -0
- package/dist/mcp/runtime-causal-context.d.ts.map +1 -0
- package/dist/mcp/runtime-causal-context.js +28 -0
- package/dist/mcp/runtime-causal-context.js.map +1 -0
- package/dist/mcp/runtime-observability.d.ts +102 -0
- package/dist/mcp/runtime-observability.d.ts.map +1 -0
- package/dist/mcp/runtime-observability.js +95 -0
- package/dist/mcp/runtime-observability.js.map +1 -0
- package/dist/mcp/runtime-staged-target.d.ts +28 -0
- package/dist/mcp/runtime-staged-target.d.ts.map +1 -0
- package/dist/mcp/runtime-staged-target.js +101 -0
- package/dist/mcp/runtime-staged-target.js.map +1 -0
- package/dist/mcp/runtime-workspace-overlay.d.ts +45 -0
- package/dist/mcp/runtime-workspace-overlay.d.ts.map +1 -0
- package/dist/mcp/runtime-workspace-overlay.js +153 -0
- package/dist/mcp/runtime-workspace-overlay.js.map +1 -0
- package/dist/mcp/secret-scrub.d.ts +17 -0
- package/dist/mcp/secret-scrub.d.ts.map +1 -0
- package/dist/mcp/secret-scrub.js +82 -0
- package/dist/mcp/secret-scrub.js.map +1 -0
- package/dist/mcp/semantic-transition-guidance.d.ts +6 -0
- package/dist/mcp/semantic-transition-guidance.d.ts.map +1 -0
- package/dist/mcp/semantic-transition-guidance.js +47 -0
- package/dist/mcp/semantic-transition-guidance.js.map +1 -0
- package/dist/mcp/semantic-transition-summary.d.ts +23 -0
- package/dist/mcp/semantic-transition-summary.d.ts.map +1 -0
- package/dist/mcp/semantic-transition-summary.js +82 -0
- package/dist/mcp/semantic-transition-summary.js.map +1 -0
- package/dist/mcp/server-context.d.ts +46 -0
- package/dist/mcp/server-context.d.ts.map +1 -0
- package/dist/mcp/server-context.js +163 -0
- package/dist/mcp/server-context.js.map +1 -0
- package/dist/mcp/server-invocation.d.ts +73 -0
- package/dist/mcp/server-invocation.d.ts.map +1 -0
- package/dist/mcp/server-invocation.js +265 -0
- package/dist/mcp/server-invocation.js.map +1 -0
- package/dist/mcp/server-tool-access.d.ts +18 -0
- package/dist/mcp/server-tool-access.d.ts.map +1 -0
- package/dist/mcp/server-tool-access.js +123 -0
- package/dist/mcp/server-tool-access.js.map +1 -0
- package/dist/mcp/server.d.ts +41 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +215 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/stdio-server.d.ts +6 -0
- package/dist/mcp/stdio-server.d.ts.map +1 -0
- package/dist/mcp/stdio-server.js +20 -0
- package/dist/mcp/stdio-server.js.map +1 -0
- package/dist/mcp/stdio.d.ts +2 -0
- package/dist/mcp/stdio.d.ts.map +1 -0
- package/dist/mcp/stdio.js +3 -0
- package/dist/mcp/stdio.js.map +1 -0
- package/dist/mcp/tool-registry.d.ts +5 -0
- package/dist/mcp/tool-registry.d.ts.map +1 -0
- package/dist/mcp/tool-registry.js +76 -0
- package/dist/mcp/tool-registry.js.map +1 -0
- package/dist/mcp/tools/activity-view.d.ts +3 -0
- package/dist/mcp/tools/activity-view.d.ts.map +1 -0
- package/dist/mcp/tools/activity-view.js +259 -0
- package/dist/mcp/tools/activity-view.js.map +1 -0
- package/dist/mcp/tools/budget.d.ts +3 -0
- package/dist/mcp/tools/budget.d.ts.map +1 -0
- package/dist/mcp/tools/budget.js +20 -0
- package/dist/mcp/tools/budget.js.map +1 -0
- package/dist/mcp/tools/causal-attach.d.ts +3 -0
- package/dist/mcp/tools/causal-attach.d.ts.map +1 -0
- package/dist/mcp/tools/causal-attach.js +53 -0
- package/dist/mcp/tools/causal-attach.js.map +1 -0
- package/dist/mcp/tools/causal-status.d.ts +3 -0
- package/dist/mcp/tools/causal-status.d.ts.map +1 -0
- package/dist/mcp/tools/causal-status.js +46 -0
- package/dist/mcp/tools/causal-status.js.map +1 -0
- package/dist/mcp/tools/changed-since.d.ts +3 -0
- package/dist/mcp/tools/changed-since.d.ts.map +1 -0
- package/dist/mcp/tools/changed-since.js +57 -0
- package/dist/mcp/tools/changed-since.js.map +1 -0
- package/dist/mcp/tools/code-find.d.ts +104 -0
- package/dist/mcp/tools/code-find.d.ts.map +1 -0
- package/dist/mcp/tools/code-find.js +125 -0
- package/dist/mcp/tools/code-find.js.map +1 -0
- package/dist/mcp/tools/code-refs.d.ts +3 -0
- package/dist/mcp/tools/code-refs.d.ts.map +1 -0
- package/dist/mcp/tools/code-refs.js +370 -0
- package/dist/mcp/tools/code-refs.js.map +1 -0
- package/dist/mcp/tools/code-show.d.ts +104 -0
- package/dist/mcp/tools/code-show.d.ts.map +1 -0
- package/dist/mcp/tools/code-show.js +202 -0
- package/dist/mcp/tools/code-show.js.map +1 -0
- package/dist/mcp/tools/daemon-monitors.d.ts +3 -0
- package/dist/mcp/tools/daemon-monitors.d.ts.map +1 -0
- package/dist/mcp/tools/daemon-monitors.js +12 -0
- package/dist/mcp/tools/daemon-monitors.js.map +1 -0
- package/dist/mcp/tools/daemon-repos.d.ts +3 -0
- package/dist/mcp/tools/daemon-repos.d.ts.map +1 -0
- package/dist/mcp/tools/daemon-repos.js +20 -0
- package/dist/mcp/tools/daemon-repos.js.map +1 -0
- package/dist/mcp/tools/daemon-sessions.d.ts +3 -0
- package/dist/mcp/tools/daemon-sessions.d.ts.map +1 -0
- package/dist/mcp/tools/daemon-sessions.js +12 -0
- package/dist/mcp/tools/daemon-sessions.js.map +1 -0
- package/dist/mcp/tools/daemon-status.d.ts +3 -0
- package/dist/mcp/tools/daemon-status.d.ts.map +1 -0
- package/dist/mcp/tools/daemon-status.js +10 -0
- package/dist/mcp/tools/daemon-status.js.map +1 -0
- package/dist/mcp/tools/diagnostic-models.d.ts +85 -0
- package/dist/mcp/tools/diagnostic-models.d.ts.map +1 -0
- package/dist/mcp/tools/diagnostic-models.js +5 -0
- package/dist/mcp/tools/diagnostic-models.js.map +1 -0
- package/dist/mcp/tools/doctor.d.ts +3 -0
- package/dist/mcp/tools/doctor.d.ts.map +1 -0
- package/dist/mcp/tools/doctor.js +54 -0
- package/dist/mcp/tools/doctor.js.map +1 -0
- package/dist/mcp/tools/explain.d.ts +3 -0
- package/dist/mcp/tools/explain.d.ts.map +1 -0
- package/dist/mcp/tools/explain.js +81 -0
- package/dist/mcp/tools/explain.js.map +1 -0
- package/dist/mcp/tools/file-outline.d.ts +3 -0
- package/dist/mcp/tools/file-outline.d.ts.map +1 -0
- package/dist/mcp/tools/file-outline.js +54 -0
- package/dist/mcp/tools/file-outline.js.map +1 -0
- package/dist/mcp/tools/git-files.d.ts +24 -0
- package/dist/mcp/tools/git-files.d.ts.map +1 -0
- package/dist/mcp/tools/git-files.js +57 -0
- package/dist/mcp/tools/git-files.js.map +1 -0
- package/dist/mcp/tools/graft-diff.d.ts +3 -0
- package/dist/mcp/tools/graft-diff.d.ts.map +1 -0
- package/dist/mcp/tools/graft-diff.js +33 -0
- package/dist/mcp/tools/graft-diff.js.map +1 -0
- package/dist/mcp/tools/map-collector.d.ts +85 -0
- package/dist/mcp/tools/map-collector.d.ts.map +1 -0
- package/dist/mcp/tools/map-collector.js +249 -0
- package/dist/mcp/tools/map-collector.js.map +1 -0
- package/dist/mcp/tools/map.d.ts +7 -0
- package/dist/mcp/tools/map.d.ts.map +1 -0
- package/dist/mcp/tools/map.js +154 -0
- package/dist/mcp/tools/map.js.map +1 -0
- package/dist/mcp/tools/monitor-pause.d.ts +3 -0
- package/dist/mcp/tools/monitor-pause.d.ts.map +1 -0
- package/dist/mcp/tools/monitor-pause.js +16 -0
- package/dist/mcp/tools/monitor-pause.js.map +1 -0
- package/dist/mcp/tools/monitor-resume.d.ts +3 -0
- package/dist/mcp/tools/monitor-resume.d.ts.map +1 -0
- package/dist/mcp/tools/monitor-resume.js +16 -0
- package/dist/mcp/tools/monitor-resume.js.map +1 -0
- package/dist/mcp/tools/monitor-start.d.ts +3 -0
- package/dist/mcp/tools/monitor-start.d.ts.map +1 -0
- package/dist/mcp/tools/monitor-start.js +18 -0
- package/dist/mcp/tools/monitor-start.js.map +1 -0
- package/dist/mcp/tools/monitor-stop.d.ts +3 -0
- package/dist/mcp/tools/monitor-stop.d.ts.map +1 -0
- package/dist/mcp/tools/monitor-stop.js +16 -0
- package/dist/mcp/tools/monitor-stop.js.map +1 -0
- package/dist/mcp/tools/precision-live.d.ts +20 -0
- package/dist/mcp/tools/precision-live.d.ts.map +1 -0
- package/dist/mcp/tools/precision-live.js +105 -0
- package/dist/mcp/tools/precision-live.js.map +1 -0
- package/dist/mcp/tools/precision-match.d.ts +21 -0
- package/dist/mcp/tools/precision-match.d.ts.map +1 -0
- package/dist/mcp/tools/precision-match.js +46 -0
- package/dist/mcp/tools/precision-match.js.map +1 -0
- package/dist/mcp/tools/precision-paths.d.ts +7 -0
- package/dist/mcp/tools/precision-paths.d.ts.map +1 -0
- package/dist/mcp/tools/precision-paths.js +53 -0
- package/dist/mcp/tools/precision-paths.js.map +1 -0
- package/dist/mcp/tools/precision-query.d.ts +38 -0
- package/dist/mcp/tools/precision-query.d.ts.map +1 -0
- package/dist/mcp/tools/precision-query.js +116 -0
- package/dist/mcp/tools/precision-query.js.map +1 -0
- package/dist/mcp/tools/precision-show.d.ts +15 -0
- package/dist/mcp/tools/precision-show.d.ts.map +1 -0
- package/dist/mcp/tools/precision-show.js +46 -0
- package/dist/mcp/tools/precision-show.js.map +1 -0
- package/dist/mcp/tools/precision-visibility.d.ts +10 -0
- package/dist/mcp/tools/precision-visibility.d.ts.map +1 -0
- package/dist/mcp/tools/precision-visibility.js +24 -0
- package/dist/mcp/tools/precision-visibility.js.map +1 -0
- package/dist/mcp/tools/precision-warp.d.ts +6 -0
- package/dist/mcp/tools/precision-warp.d.ts.map +1 -0
- package/dist/mcp/tools/precision-warp.js +76 -0
- package/dist/mcp/tools/precision-warp.js.map +1 -0
- package/dist/mcp/tools/precision.d.ts +7 -0
- package/dist/mcp/tools/precision.d.ts.map +1 -0
- package/dist/mcp/tools/precision.js +6 -0
- package/dist/mcp/tools/precision.js.map +1 -0
- package/dist/mcp/tools/read-range.d.ts +3 -0
- package/dist/mcp/tools/read-range.d.ts.map +1 -0
- package/dist/mcp/tools/read-range.js +26 -0
- package/dist/mcp/tools/read-range.js.map +1 -0
- package/dist/mcp/tools/run-capture.d.ts +3 -0
- package/dist/mcp/tools/run-capture.d.ts.map +1 -0
- package/dist/mcp/tools/run-capture.js +125 -0
- package/dist/mcp/tools/run-capture.js.map +1 -0
- package/dist/mcp/tools/safe-read.d.ts +3 -0
- package/dist/mcp/tools/safe-read.d.ts.map +1 -0
- package/dist/mcp/tools/safe-read.js +133 -0
- package/dist/mcp/tools/safe-read.js.map +1 -0
- package/dist/mcp/tools/since.d.ts +3 -0
- package/dist/mcp/tools/since.d.ts.map +1 -0
- package/dist/mcp/tools/since.js +46 -0
- package/dist/mcp/tools/since.js.map +1 -0
- package/dist/mcp/tools/state.d.ts +4 -0
- package/dist/mcp/tools/state.d.ts.map +1 -0
- package/dist/mcp/tools/state.js +35 -0
- package/dist/mcp/tools/state.js.map +1 -0
- package/dist/mcp/tools/stats.d.ts +3 -0
- package/dist/mcp/tools/stats.d.ts.map +1 -0
- package/dist/mcp/tools/stats.js +22 -0
- package/dist/mcp/tools/stats.js.map +1 -0
- package/dist/mcp/tools/workspace-authorizations.d.ts +3 -0
- package/dist/mcp/tools/workspace-authorizations.d.ts.map +1 -0
- package/dist/mcp/tools/workspace-authorizations.js +12 -0
- package/dist/mcp/tools/workspace-authorizations.js.map +1 -0
- package/dist/mcp/tools/workspace-authorize.d.ts +3 -0
- package/dist/mcp/tools/workspace-authorize.d.ts.map +1 -0
- package/dist/mcp/tools/workspace-authorize.js +18 -0
- package/dist/mcp/tools/workspace-authorize.js.map +1 -0
- package/dist/mcp/tools/workspace-bind.d.ts +3 -0
- package/dist/mcp/tools/workspace-bind.d.ts.map +1 -0
- package/dist/mcp/tools/workspace-bind.js +23 -0
- package/dist/mcp/tools/workspace-bind.js.map +1 -0
- package/dist/mcp/tools/workspace-rebind.d.ts +3 -0
- package/dist/mcp/tools/workspace-rebind.d.ts.map +1 -0
- package/dist/mcp/tools/workspace-rebind.js +23 -0
- package/dist/mcp/tools/workspace-rebind.js.map +1 -0
- package/dist/mcp/tools/workspace-revoke.d.ts +3 -0
- package/dist/mcp/tools/workspace-revoke.d.ts.map +1 -0
- package/dist/mcp/tools/workspace-revoke.js +16 -0
- package/dist/mcp/tools/workspace-revoke.js.map +1 -0
- package/dist/mcp/tools/workspace-status.d.ts +3 -0
- package/dist/mcp/tools/workspace-status.d.ts.map +1 -0
- package/dist/mcp/tools/workspace-status.js +10 -0
- package/dist/mcp/tools/workspace-status.js.map +1 -0
- package/dist/mcp/warp-pool.d.ts +13 -0
- package/dist/mcp/warp-pool.d.ts.map +1 -0
- package/dist/mcp/warp-pool.js +30 -0
- package/dist/mcp/warp-pool.js.map +1 -0
- package/dist/mcp/workspace-read-observation-model.d.ts +34 -0
- package/dist/mcp/workspace-read-observation-model.d.ts.map +1 -0
- package/dist/mcp/workspace-read-observation-model.js +35 -0
- package/dist/mcp/workspace-read-observation-model.js.map +1 -0
- package/dist/mcp/workspace-read-observation.d.ts +19 -0
- package/dist/mcp/workspace-read-observation.d.ts.map +1 -0
- package/dist/mcp/workspace-read-observation.js +71 -0
- package/dist/mcp/workspace-read-observation.js.map +1 -0
- package/dist/mcp/workspace-router-capability.d.ts +14 -0
- package/dist/mcp/workspace-router-capability.d.ts.map +1 -0
- package/dist/mcp/workspace-router-capability.js +22 -0
- package/dist/mcp/workspace-router-capability.js.map +1 -0
- package/dist/mcp/workspace-router-history.d.ts +65 -0
- package/dist/mcp/workspace-router-history.d.ts.map +1 -0
- package/dist/mcp/workspace-router-history.js +142 -0
- package/dist/mcp/workspace-router-history.js.map +1 -0
- package/dist/mcp/workspace-router-model.d.ts +96 -0
- package/dist/mcp/workspace-router-model.d.ts.map +1 -0
- package/dist/mcp/workspace-router-model.js +31 -0
- package/dist/mcp/workspace-router-model.js.map +1 -0
- package/dist/mcp/workspace-router-resolution.d.ts +10 -0
- package/dist/mcp/workspace-router-resolution.d.ts.map +1 -0
- package/dist/mcp/workspace-router-resolution.js +56 -0
- package/dist/mcp/workspace-router-resolution.js.map +1 -0
- package/dist/mcp/workspace-router-runtime.d.ts +79 -0
- package/dist/mcp/workspace-router-runtime.d.ts.map +1 -0
- package/dist/mcp/workspace-router-runtime.js +126 -0
- package/dist/mcp/workspace-router-runtime.js.map +1 -0
- package/dist/mcp/workspace-router.d.ts +72 -0
- package/dist/mcp/workspace-router.d.ts.map +1 -0
- package/dist/mcp/workspace-router.js +494 -0
- package/dist/mcp/workspace-router.js.map +1 -0
- package/dist/metrics/logger.d.ts +14 -0
- package/dist/metrics/logger.d.ts.map +1 -0
- package/dist/metrics/logger.js +30 -0
- package/dist/metrics/logger.js.map +1 -0
- package/dist/metrics/types.d.ts +25 -0
- package/dist/metrics/types.d.ts.map +1 -0
- package/dist/metrics/types.js +28 -0
- package/dist/metrics/types.js.map +1 -0
- package/dist/operations/cached-file.d.ts +24 -0
- package/dist/operations/cached-file.d.ts.map +1 -0
- package/dist/operations/cached-file.js +37 -0
- package/dist/operations/cached-file.js.map +1 -0
- package/dist/operations/diff-identity.d.ts +32 -0
- package/dist/operations/diff-identity.d.ts.map +1 -0
- package/dist/operations/diff-identity.js +93 -0
- package/dist/operations/diff-identity.js.map +1 -0
- package/dist/operations/file-outline.d.ts +15 -0
- package/dist/operations/file-outline.d.ts.map +1 -0
- package/dist/operations/file-outline.js +32 -0
- package/dist/operations/file-outline.js.map +1 -0
- package/dist/operations/graft-diff.d.ts +43 -0
- package/dist/operations/graft-diff.d.ts.map +1 -0
- package/dist/operations/graft-diff.js +115 -0
- package/dist/operations/graft-diff.js.map +1 -0
- package/dist/operations/observation-cache.d.ts +64 -0
- package/dist/operations/observation-cache.d.ts.map +1 -0
- package/dist/operations/observation-cache.js +104 -0
- package/dist/operations/observation-cache.js.map +1 -0
- package/dist/operations/read-range.d.ts +14 -0
- package/dist/operations/read-range.d.ts.map +1 -0
- package/dist/operations/read-range.js +41 -0
- package/dist/operations/read-range.js.map +1 -0
- package/dist/operations/repo-workspace.d.ts +114 -0
- package/dist/operations/repo-workspace.d.ts.map +1 -0
- package/dist/operations/repo-workspace.js +228 -0
- package/dist/operations/repo-workspace.js.map +1 -0
- package/dist/operations/result-dto.d.ts +10 -0
- package/dist/operations/result-dto.d.ts.map +1 -0
- package/dist/operations/result-dto.js +21 -0
- package/dist/operations/result-dto.js.map +1 -0
- package/dist/operations/safe-read.d.ts +35 -0
- package/dist/operations/safe-read.d.ts.map +1 -0
- package/dist/operations/safe-read.js +75 -0
- package/dist/operations/safe-read.js.map +1 -0
- package/dist/operations/state.d.ts +25 -0
- package/dist/operations/state.d.ts.map +1 -0
- package/dist/operations/state.js +47 -0
- package/dist/operations/state.js.map +1 -0
- package/dist/operations/structured-buffer-compare.d.ts +5 -0
- package/dist/operations/structured-buffer-compare.d.ts.map +1 -0
- package/dist/operations/structured-buffer-compare.js +392 -0
- package/dist/operations/structured-buffer-compare.js.map +1 -0
- package/dist/operations/structured-buffer-model.d.ts +232 -0
- package/dist/operations/structured-buffer-model.d.ts.map +1 -0
- package/dist/operations/structured-buffer-model.js +175 -0
- package/dist/operations/structured-buffer-model.js.map +1 -0
- package/dist/operations/structured-buffer-query.d.ts +24 -0
- package/dist/operations/structured-buffer-query.d.ts.map +1 -0
- package/dist/operations/structured-buffer-query.js +690 -0
- package/dist/operations/structured-buffer-query.js.map +1 -0
- package/dist/operations/structured-buffer.d.ts +43 -0
- package/dist/operations/structured-buffer.d.ts.map +1 -0
- package/dist/operations/structured-buffer.js +96 -0
- package/dist/operations/structured-buffer.js.map +1 -0
- package/dist/parser/diff.d.ts +63 -0
- package/dist/parser/diff.d.ts.map +1 -0
- package/dist/parser/diff.js +259 -0
- package/dist/parser/diff.js.map +1 -0
- package/dist/parser/lang.d.ts +17 -0
- package/dist/parser/lang.d.ts.map +1 -0
- package/dist/parser/lang.js +51 -0
- package/dist/parser/lang.js.map +1 -0
- package/dist/parser/markdown.d.ts +3 -0
- package/dist/parser/markdown.d.ts.map +1 -0
- package/dist/parser/markdown.js +168 -0
- package/dist/parser/markdown.js.map +1 -0
- package/dist/parser/outline.d.ts +12 -0
- package/dist/parser/outline.d.ts.map +1 -0
- package/dist/parser/outline.js +251 -0
- package/dist/parser/outline.js.map +1 -0
- package/dist/parser/runtime.d.ts +13 -0
- package/dist/parser/runtime.d.ts.map +1 -0
- package/dist/parser/runtime.js +43 -0
- package/dist/parser/runtime.js.map +1 -0
- package/dist/parser/types.d.ts +41 -0
- package/dist/parser/types.d.ts.map +1 -0
- package/dist/parser/types.js +46 -0
- package/dist/parser/types.js.map +1 -0
- package/dist/policy/evaluate.d.ts +8 -0
- package/dist/policy/evaluate.d.ts.map +1 -0
- package/dist/policy/evaluate.js +153 -0
- package/dist/policy/evaluate.js.map +1 -0
- package/dist/policy/graftignore.d.ts +2 -0
- package/dist/policy/graftignore.d.ts.map +1 -0
- package/dist/policy/graftignore.js +7 -0
- package/dist/policy/graftignore.js.map +1 -0
- package/dist/policy/types.d.ts +104 -0
- package/dist/policy/types.d.ts.map +1 -0
- package/dist/policy/types.js +49 -0
- package/dist/policy/types.js.map +1 -0
- package/dist/ports/codec.d.ts +10 -0
- package/dist/ports/codec.d.ts.map +1 -0
- package/dist/ports/codec.js +5 -0
- package/dist/ports/codec.js.map +1 -0
- package/dist/ports/filesystem.d.ts +19 -0
- package/dist/ports/filesystem.d.ts.map +1 -0
- package/dist/ports/filesystem.js +5 -0
- package/dist/ports/filesystem.js.map +1 -0
- package/dist/ports/git.d.ts +11 -0
- package/dist/ports/git.d.ts.map +1 -0
- package/dist/ports/git.js +5 -0
- package/dist/ports/git.js.map +1 -0
- package/dist/ports/guards.d.ts +15 -0
- package/dist/ports/guards.d.ts.map +1 -0
- package/dist/ports/guards.js +43 -0
- package/dist/ports/guards.js.map +1 -0
- package/dist/ports/process-runner.d.ts +17 -0
- package/dist/ports/process-runner.d.ts.map +1 -0
- package/dist/ports/process-runner.js +5 -0
- package/dist/ports/process-runner.js.map +1 -0
- package/dist/ports/warp.d.ts +45 -0
- package/dist/ports/warp.d.ts.map +1 -0
- package/dist/ports/warp.js +5 -0
- package/dist/ports/warp.js.map +1 -0
- package/dist/release/security-gate.d.ts +24 -0
- package/dist/release/security-gate.d.ts.map +1 -0
- package/dist/release/security-gate.js +69 -0
- package/dist/release/security-gate.js.map +1 -0
- package/dist/session/tracker.d.ts +36 -0
- package/dist/session/tracker.d.ts.map +1 -0
- package/dist/session/tracker.js +113 -0
- package/dist/session/tracker.js.map +1 -0
- package/dist/session/types.d.ts +14 -0
- package/dist/session/types.d.ts.map +1 -0
- package/dist/session/types.js +18 -0
- package/dist/session/types.js.map +1 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +3 -0
- package/dist/version.js.map +1 -0
- package/dist/warp/identity-resolver.d.ts +14 -0
- package/dist/warp/identity-resolver.d.ts.map +1 -0
- package/dist/warp/identity-resolver.js +31 -0
- package/dist/warp/identity-resolver.js.map +1 -0
- package/dist/warp/indexer-git.d.ts +22 -0
- package/dist/warp/indexer-git.d.ts.map +1 -0
- package/dist/warp/indexer-git.js +148 -0
- package/dist/warp/indexer-git.js.map +1 -0
- package/dist/warp/indexer-graph.d.ts +17 -0
- package/dist/warp/indexer-graph.d.ts.map +1 -0
- package/dist/warp/indexer-graph.js +179 -0
- package/dist/warp/indexer-graph.js.map +1 -0
- package/dist/warp/indexer-model.d.ts +51 -0
- package/dist/warp/indexer-model.d.ts.map +1 -0
- package/dist/warp/indexer-model.js +21 -0
- package/dist/warp/indexer-model.js.map +1 -0
- package/dist/warp/indexer.d.ts +9 -0
- package/dist/warp/indexer.d.ts.map +1 -0
- package/dist/warp/indexer.js +112 -0
- package/dist/warp/indexer.js.map +1 -0
- package/dist/warp/observers.d.ts +54 -0
- package/dist/warp/observers.d.ts.map +1 -0
- package/dist/warp/observers.js +88 -0
- package/dist/warp/observers.js.map +1 -0
- package/dist/warp/open.d.ts +15 -0
- package/dist/warp/open.d.ts.map +1 -0
- package/dist/warp/open.js +67 -0
- package/dist/warp/open.js.map +1 -0
- package/dist/warp/symbol-identity.d.ts +11 -0
- package/dist/warp/symbol-identity.d.ts.map +1 -0
- package/dist/warp/symbol-identity.js +67 -0
- package/dist/warp/symbol-identity.js.map +1 -0
- package/dist/warp/writer-id.d.ts +5 -0
- package/dist/warp/writer-id.d.ts.map +1 -0
- package/dist/warp/writer-id.js +25 -0
- package/dist/warp/writer-id.js.map +1 -0
- package/docs/CLI.md +37 -15
- package/docs/MCP.md +44 -25
- package/docs/{GUIDE.md → SETUP.md} +21 -0
- package/package.json +24 -7
- package/src/adapters/repo-paths.ts +22 -0
- package/src/adapters/rotating-ndjson-log.ts +66 -0
- package/src/api/index.ts +107 -0
- package/src/api/repo-local-graft.ts +21 -0
- package/src/api/repo-workspace.ts +34 -0
- package/src/api/tool-bridge.ts +21 -0
- package/src/cli/activity-render.ts +112 -0
- package/src/cli/cli-error.ts +153 -0
- package/src/cli/command-parser.ts +302 -0
- package/src/cli/entrypoint.ts +18 -0
- package/src/cli/index-cmd.ts +31 -23
- package/src/cli/index-model.ts +76 -0
- package/src/cli/init-bootstrap.ts +47 -0
- package/src/cli/init-client-config.ts +299 -0
- package/src/cli/init-model.ts +229 -0
- package/src/cli/init-render.ts +54 -0
- package/src/cli/init-target-hooks.ts +93 -0
- package/src/cli/init.ts +16 -757
- package/src/cli/json-document.ts +144 -0
- package/src/cli/local-history-dag-model.ts +437 -0
- package/src/cli/local-history-dag-render.ts +133 -0
- package/src/cli/local-history-dag.ts +103 -0
- package/src/cli/main.ts +46 -333
- package/src/cli/migrate-local-history.ts +118 -0
- package/src/cli/peer-command.ts +59 -0
- package/src/contracts/capabilities.ts +218 -109
- package/src/contracts/causal-ontology.ts +5 -0
- package/src/contracts/json-object.ts +28 -0
- package/src/contracts/mcp-runtime.ts +16 -0
- package/src/contracts/output-schema-cli.ts +70 -0
- package/src/contracts/output-schema-fragments.ts +831 -0
- package/src/contracts/output-schema-mcp.ts +282 -0
- package/src/contracts/output-schema-meta.ts +119 -0
- package/src/contracts/output-schemas.ts +62 -1
- package/src/index.ts +1 -0
- package/src/mcp/cache.ts +7 -145
- package/src/mcp/cached-file.ts +1 -40
- package/src/mcp/context.ts +83 -13
- package/src/mcp/control-plane/authz-storage.ts +129 -0
- package/src/mcp/control-plane/session-registry.ts +115 -0
- package/src/mcp/control-plane/status-projection.ts +76 -0
- package/src/mcp/control-plane/types.ts +144 -0
- package/src/mcp/daemon-bootstrap.ts +100 -0
- package/src/mcp/daemon-control-plane.ts +93 -337
- package/src/mcp/daemon-repos.ts +27 -144
- package/src/mcp/daemon-server.ts +31 -262
- package/src/mcp/daemon-session-host.ts +230 -0
- package/src/mcp/daemon-stdio-bridge.ts +260 -0
- package/src/mcp/daemon-worker-child-pool.ts +213 -0
- package/src/mcp/daemon-worker-inline-pool.ts +46 -0
- package/src/mcp/daemon-worker-pool.ts +7 -310
- package/src/mcp/daemon-worker-types.ts +66 -0
- package/src/mcp/metrics.ts +68 -52
- package/src/mcp/monitor-health.ts +83 -0
- package/src/mcp/monitor-persistence.ts +54 -0
- package/src/mcp/monitor-tick-job.ts +3 -0
- package/src/mcp/monitor-types.ts +103 -0
- package/src/mcp/persisted-local-history-graph.ts +591 -0
- package/src/mcp/persisted-local-history-policy.ts +501 -0
- package/src/mcp/persisted-local-history-views.ts +250 -0
- package/src/mcp/persisted-local-history.ts +1137 -762
- package/src/mcp/persistent-monitor-runtime.ts +71 -175
- package/src/mcp/policy.ts +11 -20
- package/src/mcp/receipt.ts +67 -19
- package/src/mcp/repo-concurrency.ts +81 -7
- package/src/mcp/repo-overview/filter.ts +44 -0
- package/src/mcp/repo-overview/types.ts +63 -0
- package/src/mcp/repo-overview/view-projection.ts +90 -0
- package/src/mcp/repo-state-git.ts +247 -0
- package/src/mcp/repo-state-observation.ts +203 -0
- package/src/mcp/repo-state-transition.ts +151 -0
- package/src/mcp/repo-state-types.ts +107 -0
- package/src/mcp/repo-state.ts +90 -721
- package/src/mcp/repo-tool-job.ts +16 -216
- package/src/mcp/repo-tool-worker-context.ts +212 -0
- package/src/mcp/repo-workspace.ts +21 -0
- package/src/mcp/runtime-observability.ts +41 -43
- package/src/mcp/secret-scrub.ts +89 -0
- package/src/mcp/server-context.ts +223 -0
- package/src/mcp/server-invocation.ts +388 -0
- package/src/mcp/server-tool-access.ts +145 -0
- package/src/mcp/server.ts +46 -606
- package/src/mcp/stdio-server.ts +16 -2
- package/src/mcp/tool-registry.ts +80 -0
- package/src/mcp/tools/activity-view.ts +3 -3
- package/src/mcp/tools/budget.ts +10 -7
- package/src/mcp/tools/causal-attach.ts +3 -3
- package/src/mcp/tools/causal-status.ts +3 -3
- package/src/mcp/tools/changed-since.ts +4 -3
- package/src/mcp/tools/code-find.ts +7 -2
- package/src/mcp/tools/code-refs.ts +7 -3
- package/src/mcp/tools/code-show.ts +12 -2
- package/src/mcp/tools/daemon-monitors.ts +3 -3
- package/src/mcp/tools/daemon-repos.ts +3 -3
- package/src/mcp/tools/daemon-sessions.ts +3 -3
- package/src/mcp/tools/daemon-status.ts +3 -3
- package/src/mcp/tools/diagnostic-models.ts +95 -0
- package/src/mcp/tools/doctor.ts +10 -7
- package/src/mcp/tools/explain.ts +3 -3
- package/src/mcp/tools/file-outline.ts +10 -4
- package/src/mcp/tools/graft-diff.ts +6 -3
- package/src/mcp/tools/map-collector.ts +338 -0
- package/src/mcp/tools/map.ts +52 -3
- package/src/mcp/tools/monitor-pause.ts +3 -3
- package/src/mcp/tools/monitor-resume.ts +3 -3
- package/src/mcp/tools/monitor-start.ts +3 -3
- package/src/mcp/tools/monitor-stop.ts +3 -3
- package/src/mcp/tools/precision-live.ts +158 -0
- package/src/mcp/tools/precision-match.ts +3 -0
- package/src/mcp/tools/precision-paths.ts +59 -0
- package/src/mcp/tools/precision-show.ts +86 -0
- package/src/mcp/tools/precision-visibility.ts +44 -0
- package/src/mcp/tools/precision-warp.ts +90 -0
- package/src/mcp/tools/precision.ts +19 -310
- package/src/mcp/tools/read-range.ts +12 -5
- package/src/mcp/tools/run-capture.ts +2 -2
- package/src/mcp/tools/safe-read.ts +21 -10
- package/src/mcp/tools/since.ts +7 -3
- package/src/mcp/tools/state.ts +8 -7
- package/src/mcp/tools/stats.ts +3 -3
- package/src/mcp/tools/workspace-authorizations.ts +3 -3
- package/src/mcp/tools/workspace-authorize.ts +3 -3
- package/src/mcp/tools/workspace-bind.ts +3 -3
- package/src/mcp/tools/workspace-rebind.ts +3 -3
- package/src/mcp/tools/workspace-revoke.ts +3 -3
- package/src/mcp/tools/workspace-status.ts +3 -3
- package/src/mcp/warp-pool.ts +6 -6
- package/src/mcp/workspace-read-observation-model.ts +48 -0
- package/src/mcp/workspace-read-observation.ts +103 -0
- package/src/mcp/workspace-router-capability.ts +32 -0
- package/src/mcp/workspace-router-history.ts +233 -0
- package/src/mcp/workspace-router-model.ts +131 -0
- package/src/mcp/workspace-router-resolution.ts +71 -0
- package/src/mcp/workspace-router-runtime.ts +243 -0
- package/src/mcp/workspace-router.ts +151 -454
- package/src/metrics/logger.ts +22 -51
- package/src/metrics/types.ts +32 -4
- package/src/operations/cached-file.ts +40 -0
- package/src/operations/diff-identity.ts +127 -0
- package/src/operations/file-outline.ts +1 -1
- package/src/operations/graft-diff.ts +0 -1
- package/src/operations/observation-cache.ts +149 -0
- package/src/operations/read-range.ts +0 -1
- package/src/operations/repo-workspace.ts +339 -0
- package/src/operations/result-dto.ts +23 -0
- package/src/operations/safe-read.ts +3 -4
- package/src/operations/state.ts +42 -6
- package/src/operations/structured-buffer-compare.ts +429 -0
- package/src/operations/structured-buffer-model.ts +456 -0
- package/src/operations/structured-buffer-query.ts +794 -0
- package/src/operations/structured-buffer.ts +181 -0
- package/src/parser/diff.ts +172 -1
- package/src/parser/lang.ts +58 -15
- package/src/parser/markdown.ts +197 -0
- package/src/parser/outline.ts +8 -208
- package/src/parser/runtime.ts +71 -0
- package/src/policy/evaluate.ts +2 -2
- package/src/policy/types.ts +9 -9
- package/src/ports/guards.ts +68 -0
- package/src/ports/warp.ts +55 -0
- package/src/session/tracker.ts +7 -7
- package/src/session/types.ts +4 -1
- package/src/warp/identity-resolver.ts +35 -0
- package/src/warp/indexer-git.ts +182 -0
- package/src/warp/indexer-graph.ts +276 -0
- package/src/warp/indexer-model.ts +69 -0
- package/src/warp/indexer.ts +122 -449
- package/src/warp/observers.ts +7 -12
- package/src/warp/open.ts +66 -4
- package/src/warp/symbol-identity.ts +100 -0
|
@@ -0,0 +1,1072 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { CLI_COMMAND_NAMES, type CliCommandName, MCP_TOOL_NAMES, type McpToolName } from "./capabilities.js";
|
|
3
|
+
export { CLI_COMMAND_NAMES, MCP_TOOL_NAMES };
|
|
4
|
+
export type { CliCommandName, McpToolName } from "./capabilities.js";
|
|
5
|
+
export declare const OUTPUT_SCHEMA_VERSION: "1.0.0";
|
|
6
|
+
export interface OutputSchemaMeta {
|
|
7
|
+
readonly id: string;
|
|
8
|
+
readonly version: typeof OUTPUT_SCHEMA_VERSION;
|
|
9
|
+
}
|
|
10
|
+
export declare const MCP_OUTPUT_SCHEMAS: Record<McpToolName, z.ZodType>;
|
|
11
|
+
export declare const CLI_OUTPUT_SCHEMAS: Record<CliCommandName, z.ZodType>;
|
|
12
|
+
export declare function getMcpOutputSchemaMeta(tool: McpToolName): OutputSchemaMeta;
|
|
13
|
+
export declare function getCliOutputSchemaMeta(command: CliCommandName): OutputSchemaMeta;
|
|
14
|
+
export declare function getMcpOutputSchema(tool: McpToolName): z.ZodType;
|
|
15
|
+
export declare function getCliOutputSchema(command: CliCommandName): z.ZodType;
|
|
16
|
+
export declare function attachMcpSchemaMeta<T extends object>(tool: McpToolName, data: T): T & {
|
|
17
|
+
_schema: OutputSchemaMeta;
|
|
18
|
+
};
|
|
19
|
+
export declare function attachCliSchemaMeta<T extends object>(command: CliCommandName, data: T): T & {
|
|
20
|
+
_schema: OutputSchemaMeta;
|
|
21
|
+
};
|
|
22
|
+
export declare function validateCliOutput(command: CliCommandName, data: unknown): Record<string, unknown>;
|
|
23
|
+
export declare function cliCommandMcpTool(command: CliCommandName): McpToolName | null;
|
|
24
|
+
export declare function getMcpOutputJsonSchema(tool: McpToolName): unknown;
|
|
25
|
+
export declare function getCliOutputJsonSchema(command: CliCommandName): unknown;
|
|
26
|
+
/** Inferred output type for a given MCP tool name. */
|
|
27
|
+
export type McpOutputFor<K extends McpToolName> = z.output<(typeof MCP_OUTPUT_SCHEMAS)[K]>;
|
|
28
|
+
/** Inferred output type for a given CLI command name. */
|
|
29
|
+
export type CliOutputFor<K extends CliCommandName> = z.output<(typeof CLI_OUTPUT_SCHEMAS)[K]>;
|
|
30
|
+
export declare const DIAG_ACTIVITY_CLI_SCHEMA: z.ZodObject<{
|
|
31
|
+
sessionMode: z.ZodEnum<{
|
|
32
|
+
daemon: "daemon";
|
|
33
|
+
repo_local: "repo_local";
|
|
34
|
+
}>;
|
|
35
|
+
bindState: z.ZodEnum<{
|
|
36
|
+
bound: "bound";
|
|
37
|
+
unbound: "unbound";
|
|
38
|
+
}>;
|
|
39
|
+
repoId: z.ZodNullable<z.ZodString>;
|
|
40
|
+
worktreeId: z.ZodNullable<z.ZodString>;
|
|
41
|
+
worktreeRoot: z.ZodNullable<z.ZodString>;
|
|
42
|
+
gitCommonDir: z.ZodNullable<z.ZodString>;
|
|
43
|
+
graftDir: z.ZodNullable<z.ZodString>;
|
|
44
|
+
capabilityProfile: z.ZodNullable<z.ZodObject<{
|
|
45
|
+
boundedReads: z.ZodBoolean;
|
|
46
|
+
structuralTools: z.ZodBoolean;
|
|
47
|
+
precisionTools: z.ZodBoolean;
|
|
48
|
+
stateBookmarks: z.ZodBoolean;
|
|
49
|
+
runtimeLogs: z.ZodLiteral<"session_local_only">;
|
|
50
|
+
runCapture: z.ZodBoolean;
|
|
51
|
+
}, z.core.$strict>>;
|
|
52
|
+
truthClass: z.ZodLiteral<"artifact_history">;
|
|
53
|
+
anchor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
54
|
+
posture: z.ZodLiteral<"head_commit">;
|
|
55
|
+
headRef: z.ZodNullable<z.ZodString>;
|
|
56
|
+
headSha: z.ZodString;
|
|
57
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
58
|
+
posture: z.ZodLiteral<"unknown">;
|
|
59
|
+
headRef: z.ZodNullable<z.ZodString>;
|
|
60
|
+
headSha: z.ZodNullable<z.ZodString>;
|
|
61
|
+
reason: z.ZodEnum<{
|
|
62
|
+
missing_head_commit: "missing_head_commit";
|
|
63
|
+
workspace_unbound: "workspace_unbound";
|
|
64
|
+
}>;
|
|
65
|
+
}, z.core.$strict>], "posture">;
|
|
66
|
+
summary: z.ZodObject<{
|
|
67
|
+
headline: z.ZodString;
|
|
68
|
+
anchor: z.ZodString;
|
|
69
|
+
workspace: z.ZodString;
|
|
70
|
+
groups: z.ZodArray<z.ZodString>;
|
|
71
|
+
}, z.core.$strict>;
|
|
72
|
+
activeCausalWorkspace: z.ZodNullable<z.ZodObject<{
|
|
73
|
+
causalContext: z.ZodObject<{
|
|
74
|
+
transportSessionId: z.ZodString;
|
|
75
|
+
workspaceSliceId: z.ZodString;
|
|
76
|
+
causalSessionId: z.ZodString;
|
|
77
|
+
strandId: z.ZodString;
|
|
78
|
+
checkoutEpochId: z.ZodString;
|
|
79
|
+
warpWriterId: z.ZodString;
|
|
80
|
+
stability: z.ZodLiteral<"runtime_local">;
|
|
81
|
+
provenanceLevel: z.ZodLiteral<"artifact_history">;
|
|
82
|
+
}, z.core.$strict>;
|
|
83
|
+
attribution: z.ZodObject<{
|
|
84
|
+
actor: z.ZodObject<{
|
|
85
|
+
actorId: z.ZodString;
|
|
86
|
+
actorKind: z.ZodEnum<{
|
|
87
|
+
git: "git";
|
|
88
|
+
unknown: "unknown";
|
|
89
|
+
human: "human";
|
|
90
|
+
agent: "agent";
|
|
91
|
+
daemon: "daemon";
|
|
92
|
+
}>;
|
|
93
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
94
|
+
source: z.ZodString;
|
|
95
|
+
authorityScope: z.ZodEnum<{
|
|
96
|
+
authoritative: "authoritative";
|
|
97
|
+
declared: "declared";
|
|
98
|
+
inferred: "inferred";
|
|
99
|
+
mixed: "mixed";
|
|
100
|
+
}>;
|
|
101
|
+
}, z.core.$strict>;
|
|
102
|
+
confidence: z.ZodEnum<{
|
|
103
|
+
unknown: "unknown";
|
|
104
|
+
high: "high";
|
|
105
|
+
medium: "medium";
|
|
106
|
+
low: "low";
|
|
107
|
+
}>;
|
|
108
|
+
basis: z.ZodEnum<{
|
|
109
|
+
explicit_declaration: "explicit_declaration";
|
|
110
|
+
git_transition: "git_transition";
|
|
111
|
+
transport_session: "transport_session";
|
|
112
|
+
session_continuity: "session_continuity";
|
|
113
|
+
environment_inference: "environment_inference";
|
|
114
|
+
unknown_fallback: "unknown_fallback";
|
|
115
|
+
conflicting_signals: "conflicting_signals";
|
|
116
|
+
}>;
|
|
117
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
118
|
+
evidenceId: z.ZodString;
|
|
119
|
+
evidenceKind: z.ZodEnum<{
|
|
120
|
+
mcp_transport_binding: "mcp_transport_binding";
|
|
121
|
+
workspace_authorization: "workspace_authorization";
|
|
122
|
+
daemon_session_observation: "daemon_session_observation";
|
|
123
|
+
explicit_handoff: "explicit_handoff";
|
|
124
|
+
git_transition_observation: "git_transition_observation";
|
|
125
|
+
git_hook_transition: "git_hook_transition";
|
|
126
|
+
git_index_observation: "git_index_observation";
|
|
127
|
+
worktree_fs_observation: "worktree_fs_observation";
|
|
128
|
+
writer_lane_identity: "writer_lane_identity";
|
|
129
|
+
explicit_user_declaration: "explicit_user_declaration";
|
|
130
|
+
explicit_agent_declaration: "explicit_agent_declaration";
|
|
131
|
+
conflicting_actor_signal: "conflicting_actor_signal";
|
|
132
|
+
environment_observation: "environment_observation";
|
|
133
|
+
session_continuity_observation: "session_continuity_observation";
|
|
134
|
+
}>;
|
|
135
|
+
source: z.ZodString;
|
|
136
|
+
capturedAt: z.ZodString;
|
|
137
|
+
strength: z.ZodEnum<{
|
|
138
|
+
direct: "direct";
|
|
139
|
+
strong: "strong";
|
|
140
|
+
weak: "weak";
|
|
141
|
+
conflicted: "conflicted";
|
|
142
|
+
}>;
|
|
143
|
+
details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
144
|
+
}, z.core.$strict>>;
|
|
145
|
+
}, z.core.$strict>;
|
|
146
|
+
repoConcurrency: z.ZodNullable<z.ZodObject<{
|
|
147
|
+
posture: z.ZodEnum<{
|
|
148
|
+
unknown: "unknown";
|
|
149
|
+
exclusive: "exclusive";
|
|
150
|
+
shared_repo_only: "shared_repo_only";
|
|
151
|
+
shared_worktree: "shared_worktree";
|
|
152
|
+
overlapping_actors: "overlapping_actors";
|
|
153
|
+
divergent_checkout: "divergent_checkout";
|
|
154
|
+
}>;
|
|
155
|
+
authority: z.ZodEnum<{
|
|
156
|
+
unknown: "unknown";
|
|
157
|
+
explicit_handoff: "explicit_handoff";
|
|
158
|
+
repo_identity_only: "repo_identity_only";
|
|
159
|
+
active_history_scan: "active_history_scan";
|
|
160
|
+
daemon_live_sessions: "daemon_live_sessions";
|
|
161
|
+
footprint_overlap: "footprint_overlap";
|
|
162
|
+
}>;
|
|
163
|
+
observedWorktreeCount: z.ZodNumber;
|
|
164
|
+
observedCausalSessionCount: z.ZodNumber;
|
|
165
|
+
observedActorCount: z.ZodNumber;
|
|
166
|
+
overlappingPathCount: z.ZodNumber;
|
|
167
|
+
summary: z.ZodString;
|
|
168
|
+
daemonSessionLiveness: z.ZodOptional<z.ZodObject<{
|
|
169
|
+
idleTimeoutMs: z.ZodNumber;
|
|
170
|
+
liveSessionCount: z.ZodNumber;
|
|
171
|
+
staleSessionCount: z.ZodNumber;
|
|
172
|
+
}, z.core.$strict>>;
|
|
173
|
+
}, z.core.$strict>>;
|
|
174
|
+
checkoutEpoch: z.ZodNumber;
|
|
175
|
+
lastTransition: z.ZodNullable<z.ZodObject<{
|
|
176
|
+
kind: z.ZodEnum<{
|
|
177
|
+
checkout: "checkout";
|
|
178
|
+
merge: "merge";
|
|
179
|
+
rebase: "rebase";
|
|
180
|
+
reset: "reset";
|
|
181
|
+
}>;
|
|
182
|
+
fromRef: z.ZodNullable<z.ZodString>;
|
|
183
|
+
toRef: z.ZodNullable<z.ZodString>;
|
|
184
|
+
fromCommit: z.ZodNullable<z.ZodString>;
|
|
185
|
+
toCommit: z.ZodNullable<z.ZodString>;
|
|
186
|
+
evidence: z.ZodObject<{
|
|
187
|
+
reflogSubject: z.ZodNullable<z.ZodString>;
|
|
188
|
+
}, z.core.$strict>;
|
|
189
|
+
}, z.core.$strict>>;
|
|
190
|
+
semanticTransition: z.ZodNullable<z.ZodObject<{
|
|
191
|
+
kind: z.ZodEnum<{
|
|
192
|
+
unknown: "unknown";
|
|
193
|
+
index_update: "index_update";
|
|
194
|
+
conflict_resolution: "conflict_resolution";
|
|
195
|
+
merge_phase: "merge_phase";
|
|
196
|
+
rebase_phase: "rebase_phase";
|
|
197
|
+
bulk_transition: "bulk_transition";
|
|
198
|
+
}>;
|
|
199
|
+
authority: z.ZodEnum<{
|
|
200
|
+
authoritative_git_state: "authoritative_git_state";
|
|
201
|
+
repo_snapshot: "repo_snapshot";
|
|
202
|
+
}>;
|
|
203
|
+
phase: z.ZodNullable<z.ZodEnum<{
|
|
204
|
+
conflicted: "conflicted";
|
|
205
|
+
started: "started";
|
|
206
|
+
resolved_waiting_commit: "resolved_waiting_commit";
|
|
207
|
+
continued: "continued";
|
|
208
|
+
completed_or_cleared: "completed_or_cleared";
|
|
209
|
+
}>>;
|
|
210
|
+
summary: z.ZodString;
|
|
211
|
+
evidence: z.ZodObject<{
|
|
212
|
+
totalPaths: z.ZodNumber;
|
|
213
|
+
stagedPaths: z.ZodNumber;
|
|
214
|
+
changedPaths: z.ZodNumber;
|
|
215
|
+
untrackedPaths: z.ZodNumber;
|
|
216
|
+
unmergedPaths: z.ZodNumber;
|
|
217
|
+
mergeInProgress: z.ZodBoolean;
|
|
218
|
+
rebaseInProgress: z.ZodBoolean;
|
|
219
|
+
rebaseStep: z.ZodNullable<z.ZodNumber>;
|
|
220
|
+
rebaseTotalSteps: z.ZodNullable<z.ZodNumber>;
|
|
221
|
+
lastTransitionKind: z.ZodNullable<z.ZodEnum<{
|
|
222
|
+
checkout: "checkout";
|
|
223
|
+
merge: "merge";
|
|
224
|
+
rebase: "rebase";
|
|
225
|
+
reset: "reset";
|
|
226
|
+
}>>;
|
|
227
|
+
reflogSubject: z.ZodNullable<z.ZodString>;
|
|
228
|
+
}, z.core.$strict>;
|
|
229
|
+
}, z.core.$strict>>;
|
|
230
|
+
workspaceOverlayId: z.ZodNullable<z.ZodString>;
|
|
231
|
+
workspaceOverlay: z.ZodNullable<z.ZodObject<{
|
|
232
|
+
dirty: z.ZodLiteral<true>;
|
|
233
|
+
totalPaths: z.ZodNumber;
|
|
234
|
+
stagedPaths: z.ZodNumber;
|
|
235
|
+
changedPaths: z.ZodNumber;
|
|
236
|
+
untrackedPaths: z.ZodNumber;
|
|
237
|
+
actorGuess: z.ZodLiteral<"unknown">;
|
|
238
|
+
confidence: z.ZodLiteral<"low">;
|
|
239
|
+
evidence: z.ZodObject<{
|
|
240
|
+
source: z.ZodLiteral<"git status --porcelain">;
|
|
241
|
+
reflogSubject: z.ZodNullable<z.ZodString>;
|
|
242
|
+
sample: z.ZodArray<z.ZodString>;
|
|
243
|
+
}, z.core.$strict>;
|
|
244
|
+
}, z.core.$strict>>;
|
|
245
|
+
workspaceOverlayFooting: z.ZodNullable<z.ZodObject<{
|
|
246
|
+
observationMode: z.ZodEnum<{
|
|
247
|
+
inferred_between_tool_calls: "inferred_between_tool_calls";
|
|
248
|
+
hook_observed_checkout_boundaries: "hook_observed_checkout_boundaries";
|
|
249
|
+
}>;
|
|
250
|
+
lineagePosture: z.ZodEnum<{
|
|
251
|
+
stable: "stable";
|
|
252
|
+
forked_after_transition: "forked_after_transition";
|
|
253
|
+
}>;
|
|
254
|
+
boundaryAuthority: z.ZodEnum<{
|
|
255
|
+
repo_snapshot: "repo_snapshot";
|
|
256
|
+
none: "none";
|
|
257
|
+
hook_observed: "hook_observed";
|
|
258
|
+
}>;
|
|
259
|
+
degraded: z.ZodLiteral<true>;
|
|
260
|
+
degradedReason: z.ZodEnum<{
|
|
261
|
+
target_repo_hooks_absent: "target_repo_hooks_absent";
|
|
262
|
+
target_repo_hooks_unrecognized: "target_repo_hooks_unrecognized";
|
|
263
|
+
local_edit_watchers_absent: "local_edit_watchers_absent";
|
|
264
|
+
}>;
|
|
265
|
+
checkoutEpoch: z.ZodNumber;
|
|
266
|
+
lastTransition: z.ZodNullable<z.ZodObject<{
|
|
267
|
+
kind: z.ZodEnum<{
|
|
268
|
+
checkout: "checkout";
|
|
269
|
+
merge: "merge";
|
|
270
|
+
rebase: "rebase";
|
|
271
|
+
reset: "reset";
|
|
272
|
+
}>;
|
|
273
|
+
fromRef: z.ZodNullable<z.ZodString>;
|
|
274
|
+
toRef: z.ZodNullable<z.ZodString>;
|
|
275
|
+
fromCommit: z.ZodNullable<z.ZodString>;
|
|
276
|
+
toCommit: z.ZodNullable<z.ZodString>;
|
|
277
|
+
evidence: z.ZodObject<{
|
|
278
|
+
reflogSubject: z.ZodNullable<z.ZodString>;
|
|
279
|
+
}, z.core.$strict>;
|
|
280
|
+
}, z.core.$strict>>;
|
|
281
|
+
workspaceOverlayId: z.ZodNullable<z.ZodString>;
|
|
282
|
+
workspaceOverlay: z.ZodNullable<z.ZodObject<{
|
|
283
|
+
dirty: z.ZodLiteral<true>;
|
|
284
|
+
totalPaths: z.ZodNumber;
|
|
285
|
+
stagedPaths: z.ZodNumber;
|
|
286
|
+
changedPaths: z.ZodNumber;
|
|
287
|
+
untrackedPaths: z.ZodNumber;
|
|
288
|
+
actorGuess: z.ZodLiteral<"unknown">;
|
|
289
|
+
confidence: z.ZodLiteral<"low">;
|
|
290
|
+
evidence: z.ZodObject<{
|
|
291
|
+
source: z.ZodLiteral<"git status --porcelain">;
|
|
292
|
+
reflogSubject: z.ZodNullable<z.ZodString>;
|
|
293
|
+
sample: z.ZodArray<z.ZodString>;
|
|
294
|
+
}, z.core.$strict>;
|
|
295
|
+
}, z.core.$strict>>;
|
|
296
|
+
hookBootstrap: z.ZodObject<{
|
|
297
|
+
posture: z.ZodEnum<{
|
|
298
|
+
absent: "absent";
|
|
299
|
+
external_unknown: "external_unknown";
|
|
300
|
+
installed: "installed";
|
|
301
|
+
}>;
|
|
302
|
+
configuredCoreHooksPath: z.ZodNullable<z.ZodString>;
|
|
303
|
+
resolvedHooksPath: z.ZodString;
|
|
304
|
+
requiredHooks: z.ZodArray<z.ZodString>;
|
|
305
|
+
presentHooks: z.ZodArray<z.ZodString>;
|
|
306
|
+
missingHooks: z.ZodArray<z.ZodString>;
|
|
307
|
+
supportsCheckoutBoundaries: z.ZodBoolean;
|
|
308
|
+
}, z.core.$strict>;
|
|
309
|
+
latestHookEvent: z.ZodNullable<z.ZodObject<{
|
|
310
|
+
hookName: z.ZodEnum<{
|
|
311
|
+
"post-checkout": "post-checkout";
|
|
312
|
+
"post-merge": "post-merge";
|
|
313
|
+
"post-rewrite": "post-rewrite";
|
|
314
|
+
}>;
|
|
315
|
+
hookArgs: z.ZodArray<z.ZodString>;
|
|
316
|
+
worktreeRoot: z.ZodString;
|
|
317
|
+
observedAt: z.ZodString;
|
|
318
|
+
}, z.core.$strict>>;
|
|
319
|
+
}, z.core.$strict>>;
|
|
320
|
+
stagedTarget: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
321
|
+
stability: z.ZodLiteral<"runtime_local">;
|
|
322
|
+
provenanceLevel: z.ZodLiteral<"artifact_history">;
|
|
323
|
+
availability: z.ZodLiteral<"none">;
|
|
324
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
325
|
+
stability: z.ZodLiteral<"runtime_local">;
|
|
326
|
+
provenanceLevel: z.ZodLiteral<"artifact_history">;
|
|
327
|
+
availability: z.ZodLiteral<"full_file">;
|
|
328
|
+
attribution: z.ZodObject<{
|
|
329
|
+
actor: z.ZodObject<{
|
|
330
|
+
actorId: z.ZodString;
|
|
331
|
+
actorKind: z.ZodEnum<{
|
|
332
|
+
git: "git";
|
|
333
|
+
unknown: "unknown";
|
|
334
|
+
human: "human";
|
|
335
|
+
agent: "agent";
|
|
336
|
+
daemon: "daemon";
|
|
337
|
+
}>;
|
|
338
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
339
|
+
source: z.ZodString;
|
|
340
|
+
authorityScope: z.ZodEnum<{
|
|
341
|
+
authoritative: "authoritative";
|
|
342
|
+
declared: "declared";
|
|
343
|
+
inferred: "inferred";
|
|
344
|
+
mixed: "mixed";
|
|
345
|
+
}>;
|
|
346
|
+
}, z.core.$strict>;
|
|
347
|
+
confidence: z.ZodEnum<{
|
|
348
|
+
unknown: "unknown";
|
|
349
|
+
high: "high";
|
|
350
|
+
medium: "medium";
|
|
351
|
+
low: "low";
|
|
352
|
+
}>;
|
|
353
|
+
basis: z.ZodEnum<{
|
|
354
|
+
explicit_declaration: "explicit_declaration";
|
|
355
|
+
git_transition: "git_transition";
|
|
356
|
+
transport_session: "transport_session";
|
|
357
|
+
session_continuity: "session_continuity";
|
|
358
|
+
environment_inference: "environment_inference";
|
|
359
|
+
unknown_fallback: "unknown_fallback";
|
|
360
|
+
conflicting_signals: "conflicting_signals";
|
|
361
|
+
}>;
|
|
362
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
363
|
+
evidenceId: z.ZodString;
|
|
364
|
+
evidenceKind: z.ZodEnum<{
|
|
365
|
+
mcp_transport_binding: "mcp_transport_binding";
|
|
366
|
+
workspace_authorization: "workspace_authorization";
|
|
367
|
+
daemon_session_observation: "daemon_session_observation";
|
|
368
|
+
explicit_handoff: "explicit_handoff";
|
|
369
|
+
git_transition_observation: "git_transition_observation";
|
|
370
|
+
git_hook_transition: "git_hook_transition";
|
|
371
|
+
git_index_observation: "git_index_observation";
|
|
372
|
+
worktree_fs_observation: "worktree_fs_observation";
|
|
373
|
+
writer_lane_identity: "writer_lane_identity";
|
|
374
|
+
explicit_user_declaration: "explicit_user_declaration";
|
|
375
|
+
explicit_agent_declaration: "explicit_agent_declaration";
|
|
376
|
+
conflicting_actor_signal: "conflicting_actor_signal";
|
|
377
|
+
environment_observation: "environment_observation";
|
|
378
|
+
session_continuity_observation: "session_continuity_observation";
|
|
379
|
+
}>;
|
|
380
|
+
source: z.ZodString;
|
|
381
|
+
capturedAt: z.ZodString;
|
|
382
|
+
strength: z.ZodEnum<{
|
|
383
|
+
direct: "direct";
|
|
384
|
+
strong: "strong";
|
|
385
|
+
weak: "weak";
|
|
386
|
+
conflicted: "conflicted";
|
|
387
|
+
}>;
|
|
388
|
+
details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
389
|
+
}, z.core.$strict>>;
|
|
390
|
+
}, z.core.$strict>;
|
|
391
|
+
target: z.ZodObject<{
|
|
392
|
+
targetId: z.ZodString;
|
|
393
|
+
targetKind: z.ZodLiteral<"staged_target">;
|
|
394
|
+
repoId: z.ZodString;
|
|
395
|
+
worktreeId: z.ZodString;
|
|
396
|
+
checkoutEpochId: z.ZodString;
|
|
397
|
+
workspaceOverlayId: z.ZodString;
|
|
398
|
+
selectedAt: z.ZodString;
|
|
399
|
+
selectionEntries: z.ZodArray<z.ZodObject<{
|
|
400
|
+
path: z.ZodString;
|
|
401
|
+
symbols: z.ZodArray<z.ZodString>;
|
|
402
|
+
regions: z.ZodArray<z.ZodObject<{
|
|
403
|
+
path: z.ZodString;
|
|
404
|
+
startLine: z.ZodNumber;
|
|
405
|
+
endLine: z.ZodNumber;
|
|
406
|
+
startColumn: z.ZodOptional<z.ZodNumber>;
|
|
407
|
+
endColumn: z.ZodOptional<z.ZodNumber>;
|
|
408
|
+
}, z.core.$strict>>;
|
|
409
|
+
}, z.core.$strict>>;
|
|
410
|
+
base: z.ZodObject<{
|
|
411
|
+
headCommitSha: z.ZodString;
|
|
412
|
+
indexTreeSha: z.ZodNullable<z.ZodString>;
|
|
413
|
+
}, z.core.$strict>;
|
|
414
|
+
selectionKind: z.ZodLiteral<"full_file">;
|
|
415
|
+
}, z.core.$strict>;
|
|
416
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
417
|
+
stability: z.ZodLiteral<"runtime_local">;
|
|
418
|
+
provenanceLevel: z.ZodLiteral<"artifact_history">;
|
|
419
|
+
availability: z.ZodLiteral<"ambiguous">;
|
|
420
|
+
attribution: z.ZodObject<{
|
|
421
|
+
actor: z.ZodObject<{
|
|
422
|
+
actorId: z.ZodString;
|
|
423
|
+
actorKind: z.ZodEnum<{
|
|
424
|
+
git: "git";
|
|
425
|
+
unknown: "unknown";
|
|
426
|
+
human: "human";
|
|
427
|
+
agent: "agent";
|
|
428
|
+
daemon: "daemon";
|
|
429
|
+
}>;
|
|
430
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
431
|
+
source: z.ZodString;
|
|
432
|
+
authorityScope: z.ZodEnum<{
|
|
433
|
+
authoritative: "authoritative";
|
|
434
|
+
declared: "declared";
|
|
435
|
+
inferred: "inferred";
|
|
436
|
+
mixed: "mixed";
|
|
437
|
+
}>;
|
|
438
|
+
}, z.core.$strict>;
|
|
439
|
+
confidence: z.ZodEnum<{
|
|
440
|
+
unknown: "unknown";
|
|
441
|
+
high: "high";
|
|
442
|
+
medium: "medium";
|
|
443
|
+
low: "low";
|
|
444
|
+
}>;
|
|
445
|
+
basis: z.ZodEnum<{
|
|
446
|
+
explicit_declaration: "explicit_declaration";
|
|
447
|
+
git_transition: "git_transition";
|
|
448
|
+
transport_session: "transport_session";
|
|
449
|
+
session_continuity: "session_continuity";
|
|
450
|
+
environment_inference: "environment_inference";
|
|
451
|
+
unknown_fallback: "unknown_fallback";
|
|
452
|
+
conflicting_signals: "conflicting_signals";
|
|
453
|
+
}>;
|
|
454
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
455
|
+
evidenceId: z.ZodString;
|
|
456
|
+
evidenceKind: z.ZodEnum<{
|
|
457
|
+
mcp_transport_binding: "mcp_transport_binding";
|
|
458
|
+
workspace_authorization: "workspace_authorization";
|
|
459
|
+
daemon_session_observation: "daemon_session_observation";
|
|
460
|
+
explicit_handoff: "explicit_handoff";
|
|
461
|
+
git_transition_observation: "git_transition_observation";
|
|
462
|
+
git_hook_transition: "git_hook_transition";
|
|
463
|
+
git_index_observation: "git_index_observation";
|
|
464
|
+
worktree_fs_observation: "worktree_fs_observation";
|
|
465
|
+
writer_lane_identity: "writer_lane_identity";
|
|
466
|
+
explicit_user_declaration: "explicit_user_declaration";
|
|
467
|
+
explicit_agent_declaration: "explicit_agent_declaration";
|
|
468
|
+
conflicting_actor_signal: "conflicting_actor_signal";
|
|
469
|
+
environment_observation: "environment_observation";
|
|
470
|
+
session_continuity_observation: "session_continuity_observation";
|
|
471
|
+
}>;
|
|
472
|
+
source: z.ZodString;
|
|
473
|
+
capturedAt: z.ZodString;
|
|
474
|
+
strength: z.ZodEnum<{
|
|
475
|
+
direct: "direct";
|
|
476
|
+
strong: "strong";
|
|
477
|
+
weak: "weak";
|
|
478
|
+
conflicted: "conflicted";
|
|
479
|
+
}>;
|
|
480
|
+
details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
481
|
+
}, z.core.$strict>>;
|
|
482
|
+
}, z.core.$strict>;
|
|
483
|
+
reason: z.ZodEnum<{
|
|
484
|
+
missing_head_commit: "missing_head_commit";
|
|
485
|
+
missing_workspace_overlay: "missing_workspace_overlay";
|
|
486
|
+
modified_path_selection_requires_deeper_evidence: "modified_path_selection_requires_deeper_evidence";
|
|
487
|
+
}>;
|
|
488
|
+
observedStagedPaths: z.ZodNumber;
|
|
489
|
+
ambiguousPaths: z.ZodArray<z.ZodString>;
|
|
490
|
+
}, z.core.$strict>], "availability">;
|
|
491
|
+
}, z.core.$strip>>;
|
|
492
|
+
activityWindow: z.ZodObject<{
|
|
493
|
+
historyPath: z.ZodNullable<z.ZodString>;
|
|
494
|
+
limit: z.ZodNumber;
|
|
495
|
+
returned: z.ZodNumber;
|
|
496
|
+
totalMatchingItems: z.ZodNumber;
|
|
497
|
+
truncated: z.ZodBoolean;
|
|
498
|
+
missingSignalKinds: z.ZodArray<z.ZodString>;
|
|
499
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
500
|
+
groupKind: z.ZodEnum<{
|
|
501
|
+
read: "read";
|
|
502
|
+
stage: "stage";
|
|
503
|
+
transition: "transition";
|
|
504
|
+
continuity: "continuity";
|
|
505
|
+
}>;
|
|
506
|
+
label: z.ZodString;
|
|
507
|
+
summary: z.ZodString;
|
|
508
|
+
count: z.ZodNumber;
|
|
509
|
+
items: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
510
|
+
itemKind: z.ZodLiteral<"continuity">;
|
|
511
|
+
recordId: z.ZodString;
|
|
512
|
+
operation: z.ZodEnum<{
|
|
513
|
+
start: "start";
|
|
514
|
+
attach: "attach";
|
|
515
|
+
resume: "resume";
|
|
516
|
+
fork: "fork";
|
|
517
|
+
park: "park";
|
|
518
|
+
}>;
|
|
519
|
+
occurredAt: z.ZodString;
|
|
520
|
+
causalSessionId: z.ZodString;
|
|
521
|
+
strandId: z.ZodString;
|
|
522
|
+
attribution: z.ZodObject<{
|
|
523
|
+
actor: z.ZodObject<{
|
|
524
|
+
actorId: z.ZodString;
|
|
525
|
+
actorKind: z.ZodEnum<{
|
|
526
|
+
git: "git";
|
|
527
|
+
unknown: "unknown";
|
|
528
|
+
human: "human";
|
|
529
|
+
agent: "agent";
|
|
530
|
+
daemon: "daemon";
|
|
531
|
+
}>;
|
|
532
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
533
|
+
source: z.ZodString;
|
|
534
|
+
authorityScope: z.ZodEnum<{
|
|
535
|
+
authoritative: "authoritative";
|
|
536
|
+
declared: "declared";
|
|
537
|
+
inferred: "inferred";
|
|
538
|
+
mixed: "mixed";
|
|
539
|
+
}>;
|
|
540
|
+
}, z.core.$strict>;
|
|
541
|
+
confidence: z.ZodEnum<{
|
|
542
|
+
unknown: "unknown";
|
|
543
|
+
high: "high";
|
|
544
|
+
medium: "medium";
|
|
545
|
+
low: "low";
|
|
546
|
+
}>;
|
|
547
|
+
basis: z.ZodEnum<{
|
|
548
|
+
explicit_declaration: "explicit_declaration";
|
|
549
|
+
git_transition: "git_transition";
|
|
550
|
+
transport_session: "transport_session";
|
|
551
|
+
session_continuity: "session_continuity";
|
|
552
|
+
environment_inference: "environment_inference";
|
|
553
|
+
unknown_fallback: "unknown_fallback";
|
|
554
|
+
conflicting_signals: "conflicting_signals";
|
|
555
|
+
}>;
|
|
556
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
557
|
+
evidenceId: z.ZodString;
|
|
558
|
+
evidenceKind: z.ZodEnum<{
|
|
559
|
+
mcp_transport_binding: "mcp_transport_binding";
|
|
560
|
+
workspace_authorization: "workspace_authorization";
|
|
561
|
+
daemon_session_observation: "daemon_session_observation";
|
|
562
|
+
explicit_handoff: "explicit_handoff";
|
|
563
|
+
git_transition_observation: "git_transition_observation";
|
|
564
|
+
git_hook_transition: "git_hook_transition";
|
|
565
|
+
git_index_observation: "git_index_observation";
|
|
566
|
+
worktree_fs_observation: "worktree_fs_observation";
|
|
567
|
+
writer_lane_identity: "writer_lane_identity";
|
|
568
|
+
explicit_user_declaration: "explicit_user_declaration";
|
|
569
|
+
explicit_agent_declaration: "explicit_agent_declaration";
|
|
570
|
+
conflicting_actor_signal: "conflicting_actor_signal";
|
|
571
|
+
environment_observation: "environment_observation";
|
|
572
|
+
session_continuity_observation: "session_continuity_observation";
|
|
573
|
+
}>;
|
|
574
|
+
source: z.ZodString;
|
|
575
|
+
capturedAt: z.ZodString;
|
|
576
|
+
strength: z.ZodEnum<{
|
|
577
|
+
direct: "direct";
|
|
578
|
+
strong: "strong";
|
|
579
|
+
weak: "weak";
|
|
580
|
+
conflicted: "conflicted";
|
|
581
|
+
}>;
|
|
582
|
+
details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
583
|
+
}, z.core.$strict>>;
|
|
584
|
+
}, z.core.$strict>;
|
|
585
|
+
continuedFromCausalSessionId: z.ZodNullable<z.ZodString>;
|
|
586
|
+
continuedFromStrandId: z.ZodNullable<z.ZodString>;
|
|
587
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
588
|
+
eventId: z.ZodString;
|
|
589
|
+
repoId: z.ZodString;
|
|
590
|
+
worktreeId: z.ZodNullable<z.ZodString>;
|
|
591
|
+
checkoutEpochId: z.ZodNullable<z.ZodString>;
|
|
592
|
+
workspaceOverlayId: z.ZodNullable<z.ZodString>;
|
|
593
|
+
transportSessionId: z.ZodNullable<z.ZodString>;
|
|
594
|
+
workspaceSliceId: z.ZodNullable<z.ZodString>;
|
|
595
|
+
causalSessionId: z.ZodNullable<z.ZodString>;
|
|
596
|
+
strandId: z.ZodNullable<z.ZodString>;
|
|
597
|
+
actorId: z.ZodNullable<z.ZodString>;
|
|
598
|
+
confidence: z.ZodEnum<{
|
|
599
|
+
unknown: "unknown";
|
|
600
|
+
high: "high";
|
|
601
|
+
medium: "medium";
|
|
602
|
+
low: "low";
|
|
603
|
+
}>;
|
|
604
|
+
evidenceIds: z.ZodArray<z.ZodString>;
|
|
605
|
+
attribution: z.ZodObject<{
|
|
606
|
+
actor: z.ZodObject<{
|
|
607
|
+
actorId: z.ZodString;
|
|
608
|
+
actorKind: z.ZodEnum<{
|
|
609
|
+
git: "git";
|
|
610
|
+
unknown: "unknown";
|
|
611
|
+
human: "human";
|
|
612
|
+
agent: "agent";
|
|
613
|
+
daemon: "daemon";
|
|
614
|
+
}>;
|
|
615
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
616
|
+
source: z.ZodString;
|
|
617
|
+
authorityScope: z.ZodEnum<{
|
|
618
|
+
authoritative: "authoritative";
|
|
619
|
+
declared: "declared";
|
|
620
|
+
inferred: "inferred";
|
|
621
|
+
mixed: "mixed";
|
|
622
|
+
}>;
|
|
623
|
+
}, z.core.$strict>;
|
|
624
|
+
confidence: z.ZodEnum<{
|
|
625
|
+
unknown: "unknown";
|
|
626
|
+
high: "high";
|
|
627
|
+
medium: "medium";
|
|
628
|
+
low: "low";
|
|
629
|
+
}>;
|
|
630
|
+
basis: z.ZodEnum<{
|
|
631
|
+
explicit_declaration: "explicit_declaration";
|
|
632
|
+
git_transition: "git_transition";
|
|
633
|
+
transport_session: "transport_session";
|
|
634
|
+
session_continuity: "session_continuity";
|
|
635
|
+
environment_inference: "environment_inference";
|
|
636
|
+
unknown_fallback: "unknown_fallback";
|
|
637
|
+
conflicting_signals: "conflicting_signals";
|
|
638
|
+
}>;
|
|
639
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
640
|
+
evidenceId: z.ZodString;
|
|
641
|
+
evidenceKind: z.ZodEnum<{
|
|
642
|
+
mcp_transport_binding: "mcp_transport_binding";
|
|
643
|
+
workspace_authorization: "workspace_authorization";
|
|
644
|
+
daemon_session_observation: "daemon_session_observation";
|
|
645
|
+
explicit_handoff: "explicit_handoff";
|
|
646
|
+
git_transition_observation: "git_transition_observation";
|
|
647
|
+
git_hook_transition: "git_hook_transition";
|
|
648
|
+
git_index_observation: "git_index_observation";
|
|
649
|
+
worktree_fs_observation: "worktree_fs_observation";
|
|
650
|
+
writer_lane_identity: "writer_lane_identity";
|
|
651
|
+
explicit_user_declaration: "explicit_user_declaration";
|
|
652
|
+
explicit_agent_declaration: "explicit_agent_declaration";
|
|
653
|
+
conflicting_actor_signal: "conflicting_actor_signal";
|
|
654
|
+
environment_observation: "environment_observation";
|
|
655
|
+
session_continuity_observation: "session_continuity_observation";
|
|
656
|
+
}>;
|
|
657
|
+
source: z.ZodString;
|
|
658
|
+
capturedAt: z.ZodString;
|
|
659
|
+
strength: z.ZodEnum<{
|
|
660
|
+
direct: "direct";
|
|
661
|
+
strong: "strong";
|
|
662
|
+
weak: "weak";
|
|
663
|
+
conflicted: "conflicted";
|
|
664
|
+
}>;
|
|
665
|
+
details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
666
|
+
}, z.core.$strict>>;
|
|
667
|
+
}, z.core.$strict>;
|
|
668
|
+
footprint: z.ZodObject<{
|
|
669
|
+
paths: z.ZodArray<z.ZodString>;
|
|
670
|
+
symbols: z.ZodArray<z.ZodString>;
|
|
671
|
+
regions: z.ZodArray<z.ZodObject<{
|
|
672
|
+
path: z.ZodString;
|
|
673
|
+
startLine: z.ZodNumber;
|
|
674
|
+
endLine: z.ZodNumber;
|
|
675
|
+
startColumn: z.ZodOptional<z.ZodNumber>;
|
|
676
|
+
endColumn: z.ZodOptional<z.ZodNumber>;
|
|
677
|
+
}, z.core.$strict>>;
|
|
678
|
+
}, z.core.$strict>;
|
|
679
|
+
occurredAt: z.ZodString;
|
|
680
|
+
eventKind: z.ZodLiteral<"read">;
|
|
681
|
+
payload: z.ZodObject<{
|
|
682
|
+
surface: z.ZodString;
|
|
683
|
+
projection: z.ZodString;
|
|
684
|
+
sourceLayer: z.ZodEnum<{
|
|
685
|
+
canonical_structural_truth: "canonical_structural_truth";
|
|
686
|
+
workspace_overlay: "workspace_overlay";
|
|
687
|
+
strand_local_speculation: "strand_local_speculation";
|
|
688
|
+
}>;
|
|
689
|
+
reason: z.ZodString;
|
|
690
|
+
}, z.core.$strict>;
|
|
691
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
692
|
+
eventId: z.ZodString;
|
|
693
|
+
repoId: z.ZodString;
|
|
694
|
+
worktreeId: z.ZodNullable<z.ZodString>;
|
|
695
|
+
checkoutEpochId: z.ZodNullable<z.ZodString>;
|
|
696
|
+
workspaceOverlayId: z.ZodNullable<z.ZodString>;
|
|
697
|
+
transportSessionId: z.ZodNullable<z.ZodString>;
|
|
698
|
+
workspaceSliceId: z.ZodNullable<z.ZodString>;
|
|
699
|
+
causalSessionId: z.ZodNullable<z.ZodString>;
|
|
700
|
+
strandId: z.ZodNullable<z.ZodString>;
|
|
701
|
+
actorId: z.ZodNullable<z.ZodString>;
|
|
702
|
+
confidence: z.ZodEnum<{
|
|
703
|
+
unknown: "unknown";
|
|
704
|
+
high: "high";
|
|
705
|
+
medium: "medium";
|
|
706
|
+
low: "low";
|
|
707
|
+
}>;
|
|
708
|
+
evidenceIds: z.ZodArray<z.ZodString>;
|
|
709
|
+
attribution: z.ZodObject<{
|
|
710
|
+
actor: z.ZodObject<{
|
|
711
|
+
actorId: z.ZodString;
|
|
712
|
+
actorKind: z.ZodEnum<{
|
|
713
|
+
git: "git";
|
|
714
|
+
unknown: "unknown";
|
|
715
|
+
human: "human";
|
|
716
|
+
agent: "agent";
|
|
717
|
+
daemon: "daemon";
|
|
718
|
+
}>;
|
|
719
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
720
|
+
source: z.ZodString;
|
|
721
|
+
authorityScope: z.ZodEnum<{
|
|
722
|
+
authoritative: "authoritative";
|
|
723
|
+
declared: "declared";
|
|
724
|
+
inferred: "inferred";
|
|
725
|
+
mixed: "mixed";
|
|
726
|
+
}>;
|
|
727
|
+
}, z.core.$strict>;
|
|
728
|
+
confidence: z.ZodEnum<{
|
|
729
|
+
unknown: "unknown";
|
|
730
|
+
high: "high";
|
|
731
|
+
medium: "medium";
|
|
732
|
+
low: "low";
|
|
733
|
+
}>;
|
|
734
|
+
basis: z.ZodEnum<{
|
|
735
|
+
explicit_declaration: "explicit_declaration";
|
|
736
|
+
git_transition: "git_transition";
|
|
737
|
+
transport_session: "transport_session";
|
|
738
|
+
session_continuity: "session_continuity";
|
|
739
|
+
environment_inference: "environment_inference";
|
|
740
|
+
unknown_fallback: "unknown_fallback";
|
|
741
|
+
conflicting_signals: "conflicting_signals";
|
|
742
|
+
}>;
|
|
743
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
744
|
+
evidenceId: z.ZodString;
|
|
745
|
+
evidenceKind: z.ZodEnum<{
|
|
746
|
+
mcp_transport_binding: "mcp_transport_binding";
|
|
747
|
+
workspace_authorization: "workspace_authorization";
|
|
748
|
+
daemon_session_observation: "daemon_session_observation";
|
|
749
|
+
explicit_handoff: "explicit_handoff";
|
|
750
|
+
git_transition_observation: "git_transition_observation";
|
|
751
|
+
git_hook_transition: "git_hook_transition";
|
|
752
|
+
git_index_observation: "git_index_observation";
|
|
753
|
+
worktree_fs_observation: "worktree_fs_observation";
|
|
754
|
+
writer_lane_identity: "writer_lane_identity";
|
|
755
|
+
explicit_user_declaration: "explicit_user_declaration";
|
|
756
|
+
explicit_agent_declaration: "explicit_agent_declaration";
|
|
757
|
+
conflicting_actor_signal: "conflicting_actor_signal";
|
|
758
|
+
environment_observation: "environment_observation";
|
|
759
|
+
session_continuity_observation: "session_continuity_observation";
|
|
760
|
+
}>;
|
|
761
|
+
source: z.ZodString;
|
|
762
|
+
capturedAt: z.ZodString;
|
|
763
|
+
strength: z.ZodEnum<{
|
|
764
|
+
direct: "direct";
|
|
765
|
+
strong: "strong";
|
|
766
|
+
weak: "weak";
|
|
767
|
+
conflicted: "conflicted";
|
|
768
|
+
}>;
|
|
769
|
+
details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
770
|
+
}, z.core.$strict>>;
|
|
771
|
+
}, z.core.$strict>;
|
|
772
|
+
footprint: z.ZodObject<{
|
|
773
|
+
paths: z.ZodArray<z.ZodString>;
|
|
774
|
+
symbols: z.ZodArray<z.ZodString>;
|
|
775
|
+
regions: z.ZodArray<z.ZodObject<{
|
|
776
|
+
path: z.ZodString;
|
|
777
|
+
startLine: z.ZodNumber;
|
|
778
|
+
endLine: z.ZodNumber;
|
|
779
|
+
startColumn: z.ZodOptional<z.ZodNumber>;
|
|
780
|
+
endColumn: z.ZodOptional<z.ZodNumber>;
|
|
781
|
+
}, z.core.$strict>>;
|
|
782
|
+
}, z.core.$strict>;
|
|
783
|
+
occurredAt: z.ZodString;
|
|
784
|
+
eventKind: z.ZodLiteral<"stage">;
|
|
785
|
+
payload: z.ZodObject<{
|
|
786
|
+
targetId: z.ZodString;
|
|
787
|
+
footprint: z.ZodObject<{
|
|
788
|
+
paths: z.ZodArray<z.ZodString>;
|
|
789
|
+
symbols: z.ZodArray<z.ZodString>;
|
|
790
|
+
regions: z.ZodArray<z.ZodObject<{
|
|
791
|
+
path: z.ZodString;
|
|
792
|
+
startLine: z.ZodNumber;
|
|
793
|
+
endLine: z.ZodNumber;
|
|
794
|
+
startColumn: z.ZodOptional<z.ZodNumber>;
|
|
795
|
+
endColumn: z.ZodOptional<z.ZodNumber>;
|
|
796
|
+
}, z.core.$strict>>;
|
|
797
|
+
}, z.core.$strict>;
|
|
798
|
+
selectionKind: z.ZodEnum<{
|
|
799
|
+
full_file: "full_file";
|
|
800
|
+
partial_file: "partial_file";
|
|
801
|
+
symbol_subset: "symbol_subset";
|
|
802
|
+
}>;
|
|
803
|
+
}, z.core.$strict>;
|
|
804
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
805
|
+
eventId: z.ZodString;
|
|
806
|
+
repoId: z.ZodString;
|
|
807
|
+
worktreeId: z.ZodNullable<z.ZodString>;
|
|
808
|
+
checkoutEpochId: z.ZodNullable<z.ZodString>;
|
|
809
|
+
workspaceOverlayId: z.ZodNullable<z.ZodString>;
|
|
810
|
+
transportSessionId: z.ZodNullable<z.ZodString>;
|
|
811
|
+
workspaceSliceId: z.ZodNullable<z.ZodString>;
|
|
812
|
+
causalSessionId: z.ZodNullable<z.ZodString>;
|
|
813
|
+
strandId: z.ZodNullable<z.ZodString>;
|
|
814
|
+
actorId: z.ZodNullable<z.ZodString>;
|
|
815
|
+
confidence: z.ZodEnum<{
|
|
816
|
+
unknown: "unknown";
|
|
817
|
+
high: "high";
|
|
818
|
+
medium: "medium";
|
|
819
|
+
low: "low";
|
|
820
|
+
}>;
|
|
821
|
+
evidenceIds: z.ZodArray<z.ZodString>;
|
|
822
|
+
attribution: z.ZodObject<{
|
|
823
|
+
actor: z.ZodObject<{
|
|
824
|
+
actorId: z.ZodString;
|
|
825
|
+
actorKind: z.ZodEnum<{
|
|
826
|
+
git: "git";
|
|
827
|
+
unknown: "unknown";
|
|
828
|
+
human: "human";
|
|
829
|
+
agent: "agent";
|
|
830
|
+
daemon: "daemon";
|
|
831
|
+
}>;
|
|
832
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
833
|
+
source: z.ZodString;
|
|
834
|
+
authorityScope: z.ZodEnum<{
|
|
835
|
+
authoritative: "authoritative";
|
|
836
|
+
declared: "declared";
|
|
837
|
+
inferred: "inferred";
|
|
838
|
+
mixed: "mixed";
|
|
839
|
+
}>;
|
|
840
|
+
}, z.core.$strict>;
|
|
841
|
+
confidence: z.ZodEnum<{
|
|
842
|
+
unknown: "unknown";
|
|
843
|
+
high: "high";
|
|
844
|
+
medium: "medium";
|
|
845
|
+
low: "low";
|
|
846
|
+
}>;
|
|
847
|
+
basis: z.ZodEnum<{
|
|
848
|
+
explicit_declaration: "explicit_declaration";
|
|
849
|
+
git_transition: "git_transition";
|
|
850
|
+
transport_session: "transport_session";
|
|
851
|
+
session_continuity: "session_continuity";
|
|
852
|
+
environment_inference: "environment_inference";
|
|
853
|
+
unknown_fallback: "unknown_fallback";
|
|
854
|
+
conflicting_signals: "conflicting_signals";
|
|
855
|
+
}>;
|
|
856
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
857
|
+
evidenceId: z.ZodString;
|
|
858
|
+
evidenceKind: z.ZodEnum<{
|
|
859
|
+
mcp_transport_binding: "mcp_transport_binding";
|
|
860
|
+
workspace_authorization: "workspace_authorization";
|
|
861
|
+
daemon_session_observation: "daemon_session_observation";
|
|
862
|
+
explicit_handoff: "explicit_handoff";
|
|
863
|
+
git_transition_observation: "git_transition_observation";
|
|
864
|
+
git_hook_transition: "git_hook_transition";
|
|
865
|
+
git_index_observation: "git_index_observation";
|
|
866
|
+
worktree_fs_observation: "worktree_fs_observation";
|
|
867
|
+
writer_lane_identity: "writer_lane_identity";
|
|
868
|
+
explicit_user_declaration: "explicit_user_declaration";
|
|
869
|
+
explicit_agent_declaration: "explicit_agent_declaration";
|
|
870
|
+
conflicting_actor_signal: "conflicting_actor_signal";
|
|
871
|
+
environment_observation: "environment_observation";
|
|
872
|
+
session_continuity_observation: "session_continuity_observation";
|
|
873
|
+
}>;
|
|
874
|
+
source: z.ZodString;
|
|
875
|
+
capturedAt: z.ZodString;
|
|
876
|
+
strength: z.ZodEnum<{
|
|
877
|
+
direct: "direct";
|
|
878
|
+
strong: "strong";
|
|
879
|
+
weak: "weak";
|
|
880
|
+
conflicted: "conflicted";
|
|
881
|
+
}>;
|
|
882
|
+
details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
883
|
+
}, z.core.$strict>>;
|
|
884
|
+
}, z.core.$strict>;
|
|
885
|
+
footprint: z.ZodObject<{
|
|
886
|
+
paths: z.ZodArray<z.ZodString>;
|
|
887
|
+
symbols: z.ZodArray<z.ZodString>;
|
|
888
|
+
regions: z.ZodArray<z.ZodObject<{
|
|
889
|
+
path: z.ZodString;
|
|
890
|
+
startLine: z.ZodNumber;
|
|
891
|
+
endLine: z.ZodNumber;
|
|
892
|
+
startColumn: z.ZodOptional<z.ZodNumber>;
|
|
893
|
+
endColumn: z.ZodOptional<z.ZodNumber>;
|
|
894
|
+
}, z.core.$strict>>;
|
|
895
|
+
}, z.core.$strict>;
|
|
896
|
+
occurredAt: z.ZodString;
|
|
897
|
+
eventKind: z.ZodLiteral<"transition">;
|
|
898
|
+
payload: z.ZodObject<{
|
|
899
|
+
semanticKind: z.ZodEnum<{
|
|
900
|
+
unknown: "unknown";
|
|
901
|
+
index_update: "index_update";
|
|
902
|
+
conflict_resolution: "conflict_resolution";
|
|
903
|
+
merge_phase: "merge_phase";
|
|
904
|
+
rebase_phase: "rebase_phase";
|
|
905
|
+
bulk_transition: "bulk_transition";
|
|
906
|
+
}>;
|
|
907
|
+
authority: z.ZodEnum<{
|
|
908
|
+
authoritative_git_state: "authoritative_git_state";
|
|
909
|
+
repo_snapshot: "repo_snapshot";
|
|
910
|
+
}>;
|
|
911
|
+
phase: z.ZodNullable<z.ZodEnum<{
|
|
912
|
+
conflicted: "conflicted";
|
|
913
|
+
started: "started";
|
|
914
|
+
resolved_waiting_commit: "resolved_waiting_commit";
|
|
915
|
+
continued: "continued";
|
|
916
|
+
completed_or_cleared: "completed_or_cleared";
|
|
917
|
+
}>>;
|
|
918
|
+
summary: z.ZodString;
|
|
919
|
+
transitionKind: z.ZodNullable<z.ZodEnum<{
|
|
920
|
+
checkout: "checkout";
|
|
921
|
+
merge: "merge";
|
|
922
|
+
rebase: "rebase";
|
|
923
|
+
reset: "reset";
|
|
924
|
+
rewrite: "rewrite";
|
|
925
|
+
detached_head: "detached_head";
|
|
926
|
+
}>>;
|
|
927
|
+
fromRef: z.ZodNullable<z.ZodString>;
|
|
928
|
+
toRef: z.ZodNullable<z.ZodString>;
|
|
929
|
+
createdCheckoutEpochId: z.ZodNullable<z.ZodString>;
|
|
930
|
+
}, z.core.$strict>;
|
|
931
|
+
}, z.core.$strict>]>>;
|
|
932
|
+
}, z.core.$strict>>;
|
|
933
|
+
}, z.core.$strict>;
|
|
934
|
+
degradedReasons: z.ZodArray<z.ZodString>;
|
|
935
|
+
nextAction: z.ZodUnion<readonly [z.ZodEnum<{
|
|
936
|
+
bind_workspace_to_begin_local_history: "bind_workspace_to_begin_local_history";
|
|
937
|
+
continue_active_causal_workspace: "continue_active_causal_workspace";
|
|
938
|
+
review_transition_boundary_before_continuing: "review_transition_boundary_before_continuing";
|
|
939
|
+
inspect_or_resume_local_history: "inspect_or_resume_local_history";
|
|
940
|
+
coordinate_shared_worktree_before_continuing: "coordinate_shared_worktree_before_continuing";
|
|
941
|
+
inspect_overlapping_actor_activity_before_continuing: "inspect_overlapping_actor_activity_before_continuing";
|
|
942
|
+
review_divergent_checkout_before_continuing: "review_divergent_checkout_before_continuing";
|
|
943
|
+
resolve_conflicts_before_continuing: "resolve_conflicts_before_continuing";
|
|
944
|
+
complete_merge_phase_before_continuing: "complete_merge_phase_before_continuing";
|
|
945
|
+
continue_rebase_phase_before_continuing: "continue_rebase_phase_before_continuing";
|
|
946
|
+
inspect_bulk_transition_scope_before_continuing: "inspect_bulk_transition_scope_before_continuing";
|
|
947
|
+
}>, z.ZodLiteral<"bind_workspace_to_begin_local_history">]>;
|
|
948
|
+
_schema: z.ZodOptional<z.ZodUnknown>;
|
|
949
|
+
_receipt: z.ZodOptional<z.ZodUnknown>;
|
|
950
|
+
tripwire: z.ZodOptional<z.ZodUnknown>;
|
|
951
|
+
}, z.core.$strict>;
|
|
952
|
+
export declare const RECEIPT_SCHEMA: z.ZodObject<{
|
|
953
|
+
sessionId: z.ZodString;
|
|
954
|
+
traceId: z.ZodString;
|
|
955
|
+
seq: z.ZodNumber;
|
|
956
|
+
ts: z.ZodString;
|
|
957
|
+
tool: z.ZodString;
|
|
958
|
+
projection: z.ZodString;
|
|
959
|
+
reason: z.ZodString;
|
|
960
|
+
latencyMs: z.ZodNumber;
|
|
961
|
+
fileBytes: z.ZodNullable<z.ZodNumber>;
|
|
962
|
+
returnedBytes: z.ZodNumber;
|
|
963
|
+
burden: z.ZodObject<{
|
|
964
|
+
kind: z.ZodEnum<{
|
|
965
|
+
search: "search";
|
|
966
|
+
read: "read";
|
|
967
|
+
shell: "shell";
|
|
968
|
+
state: "state";
|
|
969
|
+
diagnostic: "diagnostic";
|
|
970
|
+
}>;
|
|
971
|
+
nonRead: z.ZodBoolean;
|
|
972
|
+
}, z.core.$strict>;
|
|
973
|
+
cumulative: z.ZodObject<{
|
|
974
|
+
reads: z.ZodNumber;
|
|
975
|
+
outlines: z.ZodNumber;
|
|
976
|
+
refusals: z.ZodNumber;
|
|
977
|
+
cacheHits: z.ZodNumber;
|
|
978
|
+
bytesReturned: z.ZodNumber;
|
|
979
|
+
bytesAvoided: z.ZodNumber;
|
|
980
|
+
nonReadBytesReturned: z.ZodNumber;
|
|
981
|
+
burdenByKind: z.ZodObject<{
|
|
982
|
+
read: z.ZodObject<{
|
|
983
|
+
calls: z.ZodNumber;
|
|
984
|
+
bytesReturned: z.ZodNumber;
|
|
985
|
+
}, z.core.$strict>;
|
|
986
|
+
search: z.ZodObject<{
|
|
987
|
+
calls: z.ZodNumber;
|
|
988
|
+
bytesReturned: z.ZodNumber;
|
|
989
|
+
}, z.core.$strict>;
|
|
990
|
+
shell: z.ZodObject<{
|
|
991
|
+
calls: z.ZodNumber;
|
|
992
|
+
bytesReturned: z.ZodNumber;
|
|
993
|
+
}, z.core.$strict>;
|
|
994
|
+
state: z.ZodObject<{
|
|
995
|
+
calls: z.ZodNumber;
|
|
996
|
+
bytesReturned: z.ZodNumber;
|
|
997
|
+
}, z.core.$strict>;
|
|
998
|
+
diagnostic: z.ZodObject<{
|
|
999
|
+
calls: z.ZodNumber;
|
|
1000
|
+
bytesReturned: z.ZodNumber;
|
|
1001
|
+
}, z.core.$strict>;
|
|
1002
|
+
}, z.core.$strict>;
|
|
1003
|
+
}, z.core.$strict>;
|
|
1004
|
+
budget: z.ZodOptional<z.ZodObject<{
|
|
1005
|
+
total: z.ZodNumber;
|
|
1006
|
+
consumed: z.ZodNumber;
|
|
1007
|
+
remaining: z.ZodNumber;
|
|
1008
|
+
fraction: z.ZodNumber;
|
|
1009
|
+
}, z.core.$strict>>;
|
|
1010
|
+
compressionRatio: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1011
|
+
}, z.core.$strict>;
|
|
1012
|
+
export declare const RECEIPT_JSON_SCHEMA: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
|
|
1013
|
+
sessionId: z.ZodString;
|
|
1014
|
+
traceId: z.ZodString;
|
|
1015
|
+
seq: z.ZodNumber;
|
|
1016
|
+
ts: z.ZodString;
|
|
1017
|
+
tool: z.ZodString;
|
|
1018
|
+
projection: z.ZodString;
|
|
1019
|
+
reason: z.ZodString;
|
|
1020
|
+
latencyMs: z.ZodNumber;
|
|
1021
|
+
fileBytes: z.ZodNullable<z.ZodNumber>;
|
|
1022
|
+
returnedBytes: z.ZodNumber;
|
|
1023
|
+
burden: z.ZodObject<{
|
|
1024
|
+
kind: z.ZodEnum<{
|
|
1025
|
+
search: "search";
|
|
1026
|
+
read: "read";
|
|
1027
|
+
shell: "shell";
|
|
1028
|
+
state: "state";
|
|
1029
|
+
diagnostic: "diagnostic";
|
|
1030
|
+
}>;
|
|
1031
|
+
nonRead: z.ZodBoolean;
|
|
1032
|
+
}, z.core.$strict>;
|
|
1033
|
+
cumulative: z.ZodObject<{
|
|
1034
|
+
reads: z.ZodNumber;
|
|
1035
|
+
outlines: z.ZodNumber;
|
|
1036
|
+
refusals: z.ZodNumber;
|
|
1037
|
+
cacheHits: z.ZodNumber;
|
|
1038
|
+
bytesReturned: z.ZodNumber;
|
|
1039
|
+
bytesAvoided: z.ZodNumber;
|
|
1040
|
+
nonReadBytesReturned: z.ZodNumber;
|
|
1041
|
+
burdenByKind: z.ZodObject<{
|
|
1042
|
+
read: z.ZodObject<{
|
|
1043
|
+
calls: z.ZodNumber;
|
|
1044
|
+
bytesReturned: z.ZodNumber;
|
|
1045
|
+
}, z.core.$strict>;
|
|
1046
|
+
search: z.ZodObject<{
|
|
1047
|
+
calls: z.ZodNumber;
|
|
1048
|
+
bytesReturned: z.ZodNumber;
|
|
1049
|
+
}, z.core.$strict>;
|
|
1050
|
+
shell: z.ZodObject<{
|
|
1051
|
+
calls: z.ZodNumber;
|
|
1052
|
+
bytesReturned: z.ZodNumber;
|
|
1053
|
+
}, z.core.$strict>;
|
|
1054
|
+
state: z.ZodObject<{
|
|
1055
|
+
calls: z.ZodNumber;
|
|
1056
|
+
bytesReturned: z.ZodNumber;
|
|
1057
|
+
}, z.core.$strict>;
|
|
1058
|
+
diagnostic: z.ZodObject<{
|
|
1059
|
+
calls: z.ZodNumber;
|
|
1060
|
+
bytesReturned: z.ZodNumber;
|
|
1061
|
+
}, z.core.$strict>;
|
|
1062
|
+
}, z.core.$strict>;
|
|
1063
|
+
}, z.core.$strict>;
|
|
1064
|
+
budget: z.ZodOptional<z.ZodObject<{
|
|
1065
|
+
total: z.ZodNumber;
|
|
1066
|
+
consumed: z.ZodNumber;
|
|
1067
|
+
remaining: z.ZodNumber;
|
|
1068
|
+
fraction: z.ZodNumber;
|
|
1069
|
+
}, z.core.$strict>>;
|
|
1070
|
+
compressionRatio: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1071
|
+
}, z.core.$strict>>;
|
|
1072
|
+
//# sourceMappingURL=output-schemas.d.ts.map
|