pulseed 0.4.4 → 0.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -102
- package/dist/adapters/agents/native-agent-loop.d.ts +7 -0
- package/dist/adapters/agents/native-agent-loop.d.ts.map +1 -0
- package/dist/adapters/agents/native-agent-loop.js +19 -0
- package/dist/adapters/agents/native-agent-loop.js.map +1 -0
- 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 +7 -1
- package/dist/adapters/agents/openai-codex.js.map +1 -1
- package/dist/adapters/datasources/github-issue-datasource.d.ts +13 -0
- package/dist/adapters/datasources/github-issue-datasource.d.ts.map +1 -1
- package/dist/adapters/datasources/github-issue-datasource.js +114 -134
- package/dist/adapters/datasources/github-issue-datasource.js.map +1 -1
- package/dist/adapters/spawn-helper.js +3 -3
- package/dist/adapters/spawn-helper.js.map +1 -1
- package/dist/base/llm/provider-config.d.ts +11 -2
- package/dist/base/llm/provider-config.d.ts.map +1 -1
- package/dist/base/llm/provider-config.js +13 -7
- package/dist/base/llm/provider-config.js.map +1 -1
- package/dist/base/llm/provider-factory.d.ts +2 -2
- package/dist/base/llm/provider-factory.js +4 -4
- package/dist/base/llm/provider-factory.js.map +1 -1
- package/dist/base/state/state-lock.d.ts +3 -1
- package/dist/base/state/state-lock.d.ts.map +1 -1
- package/dist/base/state/state-lock.js +52 -10
- package/dist/base/state/state-lock.js.map +1 -1
- package/dist/base/state/state-manager-goal-write.d.ts +4 -0
- package/dist/base/state/state-manager-goal-write.d.ts.map +1 -1
- package/dist/base/state/state-manager-goal-write.js +45 -3
- package/dist/base/state/state-manager-goal-write.js.map +1 -1
- package/dist/base/state/state-manager-wal.d.ts.map +1 -1
- package/dist/base/state/state-manager-wal.js +12 -0
- package/dist/base/state/state-manager-wal.js.map +1 -1
- package/dist/base/state/state-manager.d.ts +12 -0
- package/dist/base/state/state-manager.d.ts.map +1 -1
- package/dist/base/state/state-manager.js +221 -177
- package/dist/base/state/state-manager.js.map +1 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/interface/chat/chat-event-state.d.ts.map +1 -1
- package/dist/interface/chat/chat-event-state.js +12 -24
- package/dist/interface/chat/chat-event-state.js.map +1 -1
- package/dist/interface/chat/chat-events.d.ts +9 -1
- package/dist/interface/chat/chat-events.d.ts.map +1 -1
- package/dist/interface/chat/chat-history.d.ts +3 -2
- package/dist/interface/chat/chat-history.d.ts.map +1 -1
- package/dist/interface/chat/chat-history.js +3 -0
- package/dist/interface/chat/chat-history.js.map +1 -1
- package/dist/interface/chat/chat-runner.d.ts +28 -0
- package/dist/interface/chat/chat-runner.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner.js +392 -45
- package/dist/interface/chat/chat-runner.js.map +1 -1
- package/dist/interface/chat/cross-platform-session.d.ts +78 -0
- package/dist/interface/chat/cross-platform-session.d.ts.map +1 -0
- package/dist/interface/chat/cross-platform-session.js +249 -0
- package/dist/interface/chat/cross-platform-session.js.map +1 -0
- package/dist/interface/chat/event-subscriber.d.ts +3 -1
- package/dist/interface/chat/event-subscriber.d.ts.map +1 -1
- package/dist/interface/chat/event-subscriber.js +13 -3
- package/dist/interface/chat/event-subscriber.js.map +1 -1
- package/dist/interface/cli/commands/chat.d.ts.map +1 -1
- package/dist/interface/cli/commands/chat.js +57 -3
- package/dist/interface/cli/commands/chat.js.map +1 -1
- package/dist/interface/cli/commands/config.d.ts.map +1 -1
- package/dist/interface/cli/commands/config.js +30 -1
- package/dist/interface/cli/commands/config.js.map +1 -1
- package/dist/interface/cli/commands/daemon.d.ts.map +1 -1
- package/dist/interface/cli/commands/daemon.js +29 -6
- package/dist/interface/cli/commands/daemon.js.map +1 -1
- package/dist/interface/cli/commands/doctor.d.ts +4 -0
- package/dist/interface/cli/commands/doctor.d.ts.map +1 -1
- package/dist/interface/cli/commands/doctor.js +172 -1
- package/dist/interface/cli/commands/doctor.js.map +1 -1
- package/dist/interface/cli/commands/install.d.ts +1 -0
- package/dist/interface/cli/commands/install.d.ts.map +1 -1
- package/dist/interface/cli/commands/install.js +6 -1
- package/dist/interface/cli/commands/install.js.map +1 -1
- package/dist/interface/cli/commands/notify.d.ts.map +1 -1
- package/dist/interface/cli/commands/notify.js +33 -21
- package/dist/interface/cli/commands/notify.js.map +1 -1
- package/dist/interface/cli/commands/setup/import/apply.d.ts +3 -0
- package/dist/interface/cli/commands/setup/import/apply.d.ts.map +1 -0
- package/dist/interface/cli/commands/setup/import/apply.js +140 -0
- package/dist/interface/cli/commands/setup/import/apply.js.map +1 -0
- package/dist/interface/cli/commands/setup/import/constants.d.ts +5 -0
- package/dist/interface/cli/commands/setup/import/constants.d.ts.map +1 -0
- package/dist/interface/cli/commands/setup/import/constants.js +19 -0
- package/dist/interface/cli/commands/setup/import/constants.js.map +1 -0
- package/dist/interface/cli/commands/setup/import/discovery.d.ts +3 -0
- package/dist/interface/cli/commands/setup/import/discovery.d.ts.map +1 -0
- package/dist/interface/cli/commands/setup/import/discovery.js +140 -0
- package/dist/interface/cli/commands/setup/import/discovery.js.map +1 -0
- package/dist/interface/cli/commands/setup/import/flow.d.ts +5 -0
- package/dist/interface/cli/commands/setup/import/flow.d.ts.map +1 -0
- package/dist/interface/cli/commands/setup/import/flow.js +138 -0
- package/dist/interface/cli/commands/setup/import/flow.js.map +1 -0
- package/dist/interface/cli/commands/setup/import/fs-utils.d.ts +9 -0
- package/dist/interface/cli/commands/setup/import/fs-utils.d.ts.map +1 -0
- package/dist/interface/cli/commands/setup/import/fs-utils.js +83 -0
- package/dist/interface/cli/commands/setup/import/fs-utils.js.map +1 -0
- package/dist/interface/cli/commands/setup/import/mcp.d.ts +4 -0
- package/dist/interface/cli/commands/setup/import/mcp.d.ts.map +1 -0
- package/dist/interface/cli/commands/setup/import/mcp.js +71 -0
- package/dist/interface/cli/commands/setup/import/mcp.js.map +1 -0
- package/dist/interface/cli/commands/setup/import/parse.d.ts +7 -0
- package/dist/interface/cli/commands/setup/import/parse.d.ts.map +1 -0
- package/dist/interface/cli/commands/setup/import/parse.js +40 -0
- package/dist/interface/cli/commands/setup/import/parse.js.map +1 -0
- package/dist/interface/cli/commands/setup/import/provider.d.ts +4 -0
- package/dist/interface/cli/commands/setup/import/provider.d.ts.map +1 -0
- package/dist/interface/cli/commands/setup/import/provider.js +142 -0
- package/dist/interface/cli/commands/setup/import/provider.js.map +1 -0
- package/dist/interface/cli/commands/setup/import/types.d.ts +53 -0
- package/dist/interface/cli/commands/setup/import/types.d.ts.map +1 -0
- package/dist/interface/cli/commands/setup/import/types.js +2 -0
- package/dist/interface/cli/commands/setup/import/types.js.map +1 -0
- package/dist/interface/cli/commands/setup/steps-adapter.d.ts +1 -1
- package/dist/interface/cli/commands/setup/steps-adapter.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/steps-adapter.js +32 -5
- package/dist/interface/cli/commands/setup/steps-adapter.js.map +1 -1
- package/dist/interface/cli/commands/setup/steps-identity.d.ts +2 -2
- package/dist/interface/cli/commands/setup/steps-identity.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/steps-identity.js +10 -4
- package/dist/interface/cli/commands/setup/steps-identity.js.map +1 -1
- package/dist/interface/cli/commands/setup/steps-notification.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/steps-notification.js +3 -2
- package/dist/interface/cli/commands/setup/steps-notification.js.map +1 -1
- package/dist/interface/cli/commands/setup/steps-provider.d.ts +4 -4
- package/dist/interface/cli/commands/setup/steps-provider.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/steps-provider.js +58 -10
- package/dist/interface/cli/commands/setup/steps-provider.js.map +1 -1
- package/dist/interface/cli/commands/setup/steps-runtime.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/steps-runtime.js +2 -3
- package/dist/interface/cli/commands/setup/steps-runtime.js.map +1 -1
- package/dist/interface/cli/commands/setup-shared.js +6 -6
- package/dist/interface/cli/commands/setup-shared.js.map +1 -1
- package/dist/interface/cli/commands/setup-wizard.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup-wizard.js +309 -62
- 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 +38 -1
- package/dist/interface/cli/commands/setup.js.map +1 -1
- package/dist/interface/cli/commands/telegram.d.ts.map +1 -1
- package/dist/interface/cli/commands/telegram.js +15 -1
- package/dist/interface/cli/commands/telegram.js.map +1 -1
- package/dist/interface/cli/setup.d.ts +12 -1
- package/dist/interface/cli/setup.d.ts.map +1 -1
- package/dist/interface/cli/setup.js +146 -17
- package/dist/interface/cli/setup.js.map +1 -1
- package/dist/interface/cli/utils.js +1 -1
- package/dist/interface/tui/entry.d.ts.map +1 -1
- package/dist/interface/tui/entry.js +69 -17
- package/dist/interface/tui/entry.js.map +1 -1
- package/dist/orchestrator/execution/adapter-layer.d.ts +19 -0
- 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-budget.d.ts +15 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-budget.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-budget.js +12 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-budget.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-command-classifier.d.ts +9 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-command-classifier.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-command-classifier.js +40 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-command-classifier.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-compactor.d.ts +33 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-compactor.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-compactor.js +68 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-compactor.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.d.ts +38 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.js +109 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-dogfood-benchmark.d.ts +76 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-dogfood-benchmark.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-dogfood-benchmark.js +164 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-dogfood-benchmark.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-evaluator.d.ts +46 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-evaluator.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-evaluator.js +75 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-evaluator.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-events.d.ts +98 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-events.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-events.js +6 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-events.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-history.d.ts +8 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-history.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-history.js +7 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-history.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client-factory.d.ts +9 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client-factory.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client-factory.js +19 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client-factory.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.d.ts +13 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.js +72 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-registry.d.ts +10 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-registry.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-registry.js +26 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-registry.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-model.d.ts +87 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-model.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-model.js +22 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-model.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-prompts.d.ts +5 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-prompts.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-prompts.js +18 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-prompts.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-real-dogfood.d.ts +2 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-real-dogfood.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-real-dogfood.js +362 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-real-dogfood.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-result.d.ts +42 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-result.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-result.js +2 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-result.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.d.ts +15 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.js +26 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.d.ts +40 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.js +125 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-session.d.ts +21 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-session.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-session.js +16 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-session.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-output.d.ts +21 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-output.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-output.js +2 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-output.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-router.d.ts +19 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-router.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-router.js +34 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-router.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.d.ts +21 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.js +114 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.d.ts +18 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.js +31 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.d.ts +39 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.js +5 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.d.ts +23 -0
- package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.js +156 -0
- package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.d.ts +38 -0
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js +479 -0
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts +67 -0
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js +113 -0
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.d.ts +33 -0
- package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.js +89 -0
- package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/core-phase-runner.d.ts +32 -0
- package/dist/orchestrator/execution/agent-loop/core-phase-runner.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/core-phase-runner.js +40 -0
- package/dist/orchestrator/execution/agent-loop/core-phase-runner.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/index.d.ts +35 -0
- package/dist/orchestrator/execution/agent-loop/index.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/index.js +35 -0
- package/dist/orchestrator/execution/agent-loop/index.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.d.ts +18 -0
- package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.js +148 -0
- package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.d.ts +26 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.js +79 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-factory.d.ts +28 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-factory.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-factory.js +96 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-factory.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.d.ts +54 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.js +61 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.d.ts +46 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.js +70 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-verification.d.ts +5 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-verification.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-verification.js +94 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-verification.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.d.ts +23 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.js +145 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.js.map +1 -0
- package/dist/orchestrator/execution/context/dimension-selector.d.ts +5 -1
- package/dist/orchestrator/execution/context/dimension-selector.d.ts.map +1 -1
- package/dist/orchestrator/execution/context/dimension-selector.js +9 -5
- package/dist/orchestrator/execution/context/dimension-selector.js.map +1 -1
- package/dist/orchestrator/execution/pipeline-executor.d.ts +1 -0
- package/dist/orchestrator/execution/pipeline-executor.d.ts.map +1 -1
- package/dist/orchestrator/execution/pipeline-executor.js +39 -8
- package/dist/orchestrator/execution/pipeline-executor.js.map +1 -1
- package/dist/orchestrator/execution/result-reconciler.d.ts.map +1 -1
- package/dist/orchestrator/execution/result-reconciler.js +79 -54
- package/dist/orchestrator/execution/result-reconciler.js.map +1 -1
- package/dist/orchestrator/execution/task/task-execution-helpers.d.ts +2 -1
- package/dist/orchestrator/execution/task/task-execution-helpers.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-execution-helpers.js +11 -1
- package/dist/orchestrator/execution/task/task-execution-helpers.js.map +1 -1
- package/dist/orchestrator/execution/task/task-generation.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-generation.js +46 -6
- package/dist/orchestrator/execution/task/task-generation.js.map +1 -1
- package/dist/orchestrator/execution/task/task-health-check.d.ts +1 -1
- package/dist/orchestrator/execution/task/task-health-check.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-health-check.js +8 -8
- package/dist/orchestrator/execution/task/task-health-check.js.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle.d.ts +23 -4
- package/dist/orchestrator/execution/task/task-lifecycle.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle.js +188 -25
- package/dist/orchestrator/execution/task/task-lifecycle.js.map +1 -1
- package/dist/orchestrator/execution/task/task-prompt-builder.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-prompt-builder.js +63 -3
- package/dist/orchestrator/execution/task/task-prompt-builder.js.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-llm.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-llm.js +19 -1
- package/dist/orchestrator/execution/task/task-verifier-llm.js.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-rules.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-rules.js +96 -44
- package/dist/orchestrator/execution/task/task-verifier-rules.js.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-types.d.ts +8 -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.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier.js +19 -1
- package/dist/orchestrator/execution/task/task-verifier.js.map +1 -1
- package/dist/orchestrator/goal/goal-dependency-graph.d.ts.map +1 -1
- package/dist/orchestrator/goal/goal-dependency-graph.js +20 -8
- package/dist/orchestrator/goal/goal-dependency-graph.js.map +1 -1
- package/dist/orchestrator/goal/goal-refiner.d.ts +3 -5
- package/dist/orchestrator/goal/goal-refiner.d.ts.map +1 -1
- package/dist/orchestrator/goal/goal-refiner.js +3 -5
- package/dist/orchestrator/goal/goal-refiner.js.map +1 -1
- package/dist/orchestrator/goal/tree-loop-orchestrator.d.ts +9 -0
- package/dist/orchestrator/goal/tree-loop-orchestrator.d.ts.map +1 -1
- package/dist/orchestrator/goal/tree-loop-orchestrator.js +32 -0
- package/dist/orchestrator/goal/tree-loop-orchestrator.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/contracts.d.ts +9 -0
- package/dist/orchestrator/loop/core-loop/contracts.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/contracts.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/decision-engine.d.ts +79 -0
- package/dist/orchestrator/loop/core-loop/decision-engine.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/decision-engine.js +141 -0
- package/dist/orchestrator/loop/core-loop/decision-engine.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/evidence-ledger.d.ts +22 -0
- package/dist/orchestrator/loop/core-loop/evidence-ledger.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/evidence-ledger.js +36 -0
- package/dist/orchestrator/loop/core-loop/evidence-ledger.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/iteration-kernel.d.ts +34 -0
- package/dist/orchestrator/loop/core-loop/iteration-kernel.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/iteration-kernel.js +356 -0
- package/dist/orchestrator/loop/core-loop/iteration-kernel.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/phase-policy.d.ts +20 -0
- package/dist/orchestrator/loop/core-loop/phase-policy.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/phase-policy.js +96 -0
- package/dist/orchestrator/loop/core-loop/phase-policy.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/phase-runtime.d.ts +29 -0
- package/dist/orchestrator/loop/core-loop/phase-runtime.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/phase-runtime.js +62 -0
- package/dist/orchestrator/loop/core-loop/phase-runtime.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/phase-specs.d.ts +180 -0
- package/dist/orchestrator/loop/core-loop/phase-specs.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/phase-specs.js +116 -0
- package/dist/orchestrator/loop/core-loop/phase-specs.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/preparation.d.ts +1 -5
- package/dist/orchestrator/loop/core-loop/preparation.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/preparation.js +2 -1
- package/dist/orchestrator/loop/core-loop/preparation.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/task-cycle.d.ts +10 -2
- package/dist/orchestrator/loop/core-loop/task-cycle.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/task-cycle.js +37 -54
- package/dist/orchestrator/loop/core-loop/task-cycle.js.map +1 -1
- package/dist/orchestrator/loop/core-loop.d.ts +3 -0
- package/dist/orchestrator/loop/core-loop.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop.js +58 -217
- package/dist/orchestrator/loop/core-loop.js.map +1 -1
- package/dist/orchestrator/loop/loop-result-types.d.ts +23 -0
- package/dist/orchestrator/loop/loop-result-types.d.ts.map +1 -1
- package/dist/orchestrator/loop/loop-result-types.js.map +1 -1
- package/dist/orchestrator/loop/tree-loop-runner.d.ts +6 -2
- package/dist/orchestrator/loop/tree-loop-runner.d.ts.map +1 -1
- package/dist/orchestrator/loop/tree-loop-runner.js +62 -6
- package/dist/orchestrator/loop/tree-loop-runner.js.map +1 -1
- package/dist/orchestrator/strategy/cross-goal-portfolio.d.ts.map +1 -1
- package/dist/orchestrator/strategy/cross-goal-portfolio.js +20 -12
- package/dist/orchestrator/strategy/cross-goal-portfolio.js.map +1 -1
- package/dist/orchestrator/strategy/portfolio-manager.d.ts +3 -3
- package/dist/orchestrator/strategy/portfolio-manager.d.ts.map +1 -1
- package/dist/orchestrator/strategy/portfolio-manager.js +11 -7
- package/dist/orchestrator/strategy/portfolio-manager.js.map +1 -1
- package/dist/orchestrator/strategy/portfolio-rebalance.d.ts +3 -3
- package/dist/orchestrator/strategy/portfolio-rebalance.d.ts.map +1 -1
- package/dist/orchestrator/strategy/portfolio-rebalance.js +14 -7
- package/dist/orchestrator/strategy/portfolio-rebalance.js.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager-base.d.ts.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager-base.js +29 -24
- package/dist/orchestrator/strategy/strategy-manager-base.js.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager.d.ts +11 -1
- package/dist/orchestrator/strategy/strategy-manager.d.ts.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager.js +23 -2
- package/dist/orchestrator/strategy/strategy-manager.js.map +1 -1
- package/dist/platform/dream/dream-activation-artifacts.d.ts +5 -0
- package/dist/platform/dream/dream-activation-artifacts.d.ts.map +1 -0
- package/dist/platform/dream/dream-activation-artifacts.js +35 -0
- package/dist/platform/dream/dream-activation-artifacts.js.map +1 -0
- package/dist/platform/dream/dream-activation.d.ts +7 -0
- package/dist/platform/dream/dream-activation.d.ts.map +1 -1
- package/dist/platform/dream/dream-activation.js +41 -0
- package/dist/platform/dream/dream-activation.js.map +1 -1
- package/dist/platform/dream/dream-consolidator.d.ts +51 -1
- package/dist/platform/dream/dream-consolidator.d.ts.map +1 -1
- package/dist/platform/dream/dream-consolidator.js +425 -74
- package/dist/platform/dream/dream-consolidator.js.map +1 -1
- package/dist/platform/dream/dream-event-workflows.d.ts +115 -0
- package/dist/platform/dream/dream-event-workflows.d.ts.map +1 -0
- package/dist/platform/dream/dream-event-workflows.js +328 -0
- package/dist/platform/dream/dream-event-workflows.js.map +1 -0
- package/dist/platform/dream/dream-soil-mutation.d.ts +28 -0
- package/dist/platform/dream/dream-soil-mutation.d.ts.map +1 -0
- package/dist/platform/dream/dream-soil-mutation.js +605 -0
- package/dist/platform/dream/dream-soil-mutation.js.map +1 -0
- package/dist/platform/dream/dream-soil-sync.d.ts +32 -0
- package/dist/platform/dream/dream-soil-sync.d.ts.map +1 -0
- package/dist/platform/dream/dream-soil-sync.js +106 -0
- package/dist/platform/dream/dream-soil-sync.js.map +1 -0
- package/dist/platform/dream/dream-types.d.ts +635 -50
- package/dist/platform/dream/dream-types.d.ts.map +1 -1
- package/dist/platform/dream/dream-types.js +70 -0
- package/dist/platform/dream/dream-types.js.map +1 -1
- package/dist/platform/dream/index.d.ts +4 -0
- package/dist/platform/dream/index.d.ts.map +1 -1
- package/dist/platform/dream/index.js +4 -0
- package/dist/platform/dream/index.js.map +1 -1
- package/dist/platform/drive/satisficing-judge.d.ts.map +1 -1
- package/dist/platform/drive/satisficing-judge.js +20 -6
- package/dist/platform/drive/satisficing-judge.js.map +1 -1
- package/dist/platform/knowledge/knowledge-decisions.d.ts.map +1 -1
- package/dist/platform/knowledge/knowledge-decisions.js +32 -0
- package/dist/platform/knowledge/knowledge-decisions.js.map +1 -1
- package/dist/platform/knowledge/knowledge-manager-lint.d.ts +1 -0
- package/dist/platform/knowledge/knowledge-manager-lint.d.ts.map +1 -1
- package/dist/platform/knowledge/knowledge-manager-lint.js +20 -6
- package/dist/platform/knowledge/knowledge-manager-lint.js.map +1 -1
- package/dist/platform/knowledge/knowledge-manager.d.ts +3 -0
- package/dist/platform/knowledge/knowledge-manager.d.ts.map +1 -1
- package/dist/platform/knowledge/knowledge-manager.js +40 -1
- package/dist/platform/knowledge/knowledge-manager.js.map +1 -1
- package/dist/platform/knowledge/knowledge-search.d.ts.map +1 -1
- package/dist/platform/knowledge/knowledge-search.js +15 -3
- package/dist/platform/knowledge/knowledge-search.js.map +1 -1
- package/dist/platform/knowledge/learning/learning-cross-goal.d.ts.map +1 -1
- package/dist/platform/knowledge/learning/learning-cross-goal.js +9 -5
- package/dist/platform/knowledge/learning/learning-cross-goal.js.map +1 -1
- package/dist/platform/observation/observation-apply.d.ts.map +1 -1
- package/dist/platform/observation/observation-apply.js +93 -99
- package/dist/platform/observation/observation-apply.js.map +1 -1
- package/dist/platform/observation/workspace-context.d.ts.map +1 -1
- package/dist/platform/observation/workspace-context.js +12 -6
- package/dist/platform/observation/workspace-context.js.map +1 -1
- package/dist/platform/soil/checksum.d.ts +2 -0
- package/dist/platform/soil/checksum.d.ts.map +1 -0
- package/dist/platform/soil/checksum.js +17 -0
- package/dist/platform/soil/checksum.js.map +1 -0
- package/dist/platform/soil/compiled-memory-projections.d.ts +12 -0
- package/dist/platform/soil/compiled-memory-projections.d.ts.map +1 -0
- package/dist/platform/soil/compiled-memory-projections.js +238 -0
- package/dist/platform/soil/compiled-memory-projections.js.map +1 -0
- package/dist/platform/soil/compiler.d.ts +27 -0
- package/dist/platform/soil/compiler.d.ts.map +1 -0
- package/dist/platform/soil/compiler.js +78 -0
- package/dist/platform/soil/compiler.js.map +1 -0
- package/dist/platform/soil/config.d.ts +16 -0
- package/dist/platform/soil/config.d.ts.map +1 -0
- package/dist/platform/soil/config.js +30 -0
- package/dist/platform/soil/config.js.map +1 -0
- package/dist/platform/soil/content-projections.d.ts +20 -0
- package/dist/platform/soil/content-projections.d.ts.map +1 -0
- package/dist/platform/soil/content-projections.js +451 -0
- package/dist/platform/soil/content-projections.js.map +1 -0
- package/dist/platform/soil/context-compiler.d.ts +34 -0
- package/dist/platform/soil/context-compiler.d.ts.map +1 -0
- package/dist/platform/soil/context-compiler.js +298 -0
- package/dist/platform/soil/context-compiler.js.map +1 -0
- package/dist/platform/soil/context-evaluation.d.ts +63 -0
- package/dist/platform/soil/context-evaluation.d.ts.map +1 -0
- package/dist/platform/soil/context-evaluation.js +90 -0
- package/dist/platform/soil/context-evaluation.js.map +1 -0
- package/dist/platform/soil/contracts.d.ts +1366 -0
- package/dist/platform/soil/contracts.d.ts.map +1 -0
- package/dist/platform/soil/contracts.js +281 -0
- package/dist/platform/soil/contracts.js.map +1 -0
- package/dist/platform/soil/ddl.d.ts +8 -0
- package/dist/platform/soil/ddl.d.ts.map +1 -0
- package/dist/platform/soil/ddl.js +150 -0
- package/dist/platform/soil/ddl.js.map +1 -0
- package/dist/platform/soil/doctor.d.ts +38 -0
- package/dist/platform/soil/doctor.d.ts.map +1 -0
- package/dist/platform/soil/doctor.js +473 -0
- package/dist/platform/soil/doctor.js.map +1 -0
- package/dist/platform/soil/feedback-store.d.ts +10 -0
- package/dist/platform/soil/feedback-store.d.ts.map +1 -0
- package/dist/platform/soil/feedback-store.js +38 -0
- package/dist/platform/soil/feedback-store.js.map +1 -0
- package/dist/platform/soil/frontmatter.d.ts +15 -0
- package/dist/platform/soil/frontmatter.d.ts.map +1 -0
- package/dist/platform/soil/frontmatter.js +82 -0
- package/dist/platform/soil/frontmatter.js.map +1 -0
- package/dist/platform/soil/health.d.ts +35 -0
- package/dist/platform/soil/health.d.ts.map +1 -0
- package/dist/platform/soil/health.js +126 -0
- package/dist/platform/soil/health.js.map +1 -0
- package/dist/platform/soil/importer.d.ts +118 -0
- package/dist/platform/soil/importer.d.ts.map +1 -0
- package/dist/platform/soil/importer.js +145 -0
- package/dist/platform/soil/importer.js.map +1 -0
- package/dist/platform/soil/index-store.d.ts +89 -0
- package/dist/platform/soil/index-store.d.ts.map +1 -0
- package/dist/platform/soil/index-store.js +408 -0
- package/dist/platform/soil/index-store.js.map +1 -0
- package/dist/platform/soil/index.d.ts +24 -0
- package/dist/platform/soil/index.d.ts.map +1 -0
- package/dist/platform/soil/index.js +24 -0
- package/dist/platform/soil/index.js.map +1 -0
- package/dist/platform/soil/io.d.ts +18 -0
- package/dist/platform/soil/io.d.ts.map +1 -0
- package/dist/platform/soil/io.js +56 -0
- package/dist/platform/soil/io.js.map +1 -0
- package/dist/platform/soil/open.d.ts +32 -0
- package/dist/platform/soil/open.d.ts.map +1 -0
- package/dist/platform/soil/open.js +78 -0
- package/dist/platform/soil/open.js.map +1 -0
- package/dist/platform/soil/paths.d.ts +9 -0
- package/dist/platform/soil/paths.d.ts.map +1 -0
- package/dist/platform/soil/paths.js +78 -0
- package/dist/platform/soil/paths.js.map +1 -0
- package/dist/platform/soil/projection-support.d.ts +48 -0
- package/dist/platform/soil/projection-support.d.ts.map +1 -0
- package/dist/platform/soil/projection-support.js +107 -0
- package/dist/platform/soil/projection-support.js.map +1 -0
- package/dist/platform/soil/projections.d.ts +16 -0
- package/dist/platform/soil/projections.d.ts.map +1 -0
- package/dist/platform/soil/projections.js +265 -0
- package/dist/platform/soil/projections.js.map +1 -0
- package/dist/platform/soil/publish/apple-notes.d.ts +15 -0
- package/dist/platform/soil/publish/apple-notes.d.ts.map +1 -0
- package/dist/platform/soil/publish/apple-notes.js +58 -0
- package/dist/platform/soil/publish/apple-notes.js.map +1 -0
- package/dist/platform/soil/publish/config.d.ts +14 -0
- package/dist/platform/soil/publish/config.d.ts.map +1 -0
- package/dist/platform/soil/publish/config.js +59 -0
- package/dist/platform/soil/publish/config.js.map +1 -0
- package/dist/platform/soil/publish/index.d.ts +7 -0
- package/dist/platform/soil/publish/index.d.ts.map +1 -0
- package/dist/platform/soil/publish/index.js +7 -0
- package/dist/platform/soil/publish/index.js.map +1 -0
- package/dist/platform/soil/publish/notion.d.ts +51 -0
- package/dist/platform/soil/publish/notion.d.ts.map +1 -0
- package/dist/platform/soil/publish/notion.js +201 -0
- package/dist/platform/soil/publish/notion.js.map +1 -0
- package/dist/platform/soil/publish/publisher.d.ts +13 -0
- package/dist/platform/soil/publish/publisher.d.ts.map +1 -0
- package/dist/platform/soil/publish/publisher.js +55 -0
- package/dist/platform/soil/publish/publisher.js.map +1 -0
- package/dist/platform/soil/publish/snapshot.d.ts +4 -0
- package/dist/platform/soil/publish/snapshot.d.ts.map +1 -0
- package/dist/platform/soil/publish/snapshot.js +40 -0
- package/dist/platform/soil/publish/snapshot.js.map +1 -0
- package/dist/platform/soil/publish/types.d.ts +169 -0
- package/dist/platform/soil/publish/types.d.ts.map +1 -0
- package/dist/platform/soil/publish/types.js +32 -0
- package/dist/platform/soil/publish/types.js.map +1 -0
- package/dist/platform/soil/retriever.d.ts +52 -0
- package/dist/platform/soil/retriever.d.ts.map +1 -0
- package/dist/platform/soil/retriever.js +262 -0
- package/dist/platform/soil/retriever.js.map +1 -0
- package/dist/platform/soil/runtime-rebuild.d.ts +33 -0
- package/dist/platform/soil/runtime-rebuild.d.ts.map +1 -0
- package/dist/platform/soil/runtime-rebuild.js +200 -0
- package/dist/platform/soil/runtime-rebuild.js.map +1 -0
- package/dist/platform/soil/sqlite-repository.d.ts +25 -0
- package/dist/platform/soil/sqlite-repository.d.ts.map +1 -0
- package/dist/platform/soil/sqlite-repository.js +929 -0
- package/dist/platform/soil/sqlite-repository.js.map +1 -0
- package/dist/platform/soil/types.d.ts +506 -0
- package/dist/platform/soil/types.d.ts.map +1 -0
- package/dist/platform/soil/types.js +146 -0
- package/dist/platform/soil/types.js.map +1 -0
- package/dist/reflection/types.d.ts +2 -2
- package/dist/reporting/reporting-engine.d.ts.map +1 -1
- package/dist/reporting/reporting-engine.js +10 -0
- package/dist/reporting/reporting-engine.js.map +1 -1
- package/dist/runtime/approval-broker.d.ts.map +1 -1
- package/dist/runtime/approval-broker.js +32 -9
- package/dist/runtime/approval-broker.js.map +1 -1
- package/dist/runtime/command-dispatcher.d.ts +2 -0
- package/dist/runtime/command-dispatcher.d.ts.map +1 -1
- package/dist/runtime/command-dispatcher.js +11 -0
- package/dist/runtime/command-dispatcher.js.map +1 -1
- package/dist/runtime/control/daemon-runtime-control-executor.d.ts +13 -0
- package/dist/runtime/control/daemon-runtime-control-executor.d.ts.map +1 -0
- package/dist/runtime/control/daemon-runtime-control-executor.js +46 -0
- package/dist/runtime/control/daemon-runtime-control-executor.js.map +1 -0
- package/dist/runtime/control/index.d.ts +7 -0
- package/dist/runtime/control/index.d.ts.map +1 -0
- package/dist/runtime/control/index.js +4 -0
- package/dist/runtime/control/index.js.map +1 -0
- package/dist/runtime/control/runtime-control-intent.d.ts +7 -0
- package/dist/runtime/control/runtime-control-intent.d.ts.map +1 -0
- package/dist/runtime/control/runtime-control-intent.js +31 -0
- package/dist/runtime/control/runtime-control-intent.js.map +1 -0
- package/dist/runtime/control/runtime-control-service.d.ts +44 -0
- package/dist/runtime/control/runtime-control-service.d.ts.map +1 -0
- package/dist/runtime/control/runtime-control-service.js +143 -0
- package/dist/runtime/control/runtime-control-service.js.map +1 -0
- package/dist/runtime/daemon/client.d.ts +17 -0
- package/dist/runtime/daemon/client.d.ts.map +1 -1
- package/dist/runtime/daemon/client.js +45 -2
- package/dist/runtime/daemon/client.js.map +1 -1
- package/dist/runtime/daemon/runner-errors.d.ts +28 -0
- package/dist/runtime/daemon/runner-errors.d.ts.map +1 -0
- package/dist/runtime/daemon/runner-errors.js +41 -0
- package/dist/runtime/daemon/runner-errors.js.map +1 -0
- package/dist/runtime/daemon/runner-recovery.d.ts +12 -0
- package/dist/runtime/daemon/runner-recovery.d.ts.map +1 -0
- package/dist/runtime/daemon/runner-recovery.js +146 -0
- package/dist/runtime/daemon/runner-recovery.js.map +1 -0
- package/dist/runtime/daemon/runner.d.ts +8 -3
- package/dist/runtime/daemon/runner.d.ts.map +1 -1
- package/dist/runtime/daemon/runner.js +211 -169
- package/dist/runtime/daemon/runner.js.map +1 -1
- package/dist/runtime/event/server-sse.d.ts.map +1 -1
- package/dist/runtime/event/server-sse.js +0 -1
- package/dist/runtime/event/server-sse.js.map +1 -1
- package/dist/runtime/event/server.d.ts +28 -0
- package/dist/runtime/event/server.d.ts.map +1 -1
- package/dist/runtime/event/server.js +341 -71
- package/dist/runtime/event/server.js.map +1 -1
- package/dist/runtime/leader-lock-manager.d.ts.map +1 -1
- package/dist/runtime/leader-lock-manager.js +2 -1
- package/dist/runtime/leader-lock-manager.js.map +1 -1
- package/dist/runtime/notification-dispatcher.d.ts +7 -0
- package/dist/runtime/notification-dispatcher.d.ts.map +1 -1
- package/dist/runtime/notification-dispatcher.js +43 -1
- package/dist/runtime/notification-dispatcher.js.map +1 -1
- package/dist/runtime/notification-routing.d.ts +16 -0
- package/dist/runtime/notification-routing.d.ts.map +1 -0
- package/dist/runtime/notification-routing.js +147 -0
- package/dist/runtime/notification-routing.js.map +1 -0
- package/dist/runtime/plugin-loader.d.ts +2 -0
- package/dist/runtime/plugin-loader.d.ts.map +1 -1
- package/dist/runtime/plugin-loader.js +34 -2
- package/dist/runtime/plugin-loader.js.map +1 -1
- package/dist/runtime/schedule/engine-layers.d.ts.map +1 -1
- package/dist/runtime/schedule/engine-layers.js +106 -6
- package/dist/runtime/schedule/engine-layers.js.map +1 -1
- package/dist/runtime/schedule/engine.d.ts +2 -0
- package/dist/runtime/schedule/engine.d.ts.map +1 -1
- package/dist/runtime/schedule/engine.js +28 -0
- package/dist/runtime/schedule/engine.js.map +1 -1
- package/dist/runtime/schedule/history.d.ts +3 -3
- package/dist/runtime/schedule/presets.d.ts +128 -15
- package/dist/runtime/schedule/presets.d.ts.map +1 -1
- package/dist/runtime/schedule/presets.js +24 -0
- package/dist/runtime/schedule/presets.js.map +1 -1
- package/dist/runtime/schedule/source.d.ts +2 -2
- package/dist/runtime/store/index.d.ts +3 -0
- package/dist/runtime/store/index.d.ts.map +1 -1
- package/dist/runtime/store/index.js +2 -0
- package/dist/runtime/store/index.js.map +1 -1
- package/dist/runtime/store/runtime-operation-schemas.d.ts +213 -0
- package/dist/runtime/store/runtime-operation-schemas.d.ts.map +1 -0
- package/dist/runtime/store/runtime-operation-schemas.js +62 -0
- package/dist/runtime/store/runtime-operation-schemas.js.map +1 -0
- package/dist/runtime/store/runtime-operation-store.d.ts +17 -0
- package/dist/runtime/store/runtime-operation-store.d.ts.map +1 -0
- package/dist/runtime/store/runtime-operation-store.js +57 -0
- package/dist/runtime/store/runtime-operation-store.js.map +1 -0
- package/dist/runtime/store/runtime-schemas.d.ts +2 -2
- package/dist/runtime/types/cron.d.ts +4 -4
- package/dist/runtime/types/daemon.d.ts +6 -0
- package/dist/runtime/types/daemon.d.ts.map +1 -1
- package/dist/runtime/types/daemon.js +2 -0
- package/dist/runtime/types/daemon.js.map +1 -1
- package/dist/runtime/types/notification.d.ts +91 -0
- package/dist/runtime/types/notification.d.ts.map +1 -1
- package/dist/runtime/types/notification.js +10 -0
- package/dist/runtime/types/notification.js.map +1 -1
- package/dist/runtime/types/schedule.d.ts +60 -60
- package/dist/runtime/types/schedule.js +1 -1
- package/dist/runtime/types/schedule.js.map +1 -1
- package/dist/runtime/types/trigger.d.ts +6 -6
- package/dist/runtime/watchdog.d.ts +22 -0
- package/dist/runtime/watchdog.d.ts.map +1 -1
- package/dist/runtime/watchdog.js +47 -3
- package/dist/runtime/watchdog.js.map +1 -1
- package/dist/tools/builtin/index.d.ts +17 -0
- package/dist/tools/builtin/index.d.ts.map +1 -1
- package/dist/tools/builtin/index.js +46 -3
- package/dist/tools/builtin/index.js.map +1 -1
- package/dist/tools/execution/RunAdapterTool/RunAdapterTool.d.ts.map +1 -1
- package/dist/tools/execution/RunAdapterTool/RunAdapterTool.js +20 -0
- package/dist/tools/execution/RunAdapterTool/RunAdapterTool.js.map +1 -1
- package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.d.ts +43 -0
- package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.d.ts.map +1 -0
- package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.js +83 -0
- package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.js.map +1 -0
- package/dist/tools/execution/SoilDoctorTool/constants.d.ts +8 -0
- package/dist/tools/execution/SoilDoctorTool/constants.d.ts.map +1 -0
- package/dist/tools/execution/SoilDoctorTool/constants.js +8 -0
- package/dist/tools/execution/SoilDoctorTool/constants.js.map +1 -0
- package/dist/tools/execution/SoilDoctorTool/prompt.d.ts +2 -0
- package/dist/tools/execution/SoilDoctorTool/prompt.d.ts.map +1 -0
- package/dist/tools/execution/SoilDoctorTool/prompt.js +2 -0
- package/dist/tools/execution/SoilDoctorTool/prompt.js.map +1 -0
- package/dist/tools/execution/SoilImportTool/SoilImportTool.d.ts +109 -0
- package/dist/tools/execution/SoilImportTool/SoilImportTool.d.ts.map +1 -0
- package/dist/tools/execution/SoilImportTool/SoilImportTool.js +72 -0
- package/dist/tools/execution/SoilImportTool/SoilImportTool.js.map +1 -0
- package/dist/tools/execution/SoilImportTool/constants.d.ts +6 -0
- package/dist/tools/execution/SoilImportTool/constants.d.ts.map +1 -0
- package/dist/tools/execution/SoilImportTool/constants.js +6 -0
- package/dist/tools/execution/SoilImportTool/constants.js.map +1 -0
- package/dist/tools/execution/SoilImportTool/prompt.d.ts +2 -0
- package/dist/tools/execution/SoilImportTool/prompt.d.ts.map +1 -0
- package/dist/tools/execution/SoilImportTool/prompt.js +2 -0
- package/dist/tools/execution/SoilImportTool/prompt.js.map +1 -0
- package/dist/tools/execution/SoilOpenTool/SoilOpenTool.d.ts +46 -0
- package/dist/tools/execution/SoilOpenTool/SoilOpenTool.d.ts.map +1 -0
- package/dist/tools/execution/SoilOpenTool/SoilOpenTool.js +64 -0
- package/dist/tools/execution/SoilOpenTool/SoilOpenTool.js.map +1 -0
- package/dist/tools/execution/SoilOpenTool/constants.d.ts +6 -0
- package/dist/tools/execution/SoilOpenTool/constants.d.ts.map +1 -0
- package/dist/tools/execution/SoilOpenTool/constants.js +6 -0
- package/dist/tools/execution/SoilOpenTool/constants.js.map +1 -0
- package/dist/tools/execution/SoilOpenTool/prompt.d.ts +2 -0
- package/dist/tools/execution/SoilOpenTool/prompt.d.ts.map +1 -0
- package/dist/tools/execution/SoilOpenTool/prompt.js +2 -0
- package/dist/tools/execution/SoilOpenTool/prompt.js.map +1 -0
- package/dist/tools/execution/SoilPublishTool/SoilPublishTool.d.ts +49 -0
- package/dist/tools/execution/SoilPublishTool/SoilPublishTool.d.ts.map +1 -0
- package/dist/tools/execution/SoilPublishTool/SoilPublishTool.js +71 -0
- package/dist/tools/execution/SoilPublishTool/SoilPublishTool.js.map +1 -0
- package/dist/tools/execution/SoilPublishTool/constants.d.ts +6 -0
- package/dist/tools/execution/SoilPublishTool/constants.d.ts.map +1 -0
- package/dist/tools/execution/SoilPublishTool/constants.js +6 -0
- package/dist/tools/execution/SoilPublishTool/constants.js.map +1 -0
- package/dist/tools/execution/SoilPublishTool/prompt.d.ts +2 -0
- package/dist/tools/execution/SoilPublishTool/prompt.d.ts.map +1 -0
- package/dist/tools/execution/SoilPublishTool/prompt.js +2 -0
- package/dist/tools/execution/SoilPublishTool/prompt.js.map +1 -0
- package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.d.ts +34 -0
- package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.d.ts.map +1 -0
- package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.js +66 -0
- package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.js.map +1 -0
- package/dist/tools/execution/SoilRebuildTool/constants.d.ts +6 -0
- package/dist/tools/execution/SoilRebuildTool/constants.d.ts.map +1 -0
- package/dist/tools/execution/SoilRebuildTool/constants.js +6 -0
- package/dist/tools/execution/SoilRebuildTool/constants.js.map +1 -0
- package/dist/tools/execution/SoilRebuildTool/prompt.d.ts +2 -0
- package/dist/tools/execution/SoilRebuildTool/prompt.d.ts.map +1 -0
- package/dist/tools/execution/SoilRebuildTool/prompt.js +2 -0
- package/dist/tools/execution/SoilRebuildTool/prompt.js.map +1 -0
- package/dist/tools/executor.d.ts.map +1 -1
- package/dist/tools/executor.js +5 -2
- package/dist/tools/executor.js.map +1 -1
- package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.d.ts +38 -0
- package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.d.ts.map +1 -0
- package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.js +247 -0
- package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.js.map +1 -0
- package/dist/tools/fs/FileValidationTool/FileValidationTool.d.ts.map +1 -1
- package/dist/tools/fs/FileValidationTool/FileValidationTool.js +3 -2
- package/dist/tools/fs/FileValidationTool/FileValidationTool.js.map +1 -1
- package/dist/tools/fs/GlobTool/GlobTool.d.ts +1 -1
- package/dist/tools/fs/GlobTool/GlobTool.d.ts.map +1 -1
- package/dist/tools/fs/GlobTool/GlobTool.js +12 -1
- package/dist/tools/fs/GlobTool/GlobTool.js.map +1 -1
- package/dist/tools/fs/GrepTool/GrepTool.d.ts +1 -1
- package/dist/tools/fs/GrepTool/GrepTool.d.ts.map +1 -1
- package/dist/tools/fs/GrepTool/GrepTool.js +10 -3
- package/dist/tools/fs/GrepTool/GrepTool.js.map +1 -1
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.d.ts +1 -1
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.d.ts.map +1 -1
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.js +8 -1
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.js.map +1 -1
- package/dist/tools/fs/ListDirTool/ListDirTool.d.ts +2 -2
- package/dist/tools/fs/ListDirTool/ListDirTool.d.ts.map +1 -1
- package/dist/tools/fs/ListDirTool/ListDirTool.js +13 -5
- package/dist/tools/fs/ListDirTool/ListDirTool.js.map +1 -1
- package/dist/tools/fs/ReadTool/ReadTool.d.ts +1 -1
- package/dist/tools/fs/ReadTool/ReadTool.d.ts.map +1 -1
- package/dist/tools/fs/ReadTool/ReadTool.js +8 -1
- package/dist/tools/fs/ReadTool/ReadTool.js.map +1 -1
- package/dist/tools/index.d.ts +2 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +1 -0
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/media/ViewImageTool/ViewImageTool.d.ts +31 -0
- package/dist/tools/media/ViewImageTool/ViewImageTool.d.ts.map +1 -0
- package/dist/tools/media/ViewImageTool/ViewImageTool.js +53 -0
- package/dist/tools/media/ViewImageTool/ViewImageTool.js.map +1 -0
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.d.ts +25 -0
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.d.ts.map +1 -0
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.js +59 -0
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.js.map +1 -0
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/constants.d.ts +5 -0
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/constants.d.ts.map +1 -0
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/constants.js +5 -0
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/constants.js.map +1 -0
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.d.ts +2 -0
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.d.ts.map +1 -0
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.js +5 -0
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.js.map +1 -0
- package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.d.ts +4 -4
- package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.d.ts +2 -2
- package/dist/tools/network/GitHubCliTool/GitHubCliTool.d.ts +144 -0
- package/dist/tools/network/GitHubCliTool/GitHubCliTool.d.ts.map +1 -0
- package/dist/tools/network/GitHubCliTool/GitHubCliTool.js +245 -0
- package/dist/tools/network/GitHubCliTool/GitHubCliTool.js.map +1 -0
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.d.ts +16 -0
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.d.ts.map +1 -1
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.js +252 -13
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.js.map +1 -1
- package/dist/tools/network/McpStdioTool/McpStdioTool.d.ts +109 -0
- package/dist/tools/network/McpStdioTool/McpStdioTool.d.ts.map +1 -0
- package/dist/tools/network/McpStdioTool/McpStdioTool.js +121 -0
- package/dist/tools/network/McpStdioTool/McpStdioTool.js.map +1 -0
- package/dist/tools/query/GoalStateTool/GoalStateTool.js +1 -1
- package/dist/tools/query/GoalStateTool/GoalStateTool.js.map +1 -1
- package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.d.ts +4 -4
- package/dist/tools/query/SoilQueryTool/SoilQueryTool.d.ts +118 -0
- package/dist/tools/query/SoilQueryTool/SoilQueryTool.d.ts.map +1 -0
- package/dist/tools/query/SoilQueryTool/SoilQueryTool.js +335 -0
- package/dist/tools/query/SoilQueryTool/SoilQueryTool.js.map +1 -0
- package/dist/tools/query/SoilQueryTool/constants.d.ts +8 -0
- package/dist/tools/query/SoilQueryTool/constants.d.ts.map +1 -0
- package/dist/tools/query/SoilQueryTool/constants.js +8 -0
- package/dist/tools/query/SoilQueryTool/constants.js.map +1 -0
- package/dist/tools/query/SoilQueryTool/prompt.d.ts +2 -0
- package/dist/tools/query/SoilQueryTool/prompt.d.ts.map +1 -0
- package/dist/tools/query/SoilQueryTool/prompt.js +2 -0
- package/dist/tools/query/SoilQueryTool/prompt.js.map +1 -0
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts +164 -52
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts.map +1 -1
- package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.d.ts +4 -4
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts +76 -76
- package/dist/tools/system/EnvTool/EnvTool.d.ts +4 -4
- package/dist/tools/system/GitLogTool/GitLogTool.d.ts +4 -4
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.d.ts +220 -0
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.d.ts.map +1 -0
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.js +354 -0
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.js.map +1 -0
- package/dist/tools/system/ShellCommandTool/ShellCommandTool.d.ts +44 -0
- package/dist/tools/system/ShellCommandTool/ShellCommandTool.d.ts.map +1 -0
- package/dist/tools/system/ShellCommandTool/ShellCommandTool.js +40 -0
- package/dist/tools/system/ShellCommandTool/ShellCommandTool.js.map +1 -0
- package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.d.ts +61 -0
- package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.d.ts.map +1 -0
- package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.js +42 -0
- package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.js.map +1 -0
- package/dist/tools/types.d.ts +6 -2
- package/dist/tools/types.d.ts.map +1 -1
- package/dist/tools/types.js.map +1 -1
- package/package.json +7 -1
- package/dist/adapters/agents/browser-use-cli.d.ts +0 -19
- package/dist/adapters/agents/browser-use-cli.d.ts.map +0 -1
- package/dist/adapters/agents/browser-use-cli.js +0 -74
- package/dist/adapters/agents/browser-use-cli.js.map +0 -1
|
@@ -0,0 +1,1366 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const SoilRecordTypeSchema: z.ZodEnum<["fact", "workflow", "preference", "observation", "decision", "state", "identity", "artifact", "reflection"]>;
|
|
3
|
+
export type SoilRecordType = z.infer<typeof SoilRecordTypeSchema>;
|
|
4
|
+
export declare const SoilRecordStatusSchema: z.ZodEnum<["draft", "active", "candidate", "confirmed", "stale", "superseded", "expired", "rejected", "archived", "completed", "cancelled", "deleted", "unreachable", "replaced"]>;
|
|
5
|
+
export type SoilRecordStatus = z.infer<typeof SoilRecordStatusSchema>;
|
|
6
|
+
export declare const SoilChunkKindSchema: z.ZodEnum<["title", "summary", "heading", "paragraph", "list", "table", "quote", "code"]>;
|
|
7
|
+
export type SoilChunkKind = z.infer<typeof SoilChunkKindSchema>;
|
|
8
|
+
export declare const SoilPageMemberRoleSchema: z.ZodEnum<["primary", "supporting", "summary", "evidence", "related"]>;
|
|
9
|
+
export type SoilPageMemberRole = z.infer<typeof SoilPageMemberRoleSchema>;
|
|
10
|
+
export declare const SoilEdgeTypeSchema: z.ZodEnum<["supports", "contradicts", "caused_by", "references", "derived_from", "related_to", "belongs_to"]>;
|
|
11
|
+
export type SoilEdgeType = z.infer<typeof SoilEdgeTypeSchema>;
|
|
12
|
+
export declare const SoilEmbeddingEncodingSchema: z.ZodEnum<["json", "f32le"]>;
|
|
13
|
+
export type SoilEmbeddingEncoding = z.infer<typeof SoilEmbeddingEncodingSchema>;
|
|
14
|
+
export declare const SoilLaneSchema: z.ZodEnum<["direct", "lexical", "dense", "hybrid", "recency", "rerank"]>;
|
|
15
|
+
export type SoilLane = z.infer<typeof SoilLaneSchema>;
|
|
16
|
+
export declare const SoilSortDirectionSchema: z.ZodEnum<["asc", "desc"]>;
|
|
17
|
+
export type SoilSortDirection = z.infer<typeof SoilSortDirectionSchema>;
|
|
18
|
+
export declare const SoilMemoryLifecycleStateSchema: z.ZodEnum<["active", "deprecated", "superseded", "archived", "tombstoned"]>;
|
|
19
|
+
export type SoilMemoryLifecycleState = z.infer<typeof SoilMemoryLifecycleStateSchema>;
|
|
20
|
+
export declare const SoilRecordSchema: z.ZodObject<{
|
|
21
|
+
record_id: z.ZodString;
|
|
22
|
+
record_key: z.ZodString;
|
|
23
|
+
version: z.ZodNumber;
|
|
24
|
+
record_type: z.ZodEnum<["fact", "workflow", "preference", "observation", "decision", "state", "identity", "artifact", "reflection"]>;
|
|
25
|
+
soil_id: z.ZodString;
|
|
26
|
+
title: z.ZodString;
|
|
27
|
+
summary: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
canonical_text: z.ZodString;
|
|
29
|
+
goal_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
task_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
status: z.ZodEnum<["draft", "active", "candidate", "confirmed", "stale", "superseded", "expired", "rejected", "archived", "completed", "cancelled", "deleted", "unreachable", "replaced"]>;
|
|
32
|
+
confidence: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
33
|
+
importance: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
34
|
+
source_reliability: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
35
|
+
valid_from: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
valid_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
supersedes_record_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
is_active: z.ZodDefault<z.ZodBoolean>;
|
|
39
|
+
source_type: z.ZodString;
|
|
40
|
+
source_id: z.ZodString;
|
|
41
|
+
metadata_json: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
42
|
+
created_at: z.ZodString;
|
|
43
|
+
updated_at: z.ZodString;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
status: "completed" | "candidate" | "active" | "cancelled" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "expired" | "deleted" | "unreachable" | "replaced";
|
|
46
|
+
confidence: number | null;
|
|
47
|
+
title: string;
|
|
48
|
+
created_at: string;
|
|
49
|
+
updated_at: string;
|
|
50
|
+
goal_id: string | null;
|
|
51
|
+
task_id: string | null;
|
|
52
|
+
summary: string | null;
|
|
53
|
+
version: number;
|
|
54
|
+
source_id: string;
|
|
55
|
+
importance: number | null;
|
|
56
|
+
valid_from: string | null;
|
|
57
|
+
valid_to: string | null;
|
|
58
|
+
source_type: string;
|
|
59
|
+
soil_id: string;
|
|
60
|
+
record_id: string;
|
|
61
|
+
record_key: string;
|
|
62
|
+
record_type: "observation" | "state" | "decision" | "identity" | "reflection" | "fact" | "preference" | "workflow" | "artifact";
|
|
63
|
+
canonical_text: string;
|
|
64
|
+
source_reliability: number | null;
|
|
65
|
+
supersedes_record_id: string | null;
|
|
66
|
+
is_active: boolean;
|
|
67
|
+
metadata_json: Record<string, unknown>;
|
|
68
|
+
}, {
|
|
69
|
+
status: "completed" | "candidate" | "active" | "cancelled" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "expired" | "deleted" | "unreachable" | "replaced";
|
|
70
|
+
title: string;
|
|
71
|
+
created_at: string;
|
|
72
|
+
updated_at: string;
|
|
73
|
+
version: number;
|
|
74
|
+
source_id: string;
|
|
75
|
+
source_type: string;
|
|
76
|
+
soil_id: string;
|
|
77
|
+
record_id: string;
|
|
78
|
+
record_key: string;
|
|
79
|
+
record_type: "observation" | "state" | "decision" | "identity" | "reflection" | "fact" | "preference" | "workflow" | "artifact";
|
|
80
|
+
canonical_text: string;
|
|
81
|
+
confidence?: number | null | undefined;
|
|
82
|
+
goal_id?: string | null | undefined;
|
|
83
|
+
task_id?: string | null | undefined;
|
|
84
|
+
summary?: string | null | undefined;
|
|
85
|
+
importance?: number | null | undefined;
|
|
86
|
+
valid_from?: string | null | undefined;
|
|
87
|
+
valid_to?: string | null | undefined;
|
|
88
|
+
source_reliability?: number | null | undefined;
|
|
89
|
+
supersedes_record_id?: string | null | undefined;
|
|
90
|
+
is_active?: boolean | undefined;
|
|
91
|
+
metadata_json?: Record<string, unknown> | undefined;
|
|
92
|
+
}>;
|
|
93
|
+
export type SoilRecord = z.infer<typeof SoilRecordSchema>;
|
|
94
|
+
export declare const SoilChunkSchema: z.ZodObject<{
|
|
95
|
+
chunk_id: z.ZodString;
|
|
96
|
+
record_id: z.ZodString;
|
|
97
|
+
soil_id: z.ZodString;
|
|
98
|
+
chunk_index: z.ZodNumber;
|
|
99
|
+
chunk_kind: z.ZodEnum<["title", "summary", "heading", "paragraph", "list", "table", "quote", "code"]>;
|
|
100
|
+
heading_path_json: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
101
|
+
chunk_text: z.ZodString;
|
|
102
|
+
token_count: z.ZodNumber;
|
|
103
|
+
checksum: z.ZodString;
|
|
104
|
+
created_at: z.ZodString;
|
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
|
106
|
+
created_at: string;
|
|
107
|
+
soil_id: string;
|
|
108
|
+
checksum: string;
|
|
109
|
+
chunk_id: string;
|
|
110
|
+
token_count: number;
|
|
111
|
+
record_id: string;
|
|
112
|
+
chunk_index: number;
|
|
113
|
+
chunk_kind: "code" | "title" | "summary" | "list" | "heading" | "paragraph" | "table" | "quote";
|
|
114
|
+
heading_path_json: string[];
|
|
115
|
+
chunk_text: string;
|
|
116
|
+
}, {
|
|
117
|
+
created_at: string;
|
|
118
|
+
soil_id: string;
|
|
119
|
+
checksum: string;
|
|
120
|
+
chunk_id: string;
|
|
121
|
+
token_count: number;
|
|
122
|
+
record_id: string;
|
|
123
|
+
chunk_index: number;
|
|
124
|
+
chunk_kind: "code" | "title" | "summary" | "list" | "heading" | "paragraph" | "table" | "quote";
|
|
125
|
+
chunk_text: string;
|
|
126
|
+
heading_path_json?: string[] | undefined;
|
|
127
|
+
}>;
|
|
128
|
+
export type SoilChunk = z.infer<typeof SoilChunkSchema>;
|
|
129
|
+
export declare const SoilPageSchema: z.ZodObject<{
|
|
130
|
+
page_id: z.ZodString;
|
|
131
|
+
soil_id: z.ZodString;
|
|
132
|
+
relative_path: z.ZodString;
|
|
133
|
+
route: z.ZodEnum<["index", "status", "health", "report", "schedule", "memory", "knowledge", "decision", "identity", "goal", "task", "timeline", "operations", "inbox"]>;
|
|
134
|
+
kind: z.ZodEnum<["index", "status", "health", "report", "schedule", "memory", "knowledge", "decision", "identity", "goal", "task", "timeline", "operations", "inbox", "overlay", "note"]>;
|
|
135
|
+
status: z.ZodEnum<["draft", "candidate", "confirmed", "stale", "superseded", "rejected", "deprecated", "archived"]>;
|
|
136
|
+
markdown: z.ZodString;
|
|
137
|
+
checksum: z.ZodString;
|
|
138
|
+
projected_at: z.ZodString;
|
|
139
|
+
}, "strip", z.ZodTypeAny, {
|
|
140
|
+
status: "candidate" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "deprecated";
|
|
141
|
+
kind: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "note" | "memory" | "health" | "timeline" | "operations" | "inbox" | "overlay";
|
|
142
|
+
soil_id: string;
|
|
143
|
+
route: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "memory" | "health" | "timeline" | "operations" | "inbox";
|
|
144
|
+
checksum: string;
|
|
145
|
+
relative_path: string;
|
|
146
|
+
page_id: string;
|
|
147
|
+
markdown: string;
|
|
148
|
+
projected_at: string;
|
|
149
|
+
}, {
|
|
150
|
+
status: "candidate" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "deprecated";
|
|
151
|
+
kind: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "note" | "memory" | "health" | "timeline" | "operations" | "inbox" | "overlay";
|
|
152
|
+
soil_id: string;
|
|
153
|
+
route: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "memory" | "health" | "timeline" | "operations" | "inbox";
|
|
154
|
+
checksum: string;
|
|
155
|
+
relative_path: string;
|
|
156
|
+
page_id: string;
|
|
157
|
+
markdown: string;
|
|
158
|
+
projected_at: string;
|
|
159
|
+
}>;
|
|
160
|
+
export type SoilPage = z.infer<typeof SoilPageSchema>;
|
|
161
|
+
export declare const SoilPageMemberSchema: z.ZodObject<{
|
|
162
|
+
page_id: z.ZodString;
|
|
163
|
+
record_id: z.ZodString;
|
|
164
|
+
ordinal: z.ZodNumber;
|
|
165
|
+
role: z.ZodEnum<["primary", "supporting", "summary", "evidence", "related"]>;
|
|
166
|
+
confidence: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
167
|
+
}, "strip", z.ZodTypeAny, {
|
|
168
|
+
confidence: number | null;
|
|
169
|
+
role: "evidence" | "summary" | "primary" | "supporting" | "related";
|
|
170
|
+
record_id: string;
|
|
171
|
+
page_id: string;
|
|
172
|
+
ordinal: number;
|
|
173
|
+
}, {
|
|
174
|
+
role: "evidence" | "summary" | "primary" | "supporting" | "related";
|
|
175
|
+
record_id: string;
|
|
176
|
+
page_id: string;
|
|
177
|
+
ordinal: number;
|
|
178
|
+
confidence?: number | null | undefined;
|
|
179
|
+
}>;
|
|
180
|
+
export type SoilPageMember = z.infer<typeof SoilPageMemberSchema>;
|
|
181
|
+
export declare const SoilEmbeddingSchema: z.ZodObject<{
|
|
182
|
+
chunk_id: z.ZodString;
|
|
183
|
+
model: z.ZodString;
|
|
184
|
+
embedding_version: z.ZodNumber;
|
|
185
|
+
encoding: z.ZodDefault<z.ZodEnum<["json", "f32le"]>>;
|
|
186
|
+
embedding: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>;
|
|
187
|
+
embedded_at: z.ZodString;
|
|
188
|
+
}, "strip", z.ZodTypeAny, {
|
|
189
|
+
encoding: "json" | "f32le";
|
|
190
|
+
model: string;
|
|
191
|
+
embedding: number[] | Uint8Array<ArrayBuffer>;
|
|
192
|
+
chunk_id: string;
|
|
193
|
+
embedding_version: number;
|
|
194
|
+
embedded_at: string;
|
|
195
|
+
}, {
|
|
196
|
+
model: string;
|
|
197
|
+
embedding: number[] | Uint8Array<ArrayBuffer>;
|
|
198
|
+
chunk_id: string;
|
|
199
|
+
embedding_version: number;
|
|
200
|
+
embedded_at: string;
|
|
201
|
+
encoding?: "json" | "f32le" | undefined;
|
|
202
|
+
}>;
|
|
203
|
+
export type SoilEmbedding = z.infer<typeof SoilEmbeddingSchema>;
|
|
204
|
+
export declare const SoilEdgeSchema: z.ZodObject<{
|
|
205
|
+
src_record_id: z.ZodString;
|
|
206
|
+
edge_type: z.ZodEnum<["supports", "contradicts", "caused_by", "references", "derived_from", "related_to", "belongs_to"]>;
|
|
207
|
+
dst_record_id: z.ZodString;
|
|
208
|
+
confidence: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
209
|
+
}, "strip", z.ZodTypeAny, {
|
|
210
|
+
confidence: number | null;
|
|
211
|
+
src_record_id: string;
|
|
212
|
+
edge_type: "supports" | "contradicts" | "references" | "caused_by" | "derived_from" | "related_to" | "belongs_to";
|
|
213
|
+
dst_record_id: string;
|
|
214
|
+
}, {
|
|
215
|
+
src_record_id: string;
|
|
216
|
+
edge_type: "supports" | "contradicts" | "references" | "caused_by" | "derived_from" | "related_to" | "belongs_to";
|
|
217
|
+
dst_record_id: string;
|
|
218
|
+
confidence?: number | null | undefined;
|
|
219
|
+
}>;
|
|
220
|
+
export type SoilEdge = z.infer<typeof SoilEdgeSchema>;
|
|
221
|
+
export declare const SoilTombstoneSchema: z.ZodObject<{
|
|
222
|
+
record_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
223
|
+
record_key: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
224
|
+
version: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
225
|
+
reason: z.ZodString;
|
|
226
|
+
deleted_at: z.ZodString;
|
|
227
|
+
}, "strip", z.ZodTypeAny, {
|
|
228
|
+
reason: string;
|
|
229
|
+
version: number | null;
|
|
230
|
+
record_id: string | null;
|
|
231
|
+
record_key: string | null;
|
|
232
|
+
deleted_at: string;
|
|
233
|
+
}, {
|
|
234
|
+
reason: string;
|
|
235
|
+
deleted_at: string;
|
|
236
|
+
version?: number | null | undefined;
|
|
237
|
+
record_id?: string | null | undefined;
|
|
238
|
+
record_key?: string | null | undefined;
|
|
239
|
+
}>;
|
|
240
|
+
export type SoilTombstone = z.infer<typeof SoilTombstoneSchema>;
|
|
241
|
+
export declare const SoilPageFilterSchema: z.ZodObject<{
|
|
242
|
+
page_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
243
|
+
soil_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
244
|
+
routes: z.ZodOptional<z.ZodArray<z.ZodEnum<["index", "status", "health", "report", "schedule", "memory", "knowledge", "decision", "identity", "goal", "task", "timeline", "operations", "inbox"]>, "many">>;
|
|
245
|
+
kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<["index", "status", "health", "report", "schedule", "memory", "knowledge", "decision", "identity", "goal", "task", "timeline", "operations", "inbox", "overlay", "note"]>, "many">>;
|
|
246
|
+
page_statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<["draft", "candidate", "confirmed", "stale", "superseded", "rejected", "deprecated", "archived"]>, "many">>;
|
|
247
|
+
relative_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
248
|
+
}, "strip", z.ZodTypeAny, {
|
|
249
|
+
routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "memory" | "health" | "timeline" | "operations" | "inbox")[] | undefined;
|
|
250
|
+
page_ids?: string[] | undefined;
|
|
251
|
+
soil_ids?: string[] | undefined;
|
|
252
|
+
kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "note" | "memory" | "health" | "timeline" | "operations" | "inbox" | "overlay")[] | undefined;
|
|
253
|
+
page_statuses?: ("candidate" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "deprecated")[] | undefined;
|
|
254
|
+
relative_paths?: string[] | undefined;
|
|
255
|
+
}, {
|
|
256
|
+
routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "memory" | "health" | "timeline" | "operations" | "inbox")[] | undefined;
|
|
257
|
+
page_ids?: string[] | undefined;
|
|
258
|
+
soil_ids?: string[] | undefined;
|
|
259
|
+
kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "note" | "memory" | "health" | "timeline" | "operations" | "inbox" | "overlay")[] | undefined;
|
|
260
|
+
page_statuses?: ("candidate" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "deprecated")[] | undefined;
|
|
261
|
+
relative_paths?: string[] | undefined;
|
|
262
|
+
}>;
|
|
263
|
+
export type SoilPageFilter = z.infer<typeof SoilPageFilterSchema>;
|
|
264
|
+
export declare const SoilRecordFilterSchema: z.ZodObject<{
|
|
265
|
+
record_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
266
|
+
record_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
267
|
+
record_types: z.ZodOptional<z.ZodArray<z.ZodEnum<["fact", "workflow", "preference", "observation", "decision", "state", "identity", "artifact", "reflection"]>, "many">>;
|
|
268
|
+
statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<["draft", "active", "candidate", "confirmed", "stale", "superseded", "expired", "rejected", "archived", "completed", "cancelled", "deleted", "unreachable", "replaced"]>, "many">>;
|
|
269
|
+
goal_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
270
|
+
task_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
271
|
+
source_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
272
|
+
source_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
273
|
+
active_only: z.ZodDefault<z.ZodBoolean>;
|
|
274
|
+
valid_at: z.ZodOptional<z.ZodString>;
|
|
275
|
+
updated_after: z.ZodOptional<z.ZodString>;
|
|
276
|
+
updated_before: z.ZodOptional<z.ZodString>;
|
|
277
|
+
}, "strip", z.ZodTypeAny, {
|
|
278
|
+
active_only: boolean;
|
|
279
|
+
goal_ids?: string[] | undefined;
|
|
280
|
+
task_ids?: string[] | undefined;
|
|
281
|
+
record_ids?: string[] | undefined;
|
|
282
|
+
record_keys?: string[] | undefined;
|
|
283
|
+
record_types?: ("observation" | "state" | "decision" | "identity" | "reflection" | "fact" | "preference" | "workflow" | "artifact")[] | undefined;
|
|
284
|
+
statuses?: ("completed" | "candidate" | "active" | "cancelled" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "expired" | "deleted" | "unreachable" | "replaced")[] | undefined;
|
|
285
|
+
source_types?: string[] | undefined;
|
|
286
|
+
source_ids?: string[] | undefined;
|
|
287
|
+
valid_at?: string | undefined;
|
|
288
|
+
updated_after?: string | undefined;
|
|
289
|
+
updated_before?: string | undefined;
|
|
290
|
+
}, {
|
|
291
|
+
goal_ids?: string[] | undefined;
|
|
292
|
+
task_ids?: string[] | undefined;
|
|
293
|
+
record_ids?: string[] | undefined;
|
|
294
|
+
record_keys?: string[] | undefined;
|
|
295
|
+
record_types?: ("observation" | "state" | "decision" | "identity" | "reflection" | "fact" | "preference" | "workflow" | "artifact")[] | undefined;
|
|
296
|
+
statuses?: ("completed" | "candidate" | "active" | "cancelled" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "expired" | "deleted" | "unreachable" | "replaced")[] | undefined;
|
|
297
|
+
source_types?: string[] | undefined;
|
|
298
|
+
source_ids?: string[] | undefined;
|
|
299
|
+
active_only?: boolean | undefined;
|
|
300
|
+
valid_at?: string | undefined;
|
|
301
|
+
updated_after?: string | undefined;
|
|
302
|
+
updated_before?: string | undefined;
|
|
303
|
+
}>;
|
|
304
|
+
export type SoilRecordFilter = z.infer<typeof SoilRecordFilterSchema>;
|
|
305
|
+
export type SoilRecordFilterInput = z.input<typeof SoilRecordFilterSchema>;
|
|
306
|
+
export declare const SoilSearchRequestSchema: z.ZodObject<{
|
|
307
|
+
query: z.ZodString;
|
|
308
|
+
query_embedding: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
309
|
+
query_embedding_model: z.ZodOptional<z.ZodString>;
|
|
310
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
311
|
+
lexical_top_k: z.ZodDefault<z.ZodNumber>;
|
|
312
|
+
dense_top_k: z.ZodDefault<z.ZodNumber>;
|
|
313
|
+
rerank_top_k: z.ZodDefault<z.ZodNumber>;
|
|
314
|
+
dense_candidate_record_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
315
|
+
direct_lookup: z.ZodDefault<z.ZodBoolean>;
|
|
316
|
+
record_filter: z.ZodDefault<z.ZodObject<{
|
|
317
|
+
record_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
318
|
+
record_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
319
|
+
record_types: z.ZodOptional<z.ZodArray<z.ZodEnum<["fact", "workflow", "preference", "observation", "decision", "state", "identity", "artifact", "reflection"]>, "many">>;
|
|
320
|
+
statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<["draft", "active", "candidate", "confirmed", "stale", "superseded", "expired", "rejected", "archived", "completed", "cancelled", "deleted", "unreachable", "replaced"]>, "many">>;
|
|
321
|
+
goal_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
322
|
+
task_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
323
|
+
source_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
324
|
+
source_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
325
|
+
active_only: z.ZodDefault<z.ZodBoolean>;
|
|
326
|
+
valid_at: z.ZodOptional<z.ZodString>;
|
|
327
|
+
updated_after: z.ZodOptional<z.ZodString>;
|
|
328
|
+
updated_before: z.ZodOptional<z.ZodString>;
|
|
329
|
+
}, "strip", z.ZodTypeAny, {
|
|
330
|
+
active_only: boolean;
|
|
331
|
+
goal_ids?: string[] | undefined;
|
|
332
|
+
task_ids?: string[] | undefined;
|
|
333
|
+
record_ids?: string[] | undefined;
|
|
334
|
+
record_keys?: string[] | undefined;
|
|
335
|
+
record_types?: ("observation" | "state" | "decision" | "identity" | "reflection" | "fact" | "preference" | "workflow" | "artifact")[] | undefined;
|
|
336
|
+
statuses?: ("completed" | "candidate" | "active" | "cancelled" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "expired" | "deleted" | "unreachable" | "replaced")[] | undefined;
|
|
337
|
+
source_types?: string[] | undefined;
|
|
338
|
+
source_ids?: string[] | undefined;
|
|
339
|
+
valid_at?: string | undefined;
|
|
340
|
+
updated_after?: string | undefined;
|
|
341
|
+
updated_before?: string | undefined;
|
|
342
|
+
}, {
|
|
343
|
+
goal_ids?: string[] | undefined;
|
|
344
|
+
task_ids?: string[] | undefined;
|
|
345
|
+
record_ids?: string[] | undefined;
|
|
346
|
+
record_keys?: string[] | undefined;
|
|
347
|
+
record_types?: ("observation" | "state" | "decision" | "identity" | "reflection" | "fact" | "preference" | "workflow" | "artifact")[] | undefined;
|
|
348
|
+
statuses?: ("completed" | "candidate" | "active" | "cancelled" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "expired" | "deleted" | "unreachable" | "replaced")[] | undefined;
|
|
349
|
+
source_types?: string[] | undefined;
|
|
350
|
+
source_ids?: string[] | undefined;
|
|
351
|
+
active_only?: boolean | undefined;
|
|
352
|
+
valid_at?: string | undefined;
|
|
353
|
+
updated_after?: string | undefined;
|
|
354
|
+
updated_before?: string | undefined;
|
|
355
|
+
}>>;
|
|
356
|
+
page_filter: z.ZodDefault<z.ZodObject<{
|
|
357
|
+
page_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
358
|
+
soil_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
359
|
+
routes: z.ZodOptional<z.ZodArray<z.ZodEnum<["index", "status", "health", "report", "schedule", "memory", "knowledge", "decision", "identity", "goal", "task", "timeline", "operations", "inbox"]>, "many">>;
|
|
360
|
+
kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<["index", "status", "health", "report", "schedule", "memory", "knowledge", "decision", "identity", "goal", "task", "timeline", "operations", "inbox", "overlay", "note"]>, "many">>;
|
|
361
|
+
page_statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<["draft", "candidate", "confirmed", "stale", "superseded", "rejected", "deprecated", "archived"]>, "many">>;
|
|
362
|
+
relative_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
363
|
+
}, "strip", z.ZodTypeAny, {
|
|
364
|
+
routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "memory" | "health" | "timeline" | "operations" | "inbox")[] | undefined;
|
|
365
|
+
page_ids?: string[] | undefined;
|
|
366
|
+
soil_ids?: string[] | undefined;
|
|
367
|
+
kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "note" | "memory" | "health" | "timeline" | "operations" | "inbox" | "overlay")[] | undefined;
|
|
368
|
+
page_statuses?: ("candidate" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "deprecated")[] | undefined;
|
|
369
|
+
relative_paths?: string[] | undefined;
|
|
370
|
+
}, {
|
|
371
|
+
routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "memory" | "health" | "timeline" | "operations" | "inbox")[] | undefined;
|
|
372
|
+
page_ids?: string[] | undefined;
|
|
373
|
+
soil_ids?: string[] | undefined;
|
|
374
|
+
kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "note" | "memory" | "health" | "timeline" | "operations" | "inbox" | "overlay")[] | undefined;
|
|
375
|
+
page_statuses?: ("candidate" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "deprecated")[] | undefined;
|
|
376
|
+
relative_paths?: string[] | undefined;
|
|
377
|
+
}>>;
|
|
378
|
+
}, "strip", z.ZodTypeAny, {
|
|
379
|
+
query: string;
|
|
380
|
+
limit: number;
|
|
381
|
+
lexical_top_k: number;
|
|
382
|
+
dense_top_k: number;
|
|
383
|
+
rerank_top_k: number;
|
|
384
|
+
direct_lookup: boolean;
|
|
385
|
+
record_filter: {
|
|
386
|
+
active_only: boolean;
|
|
387
|
+
goal_ids?: string[] | undefined;
|
|
388
|
+
task_ids?: string[] | undefined;
|
|
389
|
+
record_ids?: string[] | undefined;
|
|
390
|
+
record_keys?: string[] | undefined;
|
|
391
|
+
record_types?: ("observation" | "state" | "decision" | "identity" | "reflection" | "fact" | "preference" | "workflow" | "artifact")[] | undefined;
|
|
392
|
+
statuses?: ("completed" | "candidate" | "active" | "cancelled" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "expired" | "deleted" | "unreachable" | "replaced")[] | undefined;
|
|
393
|
+
source_types?: string[] | undefined;
|
|
394
|
+
source_ids?: string[] | undefined;
|
|
395
|
+
valid_at?: string | undefined;
|
|
396
|
+
updated_after?: string | undefined;
|
|
397
|
+
updated_before?: string | undefined;
|
|
398
|
+
};
|
|
399
|
+
page_filter: {
|
|
400
|
+
routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "memory" | "health" | "timeline" | "operations" | "inbox")[] | undefined;
|
|
401
|
+
page_ids?: string[] | undefined;
|
|
402
|
+
soil_ids?: string[] | undefined;
|
|
403
|
+
kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "note" | "memory" | "health" | "timeline" | "operations" | "inbox" | "overlay")[] | undefined;
|
|
404
|
+
page_statuses?: ("candidate" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "deprecated")[] | undefined;
|
|
405
|
+
relative_paths?: string[] | undefined;
|
|
406
|
+
};
|
|
407
|
+
query_embedding?: number[] | undefined;
|
|
408
|
+
query_embedding_model?: string | undefined;
|
|
409
|
+
dense_candidate_record_ids?: string[] | undefined;
|
|
410
|
+
}, {
|
|
411
|
+
query: string;
|
|
412
|
+
limit?: number | undefined;
|
|
413
|
+
query_embedding?: number[] | undefined;
|
|
414
|
+
query_embedding_model?: string | undefined;
|
|
415
|
+
lexical_top_k?: number | undefined;
|
|
416
|
+
dense_top_k?: number | undefined;
|
|
417
|
+
rerank_top_k?: number | undefined;
|
|
418
|
+
dense_candidate_record_ids?: string[] | undefined;
|
|
419
|
+
direct_lookup?: boolean | undefined;
|
|
420
|
+
record_filter?: {
|
|
421
|
+
goal_ids?: string[] | undefined;
|
|
422
|
+
task_ids?: string[] | undefined;
|
|
423
|
+
record_ids?: string[] | undefined;
|
|
424
|
+
record_keys?: string[] | undefined;
|
|
425
|
+
record_types?: ("observation" | "state" | "decision" | "identity" | "reflection" | "fact" | "preference" | "workflow" | "artifact")[] | undefined;
|
|
426
|
+
statuses?: ("completed" | "candidate" | "active" | "cancelled" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "expired" | "deleted" | "unreachable" | "replaced")[] | undefined;
|
|
427
|
+
source_types?: string[] | undefined;
|
|
428
|
+
source_ids?: string[] | undefined;
|
|
429
|
+
active_only?: boolean | undefined;
|
|
430
|
+
valid_at?: string | undefined;
|
|
431
|
+
updated_after?: string | undefined;
|
|
432
|
+
updated_before?: string | undefined;
|
|
433
|
+
} | undefined;
|
|
434
|
+
page_filter?: {
|
|
435
|
+
routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "memory" | "health" | "timeline" | "operations" | "inbox")[] | undefined;
|
|
436
|
+
page_ids?: string[] | undefined;
|
|
437
|
+
soil_ids?: string[] | undefined;
|
|
438
|
+
kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "note" | "memory" | "health" | "timeline" | "operations" | "inbox" | "overlay")[] | undefined;
|
|
439
|
+
page_statuses?: ("candidate" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "deprecated")[] | undefined;
|
|
440
|
+
relative_paths?: string[] | undefined;
|
|
441
|
+
} | undefined;
|
|
442
|
+
}>;
|
|
443
|
+
export type SoilSearchRequest = z.infer<typeof SoilSearchRequestSchema>;
|
|
444
|
+
export type SoilSearchRequestInput = z.input<typeof SoilSearchRequestSchema>;
|
|
445
|
+
export declare const SoilCandidateSchema: z.ZodObject<{
|
|
446
|
+
chunk_id: z.ZodString;
|
|
447
|
+
record_id: z.ZodString;
|
|
448
|
+
soil_id: z.ZodString;
|
|
449
|
+
lane: z.ZodEnum<["direct", "lexical", "dense", "hybrid", "recency", "rerank"]>;
|
|
450
|
+
rank: z.ZodNumber;
|
|
451
|
+
score: z.ZodNumber;
|
|
452
|
+
snippet: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
453
|
+
page_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
454
|
+
metadata_json: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
455
|
+
}, "strip", z.ZodTypeAny, {
|
|
456
|
+
score: number;
|
|
457
|
+
soil_id: string;
|
|
458
|
+
chunk_id: string;
|
|
459
|
+
record_id: string;
|
|
460
|
+
metadata_json: Record<string, unknown>;
|
|
461
|
+
page_id: string | null;
|
|
462
|
+
lane: "hybrid" | "direct" | "lexical" | "dense" | "recency" | "rerank";
|
|
463
|
+
rank: number;
|
|
464
|
+
snippet: string | null;
|
|
465
|
+
}, {
|
|
466
|
+
score: number;
|
|
467
|
+
soil_id: string;
|
|
468
|
+
chunk_id: string;
|
|
469
|
+
record_id: string;
|
|
470
|
+
lane: "hybrid" | "direct" | "lexical" | "dense" | "recency" | "rerank";
|
|
471
|
+
rank: number;
|
|
472
|
+
metadata_json?: Record<string, unknown> | undefined;
|
|
473
|
+
page_id?: string | null | undefined;
|
|
474
|
+
snippet?: string | null | undefined;
|
|
475
|
+
}>;
|
|
476
|
+
export type SoilCandidate = z.infer<typeof SoilCandidateSchema>;
|
|
477
|
+
export declare const SoilSearchResultSchema: z.ZodObject<{
|
|
478
|
+
request: z.ZodObject<{
|
|
479
|
+
query: z.ZodString;
|
|
480
|
+
query_embedding: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
481
|
+
query_embedding_model: z.ZodOptional<z.ZodString>;
|
|
482
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
483
|
+
lexical_top_k: z.ZodDefault<z.ZodNumber>;
|
|
484
|
+
dense_top_k: z.ZodDefault<z.ZodNumber>;
|
|
485
|
+
rerank_top_k: z.ZodDefault<z.ZodNumber>;
|
|
486
|
+
dense_candidate_record_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
487
|
+
direct_lookup: z.ZodDefault<z.ZodBoolean>;
|
|
488
|
+
record_filter: z.ZodDefault<z.ZodObject<{
|
|
489
|
+
record_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
490
|
+
record_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
491
|
+
record_types: z.ZodOptional<z.ZodArray<z.ZodEnum<["fact", "workflow", "preference", "observation", "decision", "state", "identity", "artifact", "reflection"]>, "many">>;
|
|
492
|
+
statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<["draft", "active", "candidate", "confirmed", "stale", "superseded", "expired", "rejected", "archived", "completed", "cancelled", "deleted", "unreachable", "replaced"]>, "many">>;
|
|
493
|
+
goal_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
494
|
+
task_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
495
|
+
source_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
496
|
+
source_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
497
|
+
active_only: z.ZodDefault<z.ZodBoolean>;
|
|
498
|
+
valid_at: z.ZodOptional<z.ZodString>;
|
|
499
|
+
updated_after: z.ZodOptional<z.ZodString>;
|
|
500
|
+
updated_before: z.ZodOptional<z.ZodString>;
|
|
501
|
+
}, "strip", z.ZodTypeAny, {
|
|
502
|
+
active_only: boolean;
|
|
503
|
+
goal_ids?: string[] | undefined;
|
|
504
|
+
task_ids?: string[] | undefined;
|
|
505
|
+
record_ids?: string[] | undefined;
|
|
506
|
+
record_keys?: string[] | undefined;
|
|
507
|
+
record_types?: ("observation" | "state" | "decision" | "identity" | "reflection" | "fact" | "preference" | "workflow" | "artifact")[] | undefined;
|
|
508
|
+
statuses?: ("completed" | "candidate" | "active" | "cancelled" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "expired" | "deleted" | "unreachable" | "replaced")[] | undefined;
|
|
509
|
+
source_types?: string[] | undefined;
|
|
510
|
+
source_ids?: string[] | undefined;
|
|
511
|
+
valid_at?: string | undefined;
|
|
512
|
+
updated_after?: string | undefined;
|
|
513
|
+
updated_before?: string | undefined;
|
|
514
|
+
}, {
|
|
515
|
+
goal_ids?: string[] | undefined;
|
|
516
|
+
task_ids?: string[] | undefined;
|
|
517
|
+
record_ids?: string[] | undefined;
|
|
518
|
+
record_keys?: string[] | undefined;
|
|
519
|
+
record_types?: ("observation" | "state" | "decision" | "identity" | "reflection" | "fact" | "preference" | "workflow" | "artifact")[] | undefined;
|
|
520
|
+
statuses?: ("completed" | "candidate" | "active" | "cancelled" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "expired" | "deleted" | "unreachable" | "replaced")[] | undefined;
|
|
521
|
+
source_types?: string[] | undefined;
|
|
522
|
+
source_ids?: string[] | undefined;
|
|
523
|
+
active_only?: boolean | undefined;
|
|
524
|
+
valid_at?: string | undefined;
|
|
525
|
+
updated_after?: string | undefined;
|
|
526
|
+
updated_before?: string | undefined;
|
|
527
|
+
}>>;
|
|
528
|
+
page_filter: z.ZodDefault<z.ZodObject<{
|
|
529
|
+
page_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
530
|
+
soil_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
531
|
+
routes: z.ZodOptional<z.ZodArray<z.ZodEnum<["index", "status", "health", "report", "schedule", "memory", "knowledge", "decision", "identity", "goal", "task", "timeline", "operations", "inbox"]>, "many">>;
|
|
532
|
+
kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<["index", "status", "health", "report", "schedule", "memory", "knowledge", "decision", "identity", "goal", "task", "timeline", "operations", "inbox", "overlay", "note"]>, "many">>;
|
|
533
|
+
page_statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<["draft", "candidate", "confirmed", "stale", "superseded", "rejected", "deprecated", "archived"]>, "many">>;
|
|
534
|
+
relative_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
535
|
+
}, "strip", z.ZodTypeAny, {
|
|
536
|
+
routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "memory" | "health" | "timeline" | "operations" | "inbox")[] | undefined;
|
|
537
|
+
page_ids?: string[] | undefined;
|
|
538
|
+
soil_ids?: string[] | undefined;
|
|
539
|
+
kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "note" | "memory" | "health" | "timeline" | "operations" | "inbox" | "overlay")[] | undefined;
|
|
540
|
+
page_statuses?: ("candidate" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "deprecated")[] | undefined;
|
|
541
|
+
relative_paths?: string[] | undefined;
|
|
542
|
+
}, {
|
|
543
|
+
routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "memory" | "health" | "timeline" | "operations" | "inbox")[] | undefined;
|
|
544
|
+
page_ids?: string[] | undefined;
|
|
545
|
+
soil_ids?: string[] | undefined;
|
|
546
|
+
kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "note" | "memory" | "health" | "timeline" | "operations" | "inbox" | "overlay")[] | undefined;
|
|
547
|
+
page_statuses?: ("candidate" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "deprecated")[] | undefined;
|
|
548
|
+
relative_paths?: string[] | undefined;
|
|
549
|
+
}>>;
|
|
550
|
+
}, "strip", z.ZodTypeAny, {
|
|
551
|
+
query: string;
|
|
552
|
+
limit: number;
|
|
553
|
+
lexical_top_k: number;
|
|
554
|
+
dense_top_k: number;
|
|
555
|
+
rerank_top_k: number;
|
|
556
|
+
direct_lookup: boolean;
|
|
557
|
+
record_filter: {
|
|
558
|
+
active_only: boolean;
|
|
559
|
+
goal_ids?: string[] | undefined;
|
|
560
|
+
task_ids?: string[] | undefined;
|
|
561
|
+
record_ids?: string[] | undefined;
|
|
562
|
+
record_keys?: string[] | undefined;
|
|
563
|
+
record_types?: ("observation" | "state" | "decision" | "identity" | "reflection" | "fact" | "preference" | "workflow" | "artifact")[] | undefined;
|
|
564
|
+
statuses?: ("completed" | "candidate" | "active" | "cancelled" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "expired" | "deleted" | "unreachable" | "replaced")[] | undefined;
|
|
565
|
+
source_types?: string[] | undefined;
|
|
566
|
+
source_ids?: string[] | undefined;
|
|
567
|
+
valid_at?: string | undefined;
|
|
568
|
+
updated_after?: string | undefined;
|
|
569
|
+
updated_before?: string | undefined;
|
|
570
|
+
};
|
|
571
|
+
page_filter: {
|
|
572
|
+
routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "memory" | "health" | "timeline" | "operations" | "inbox")[] | undefined;
|
|
573
|
+
page_ids?: string[] | undefined;
|
|
574
|
+
soil_ids?: string[] | undefined;
|
|
575
|
+
kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "note" | "memory" | "health" | "timeline" | "operations" | "inbox" | "overlay")[] | undefined;
|
|
576
|
+
page_statuses?: ("candidate" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "deprecated")[] | undefined;
|
|
577
|
+
relative_paths?: string[] | undefined;
|
|
578
|
+
};
|
|
579
|
+
query_embedding?: number[] | undefined;
|
|
580
|
+
query_embedding_model?: string | undefined;
|
|
581
|
+
dense_candidate_record_ids?: string[] | undefined;
|
|
582
|
+
}, {
|
|
583
|
+
query: string;
|
|
584
|
+
limit?: number | undefined;
|
|
585
|
+
query_embedding?: number[] | undefined;
|
|
586
|
+
query_embedding_model?: string | undefined;
|
|
587
|
+
lexical_top_k?: number | undefined;
|
|
588
|
+
dense_top_k?: number | undefined;
|
|
589
|
+
rerank_top_k?: number | undefined;
|
|
590
|
+
dense_candidate_record_ids?: string[] | undefined;
|
|
591
|
+
direct_lookup?: boolean | undefined;
|
|
592
|
+
record_filter?: {
|
|
593
|
+
goal_ids?: string[] | undefined;
|
|
594
|
+
task_ids?: string[] | undefined;
|
|
595
|
+
record_ids?: string[] | undefined;
|
|
596
|
+
record_keys?: string[] | undefined;
|
|
597
|
+
record_types?: ("observation" | "state" | "decision" | "identity" | "reflection" | "fact" | "preference" | "workflow" | "artifact")[] | undefined;
|
|
598
|
+
statuses?: ("completed" | "candidate" | "active" | "cancelled" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "expired" | "deleted" | "unreachable" | "replaced")[] | undefined;
|
|
599
|
+
source_types?: string[] | undefined;
|
|
600
|
+
source_ids?: string[] | undefined;
|
|
601
|
+
active_only?: boolean | undefined;
|
|
602
|
+
valid_at?: string | undefined;
|
|
603
|
+
updated_after?: string | undefined;
|
|
604
|
+
updated_before?: string | undefined;
|
|
605
|
+
} | undefined;
|
|
606
|
+
page_filter?: {
|
|
607
|
+
routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "memory" | "health" | "timeline" | "operations" | "inbox")[] | undefined;
|
|
608
|
+
page_ids?: string[] | undefined;
|
|
609
|
+
soil_ids?: string[] | undefined;
|
|
610
|
+
kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "note" | "memory" | "health" | "timeline" | "operations" | "inbox" | "overlay")[] | undefined;
|
|
611
|
+
page_statuses?: ("candidate" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "deprecated")[] | undefined;
|
|
612
|
+
relative_paths?: string[] | undefined;
|
|
613
|
+
} | undefined;
|
|
614
|
+
}>;
|
|
615
|
+
candidates: z.ZodArray<z.ZodObject<{
|
|
616
|
+
chunk_id: z.ZodString;
|
|
617
|
+
record_id: z.ZodString;
|
|
618
|
+
soil_id: z.ZodString;
|
|
619
|
+
lane: z.ZodEnum<["direct", "lexical", "dense", "hybrid", "recency", "rerank"]>;
|
|
620
|
+
rank: z.ZodNumber;
|
|
621
|
+
score: z.ZodNumber;
|
|
622
|
+
snippet: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
623
|
+
page_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
624
|
+
metadata_json: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
625
|
+
}, "strip", z.ZodTypeAny, {
|
|
626
|
+
score: number;
|
|
627
|
+
soil_id: string;
|
|
628
|
+
chunk_id: string;
|
|
629
|
+
record_id: string;
|
|
630
|
+
metadata_json: Record<string, unknown>;
|
|
631
|
+
page_id: string | null;
|
|
632
|
+
lane: "hybrid" | "direct" | "lexical" | "dense" | "recency" | "rerank";
|
|
633
|
+
rank: number;
|
|
634
|
+
snippet: string | null;
|
|
635
|
+
}, {
|
|
636
|
+
score: number;
|
|
637
|
+
soil_id: string;
|
|
638
|
+
chunk_id: string;
|
|
639
|
+
record_id: string;
|
|
640
|
+
lane: "hybrid" | "direct" | "lexical" | "dense" | "recency" | "rerank";
|
|
641
|
+
rank: number;
|
|
642
|
+
metadata_json?: Record<string, unknown> | undefined;
|
|
643
|
+
page_id?: string | null | undefined;
|
|
644
|
+
snippet?: string | null | undefined;
|
|
645
|
+
}>, "many">;
|
|
646
|
+
}, "strip", z.ZodTypeAny, {
|
|
647
|
+
candidates: {
|
|
648
|
+
score: number;
|
|
649
|
+
soil_id: string;
|
|
650
|
+
chunk_id: string;
|
|
651
|
+
record_id: string;
|
|
652
|
+
metadata_json: Record<string, unknown>;
|
|
653
|
+
page_id: string | null;
|
|
654
|
+
lane: "hybrid" | "direct" | "lexical" | "dense" | "recency" | "rerank";
|
|
655
|
+
rank: number;
|
|
656
|
+
snippet: string | null;
|
|
657
|
+
}[];
|
|
658
|
+
request: {
|
|
659
|
+
query: string;
|
|
660
|
+
limit: number;
|
|
661
|
+
lexical_top_k: number;
|
|
662
|
+
dense_top_k: number;
|
|
663
|
+
rerank_top_k: number;
|
|
664
|
+
direct_lookup: boolean;
|
|
665
|
+
record_filter: {
|
|
666
|
+
active_only: boolean;
|
|
667
|
+
goal_ids?: string[] | undefined;
|
|
668
|
+
task_ids?: string[] | undefined;
|
|
669
|
+
record_ids?: string[] | undefined;
|
|
670
|
+
record_keys?: string[] | undefined;
|
|
671
|
+
record_types?: ("observation" | "state" | "decision" | "identity" | "reflection" | "fact" | "preference" | "workflow" | "artifact")[] | undefined;
|
|
672
|
+
statuses?: ("completed" | "candidate" | "active" | "cancelled" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "expired" | "deleted" | "unreachable" | "replaced")[] | undefined;
|
|
673
|
+
source_types?: string[] | undefined;
|
|
674
|
+
source_ids?: string[] | undefined;
|
|
675
|
+
valid_at?: string | undefined;
|
|
676
|
+
updated_after?: string | undefined;
|
|
677
|
+
updated_before?: string | undefined;
|
|
678
|
+
};
|
|
679
|
+
page_filter: {
|
|
680
|
+
routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "memory" | "health" | "timeline" | "operations" | "inbox")[] | undefined;
|
|
681
|
+
page_ids?: string[] | undefined;
|
|
682
|
+
soil_ids?: string[] | undefined;
|
|
683
|
+
kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "note" | "memory" | "health" | "timeline" | "operations" | "inbox" | "overlay")[] | undefined;
|
|
684
|
+
page_statuses?: ("candidate" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "deprecated")[] | undefined;
|
|
685
|
+
relative_paths?: string[] | undefined;
|
|
686
|
+
};
|
|
687
|
+
query_embedding?: number[] | undefined;
|
|
688
|
+
query_embedding_model?: string | undefined;
|
|
689
|
+
dense_candidate_record_ids?: string[] | undefined;
|
|
690
|
+
};
|
|
691
|
+
}, {
|
|
692
|
+
candidates: {
|
|
693
|
+
score: number;
|
|
694
|
+
soil_id: string;
|
|
695
|
+
chunk_id: string;
|
|
696
|
+
record_id: string;
|
|
697
|
+
lane: "hybrid" | "direct" | "lexical" | "dense" | "recency" | "rerank";
|
|
698
|
+
rank: number;
|
|
699
|
+
metadata_json?: Record<string, unknown> | undefined;
|
|
700
|
+
page_id?: string | null | undefined;
|
|
701
|
+
snippet?: string | null | undefined;
|
|
702
|
+
}[];
|
|
703
|
+
request: {
|
|
704
|
+
query: string;
|
|
705
|
+
limit?: number | undefined;
|
|
706
|
+
query_embedding?: number[] | undefined;
|
|
707
|
+
query_embedding_model?: string | undefined;
|
|
708
|
+
lexical_top_k?: number | undefined;
|
|
709
|
+
dense_top_k?: number | undefined;
|
|
710
|
+
rerank_top_k?: number | undefined;
|
|
711
|
+
dense_candidate_record_ids?: string[] | undefined;
|
|
712
|
+
direct_lookup?: boolean | undefined;
|
|
713
|
+
record_filter?: {
|
|
714
|
+
goal_ids?: string[] | undefined;
|
|
715
|
+
task_ids?: string[] | undefined;
|
|
716
|
+
record_ids?: string[] | undefined;
|
|
717
|
+
record_keys?: string[] | undefined;
|
|
718
|
+
record_types?: ("observation" | "state" | "decision" | "identity" | "reflection" | "fact" | "preference" | "workflow" | "artifact")[] | undefined;
|
|
719
|
+
statuses?: ("completed" | "candidate" | "active" | "cancelled" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "expired" | "deleted" | "unreachable" | "replaced")[] | undefined;
|
|
720
|
+
source_types?: string[] | undefined;
|
|
721
|
+
source_ids?: string[] | undefined;
|
|
722
|
+
active_only?: boolean | undefined;
|
|
723
|
+
valid_at?: string | undefined;
|
|
724
|
+
updated_after?: string | undefined;
|
|
725
|
+
updated_before?: string | undefined;
|
|
726
|
+
} | undefined;
|
|
727
|
+
page_filter?: {
|
|
728
|
+
routes?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "memory" | "health" | "timeline" | "operations" | "inbox")[] | undefined;
|
|
729
|
+
page_ids?: string[] | undefined;
|
|
730
|
+
soil_ids?: string[] | undefined;
|
|
731
|
+
kinds?: ("status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "note" | "memory" | "health" | "timeline" | "operations" | "inbox" | "overlay")[] | undefined;
|
|
732
|
+
page_statuses?: ("candidate" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "deprecated")[] | undefined;
|
|
733
|
+
relative_paths?: string[] | undefined;
|
|
734
|
+
} | undefined;
|
|
735
|
+
};
|
|
736
|
+
}>;
|
|
737
|
+
export type SoilSearchResult = z.infer<typeof SoilSearchResultSchema>;
|
|
738
|
+
export declare const SoilContextRouteSchemaVersion: "soil-context-route-v1";
|
|
739
|
+
export declare const SoilRetrievalTraceSchemaVersion: "soil-retrieval-trace-v1";
|
|
740
|
+
export declare const SoilCompileMissObservationSchemaVersion: "soil-compile-miss-v1";
|
|
741
|
+
export declare const SoilMemoryLintFindingSchemaVersion: "soil-memory-lint-finding-v1";
|
|
742
|
+
export declare const SoilContextRouteSchema: z.ZodObject<{
|
|
743
|
+
schema_version: z.ZodDefault<z.ZodLiteral<"soil-context-route-v1">>;
|
|
744
|
+
route_id: z.ZodString;
|
|
745
|
+
status: z.ZodDefault<z.ZodEnum<["active", "deprecated", "superseded", "archived", "tombstoned"]>>;
|
|
746
|
+
priority: z.ZodDefault<z.ZodNumber>;
|
|
747
|
+
path_globs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
748
|
+
goal_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
749
|
+
task_categories: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
750
|
+
phases: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
751
|
+
soil_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
752
|
+
record_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
753
|
+
reason: z.ZodString;
|
|
754
|
+
created_at: z.ZodString;
|
|
755
|
+
updated_at: z.ZodString;
|
|
756
|
+
source_observation_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
757
|
+
last_evaluated_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
758
|
+
last_evaluation_result: z.ZodDefault<z.ZodEnum<["passed", "failed", "unknown"]>>;
|
|
759
|
+
}, "strip", z.ZodTypeAny, {
|
|
760
|
+
status: "active" | "archived" | "superseded" | "deprecated" | "tombstoned";
|
|
761
|
+
created_at: string;
|
|
762
|
+
updated_at: string;
|
|
763
|
+
priority: number;
|
|
764
|
+
reason: string;
|
|
765
|
+
phases: string[];
|
|
766
|
+
goal_ids: string[];
|
|
767
|
+
soil_ids: string[];
|
|
768
|
+
record_ids: string[];
|
|
769
|
+
schema_version: "soil-context-route-v1";
|
|
770
|
+
route_id: string;
|
|
771
|
+
path_globs: string[];
|
|
772
|
+
task_categories: string[];
|
|
773
|
+
source_observation_ids: string[];
|
|
774
|
+
last_evaluated_at: string | null;
|
|
775
|
+
last_evaluation_result: "unknown" | "passed" | "failed";
|
|
776
|
+
}, {
|
|
777
|
+
created_at: string;
|
|
778
|
+
updated_at: string;
|
|
779
|
+
reason: string;
|
|
780
|
+
route_id: string;
|
|
781
|
+
status?: "active" | "archived" | "superseded" | "deprecated" | "tombstoned" | undefined;
|
|
782
|
+
priority?: number | undefined;
|
|
783
|
+
phases?: string[] | undefined;
|
|
784
|
+
goal_ids?: string[] | undefined;
|
|
785
|
+
soil_ids?: string[] | undefined;
|
|
786
|
+
record_ids?: string[] | undefined;
|
|
787
|
+
schema_version?: "soil-context-route-v1" | undefined;
|
|
788
|
+
path_globs?: string[] | undefined;
|
|
789
|
+
task_categories?: string[] | undefined;
|
|
790
|
+
source_observation_ids?: string[] | undefined;
|
|
791
|
+
last_evaluated_at?: string | null | undefined;
|
|
792
|
+
last_evaluation_result?: "unknown" | "passed" | "failed" | undefined;
|
|
793
|
+
}>;
|
|
794
|
+
export type SoilContextRoute = z.infer<typeof SoilContextRouteSchema>;
|
|
795
|
+
export type SoilContextRouteInput = z.input<typeof SoilContextRouteSchema>;
|
|
796
|
+
export declare const SoilRetrievalDecisionSchema: z.ZodObject<{
|
|
797
|
+
candidate_id: z.ZodString;
|
|
798
|
+
decision: z.ZodEnum<["admitted", "rejected", "routed"]>;
|
|
799
|
+
reason: z.ZodString;
|
|
800
|
+
score: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
801
|
+
soil_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
802
|
+
record_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
803
|
+
route_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
804
|
+
}, "strip", z.ZodTypeAny, {
|
|
805
|
+
score: number | null;
|
|
806
|
+
reason: string;
|
|
807
|
+
decision: "rejected" | "admitted" | "routed";
|
|
808
|
+
candidate_id: string;
|
|
809
|
+
soil_id: string | null;
|
|
810
|
+
record_id: string | null;
|
|
811
|
+
route_id: string | null;
|
|
812
|
+
}, {
|
|
813
|
+
reason: string;
|
|
814
|
+
decision: "rejected" | "admitted" | "routed";
|
|
815
|
+
candidate_id: string;
|
|
816
|
+
score?: number | null | undefined;
|
|
817
|
+
soil_id?: string | null | undefined;
|
|
818
|
+
record_id?: string | null | undefined;
|
|
819
|
+
route_id?: string | null | undefined;
|
|
820
|
+
}>;
|
|
821
|
+
export type SoilRetrievalDecision = z.infer<typeof SoilRetrievalDecisionSchema>;
|
|
822
|
+
export declare const SoilRetrievalTraceSchema: z.ZodObject<{
|
|
823
|
+
schema_version: z.ZodDefault<z.ZodLiteral<"soil-retrieval-trace-v1">>;
|
|
824
|
+
retrieval_id: z.ZodString;
|
|
825
|
+
timestamp: z.ZodString;
|
|
826
|
+
task_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
827
|
+
goal_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
828
|
+
phase: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
829
|
+
task_category: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
830
|
+
target_paths: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
831
|
+
fallback_query: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
832
|
+
decisions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
833
|
+
candidate_id: z.ZodString;
|
|
834
|
+
decision: z.ZodEnum<["admitted", "rejected", "routed"]>;
|
|
835
|
+
reason: z.ZodString;
|
|
836
|
+
score: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
837
|
+
soil_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
838
|
+
record_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
839
|
+
route_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
840
|
+
}, "strip", z.ZodTypeAny, {
|
|
841
|
+
score: number | null;
|
|
842
|
+
reason: string;
|
|
843
|
+
decision: "rejected" | "admitted" | "routed";
|
|
844
|
+
candidate_id: string;
|
|
845
|
+
soil_id: string | null;
|
|
846
|
+
record_id: string | null;
|
|
847
|
+
route_id: string | null;
|
|
848
|
+
}, {
|
|
849
|
+
reason: string;
|
|
850
|
+
decision: "rejected" | "admitted" | "routed";
|
|
851
|
+
candidate_id: string;
|
|
852
|
+
score?: number | null | undefined;
|
|
853
|
+
soil_id?: string | null | undefined;
|
|
854
|
+
record_id?: string | null | undefined;
|
|
855
|
+
route_id?: string | null | undefined;
|
|
856
|
+
}>, "many">>;
|
|
857
|
+
warnings: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
858
|
+
}, "strip", z.ZodTypeAny, {
|
|
859
|
+
timestamp: string;
|
|
860
|
+
goal_id: string | null;
|
|
861
|
+
task_category: string | null;
|
|
862
|
+
task_id: string | null;
|
|
863
|
+
phase: string | null;
|
|
864
|
+
warnings: string[];
|
|
865
|
+
schema_version: "soil-retrieval-trace-v1";
|
|
866
|
+
retrieval_id: string;
|
|
867
|
+
target_paths: string[];
|
|
868
|
+
fallback_query: string | null;
|
|
869
|
+
decisions: {
|
|
870
|
+
score: number | null;
|
|
871
|
+
reason: string;
|
|
872
|
+
decision: "rejected" | "admitted" | "routed";
|
|
873
|
+
candidate_id: string;
|
|
874
|
+
soil_id: string | null;
|
|
875
|
+
record_id: string | null;
|
|
876
|
+
route_id: string | null;
|
|
877
|
+
}[];
|
|
878
|
+
}, {
|
|
879
|
+
timestamp: string;
|
|
880
|
+
retrieval_id: string;
|
|
881
|
+
goal_id?: string | null | undefined;
|
|
882
|
+
task_category?: string | null | undefined;
|
|
883
|
+
task_id?: string | null | undefined;
|
|
884
|
+
phase?: string | null | undefined;
|
|
885
|
+
warnings?: string[] | undefined;
|
|
886
|
+
schema_version?: "soil-retrieval-trace-v1" | undefined;
|
|
887
|
+
target_paths?: string[] | undefined;
|
|
888
|
+
fallback_query?: string | null | undefined;
|
|
889
|
+
decisions?: {
|
|
890
|
+
reason: string;
|
|
891
|
+
decision: "rejected" | "admitted" | "routed";
|
|
892
|
+
candidate_id: string;
|
|
893
|
+
score?: number | null | undefined;
|
|
894
|
+
soil_id?: string | null | undefined;
|
|
895
|
+
record_id?: string | null | undefined;
|
|
896
|
+
route_id?: string | null | undefined;
|
|
897
|
+
}[] | undefined;
|
|
898
|
+
}>;
|
|
899
|
+
export type SoilRetrievalTrace = z.infer<typeof SoilRetrievalTraceSchema>;
|
|
900
|
+
export declare const SoilCompileMissObservationSchema: z.ZodObject<{
|
|
901
|
+
schema_version: z.ZodDefault<z.ZodLiteral<"soil-compile-miss-v1">>;
|
|
902
|
+
observation_id: z.ZodString;
|
|
903
|
+
retrieval_id: z.ZodString;
|
|
904
|
+
reason: z.ZodEnum<["no_route", "bad_route", "stale_route", "low_confidence_search", "irrelevant_context"]>;
|
|
905
|
+
target_paths: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
906
|
+
route_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
907
|
+
rejected_candidate_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
908
|
+
created_at: z.ZodString;
|
|
909
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
910
|
+
}, "strip", z.ZodTypeAny, {
|
|
911
|
+
created_at: string;
|
|
912
|
+
observation_id: string;
|
|
913
|
+
reason: "no_route" | "bad_route" | "stale_route" | "low_confidence_search" | "irrelevant_context";
|
|
914
|
+
schema_version: "soil-compile-miss-v1";
|
|
915
|
+
retrieval_id: string;
|
|
916
|
+
target_paths: string[];
|
|
917
|
+
route_ids: string[];
|
|
918
|
+
rejected_candidate_ids: string[];
|
|
919
|
+
notes?: string | undefined;
|
|
920
|
+
}, {
|
|
921
|
+
created_at: string;
|
|
922
|
+
observation_id: string;
|
|
923
|
+
reason: "no_route" | "bad_route" | "stale_route" | "low_confidence_search" | "irrelevant_context";
|
|
924
|
+
retrieval_id: string;
|
|
925
|
+
notes?: string | undefined;
|
|
926
|
+
schema_version?: "soil-compile-miss-v1" | undefined;
|
|
927
|
+
target_paths?: string[] | undefined;
|
|
928
|
+
route_ids?: string[] | undefined;
|
|
929
|
+
rejected_candidate_ids?: string[] | undefined;
|
|
930
|
+
}>;
|
|
931
|
+
export type SoilCompileMissObservation = z.infer<typeof SoilCompileMissObservationSchema>;
|
|
932
|
+
export declare const SoilMemoryLintFindingCodeSchema: z.ZodEnum<["stale_page", "orphan_page", "broken_source_ref", "conflicting_active_record", "overgrown_page", "stale_route", "missing_route", "broken_route_target", "schema_incompatible"]>;
|
|
933
|
+
export type SoilMemoryLintFindingCode = z.infer<typeof SoilMemoryLintFindingCodeSchema>;
|
|
934
|
+
export declare const SoilMemoryLintFindingSchema: z.ZodObject<{
|
|
935
|
+
schema_version: z.ZodDefault<z.ZodLiteral<"soil-memory-lint-finding-v1">>;
|
|
936
|
+
finding_id: z.ZodString;
|
|
937
|
+
code: z.ZodEnum<["stale_page", "orphan_page", "broken_source_ref", "conflicting_active_record", "overgrown_page", "stale_route", "missing_route", "broken_route_target", "schema_incompatible"]>;
|
|
938
|
+
severity: z.ZodEnum<["info", "warning", "error"]>;
|
|
939
|
+
status: z.ZodDefault<z.ZodEnum<["open", "resolved", "ignored"]>>;
|
|
940
|
+
message: z.ZodString;
|
|
941
|
+
soil_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
942
|
+
record_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
943
|
+
route_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
944
|
+
source_path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
945
|
+
created_at: z.ZodString;
|
|
946
|
+
resolved_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
947
|
+
}, "strip", z.ZodTypeAny, {
|
|
948
|
+
code: "stale_route" | "stale_page" | "orphan_page" | "broken_source_ref" | "conflicting_active_record" | "overgrown_page" | "missing_route" | "broken_route_target" | "schema_incompatible";
|
|
949
|
+
message: string;
|
|
950
|
+
status: "open" | "resolved" | "ignored";
|
|
951
|
+
created_at: string;
|
|
952
|
+
severity: "error" | "info" | "warning";
|
|
953
|
+
source_path: string | null;
|
|
954
|
+
soil_id: string | null;
|
|
955
|
+
record_id: string | null;
|
|
956
|
+
schema_version: "soil-memory-lint-finding-v1";
|
|
957
|
+
route_id: string | null;
|
|
958
|
+
finding_id: string;
|
|
959
|
+
resolved_at: string | null;
|
|
960
|
+
}, {
|
|
961
|
+
code: "stale_route" | "stale_page" | "orphan_page" | "broken_source_ref" | "conflicting_active_record" | "overgrown_page" | "missing_route" | "broken_route_target" | "schema_incompatible";
|
|
962
|
+
message: string;
|
|
963
|
+
created_at: string;
|
|
964
|
+
severity: "error" | "info" | "warning";
|
|
965
|
+
finding_id: string;
|
|
966
|
+
status?: "open" | "resolved" | "ignored" | undefined;
|
|
967
|
+
source_path?: string | null | undefined;
|
|
968
|
+
soil_id?: string | null | undefined;
|
|
969
|
+
record_id?: string | null | undefined;
|
|
970
|
+
schema_version?: "soil-memory-lint-finding-v1" | undefined;
|
|
971
|
+
route_id?: string | null | undefined;
|
|
972
|
+
resolved_at?: string | null | undefined;
|
|
973
|
+
}>;
|
|
974
|
+
export type SoilMemoryLintFinding = z.infer<typeof SoilMemoryLintFindingSchema>;
|
|
975
|
+
export declare const SoilMutationSchema: z.ZodObject<{
|
|
976
|
+
records: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
977
|
+
record_id: z.ZodString;
|
|
978
|
+
record_key: z.ZodString;
|
|
979
|
+
version: z.ZodNumber;
|
|
980
|
+
record_type: z.ZodEnum<["fact", "workflow", "preference", "observation", "decision", "state", "identity", "artifact", "reflection"]>;
|
|
981
|
+
soil_id: z.ZodString;
|
|
982
|
+
title: z.ZodString;
|
|
983
|
+
summary: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
984
|
+
canonical_text: z.ZodString;
|
|
985
|
+
goal_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
986
|
+
task_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
987
|
+
status: z.ZodEnum<["draft", "active", "candidate", "confirmed", "stale", "superseded", "expired", "rejected", "archived", "completed", "cancelled", "deleted", "unreachable", "replaced"]>;
|
|
988
|
+
confidence: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
989
|
+
importance: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
990
|
+
source_reliability: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
991
|
+
valid_from: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
992
|
+
valid_to: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
993
|
+
supersedes_record_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
994
|
+
is_active: z.ZodDefault<z.ZodBoolean>;
|
|
995
|
+
source_type: z.ZodString;
|
|
996
|
+
source_id: z.ZodString;
|
|
997
|
+
metadata_json: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
998
|
+
created_at: z.ZodString;
|
|
999
|
+
updated_at: z.ZodString;
|
|
1000
|
+
}, "strip", z.ZodTypeAny, {
|
|
1001
|
+
status: "completed" | "candidate" | "active" | "cancelled" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "expired" | "deleted" | "unreachable" | "replaced";
|
|
1002
|
+
confidence: number | null;
|
|
1003
|
+
title: string;
|
|
1004
|
+
created_at: string;
|
|
1005
|
+
updated_at: string;
|
|
1006
|
+
goal_id: string | null;
|
|
1007
|
+
task_id: string | null;
|
|
1008
|
+
summary: string | null;
|
|
1009
|
+
version: number;
|
|
1010
|
+
source_id: string;
|
|
1011
|
+
importance: number | null;
|
|
1012
|
+
valid_from: string | null;
|
|
1013
|
+
valid_to: string | null;
|
|
1014
|
+
source_type: string;
|
|
1015
|
+
soil_id: string;
|
|
1016
|
+
record_id: string;
|
|
1017
|
+
record_key: string;
|
|
1018
|
+
record_type: "observation" | "state" | "decision" | "identity" | "reflection" | "fact" | "preference" | "workflow" | "artifact";
|
|
1019
|
+
canonical_text: string;
|
|
1020
|
+
source_reliability: number | null;
|
|
1021
|
+
supersedes_record_id: string | null;
|
|
1022
|
+
is_active: boolean;
|
|
1023
|
+
metadata_json: Record<string, unknown>;
|
|
1024
|
+
}, {
|
|
1025
|
+
status: "completed" | "candidate" | "active" | "cancelled" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "expired" | "deleted" | "unreachable" | "replaced";
|
|
1026
|
+
title: string;
|
|
1027
|
+
created_at: string;
|
|
1028
|
+
updated_at: string;
|
|
1029
|
+
version: number;
|
|
1030
|
+
source_id: string;
|
|
1031
|
+
source_type: string;
|
|
1032
|
+
soil_id: string;
|
|
1033
|
+
record_id: string;
|
|
1034
|
+
record_key: string;
|
|
1035
|
+
record_type: "observation" | "state" | "decision" | "identity" | "reflection" | "fact" | "preference" | "workflow" | "artifact";
|
|
1036
|
+
canonical_text: string;
|
|
1037
|
+
confidence?: number | null | undefined;
|
|
1038
|
+
goal_id?: string | null | undefined;
|
|
1039
|
+
task_id?: string | null | undefined;
|
|
1040
|
+
summary?: string | null | undefined;
|
|
1041
|
+
importance?: number | null | undefined;
|
|
1042
|
+
valid_from?: string | null | undefined;
|
|
1043
|
+
valid_to?: string | null | undefined;
|
|
1044
|
+
source_reliability?: number | null | undefined;
|
|
1045
|
+
supersedes_record_id?: string | null | undefined;
|
|
1046
|
+
is_active?: boolean | undefined;
|
|
1047
|
+
metadata_json?: Record<string, unknown> | undefined;
|
|
1048
|
+
}>, "many">>;
|
|
1049
|
+
chunks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1050
|
+
chunk_id: z.ZodString;
|
|
1051
|
+
record_id: z.ZodString;
|
|
1052
|
+
soil_id: z.ZodString;
|
|
1053
|
+
chunk_index: z.ZodNumber;
|
|
1054
|
+
chunk_kind: z.ZodEnum<["title", "summary", "heading", "paragraph", "list", "table", "quote", "code"]>;
|
|
1055
|
+
heading_path_json: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1056
|
+
chunk_text: z.ZodString;
|
|
1057
|
+
token_count: z.ZodNumber;
|
|
1058
|
+
checksum: z.ZodString;
|
|
1059
|
+
created_at: z.ZodString;
|
|
1060
|
+
}, "strip", z.ZodTypeAny, {
|
|
1061
|
+
created_at: string;
|
|
1062
|
+
soil_id: string;
|
|
1063
|
+
checksum: string;
|
|
1064
|
+
chunk_id: string;
|
|
1065
|
+
token_count: number;
|
|
1066
|
+
record_id: string;
|
|
1067
|
+
chunk_index: number;
|
|
1068
|
+
chunk_kind: "code" | "title" | "summary" | "list" | "heading" | "paragraph" | "table" | "quote";
|
|
1069
|
+
heading_path_json: string[];
|
|
1070
|
+
chunk_text: string;
|
|
1071
|
+
}, {
|
|
1072
|
+
created_at: string;
|
|
1073
|
+
soil_id: string;
|
|
1074
|
+
checksum: string;
|
|
1075
|
+
chunk_id: string;
|
|
1076
|
+
token_count: number;
|
|
1077
|
+
record_id: string;
|
|
1078
|
+
chunk_index: number;
|
|
1079
|
+
chunk_kind: "code" | "title" | "summary" | "list" | "heading" | "paragraph" | "table" | "quote";
|
|
1080
|
+
chunk_text: string;
|
|
1081
|
+
heading_path_json?: string[] | undefined;
|
|
1082
|
+
}>, "many">>;
|
|
1083
|
+
pages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1084
|
+
page_id: z.ZodString;
|
|
1085
|
+
soil_id: z.ZodString;
|
|
1086
|
+
relative_path: z.ZodString;
|
|
1087
|
+
route: z.ZodEnum<["index", "status", "health", "report", "schedule", "memory", "knowledge", "decision", "identity", "goal", "task", "timeline", "operations", "inbox"]>;
|
|
1088
|
+
kind: z.ZodEnum<["index", "status", "health", "report", "schedule", "memory", "knowledge", "decision", "identity", "goal", "task", "timeline", "operations", "inbox", "overlay", "note"]>;
|
|
1089
|
+
status: z.ZodEnum<["draft", "candidate", "confirmed", "stale", "superseded", "rejected", "deprecated", "archived"]>;
|
|
1090
|
+
markdown: z.ZodString;
|
|
1091
|
+
checksum: z.ZodString;
|
|
1092
|
+
projected_at: z.ZodString;
|
|
1093
|
+
}, "strip", z.ZodTypeAny, {
|
|
1094
|
+
status: "candidate" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "deprecated";
|
|
1095
|
+
kind: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "note" | "memory" | "health" | "timeline" | "operations" | "inbox" | "overlay";
|
|
1096
|
+
soil_id: string;
|
|
1097
|
+
route: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "memory" | "health" | "timeline" | "operations" | "inbox";
|
|
1098
|
+
checksum: string;
|
|
1099
|
+
relative_path: string;
|
|
1100
|
+
page_id: string;
|
|
1101
|
+
markdown: string;
|
|
1102
|
+
projected_at: string;
|
|
1103
|
+
}, {
|
|
1104
|
+
status: "candidate" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "deprecated";
|
|
1105
|
+
kind: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "note" | "memory" | "health" | "timeline" | "operations" | "inbox" | "overlay";
|
|
1106
|
+
soil_id: string;
|
|
1107
|
+
route: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "memory" | "health" | "timeline" | "operations" | "inbox";
|
|
1108
|
+
checksum: string;
|
|
1109
|
+
relative_path: string;
|
|
1110
|
+
page_id: string;
|
|
1111
|
+
markdown: string;
|
|
1112
|
+
projected_at: string;
|
|
1113
|
+
}>, "many">>;
|
|
1114
|
+
page_members: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1115
|
+
page_id: z.ZodString;
|
|
1116
|
+
record_id: z.ZodString;
|
|
1117
|
+
ordinal: z.ZodNumber;
|
|
1118
|
+
role: z.ZodEnum<["primary", "supporting", "summary", "evidence", "related"]>;
|
|
1119
|
+
confidence: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1120
|
+
}, "strip", z.ZodTypeAny, {
|
|
1121
|
+
confidence: number | null;
|
|
1122
|
+
role: "evidence" | "summary" | "primary" | "supporting" | "related";
|
|
1123
|
+
record_id: string;
|
|
1124
|
+
page_id: string;
|
|
1125
|
+
ordinal: number;
|
|
1126
|
+
}, {
|
|
1127
|
+
role: "evidence" | "summary" | "primary" | "supporting" | "related";
|
|
1128
|
+
record_id: string;
|
|
1129
|
+
page_id: string;
|
|
1130
|
+
ordinal: number;
|
|
1131
|
+
confidence?: number | null | undefined;
|
|
1132
|
+
}>, "many">>;
|
|
1133
|
+
embeddings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1134
|
+
chunk_id: z.ZodString;
|
|
1135
|
+
model: z.ZodString;
|
|
1136
|
+
embedding_version: z.ZodNumber;
|
|
1137
|
+
encoding: z.ZodDefault<z.ZodEnum<["json", "f32le"]>>;
|
|
1138
|
+
embedding: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>;
|
|
1139
|
+
embedded_at: z.ZodString;
|
|
1140
|
+
}, "strip", z.ZodTypeAny, {
|
|
1141
|
+
encoding: "json" | "f32le";
|
|
1142
|
+
model: string;
|
|
1143
|
+
embedding: number[] | Uint8Array<ArrayBuffer>;
|
|
1144
|
+
chunk_id: string;
|
|
1145
|
+
embedding_version: number;
|
|
1146
|
+
embedded_at: string;
|
|
1147
|
+
}, {
|
|
1148
|
+
model: string;
|
|
1149
|
+
embedding: number[] | Uint8Array<ArrayBuffer>;
|
|
1150
|
+
chunk_id: string;
|
|
1151
|
+
embedding_version: number;
|
|
1152
|
+
embedded_at: string;
|
|
1153
|
+
encoding?: "json" | "f32le" | undefined;
|
|
1154
|
+
}>, "many">>;
|
|
1155
|
+
edges: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1156
|
+
src_record_id: z.ZodString;
|
|
1157
|
+
edge_type: z.ZodEnum<["supports", "contradicts", "caused_by", "references", "derived_from", "related_to", "belongs_to"]>;
|
|
1158
|
+
dst_record_id: z.ZodString;
|
|
1159
|
+
confidence: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1160
|
+
}, "strip", z.ZodTypeAny, {
|
|
1161
|
+
confidence: number | null;
|
|
1162
|
+
src_record_id: string;
|
|
1163
|
+
edge_type: "supports" | "contradicts" | "references" | "caused_by" | "derived_from" | "related_to" | "belongs_to";
|
|
1164
|
+
dst_record_id: string;
|
|
1165
|
+
}, {
|
|
1166
|
+
src_record_id: string;
|
|
1167
|
+
edge_type: "supports" | "contradicts" | "references" | "caused_by" | "derived_from" | "related_to" | "belongs_to";
|
|
1168
|
+
dst_record_id: string;
|
|
1169
|
+
confidence?: number | null | undefined;
|
|
1170
|
+
}>, "many">>;
|
|
1171
|
+
tombstones: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1172
|
+
record_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1173
|
+
record_key: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1174
|
+
version: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1175
|
+
reason: z.ZodString;
|
|
1176
|
+
deleted_at: z.ZodString;
|
|
1177
|
+
}, "strip", z.ZodTypeAny, {
|
|
1178
|
+
reason: string;
|
|
1179
|
+
version: number | null;
|
|
1180
|
+
record_id: string | null;
|
|
1181
|
+
record_key: string | null;
|
|
1182
|
+
deleted_at: string;
|
|
1183
|
+
}, {
|
|
1184
|
+
reason: string;
|
|
1185
|
+
deleted_at: string;
|
|
1186
|
+
version?: number | null | undefined;
|
|
1187
|
+
record_id?: string | null | undefined;
|
|
1188
|
+
record_key?: string | null | undefined;
|
|
1189
|
+
}>, "many">>;
|
|
1190
|
+
}, "strip", z.ZodTypeAny, {
|
|
1191
|
+
edges: {
|
|
1192
|
+
confidence: number | null;
|
|
1193
|
+
src_record_id: string;
|
|
1194
|
+
edge_type: "supports" | "contradicts" | "references" | "caused_by" | "derived_from" | "related_to" | "belongs_to";
|
|
1195
|
+
dst_record_id: string;
|
|
1196
|
+
}[];
|
|
1197
|
+
records: {
|
|
1198
|
+
status: "completed" | "candidate" | "active" | "cancelled" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "expired" | "deleted" | "unreachable" | "replaced";
|
|
1199
|
+
confidence: number | null;
|
|
1200
|
+
title: string;
|
|
1201
|
+
created_at: string;
|
|
1202
|
+
updated_at: string;
|
|
1203
|
+
goal_id: string | null;
|
|
1204
|
+
task_id: string | null;
|
|
1205
|
+
summary: string | null;
|
|
1206
|
+
version: number;
|
|
1207
|
+
source_id: string;
|
|
1208
|
+
importance: number | null;
|
|
1209
|
+
valid_from: string | null;
|
|
1210
|
+
valid_to: string | null;
|
|
1211
|
+
source_type: string;
|
|
1212
|
+
soil_id: string;
|
|
1213
|
+
record_id: string;
|
|
1214
|
+
record_key: string;
|
|
1215
|
+
record_type: "observation" | "state" | "decision" | "identity" | "reflection" | "fact" | "preference" | "workflow" | "artifact";
|
|
1216
|
+
canonical_text: string;
|
|
1217
|
+
source_reliability: number | null;
|
|
1218
|
+
supersedes_record_id: string | null;
|
|
1219
|
+
is_active: boolean;
|
|
1220
|
+
metadata_json: Record<string, unknown>;
|
|
1221
|
+
}[];
|
|
1222
|
+
pages: {
|
|
1223
|
+
status: "candidate" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "deprecated";
|
|
1224
|
+
kind: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "note" | "memory" | "health" | "timeline" | "operations" | "inbox" | "overlay";
|
|
1225
|
+
soil_id: string;
|
|
1226
|
+
route: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "memory" | "health" | "timeline" | "operations" | "inbox";
|
|
1227
|
+
checksum: string;
|
|
1228
|
+
relative_path: string;
|
|
1229
|
+
page_id: string;
|
|
1230
|
+
markdown: string;
|
|
1231
|
+
projected_at: string;
|
|
1232
|
+
}[];
|
|
1233
|
+
chunks: {
|
|
1234
|
+
created_at: string;
|
|
1235
|
+
soil_id: string;
|
|
1236
|
+
checksum: string;
|
|
1237
|
+
chunk_id: string;
|
|
1238
|
+
token_count: number;
|
|
1239
|
+
record_id: string;
|
|
1240
|
+
chunk_index: number;
|
|
1241
|
+
chunk_kind: "code" | "title" | "summary" | "list" | "heading" | "paragraph" | "table" | "quote";
|
|
1242
|
+
heading_path_json: string[];
|
|
1243
|
+
chunk_text: string;
|
|
1244
|
+
}[];
|
|
1245
|
+
page_members: {
|
|
1246
|
+
confidence: number | null;
|
|
1247
|
+
role: "evidence" | "summary" | "primary" | "supporting" | "related";
|
|
1248
|
+
record_id: string;
|
|
1249
|
+
page_id: string;
|
|
1250
|
+
ordinal: number;
|
|
1251
|
+
}[];
|
|
1252
|
+
embeddings: {
|
|
1253
|
+
encoding: "json" | "f32le";
|
|
1254
|
+
model: string;
|
|
1255
|
+
embedding: number[] | Uint8Array<ArrayBuffer>;
|
|
1256
|
+
chunk_id: string;
|
|
1257
|
+
embedding_version: number;
|
|
1258
|
+
embedded_at: string;
|
|
1259
|
+
}[];
|
|
1260
|
+
tombstones: {
|
|
1261
|
+
reason: string;
|
|
1262
|
+
version: number | null;
|
|
1263
|
+
record_id: string | null;
|
|
1264
|
+
record_key: string | null;
|
|
1265
|
+
deleted_at: string;
|
|
1266
|
+
}[];
|
|
1267
|
+
}, {
|
|
1268
|
+
edges?: {
|
|
1269
|
+
src_record_id: string;
|
|
1270
|
+
edge_type: "supports" | "contradicts" | "references" | "caused_by" | "derived_from" | "related_to" | "belongs_to";
|
|
1271
|
+
dst_record_id: string;
|
|
1272
|
+
confidence?: number | null | undefined;
|
|
1273
|
+
}[] | undefined;
|
|
1274
|
+
records?: {
|
|
1275
|
+
status: "completed" | "candidate" | "active" | "cancelled" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "expired" | "deleted" | "unreachable" | "replaced";
|
|
1276
|
+
title: string;
|
|
1277
|
+
created_at: string;
|
|
1278
|
+
updated_at: string;
|
|
1279
|
+
version: number;
|
|
1280
|
+
source_id: string;
|
|
1281
|
+
source_type: string;
|
|
1282
|
+
soil_id: string;
|
|
1283
|
+
record_id: string;
|
|
1284
|
+
record_key: string;
|
|
1285
|
+
record_type: "observation" | "state" | "decision" | "identity" | "reflection" | "fact" | "preference" | "workflow" | "artifact";
|
|
1286
|
+
canonical_text: string;
|
|
1287
|
+
confidence?: number | null | undefined;
|
|
1288
|
+
goal_id?: string | null | undefined;
|
|
1289
|
+
task_id?: string | null | undefined;
|
|
1290
|
+
summary?: string | null | undefined;
|
|
1291
|
+
importance?: number | null | undefined;
|
|
1292
|
+
valid_from?: string | null | undefined;
|
|
1293
|
+
valid_to?: string | null | undefined;
|
|
1294
|
+
source_reliability?: number | null | undefined;
|
|
1295
|
+
supersedes_record_id?: string | null | undefined;
|
|
1296
|
+
is_active?: boolean | undefined;
|
|
1297
|
+
metadata_json?: Record<string, unknown> | undefined;
|
|
1298
|
+
}[] | undefined;
|
|
1299
|
+
pages?: {
|
|
1300
|
+
status: "candidate" | "archived" | "superseded" | "rejected" | "confirmed" | "draft" | "stale" | "deprecated";
|
|
1301
|
+
kind: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "note" | "memory" | "health" | "timeline" | "operations" | "inbox" | "overlay";
|
|
1302
|
+
soil_id: string;
|
|
1303
|
+
route: "status" | "schedule" | "goal" | "task" | "decision" | "knowledge" | "identity" | "index" | "report" | "memory" | "health" | "timeline" | "operations" | "inbox";
|
|
1304
|
+
checksum: string;
|
|
1305
|
+
relative_path: string;
|
|
1306
|
+
page_id: string;
|
|
1307
|
+
markdown: string;
|
|
1308
|
+
projected_at: string;
|
|
1309
|
+
}[] | undefined;
|
|
1310
|
+
chunks?: {
|
|
1311
|
+
created_at: string;
|
|
1312
|
+
soil_id: string;
|
|
1313
|
+
checksum: string;
|
|
1314
|
+
chunk_id: string;
|
|
1315
|
+
token_count: number;
|
|
1316
|
+
record_id: string;
|
|
1317
|
+
chunk_index: number;
|
|
1318
|
+
chunk_kind: "code" | "title" | "summary" | "list" | "heading" | "paragraph" | "table" | "quote";
|
|
1319
|
+
chunk_text: string;
|
|
1320
|
+
heading_path_json?: string[] | undefined;
|
|
1321
|
+
}[] | undefined;
|
|
1322
|
+
page_members?: {
|
|
1323
|
+
role: "evidence" | "summary" | "primary" | "supporting" | "related";
|
|
1324
|
+
record_id: string;
|
|
1325
|
+
page_id: string;
|
|
1326
|
+
ordinal: number;
|
|
1327
|
+
confidence?: number | null | undefined;
|
|
1328
|
+
}[] | undefined;
|
|
1329
|
+
embeddings?: {
|
|
1330
|
+
model: string;
|
|
1331
|
+
embedding: number[] | Uint8Array<ArrayBuffer>;
|
|
1332
|
+
chunk_id: string;
|
|
1333
|
+
embedding_version: number;
|
|
1334
|
+
embedded_at: string;
|
|
1335
|
+
encoding?: "json" | "f32le" | undefined;
|
|
1336
|
+
}[] | undefined;
|
|
1337
|
+
tombstones?: {
|
|
1338
|
+
reason: string;
|
|
1339
|
+
deleted_at: string;
|
|
1340
|
+
version?: number | null | undefined;
|
|
1341
|
+
record_id?: string | null | undefined;
|
|
1342
|
+
record_key?: string | null | undefined;
|
|
1343
|
+
}[] | undefined;
|
|
1344
|
+
}>;
|
|
1345
|
+
export type SoilMutation = z.infer<typeof SoilMutationSchema>;
|
|
1346
|
+
export type SoilMutationInput = z.input<typeof SoilMutationSchema>;
|
|
1347
|
+
export interface SoilWriteRepository {
|
|
1348
|
+
applyMutation(mutation: SoilMutationInput): Promise<void>;
|
|
1349
|
+
queueReindex(recordIds: string[], reason: string): Promise<void>;
|
|
1350
|
+
}
|
|
1351
|
+
export interface SoilSearchRepository {
|
|
1352
|
+
loadRecords(filter?: SoilRecordFilterInput): Promise<SoilRecord[]>;
|
|
1353
|
+
lookupDirect(request: SoilSearchRequestInput): Promise<SoilSearchResult>;
|
|
1354
|
+
searchHybrid(request: SoilSearchRequestInput): Promise<SoilCandidate[]>;
|
|
1355
|
+
searchLexical(request: SoilSearchRequestInput): Promise<SoilCandidate[]>;
|
|
1356
|
+
searchDense(request: SoilSearchRequestInput): Promise<SoilCandidate[]>;
|
|
1357
|
+
loadPagesForRecords(recordIds: string[]): Promise<Map<string, SoilPage[]>>;
|
|
1358
|
+
loadPageMembers(pageIds: string[]): Promise<SoilPageMember[]>;
|
|
1359
|
+
}
|
|
1360
|
+
export interface SoilProjectionRepository {
|
|
1361
|
+
upsertPages(pages: SoilPage[]): Promise<void>;
|
|
1362
|
+
replacePageMembers(pageId: string, members: SoilPageMember[]): Promise<void>;
|
|
1363
|
+
}
|
|
1364
|
+
export interface SoilRepository extends SoilWriteRepository, SoilSearchRepository, SoilProjectionRepository {
|
|
1365
|
+
}
|
|
1366
|
+
//# sourceMappingURL=contracts.d.ts.map
|