pulseed 0.6.2 → 0.6.4
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/dist/adapters/agents/claude-api.d.ts +2 -2
- package/dist/adapters/agents/claude-api.d.ts.map +1 -1
- package/dist/adapters/agents/claude-api.js +3 -2
- package/dist/adapters/agents/claude-api.js.map +1 -1
- package/dist/adapters/agents/openai-codex.d.ts +3 -0
- package/dist/adapters/agents/openai-codex.d.ts.map +1 -1
- package/dist/adapters/agents/openai-codex.js +5 -0
- package/dist/adapters/agents/openai-codex.js.map +1 -1
- package/dist/adapters/datasources/artifact-metric-datasource.d.ts +13 -0
- package/dist/adapters/datasources/artifact-metric-datasource.d.ts.map +1 -1
- package/dist/adapters/datasources/artifact-metric-datasource.js +257 -8
- package/dist/adapters/datasources/artifact-metric-datasource.js.map +1 -1
- package/dist/base/config/global-config.d.ts +4 -4
- package/dist/base/llm/codex-llm-client.d.ts +3 -0
- package/dist/base/llm/codex-llm-client.d.ts.map +1 -1
- package/dist/base/llm/codex-llm-client.js +71 -7
- package/dist/base/llm/codex-llm-client.js.map +1 -1
- package/dist/base/llm/llm-client.d.ts +2 -0
- package/dist/base/llm/llm-client.d.ts.map +1 -1
- package/dist/base/llm/llm-client.js +2 -2
- package/dist/base/llm/llm-client.js.map +1 -1
- package/dist/base/llm/ollama-client.d.ts.map +1 -1
- package/dist/base/llm/ollama-client.js +12 -0
- package/dist/base/llm/ollama-client.js.map +1 -1
- package/dist/base/llm/openai-client.d.ts +4 -0
- package/dist/base/llm/openai-client.d.ts.map +1 -1
- package/dist/base/llm/openai-client.js +29 -15
- package/dist/base/llm/openai-client.js.map +1 -1
- package/dist/base/llm/provider-config.d.ts +12 -2
- package/dist/base/llm/provider-config.d.ts.map +1 -1
- package/dist/base/llm/provider-config.js +46 -5
- package/dist/base/llm/provider-config.js.map +1 -1
- package/dist/base/llm/provider-factory.d.ts +1 -1
- package/dist/base/llm/provider-factory.d.ts.map +1 -1
- package/dist/base/llm/provider-factory.js +7 -2
- package/dist/base/llm/provider-factory.js.map +1 -1
- package/dist/base/protocol/exact-protocol.d.ts +47 -0
- package/dist/base/protocol/exact-protocol.d.ts.map +1 -0
- package/dist/base/protocol/exact-protocol.js +175 -0
- package/dist/base/protocol/exact-protocol.js.map +1 -0
- package/dist/base/types/core.d.ts +1 -1
- package/dist/base/types/core.d.ts.map +1 -1
- package/dist/base/types/core.js +2 -0
- package/dist/base/types/core.js.map +1 -1
- package/dist/base/utils/execFileNoThrow.d.ts +4 -0
- package/dist/base/utils/execFileNoThrow.d.ts.map +1 -1
- package/dist/base/utils/execFileNoThrow.js +81 -2
- package/dist/base/utils/execFileNoThrow.js.map +1 -1
- package/dist/base/utils/workspace-path.d.ts +6 -0
- package/dist/base/utils/workspace-path.d.ts.map +1 -0
- package/dist/base/utils/workspace-path.js +24 -0
- package/dist/base/utils/workspace-path.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/interface/chat/chat-event-state.d.ts +2 -0
- package/dist/interface/chat/chat-event-state.d.ts.map +1 -1
- package/dist/interface/chat/chat-event-state.js +22 -41
- package/dist/interface/chat/chat-event-state.js.map +1 -1
- package/dist/interface/chat/chat-events.d.ts +15 -1
- package/dist/interface/chat/chat-events.d.ts.map +1 -1
- package/dist/interface/chat/chat-history.d.ts +3816 -192
- package/dist/interface/chat/chat-history.d.ts.map +1 -1
- package/dist/interface/chat/chat-history.js +529 -5
- package/dist/interface/chat/chat-history.js.map +1 -1
- package/dist/interface/chat/chat-runner-command-helpers.d.ts +1 -0
- package/dist/interface/chat/chat-runner-command-helpers.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-command-helpers.js +1 -0
- package/dist/interface/chat/chat-runner-command-helpers.js.map +1 -1
- package/dist/interface/chat/chat-runner-commands.d.ts +3 -1
- package/dist/interface/chat/chat-runner-commands.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-commands.js +175 -22
- package/dist/interface/chat/chat-runner-commands.js.map +1 -1
- package/dist/interface/chat/chat-runner-contracts.d.ts +6 -1
- package/dist/interface/chat/chat-runner-contracts.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-event-bridge.d.ts +13 -1
- package/dist/interface/chat/chat-runner-event-bridge.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-event-bridge.js +51 -3
- package/dist/interface/chat/chat-runner-event-bridge.js.map +1 -1
- package/dist/interface/chat/chat-runner-routes.d.ts +5 -17
- package/dist/interface/chat/chat-runner-routes.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-routes.js +80 -51
- package/dist/interface/chat/chat-runner-routes.js.map +1 -1
- package/dist/interface/chat/chat-runner-runtime.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-runtime.js +4 -0
- package/dist/interface/chat/chat-runner-runtime.js.map +1 -1
- package/dist/interface/chat/chat-runner.d.ts +8 -1
- package/dist/interface/chat/chat-runner.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner.js +172 -49
- package/dist/interface/chat/chat-runner.js.map +1 -1
- package/dist/interface/chat/chat-session-store.d.ts +3 -0
- package/dist/interface/chat/chat-session-store.d.ts.map +1 -1
- package/dist/interface/chat/chat-session-store.js +12 -0
- package/dist/interface/chat/chat-session-store.js.map +1 -1
- package/dist/interface/chat/chat-state-service.d.ts +1 -0
- package/dist/interface/chat/chat-state-service.d.ts.map +1 -1
- package/dist/interface/chat/chat-state-service.js +1 -0
- package/dist/interface/chat/chat-state-service.js.map +1 -1
- package/dist/interface/chat/cross-platform-session.d.ts +15 -0
- package/dist/interface/chat/cross-platform-session.d.ts.map +1 -1
- package/dist/interface/chat/cross-platform-session.js +260 -42
- package/dist/interface/chat/cross-platform-session.js.map +1 -1
- package/dist/interface/chat/failure-recovery.d.ts.map +1 -1
- package/dist/interface/chat/failure-recovery.js +15 -1
- package/dist/interface/chat/failure-recovery.js.map +1 -1
- package/dist/interface/chat/freeform-route-classifier.d.ts +2 -2
- package/dist/interface/chat/ingress-router.d.ts +3 -0
- package/dist/interface/chat/ingress-router.d.ts.map +1 -1
- package/dist/interface/chat/ingress-router.js +3 -0
- package/dist/interface/chat/ingress-router.js.map +1 -1
- package/dist/interface/chat/model-request-builder.d.ts +37 -0
- package/dist/interface/chat/model-request-builder.d.ts.map +1 -0
- package/dist/interface/chat/model-request-builder.js +76 -0
- package/dist/interface/chat/model-request-builder.js.map +1 -0
- package/dist/interface/chat/turn-context.d.ts +200 -0
- package/dist/interface/chat/turn-context.d.ts.map +1 -0
- package/dist/interface/chat/turn-context.js +249 -0
- package/dist/interface/chat/turn-context.js.map +1 -0
- package/dist/interface/chat/turn-protocol.d.ts +35 -0
- package/dist/interface/chat/turn-protocol.d.ts.map +1 -0
- package/dist/interface/chat/turn-protocol.js +27 -0
- package/dist/interface/chat/turn-protocol.js.map +1 -0
- package/dist/interface/chat/user-input.d.ts +55 -0
- package/dist/interface/chat/user-input.d.ts.map +1 -0
- package/dist/interface/chat/user-input.js +52 -0
- package/dist/interface/chat/user-input.js.map +1 -0
- package/dist/interface/cli/cli-command-registry.d.ts +1 -1
- package/dist/interface/cli/cli-command-registry.d.ts.map +1 -1
- package/dist/interface/cli/cli-command-registry.js +12 -16
- package/dist/interface/cli/cli-command-registry.js.map +1 -1
- package/dist/interface/cli/commands/config.d.ts.map +1 -1
- package/dist/interface/cli/commands/config.js +12 -1
- package/dist/interface/cli/commands/config.js.map +1 -1
- package/dist/interface/cli/commands/daemon-shared.d.ts +8 -0
- package/dist/interface/cli/commands/daemon-shared.d.ts.map +1 -1
- package/dist/interface/cli/commands/daemon-shared.js +18 -2
- package/dist/interface/cli/commands/daemon-shared.js.map +1 -1
- package/dist/interface/cli/commands/daemon.d.ts.map +1 -1
- package/dist/interface/cli/commands/daemon.js +64 -2
- package/dist/interface/cli/commands/daemon.js.map +1 -1
- package/dist/interface/cli/commands/doctor.d.ts +1 -0
- package/dist/interface/cli/commands/doctor.d.ts.map +1 -1
- package/dist/interface/cli/commands/doctor.js +83 -1
- package/dist/interface/cli/commands/doctor.js.map +1 -1
- package/dist/interface/cli/commands/goal-dispatch.d.ts.map +1 -1
- package/dist/interface/cli/commands/goal-dispatch.js +19 -7
- package/dist/interface/cli/commands/goal-dispatch.js.map +1 -1
- package/dist/interface/cli/commands/goal-raw.d.ts +1 -0
- package/dist/interface/cli/commands/goal-raw.d.ts.map +1 -1
- package/dist/interface/cli/commands/goal-raw.js +34 -2
- package/dist/interface/cli/commands/goal-raw.js.map +1 -1
- package/dist/interface/cli/commands/goal-utils.d.ts.map +1 -1
- package/dist/interface/cli/commands/goal-utils.js +3 -5
- package/dist/interface/cli/commands/goal-utils.js.map +1 -1
- package/dist/interface/cli/commands/run.d.ts.map +1 -1
- package/dist/interface/cli/commands/run.js +50 -0
- package/dist/interface/cli/commands/run.js.map +1 -1
- package/dist/interface/cli/commands/setup/import/flow.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/import/flow.js +2 -0
- package/dist/interface/cli/commands/setup/import/flow.js.map +1 -1
- package/dist/interface/cli/commands/setup/import/provider.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/import/provider.js +5 -1
- package/dist/interface/cli/commands/setup/import/provider.js.map +1 -1
- package/dist/interface/cli/commands/setup/import/types.d.ts +1 -0
- package/dist/interface/cli/commands/setup/import/types.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup-shared.d.ts +2 -0
- package/dist/interface/cli/commands/setup-shared.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup-shared.js +4 -1
- package/dist/interface/cli/commands/setup-shared.js.map +1 -1
- package/dist/interface/cli/commands/setup-wizard.d.ts +2 -0
- package/dist/interface/cli/commands/setup-wizard.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup-wizard.js +36 -4
- package/dist/interface/cli/commands/setup-wizard.js.map +1 -1
- package/dist/interface/cli/commands/setup.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup.js +13 -1
- package/dist/interface/cli/commands/setup.js.map +1 -1
- package/dist/interface/cli/setup.d.ts +1 -1
- package/dist/interface/cli/setup.d.ts.map +1 -1
- package/dist/interface/cli/setup.js +4 -3
- package/dist/interface/cli/setup.js.map +1 -1
- package/dist/interface/cli/utils/loop-runner.d.ts +1 -0
- package/dist/interface/cli/utils/loop-runner.d.ts.map +1 -1
- package/dist/interface/cli/utils/loop-runner.js +12 -3
- package/dist/interface/cli/utils/loop-runner.js.map +1 -1
- package/dist/interface/tui/app.d.ts +6 -1
- package/dist/interface/tui/app.d.ts.map +1 -1
- package/dist/interface/tui/app.js +29 -12
- package/dist/interface/tui/app.js.map +1 -1
- package/dist/interface/tui/bash-mode.d.ts.map +1 -1
- package/dist/interface/tui/bash-mode.js +2 -9
- package/dist/interface/tui/bash-mode.js.map +1 -1
- package/dist/interface/tui/chat/suggestions.js +1 -1
- package/dist/interface/tui/chat/suggestions.js.map +1 -1
- package/dist/interface/tui/chat/viewport.d.ts.map +1 -1
- package/dist/interface/tui/chat/viewport.js +57 -11
- package/dist/interface/tui/chat/viewport.js.map +1 -1
- package/dist/interface/tui/entry-deps.d.ts +6 -1
- package/dist/interface/tui/entry-deps.d.ts.map +1 -1
- package/dist/interface/tui/entry-deps.js +3 -0
- package/dist/interface/tui/entry-deps.js.map +1 -1
- package/dist/interface/tui/entry.d.ts.map +1 -1
- package/dist/interface/tui/entry.js +6 -2
- package/dist/interface/tui/entry.js.map +1 -1
- package/dist/interface/tui/input-action.d.ts.map +1 -1
- package/dist/interface/tui/input-action.js +3 -2
- package/dist/interface/tui/input-action.js.map +1 -1
- package/dist/interface/tui/intent-recognizer.d.ts.map +1 -1
- package/dist/interface/tui/intent-recognizer.js +21 -33
- package/dist/interface/tui/intent-recognizer.js.map +1 -1
- package/dist/orchestrator/execution/adapter-layer.d.ts +6 -1
- package/dist/orchestrator/execution/adapter-layer.d.ts.map +1 -1
- package/dist/orchestrator/execution/adapter-layer.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-command-classifier.d.ts +12 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-command-classifier.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-command-classifier.js +16 -31
- package/dist/orchestrator/execution/agent-loop/agent-loop-command-classifier.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-compaction-record.d.ts +75 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-compaction-record.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-compaction-record.js +10 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-compaction-record.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-compactor.d.ts +3 -2
- package/dist/orchestrator/execution/agent-loop/agent-loop-compactor.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-compactor.js +185 -22
- package/dist/orchestrator/execution/agent-loop/agent-loop-compactor.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.js +12 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.d.ts +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.js +11 -2
- package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-events.d.ts +8 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-events.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-events.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-history.d.ts +3 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-history.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-history.js +12 -3
- package/dist/orchestrator/execution/agent-loop/agent-loop-history.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.js +8 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-model.d.ts +39 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-model.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-model.js +21 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-model.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-result.d.ts +17 -11
- package/dist/orchestrator/execution/agent-loop/agent-loop-result.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.d.ts +4 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.js +135 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.d.ts +3 -2
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.js +68 -61
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.d.ts +3 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-timeline.d.ts +12 -1
- package/dist/orchestrator/execution/agent-loop/agent-timeline.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-timeline.js +19 -56
- package/dist/orchestrator/execution/agent-loop/agent-timeline.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.js +13 -4
- package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.d.ts +12 -0
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js +404 -79
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts +1 -1
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js +80 -12
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/chat-display-output.d.ts +1 -0
- package/dist/orchestrator/execution/agent-loop/chat-display-output.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/chat-display-output.js +3 -1
- package/dist/orchestrator/execution/agent-loop/chat-display-output.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/index.d.ts +3 -0
- package/dist/orchestrator/execution/agent-loop/index.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/index.js +3 -0
- package/dist/orchestrator/execution/agent-loop/index.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.d.ts +1 -0
- package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.js +56 -11
- package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/response-item-tool-router.d.ts +20 -0
- package/dist/orchestrator/execution/agent-loop/response-item-tool-router.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/response-item-tool-router.js +180 -0
- package/dist/orchestrator/execution/agent-loop/response-item-tool-router.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/response-item.d.ts +805 -0
- package/dist/orchestrator/execution/agent-loop/response-item.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/response-item.js +104 -0
- package/dist/orchestrator/execution/agent-loop/response-item.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.d.ts +7 -2
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.js +20 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.d.ts +5 -3
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.js +110 -10
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.d.ts +2 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.js +9 -4
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-verification.d.ts +0 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-verification.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-verification.js +7 -87
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-verification.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.js +25 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.js.map +1 -1
- package/dist/orchestrator/execution/context/issue-context-fetcher.d.ts +5 -1
- package/dist/orchestrator/execution/context/issue-context-fetcher.d.ts.map +1 -1
- package/dist/orchestrator/execution/context/issue-context-fetcher.js +7 -4
- package/dist/orchestrator/execution/context/issue-context-fetcher.js.map +1 -1
- package/dist/orchestrator/execution/task/task-artifact-contract.d.ts +18 -0
- package/dist/orchestrator/execution/task/task-artifact-contract.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-artifact-contract.js +176 -0
- package/dist/orchestrator/execution/task/task-artifact-contract.js.map +1 -0
- package/dist/orchestrator/execution/task/task-diff-capture.d.ts +14 -1
- package/dist/orchestrator/execution/task/task-diff-capture.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-diff-capture.js +269 -17
- package/dist/orchestrator/execution/task/task-diff-capture.js.map +1 -1
- package/dist/orchestrator/execution/task/task-execution-helpers.d.ts +1 -0
- package/dist/orchestrator/execution/task/task-execution-helpers.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-execution-helpers.js +76 -17
- package/dist/orchestrator/execution/task/task-execution-helpers.js.map +1 -1
- package/dist/orchestrator/execution/task/task-executor.d.ts +16 -1
- package/dist/orchestrator/execution/task/task-executor.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-executor.js +55 -50
- package/dist/orchestrator/execution/task/task-executor.js.map +1 -1
- package/dist/orchestrator/execution/task/task-generation.d.ts +54 -1
- package/dist/orchestrator/execution/task/task-generation.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-generation.js +19 -3
- package/dist/orchestrator/execution/task/task-generation.js.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle-runner.d.ts +4 -3
- package/dist/orchestrator/execution/task/task-lifecycle-runner.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle-runner.js +32 -5
- package/dist/orchestrator/execution/task/task-lifecycle-runner.js.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle.d.ts +5 -4
- package/dist/orchestrator/execution/task/task-lifecycle.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle.js +61 -11
- package/dist/orchestrator/execution/task/task-lifecycle.js.map +1 -1
- package/dist/orchestrator/execution/task/task-outcome-ledger.d.ts +8 -0
- package/dist/orchestrator/execution/task/task-outcome-ledger.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-outcome-ledger.js +59 -3
- package/dist/orchestrator/execution/task/task-outcome-ledger.js.map +1 -1
- package/dist/orchestrator/execution/task/task-prompt-builder.d.ts +3 -1
- package/dist/orchestrator/execution/task/task-prompt-builder.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-prompt-builder.js +23 -12
- package/dist/orchestrator/execution/task/task-prompt-builder.js.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-rules.d.ts +5 -2
- package/dist/orchestrator/execution/task/task-verifier-rules.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-rules.js +346 -104
- package/dist/orchestrator/execution/task/task-verifier-rules.js.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-types.d.ts +13 -0
- package/dist/orchestrator/execution/task/task-verifier-types.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-types.js.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier.d.ts +5 -4
- package/dist/orchestrator/execution/task/task-verifier.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier.js +237 -22
- package/dist/orchestrator/execution/task/task-verifier.js.map +1 -1
- package/dist/orchestrator/execution/task/task-workspace.d.ts +13 -0
- package/dist/orchestrator/execution/task/task-workspace.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-workspace.js +32 -0
- package/dist/orchestrator/execution/task/task-workspace.js.map +1 -0
- package/dist/orchestrator/execution/types/task-group.d.ts +76 -5
- package/dist/orchestrator/execution/types/task-group.d.ts.map +1 -1
- package/dist/orchestrator/execution/types/task.d.ts +117 -3
- package/dist/orchestrator/execution/types/task.d.ts.map +1 -1
- package/dist/orchestrator/execution/types/task.js +12 -0
- package/dist/orchestrator/execution/types/task.js.map +1 -1
- package/dist/orchestrator/goal/types/goal.d.ts +6 -6
- package/dist/orchestrator/loop/durable-loop/iteration-kernel.d.ts +1 -0
- package/dist/orchestrator/loop/durable-loop/iteration-kernel.d.ts.map +1 -1
- package/dist/orchestrator/loop/durable-loop/iteration-kernel.js +2 -2
- package/dist/orchestrator/loop/durable-loop/iteration-kernel.js.map +1 -1
- package/dist/orchestrator/loop/durable-loop/preparation.d.ts.map +1 -1
- package/dist/orchestrator/loop/durable-loop/preparation.js +7 -1
- package/dist/orchestrator/loop/durable-loop/preparation.js.map +1 -1
- package/dist/orchestrator/loop/durable-loop/task-cycle.d.ts +2 -1
- package/dist/orchestrator/loop/durable-loop/task-cycle.d.ts.map +1 -1
- package/dist/orchestrator/loop/durable-loop/task-cycle.js +2 -2
- package/dist/orchestrator/loop/durable-loop/task-cycle.js.map +1 -1
- package/dist/orchestrator/loop/durable-loop.d.ts +3 -2
- package/dist/orchestrator/loop/durable-loop.d.ts.map +1 -1
- package/dist/orchestrator/loop/durable-loop.js +26 -6
- package/dist/orchestrator/loop/durable-loop.js.map +1 -1
- package/dist/platform/corrections/memory-correction-ledger.d.ts +30 -30
- package/dist/platform/corrections/memory-governance.d.ts +2 -2
- package/dist/platform/knowledge/memory/memory-selection.d.ts.map +1 -1
- package/dist/platform/knowledge/memory/memory-selection.js +24 -18
- package/dist/platform/knowledge/memory/memory-selection.js.map +1 -1
- package/dist/platform/knowledge/types/agent-memory.d.ts +30 -30
- package/dist/platform/observation/context-provider/collector.d.ts.map +1 -1
- package/dist/platform/observation/context-provider/collector.js +89 -24
- package/dist/platform/observation/context-provider/collector.js.map +1 -1
- package/dist/platform/observation/data-source-adapter.d.ts +2 -0
- package/dist/platform/observation/data-source-adapter.d.ts.map +1 -1
- package/dist/platform/observation/data-source-adapter.js.map +1 -1
- package/dist/platform/observation/observation-apply.d.ts.map +1 -1
- package/dist/platform/observation/observation-apply.js +8 -2
- package/dist/platform/observation/observation-apply.js.map +1 -1
- package/dist/platform/observation/observation-engine.d.ts.map +1 -1
- package/dist/platform/observation/observation-engine.js +154 -67
- package/dist/platform/observation/observation-engine.js.map +1 -1
- package/dist/platform/observation/observation-helpers.d.ts +2 -0
- package/dist/platform/observation/observation-helpers.d.ts.map +1 -1
- package/dist/platform/observation/observation-helpers.js.map +1 -1
- package/dist/platform/observation/types/data-source.d.ts +60 -0
- package/dist/platform/observation/types/data-source.d.ts.map +1 -1
- package/dist/platform/observation/types/data-source.js +5 -0
- package/dist/platform/observation/types/data-source.js.map +1 -1
- package/dist/platform/observation/workspace-context.d.ts.map +1 -1
- package/dist/platform/observation/workspace-context.js +13 -18
- package/dist/platform/observation/workspace-context.js.map +1 -1
- package/dist/platform/soil/contracts.d.ts +74 -74
- package/dist/reporting/types/report.d.ts +7 -0
- package/dist/reporting/types/report.d.ts.map +1 -1
- package/dist/runtime/approval-broker.d.ts +12 -0
- package/dist/runtime/approval-broker.d.ts.map +1 -1
- package/dist/runtime/approval-broker.js +27 -7
- package/dist/runtime/approval-broker.js.map +1 -1
- package/dist/runtime/control/daemon-runtime-control-executor.d.ts.map +1 -1
- package/dist/runtime/control/daemon-runtime-control-executor.js +9 -4
- package/dist/runtime/control/daemon-runtime-control-executor.js.map +1 -1
- package/dist/runtime/control/runtime-control-intent.d.ts.map +1 -1
- package/dist/runtime/control/runtime-control-intent.js +3 -2
- package/dist/runtime/control/runtime-control-intent.js.map +1 -1
- package/dist/runtime/control/runtime-control-service.d.ts +2 -1
- package/dist/runtime/control/runtime-control-service.d.ts.map +1 -1
- package/dist/runtime/control/runtime-control-service.js +9 -2
- package/dist/runtime/control/runtime-control-service.js.map +1 -1
- package/dist/runtime/control/runtime-target-resolver.js +2 -0
- package/dist/runtime/control/runtime-target-resolver.js.map +1 -1
- package/dist/runtime/daemon/runner-goal-cycle.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-goal-cycle.js +1 -2
- package/dist/runtime/daemon/runner-goal-cycle.js.map +1 -1
- package/dist/runtime/daemon/runner-recovery.d.ts +17 -3
- package/dist/runtime/daemon/runner-recovery.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-recovery.js +50 -12
- package/dist/runtime/daemon/runner-recovery.js.map +1 -1
- package/dist/runtime/daemon/runner-startup.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-startup.js +18 -1
- package/dist/runtime/daemon/runner-startup.js.map +1 -1
- package/dist/runtime/daemon/runner.d.ts.map +1 -1
- package/dist/runtime/daemon/runner.js +3 -2
- package/dist/runtime/daemon/runner.js.map +1 -1
- package/dist/runtime/daemon/runtime-ownership.d.ts +0 -1
- package/dist/runtime/daemon/runtime-ownership.d.ts.map +1 -1
- package/dist/runtime/daemon/runtime-ownership.js +18 -18
- package/dist/runtime/daemon/runtime-ownership.js.map +1 -1
- package/dist/runtime/daemon/wait-deadline-resolver.d.ts.map +1 -1
- package/dist/runtime/daemon/wait-deadline-resolver.js +2 -0
- package/dist/runtime/daemon/wait-deadline-resolver.js.map +1 -1
- package/dist/runtime/evidence-answer.d.ts.map +1 -1
- package/dist/runtime/evidence-answer.js +34 -7
- package/dist/runtime/evidence-answer.js.map +1 -1
- package/dist/runtime/executor/goal-worker.d.ts +6 -1
- package/dist/runtime/executor/goal-worker.d.ts.map +1 -1
- package/dist/runtime/executor/goal-worker.js +18 -1
- package/dist/runtime/executor/goal-worker.js.map +1 -1
- package/dist/runtime/executor/loop-supervisor.d.ts +1 -0
- package/dist/runtime/executor/loop-supervisor.d.ts.map +1 -1
- package/dist/runtime/executor/loop-supervisor.js +58 -6
- package/dist/runtime/executor/loop-supervisor.js.map +1 -1
- package/dist/runtime/gateway/channel-adapter.d.ts +3 -0
- package/dist/runtime/gateway/channel-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/channel-display-policy.d.ts +42 -0
- package/dist/runtime/gateway/channel-display-policy.d.ts.map +1 -0
- package/dist/runtime/gateway/channel-display-policy.js +85 -0
- package/dist/runtime/gateway/channel-display-policy.js.map +1 -0
- package/dist/runtime/gateway/chat-event-rendering.d.ts +2 -1
- package/dist/runtime/gateway/chat-event-rendering.d.ts.map +1 -1
- package/dist/runtime/gateway/chat-event-rendering.js +2 -0
- package/dist/runtime/gateway/chat-event-rendering.js.map +1 -1
- package/dist/runtime/gateway/chat-session-dispatch.d.ts.map +1 -1
- package/dist/runtime/gateway/chat-session-dispatch.js +4 -9
- package/dist/runtime/gateway/chat-session-dispatch.js.map +1 -1
- package/dist/runtime/gateway/chat-session-port.d.ts +2 -0
- package/dist/runtime/gateway/chat-session-port.d.ts.map +1 -1
- package/dist/runtime/gateway/chat-session-port.js.map +1 -1
- package/dist/runtime/gateway/discord-gateway-adapter.d.ts +4 -0
- package/dist/runtime/gateway/discord-gateway-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/discord-gateway-adapter.js +100 -31
- package/dist/runtime/gateway/discord-gateway-adapter.js.map +1 -1
- package/dist/runtime/gateway/index.d.ts +4 -0
- package/dist/runtime/gateway/index.d.ts.map +1 -1
- package/dist/runtime/gateway/index.js +2 -0
- package/dist/runtime/gateway/index.js.map +1 -1
- package/dist/runtime/gateway/non-tui-display-projector.d.ts +40 -0
- package/dist/runtime/gateway/non-tui-display-projector.d.ts.map +1 -0
- package/dist/runtime/gateway/non-tui-display-projector.js +166 -0
- package/dist/runtime/gateway/non-tui-display-projector.js.map +1 -0
- package/dist/runtime/gateway/signal-gateway-adapter.d.ts +1 -0
- package/dist/runtime/gateway/signal-gateway-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/signal-gateway-adapter.js +47 -4
- package/dist/runtime/gateway/signal-gateway-adapter.js.map +1 -1
- package/dist/runtime/gateway/slack-channel-adapter.d.ts +1 -0
- package/dist/runtime/gateway/slack-channel-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/slack-channel-adapter.js +93 -18
- package/dist/runtime/gateway/slack-channel-adapter.js.map +1 -1
- package/dist/runtime/gateway/telegram-gateway-adapter.d.ts +2 -0
- package/dist/runtime/gateway/telegram-gateway-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/telegram-gateway-adapter.js +61 -113
- package/dist/runtime/gateway/telegram-gateway-adapter.js.map +1 -1
- package/dist/runtime/gateway/whatsapp-gateway-adapter.d.ts +1 -0
- package/dist/runtime/gateway/whatsapp-gateway-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/whatsapp-gateway-adapter.js +49 -4
- package/dist/runtime/gateway/whatsapp-gateway-adapter.js.map +1 -1
- package/dist/runtime/permission-dialogue.d.ts +113 -0
- package/dist/runtime/permission-dialogue.d.ts.map +1 -0
- package/dist/runtime/permission-dialogue.js +82 -0
- package/dist/runtime/permission-dialogue.js.map +1 -0
- package/dist/runtime/run-spec/derive.d.ts +14 -14
- package/dist/runtime/run-spec/handoff.js +2 -0
- package/dist/runtime/run-spec/handoff.js.map +1 -1
- package/dist/runtime/run-spec/types.d.ts +16 -16
- package/dist/runtime/session-registry/types.d.ts +12 -12
- package/dist/runtime/store/artifact-retention.d.ts +2 -0
- package/dist/runtime/store/artifact-retention.d.ts.map +1 -1
- package/dist/runtime/store/artifact-retention.js +24 -21
- package/dist/runtime/store/artifact-retention.js.map +1 -1
- package/dist/runtime/store/budget-store.d.ts +8 -8
- package/dist/runtime/store/evidence-ledger.d.ts.map +1 -1
- package/dist/runtime/store/evidence-ledger.js +39 -1
- package/dist/runtime/store/evidence-ledger.js.map +1 -1
- package/dist/runtime/store/evidence-types.d.ts +118 -118
- package/dist/runtime/store/experiment-queue-store.d.ts +20 -20
- package/dist/runtime/store/postmortem-report.d.ts +2 -2
- package/dist/runtime/store/reproducibility-manifest.d.ts +20 -20
- package/dist/runtime/store/runtime-operation-schemas.d.ts +18 -18
- package/dist/runtime/store/runtime-operation-schemas.d.ts.map +1 -1
- package/dist/runtime/store/runtime-operation-schemas.js +1 -0
- package/dist/runtime/store/runtime-operation-schemas.js.map +1 -1
- package/dist/runtime/store/runtime-schemas.d.ts +58 -28
- package/dist/runtime/store/runtime-schemas.d.ts.map +1 -1
- package/dist/runtime/store/runtime-schemas.js +1 -0
- package/dist/runtime/store/runtime-schemas.js.map +1 -1
- package/dist/tools/execution/MemorySaveTool/MemorySaveTool.d.ts +8 -8
- package/dist/tools/execution/RunAdapterTool/RunAdapterTool.d.ts +6 -0
- package/dist/tools/execution/RunAdapterTool/RunAdapterTool.d.ts.map +1 -1
- package/dist/tools/execution/RunAdapterTool/RunAdapterTool.js +2 -0
- package/dist/tools/execution/RunAdapterTool/RunAdapterTool.js.map +1 -1
- package/dist/tools/execution-orchestrator.d.ts +29 -0
- package/dist/tools/execution-orchestrator.d.ts.map +1 -0
- package/dist/tools/execution-orchestrator.js +153 -0
- package/dist/tools/execution-orchestrator.js.map +1 -0
- package/dist/tools/executor.d.ts +6 -0
- package/dist/tools/executor.d.ts.map +1 -1
- package/dist/tools/executor.js +48 -11
- package/dist/tools/executor.js.map +1 -1
- package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.d.ts.map +1 -1
- package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.js +130 -17
- package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.js.map +1 -1
- package/dist/tools/mutation/TaskStopTool/TaskStopTool.d.ts.map +1 -1
- package/dist/tools/mutation/TaskStopTool/TaskStopTool.js +8 -0
- package/dist/tools/mutation/TaskStopTool/TaskStopTool.js.map +1 -1
- package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.d.ts +6 -6
- package/dist/tools/network/GitHubCliTool/GitHubCliTool.d.ts +4 -4
- package/dist/tools/network/McpStdioTool/McpStdioTool.d.ts +4 -4
- package/dist/tools/permission.d.ts +0 -1
- package/dist/tools/permission.d.ts.map +1 -1
- package/dist/tools/permission.js +9 -33
- package/dist/tools/permission.js.map +1 -1
- package/dist/tools/query/CodeReadContextTool/CodeReadContextTool.d.ts +4 -4
- package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.d.ts +8 -8
- package/dist/tools/query/CodeSearchTool/CodeSearchTool.d.ts +4 -4
- package/dist/tools/query/ConfigTool/ConfigTool.d.ts.map +1 -1
- package/dist/tools/query/ConfigTool/ConfigTool.js +1 -0
- package/dist/tools/query/ConfigTool/ConfigTool.js.map +1 -1
- package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.d.ts +4 -4
- package/dist/tools/query/runtime-session-tools.d.ts +73 -5
- package/dist/tools/query/runtime-session-tools.d.ts.map +1 -1
- package/dist/tools/query/runtime-session-tools.js +114 -0
- package/dist/tools/query/runtime-session-tools.js.map +1 -1
- package/dist/tools/runtime/LongRunningRuntimeTools.d.ts +60 -42
- package/dist/tools/runtime/LongRunningRuntimeTools.d.ts.map +1 -1
- package/dist/tools/runtime/LongRunningRuntimeTools.js +4 -1
- package/dist/tools/runtime/LongRunningRuntimeTools.js.map +1 -1
- package/dist/tools/runtime/RunSpecHandoffTools.d.ts.map +1 -1
- package/dist/tools/runtime/RunSpecHandoffTools.js +162 -2
- package/dist/tools/runtime/RunSpecHandoffTools.js.map +1 -1
- package/dist/tools/runtime/SetupRuntimeControlTools.d.ts.map +1 -1
- package/dist/tools/runtime/SetupRuntimeControlTools.js +169 -17
- package/dist/tools/runtime/SetupRuntimeControlTools.js.map +1 -1
- package/dist/tools/system/GitDiffTool/GitDiffTool.d.ts +4 -4
- package/dist/tools/system/ShellCommandTool/ShellCommandTool.d.ts.map +1 -1
- package/dist/tools/system/ShellCommandTool/ShellCommandTool.js +7 -1
- package/dist/tools/system/ShellCommandTool/ShellCommandTool.js.map +1 -1
- package/dist/tools/system/ShellTool/ShellTool.d.ts.map +1 -1
- package/dist/tools/system/ShellTool/ShellTool.js +25 -11
- package/dist/tools/system/ShellTool/ShellTool.js.map +1 -1
- package/dist/tools/system/ShellTool/command-policy.d.ts +11 -8
- package/dist/tools/system/ShellTool/command-policy.d.ts.map +1 -1
- package/dist/tools/system/ShellTool/command-policy.js +402 -98
- package/dist/tools/system/ShellTool/command-policy.js.map +1 -1
- package/dist/tools/system/TestRunnerTool/TestRunnerTool.d.ts +1 -1
- package/dist/tools/system/TestRunnerTool/TestRunnerTool.d.ts.map +1 -1
- package/dist/tools/system/TestRunnerTool/TestRunnerTool.js +153 -9
- package/dist/tools/system/TestRunnerTool/TestRunnerTool.js.map +1 -1
- package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.js +1 -1
- package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.js.map +1 -1
- package/dist/tools/types.d.ts +34 -12
- package/dist/tools/types.d.ts.map +1 -1
- package/dist/tools/types.js +26 -3
- package/dist/tools/types.js.map +1 -1
- package/dist/tools/workspace-scope.d.ts +11 -0
- package/dist/tools/workspace-scope.d.ts.map +1 -0
- package/dist/tools/workspace-scope.js +77 -0
- package/dist/tools/workspace-scope.js.map +1 -0
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ import { getCodeSearchIndexes } from "../code-search/indexes/index-store.js";
|
|
|
7
7
|
import { SearchOrchestrator } from "../code-search/orchestrator.js";
|
|
8
8
|
import { ProgressiveReader } from "../code-search/progressive-reader.js";
|
|
9
9
|
import { dimensionNameToSearchTerms } from "./context-provider.js";
|
|
10
|
+
import { extractWorkspacePathConstraint, resolveWorkspacePath } from "../../base/utils/workspace-path.js";
|
|
10
11
|
const execFileAsync = promisify(execFile);
|
|
11
12
|
const ALLOWED_EXTERNAL_PREFIXES = [os.homedir(), "/tmp"];
|
|
12
13
|
const DENIED_PREFIXES = [
|
|
@@ -81,12 +82,6 @@ const STOPWORDS = new Set([
|
|
|
81
82
|
]);
|
|
82
83
|
const EXCLUDE_DIRS = new Set(["node_modules", ".git", "dist", "coverage", ".DS_Store"]);
|
|
83
84
|
const SMALL_WORKSPACE_FILE_LIMIT = 10;
|
|
84
|
-
function extractKeywords(text) {
|
|
85
|
-
return text
|
|
86
|
-
.toLowerCase()
|
|
87
|
-
.split(/[\s\-_\/\.]+/)
|
|
88
|
-
.filter((w) => w.length >= 3 && !STOPWORDS.has(w));
|
|
89
|
-
}
|
|
90
85
|
async function collectFiles(dir, rootDir, depth, result) {
|
|
91
86
|
if (depth > 3)
|
|
92
87
|
return;
|
|
@@ -153,16 +148,19 @@ export function createWorkspaceContextProvider(options, getGoalDescription, getG
|
|
|
153
148
|
const explicitGoalPaths = typeof goalInfo === "string"
|
|
154
149
|
? []
|
|
155
150
|
: (goalInfo?.explicitPaths ?? []);
|
|
156
|
-
const
|
|
151
|
+
const structuredSearchTerms = typedMapping
|
|
157
152
|
? [typedMapping.dimension, typedMapping.data_source]
|
|
158
|
-
:
|
|
153
|
+
: (typedSearchTerms.length > 0 ? typedSearchTerms : dimensionNameToSearchTerms(dimensionName));
|
|
154
|
+
const localMatchTerms = structuredSearchTerms
|
|
155
|
+
.map((term) => term.toLowerCase())
|
|
156
|
+
.filter((term) => term.length >= 3);
|
|
159
157
|
// Resolve effective workDir: use workspace_path constraint from goal if available
|
|
160
158
|
let effectiveWorkDir = workDir;
|
|
161
159
|
if (getGoalConstraints) {
|
|
162
160
|
const constraints = (await getGoalConstraints(goalId)) ?? [];
|
|
163
|
-
const
|
|
164
|
-
if (
|
|
165
|
-
effectiveWorkDir =
|
|
161
|
+
const workspacePath = extractWorkspacePathConstraint(constraints);
|
|
162
|
+
if (workspacePath) {
|
|
163
|
+
effectiveWorkDir = resolveWorkspacePath(workspacePath, workDir);
|
|
166
164
|
}
|
|
167
165
|
}
|
|
168
166
|
const cacheKey = `${effectiveWorkDir}\u0000${goalId}\u0000${dimensionName}\u0000${typedMapping?.data_source ?? ""}\u0000${typedMapping?.dimension ?? ""}\u0000${explicitGoalPaths.join("|")}\u0000${typedSearchTerms.join("|")}`;
|
|
@@ -288,8 +286,8 @@ export function createWorkspaceContextProvider(options, getGoalDescription, getG
|
|
|
288
286
|
const pathMatchSet = new Set(pathMatchedPaths);
|
|
289
287
|
const dimHintSet = new Set(dimHintPaths);
|
|
290
288
|
const candidates = allFiles.filter((fp) => !alwaysSet.has(fp) && !pathMatchSet.has(fp) && !dimHintSet.has(fp));
|
|
291
|
-
// Phase 1: filename match
|
|
292
|
-
const nameMatched = typedMapping ? [] : candidates.filter((fp) => fileMatchesKeywords(fp,
|
|
289
|
+
// Phase 1: filename match using typed dimension/query terms, never raw goal prose.
|
|
290
|
+
const nameMatched = typedMapping ? [] : candidates.filter((fp) => fileMatchesKeywords(fp, localMatchTerms));
|
|
293
291
|
// Phase 2: content match (only if we still need more)
|
|
294
292
|
// alwaysInclude and pathMatch are treated as priority (outside maxFiles cap),
|
|
295
293
|
// so keyword-match fills remaining slots up to maxFiles
|
|
@@ -301,7 +299,7 @@ export function createWorkspaceContextProvider(options, getGoalDescription, getG
|
|
|
301
299
|
for (const fp of remaining) {
|
|
302
300
|
if (contentMatched.length >= neededFromCandidates - selected.length)
|
|
303
301
|
break;
|
|
304
|
-
if (!typedMapping && await fileContentMatchesKeywords(fp,
|
|
302
|
+
if (!typedMapping && await fileContentMatchesKeywords(fp, localMatchTerms)) {
|
|
305
303
|
contentMatched.push(fp);
|
|
306
304
|
}
|
|
307
305
|
}
|
|
@@ -310,14 +308,11 @@ export function createWorkspaceContextProvider(options, getGoalDescription, getG
|
|
|
310
308
|
// Phase 3: grep content match — find files whose content contains dimension-derived terms
|
|
311
309
|
// but weren't caught by filename or keyword matching above
|
|
312
310
|
if (selected.length < neededFromCandidates) {
|
|
313
|
-
const searchTerms = typedMapping
|
|
314
|
-
? [typedMapping.dimension, typedMapping.data_source]
|
|
315
|
-
: (typedSearchTerms.length > 0 ? typedSearchTerms : dimensionNameToSearchTerms(dimensionName));
|
|
316
311
|
const alreadySelected = new Set([
|
|
317
312
|
...alwaysIncludePaths, ...pathMatchedPaths, ...dimHintPaths, ...selected,
|
|
318
313
|
]);
|
|
319
314
|
const grepMatched = [];
|
|
320
|
-
for (const term of
|
|
315
|
+
for (const term of structuredSearchTerms) {
|
|
321
316
|
try {
|
|
322
317
|
const { stdout } = await execFileAsync("grep", ["-rl", "--include=*.ts", "--include=*.js", "--include=*.json", term, effectiveWorkDir], { timeout: 5000 });
|
|
323
318
|
for (const fp of stdout.trim().split("\n").filter(Boolean)) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,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AED,MAAM,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAClC,IAAI,UAAU,GAAG,CAAC,EAAE,CAAC;YACnB,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE,GAAG,UAAU,EAAE,CAAC,CAAC;QAC7E,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -65,7 +65,7 @@ export declare const SoilRecordSchema: z.ZodObject<{
|
|
|
65
65
|
created_at: z.ZodString;
|
|
66
66
|
updated_at: z.ZodString;
|
|
67
67
|
}, "strip", z.ZodTypeAny, {
|
|
68
|
-
status: "completed" | "
|
|
68
|
+
status: "completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced";
|
|
69
69
|
confidence: number | null;
|
|
70
70
|
title: string;
|
|
71
71
|
created_at: string;
|
|
@@ -93,7 +93,7 @@ export declare const SoilRecordSchema: z.ZodObject<{
|
|
|
93
93
|
is_active: boolean;
|
|
94
94
|
metadata_json: Record<string, unknown>;
|
|
95
95
|
}, {
|
|
96
|
-
status: "completed" | "
|
|
96
|
+
status: "completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced";
|
|
97
97
|
title: string;
|
|
98
98
|
created_at: string;
|
|
99
99
|
updated_at: string;
|
|
@@ -142,7 +142,7 @@ export declare const SoilChunkSchema: z.ZodObject<{
|
|
|
142
142
|
token_count: number;
|
|
143
143
|
record_id: string;
|
|
144
144
|
chunk_index: number;
|
|
145
|
-
chunk_kind: "code" | "title" | "summary" | "
|
|
145
|
+
chunk_kind: "code" | "title" | "summary" | "list" | "heading" | "paragraph" | "table" | "quote";
|
|
146
146
|
heading_path_json: string[];
|
|
147
147
|
chunk_text: string;
|
|
148
148
|
}, {
|
|
@@ -153,7 +153,7 @@ export declare const SoilChunkSchema: z.ZodObject<{
|
|
|
153
153
|
token_count: number;
|
|
154
154
|
record_id: string;
|
|
155
155
|
chunk_index: number;
|
|
156
|
-
chunk_kind: "code" | "title" | "summary" | "
|
|
156
|
+
chunk_kind: "code" | "title" | "summary" | "list" | "heading" | "paragraph" | "table" | "quote";
|
|
157
157
|
chunk_text: string;
|
|
158
158
|
heading_path_json?: string[] | undefined;
|
|
159
159
|
}>;
|
|
@@ -379,6 +379,11 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
|
|
|
379
379
|
created_at: string;
|
|
380
380
|
reason: string;
|
|
381
381
|
schema_version: "memory-correction-entry-v1";
|
|
382
|
+
audit: {
|
|
383
|
+
status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
|
|
384
|
+
retained_for_audit: boolean;
|
|
385
|
+
destructive_delete_approved_at: string | null;
|
|
386
|
+
};
|
|
382
387
|
provenance: {
|
|
383
388
|
source: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
|
|
384
389
|
confidence: number | null;
|
|
@@ -407,11 +412,6 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
|
|
|
407
412
|
} | undefined;
|
|
408
413
|
} | null;
|
|
409
414
|
actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
|
|
410
|
-
audit: {
|
|
411
|
-
status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
|
|
412
|
-
retained_for_audit: boolean;
|
|
413
|
-
destructive_delete_approved_at: string | null;
|
|
414
|
-
};
|
|
415
415
|
}, {
|
|
416
416
|
created_at: string;
|
|
417
417
|
reason: string;
|
|
@@ -435,6 +435,11 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
|
|
|
435
435
|
correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
|
|
436
436
|
actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
|
|
437
437
|
schema_version?: "memory-correction-entry-v1" | undefined;
|
|
438
|
+
audit?: {
|
|
439
|
+
status?: "active" | "superseded" | "disputed" | "destructive_delete_requested" | undefined;
|
|
440
|
+
retained_for_audit?: boolean | undefined;
|
|
441
|
+
destructive_delete_approved_at?: string | null | undefined;
|
|
442
|
+
} | undefined;
|
|
438
443
|
replacement_ref?: {
|
|
439
444
|
kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
|
|
440
445
|
id: string;
|
|
@@ -444,15 +449,15 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
|
|
|
444
449
|
run_id?: string | undefined;
|
|
445
450
|
} | undefined;
|
|
446
451
|
} | null | undefined;
|
|
447
|
-
audit?: {
|
|
448
|
-
status?: "active" | "superseded" | "disputed" | "destructive_delete_requested" | undefined;
|
|
449
|
-
retained_for_audit?: boolean | undefined;
|
|
450
|
-
destructive_delete_approved_at?: string | null | undefined;
|
|
451
|
-
} | undefined;
|
|
452
452
|
}>, {
|
|
453
453
|
created_at: string;
|
|
454
454
|
reason: string;
|
|
455
455
|
schema_version: "memory-correction-entry-v1";
|
|
456
|
+
audit: {
|
|
457
|
+
status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
|
|
458
|
+
retained_for_audit: boolean;
|
|
459
|
+
destructive_delete_approved_at: string | null;
|
|
460
|
+
};
|
|
456
461
|
provenance: {
|
|
457
462
|
source: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
|
|
458
463
|
confidence: number | null;
|
|
@@ -481,11 +486,6 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
|
|
|
481
486
|
} | undefined;
|
|
482
487
|
} | null;
|
|
483
488
|
actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
|
|
484
|
-
audit: {
|
|
485
|
-
status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
|
|
486
|
-
retained_for_audit: boolean;
|
|
487
|
-
destructive_delete_approved_at: string | null;
|
|
488
|
-
};
|
|
489
489
|
}, {
|
|
490
490
|
created_at: string;
|
|
491
491
|
reason: string;
|
|
@@ -509,6 +509,11 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
|
|
|
509
509
|
correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
|
|
510
510
|
actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
|
|
511
511
|
schema_version?: "memory-correction-entry-v1" | undefined;
|
|
512
|
+
audit?: {
|
|
513
|
+
status?: "active" | "superseded" | "disputed" | "destructive_delete_requested" | undefined;
|
|
514
|
+
retained_for_audit?: boolean | undefined;
|
|
515
|
+
destructive_delete_approved_at?: string | null | undefined;
|
|
516
|
+
} | undefined;
|
|
512
517
|
replacement_ref?: {
|
|
513
518
|
kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
|
|
514
519
|
id: string;
|
|
@@ -518,11 +523,6 @@ export declare const SoilCorrectionEntrySchema: z.ZodEffects<z.ZodObject<{
|
|
|
518
523
|
run_id?: string | undefined;
|
|
519
524
|
} | undefined;
|
|
520
525
|
} | null | undefined;
|
|
521
|
-
audit?: {
|
|
522
|
-
status?: "active" | "superseded" | "disputed" | "destructive_delete_requested" | undefined;
|
|
523
|
-
retained_for_audit?: boolean | undefined;
|
|
524
|
-
destructive_delete_approved_at?: string | null | undefined;
|
|
525
|
-
} | undefined;
|
|
526
526
|
}>;
|
|
527
527
|
export type SoilCorrectionEntry = z.infer<typeof SoilCorrectionEntrySchema>;
|
|
528
528
|
export declare const SoilPageFilterSchema: z.ZodObject<{
|
|
@@ -570,7 +570,7 @@ export declare const SoilRecordFilterSchema: z.ZodObject<{
|
|
|
570
570
|
record_ids?: string[] | undefined;
|
|
571
571
|
record_keys?: string[] | undefined;
|
|
572
572
|
record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
|
|
573
|
-
statuses?: ("completed" | "
|
|
573
|
+
statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
|
|
574
574
|
source_types?: string[] | undefined;
|
|
575
575
|
source_ids?: string[] | undefined;
|
|
576
576
|
valid_at?: string | undefined;
|
|
@@ -583,7 +583,7 @@ export declare const SoilRecordFilterSchema: z.ZodObject<{
|
|
|
583
583
|
record_ids?: string[] | undefined;
|
|
584
584
|
record_keys?: string[] | undefined;
|
|
585
585
|
record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
|
|
586
|
-
statuses?: ("completed" | "
|
|
586
|
+
statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
|
|
587
587
|
source_types?: string[] | undefined;
|
|
588
588
|
source_ids?: string[] | undefined;
|
|
589
589
|
active_only?: boolean | undefined;
|
|
@@ -625,7 +625,7 @@ export declare const SoilSearchRequestSchema: z.ZodObject<{
|
|
|
625
625
|
record_ids?: string[] | undefined;
|
|
626
626
|
record_keys?: string[] | undefined;
|
|
627
627
|
record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
|
|
628
|
-
statuses?: ("completed" | "
|
|
628
|
+
statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
|
|
629
629
|
source_types?: string[] | undefined;
|
|
630
630
|
source_ids?: string[] | undefined;
|
|
631
631
|
valid_at?: string | undefined;
|
|
@@ -638,7 +638,7 @@ export declare const SoilSearchRequestSchema: z.ZodObject<{
|
|
|
638
638
|
record_ids?: string[] | undefined;
|
|
639
639
|
record_keys?: string[] | undefined;
|
|
640
640
|
record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
|
|
641
|
-
statuses?: ("completed" | "
|
|
641
|
+
statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
|
|
642
642
|
source_types?: string[] | undefined;
|
|
643
643
|
source_ids?: string[] | undefined;
|
|
644
644
|
active_only?: boolean | undefined;
|
|
@@ -683,7 +683,7 @@ export declare const SoilSearchRequestSchema: z.ZodObject<{
|
|
|
683
683
|
record_ids?: string[] | undefined;
|
|
684
684
|
record_keys?: string[] | undefined;
|
|
685
685
|
record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
|
|
686
|
-
statuses?: ("completed" | "
|
|
686
|
+
statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
|
|
687
687
|
source_types?: string[] | undefined;
|
|
688
688
|
source_ids?: string[] | undefined;
|
|
689
689
|
valid_at?: string | undefined;
|
|
@@ -718,7 +718,7 @@ export declare const SoilSearchRequestSchema: z.ZodObject<{
|
|
|
718
718
|
record_ids?: string[] | undefined;
|
|
719
719
|
record_keys?: string[] | undefined;
|
|
720
720
|
record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
|
|
721
|
-
statuses?: ("completed" | "
|
|
721
|
+
statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
|
|
722
722
|
source_types?: string[] | undefined;
|
|
723
723
|
source_ids?: string[] | undefined;
|
|
724
724
|
active_only?: boolean | undefined;
|
|
@@ -802,7 +802,7 @@ export declare const SoilSearchResultSchema: z.ZodObject<{
|
|
|
802
802
|
record_ids?: string[] | undefined;
|
|
803
803
|
record_keys?: string[] | undefined;
|
|
804
804
|
record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
|
|
805
|
-
statuses?: ("completed" | "
|
|
805
|
+
statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
|
|
806
806
|
source_types?: string[] | undefined;
|
|
807
807
|
source_ids?: string[] | undefined;
|
|
808
808
|
valid_at?: string | undefined;
|
|
@@ -815,7 +815,7 @@ export declare const SoilSearchResultSchema: z.ZodObject<{
|
|
|
815
815
|
record_ids?: string[] | undefined;
|
|
816
816
|
record_keys?: string[] | undefined;
|
|
817
817
|
record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
|
|
818
|
-
statuses?: ("completed" | "
|
|
818
|
+
statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
|
|
819
819
|
source_types?: string[] | undefined;
|
|
820
820
|
source_ids?: string[] | undefined;
|
|
821
821
|
active_only?: boolean | undefined;
|
|
@@ -860,7 +860,7 @@ export declare const SoilSearchResultSchema: z.ZodObject<{
|
|
|
860
860
|
record_ids?: string[] | undefined;
|
|
861
861
|
record_keys?: string[] | undefined;
|
|
862
862
|
record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
|
|
863
|
-
statuses?: ("completed" | "
|
|
863
|
+
statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
|
|
864
864
|
source_types?: string[] | undefined;
|
|
865
865
|
source_ids?: string[] | undefined;
|
|
866
866
|
valid_at?: string | undefined;
|
|
@@ -895,7 +895,7 @@ export declare const SoilSearchResultSchema: z.ZodObject<{
|
|
|
895
895
|
record_ids?: string[] | undefined;
|
|
896
896
|
record_keys?: string[] | undefined;
|
|
897
897
|
record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
|
|
898
|
-
statuses?: ("completed" | "
|
|
898
|
+
statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
|
|
899
899
|
source_types?: string[] | undefined;
|
|
900
900
|
source_ids?: string[] | undefined;
|
|
901
901
|
active_only?: boolean | undefined;
|
|
@@ -970,7 +970,7 @@ export declare const SoilSearchResultSchema: z.ZodObject<{
|
|
|
970
970
|
record_ids?: string[] | undefined;
|
|
971
971
|
record_keys?: string[] | undefined;
|
|
972
972
|
record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
|
|
973
|
-
statuses?: ("completed" | "
|
|
973
|
+
statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
|
|
974
974
|
source_types?: string[] | undefined;
|
|
975
975
|
source_ids?: string[] | undefined;
|
|
976
976
|
valid_at?: string | undefined;
|
|
@@ -1018,7 +1018,7 @@ export declare const SoilSearchResultSchema: z.ZodObject<{
|
|
|
1018
1018
|
record_ids?: string[] | undefined;
|
|
1019
1019
|
record_keys?: string[] | undefined;
|
|
1020
1020
|
record_types?: ("observation" | "state" | "decision" | "artifact" | "reflection" | "preference" | "identity" | "fact" | "workflow")[] | undefined;
|
|
1021
|
-
statuses?: ("completed" | "
|
|
1021
|
+
statuses?: ("completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced")[] | undefined;
|
|
1022
1022
|
source_types?: string[] | undefined;
|
|
1023
1023
|
source_ids?: string[] | undefined;
|
|
1024
1024
|
active_only?: boolean | undefined;
|
|
@@ -1304,7 +1304,7 @@ export declare const SoilMutationSchema: z.ZodObject<{
|
|
|
1304
1304
|
created_at: z.ZodString;
|
|
1305
1305
|
updated_at: z.ZodString;
|
|
1306
1306
|
}, "strip", z.ZodTypeAny, {
|
|
1307
|
-
status: "completed" | "
|
|
1307
|
+
status: "completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced";
|
|
1308
1308
|
confidence: number | null;
|
|
1309
1309
|
title: string;
|
|
1310
1310
|
created_at: string;
|
|
@@ -1332,7 +1332,7 @@ export declare const SoilMutationSchema: z.ZodObject<{
|
|
|
1332
1332
|
is_active: boolean;
|
|
1333
1333
|
metadata_json: Record<string, unknown>;
|
|
1334
1334
|
}, {
|
|
1335
|
-
status: "completed" | "
|
|
1335
|
+
status: "completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced";
|
|
1336
1336
|
title: string;
|
|
1337
1337
|
created_at: string;
|
|
1338
1338
|
updated_at: string;
|
|
@@ -1379,7 +1379,7 @@ export declare const SoilMutationSchema: z.ZodObject<{
|
|
|
1379
1379
|
token_count: number;
|
|
1380
1380
|
record_id: string;
|
|
1381
1381
|
chunk_index: number;
|
|
1382
|
-
chunk_kind: "code" | "title" | "summary" | "
|
|
1382
|
+
chunk_kind: "code" | "title" | "summary" | "list" | "heading" | "paragraph" | "table" | "quote";
|
|
1383
1383
|
heading_path_json: string[];
|
|
1384
1384
|
chunk_text: string;
|
|
1385
1385
|
}, {
|
|
@@ -1390,7 +1390,7 @@ export declare const SoilMutationSchema: z.ZodObject<{
|
|
|
1390
1390
|
token_count: number;
|
|
1391
1391
|
record_id: string;
|
|
1392
1392
|
chunk_index: number;
|
|
1393
|
-
chunk_kind: "code" | "title" | "summary" | "
|
|
1393
|
+
chunk_kind: "code" | "title" | "summary" | "list" | "heading" | "paragraph" | "table" | "quote";
|
|
1394
1394
|
chunk_text: string;
|
|
1395
1395
|
heading_path_json?: string[] | undefined;
|
|
1396
1396
|
}>, "many">>;
|
|
@@ -1610,6 +1610,11 @@ export declare const SoilMutationSchema: z.ZodObject<{
|
|
|
1610
1610
|
created_at: string;
|
|
1611
1611
|
reason: string;
|
|
1612
1612
|
schema_version: "memory-correction-entry-v1";
|
|
1613
|
+
audit: {
|
|
1614
|
+
status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
|
|
1615
|
+
retained_for_audit: boolean;
|
|
1616
|
+
destructive_delete_approved_at: string | null;
|
|
1617
|
+
};
|
|
1613
1618
|
provenance: {
|
|
1614
1619
|
source: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
|
|
1615
1620
|
confidence: number | null;
|
|
@@ -1638,11 +1643,6 @@ export declare const SoilMutationSchema: z.ZodObject<{
|
|
|
1638
1643
|
} | undefined;
|
|
1639
1644
|
} | null;
|
|
1640
1645
|
actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
|
|
1641
|
-
audit: {
|
|
1642
|
-
status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
|
|
1643
|
-
retained_for_audit: boolean;
|
|
1644
|
-
destructive_delete_approved_at: string | null;
|
|
1645
|
-
};
|
|
1646
1646
|
}, {
|
|
1647
1647
|
created_at: string;
|
|
1648
1648
|
reason: string;
|
|
@@ -1666,6 +1666,11 @@ export declare const SoilMutationSchema: z.ZodObject<{
|
|
|
1666
1666
|
correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
|
|
1667
1667
|
actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
|
|
1668
1668
|
schema_version?: "memory-correction-entry-v1" | undefined;
|
|
1669
|
+
audit?: {
|
|
1670
|
+
status?: "active" | "superseded" | "disputed" | "destructive_delete_requested" | undefined;
|
|
1671
|
+
retained_for_audit?: boolean | undefined;
|
|
1672
|
+
destructive_delete_approved_at?: string | null | undefined;
|
|
1673
|
+
} | undefined;
|
|
1669
1674
|
replacement_ref?: {
|
|
1670
1675
|
kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
|
|
1671
1676
|
id: string;
|
|
@@ -1675,15 +1680,15 @@ export declare const SoilMutationSchema: z.ZodObject<{
|
|
|
1675
1680
|
run_id?: string | undefined;
|
|
1676
1681
|
} | undefined;
|
|
1677
1682
|
} | null | undefined;
|
|
1678
|
-
audit?: {
|
|
1679
|
-
status?: "active" | "superseded" | "disputed" | "destructive_delete_requested" | undefined;
|
|
1680
|
-
retained_for_audit?: boolean | undefined;
|
|
1681
|
-
destructive_delete_approved_at?: string | null | undefined;
|
|
1682
|
-
} | undefined;
|
|
1683
1683
|
}>, {
|
|
1684
1684
|
created_at: string;
|
|
1685
1685
|
reason: string;
|
|
1686
1686
|
schema_version: "memory-correction-entry-v1";
|
|
1687
|
+
audit: {
|
|
1688
|
+
status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
|
|
1689
|
+
retained_for_audit: boolean;
|
|
1690
|
+
destructive_delete_approved_at: string | null;
|
|
1691
|
+
};
|
|
1687
1692
|
provenance: {
|
|
1688
1693
|
source: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
|
|
1689
1694
|
confidence: number | null;
|
|
@@ -1712,11 +1717,6 @@ export declare const SoilMutationSchema: z.ZodObject<{
|
|
|
1712
1717
|
} | undefined;
|
|
1713
1718
|
} | null;
|
|
1714
1719
|
actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
|
|
1715
|
-
audit: {
|
|
1716
|
-
status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
|
|
1717
|
-
retained_for_audit: boolean;
|
|
1718
|
-
destructive_delete_approved_at: string | null;
|
|
1719
|
-
};
|
|
1720
1720
|
}, {
|
|
1721
1721
|
created_at: string;
|
|
1722
1722
|
reason: string;
|
|
@@ -1740,6 +1740,11 @@ export declare const SoilMutationSchema: z.ZodObject<{
|
|
|
1740
1740
|
correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
|
|
1741
1741
|
actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
|
|
1742
1742
|
schema_version?: "memory-correction-entry-v1" | undefined;
|
|
1743
|
+
audit?: {
|
|
1744
|
+
status?: "active" | "superseded" | "disputed" | "destructive_delete_requested" | undefined;
|
|
1745
|
+
retained_for_audit?: boolean | undefined;
|
|
1746
|
+
destructive_delete_approved_at?: string | null | undefined;
|
|
1747
|
+
} | undefined;
|
|
1743
1748
|
replacement_ref?: {
|
|
1744
1749
|
kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
|
|
1745
1750
|
id: string;
|
|
@@ -1749,11 +1754,6 @@ export declare const SoilMutationSchema: z.ZodObject<{
|
|
|
1749
1754
|
run_id?: string | undefined;
|
|
1750
1755
|
} | undefined;
|
|
1751
1756
|
} | null | undefined;
|
|
1752
|
-
audit?: {
|
|
1753
|
-
status?: "active" | "superseded" | "disputed" | "destructive_delete_requested" | undefined;
|
|
1754
|
-
retained_for_audit?: boolean | undefined;
|
|
1755
|
-
destructive_delete_approved_at?: string | null | undefined;
|
|
1756
|
-
} | undefined;
|
|
1757
1757
|
}>, "many">>;
|
|
1758
1758
|
}, "strip", z.ZodTypeAny, {
|
|
1759
1759
|
edges: {
|
|
@@ -1781,12 +1781,12 @@ export declare const SoilMutationSchema: z.ZodObject<{
|
|
|
1781
1781
|
token_count: number;
|
|
1782
1782
|
record_id: string;
|
|
1783
1783
|
chunk_index: number;
|
|
1784
|
-
chunk_kind: "code" | "title" | "summary" | "
|
|
1784
|
+
chunk_kind: "code" | "title" | "summary" | "list" | "heading" | "paragraph" | "table" | "quote";
|
|
1785
1785
|
heading_path_json: string[];
|
|
1786
1786
|
chunk_text: string;
|
|
1787
1787
|
}[];
|
|
1788
1788
|
records: {
|
|
1789
|
-
status: "completed" | "
|
|
1789
|
+
status: "completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced";
|
|
1790
1790
|
confidence: number | null;
|
|
1791
1791
|
title: string;
|
|
1792
1792
|
created_at: string;
|
|
@@ -1818,6 +1818,11 @@ export declare const SoilMutationSchema: z.ZodObject<{
|
|
|
1818
1818
|
created_at: string;
|
|
1819
1819
|
reason: string;
|
|
1820
1820
|
schema_version: "memory-correction-entry-v1";
|
|
1821
|
+
audit: {
|
|
1822
|
+
status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
|
|
1823
|
+
retained_for_audit: boolean;
|
|
1824
|
+
destructive_delete_approved_at: string | null;
|
|
1825
|
+
};
|
|
1821
1826
|
provenance: {
|
|
1822
1827
|
source: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
|
|
1823
1828
|
confidence: number | null;
|
|
@@ -1846,11 +1851,6 @@ export declare const SoilMutationSchema: z.ZodObject<{
|
|
|
1846
1851
|
} | undefined;
|
|
1847
1852
|
} | null;
|
|
1848
1853
|
actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
|
|
1849
|
-
audit: {
|
|
1850
|
-
status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
|
|
1851
|
-
retained_for_audit: boolean;
|
|
1852
|
-
destructive_delete_approved_at: string | null;
|
|
1853
|
-
};
|
|
1854
1854
|
}[];
|
|
1855
1855
|
page_members: {
|
|
1856
1856
|
confidence: number | null;
|
|
@@ -1900,12 +1900,12 @@ export declare const SoilMutationSchema: z.ZodObject<{
|
|
|
1900
1900
|
token_count: number;
|
|
1901
1901
|
record_id: string;
|
|
1902
1902
|
chunk_index: number;
|
|
1903
|
-
chunk_kind: "code" | "title" | "summary" | "
|
|
1903
|
+
chunk_kind: "code" | "title" | "summary" | "list" | "heading" | "paragraph" | "table" | "quote";
|
|
1904
1904
|
chunk_text: string;
|
|
1905
1905
|
heading_path_json?: string[] | undefined;
|
|
1906
1906
|
}[] | undefined;
|
|
1907
1907
|
records?: {
|
|
1908
|
-
status: "completed" | "
|
|
1908
|
+
status: "completed" | "cancelled" | "candidate" | "active" | "archived" | "stale" | "expired" | "superseded" | "rejected" | "confirmed" | "corrected" | "retracted" | "forgotten" | "quarantined" | "deleted" | "draft" | "unreachable" | "replaced";
|
|
1909
1909
|
title: string;
|
|
1910
1910
|
created_at: string;
|
|
1911
1911
|
updated_at: string;
|
|
@@ -1956,6 +1956,11 @@ export declare const SoilMutationSchema: z.ZodObject<{
|
|
|
1956
1956
|
correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
|
|
1957
1957
|
actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
|
|
1958
1958
|
schema_version?: "memory-correction-entry-v1" | undefined;
|
|
1959
|
+
audit?: {
|
|
1960
|
+
status?: "active" | "superseded" | "disputed" | "destructive_delete_requested" | undefined;
|
|
1961
|
+
retained_for_audit?: boolean | undefined;
|
|
1962
|
+
destructive_delete_approved_at?: string | null | undefined;
|
|
1963
|
+
} | undefined;
|
|
1959
1964
|
replacement_ref?: {
|
|
1960
1965
|
kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
|
|
1961
1966
|
id: string;
|
|
@@ -1965,11 +1970,6 @@ export declare const SoilMutationSchema: z.ZodObject<{
|
|
|
1965
1970
|
run_id?: string | undefined;
|
|
1966
1971
|
} | undefined;
|
|
1967
1972
|
} | null | undefined;
|
|
1968
|
-
audit?: {
|
|
1969
|
-
status?: "active" | "superseded" | "disputed" | "destructive_delete_requested" | undefined;
|
|
1970
|
-
retained_for_audit?: boolean | undefined;
|
|
1971
|
-
destructive_delete_approved_at?: string | null | undefined;
|
|
1972
|
-
} | undefined;
|
|
1973
1973
|
}[] | undefined;
|
|
1974
1974
|
page_members?: {
|
|
1975
1975
|
role: "evidence" | "summary" | "primary" | "supporting" | "related";
|