pulseed 0.4.2 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/types/a2a.d.ts +46 -46
- package/dist/base/llm/base-llm-client.js +1 -1
- package/dist/base/llm/base-llm-client.js.map +1 -1
- package/dist/base/llm/codex-llm-client.d.ts.map +1 -1
- package/dist/base/llm/codex-llm-client.js +8 -1
- package/dist/base/llm/codex-llm-client.js.map +1 -1
- package/dist/base/llm/provider-config.d.ts +1 -0
- package/dist/base/llm/provider-config.d.ts.map +1 -1
- package/dist/base/llm/provider-config.js +18 -0
- package/dist/base/llm/provider-config.js.map +1 -1
- package/dist/base/utils/json-io.d.ts +1 -1
- package/dist/base/utils/json-io.d.ts.map +1 -1
- package/dist/base/utils/json-io.js +3 -2
- package/dist/base/utils/json-io.js.map +1 -1
- package/dist/interface/cli/cli-command-registry.d.ts.map +1 -1
- package/dist/interface/cli/cli-command-registry.js +5 -2
- package/dist/interface/cli/cli-command-registry.js.map +1 -1
- package/dist/interface/cli/cli-runner.d.ts.map +1 -1
- package/dist/interface/cli/cli-runner.js +5 -0
- package/dist/interface/cli/cli-runner.js.map +1 -1
- package/dist/interface/cli/commands/daemon.d.ts +1 -0
- package/dist/interface/cli/commands/daemon.d.ts.map +1 -1
- package/dist/interface/cli/commands/daemon.js +278 -46
- package/dist/interface/cli/commands/daemon.js.map +1 -1
- package/dist/interface/cli/commands/doctor.d.ts +1 -1
- package/dist/interface/cli/commands/doctor.d.ts.map +1 -1
- package/dist/interface/cli/commands/doctor.js +190 -29
- package/dist/interface/cli/commands/doctor.js.map +1 -1
- package/dist/interface/cli/commands/install.d.ts.map +1 -1
- package/dist/interface/cli/commands/install.js +2 -5
- package/dist/interface/cli/commands/install.js.map +1 -1
- package/dist/interface/cli/commands/plugin.d.ts.map +1 -1
- package/dist/interface/cli/commands/plugin.js +2 -9
- package/dist/interface/cli/commands/plugin.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 +6 -12
- package/dist/interface/cli/commands/setup/steps-runtime.js.map +1 -1
- package/dist/interface/cli/setup.d.ts +2 -0
- package/dist/interface/cli/setup.d.ts.map +1 -1
- package/dist/interface/cli/setup.js +16 -1
- package/dist/interface/cli/setup.js.map +1 -1
- package/dist/interface/cli/utils.d.ts.map +1 -1
- package/dist/interface/cli/utils.js +2 -0
- package/dist/interface/cli/utils.js.map +1 -1
- package/dist/orchestrator/execution/task/task-executor.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-executor.js +6 -0
- package/dist/orchestrator/execution/task/task-executor.js.map +1 -1
- package/dist/orchestrator/execution/task/task-generation.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-generation.js +21 -3
- package/dist/orchestrator/execution/task/task-generation.js.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle.js +49 -12
- package/dist/orchestrator/execution/task/task-lifecycle.js.map +1 -1
- package/dist/orchestrator/execution/task/task-outcome-ledger.d.ts +83 -0
- package/dist/orchestrator/execution/task/task-outcome-ledger.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-outcome-ledger.js +247 -0
- package/dist/orchestrator/execution/task/task-outcome-ledger.js.map +1 -0
- package/dist/orchestrator/execution/task/task-prompt-builder.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-prompt-builder.js +79 -36
- package/dist/orchestrator/execution/task/task-prompt-builder.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 +2 -0
- package/dist/orchestrator/execution/task/task-verifier-rules.js.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier.js +63 -0
- package/dist/orchestrator/execution/task/task-verifier.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/preparation.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/preparation.js +8 -3
- package/dist/orchestrator/loop/core-loop/preparation.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/task-cycle.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/task-cycle.js +65 -37
- package/dist/orchestrator/loop/core-loop/task-cycle.js.map +1 -1
- package/dist/orchestrator/loop/core-loop.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop.js +29 -7
- package/dist/orchestrator/loop/core-loop.js.map +1 -1
- package/dist/platform/dream/dream-types.d.ts +24 -24
- package/dist/platform/knowledge/transfer/knowledge-transfer.d.ts +1 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer.d.ts.map +1 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer.js +16 -2
- package/dist/platform/knowledge/transfer/knowledge-transfer.js.map +1 -1
- package/dist/platform/observation/workspace-context.d.ts +1 -0
- package/dist/platform/observation/workspace-context.d.ts.map +1 -1
- package/dist/platform/observation/workspace-context.js +22 -9
- package/dist/platform/observation/workspace-context.js.map +1 -1
- package/dist/platform/traits/types/curiosity.d.ts +12 -12
- package/dist/platform/traits/types/curiosity.js +1 -1
- package/dist/platform/traits/types/curiosity.js.map +1 -1
- package/dist/runtime/daemon/client.d.ts +14 -0
- package/dist/runtime/daemon/client.d.ts.map +1 -1
- package/dist/runtime/daemon/client.js +32 -5
- package/dist/runtime/daemon/client.js.map +1 -1
- package/dist/runtime/daemon/index.d.ts +1 -1
- package/dist/runtime/daemon/index.d.ts.map +1 -1
- package/dist/runtime/daemon/index.js +1 -1
- package/dist/runtime/daemon/index.js.map +1 -1
- package/dist/runtime/daemon/maintenance.d.ts +59 -1
- package/dist/runtime/daemon/maintenance.d.ts.map +1 -1
- package/dist/runtime/daemon/maintenance.js +111 -7
- package/dist/runtime/daemon/maintenance.js.map +1 -1
- package/dist/runtime/daemon/persistence.d.ts.map +1 -1
- package/dist/runtime/daemon/persistence.js +16 -3
- package/dist/runtime/daemon/persistence.js.map +1 -1
- package/dist/runtime/daemon/runner-lifecycle.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-lifecycle.js +2 -1
- package/dist/runtime/daemon/runner-lifecycle.js.map +1 -1
- package/dist/runtime/daemon/runner.d.ts +57 -0
- package/dist/runtime/daemon/runner.d.ts.map +1 -1
- package/dist/runtime/daemon/runner.js +737 -14
- package/dist/runtime/daemon/runner.js.map +1 -1
- package/dist/runtime/daemon/runtime-ownership.d.ts +10 -0
- package/dist/runtime/daemon/runtime-ownership.d.ts.map +1 -1
- package/dist/runtime/daemon/runtime-ownership.js +139 -30
- package/dist/runtime/daemon/runtime-ownership.js.map +1 -1
- package/dist/runtime/executor/goal-worker.d.ts +7 -1
- package/dist/runtime/executor/goal-worker.d.ts.map +1 -1
- package/dist/runtime/executor/goal-worker.js +16 -1
- package/dist/runtime/executor/goal-worker.js.map +1 -1
- package/dist/runtime/executor/loop-supervisor.d.ts +2 -0
- package/dist/runtime/executor/loop-supervisor.d.ts.map +1 -1
- package/dist/runtime/executor/loop-supervisor.js +38 -5
- package/dist/runtime/executor/loop-supervisor.js.map +1 -1
- package/dist/runtime/pid-manager.d.ts +61 -11
- package/dist/runtime/pid-manager.d.ts.map +1 -1
- package/dist/runtime/pid-manager.js +362 -25
- package/dist/runtime/pid-manager.js.map +1 -1
- package/dist/runtime/plugin-loader.d.ts.map +1 -1
- package/dist/runtime/plugin-loader.js +2 -10
- 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 +21 -0
- package/dist/runtime/schedule/engine-layers.js.map +1 -1
- package/dist/runtime/schedule/engine.d.ts +14 -1
- package/dist/runtime/schedule/engine.d.ts.map +1 -1
- package/dist/runtime/schedule/engine.js +325 -74
- package/dist/runtime/schedule/engine.js.map +1 -1
- package/dist/runtime/schedule/history.d.ts +93 -0
- package/dist/runtime/schedule/history.d.ts.map +1 -0
- package/dist/runtime/schedule/history.js +69 -0
- package/dist/runtime/schedule/history.js.map +1 -0
- package/dist/runtime/schedule/index.d.ts +1 -0
- package/dist/runtime/schedule/index.d.ts.map +1 -1
- package/dist/runtime/schedule/index.js +1 -0
- package/dist/runtime/schedule/index.js.map +1 -1
- package/dist/runtime/store/approval-store.d.ts +7 -0
- package/dist/runtime/store/approval-store.d.ts.map +1 -1
- package/dist/runtime/store/approval-store.js +45 -1
- package/dist/runtime/store/approval-store.js.map +1 -1
- package/dist/runtime/store/health-store.d.ts +1 -0
- package/dist/runtime/store/health-store.d.ts.map +1 -1
- package/dist/runtime/store/health-store.js +121 -1
- package/dist/runtime/store/health-store.js.map +1 -1
- package/dist/runtime/store/index.d.ts +2 -2
- package/dist/runtime/store/index.d.ts.map +1 -1
- package/dist/runtime/store/index.js +1 -1
- package/dist/runtime/store/index.js.map +1 -1
- package/dist/runtime/store/outbox-store.d.ts +9 -0
- package/dist/runtime/store/outbox-store.d.ts.map +1 -1
- package/dist/runtime/store/outbox-store.js +24 -0
- package/dist/runtime/store/outbox-store.js.map +1 -1
- package/dist/runtime/store/runtime-schemas.d.ts +524 -0
- package/dist/runtime/store/runtime-schemas.d.ts.map +1 -1
- package/dist/runtime/store/runtime-schemas.js +76 -0
- package/dist/runtime/store/runtime-schemas.js.map +1 -1
- package/dist/runtime/types/cron.d.ts +4 -4
- package/dist/runtime/types/daemon.d.ts +90 -5
- package/dist/runtime/types/daemon.d.ts.map +1 -1
- package/dist/runtime/types/daemon.js +24 -2
- package/dist/runtime/types/daemon.js.map +1 -1
- package/dist/runtime/types/schedule.d.ts +257 -12
- package/dist/runtime/types/schedule.d.ts.map +1 -1
- package/dist/runtime/types/schedule.js +24 -0
- package/dist/runtime/types/schedule.js.map +1 -1
- package/dist/runtime/watchdog.d.ts +7 -0
- package/dist/runtime/watchdog.d.ts.map +1 -1
- package/dist/runtime/watchdog.js +62 -10
- package/dist/runtime/watchdog.js.map +1 -1
- package/dist/tools/mutation/task-history-utils.d.ts.map +1 -1
- package/dist/tools/mutation/task-history-utils.js +2 -0
- package/dist/tools/mutation/task-history-utils.js.map +1 -1
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts +40 -0
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts.map +1 -1
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts +14 -0
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts.map +1 -1
- package/dist/tools/system/EnvTool/EnvTool.d.ts +4 -4
- package/package.json +2 -2
- package/dist/__tests__/core.test.d.ts +0 -2
- package/dist/__tests__/core.test.d.ts.map +0 -1
- package/dist/__tests__/core.test.js +0 -275
- package/dist/__tests__/core.test.js.map +0 -1
- package/dist/__tests__/index-exports.test.d.ts +0 -2
- package/dist/__tests__/index-exports.test.d.ts.map +0 -1
- package/dist/__tests__/index-exports.test.js +0 -21
- package/dist/__tests__/index-exports.test.js.map +0 -1
- package/dist/adapters/__tests__/a2a-adapter.test.d.ts +0 -2
- package/dist/adapters/__tests__/a2a-adapter.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/a2a-adapter.test.js +0 -264
- package/dist/adapters/__tests__/a2a-adapter.test.js.map +0 -1
- package/dist/adapters/__tests__/a2a-client.test.d.ts +0 -2
- package/dist/adapters/__tests__/a2a-client.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/a2a-client.test.js +0 -211
- package/dist/adapters/__tests__/a2a-client.test.js.map +0 -1
- package/dist/adapters/__tests__/agent-profile-loader.test.d.ts +0 -2
- package/dist/adapters/__tests__/agent-profile-loader.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/agent-profile-loader.test.js +0 -141
- package/dist/adapters/__tests__/agent-profile-loader.test.js.map +0 -1
- package/dist/adapters/__tests__/browser-use-cli-adapter.test.d.ts +0 -2
- package/dist/adapters/__tests__/browser-use-cli-adapter.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/browser-use-cli-adapter.test.js +0 -226
- package/dist/adapters/__tests__/browser-use-cli-adapter.test.js.map +0 -1
- package/dist/adapters/__tests__/claude-code-cli-adapter.test.d.ts +0 -2
- package/dist/adapters/__tests__/claude-code-cli-adapter.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/claude-code-cli-adapter.test.js +0 -215
- package/dist/adapters/__tests__/claude-code-cli-adapter.test.js.map +0 -1
- package/dist/adapters/__tests__/file-existence-datasource.test.d.ts +0 -2
- package/dist/adapters/__tests__/file-existence-datasource.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/file-existence-datasource.test.js +0 -119
- package/dist/adapters/__tests__/file-existence-datasource.test.js.map +0 -1
- package/dist/adapters/__tests__/github-issue-adapter.test.d.ts +0 -2
- package/dist/adapters/__tests__/github-issue-adapter.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/github-issue-adapter.test.js +0 -584
- package/dist/adapters/__tests__/github-issue-adapter.test.js.map +0 -1
- package/dist/adapters/__tests__/github-issue-datasource.test.d.ts +0 -2
- package/dist/adapters/__tests__/github-issue-datasource.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/github-issue-datasource.test.js +0 -318
- package/dist/adapters/__tests__/github-issue-datasource.test.js.map +0 -1
- package/dist/adapters/__tests__/mcp-client-manager.test.d.ts +0 -2
- package/dist/adapters/__tests__/mcp-client-manager.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/mcp-client-manager.test.js +0 -248
- package/dist/adapters/__tests__/mcp-client-manager.test.js.map +0 -1
- package/dist/adapters/__tests__/mcp-datasource.test.d.ts +0 -2
- package/dist/adapters/__tests__/mcp-datasource.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/mcp-datasource.test.js +0 -187
- package/dist/adapters/__tests__/mcp-datasource.test.js.map +0 -1
- package/dist/adapters/__tests__/openai-codex-adapter.test.d.ts +0 -2
- package/dist/adapters/__tests__/openai-codex-adapter.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/openai-codex-adapter.test.js +0 -246
- package/dist/adapters/__tests__/openai-codex-adapter.test.js.map +0 -1
- package/dist/adapters/__tests__/openclaw-acp.test.d.ts +0 -2
- package/dist/adapters/__tests__/openclaw-acp.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/openclaw-acp.test.js +0 -239
- package/dist/adapters/__tests__/openclaw-acp.test.js.map +0 -1
- package/dist/adapters/__tests__/openclaw-datasource.test.d.ts +0 -2
- package/dist/adapters/__tests__/openclaw-datasource.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/openclaw-datasource.test.js +0 -252
- package/dist/adapters/__tests__/openclaw-datasource.test.js.map +0 -1
- package/dist/adapters/__tests__/shell-datasource.test.d.ts +0 -2
- package/dist/adapters/__tests__/shell-datasource.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/shell-datasource.test.js +0 -186
- package/dist/adapters/__tests__/shell-datasource.test.js.map +0 -1
- package/dist/base/llm/__tests__/codex-llm-client.test.d.ts +0 -2
- package/dist/base/llm/__tests__/codex-llm-client.test.d.ts.map +0 -1
- package/dist/base/llm/__tests__/codex-llm-client.test.js +0 -334
- package/dist/base/llm/__tests__/codex-llm-client.test.js.map +0 -1
- package/dist/base/llm/__tests__/json-sanitizer.test.d.ts +0 -2
- package/dist/base/llm/__tests__/json-sanitizer.test.d.ts.map +0 -1
- package/dist/base/llm/__tests__/json-sanitizer.test.js +0 -134
- package/dist/base/llm/__tests__/json-sanitizer.test.js.map +0 -1
- package/dist/base/llm/__tests__/llm-client-send-message.test.d.ts +0 -2
- package/dist/base/llm/__tests__/llm-client-send-message.test.d.ts.map +0 -1
- package/dist/base/llm/__tests__/llm-client-send-message.test.js +0 -155
- package/dist/base/llm/__tests__/llm-client-send-message.test.js.map +0 -1
- package/dist/base/llm/__tests__/llm-client.test.d.ts +0 -2
- package/dist/base/llm/__tests__/llm-client.test.d.ts.map +0 -1
- package/dist/base/llm/__tests__/llm-client.test.js +0 -401
- package/dist/base/llm/__tests__/llm-client.test.js.map +0 -1
- package/dist/base/llm/__tests__/ollama-client.test.d.ts +0 -2
- package/dist/base/llm/__tests__/ollama-client.test.d.ts.map +0 -1
- package/dist/base/llm/__tests__/ollama-client.test.js +0 -253
- package/dist/base/llm/__tests__/ollama-client.test.js.map +0 -1
- package/dist/base/llm/__tests__/openai-client.test.d.ts +0 -2
- package/dist/base/llm/__tests__/openai-client.test.d.ts.map +0 -1
- package/dist/base/llm/__tests__/openai-client.test.js +0 -245
- package/dist/base/llm/__tests__/openai-client.test.js.map +0 -1
- package/dist/base/llm/__tests__/provider-config.test.d.ts +0 -2
- package/dist/base/llm/__tests__/provider-config.test.d.ts.map +0 -1
- package/dist/base/llm/__tests__/provider-config.test.js +0 -334
- package/dist/base/llm/__tests__/provider-config.test.js.map +0 -1
- package/dist/base/llm/__tests__/provider-factory.test.d.ts +0 -2
- package/dist/base/llm/__tests__/provider-factory.test.d.ts.map +0 -1
- package/dist/base/llm/__tests__/provider-factory.test.js +0 -166
- package/dist/base/llm/__tests__/provider-factory.test.js.map +0 -1
- package/dist/base/llm/__tests__/provider-oauth.test.d.ts +0 -2
- package/dist/base/llm/__tests__/provider-oauth.test.d.ts.map +0 -1
- package/dist/base/llm/__tests__/provider-oauth.test.js +0 -120
- package/dist/base/llm/__tests__/provider-oauth.test.js.map +0 -1
- package/dist/base/state/__tests__/state-manager.test.d.ts +0 -2
- package/dist/base/state/__tests__/state-manager.test.d.ts.map +0 -1
- package/dist/base/state/__tests__/state-manager.test.js +0 -796
- package/dist/base/state/__tests__/state-manager.test.js.map +0 -1
- package/dist/base/types/__tests__/cross-portfolio.test.d.ts +0 -2
- package/dist/base/types/__tests__/cross-portfolio.test.d.ts.map +0 -1
- package/dist/base/types/__tests__/cross-portfolio.test.js +0 -336
- package/dist/base/types/__tests__/cross-portfolio.test.js.map +0 -1
- package/dist/base/types/__tests__/existing-extensions.test.d.ts +0 -2
- package/dist/base/types/__tests__/existing-extensions.test.d.ts.map +0 -1
- package/dist/base/types/__tests__/existing-extensions.test.js +0 -140
- package/dist/base/types/__tests__/existing-extensions.test.js.map +0 -1
- package/dist/base/types/__tests__/goal-refiner-types.test.d.ts +0 -2
- package/dist/base/types/__tests__/goal-refiner-types.test.d.ts.map +0 -1
- package/dist/base/types/__tests__/goal-refiner-types.test.js +0 -198
- package/dist/base/types/__tests__/goal-refiner-types.test.js.map +0 -1
- package/dist/base/types/__tests__/goal-tree-integration.test.d.ts +0 -2
- package/dist/base/types/__tests__/goal-tree-integration.test.d.ts.map +0 -1
- package/dist/base/types/__tests__/goal-tree-integration.test.js +0 -327
- package/dist/base/types/__tests__/goal-tree-integration.test.js.map +0 -1
- package/dist/base/types/__tests__/goal-tree.test.d.ts +0 -2
- package/dist/base/types/__tests__/goal-tree.test.d.ts.map +0 -1
- package/dist/base/types/__tests__/goal-tree.test.js +0 -286
- package/dist/base/types/__tests__/goal-tree.test.js.map +0 -1
- package/dist/base/types/__tests__/learning.test.d.ts +0 -2
- package/dist/base/types/__tests__/learning.test.d.ts.map +0 -1
- package/dist/base/types/__tests__/learning.test.js +0 -306
- package/dist/base/types/__tests__/learning.test.js.map +0 -1
- package/dist/base/types/__tests__/suggest-output-schema.test.d.ts +0 -2
- package/dist/base/types/__tests__/suggest-output-schema.test.d.ts.map +0 -1
- package/dist/base/types/__tests__/suggest-output-schema.test.js +0 -239
- package/dist/base/types/__tests__/suggest-output-schema.test.js.map +0 -1
- package/dist/chat/__tests__/chat-grounding.test.d.ts +0 -2
- package/dist/chat/__tests__/chat-grounding.test.d.ts.map +0 -1
- package/dist/chat/__tests__/chat-grounding.test.js +0 -388
- package/dist/chat/__tests__/chat-grounding.test.js.map +0 -1
- package/dist/chat/__tests__/chat-history.test.d.ts +0 -2
- package/dist/chat/__tests__/chat-history.test.d.ts.map +0 -1
- package/dist/chat/__tests__/chat-history.test.js +0 -97
- package/dist/chat/__tests__/chat-history.test.js.map +0 -1
- package/dist/chat/__tests__/chat-runner.test.d.ts +0 -2
- package/dist/chat/__tests__/chat-runner.test.d.ts.map +0 -1
- package/dist/chat/__tests__/chat-runner.test.js +0 -270
- package/dist/chat/__tests__/chat-runner.test.js.map +0 -1
- package/dist/chat/__tests__/chat-verifier.test.d.ts +0 -2
- package/dist/chat/__tests__/chat-verifier.test.d.ts.map +0 -1
- package/dist/chat/__tests__/chat-verifier.test.js +0 -71
- package/dist/chat/__tests__/chat-verifier.test.js.map +0 -1
- package/dist/chat/__tests__/escalation.test.d.ts +0 -2
- package/dist/chat/__tests__/escalation.test.d.ts.map +0 -1
- package/dist/chat/__tests__/escalation.test.js +0 -149
- package/dist/chat/__tests__/escalation.test.js.map +0 -1
- package/dist/chat/__tests__/self-knowledge-mutation-tools.test.d.ts +0 -2
- package/dist/chat/__tests__/self-knowledge-mutation-tools.test.d.ts.map +0 -1
- package/dist/chat/__tests__/self-knowledge-mutation-tools.test.js +0 -371
- package/dist/chat/__tests__/self-knowledge-mutation-tools.test.js.map +0 -1
- package/dist/chat/__tests__/self-knowledge-tools.test.d.ts +0 -2
- package/dist/chat/__tests__/self-knowledge-tools.test.d.ts.map +0 -1
- package/dist/chat/__tests__/self-knowledge-tools.test.js +0 -223
- package/dist/chat/__tests__/self-knowledge-tools.test.js.map +0 -1
- package/dist/chat/chat-history.d.ts +0 -80
- package/dist/chat/chat-history.d.ts.map +0 -1
- package/dist/chat/chat-history.js +0 -70
- package/dist/chat/chat-history.js.map +0 -1
- package/dist/chat/chat-runner.d.ts +0 -79
- package/dist/chat/chat-runner.d.ts.map +0 -1
- package/dist/chat/chat-runner.js +0 -279
- package/dist/chat/chat-runner.js.map +0 -1
- package/dist/chat/chat-verifier.d.ts +0 -13
- package/dist/chat/chat-verifier.d.ts.map +0 -1
- package/dist/chat/chat-verifier.js +0 -35
- package/dist/chat/chat-verifier.js.map +0 -1
- package/dist/chat/escalation.d.ts +0 -30
- package/dist/chat/escalation.d.ts.map +0 -1
- package/dist/chat/escalation.js +0 -53
- package/dist/chat/escalation.js.map +0 -1
- package/dist/chat/grounding.d.ts +0 -8
- package/dist/chat/grounding.d.ts.map +0 -1
- package/dist/chat/grounding.js +0 -104
- package/dist/chat/grounding.js.map +0 -1
- package/dist/chat/mutation-tool-defs.d.ts +0 -19
- package/dist/chat/mutation-tool-defs.d.ts.map +0 -1
- package/dist/chat/mutation-tool-defs.js +0 -154
- package/dist/chat/mutation-tool-defs.js.map +0 -1
- package/dist/chat/self-knowledge-mutation-tools.d.ts +0 -5
- package/dist/chat/self-knowledge-mutation-tools.d.ts.map +0 -1
- package/dist/chat/self-knowledge-mutation-tools.js +0 -249
- package/dist/chat/self-knowledge-mutation-tools.js.map +0 -1
- package/dist/chat/self-knowledge-tools.d.ts +0 -22
- package/dist/chat/self-knowledge-tools.d.ts.map +0 -1
- package/dist/chat/self-knowledge-tools.js +0 -261
- package/dist/chat/self-knowledge-tools.js.map +0 -1
- package/dist/cli/__tests__/cleanup-orphan-datasource.test.d.ts +0 -2
- package/dist/cli/__tests__/cleanup-orphan-datasource.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cleanup-orphan-datasource.test.js +0 -108
- package/dist/cli/__tests__/cleanup-orphan-datasource.test.js.map +0 -1
- package/dist/cli/__tests__/cli-capability.test.d.ts +0 -8
- package/dist/cli/__tests__/cli-capability.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-capability.test.js +0 -208
- package/dist/cli/__tests__/cli-capability.test.js.map +0 -1
- package/dist/cli/__tests__/cli-daemon-status.test.d.ts +0 -2
- package/dist/cli/__tests__/cli-daemon-status.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-daemon-status.test.js +0 -205
- package/dist/cli/__tests__/cli-daemon-status.test.js.map +0 -1
- package/dist/cli/__tests__/cli-doctor.test.d.ts +0 -2
- package/dist/cli/__tests__/cli-doctor.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-doctor.test.js +0 -291
- package/dist/cli/__tests__/cli-doctor.test.js.map +0 -1
- package/dist/cli/__tests__/cli-improve.test.d.ts +0 -11
- package/dist/cli/__tests__/cli-improve.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-improve.test.js +0 -592
- package/dist/cli/__tests__/cli-improve.test.js.map +0 -1
- package/dist/cli/__tests__/cli-install.test.d.ts +0 -2
- package/dist/cli/__tests__/cli-install.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-install.test.js +0 -307
- package/dist/cli/__tests__/cli-install.test.js.map +0 -1
- package/dist/cli/__tests__/cli-knowledge.test.d.ts +0 -9
- package/dist/cli/__tests__/cli-knowledge.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-knowledge.test.js +0 -295
- package/dist/cli/__tests__/cli-knowledge.test.js.map +0 -1
- package/dist/cli/__tests__/cli-logs.test.d.ts +0 -2
- package/dist/cli/__tests__/cli-logs.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-logs.test.js +0 -204
- package/dist/cli/__tests__/cli-logs.test.js.map +0 -1
- package/dist/cli/__tests__/cli-notify.test.d.ts +0 -2
- package/dist/cli/__tests__/cli-notify.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-notify.test.js +0 -208
- package/dist/cli/__tests__/cli-notify.test.js.map +0 -1
- package/dist/cli/__tests__/cli-plugin.test.d.ts +0 -8
- package/dist/cli/__tests__/cli-plugin.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-plugin.test.js +0 -379
- package/dist/cli/__tests__/cli-plugin.test.js.map +0 -1
- package/dist/cli/__tests__/cli-runner-datasource-auto.test.d.ts +0 -9
- package/dist/cli/__tests__/cli-runner-datasource-auto.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-runner-datasource-auto.test.js +0 -398
- package/dist/cli/__tests__/cli-runner-datasource-auto.test.js.map +0 -1
- package/dist/cli/__tests__/cli-runner-integration.test.d.ts +0 -13
- package/dist/cli/__tests__/cli-runner-integration.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-runner-integration.test.js +0 -298
- package/dist/cli/__tests__/cli-runner-integration.test.js.map +0 -1
- package/dist/cli/__tests__/cli-runner.test.d.ts +0 -29
- package/dist/cli/__tests__/cli-runner.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-runner.test.js +0 -928
- package/dist/cli/__tests__/cli-runner.test.js.map +0 -1
- package/dist/cli/__tests__/cli-setup.test.d.ts +0 -12
- package/dist/cli/__tests__/cli-setup.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-setup.test.js +0 -200
- package/dist/cli/__tests__/cli-setup.test.js.map +0 -1
- package/dist/cli/__tests__/datasource-dedup.test.d.ts +0 -2
- package/dist/cli/__tests__/datasource-dedup.test.d.ts.map +0 -1
- package/dist/cli/__tests__/datasource-dedup.test.js +0 -133
- package/dist/cli/__tests__/datasource-dedup.test.js.map +0 -1
- package/dist/cli/__tests__/goal-dispatch-infer.test.d.ts +0 -11
- package/dist/cli/__tests__/goal-dispatch-infer.test.d.ts.map +0 -1
- package/dist/cli/__tests__/goal-dispatch-infer.test.js +0 -140
- package/dist/cli/__tests__/goal-dispatch-infer.test.js.map +0 -1
- package/dist/cli/__tests__/goal-infer.test.d.ts +0 -2
- package/dist/cli/__tests__/goal-infer.test.d.ts.map +0 -1
- package/dist/cli/__tests__/goal-infer.test.js +0 -94
- package/dist/cli/__tests__/goal-infer.test.js.map +0 -1
- package/dist/cli/__tests__/goal-utils.test.d.ts +0 -2
- package/dist/cli/__tests__/goal-utils.test.d.ts.map +0 -1
- package/dist/cli/__tests__/goal-utils.test.js +0 -123
- package/dist/cli/__tests__/goal-utils.test.js.map +0 -1
- package/dist/cli/__tests__/suggest-normalizer.test.d.ts +0 -2
- package/dist/cli/__tests__/suggest-normalizer.test.d.ts.map +0 -1
- package/dist/cli/__tests__/suggest-normalizer.test.js +0 -43
- package/dist/cli/__tests__/suggest-normalizer.test.js.map +0 -1
- package/dist/cli/cli-command-registry 2.d.ts +0 -16
- package/dist/cli/cli-command-registry 2.d.ts.map +0 -1
- package/dist/cli/cli-command-registry 2.js +0 -408
- package/dist/cli/cli-command-registry 2.js.map +0 -1
- package/dist/cli/cli-command-registry.d.ts +0 -16
- package/dist/cli/cli-command-registry.d.ts.map +0 -1
- package/dist/cli/cli-command-registry.js +0 -408
- package/dist/cli/cli-command-registry.js.map +0 -1
- package/dist/cli/cli-logger.d.ts +0 -3
- package/dist/cli/cli-logger.d.ts.map +0 -1
- package/dist/cli/cli-logger.js +0 -12
- package/dist/cli/cli-logger.js.map +0 -1
- package/dist/cli/cli-runner.d.ts +0 -32
- package/dist/cli/cli-runner.d.ts.map +0 -1
- package/dist/cli/cli-runner.js +0 -122
- package/dist/cli/cli-runner.js.map +0 -1
- package/dist/cli/commands/chat.d.ts +0 -3
- package/dist/cli/commands/chat.d.ts.map +0 -1
- package/dist/cli/commands/chat.js +0 -148
- package/dist/cli/commands/chat.js.map +0 -1
- package/dist/cli/commands/config.d.ts +0 -11
- package/dist/cli/commands/config.d.ts.map +0 -1
- package/dist/cli/commands/config.js +0 -436
- package/dist/cli/commands/config.js.map +0 -1
- package/dist/cli/commands/daemon.d.ts +0 -7
- package/dist/cli/commands/daemon.d.ts.map +0 -1
- package/dist/cli/commands/daemon.js +0 -297
- package/dist/cli/commands/daemon.js.map +0 -1
- package/dist/cli/commands/doctor.d.ts +0 -19
- package/dist/cli/commands/doctor.d.ts.map +0 -1
- package/dist/cli/commands/doctor.js +0 -203
- package/dist/cli/commands/doctor.js.map +0 -1
- package/dist/cli/commands/goal-dispatch.d.ts +0 -13
- package/dist/cli/commands/goal-dispatch.d.ts.map +0 -1
- package/dist/cli/commands/goal-dispatch.js +0 -208
- package/dist/cli/commands/goal-dispatch.js.map +0 -1
- package/dist/cli/commands/goal-infer.d.ts +0 -9
- package/dist/cli/commands/goal-infer.d.ts.map +0 -1
- package/dist/cli/commands/goal-infer.js +0 -71
- package/dist/cli/commands/goal-infer.js.map +0 -1
- package/dist/cli/commands/goal-raw.d.ts +0 -9
- package/dist/cli/commands/goal-raw.d.ts.map +0 -1
- package/dist/cli/commands/goal-raw.js +0 -106
- package/dist/cli/commands/goal-raw.js.map +0 -1
- package/dist/cli/commands/goal-read.d.ts +0 -9
- package/dist/cli/commands/goal-read.d.ts.map +0 -1
- package/dist/cli/commands/goal-read.js +0 -248
- package/dist/cli/commands/goal-read.js.map +0 -1
- package/dist/cli/commands/goal-utils.d.ts +0 -70
- package/dist/cli/commands/goal-utils.d.ts.map +0 -1
- package/dist/cli/commands/goal-utils.js +0 -311
- package/dist/cli/commands/goal-utils.js.map +0 -1
- package/dist/cli/commands/goal-write.d.ts +0 -15
- package/dist/cli/commands/goal-write.d.ts.map +0 -1
- package/dist/cli/commands/goal-write.js +0 -351
- package/dist/cli/commands/goal-write.js.map +0 -1
- package/dist/cli/commands/goal.d.ts +0 -3
- package/dist/cli/commands/goal.d.ts.map +0 -1
- package/dist/cli/commands/goal.js +0 -6
- package/dist/cli/commands/goal.js.map +0 -1
- package/dist/cli/commands/install.d.ts +0 -16
- package/dist/cli/commands/install.d.ts.map +0 -1
- package/dist/cli/commands/install.js +0 -153
- package/dist/cli/commands/install.js.map +0 -1
- package/dist/cli/commands/knowledge.d.ts +0 -5
- package/dist/cli/commands/knowledge.d.ts.map +0 -1
- package/dist/cli/commands/knowledge.js +0 -127
- package/dist/cli/commands/knowledge.js.map +0 -1
- package/dist/cli/commands/logs.d.ts +0 -2
- package/dist/cli/commands/logs.d.ts.map +0 -1
- package/dist/cli/commands/logs.js +0 -201
- package/dist/cli/commands/logs.js.map +0 -1
- package/dist/cli/commands/notify.d.ts +0 -2
- package/dist/cli/commands/notify.d.ts.map +0 -1
- package/dist/cli/commands/notify.js +0 -277
- package/dist/cli/commands/notify.js.map +0 -1
- package/dist/cli/commands/plugin.d.ts +0 -9
- package/dist/cli/commands/plugin.d.ts.map +0 -1
- package/dist/cli/commands/plugin.js +0 -315
- package/dist/cli/commands/plugin.js.map +0 -1
- package/dist/cli/commands/report.d.ts +0 -3
- package/dist/cli/commands/report.d.ts.map +0 -1
- package/dist/cli/commands/report.js +0 -29
- package/dist/cli/commands/report.js.map +0 -1
- package/dist/cli/commands/run.d.ts +0 -7
- package/dist/cli/commands/run.d.ts.map +0 -1
- package/dist/cli/commands/run.js +0 -106
- package/dist/cli/commands/run.js.map +0 -1
- package/dist/cli/commands/setup.d.ts +0 -2
- package/dist/cli/commands/setup.d.ts.map +0 -1
- package/dist/cli/commands/setup.js +0 -339
- package/dist/cli/commands/setup.js.map +0 -1
- package/dist/cli/commands/suggest-normalizer.d.ts +0 -21
- package/dist/cli/commands/suggest-normalizer.d.ts.map +0 -1
- package/dist/cli/commands/suggest-normalizer.js +0 -359
- package/dist/cli/commands/suggest-normalizer.js.map +0 -1
- package/dist/cli/commands/suggest.d.ts +0 -5
- package/dist/cli/commands/suggest.d.ts.map +0 -1
- package/dist/cli/commands/suggest.js +0 -238
- package/dist/cli/commands/suggest.js.map +0 -1
- package/dist/cli/commands/task-read.d.ts +0 -4
- package/dist/cli/commands/task-read.d.ts.map +0 -1
- package/dist/cli/commands/task-read.js +0 -195
- package/dist/cli/commands/task-read.js.map +0 -1
- package/dist/cli/commands/telegram.d.ts +0 -2
- package/dist/cli/commands/telegram.d.ts.map +0 -1
- package/dist/cli/commands/telegram.js +0 -155
- package/dist/cli/commands/telegram.js.map +0 -1
- package/dist/cli/ensure-api-key.d.ts +0 -17
- package/dist/cli/ensure-api-key.d.ts.map +0 -1
- package/dist/cli/ensure-api-key.js +0 -52
- package/dist/cli/ensure-api-key.js.map +0 -1
- package/dist/cli/setup.d.ts +0 -21
- package/dist/cli/setup.d.ts.map +0 -1
- package/dist/cli/setup.js +0 -199
- package/dist/cli/setup.js.map +0 -1
- package/dist/cli/utils/loop-runner.d.ts +0 -8
- package/dist/cli/utils/loop-runner.d.ts.map +0 -1
- package/dist/cli/utils/loop-runner.js +0 -74
- package/dist/cli/utils/loop-runner.js.map +0 -1
- package/dist/cli/utils.d.ts +0 -10
- package/dist/cli/utils.d.ts.map +0 -1
- package/dist/cli/utils.js +0 -147
- package/dist/cli/utils.js.map +0 -1
- package/dist/drive/__tests__/drive-scorer.test.d.ts +0 -2
- package/dist/drive/__tests__/drive-scorer.test.d.ts.map +0 -1
- package/dist/drive/__tests__/drive-scorer.test.js +0 -507
- package/dist/drive/__tests__/drive-scorer.test.js.map +0 -1
- package/dist/drive/__tests__/drive-system.test.d.ts +0 -2
- package/dist/drive/__tests__/drive-system.test.d.ts.map +0 -1
- package/dist/drive/__tests__/drive-system.test.js +0 -456
- package/dist/drive/__tests__/drive-system.test.js.map +0 -1
- package/dist/drive/__tests__/example.test.d.ts +0 -2
- package/dist/drive/__tests__/example.test.d.ts.map +0 -1
- package/dist/drive/__tests__/example.test.js +0 -314
- package/dist/drive/__tests__/example.test.js.map +0 -1
- package/dist/drive/__tests__/gap-calculator.test.d.ts +0 -2
- package/dist/drive/__tests__/gap-calculator.test.d.ts.map +0 -1
- package/dist/drive/__tests__/gap-calculator.test.js +0 -619
- package/dist/drive/__tests__/gap-calculator.test.js.map +0 -1
- package/dist/drive/__tests__/progress-predictor.test.d.ts +0 -2
- package/dist/drive/__tests__/progress-predictor.test.d.ts.map +0 -1
- package/dist/drive/__tests__/progress-predictor.test.js +0 -142
- package/dist/drive/__tests__/progress-predictor.test.js.map +0 -1
- package/dist/drive/__tests__/reward-log.test.d.ts +0 -2
- package/dist/drive/__tests__/reward-log.test.d.ts.map +0 -1
- package/dist/drive/__tests__/reward-log.test.js +0 -177
- package/dist/drive/__tests__/reward-log.test.js.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-convergence.test.d.ts +0 -2
- package/dist/drive/__tests__/satisficing-judge-convergence.test.d.ts.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-convergence.test.js +0 -159
- package/dist/drive/__tests__/satisficing-judge-convergence.test.js.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-dimension-satisfied.test.d.ts +0 -2
- package/dist/drive/__tests__/satisficing-judge-dimension-satisfied.test.d.ts.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-dimension-satisfied.test.js +0 -261
- package/dist/drive/__tests__/satisficing-judge-dimension-satisfied.test.js.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-double-confirm.test.d.ts +0 -2
- package/dist/drive/__tests__/satisficing-judge-double-confirm.test.d.ts.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-double-confirm.test.js +0 -207
- package/dist/drive/__tests__/satisficing-judge-double-confirm.test.js.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-goal-complete.test.d.ts +0 -2
- package/dist/drive/__tests__/satisficing-judge-goal-complete.test.d.ts.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-goal-complete.test.js +0 -359
- package/dist/drive/__tests__/satisficing-judge-goal-complete.test.js.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-propagation-phase2.test.d.ts +0 -2
- package/dist/drive/__tests__/satisficing-judge-propagation-phase2.test.d.ts.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-propagation-phase2.test.js +0 -461
- package/dist/drive/__tests__/satisficing-judge-propagation-phase2.test.js.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-threshold-propagation.test.d.ts +0 -2
- package/dist/drive/__tests__/satisficing-judge-threshold-propagation.test.d.ts.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-threshold-propagation.test.js +0 -337
- package/dist/drive/__tests__/satisficing-judge-threshold-propagation.test.js.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-tree-convergence.test.d.ts +0 -2
- package/dist/drive/__tests__/satisficing-judge-tree-convergence.test.d.ts.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-tree-convergence.test.js +0 -109
- package/dist/drive/__tests__/satisficing-judge-tree-convergence.test.js.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-undershoot.test.d.ts +0 -2
- package/dist/drive/__tests__/satisficing-judge-undershoot.test.d.ts.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-undershoot.test.js +0 -221
- package/dist/drive/__tests__/satisficing-judge-undershoot.test.js.map +0 -1
- package/dist/drive/__tests__/stall-detector-analysis.test.d.ts +0 -12
- package/dist/drive/__tests__/stall-detector-analysis.test.d.ts.map +0 -1
- package/dist/drive/__tests__/stall-detector-analysis.test.js +0 -139
- package/dist/drive/__tests__/stall-detector-analysis.test.js.map +0 -1
- package/dist/drive/__tests__/stall-detector-repetitive.test.d.ts +0 -2
- package/dist/drive/__tests__/stall-detector-repetitive.test.d.ts.map +0 -1
- package/dist/drive/__tests__/stall-detector-repetitive.test.js +0 -84
- package/dist/drive/__tests__/stall-detector-repetitive.test.js.map +0 -1
- package/dist/drive/__tests__/stall-detector.test.d.ts +0 -2
- package/dist/drive/__tests__/stall-detector.test.d.ts.map +0 -1
- package/dist/drive/__tests__/stall-detector.test.js +0 -903
- package/dist/drive/__tests__/stall-detector.test.js.map +0 -1
- package/dist/drive/drive-scorer.d.ts +0 -96
- package/dist/drive/drive-scorer.d.ts.map +0 -1
- package/dist/drive/drive-scorer.js +0 -240
- package/dist/drive/drive-scorer.js.map +0 -1
- package/dist/drive/drive-system.d.ts +0 -99
- package/dist/drive/drive-system.d.ts.map +0 -1
- package/dist/drive/drive-system.js +0 -354
- package/dist/drive/drive-system.js.map +0 -1
- package/dist/drive/gap-calculator.d.ts +0 -88
- package/dist/drive/gap-calculator.d.ts.map +0 -1
- package/dist/drive/gap-calculator.js +0 -243
- package/dist/drive/gap-calculator.js.map +0 -1
- package/dist/drive/progress-predictor.d.ts +0 -24
- package/dist/drive/progress-predictor.d.ts.map +0 -1
- package/dist/drive/progress-predictor.js +0 -93
- package/dist/drive/progress-predictor.js.map +0 -1
- package/dist/drive/reward-log.d.ts +0 -51
- package/dist/drive/reward-log.d.ts.map +0 -1
- package/dist/drive/reward-log.js +0 -48
- package/dist/drive/reward-log.js.map +0 -1
- package/dist/drive/satisficing-helpers.d.ts +0 -28
- package/dist/drive/satisficing-helpers.d.ts.map +0 -1
- package/dist/drive/satisficing-helpers.js +0 -111
- package/dist/drive/satisficing-helpers.js.map +0 -1
- package/dist/drive/satisficing-judge.d.ts +0 -140
- package/dist/drive/satisficing-judge.d.ts.map +0 -1
- package/dist/drive/satisficing-judge.js +0 -427
- package/dist/drive/satisficing-judge.js.map +0 -1
- package/dist/drive/satisficing-propagation.d.ts +0 -30
- package/dist/drive/satisficing-propagation.d.ts.map +0 -1
- package/dist/drive/satisficing-propagation.js +0 -196
- package/dist/drive/satisficing-propagation.js.map +0 -1
- package/dist/drive/stall-detector.d.ts +0 -143
- package/dist/drive/stall-detector.d.ts.map +0 -1
- package/dist/drive/stall-detector.js +0 -567
- package/dist/drive/stall-detector.js.map +0 -1
- package/dist/drive/types/drive.d.ts +0 -194
- package/dist/drive/types/drive.d.ts.map +0 -1
- package/dist/drive/types/drive.js +0 -77
- package/dist/drive/types/drive.js.map +0 -1
- package/dist/drive/types/gap.d.ts +0 -147
- package/dist/drive/types/gap.d.ts.map +0 -1
- package/dist/drive/types/gap.js +0 -41
- package/dist/drive/types/gap.js.map +0 -1
- package/dist/drive/types/satisficing.d.ts +0 -130
- package/dist/drive/types/satisficing.d.ts.map +0 -1
- package/dist/drive/types/satisficing.js +0 -54
- package/dist/drive/types/satisficing.js.map +0 -1
- package/dist/drive/types/stall.d.ts +0 -68
- package/dist/drive/types/stall.d.ts.map +0 -1
- package/dist/drive/types/stall.js +0 -28
- package/dist/drive/types/stall.js.map +0 -1
- package/dist/execution/__tests__/adapter-layer.test.d.ts +0 -2
- package/dist/execution/__tests__/adapter-layer.test.d.ts.map +0 -1
- package/dist/execution/__tests__/adapter-layer.test.js +0 -88
- package/dist/execution/__tests__/adapter-layer.test.js.map +0 -1
- package/dist/execution/__tests__/checkpoint-manager.test.d.ts +0 -2
- package/dist/execution/__tests__/checkpoint-manager.test.d.ts.map +0 -1
- package/dist/execution/__tests__/checkpoint-manager.test.js +0 -304
- package/dist/execution/__tests__/checkpoint-manager.test.js.map +0 -1
- package/dist/execution/__tests__/completion-judger-timeout.test.d.ts +0 -11
- package/dist/execution/__tests__/completion-judger-timeout.test.d.ts.map +0 -1
- package/dist/execution/__tests__/completion-judger-timeout.test.js +0 -260
- package/dist/execution/__tests__/completion-judger-timeout.test.js.map +0 -1
- package/dist/execution/__tests__/context-budget.test.d.ts +0 -2
- package/dist/execution/__tests__/context-budget.test.d.ts.map +0 -1
- package/dist/execution/__tests__/context-budget.test.js +0 -218
- package/dist/execution/__tests__/context-budget.test.js.map +0 -1
- package/dist/execution/__tests__/duplicate-task-guard.test.d.ts +0 -2
- package/dist/execution/__tests__/duplicate-task-guard.test.d.ts.map +0 -1
- package/dist/execution/__tests__/duplicate-task-guard.test.js +0 -187
- package/dist/execution/__tests__/duplicate-task-guard.test.js.map +0 -1
- package/dist/execution/__tests__/failure-context-injection.test.d.ts +0 -2
- package/dist/execution/__tests__/failure-context-injection.test.d.ts.map +0 -1
- package/dist/execution/__tests__/failure-context-injection.test.js +0 -227
- package/dist/execution/__tests__/failure-context-injection.test.js.map +0 -1
- package/dist/execution/__tests__/impact-analyzer.test.d.ts +0 -2
- package/dist/execution/__tests__/impact-analyzer.test.d.ts.map +0 -1
- package/dist/execution/__tests__/impact-analyzer.test.js +0 -117
- package/dist/execution/__tests__/impact-analyzer.test.js.map +0 -1
- package/dist/execution/__tests__/issue-context-fetcher.test.d.ts +0 -2
- package/dist/execution/__tests__/issue-context-fetcher.test.d.ts.map +0 -1
- package/dist/execution/__tests__/issue-context-fetcher.test.js +0 -151
- package/dist/execution/__tests__/issue-context-fetcher.test.js.map +0 -1
- package/dist/execution/__tests__/parallel-executor.test.d.ts +0 -2
- package/dist/execution/__tests__/parallel-executor.test.d.ts.map +0 -1
- package/dist/execution/__tests__/parallel-executor.test.js +0 -313
- package/dist/execution/__tests__/parallel-executor.test.js.map +0 -1
- package/dist/execution/__tests__/pipeline-executor.test.d.ts +0 -2
- package/dist/execution/__tests__/pipeline-executor.test.d.ts.map +0 -1
- package/dist/execution/__tests__/pipeline-executor.test.js +0 -322
- package/dist/execution/__tests__/pipeline-executor.test.js.map +0 -1
- package/dist/execution/__tests__/reflection-generator.test.d.ts +0 -2
- package/dist/execution/__tests__/reflection-generator.test.d.ts.map +0 -1
- package/dist/execution/__tests__/reflection-generator.test.js +0 -422
- package/dist/execution/__tests__/reflection-generator.test.js.map +0 -1
- package/dist/execution/__tests__/result-reconciler.test.d.ts +0 -2
- package/dist/execution/__tests__/result-reconciler.test.d.ts.map +0 -1
- package/dist/execution/__tests__/result-reconciler.test.js +0 -112
- package/dist/execution/__tests__/result-reconciler.test.js.map +0 -1
- package/dist/execution/__tests__/session-manager-phase2.test.d.ts +0 -2
- package/dist/execution/__tests__/session-manager-phase2.test.d.ts.map +0 -1
- package/dist/execution/__tests__/session-manager-phase2.test.js +0 -381
- package/dist/execution/__tests__/session-manager-phase2.test.js.map +0 -1
- package/dist/execution/__tests__/session-manager.test.d.ts +0 -2
- package/dist/execution/__tests__/session-manager.test.d.ts.map +0 -1
- package/dist/execution/__tests__/session-manager.test.js +0 -653
- package/dist/execution/__tests__/session-manager.test.js.map +0 -1
- package/dist/execution/__tests__/task-generation-group.test.d.ts +0 -2
- package/dist/execution/__tests__/task-generation-group.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-generation-group.test.js +0 -157
- package/dist/execution/__tests__/task-generation-group.test.js.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-cycle.test.d.ts +0 -2
- package/dist/execution/__tests__/task-lifecycle-cycle.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-cycle.test.js +0 -685
- package/dist/execution/__tests__/task-lifecycle-cycle.test.js.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-dimension.test.d.ts +0 -2
- package/dist/execution/__tests__/task-lifecycle-dimension.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-dimension.test.js +0 -325
- package/dist/execution/__tests__/task-lifecycle-dimension.test.js.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-ethics.test.d.ts +0 -2
- package/dist/execution/__tests__/task-lifecycle-ethics.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-ethics.test.js +0 -732
- package/dist/execution/__tests__/task-lifecycle-ethics.test.js.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-execution.test.d.ts +0 -2
- package/dist/execution/__tests__/task-lifecycle-execution.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-execution.test.js +0 -441
- package/dist/execution/__tests__/task-lifecycle-execution.test.js.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-generation.test.d.ts +0 -2
- package/dist/execution/__tests__/task-lifecycle-generation.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-generation.test.js +0 -457
- package/dist/execution/__tests__/task-lifecycle-generation.test.js.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-healthcheck.test.d.ts +0 -2
- package/dist/execution/__tests__/task-lifecycle-healthcheck.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-healthcheck.test.js +0 -325
- package/dist/execution/__tests__/task-lifecycle-healthcheck.test.js.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-verdict.test.d.ts +0 -2
- package/dist/execution/__tests__/task-lifecycle-verdict.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-verdict.test.js +0 -683
- package/dist/execution/__tests__/task-lifecycle-verdict.test.js.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-verification.test.d.ts +0 -2
- package/dist/execution/__tests__/task-lifecycle-verification.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-verification.test.js +0 -526
- package/dist/execution/__tests__/task-lifecycle-verification.test.js.map +0 -1
- package/dist/execution/__tests__/task-lifecycle.test.d.ts +0 -2
- package/dist/execution/__tests__/task-lifecycle.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-lifecycle.test.js +0 -503
- package/dist/execution/__tests__/task-lifecycle.test.js.map +0 -1
- package/dist/execution/__tests__/task-prompt-builder.test.d.ts +0 -2
- package/dist/execution/__tests__/task-prompt-builder.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-prompt-builder.test.js +0 -148
- package/dist/execution/__tests__/task-prompt-builder.test.js.map +0 -1
- package/dist/execution/__tests__/task-verifier-guards.test.d.ts +0 -2
- package/dist/execution/__tests__/task-verifier-guards.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-verifier-guards.test.js +0 -735
- package/dist/execution/__tests__/task-verifier-guards.test.js.map +0 -1
- package/dist/execution/__tests__/task-verifier.test.d.ts +0 -2
- package/dist/execution/__tests__/task-verifier.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-verifier.test.js +0 -113
- package/dist/execution/__tests__/task-verifier.test.js.map +0 -1
- package/dist/execution/__tests__/toolset-lock.test.d.ts +0 -2
- package/dist/execution/__tests__/toolset-lock.test.d.ts.map +0 -1
- package/dist/execution/__tests__/toolset-lock.test.js +0 -204
- package/dist/execution/__tests__/toolset-lock.test.js.map +0 -1
- package/dist/execution/adapter-layer.d.ts +0 -100
- package/dist/execution/adapter-layer.d.ts.map +0 -1
- package/dist/execution/adapter-layer.js +0 -123
- package/dist/execution/adapter-layer.js.map +0 -1
- package/dist/execution/checkpoint-manager.d.ts +0 -49
- package/dist/execution/checkpoint-manager.d.ts.map +0 -1
- package/dist/execution/checkpoint-manager.js +0 -143
- package/dist/execution/checkpoint-manager.js.map +0 -1
- package/dist/execution/context/context-budget.d.ts +0 -35
- package/dist/execution/context/context-budget.d.ts.map +0 -1
- package/dist/execution/context/context-budget.js +0 -73
- package/dist/execution/context/context-budget.js.map +0 -1
- package/dist/execution/context/context-builder.d.ts +0 -44
- package/dist/execution/context/context-builder.d.ts.map +0 -1
- package/dist/execution/context/context-builder.js +0 -132
- package/dist/execution/context/context-builder.js.map +0 -1
- package/dist/execution/context/dimension-selector.d.ts +0 -16
- package/dist/execution/context/dimension-selector.d.ts.map +0 -1
- package/dist/execution/context/dimension-selector.js +0 -57
- package/dist/execution/context/dimension-selector.js.map +0 -1
- package/dist/execution/context/issue-context-fetcher.d.ts +0 -19
- package/dist/execution/context/issue-context-fetcher.d.ts.map +0 -1
- package/dist/execution/context/issue-context-fetcher.js +0 -73
- package/dist/execution/context/issue-context-fetcher.js.map +0 -1
- package/dist/execution/impact-analyzer.d.ts +0 -24
- package/dist/execution/impact-analyzer.d.ts.map +0 -1
- package/dist/execution/impact-analyzer.js +0 -88
- package/dist/execution/impact-analyzer.js.map +0 -1
- package/dist/execution/parallel-executor.d.ts +0 -38
- package/dist/execution/parallel-executor.d.ts.map +0 -1
- package/dist/execution/parallel-executor.js +0 -172
- package/dist/execution/parallel-executor.js.map +0 -1
- package/dist/execution/pipeline-executor.d.ts +0 -54
- package/dist/execution/pipeline-executor.d.ts.map +0 -1
- package/dist/execution/pipeline-executor.js +0 -250
- package/dist/execution/pipeline-executor.js.map +0 -1
- package/dist/execution/reflection-generator.d.ts +0 -24
- package/dist/execution/reflection-generator.d.ts.map +0 -1
- package/dist/execution/reflection-generator.js +0 -143
- package/dist/execution/reflection-generator.js.map +0 -1
- package/dist/execution/result-reconciler.d.ts +0 -23
- package/dist/execution/result-reconciler.d.ts.map +0 -1
- package/dist/execution/result-reconciler.js +0 -109
- package/dist/execution/result-reconciler.js.map +0 -1
- package/dist/execution/session-manager.d.ts +0 -153
- package/dist/execution/session-manager.d.ts.map +0 -1
- package/dist/execution/session-manager.js +0 -393
- package/dist/execution/session-manager.js.map +0 -1
- package/dist/execution/task/task-approval-check.d.ts +0 -9
- package/dist/execution/task/task-approval-check.d.ts.map +0 -1
- package/dist/execution/task/task-approval-check.js +0 -14
- package/dist/execution/task/task-approval-check.js.map +0 -1
- package/dist/execution/task/task-approval.d.ts +0 -22
- package/dist/execution/task/task-approval.d.ts.map +0 -1
- package/dist/execution/task/task-approval.js +0 -147
- package/dist/execution/task/task-approval.js.map +0 -1
- package/dist/execution/task/task-execution-types.d.ts +0 -18
- package/dist/execution/task/task-execution-types.d.ts.map +0 -1
- package/dist/execution/task/task-execution-types.js +0 -10
- package/dist/execution/task/task-execution-types.js.map +0 -1
- package/dist/execution/task/task-executor.d.ts +0 -31
- package/dist/execution/task/task-executor.d.ts.map +0 -1
- package/dist/execution/task/task-executor.js +0 -221
- package/dist/execution/task/task-executor.js.map +0 -1
- package/dist/execution/task/task-generation.d.ts +0 -154
- package/dist/execution/task/task-generation.d.ts.map +0 -1
- package/dist/execution/task/task-generation.js +0 -416
- package/dist/execution/task/task-generation.js.map +0 -1
- package/dist/execution/task/task-health-check.d.ts +0 -36
- package/dist/execution/task/task-health-check.d.ts.map +0 -1
- package/dist/execution/task/task-health-check.js +0 -66
- package/dist/execution/task/task-health-check.js.map +0 -1
- package/dist/execution/task/task-lifecycle.d.ts +0 -126
- package/dist/execution/task/task-lifecycle.d.ts.map +0 -1
- package/dist/execution/task/task-lifecycle.js +0 -313
- package/dist/execution/task/task-lifecycle.js.map +0 -1
- package/dist/execution/task/task-pipeline-cycle.d.ts +0 -45
- package/dist/execution/task/task-pipeline-cycle.d.ts.map +0 -1
- package/dist/execution/task/task-pipeline-cycle.js +0 -132
- package/dist/execution/task/task-pipeline-cycle.js.map +0 -1
- package/dist/execution/task/task-prompt-builder.d.ts +0 -9
- package/dist/execution/task/task-prompt-builder.d.ts.map +0 -1
- package/dist/execution/task/task-prompt-builder.js +0 -197
- package/dist/execution/task/task-prompt-builder.js.map +0 -1
- package/dist/execution/task/task-verifier-llm 2.d.ts +0 -24
- package/dist/execution/task/task-verifier-llm 2.d.ts.map +0 -1
- package/dist/execution/task/task-verifier-llm 2.js +0 -160
- package/dist/execution/task/task-verifier-llm 2.js.map +0 -1
- package/dist/execution/task/task-verifier-llm.d.ts +0 -24
- package/dist/execution/task/task-verifier-llm.d.ts.map +0 -1
- package/dist/execution/task/task-verifier-llm.js +0 -160
- package/dist/execution/task/task-verifier-llm.js.map +0 -1
- package/dist/execution/task/task-verifier-rules 2.d.ts +0 -31
- package/dist/execution/task/task-verifier-rules 2.d.ts.map +0 -1
- package/dist/execution/task/task-verifier-rules 2.js +0 -207
- package/dist/execution/task/task-verifier-rules 2.js.map +0 -1
- package/dist/execution/task/task-verifier-rules.d.ts +0 -31
- package/dist/execution/task/task-verifier-rules.d.ts.map +0 -1
- package/dist/execution/task/task-verifier-rules.js +0 -207
- package/dist/execution/task/task-verifier-rules.js.map +0 -1
- package/dist/execution/task/task-verifier-types 2.d.ts +0 -78
- package/dist/execution/task/task-verifier-types 2.d.ts.map +0 -1
- package/dist/execution/task/task-verifier-types 2.js +0 -9
- package/dist/execution/task/task-verifier-types 2.js.map +0 -1
- package/dist/execution/task/task-verifier-types.d.ts +0 -78
- package/dist/execution/task/task-verifier-types.d.ts.map +0 -1
- package/dist/execution/task/task-verifier-types.js +0 -9
- package/dist/execution/task/task-verifier-types.js.map +0 -1
- package/dist/execution/task/task-verifier.d.ts +0 -48
- package/dist/execution/task/task-verifier.d.ts.map +0 -1
- package/dist/execution/task/task-verifier.js +0 -463
- package/dist/execution/task/task-verifier.js.map +0 -1
- package/dist/execution/toolset-lock.d.ts +0 -27
- package/dist/execution/toolset-lock.d.ts.map +0 -1
- package/dist/execution/toolset-lock.js +0 -49
- package/dist/execution/toolset-lock.js.map +0 -1
- package/dist/execution/types/checkpoint.d.ts +0 -133
- package/dist/execution/types/checkpoint.d.ts.map +0 -1
- package/dist/execution/types/checkpoint.js +0 -38
- package/dist/execution/types/checkpoint.js.map +0 -1
- package/dist/execution/types/pipeline.d.ts +0 -191
- package/dist/execution/types/pipeline.d.ts.map +0 -1
- package/dist/execution/types/pipeline.js +0 -62
- package/dist/execution/types/pipeline.js.map +0 -1
- package/dist/execution/types/session.d.ts +0 -95
- package/dist/execution/types/session.d.ts.map +0 -1
- package/dist/execution/types/session.js +0 -37
- package/dist/execution/types/session.js.map +0 -1
- package/dist/execution/types/task-group.d.ts +0 -246
- package/dist/execution/types/task-group.d.ts.map +0 -1
- package/dist/execution/types/task-group.js +0 -14
- package/dist/execution/types/task-group.js.map +0 -1
- package/dist/execution/types/task.d.ts +0 -267
- package/dist/execution/types/task.d.ts.map +0 -1
- package/dist/execution/types/task.js +0 -70
- package/dist/execution/types/task.js.map +0 -1
- package/dist/goal/__tests__/goal-cli-refine.test.d.ts +0 -8
- package/dist/goal/__tests__/goal-cli-refine.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-cli-refine.test.js +0 -237
- package/dist/goal/__tests__/goal-cli-refine.test.js.map +0 -1
- package/dist/goal/__tests__/goal-dependency-graph.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-dependency-graph.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-dependency-graph.test.js +0 -352
- package/dist/goal/__tests__/goal-dependency-graph.test.js.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-character.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-negotiator-character.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-character.test.js +0 -650
- package/dist/goal/__tests__/goal-negotiator-character.test.js.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-core.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-negotiator-core.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-core.test.js +0 -370
- package/dist/goal/__tests__/goal-negotiator-core.test.js.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-decompose.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-negotiator-decompose.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-decompose.test.js +0 -876
- package/dist/goal/__tests__/goal-negotiator-decompose.test.js.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-negotiate.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-negotiator-negotiate.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-negotiate.test.js +0 -411
- package/dist/goal/__tests__/goal-negotiator-negotiate.test.js.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-suggest-filter.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-negotiator-suggest-filter.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-suggest-filter.test.js +0 -258
- package/dist/goal/__tests__/goal-negotiator-suggest-filter.test.js.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-suggest.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-negotiator-suggest.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-suggest.test.js +0 -280
- package/dist/goal/__tests__/goal-negotiator-suggest.test.js.map +0 -1
- package/dist/goal/__tests__/goal-refiner.refine.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-refiner.refine.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-refiner.refine.test.js +0 -291
- package/dist/goal/__tests__/goal-refiner.refine.test.js.map +0 -1
- package/dist/goal/__tests__/goal-refiner.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-refiner.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-refiner.test.js +0 -509
- package/dist/goal/__tests__/goal-refiner.test.js.map +0 -1
- package/dist/goal/__tests__/goal-suggest-timeout.test.d.ts +0 -10
- package/dist/goal/__tests__/goal-suggest-timeout.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-suggest-timeout.test.js +0 -63
- package/dist/goal/__tests__/goal-suggest-timeout.test.js.map +0 -1
- package/dist/goal/__tests__/goal-tree-concreteness.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-tree-concreteness.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-tree-concreteness.test.js +0 -391
- package/dist/goal/__tests__/goal-tree-concreteness.test.js.map +0 -1
- package/dist/goal/__tests__/goal-tree-manager.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-tree-manager.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-tree-manager.test.js +0 -828
- package/dist/goal/__tests__/goal-tree-manager.test.js.map +0 -1
- package/dist/goal/__tests__/goal-tree-quality.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-tree-quality.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-tree-quality.test.js +0 -150
- package/dist/goal/__tests__/goal-tree-quality.test.js.map +0 -1
- package/dist/goal/__tests__/goalNegotiator.test.d.ts +0 -2
- package/dist/goal/__tests__/goalNegotiator.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goalNegotiator.test.js +0 -418
- package/dist/goal/__tests__/goalNegotiator.test.js.map +0 -1
- package/dist/goal/__tests__/negotiate-context.test.d.ts +0 -2
- package/dist/goal/__tests__/negotiate-context.test.d.ts.map +0 -1
- package/dist/goal/__tests__/negotiate-context.test.js +0 -192
- package/dist/goal/__tests__/negotiate-context.test.js.map +0 -1
- package/dist/goal/__tests__/refine.test.d.ts +0 -2
- package/dist/goal/__tests__/refine.test.d.ts.map +0 -1
- package/dist/goal/__tests__/refine.test.js +0 -354
- package/dist/goal/__tests__/refine.test.js.map +0 -1
- package/dist/goal/__tests__/refiner-prompts.test.d.ts +0 -2
- package/dist/goal/__tests__/refiner-prompts.test.d.ts.map +0 -1
- package/dist/goal/__tests__/refiner-prompts.test.js +0 -92
- package/dist/goal/__tests__/refiner-prompts.test.js.map +0 -1
- package/dist/goal/__tests__/state-aggregator.test.d.ts +0 -2
- package/dist/goal/__tests__/state-aggregator.test.d.ts.map +0 -1
- package/dist/goal/__tests__/state-aggregator.test.js +0 -840
- package/dist/goal/__tests__/state-aggregator.test.js.map +0 -1
- package/dist/goal/__tests__/subgoal-curriculum.test.d.ts +0 -2
- package/dist/goal/__tests__/subgoal-curriculum.test.d.ts.map +0 -1
- package/dist/goal/__tests__/subgoal-curriculum.test.js +0 -219
- package/dist/goal/__tests__/subgoal-curriculum.test.js.map +0 -1
- package/dist/goal/__tests__/tree-loop-orchestrator.test.d.ts +0 -2
- package/dist/goal/__tests__/tree-loop-orchestrator.test.d.ts.map +0 -1
- package/dist/goal/__tests__/tree-loop-orchestrator.test.js +0 -1078
- package/dist/goal/__tests__/tree-loop-orchestrator.test.js.map +0 -1
- package/dist/goal/goal-decomposer.d.ts +0 -30
- package/dist/goal/goal-decomposer.d.ts.map +0 -1
- package/dist/goal/goal-decomposer.js +0 -167
- package/dist/goal/goal-decomposer.js.map +0 -1
- package/dist/goal/goal-dependency-graph.d.ts +0 -124
- package/dist/goal/goal-dependency-graph.d.ts.map +0 -1
- package/dist/goal/goal-dependency-graph.js +0 -325
- package/dist/goal/goal-dependency-graph.js.map +0 -1
- package/dist/goal/goal-negotiator.d.ts +0 -72
- package/dist/goal/goal-negotiator.d.ts.map +0 -1
- package/dist/goal/goal-negotiator.js +0 -299
- package/dist/goal/goal-negotiator.js.map +0 -1
- package/dist/goal/goal-refiner.d.ts +0 -48
- package/dist/goal/goal-refiner.d.ts.map +0 -1
- package/dist/goal/goal-refiner.js +0 -299
- package/dist/goal/goal-refiner.js.map +0 -1
- package/dist/goal/goal-suggest.d.ts +0 -93
- package/dist/goal/goal-suggest.d.ts.map +0 -1
- package/dist/goal/goal-suggest.js +0 -254
- package/dist/goal/goal-suggest.js.map +0 -1
- package/dist/goal/goal-tree-manager.d.ts +0 -72
- package/dist/goal/goal-tree-manager.d.ts.map +0 -1
- package/dist/goal/goal-tree-manager.js +0 -572
- package/dist/goal/goal-tree-manager.js.map +0 -1
- package/dist/goal/goal-tree-pruner.d.ts +0 -25
- package/dist/goal/goal-tree-pruner.d.ts.map +0 -1
- package/dist/goal/goal-tree-pruner.js +0 -93
- package/dist/goal/goal-tree-pruner.js.map +0 -1
- package/dist/goal/goal-tree-quality.d.ts +0 -22
- package/dist/goal/goal-tree-quality.d.ts.map +0 -1
- package/dist/goal/goal-tree-quality.js +0 -183
- package/dist/goal/goal-tree-quality.js.map +0 -1
- package/dist/goal/goal-validation.d.ts +0 -20
- package/dist/goal/goal-validation.d.ts.map +0 -1
- package/dist/goal/goal-validation.js +0 -93
- package/dist/goal/goal-validation.js.map +0 -1
- package/dist/goal/milestone-evaluator.d.ts +0 -33
- package/dist/goal/milestone-evaluator.d.ts.map +0 -1
- package/dist/goal/milestone-evaluator.js +0 -130
- package/dist/goal/milestone-evaluator.js.map +0 -1
- package/dist/goal/negotiator-context.d.ts +0 -13
- package/dist/goal/negotiator-context.d.ts.map +0 -1
- package/dist/goal/negotiator-context.js +0 -119
- package/dist/goal/negotiator-context.js.map +0 -1
- package/dist/goal/negotiator-prompts.d.ts +0 -31
- package/dist/goal/negotiator-prompts.d.ts.map +0 -1
- package/dist/goal/negotiator-prompts.js +0 -65
- package/dist/goal/negotiator-prompts.js.map +0 -1
- package/dist/goal/negotiator-steps.d.ts +0 -59
- package/dist/goal/negotiator-steps.d.ts.map +0 -1
- package/dist/goal/negotiator-steps.js +0 -269
- package/dist/goal/negotiator-steps.js.map +0 -1
- package/dist/goal/refiner-prompts.d.ts +0 -10
- package/dist/goal/refiner-prompts.d.ts.map +0 -1
- package/dist/goal/refiner-prompts.js +0 -59
- package/dist/goal/refiner-prompts.js.map +0 -1
- package/dist/goal/state-aggregator.d.ts +0 -89
- package/dist/goal/state-aggregator.d.ts.map +0 -1
- package/dist/goal/state-aggregator.js +0 -331
- package/dist/goal/state-aggregator.js.map +0 -1
- package/dist/goal/subgoal-curriculum.d.ts +0 -30
- package/dist/goal/subgoal-curriculum.d.ts.map +0 -1
- package/dist/goal/subgoal-curriculum.js +0 -53
- package/dist/goal/subgoal-curriculum.js.map +0 -1
- package/dist/goal/tree-loop-orchestrator.d.ts +0 -100
- package/dist/goal/tree-loop-orchestrator.d.ts.map +0 -1
- package/dist/goal/tree-loop-orchestrator.js +0 -269
- package/dist/goal/tree-loop-orchestrator.js.map +0 -1
- package/dist/goal/types/dependency.d.ts +0 -108
- package/dist/goal/types/dependency.d.ts.map +0 -1
- package/dist/goal/types/dependency.js +0 -21
- package/dist/goal/types/dependency.js.map +0 -1
- package/dist/goal/types/goal-refiner.d.ts +0 -108
- package/dist/goal/types/goal-refiner.d.ts.map +0 -1
- package/dist/goal/types/goal-refiner.js +0 -39
- package/dist/goal/types/goal-refiner.js.map +0 -1
- package/dist/goal/types/goal-tree.d.ts +0 -180
- package/dist/goal/types/goal-tree.d.ts.map +0 -1
- package/dist/goal/types/goal-tree.js +0 -73
- package/dist/goal/types/goal-tree.js.map +0 -1
- package/dist/goal/types/goal.d.ts +0 -1342
- package/dist/goal/types/goal.d.ts.map +0 -1
- package/dist/goal/types/goal.js +0 -141
- package/dist/goal/types/goal.js.map +0 -1
- package/dist/goal/types/negotiation.d.ts +0 -450
- package/dist/goal/types/negotiation.d.ts.map +0 -1
- package/dist/goal/types/negotiation.js +0 -84
- package/dist/goal/types/negotiation.js.map +0 -1
- package/dist/goal/types/suggest.d.ts +0 -92
- package/dist/goal/types/suggest.d.ts.map +0 -1
- package/dist/goal/types/suggest.js +0 -15
- package/dist/goal/types/suggest.js.map +0 -1
- package/dist/interface/chat/__tests__/chat-grounding.test.d.ts +0 -2
- package/dist/interface/chat/__tests__/chat-grounding.test.d.ts.map +0 -1
- package/dist/interface/chat/__tests__/chat-grounding.test.js +0 -388
- package/dist/interface/chat/__tests__/chat-grounding.test.js.map +0 -1
- package/dist/interface/chat/__tests__/chat-history.test.d.ts +0 -2
- package/dist/interface/chat/__tests__/chat-history.test.d.ts.map +0 -1
- package/dist/interface/chat/__tests__/chat-history.test.js +0 -97
- package/dist/interface/chat/__tests__/chat-history.test.js.map +0 -1
- package/dist/interface/chat/__tests__/chat-runner.test.d.ts +0 -2
- package/dist/interface/chat/__tests__/chat-runner.test.d.ts.map +0 -1
- package/dist/interface/chat/__tests__/chat-runner.test.js +0 -270
- package/dist/interface/chat/__tests__/chat-runner.test.js.map +0 -1
- package/dist/interface/chat/__tests__/chat-verifier.test.d.ts +0 -2
- package/dist/interface/chat/__tests__/chat-verifier.test.d.ts.map +0 -1
- package/dist/interface/chat/__tests__/chat-verifier.test.js +0 -71
- package/dist/interface/chat/__tests__/chat-verifier.test.js.map +0 -1
- package/dist/interface/chat/__tests__/escalation.test.d.ts +0 -2
- package/dist/interface/chat/__tests__/escalation.test.d.ts.map +0 -1
- package/dist/interface/chat/__tests__/escalation.test.js +0 -149
- package/dist/interface/chat/__tests__/escalation.test.js.map +0 -1
- package/dist/interface/chat/__tests__/self-knowledge-mutation-tools.test.d.ts +0 -2
- package/dist/interface/chat/__tests__/self-knowledge-mutation-tools.test.d.ts.map +0 -1
- package/dist/interface/chat/__tests__/self-knowledge-mutation-tools.test.js +0 -371
- package/dist/interface/chat/__tests__/self-knowledge-mutation-tools.test.js.map +0 -1
- package/dist/interface/chat/__tests__/self-knowledge-tools.test.d.ts +0 -2
- package/dist/interface/chat/__tests__/self-knowledge-tools.test.d.ts.map +0 -1
- package/dist/interface/chat/__tests__/self-knowledge-tools.test.js +0 -223
- package/dist/interface/chat/__tests__/self-knowledge-tools.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cleanup-orphan-datasource.test.d.ts +0 -2
- package/dist/interface/cli/__tests__/cleanup-orphan-datasource.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cleanup-orphan-datasource.test.js +0 -108
- package/dist/interface/cli/__tests__/cleanup-orphan-datasource.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-capability.test.d.ts +0 -8
- package/dist/interface/cli/__tests__/cli-capability.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-capability.test.js +0 -208
- package/dist/interface/cli/__tests__/cli-capability.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-daemon-status.test.d.ts +0 -2
- package/dist/interface/cli/__tests__/cli-daemon-status.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-daemon-status.test.js +0 -205
- package/dist/interface/cli/__tests__/cli-daemon-status.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-doctor.test.d.ts +0 -2
- package/dist/interface/cli/__tests__/cli-doctor.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-doctor.test.js +0 -291
- package/dist/interface/cli/__tests__/cli-doctor.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-improve.test.d.ts +0 -11
- package/dist/interface/cli/__tests__/cli-improve.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-improve.test.js +0 -592
- package/dist/interface/cli/__tests__/cli-improve.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-install.test.d.ts +0 -2
- package/dist/interface/cli/__tests__/cli-install.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-install.test.js +0 -307
- package/dist/interface/cli/__tests__/cli-install.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-knowledge.test.d.ts +0 -9
- package/dist/interface/cli/__tests__/cli-knowledge.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-knowledge.test.js +0 -295
- package/dist/interface/cli/__tests__/cli-knowledge.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-logs.test.d.ts +0 -2
- package/dist/interface/cli/__tests__/cli-logs.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-logs.test.js +0 -204
- package/dist/interface/cli/__tests__/cli-logs.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-notify.test.d.ts +0 -2
- package/dist/interface/cli/__tests__/cli-notify.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-notify.test.js +0 -208
- package/dist/interface/cli/__tests__/cli-notify.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-plugin.test.d.ts +0 -8
- package/dist/interface/cli/__tests__/cli-plugin.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-plugin.test.js +0 -379
- package/dist/interface/cli/__tests__/cli-plugin.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-runner-datasource-auto.test.d.ts +0 -9
- package/dist/interface/cli/__tests__/cli-runner-datasource-auto.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-runner-datasource-auto.test.js +0 -398
- package/dist/interface/cli/__tests__/cli-runner-datasource-auto.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-runner-integration.test.d.ts +0 -13
- package/dist/interface/cli/__tests__/cli-runner-integration.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-runner-integration.test.js +0 -298
- package/dist/interface/cli/__tests__/cli-runner-integration.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-runner.test.d.ts +0 -29
- package/dist/interface/cli/__tests__/cli-runner.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-runner.test.js +0 -928
- package/dist/interface/cli/__tests__/cli-runner.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-setup.test.d.ts +0 -12
- package/dist/interface/cli/__tests__/cli-setup.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-setup.test.js +0 -200
- package/dist/interface/cli/__tests__/cli-setup.test.js.map +0 -1
- package/dist/interface/cli/__tests__/datasource-dedup.test.d.ts +0 -2
- package/dist/interface/cli/__tests__/datasource-dedup.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/datasource-dedup.test.js +0 -133
- package/dist/interface/cli/__tests__/datasource-dedup.test.js.map +0 -1
- package/dist/interface/cli/__tests__/goal-dispatch-infer.test.d.ts +0 -11
- package/dist/interface/cli/__tests__/goal-dispatch-infer.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/goal-dispatch-infer.test.js +0 -140
- package/dist/interface/cli/__tests__/goal-dispatch-infer.test.js.map +0 -1
- package/dist/interface/cli/__tests__/goal-infer.test.d.ts +0 -2
- package/dist/interface/cli/__tests__/goal-infer.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/goal-infer.test.js +0 -94
- package/dist/interface/cli/__tests__/goal-infer.test.js.map +0 -1
- package/dist/interface/cli/__tests__/goal-utils.test.d.ts +0 -2
- package/dist/interface/cli/__tests__/goal-utils.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/goal-utils.test.js +0 -123
- package/dist/interface/cli/__tests__/goal-utils.test.js.map +0 -1
- package/dist/interface/cli/__tests__/suggest-normalizer.test.d.ts +0 -2
- package/dist/interface/cli/__tests__/suggest-normalizer.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/suggest-normalizer.test.js +0 -43
- package/dist/interface/cli/__tests__/suggest-normalizer.test.js.map +0 -1
- package/dist/interface/mcp-server/__tests__/mcp-server.test.d.ts +0 -2
- package/dist/interface/mcp-server/__tests__/mcp-server.test.d.ts.map +0 -1
- package/dist/interface/mcp-server/__tests__/mcp-server.test.js +0 -180
- package/dist/interface/mcp-server/__tests__/mcp-server.test.js.map +0 -1
- package/dist/interface/tui/__tests__/actions.test.d.ts +0 -2
- package/dist/interface/tui/__tests__/actions.test.d.ts.map +0 -1
- package/dist/interface/tui/__tests__/actions.test.js +0 -300
- package/dist/interface/tui/__tests__/actions.test.js.map +0 -1
- package/dist/interface/tui/__tests__/fuzzy.test.d.ts +0 -2
- package/dist/interface/tui/__tests__/fuzzy.test.d.ts.map +0 -1
- package/dist/interface/tui/__tests__/fuzzy.test.js +0 -95
- package/dist/interface/tui/__tests__/fuzzy.test.js.map +0 -1
- package/dist/interface/tui/__tests__/intent-recognizer.test.d.ts +0 -2
- package/dist/interface/tui/__tests__/intent-recognizer.test.d.ts.map +0 -1
- package/dist/interface/tui/__tests__/intent-recognizer.test.js +0 -174
- package/dist/interface/tui/__tests__/intent-recognizer.test.js.map +0 -1
- package/dist/interface/tui/__tests__/use-loop.test.d.ts +0 -2
- package/dist/interface/tui/__tests__/use-loop.test.d.ts.map +0 -1
- package/dist/interface/tui/__tests__/use-loop.test.js +0 -286
- package/dist/interface/tui/__tests__/use-loop.test.js.map +0 -1
- package/dist/interface/tui/splash-screen.d.ts +0 -9
- package/dist/interface/tui/splash-screen.d.ts.map +0 -1
- package/dist/interface/tui/splash-screen.js +0 -27
- package/dist/interface/tui/splash-screen.js.map +0 -1
- package/dist/knowledge/__tests__/decision-record.test.d.ts +0 -2
- package/dist/knowledge/__tests__/decision-record.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/decision-record.test.js +0 -141
- package/dist/knowledge/__tests__/decision-record.test.js.map +0 -1
- package/dist/knowledge/__tests__/drive-score-adapter.test.d.ts +0 -2
- package/dist/knowledge/__tests__/drive-score-adapter.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/drive-score-adapter.test.js +0 -110
- package/dist/knowledge/__tests__/drive-score-adapter.test.js.map +0 -1
- package/dist/knowledge/__tests__/embedding-client.test.d.ts +0 -2
- package/dist/knowledge/__tests__/embedding-client.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/embedding-client.test.js +0 -77
- package/dist/knowledge/__tests__/embedding-client.test.js.map +0 -1
- package/dist/knowledge/__tests__/hierarchical-memory-integration.test.d.ts +0 -2
- package/dist/knowledge/__tests__/hierarchical-memory-integration.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/hierarchical-memory-integration.test.js +0 -352
- package/dist/knowledge/__tests__/hierarchical-memory-integration.test.js.map +0 -1
- package/dist/knowledge/__tests__/knowledge-graph.test.d.ts +0 -2
- package/dist/knowledge/__tests__/knowledge-graph.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/knowledge-graph.test.js +0 -330
- package/dist/knowledge/__tests__/knowledge-graph.test.js.map +0 -1
- package/dist/knowledge/__tests__/knowledge-manager-phase2.test.d.ts +0 -2
- package/dist/knowledge/__tests__/knowledge-manager-phase2.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/knowledge-manager-phase2.test.js +0 -344
- package/dist/knowledge/__tests__/knowledge-manager-phase2.test.js.map +0 -1
- package/dist/knowledge/__tests__/knowledge-manager.test.d.ts +0 -2
- package/dist/knowledge/__tests__/knowledge-manager.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/knowledge-manager.test.js +0 -564
- package/dist/knowledge/__tests__/knowledge-manager.test.js.map +0 -1
- package/dist/knowledge/__tests__/knowledge-transfer-apply.test.d.ts +0 -2
- package/dist/knowledge/__tests__/knowledge-transfer-apply.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/knowledge-transfer-apply.test.js +0 -291
- package/dist/knowledge/__tests__/knowledge-transfer-apply.test.js.map +0 -1
- package/dist/knowledge/__tests__/knowledge-transfer-auto-apply.test.d.ts +0 -2
- package/dist/knowledge/__tests__/knowledge-transfer-auto-apply.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/knowledge-transfer-auto-apply.test.js +0 -293
- package/dist/knowledge/__tests__/knowledge-transfer-auto-apply.test.js.map +0 -1
- package/dist/knowledge/__tests__/knowledge-transfer-detect.test.d.ts +0 -2
- package/dist/knowledge/__tests__/knowledge-transfer-detect.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/knowledge-transfer-detect.test.js +0 -315
- package/dist/knowledge/__tests__/knowledge-transfer-detect.test.js.map +0 -1
- package/dist/knowledge/__tests__/knowledge-transfer-evaluate.test.d.ts +0 -2
- package/dist/knowledge/__tests__/knowledge-transfer-evaluate.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/knowledge-transfer-evaluate.test.js +0 -593
- package/dist/knowledge/__tests__/knowledge-transfer-evaluate.test.js.map +0 -1
- package/dist/knowledge/__tests__/knowledge-transfer-incremental.test.d.ts +0 -2
- package/dist/knowledge/__tests__/knowledge-transfer-incremental.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/knowledge-transfer-incremental.test.js +0 -402
- package/dist/knowledge/__tests__/knowledge-transfer-incremental.test.js.map +0 -1
- package/dist/knowledge/__tests__/learning-cross-goal.test.d.ts +0 -2
- package/dist/knowledge/__tests__/learning-cross-goal.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/learning-cross-goal.test.js +0 -377
- package/dist/knowledge/__tests__/learning-cross-goal.test.js.map +0 -1
- package/dist/knowledge/__tests__/learning-pipeline-extraction.test.d.ts +0 -2
- package/dist/knowledge/__tests__/learning-pipeline-extraction.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/learning-pipeline-extraction.test.js +0 -622
- package/dist/knowledge/__tests__/learning-pipeline-extraction.test.js.map +0 -1
- package/dist/knowledge/__tests__/learning-pipeline-feedback.test.d.ts +0 -2
- package/dist/knowledge/__tests__/learning-pipeline-feedback.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/learning-pipeline-feedback.test.js +0 -425
- package/dist/knowledge/__tests__/learning-pipeline-feedback.test.js.map +0 -1
- package/dist/knowledge/__tests__/learning-pipeline-persistence.test.d.ts +0 -2
- package/dist/knowledge/__tests__/learning-pipeline-persistence.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/learning-pipeline-persistence.test.js +0 -928
- package/dist/knowledge/__tests__/learning-pipeline-persistence.test.js.map +0 -1
- package/dist/knowledge/__tests__/learning-pipeline-phase2.test.d.ts +0 -2
- package/dist/knowledge/__tests__/learning-pipeline-phase2.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/learning-pipeline-phase2.test.js +0 -430
- package/dist/knowledge/__tests__/learning-pipeline-phase2.test.js.map +0 -1
- package/dist/knowledge/__tests__/learning-pipeline-sharing.test.d.ts +0 -2
- package/dist/knowledge/__tests__/learning-pipeline-sharing.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/learning-pipeline-sharing.test.js +0 -411
- package/dist/knowledge/__tests__/learning-pipeline-sharing.test.js.map +0 -1
- package/dist/knowledge/__tests__/m16-integration.test.d.ts +0 -2
- package/dist/knowledge/__tests__/m16-integration.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/m16-integration.test.js +0 -332
- package/dist/knowledge/__tests__/m16-integration.test.js.map +0 -1
- package/dist/knowledge/__tests__/memory-lifecycle-phase2.test.d.ts +0 -2
- package/dist/knowledge/__tests__/memory-lifecycle-phase2.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/memory-lifecycle-phase2.test.js +0 -562
- package/dist/knowledge/__tests__/memory-lifecycle-phase2.test.js.map +0 -1
- package/dist/knowledge/__tests__/memory-lifecycle.test.d.ts +0 -2
- package/dist/knowledge/__tests__/memory-lifecycle.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/memory-lifecycle.test.js +0 -432
- package/dist/knowledge/__tests__/memory-lifecycle.test.js.map +0 -1
- package/dist/knowledge/__tests__/memory-selection.test.d.ts +0 -2
- package/dist/knowledge/__tests__/memory-selection.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/memory-selection.test.js +0 -423
- package/dist/knowledge/__tests__/memory-selection.test.js.map +0 -1
- package/dist/knowledge/__tests__/memory-tier.test.d.ts +0 -2
- package/dist/knowledge/__tests__/memory-tier.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/memory-tier.test.js +0 -413
- package/dist/knowledge/__tests__/memory-tier.test.js.map +0 -1
- package/dist/knowledge/__tests__/transfer-trust.test.d.ts +0 -2
- package/dist/knowledge/__tests__/transfer-trust.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/transfer-trust.test.js +0 -137
- package/dist/knowledge/__tests__/transfer-trust.test.js.map +0 -1
- package/dist/knowledge/__tests__/vector-index.test.d.ts +0 -2
- package/dist/knowledge/__tests__/vector-index.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/vector-index.test.js +0 -152
- package/dist/knowledge/__tests__/vector-index.test.js.map +0 -1
- package/dist/knowledge/drive-score-adapter.d.ts +0 -39
- package/dist/knowledge/drive-score-adapter.d.ts.map +0 -1
- package/dist/knowledge/drive-score-adapter.js +0 -32
- package/dist/knowledge/drive-score-adapter.js.map +0 -1
- package/dist/knowledge/embedding-client.d.ts +0 -49
- package/dist/knowledge/embedding-client.d.ts.map +0 -1
- package/dist/knowledge/embedding-client.js +0 -141
- package/dist/knowledge/embedding-client.js.map +0 -1
- package/dist/knowledge/knowledge-decisions.d.ts +0 -41
- package/dist/knowledge/knowledge-decisions.d.ts.map +0 -1
- package/dist/knowledge/knowledge-decisions.js +0 -191
- package/dist/knowledge/knowledge-decisions.js.map +0 -1
- package/dist/knowledge/knowledge-graph.d.ts +0 -74
- package/dist/knowledge/knowledge-graph.d.ts.map +0 -1
- package/dist/knowledge/knowledge-graph.js +0 -207
- package/dist/knowledge/knowledge-graph.js.map +0 -1
- package/dist/knowledge/knowledge-manager-query 2.d.ts +0 -87
- package/dist/knowledge/knowledge-manager-query 2.d.ts.map +0 -1
- package/dist/knowledge/knowledge-manager-query 2.js +0 -287
- package/dist/knowledge/knowledge-manager-query 2.js.map +0 -1
- package/dist/knowledge/knowledge-manager-query.d.ts +0 -87
- package/dist/knowledge/knowledge-manager-query.d.ts.map +0 -1
- package/dist/knowledge/knowledge-manager-query.js +0 -287
- package/dist/knowledge/knowledge-manager-query.js.map +0 -1
- package/dist/knowledge/knowledge-manager.d.ts +0 -121
- package/dist/knowledge/knowledge-manager.d.ts.map +0 -1
- package/dist/knowledge/knowledge-manager.js +0 -249
- package/dist/knowledge/knowledge-manager.js.map +0 -1
- package/dist/knowledge/knowledge-revalidation.d.ts +0 -27
- package/dist/knowledge/knowledge-revalidation.d.ts.map +0 -1
- package/dist/knowledge/knowledge-revalidation.js +0 -130
- package/dist/knowledge/knowledge-revalidation.js.map +0 -1
- package/dist/knowledge/knowledge-search.d.ts +0 -42
- package/dist/knowledge/knowledge-search.d.ts.map +0 -1
- package/dist/knowledge/knowledge-search.js +0 -96
- package/dist/knowledge/knowledge-search.js.map +0 -1
- package/dist/knowledge/learning/learning-cross-goal.d.ts +0 -19
- package/dist/knowledge/learning/learning-cross-goal.d.ts.map +0 -1
- package/dist/knowledge/learning/learning-cross-goal.js +0 -173
- package/dist/knowledge/learning/learning-cross-goal.js.map +0 -1
- package/dist/knowledge/learning/learning-exports.d.ts +0 -4
- package/dist/knowledge/learning/learning-exports.d.ts.map +0 -1
- package/dist/knowledge/learning/learning-exports.js +0 -3
- package/dist/knowledge/learning/learning-exports.js.map +0 -1
- package/dist/knowledge/learning/learning-feedback.d.ts +0 -26
- package/dist/knowledge/learning/learning-feedback.d.ts.map +0 -1
- package/dist/knowledge/learning/learning-feedback.js +0 -183
- package/dist/knowledge/learning/learning-feedback.js.map +0 -1
- package/dist/knowledge/learning/learning-pipeline-prompts.d.ts +0 -134
- package/dist/knowledge/learning/learning-pipeline-prompts.d.ts.map +0 -1
- package/dist/knowledge/learning/learning-pipeline-prompts.js +0 -103
- package/dist/knowledge/learning/learning-pipeline-prompts.js.map +0 -1
- package/dist/knowledge/learning/learning-pipeline.d.ts +0 -105
- package/dist/knowledge/learning/learning-pipeline.d.ts.map +0 -1
- package/dist/knowledge/learning/learning-pipeline.js +0 -465
- package/dist/knowledge/learning/learning-pipeline.js.map +0 -1
- package/dist/knowledge/memory/memory-compression.d.ts +0 -44
- package/dist/knowledge/memory/memory-compression.d.ts.map +0 -1
- package/dist/knowledge/memory/memory-compression.js +0 -291
- package/dist/knowledge/memory/memory-compression.js.map +0 -1
- package/dist/knowledge/memory/memory-distill.d.ts +0 -31
- package/dist/knowledge/memory/memory-distill.d.ts.map +0 -1
- package/dist/knowledge/memory/memory-distill.js +0 -170
- package/dist/knowledge/memory/memory-distill.js.map +0 -1
- package/dist/knowledge/memory/memory-exports.d.ts +0 -7
- package/dist/knowledge/memory/memory-exports.d.ts.map +0 -1
- package/dist/knowledge/memory/memory-exports.js +0 -6
- package/dist/knowledge/memory/memory-exports.js.map +0 -1
- package/dist/knowledge/memory/memory-index.d.ts +0 -11
- package/dist/knowledge/memory/memory-index.d.ts.map +0 -1
- package/dist/knowledge/memory/memory-index.js +0 -134
- package/dist/knowledge/memory/memory-index.js.map +0 -1
- package/dist/knowledge/memory/memory-lifecycle.d.ts +0 -169
- package/dist/knowledge/memory/memory-lifecycle.d.ts.map +0 -1
- package/dist/knowledge/memory/memory-lifecycle.js +0 -402
- package/dist/knowledge/memory/memory-lifecycle.js.map +0 -1
- package/dist/knowledge/memory/memory-persistence.d.ts +0 -30
- package/dist/knowledge/memory/memory-persistence.d.ts.map +0 -1
- package/dist/knowledge/memory/memory-persistence.js +0 -135
- package/dist/knowledge/memory/memory-persistence.js.map +0 -1
- package/dist/knowledge/memory/memory-query.d.ts +0 -4
- package/dist/knowledge/memory/memory-query.d.ts.map +0 -1
- package/dist/knowledge/memory/memory-query.js +0 -64
- package/dist/knowledge/memory/memory-query.js.map +0 -1
- package/dist/knowledge/memory/memory-selection.d.ts +0 -73
- package/dist/knowledge/memory/memory-selection.d.ts.map +0 -1
- package/dist/knowledge/memory/memory-selection.js +0 -328
- package/dist/knowledge/memory/memory-selection.js.map +0 -1
- package/dist/knowledge/memory/memory-stats.d.ts +0 -7
- package/dist/knowledge/memory/memory-stats.d.ts.map +0 -1
- package/dist/knowledge/memory/memory-stats.js +0 -162
- package/dist/knowledge/memory/memory-stats.js.map +0 -1
- package/dist/knowledge/memory/memory-tier.d.ts +0 -65
- package/dist/knowledge/memory/memory-tier.d.ts.map +0 -1
- package/dist/knowledge/memory/memory-tier.js +0 -243
- package/dist/knowledge/memory/memory-tier.js.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-apply.d.ts +0 -48
- package/dist/knowledge/transfer/knowledge-transfer-apply.d.ts.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-apply.js +0 -221
- package/dist/knowledge/transfer/knowledge-transfer-apply.js.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-detect.d.ts +0 -28
- package/dist/knowledge/transfer/knowledge-transfer-detect.d.ts.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-detect.js +0 -128
- package/dist/knowledge/transfer/knowledge-transfer-detect.js.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-evaluate.d.ts +0 -22
- package/dist/knowledge/transfer/knowledge-transfer-evaluate.d.ts.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-evaluate.js +0 -109
- package/dist/knowledge/transfer/knowledge-transfer-evaluate.js.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-meta.d.ts +0 -38
- package/dist/knowledge/transfer/knowledge-transfer-meta.d.ts.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-meta.js +0 -180
- package/dist/knowledge/transfer/knowledge-transfer-meta.js.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-prompts.d.ts +0 -46
- package/dist/knowledge/transfer/knowledge-transfer-prompts.d.ts.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-prompts.js +0 -75
- package/dist/knowledge/transfer/knowledge-transfer-prompts.js.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-types.d.ts +0 -20
- package/dist/knowledge/transfer/knowledge-transfer-types.d.ts.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-types.js +0 -25
- package/dist/knowledge/transfer/knowledge-transfer-types.js.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer.d.ts +0 -83
- package/dist/knowledge/transfer/knowledge-transfer.d.ts.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer.js +0 -140
- package/dist/knowledge/transfer/knowledge-transfer.js.map +0 -1
- package/dist/knowledge/transfer/transfer-trust.d.ts +0 -40
- package/dist/knowledge/transfer/transfer-trust.d.ts.map +0 -1
- package/dist/knowledge/transfer/transfer-trust.js +0 -137
- package/dist/knowledge/transfer/transfer-trust.js.map +0 -1
- package/dist/knowledge/types/embedding.d.ts +0 -59
- package/dist/knowledge/types/embedding.d.ts.map +0 -1
- package/dist/knowledge/types/embedding.js +0 -22
- package/dist/knowledge/types/embedding.js.map +0 -1
- package/dist/knowledge/types/knowledge.d.ts +0 -402
- package/dist/knowledge/types/knowledge.d.ts.map +0 -1
- package/dist/knowledge/types/knowledge.js +0 -116
- package/dist/knowledge/types/knowledge.js.map +0 -1
- package/dist/knowledge/types/learning.d.ts +0 -292
- package/dist/knowledge/types/learning.d.ts.map +0 -1
- package/dist/knowledge/types/learning.js +0 -117
- package/dist/knowledge/types/learning.js.map +0 -1
- package/dist/knowledge/types/memory-lifecycle.d.ts +0 -615
- package/dist/knowledge/types/memory-lifecycle.d.ts.map +0 -1
- package/dist/knowledge/types/memory-lifecycle.js +0 -159
- package/dist/knowledge/types/memory-lifecycle.js.map +0 -1
- package/dist/knowledge/vector-index.d.ts +0 -65
- package/dist/knowledge/vector-index.d.ts.map +0 -1
- package/dist/knowledge/vector-index.js +0 -158
- package/dist/knowledge/vector-index.js.map +0 -1
- package/dist/llm/base-llm-client.d.ts +0 -83
- package/dist/llm/base-llm-client.d.ts.map +0 -1
- package/dist/llm/base-llm-client.js +0 -210
- package/dist/llm/base-llm-client.js.map +0 -1
- package/dist/llm/codex-llm-client.d.ts +0 -43
- package/dist/llm/codex-llm-client.d.ts.map +0 -1
- package/dist/llm/codex-llm-client.js +0 -188
- package/dist/llm/codex-llm-client.js.map +0 -1
- package/dist/llm/json-sanitizer.d.ts +0 -34
- package/dist/llm/json-sanitizer.d.ts.map +0 -1
- package/dist/llm/json-sanitizer.js +0 -110
- package/dist/llm/json-sanitizer.js.map +0 -1
- package/dist/llm/llm-client.d.ts +0 -86
- package/dist/llm/llm-client.d.ts.map +0 -1
- package/dist/llm/llm-client.js +0 -205
- package/dist/llm/llm-client.js.map +0 -1
- package/dist/llm/ollama-client.d.ts +0 -27
- package/dist/llm/ollama-client.d.ts.map +0 -1
- package/dist/llm/ollama-client.js +0 -111
- package/dist/llm/ollama-client.js.map +0 -1
- package/dist/llm/openai-client.d.ts +0 -37
- package/dist/llm/openai-client.d.ts.map +0 -1
- package/dist/llm/openai-client.js +0 -156
- package/dist/llm/openai-client.js.map +0 -1
- package/dist/llm/provider-config.d.ts +0 -102
- package/dist/llm/provider-config.d.ts.map +0 -1
- package/dist/llm/provider-config.js +0 -320
- package/dist/llm/provider-config.js.map +0 -1
- package/dist/llm/provider-factory.d.ts +0 -24
- package/dist/llm/provider-factory.d.ts.map +0 -1
- package/dist/llm/provider-factory.js +0 -134
- package/dist/llm/provider-factory.js.map +0 -1
- package/dist/loop/__tests__/core-loop-auto-decompose.test.d.ts +0 -2
- package/dist/loop/__tests__/core-loop-auto-decompose.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-auto-decompose.test.js +0 -324
- package/dist/loop/__tests__/core-loop-auto-decompose.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-capability.test.d.ts +0 -2
- package/dist/loop/__tests__/core-loop-capability.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-capability.test.js +0 -362
- package/dist/loop/__tests__/core-loop-capability.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-checkpoint.test.d.ts +0 -2
- package/dist/loop/__tests__/core-loop-checkpoint.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-checkpoint.test.js +0 -323
- package/dist/loop/__tests__/core-loop-checkpoint.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-drive-context.test.d.ts +0 -2
- package/dist/loop/__tests__/core-loop-drive-context.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-drive-context.test.js +0 -349
- package/dist/loop/__tests__/core-loop-drive-context.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-flow.test.d.ts +0 -2
- package/dist/loop/__tests__/core-loop-flow.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-flow.test.js +0 -676
- package/dist/loop/__tests__/core-loop-flow.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-integration.test.d.ts +0 -11
- package/dist/loop/__tests__/core-loop-integration.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-integration.test.js +0 -295
- package/dist/loop/__tests__/core-loop-integration.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-integrations.test.d.ts +0 -2
- package/dist/loop/__tests__/core-loop-integrations.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-integrations.test.js +0 -658
- package/dist/loop/__tests__/core-loop-integrations.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-iteration.test.d.ts +0 -2
- package/dist/loop/__tests__/core-loop-iteration.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-iteration.test.js +0 -484
- package/dist/loop/__tests__/core-loop-iteration.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-memory-tier.test.d.ts +0 -11
- package/dist/loop/__tests__/core-loop-memory-tier.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-memory-tier.test.js +0 -325
- package/dist/loop/__tests__/core-loop-memory-tier.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-orchestrator-regression.test.d.ts +0 -2
- package/dist/loop/__tests__/core-loop-orchestrator-regression.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-orchestrator-regression.test.js +0 -360
- package/dist/loop/__tests__/core-loop-orchestrator-regression.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-reporting.test.d.ts +0 -2
- package/dist/loop/__tests__/core-loop-reporting.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-reporting.test.js +0 -589
- package/dist/loop/__tests__/core-loop-reporting.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-stall-refine.test.d.ts +0 -15
- package/dist/loop/__tests__/core-loop-stall-refine.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-stall-refine.test.js +0 -399
- package/dist/loop/__tests__/core-loop-stall-refine.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-tree.test.d.ts +0 -2
- package/dist/loop/__tests__/core-loop-tree.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-tree.test.js +0 -626
- package/dist/loop/__tests__/core-loop-tree.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop.test.d.ts +0 -2
- package/dist/loop/__tests__/core-loop.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop.test.js +0 -550
- package/dist/loop/__tests__/core-loop.test.js.map +0 -1
- package/dist/loop/__tests__/iteration-budget.test.d.ts +0 -2
- package/dist/loop/__tests__/iteration-budget.test.d.ts.map +0 -1
- package/dist/loop/__tests__/iteration-budget.test.js +0 -423
- package/dist/loop/__tests__/iteration-budget.test.js.map +0 -1
- package/dist/loop/__tests__/r1-core-loop-completion.test.d.ts +0 -11
- package/dist/loop/__tests__/r1-core-loop-completion.test.d.ts.map +0 -1
- package/dist/loop/__tests__/r1-core-loop-completion.test.js +0 -315
- package/dist/loop/__tests__/r1-core-loop-completion.test.js.map +0 -1
- package/dist/loop/checkpoint-manager-loop.d.ts +0 -28
- package/dist/loop/checkpoint-manager-loop.d.ts.map +0 -1
- package/dist/loop/checkpoint-manager-loop.js +0 -62
- package/dist/loop/checkpoint-manager-loop.js.map +0 -1
- package/dist/loop/core-loop-capability.d.ts +0 -19
- package/dist/loop/core-loop-capability.d.ts.map +0 -1
- package/dist/loop/core-loop-capability.js +0 -107
- package/dist/loop/core-loop-capability.js.map +0 -1
- package/dist/loop/core-loop-learning.d.ts +0 -34
- package/dist/loop/core-loop-learning.d.ts.map +0 -1
- package/dist/loop/core-loop-learning.js +0 -78
- package/dist/loop/core-loop-learning.js.map +0 -1
- package/dist/loop/core-loop-phases-b.d.ts +0 -31
- package/dist/loop/core-loop-phases-b.d.ts.map +0 -1
- package/dist/loop/core-loop-phases-b.js +0 -458
- package/dist/loop/core-loop-phases-b.js.map +0 -1
- package/dist/loop/core-loop-phases-c.d.ts +0 -27
- package/dist/loop/core-loop-phases-c.d.ts.map +0 -1
- package/dist/loop/core-loop-phases-c.js +0 -72
- package/dist/loop/core-loop-phases-c.js.map +0 -1
- package/dist/loop/core-loop-phases.d.ts +0 -57
- package/dist/loop/core-loop-phases.d.ts.map +0 -1
- package/dist/loop/core-loop-phases.js +0 -290
- package/dist/loop/core-loop-phases.js.map +0 -1
- package/dist/loop/core-loop-types.d.ts +0 -277
- package/dist/loop/core-loop-types.d.ts.map +0 -1
- package/dist/loop/core-loop-types.js +0 -64
- package/dist/loop/core-loop-types.js.map +0 -1
- package/dist/loop/core-loop.d.ts +0 -54
- package/dist/loop/core-loop.d.ts.map +0 -1
- package/dist/loop/core-loop.js +0 -353
- package/dist/loop/core-loop.js.map +0 -1
- package/dist/loop/iteration-budget.d.ts +0 -39
- package/dist/loop/iteration-budget.d.ts.map +0 -1
- package/dist/loop/iteration-budget.js +0 -57
- package/dist/loop/iteration-budget.js.map +0 -1
- package/dist/loop/loop-report-helper.d.ts +0 -14
- package/dist/loop/loop-report-helper.d.ts.map +0 -1
- package/dist/loop/loop-report-helper.js +0 -57
- package/dist/loop/loop-report-helper.js.map +0 -1
- package/dist/loop/parallel-dispatch.d.ts +0 -16
- package/dist/loop/parallel-dispatch.d.ts.map +0 -1
- package/dist/loop/parallel-dispatch.js +0 -103
- package/dist/loop/parallel-dispatch.js.map +0 -1
- package/dist/loop/post-loop-hooks.d.ts +0 -27
- package/dist/loop/post-loop-hooks.d.ts.map +0 -1
- package/dist/loop/post-loop-hooks.js +0 -99
- package/dist/loop/post-loop-hooks.js.map +0 -1
- package/dist/loop/state-diff.d.ts +0 -41
- package/dist/loop/state-diff.d.ts.map +0 -1
- package/dist/loop/state-diff.js +0 -86
- package/dist/loop/state-diff.js.map +0 -1
- package/dist/loop/tree-loop-runner.d.ts +0 -24
- package/dist/loop/tree-loop-runner.d.ts.map +0 -1
- package/dist/loop/tree-loop-runner.js +0 -169
- package/dist/loop/tree-loop-runner.js.map +0 -1
- package/dist/mcp-server/__tests__/mcp-server.test.d.ts +0 -2
- package/dist/mcp-server/__tests__/mcp-server.test.d.ts.map +0 -1
- package/dist/mcp-server/__tests__/mcp-server.test.js +0 -180
- package/dist/mcp-server/__tests__/mcp-server.test.js.map +0 -1
- package/dist/mcp-server/index.d.ts +0 -4
- package/dist/mcp-server/index.d.ts.map +0 -1
- package/dist/mcp-server/index.js +0 -66
- package/dist/mcp-server/index.js.map +0 -1
- package/dist/mcp-server/tools.d.ts +0 -35
- package/dist/mcp-server/tools.d.ts.map +0 -1
- package/dist/mcp-server/tools.js +0 -160
- package/dist/mcp-server/tools.js.map +0 -1
- package/dist/observation/__tests__/capability-dependency.test.d.ts +0 -2
- package/dist/observation/__tests__/capability-dependency.test.d.ts.map +0 -1
- package/dist/observation/__tests__/capability-dependency.test.js +0 -195
- package/dist/observation/__tests__/capability-dependency.test.js.map +0 -1
- package/dist/observation/__tests__/capability-detector-detect.test.d.ts +0 -2
- package/dist/observation/__tests__/capability-detector-detect.test.d.ts.map +0 -1
- package/dist/observation/__tests__/capability-detector-detect.test.js +0 -357
- package/dist/observation/__tests__/capability-detector-detect.test.js.map +0 -1
- package/dist/observation/__tests__/capability-detector-escalate.test.d.ts +0 -2
- package/dist/observation/__tests__/capability-detector-escalate.test.d.ts.map +0 -1
- package/dist/observation/__tests__/capability-detector-escalate.test.js +0 -283
- package/dist/observation/__tests__/capability-detector-escalate.test.js.map +0 -1
- package/dist/observation/__tests__/capability-detector-goal.test.d.ts +0 -2
- package/dist/observation/__tests__/capability-detector-goal.test.d.ts.map +0 -1
- package/dist/observation/__tests__/capability-detector-goal.test.js +0 -288
- package/dist/observation/__tests__/capability-detector-goal.test.js.map +0 -1
- package/dist/observation/__tests__/capability-detector-verify.test.d.ts +0 -2
- package/dist/observation/__tests__/capability-detector-verify.test.d.ts.map +0 -1
- package/dist/observation/__tests__/capability-detector-verify.test.js +0 -311
- package/dist/observation/__tests__/capability-detector-verify.test.js.map +0 -1
- package/dist/observation/__tests__/context-provider.test.d.ts +0 -2
- package/dist/observation/__tests__/context-provider.test.d.ts.map +0 -1
- package/dist/observation/__tests__/context-provider.test.js +0 -318
- package/dist/observation/__tests__/context-provider.test.js.map +0 -1
- package/dist/observation/__tests__/data-source-adapter.test.d.ts +0 -2
- package/dist/observation/__tests__/data-source-adapter.test.d.ts.map +0 -1
- package/dist/observation/__tests__/data-source-adapter.test.js +0 -382
- package/dist/observation/__tests__/data-source-adapter.test.js.map +0 -1
- package/dist/observation/__tests__/data-source-hotplug.test.d.ts +0 -2
- package/dist/observation/__tests__/data-source-hotplug.test.d.ts.map +0 -1
- package/dist/observation/__tests__/data-source-hotplug.test.js +0 -160
- package/dist/observation/__tests__/data-source-hotplug.test.js.map +0 -1
- package/dist/observation/__tests__/observation-crossvalidation-override.test.d.ts +0 -2
- package/dist/observation/__tests__/observation-crossvalidation-override.test.d.ts.map +0 -1
- package/dist/observation/__tests__/observation-crossvalidation-override.test.js +0 -339
- package/dist/observation/__tests__/observation-crossvalidation-override.test.js.map +0 -1
- package/dist/observation/__tests__/observation-engine-context.test.d.ts +0 -2
- package/dist/observation/__tests__/observation-engine-context.test.d.ts.map +0 -1
- package/dist/observation/__tests__/observation-engine-context.test.js +0 -258
- package/dist/observation/__tests__/observation-engine-context.test.js.map +0 -1
- package/dist/observation/__tests__/observation-engine-crossvalidation.test.d.ts +0 -2
- package/dist/observation/__tests__/observation-engine-crossvalidation.test.d.ts.map +0 -1
- package/dist/observation/__tests__/observation-engine-crossvalidation.test.js +0 -222
- package/dist/observation/__tests__/observation-engine-crossvalidation.test.js.map +0 -1
- package/dist/observation/__tests__/observation-engine-dedup.test.d.ts +0 -2
- package/dist/observation/__tests__/observation-engine-dedup.test.d.ts.map +0 -1
- package/dist/observation/__tests__/observation-engine-dedup.test.js +0 -88
- package/dist/observation/__tests__/observation-engine-dedup.test.js.map +0 -1
- package/dist/observation/__tests__/observation-engine-llm.test.d.ts +0 -2
- package/dist/observation/__tests__/observation-engine-llm.test.d.ts.map +0 -1
- package/dist/observation/__tests__/observation-engine-llm.test.js +0 -474
- package/dist/observation/__tests__/observation-engine-llm.test.js.map +0 -1
- package/dist/observation/__tests__/observation-engine-prompt.test.d.ts +0 -2
- package/dist/observation/__tests__/observation-engine-prompt.test.d.ts.map +0 -1
- package/dist/observation/__tests__/observation-engine-prompt.test.js +0 -211
- package/dist/observation/__tests__/observation-engine-prompt.test.js.map +0 -1
- package/dist/observation/__tests__/observation-engine.test.d.ts +0 -2
- package/dist/observation/__tests__/observation-engine.test.d.ts.map +0 -1
- package/dist/observation/__tests__/observation-engine.test.js +0 -806
- package/dist/observation/__tests__/observation-engine.test.js.map +0 -1
- package/dist/observation/__tests__/observation-llm-guard.test.d.ts +0 -2
- package/dist/observation/__tests__/observation-llm-guard.test.d.ts.map +0 -1
- package/dist/observation/__tests__/observation-llm-guard.test.js +0 -353
- package/dist/observation/__tests__/observation-llm-guard.test.js.map +0 -1
- package/dist/observation/__tests__/observation-llm.test.d.ts +0 -2
- package/dist/observation/__tests__/observation-llm.test.d.ts.map +0 -1
- package/dist/observation/__tests__/observation-llm.test.js +0 -29
- package/dist/observation/__tests__/observation-llm.test.js.map +0 -1
- package/dist/observation/__tests__/observation-score-clamp.test.d.ts +0 -2
- package/dist/observation/__tests__/observation-score-clamp.test.d.ts.map +0 -1
- package/dist/observation/__tests__/observation-score-clamp.test.js +0 -165
- package/dist/observation/__tests__/observation-score-clamp.test.js.map +0 -1
- package/dist/observation/__tests__/shell-datasource-auto.test.d.ts +0 -2
- package/dist/observation/__tests__/shell-datasource-auto.test.d.ts.map +0 -1
- package/dist/observation/__tests__/shell-datasource-auto.test.js +0 -217
- package/dist/observation/__tests__/shell-datasource-auto.test.js.map +0 -1
- package/dist/observation/__tests__/workspace-context.test.d.ts +0 -2
- package/dist/observation/__tests__/workspace-context.test.d.ts.map +0 -1
- package/dist/observation/__tests__/workspace-context.test.js +0 -291
- package/dist/observation/__tests__/workspace-context.test.js.map +0 -1
- package/dist/observation/capability-dependencies.d.ts +0 -45
- package/dist/observation/capability-dependencies.d.ts.map +0 -1
- package/dist/observation/capability-dependencies.js +0 -208
- package/dist/observation/capability-dependencies.js.map +0 -1
- package/dist/observation/capability-detector.d.ts +0 -72
- package/dist/observation/capability-detector.d.ts.map +0 -1
- package/dist/observation/capability-detector.js +0 -373
- package/dist/observation/capability-detector.js.map +0 -1
- package/dist/observation/capability-registry.d.ts +0 -48
- package/dist/observation/capability-registry.d.ts.map +0 -1
- package/dist/observation/capability-registry.js +0 -135
- package/dist/observation/capability-registry.js.map +0 -1
- package/dist/observation/context-provider.d.ts +0 -54
- package/dist/observation/context-provider.d.ts.map +0 -1
- package/dist/observation/context-provider.js +0 -312
- package/dist/observation/context-provider.js.map +0 -1
- package/dist/observation/data-source-adapter.d.ts +0 -42
- package/dist/observation/data-source-adapter.d.ts.map +0 -1
- package/dist/observation/data-source-adapter.js +0 -227
- package/dist/observation/data-source-adapter.js.map +0 -1
- package/dist/observation/dimension-pre-checker.d.ts +0 -24
- package/dist/observation/dimension-pre-checker.d.ts.map +0 -1
- package/dist/observation/dimension-pre-checker.js +0 -104
- package/dist/observation/dimension-pre-checker.js.map +0 -1
- package/dist/observation/observation-apply.d.ts +0 -18
- package/dist/observation/observation-apply.d.ts.map +0 -1
- package/dist/observation/observation-apply.js +0 -184
- package/dist/observation/observation-apply.js.map +0 -1
- package/dist/observation/observation-datasource.d.ts +0 -21
- package/dist/observation/observation-datasource.d.ts.map +0 -1
- package/dist/observation/observation-datasource.js +0 -103
- package/dist/observation/observation-datasource.js.map +0 -1
- package/dist/observation/observation-engine.d.ts +0 -160
- package/dist/observation/observation-engine.d.ts.map +0 -1
- package/dist/observation/observation-engine.js +0 -490
- package/dist/observation/observation-engine.js.map +0 -1
- package/dist/observation/observation-helpers.d.ts +0 -114
- package/dist/observation/observation-helpers.d.ts.map +0 -1
- package/dist/observation/observation-helpers.js +0 -173
- package/dist/observation/observation-helpers.js.map +0 -1
- package/dist/observation/observation-llm.d.ts +0 -63
- package/dist/observation/observation-llm.d.ts.map +0 -1
- package/dist/observation/observation-llm.js +0 -407
- package/dist/observation/observation-llm.js.map +0 -1
- package/dist/observation/observation-task.d.ts +0 -29
- package/dist/observation/observation-task.d.ts.map +0 -1
- package/dist/observation/observation-task.js +0 -51
- package/dist/observation/observation-task.js.map +0 -1
- package/dist/observation/types/capability.d.ts +0 -292
- package/dist/observation/types/capability.d.ts.map +0 -1
- package/dist/observation/types/capability.js +0 -53
- package/dist/observation/types/capability.js.map +0 -1
- package/dist/observation/types/data-source.d.ts +0 -311
- package/dist/observation/types/data-source.d.ts.map +0 -1
- package/dist/observation/types/data-source.js +0 -53
- package/dist/observation/types/data-source.js.map +0 -1
- package/dist/observation/workspace-context.d.ts +0 -8
- package/dist/observation/workspace-context.d.ts.map +0 -1
- package/dist/observation/workspace-context.js +0 -308
- package/dist/observation/workspace-context.js.map +0 -1
- package/dist/orchestrator/__tests__/goal-loop-guard.test.d.ts +0 -2
- package/dist/orchestrator/__tests__/goal-loop-guard.test.d.ts.map +0 -1
- package/dist/orchestrator/__tests__/goal-loop-guard.test.js +0 -48
- package/dist/orchestrator/__tests__/goal-loop-guard.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/adapter-layer.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/adapter-layer.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/adapter-layer.test.js +0 -88
- package/dist/orchestrator/execution/__tests__/adapter-layer.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/checkpoint-manager.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/checkpoint-manager.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/checkpoint-manager.test.js +0 -304
- package/dist/orchestrator/execution/__tests__/checkpoint-manager.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/completion-judger-timeout.test.d.ts +0 -11
- package/dist/orchestrator/execution/__tests__/completion-judger-timeout.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/completion-judger-timeout.test.js +0 -260
- package/dist/orchestrator/execution/__tests__/completion-judger-timeout.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/context-budget.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/context-budget.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/context-budget.test.js +0 -218
- package/dist/orchestrator/execution/__tests__/context-budget.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/duplicate-task-guard.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/duplicate-task-guard.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/duplicate-task-guard.test.js +0 -187
- package/dist/orchestrator/execution/__tests__/duplicate-task-guard.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/failure-context-injection.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/failure-context-injection.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/failure-context-injection.test.js +0 -227
- package/dist/orchestrator/execution/__tests__/failure-context-injection.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/impact-analyzer.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/impact-analyzer.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/impact-analyzer.test.js +0 -117
- package/dist/orchestrator/execution/__tests__/impact-analyzer.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/issue-context-fetcher.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/issue-context-fetcher.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/issue-context-fetcher.test.js +0 -151
- package/dist/orchestrator/execution/__tests__/issue-context-fetcher.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/parallel-executor.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/parallel-executor.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/parallel-executor.test.js +0 -313
- package/dist/orchestrator/execution/__tests__/parallel-executor.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/pipeline-executor.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/pipeline-executor.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/pipeline-executor.test.js +0 -322
- package/dist/orchestrator/execution/__tests__/pipeline-executor.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/reflection-generator.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/reflection-generator.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/reflection-generator.test.js +0 -422
- package/dist/orchestrator/execution/__tests__/reflection-generator.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/result-reconciler.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/result-reconciler.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/result-reconciler.test.js +0 -112
- package/dist/orchestrator/execution/__tests__/result-reconciler.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/session-manager-phase2.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/session-manager-phase2.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/session-manager-phase2.test.js +0 -381
- package/dist/orchestrator/execution/__tests__/session-manager-phase2.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/session-manager.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/session-manager.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/session-manager.test.js +0 -653
- package/dist/orchestrator/execution/__tests__/session-manager.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-generation-group.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-generation-group.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-generation-group.test.js +0 -157
- package/dist/orchestrator/execution/__tests__/task-generation-group.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-cycle.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-lifecycle-cycle.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-cycle.test.js +0 -685
- package/dist/orchestrator/execution/__tests__/task-lifecycle-cycle.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-dimension.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-lifecycle-dimension.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-dimension.test.js +0 -325
- package/dist/orchestrator/execution/__tests__/task-lifecycle-dimension.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-ethics.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-lifecycle-ethics.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-ethics.test.js +0 -732
- package/dist/orchestrator/execution/__tests__/task-lifecycle-ethics.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-execution.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-lifecycle-execution.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-execution.test.js +0 -441
- package/dist/orchestrator/execution/__tests__/task-lifecycle-execution.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-generation.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-lifecycle-generation.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-generation.test.js +0 -457
- package/dist/orchestrator/execution/__tests__/task-lifecycle-generation.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-healthcheck.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-lifecycle-healthcheck.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-healthcheck.test.js +0 -325
- package/dist/orchestrator/execution/__tests__/task-lifecycle-healthcheck.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verdict.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verdict.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verdict.test.js +0 -683
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verdict.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verification.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verification.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verification.test.js +0 -526
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verification.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-lifecycle.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle.test.js +0 -503
- package/dist/orchestrator/execution/__tests__/task-lifecycle.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-prompt-builder.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-prompt-builder.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-prompt-builder.test.js +0 -148
- package/dist/orchestrator/execution/__tests__/task-prompt-builder.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-verifier-guards.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-verifier-guards.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-verifier-guards.test.js +0 -735
- package/dist/orchestrator/execution/__tests__/task-verifier-guards.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-verifier.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-verifier.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-verifier.test.js +0 -113
- package/dist/orchestrator/execution/__tests__/task-verifier.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/toolset-lock.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/toolset-lock.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/toolset-lock.test.js +0 -204
- package/dist/orchestrator/execution/__tests__/toolset-lock.test.js.map +0 -1
- package/dist/orchestrator/execution/adapter-layer 2.d.ts +0 -100
- package/dist/orchestrator/execution/adapter-layer 2.d.ts.map +0 -1
- package/dist/orchestrator/execution/adapter-layer 2.js +0 -123
- package/dist/orchestrator/execution/adapter-layer 2.js.map +0 -1
- package/dist/orchestrator/execution/checkpoint-manager 2.d.ts +0 -49
- package/dist/orchestrator/execution/checkpoint-manager 2.d.ts.map +0 -1
- package/dist/orchestrator/execution/checkpoint-manager 2.js +0 -143
- package/dist/orchestrator/execution/checkpoint-manager 2.js.map +0 -1
- package/dist/orchestrator/execution/impact-analyzer 2.d.ts +0 -24
- package/dist/orchestrator/execution/impact-analyzer 2.d.ts.map +0 -1
- package/dist/orchestrator/execution/impact-analyzer 2.js +0 -88
- package/dist/orchestrator/execution/impact-analyzer 2.js.map +0 -1
- package/dist/orchestrator/execution/parallel-executor 2.d.ts +0 -38
- package/dist/orchestrator/execution/parallel-executor 2.d.ts.map +0 -1
- package/dist/orchestrator/execution/parallel-executor 2.js +0 -172
- package/dist/orchestrator/execution/parallel-executor 2.js.map +0 -1
- package/dist/orchestrator/execution/pipeline-executor 2.d.ts +0 -54
- package/dist/orchestrator/execution/pipeline-executor 2.d.ts.map +0 -1
- package/dist/orchestrator/execution/pipeline-executor 2.js +0 -250
- package/dist/orchestrator/execution/pipeline-executor 2.js.map +0 -1
- package/dist/orchestrator/execution/reflection-generator 2.d.ts +0 -24
- package/dist/orchestrator/execution/reflection-generator 2.d.ts.map +0 -1
- package/dist/orchestrator/execution/reflection-generator 2.js +0 -143
- package/dist/orchestrator/execution/reflection-generator 2.js.map +0 -1
- package/dist/orchestrator/execution/result-reconciler 2.d.ts +0 -23
- package/dist/orchestrator/execution/result-reconciler 2.d.ts.map +0 -1
- package/dist/orchestrator/execution/result-reconciler 2.js +0 -109
- package/dist/orchestrator/execution/result-reconciler 2.js.map +0 -1
- package/dist/orchestrator/execution/session-manager 2.d.ts +0 -153
- package/dist/orchestrator/execution/session-manager 2.d.ts.map +0 -1
- package/dist/orchestrator/execution/session-manager 2.js +0 -393
- package/dist/orchestrator/execution/session-manager 2.js.map +0 -1
- package/dist/orchestrator/execution/toolset-lock 2.d.ts +0 -27
- package/dist/orchestrator/execution/toolset-lock 2.d.ts.map +0 -1
- package/dist/orchestrator/execution/toolset-lock 2.js +0 -49
- package/dist/orchestrator/execution/toolset-lock 2.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-cli-refine.test.d.ts +0 -8
- package/dist/orchestrator/goal/__tests__/goal-cli-refine.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-cli-refine.test.js +0 -237
- package/dist/orchestrator/goal/__tests__/goal-cli-refine.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-dependency-graph.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-dependency-graph.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-dependency-graph.test.js +0 -352
- package/dist/orchestrator/goal/__tests__/goal-dependency-graph.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-character.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-negotiator-character.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-character.test.js +0 -650
- package/dist/orchestrator/goal/__tests__/goal-negotiator-character.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-core.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-negotiator-core.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-core.test.js +0 -370
- package/dist/orchestrator/goal/__tests__/goal-negotiator-core.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-decompose.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-negotiator-decompose.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-decompose.test.js +0 -876
- package/dist/orchestrator/goal/__tests__/goal-negotiator-decompose.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-negotiate.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-negotiator-negotiate.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-negotiate.test.js +0 -411
- package/dist/orchestrator/goal/__tests__/goal-negotiator-negotiate.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest-filter.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest-filter.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest-filter.test.js +0 -258
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest-filter.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest.test.js +0 -280
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-refiner.refine.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-refiner.refine.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-refiner.refine.test.js +0 -291
- package/dist/orchestrator/goal/__tests__/goal-refiner.refine.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-refiner.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-refiner.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-refiner.test.js +0 -509
- package/dist/orchestrator/goal/__tests__/goal-refiner.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-suggest-timeout.test.d.ts +0 -10
- package/dist/orchestrator/goal/__tests__/goal-suggest-timeout.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-suggest-timeout.test.js +0 -63
- package/dist/orchestrator/goal/__tests__/goal-suggest-timeout.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-tree-concreteness.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-tree-concreteness.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-tree-concreteness.test.js +0 -391
- package/dist/orchestrator/goal/__tests__/goal-tree-concreteness.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-tree-manager.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-tree-manager.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-tree-manager.test.js +0 -828
- package/dist/orchestrator/goal/__tests__/goal-tree-manager.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-tree-quality.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-tree-quality.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-tree-quality.test.js +0 -150
- package/dist/orchestrator/goal/__tests__/goal-tree-quality.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goalNegotiator.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goalNegotiator.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goalNegotiator.test.js +0 -418
- package/dist/orchestrator/goal/__tests__/goalNegotiator.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/negotiate-context.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/negotiate-context.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/negotiate-context.test.js +0 -192
- package/dist/orchestrator/goal/__tests__/negotiate-context.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/refine.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/refine.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/refine.test.js +0 -354
- package/dist/orchestrator/goal/__tests__/refine.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/refiner-prompts.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/refiner-prompts.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/refiner-prompts.test.js +0 -92
- package/dist/orchestrator/goal/__tests__/refiner-prompts.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/state-aggregator.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/state-aggregator.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/state-aggregator.test.js +0 -840
- package/dist/orchestrator/goal/__tests__/state-aggregator.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/subgoal-curriculum.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/subgoal-curriculum.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/subgoal-curriculum.test.js +0 -219
- package/dist/orchestrator/goal/__tests__/subgoal-curriculum.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/tree-loop-orchestrator.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/tree-loop-orchestrator.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/tree-loop-orchestrator.test.js +0 -1078
- package/dist/orchestrator/goal/__tests__/tree-loop-orchestrator.test.js.map +0 -1
- package/dist/orchestrator/goal/goal-decomposer 2.d.ts +0 -30
- package/dist/orchestrator/goal/goal-decomposer 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-decomposer 2.js +0 -167
- package/dist/orchestrator/goal/goal-decomposer 2.js.map +0 -1
- package/dist/orchestrator/goal/goal-dependency-graph 2.d.ts +0 -124
- package/dist/orchestrator/goal/goal-dependency-graph 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-dependency-graph 2.js +0 -325
- package/dist/orchestrator/goal/goal-dependency-graph 2.js.map +0 -1
- package/dist/orchestrator/goal/goal-negotiator 2.d.ts +0 -72
- package/dist/orchestrator/goal/goal-negotiator 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-negotiator 2.js +0 -299
- package/dist/orchestrator/goal/goal-negotiator 2.js.map +0 -1
- package/dist/orchestrator/goal/goal-refiner 2.d.ts +0 -48
- package/dist/orchestrator/goal/goal-refiner 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-refiner 2.js +0 -299
- package/dist/orchestrator/goal/goal-refiner 2.js.map +0 -1
- package/dist/orchestrator/goal/goal-suggest 2.d.ts +0 -93
- package/dist/orchestrator/goal/goal-suggest 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-suggest 2.js +0 -254
- package/dist/orchestrator/goal/goal-suggest 2.js.map +0 -1
- package/dist/orchestrator/goal/goal-tree-manager 2.d.ts +0 -72
- package/dist/orchestrator/goal/goal-tree-manager 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-tree-manager 2.js +0 -572
- package/dist/orchestrator/goal/goal-tree-manager 2.js.map +0 -1
- package/dist/orchestrator/goal/goal-tree-pruner 2.d.ts +0 -25
- package/dist/orchestrator/goal/goal-tree-pruner 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-tree-pruner 2.js +0 -93
- package/dist/orchestrator/goal/goal-tree-pruner 2.js.map +0 -1
- package/dist/orchestrator/goal/goal-tree-quality 2.d.ts +0 -22
- package/dist/orchestrator/goal/goal-tree-quality 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-tree-quality 2.js +0 -183
- package/dist/orchestrator/goal/goal-tree-quality 2.js.map +0 -1
- package/dist/orchestrator/goal/goal-validation 2.d.ts +0 -20
- package/dist/orchestrator/goal/goal-validation 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-validation 2.js +0 -93
- package/dist/orchestrator/goal/goal-validation 2.js.map +0 -1
- package/dist/orchestrator/goal/milestone-evaluator 2.d.ts +0 -33
- package/dist/orchestrator/goal/milestone-evaluator 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/milestone-evaluator 2.js +0 -130
- package/dist/orchestrator/goal/milestone-evaluator 2.js.map +0 -1
- package/dist/orchestrator/goal/negotiator-context 2.d.ts +0 -13
- package/dist/orchestrator/goal/negotiator-context 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/negotiator-context 2.js +0 -119
- package/dist/orchestrator/goal/negotiator-context 2.js.map +0 -1
- package/dist/orchestrator/goal/negotiator-prompts 2.d.ts +0 -31
- package/dist/orchestrator/goal/negotiator-prompts 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/negotiator-prompts 2.js +0 -65
- package/dist/orchestrator/goal/negotiator-prompts 2.js.map +0 -1
- package/dist/orchestrator/goal/negotiator-steps 2.d.ts +0 -59
- package/dist/orchestrator/goal/negotiator-steps 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/negotiator-steps 2.js +0 -269
- package/dist/orchestrator/goal/negotiator-steps 2.js.map +0 -1
- package/dist/orchestrator/goal/refiner-prompts 2.d.ts +0 -10
- package/dist/orchestrator/goal/refiner-prompts 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/refiner-prompts 2.js +0 -59
- package/dist/orchestrator/goal/refiner-prompts 2.js.map +0 -1
- package/dist/orchestrator/goal/state-aggregator 2.d.ts +0 -89
- package/dist/orchestrator/goal/state-aggregator 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/state-aggregator 2.js +0 -331
- package/dist/orchestrator/goal/state-aggregator 2.js.map +0 -1
- package/dist/orchestrator/goal/subgoal-curriculum 2.d.ts +0 -30
- package/dist/orchestrator/goal/subgoal-curriculum 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/subgoal-curriculum 2.js +0 -53
- package/dist/orchestrator/goal/subgoal-curriculum 2.js.map +0 -1
- package/dist/orchestrator/goal/tree-loop-orchestrator 2.d.ts +0 -100
- package/dist/orchestrator/goal/tree-loop-orchestrator 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/tree-loop-orchestrator 2.js +0 -269
- package/dist/orchestrator/goal/tree-loop-orchestrator 2.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-auto-decompose.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/core-loop-auto-decompose.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-auto-decompose.test.js +0 -324
- package/dist/orchestrator/loop/__tests__/core-loop-auto-decompose.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-capability.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/core-loop-capability.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-capability.test.js +0 -362
- package/dist/orchestrator/loop/__tests__/core-loop-capability.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-checkpoint.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/core-loop-checkpoint.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-checkpoint.test.js +0 -323
- package/dist/orchestrator/loop/__tests__/core-loop-checkpoint.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-drive-context.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/core-loop-drive-context.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-drive-context.test.js +0 -349
- package/dist/orchestrator/loop/__tests__/core-loop-drive-context.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-flow.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/core-loop-flow.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-flow.test.js +0 -676
- package/dist/orchestrator/loop/__tests__/core-loop-flow.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-integration.test.d.ts +0 -11
- package/dist/orchestrator/loop/__tests__/core-loop-integration.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-integration.test.js +0 -295
- package/dist/orchestrator/loop/__tests__/core-loop-integration.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-integrations.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/core-loop-integrations.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-integrations.test.js +0 -658
- package/dist/orchestrator/loop/__tests__/core-loop-integrations.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-iteration.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/core-loop-iteration.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-iteration.test.js +0 -484
- package/dist/orchestrator/loop/__tests__/core-loop-iteration.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-memory-tier.test.d.ts +0 -11
- package/dist/orchestrator/loop/__tests__/core-loop-memory-tier.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-memory-tier.test.js +0 -325
- package/dist/orchestrator/loop/__tests__/core-loop-memory-tier.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-orchestrator-regression.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/core-loop-orchestrator-regression.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-orchestrator-regression.test.js +0 -360
- package/dist/orchestrator/loop/__tests__/core-loop-orchestrator-regression.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-reporting.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/core-loop-reporting.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-reporting.test.js +0 -589
- package/dist/orchestrator/loop/__tests__/core-loop-reporting.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-stall-refine.test.d.ts +0 -15
- package/dist/orchestrator/loop/__tests__/core-loop-stall-refine.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-stall-refine.test.js +0 -399
- package/dist/orchestrator/loop/__tests__/core-loop-stall-refine.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-tree.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/core-loop-tree.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-tree.test.js +0 -626
- package/dist/orchestrator/loop/__tests__/core-loop-tree.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/core-loop.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop.test.js +0 -550
- package/dist/orchestrator/loop/__tests__/core-loop.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/iteration-budget.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/iteration-budget.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/iteration-budget.test.js +0 -423
- package/dist/orchestrator/loop/__tests__/iteration-budget.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/r1-core-loop-completion.test.d.ts +0 -11
- package/dist/orchestrator/loop/__tests__/r1-core-loop-completion.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/r1-core-loop-completion.test.js +0 -315
- package/dist/orchestrator/loop/__tests__/r1-core-loop-completion.test.js.map +0 -1
- package/dist/orchestrator/loop/core-loop-capability.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop-capability.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop-capability.js +0 -2
- package/dist/orchestrator/loop/core-loop-capability.js.map +0 -1
- package/dist/orchestrator/loop/core-loop-learning.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop-learning.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop-learning.js +0 -2
- package/dist/orchestrator/loop/core-loop-learning.js.map +0 -1
- package/dist/orchestrator/loop/core-loop-phases-b.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop-phases-b.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop-phases-b.js +0 -2
- package/dist/orchestrator/loop/core-loop-phases-b.js.map +0 -1
- package/dist/orchestrator/loop/core-loop-phases-c.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop-phases-c.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop-phases-c.js +0 -2
- package/dist/orchestrator/loop/core-loop-phases-c.js.map +0 -1
- package/dist/orchestrator/loop/core-loop-phases.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop-phases.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop-phases.js +0 -2
- package/dist/orchestrator/loop/core-loop-phases.js.map +0 -1
- package/dist/orchestrator/loop/core-loop-types.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop-types.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop-types.js +0 -2
- package/dist/orchestrator/loop/core-loop-types.js.map +0 -1
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio-phase2.test.d.ts +0 -2
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio-phase2.test.d.ts.map +0 -1
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio-phase2.test.js +0 -472
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio-phase2.test.js.map +0 -1
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio.test.d.ts +0 -2
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio.test.d.ts.map +0 -1
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio.test.js +0 -636
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio.test.js.map +0 -1
- package/dist/orchestrator/strategy/__tests__/portfolio-manager.test.d.ts +0 -2
- package/dist/orchestrator/strategy/__tests__/portfolio-manager.test.d.ts.map +0 -1
- package/dist/orchestrator/strategy/__tests__/portfolio-manager.test.js +0 -730
- package/dist/orchestrator/strategy/__tests__/portfolio-manager.test.js.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-auto-template.test.d.ts +0 -2
- package/dist/orchestrator/strategy/__tests__/strategy-auto-template.test.d.ts.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-auto-template.test.js +0 -164
- package/dist/orchestrator/strategy/__tests__/strategy-auto-template.test.js.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-helpers-unwrap.test.d.ts +0 -2
- package/dist/orchestrator/strategy/__tests__/strategy-helpers-unwrap.test.d.ts.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-helpers-unwrap.test.js +0 -53
- package/dist/orchestrator/strategy/__tests__/strategy-helpers-unwrap.test.js.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-manager-core.test.d.ts +0 -2
- package/dist/orchestrator/strategy/__tests__/strategy-manager-core.test.d.ts.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-manager-core.test.js +0 -342
- package/dist/orchestrator/strategy/__tests__/strategy-manager-core.test.js.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-manager-phase2.test.d.ts +0 -2
- package/dist/orchestrator/strategy/__tests__/strategy-manager-phase2.test.d.ts.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-manager-phase2.test.js +0 -602
- package/dist/orchestrator/strategy/__tests__/strategy-manager-phase2.test.js.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-manager-stall.test.d.ts +0 -2
- package/dist/orchestrator/strategy/__tests__/strategy-manager-stall.test.d.ts.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-manager-stall.test.js +0 -357
- package/dist/orchestrator/strategy/__tests__/strategy-manager-stall.test.js.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-template-embedding.test.d.ts +0 -2
- package/dist/orchestrator/strategy/__tests__/strategy-template-embedding.test.d.ts.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-template-embedding.test.js +0 -310
- package/dist/orchestrator/strategy/__tests__/strategy-template-embedding.test.js.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-template-registry.test.d.ts +0 -2
- package/dist/orchestrator/strategy/__tests__/strategy-template-registry.test.d.ts.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-template-registry.test.js +0 -402
- package/dist/orchestrator/strategy/__tests__/strategy-template-registry.test.js.map +0 -1
- package/dist/platform/drive/__tests__/drive-scorer.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/drive-scorer.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/drive-scorer.test.js +0 -507
- package/dist/platform/drive/__tests__/drive-scorer.test.js.map +0 -1
- package/dist/platform/drive/__tests__/drive-system.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/drive-system.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/drive-system.test.js +0 -456
- package/dist/platform/drive/__tests__/drive-system.test.js.map +0 -1
- package/dist/platform/drive/__tests__/example.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/example.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/example.test.js +0 -314
- package/dist/platform/drive/__tests__/example.test.js.map +0 -1
- package/dist/platform/drive/__tests__/gap-calculator.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/gap-calculator.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/gap-calculator.test.js +0 -619
- package/dist/platform/drive/__tests__/gap-calculator.test.js.map +0 -1
- package/dist/platform/drive/__tests__/progress-predictor.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/progress-predictor.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/progress-predictor.test.js +0 -142
- package/dist/platform/drive/__tests__/progress-predictor.test.js.map +0 -1
- package/dist/platform/drive/__tests__/reward-log.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/reward-log.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/reward-log.test.js +0 -177
- package/dist/platform/drive/__tests__/reward-log.test.js.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-convergence.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/satisficing-judge-convergence.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-convergence.test.js +0 -159
- package/dist/platform/drive/__tests__/satisficing-judge-convergence.test.js.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-dimension-satisfied.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/satisficing-judge-dimension-satisfied.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-dimension-satisfied.test.js +0 -261
- package/dist/platform/drive/__tests__/satisficing-judge-dimension-satisfied.test.js.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-double-confirm.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/satisficing-judge-double-confirm.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-double-confirm.test.js +0 -207
- package/dist/platform/drive/__tests__/satisficing-judge-double-confirm.test.js.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-goal-complete.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/satisficing-judge-goal-complete.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-goal-complete.test.js +0 -359
- package/dist/platform/drive/__tests__/satisficing-judge-goal-complete.test.js.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-propagation-phase2.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/satisficing-judge-propagation-phase2.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-propagation-phase2.test.js +0 -461
- package/dist/platform/drive/__tests__/satisficing-judge-propagation-phase2.test.js.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-threshold-propagation.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/satisficing-judge-threshold-propagation.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-threshold-propagation.test.js +0 -337
- package/dist/platform/drive/__tests__/satisficing-judge-threshold-propagation.test.js.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-tree-convergence.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/satisficing-judge-tree-convergence.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-tree-convergence.test.js +0 -109
- package/dist/platform/drive/__tests__/satisficing-judge-tree-convergence.test.js.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-undershoot.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/satisficing-judge-undershoot.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-undershoot.test.js +0 -221
- package/dist/platform/drive/__tests__/satisficing-judge-undershoot.test.js.map +0 -1
- package/dist/platform/drive/__tests__/stall-detector-analysis.test.d.ts +0 -12
- package/dist/platform/drive/__tests__/stall-detector-analysis.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/stall-detector-analysis.test.js +0 -139
- package/dist/platform/drive/__tests__/stall-detector-analysis.test.js.map +0 -1
- package/dist/platform/drive/__tests__/stall-detector-repetitive.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/stall-detector-repetitive.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/stall-detector-repetitive.test.js +0 -84
- package/dist/platform/drive/__tests__/stall-detector-repetitive.test.js.map +0 -1
- package/dist/platform/drive/__tests__/stall-detector.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/stall-detector.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/stall-detector.test.js +0 -903
- package/dist/platform/drive/__tests__/stall-detector.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/decision-record.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/decision-record.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/decision-record.test.js +0 -141
- package/dist/platform/knowledge/__tests__/decision-record.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/drive-score-adapter.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/drive-score-adapter.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/drive-score-adapter.test.js +0 -110
- package/dist/platform/knowledge/__tests__/drive-score-adapter.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/embedding-client.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/embedding-client.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/embedding-client.test.js +0 -77
- package/dist/platform/knowledge/__tests__/embedding-client.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/hierarchical-memory-integration.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/hierarchical-memory-integration.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/hierarchical-memory-integration.test.js +0 -352
- package/dist/platform/knowledge/__tests__/hierarchical-memory-integration.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-graph.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/knowledge-graph.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-graph.test.js +0 -330
- package/dist/platform/knowledge/__tests__/knowledge-graph.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-manager-phase2.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/knowledge-manager-phase2.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-manager-phase2.test.js +0 -344
- package/dist/platform/knowledge/__tests__/knowledge-manager-phase2.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-manager.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/knowledge-manager.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-manager.test.js +0 -564
- package/dist/platform/knowledge/__tests__/knowledge-manager.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-transfer-apply.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/knowledge-transfer-apply.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-transfer-apply.test.js +0 -291
- package/dist/platform/knowledge/__tests__/knowledge-transfer-apply.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-transfer-auto-apply.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/knowledge-transfer-auto-apply.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-transfer-auto-apply.test.js +0 -293
- package/dist/platform/knowledge/__tests__/knowledge-transfer-auto-apply.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-transfer-detect.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/knowledge-transfer-detect.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-transfer-detect.test.js +0 -315
- package/dist/platform/knowledge/__tests__/knowledge-transfer-detect.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-transfer-evaluate.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/knowledge-transfer-evaluate.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-transfer-evaluate.test.js +0 -593
- package/dist/platform/knowledge/__tests__/knowledge-transfer-evaluate.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-transfer-incremental.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/knowledge-transfer-incremental.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-transfer-incremental.test.js +0 -402
- package/dist/platform/knowledge/__tests__/knowledge-transfer-incremental.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-cross-goal.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/learning-cross-goal.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-cross-goal.test.js +0 -377
- package/dist/platform/knowledge/__tests__/learning-cross-goal.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-pipeline-extraction.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/learning-pipeline-extraction.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-pipeline-extraction.test.js +0 -622
- package/dist/platform/knowledge/__tests__/learning-pipeline-extraction.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-pipeline-feedback.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/learning-pipeline-feedback.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-pipeline-feedback.test.js +0 -425
- package/dist/platform/knowledge/__tests__/learning-pipeline-feedback.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-pipeline-persistence.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/learning-pipeline-persistence.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-pipeline-persistence.test.js +0 -928
- package/dist/platform/knowledge/__tests__/learning-pipeline-persistence.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-pipeline-phase2.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/learning-pipeline-phase2.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-pipeline-phase2.test.js +0 -430
- package/dist/platform/knowledge/__tests__/learning-pipeline-phase2.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-pipeline-sharing.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/learning-pipeline-sharing.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-pipeline-sharing.test.js +0 -411
- package/dist/platform/knowledge/__tests__/learning-pipeline-sharing.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/m16-integration.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/m16-integration.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/m16-integration.test.js +0 -332
- package/dist/platform/knowledge/__tests__/m16-integration.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/memory-lifecycle-phase2.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/memory-lifecycle-phase2.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/memory-lifecycle-phase2.test.js +0 -562
- package/dist/platform/knowledge/__tests__/memory-lifecycle-phase2.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/memory-lifecycle.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/memory-lifecycle.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/memory-lifecycle.test.js +0 -432
- package/dist/platform/knowledge/__tests__/memory-lifecycle.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/memory-selection.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/memory-selection.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/memory-selection.test.js +0 -423
- package/dist/platform/knowledge/__tests__/memory-selection.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/memory-tier.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/memory-tier.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/memory-tier.test.js +0 -413
- package/dist/platform/knowledge/__tests__/memory-tier.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/transfer-trust.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/transfer-trust.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/transfer-trust.test.js +0 -137
- package/dist/platform/knowledge/__tests__/transfer-trust.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/vector-index.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/vector-index.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/vector-index.test.js +0 -152
- package/dist/platform/knowledge/__tests__/vector-index.test.js.map +0 -1
- package/dist/platform/observation/__tests__/capability-dependency.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/capability-dependency.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/capability-dependency.test.js +0 -195
- package/dist/platform/observation/__tests__/capability-dependency.test.js.map +0 -1
- package/dist/platform/observation/__tests__/capability-detector-detect.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/capability-detector-detect.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/capability-detector-detect.test.js +0 -357
- package/dist/platform/observation/__tests__/capability-detector-detect.test.js.map +0 -1
- package/dist/platform/observation/__tests__/capability-detector-escalate.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/capability-detector-escalate.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/capability-detector-escalate.test.js +0 -283
- package/dist/platform/observation/__tests__/capability-detector-escalate.test.js.map +0 -1
- package/dist/platform/observation/__tests__/capability-detector-goal.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/capability-detector-goal.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/capability-detector-goal.test.js +0 -288
- package/dist/platform/observation/__tests__/capability-detector-goal.test.js.map +0 -1
- package/dist/platform/observation/__tests__/capability-detector-verify.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/capability-detector-verify.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/capability-detector-verify.test.js +0 -311
- package/dist/platform/observation/__tests__/capability-detector-verify.test.js.map +0 -1
- package/dist/platform/observation/__tests__/context-provider.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/context-provider.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/context-provider.test.js +0 -318
- package/dist/platform/observation/__tests__/context-provider.test.js.map +0 -1
- package/dist/platform/observation/__tests__/data-source-adapter.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/data-source-adapter.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/data-source-adapter.test.js +0 -382
- package/dist/platform/observation/__tests__/data-source-adapter.test.js.map +0 -1
- package/dist/platform/observation/__tests__/data-source-hotplug.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/data-source-hotplug.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/data-source-hotplug.test.js +0 -160
- package/dist/platform/observation/__tests__/data-source-hotplug.test.js.map +0 -1
- package/dist/platform/observation/__tests__/observation-crossvalidation-override.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/observation-crossvalidation-override.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/observation-crossvalidation-override.test.js +0 -339
- package/dist/platform/observation/__tests__/observation-crossvalidation-override.test.js.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine-context.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/observation-engine-context.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine-context.test.js +0 -258
- package/dist/platform/observation/__tests__/observation-engine-context.test.js.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine-crossvalidation.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/observation-engine-crossvalidation.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine-crossvalidation.test.js +0 -222
- package/dist/platform/observation/__tests__/observation-engine-crossvalidation.test.js.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine-dedup.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/observation-engine-dedup.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine-dedup.test.js +0 -88
- package/dist/platform/observation/__tests__/observation-engine-dedup.test.js.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine-llm.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/observation-engine-llm.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine-llm.test.js +0 -474
- package/dist/platform/observation/__tests__/observation-engine-llm.test.js.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine-prompt.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/observation-engine-prompt.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine-prompt.test.js +0 -211
- package/dist/platform/observation/__tests__/observation-engine-prompt.test.js.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/observation-engine.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine.test.js +0 -806
- package/dist/platform/observation/__tests__/observation-engine.test.js.map +0 -1
- package/dist/platform/observation/__tests__/observation-llm-guard.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/observation-llm-guard.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/observation-llm-guard.test.js +0 -353
- package/dist/platform/observation/__tests__/observation-llm-guard.test.js.map +0 -1
- package/dist/platform/observation/__tests__/observation-llm.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/observation-llm.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/observation-llm.test.js +0 -29
- package/dist/platform/observation/__tests__/observation-llm.test.js.map +0 -1
- package/dist/platform/observation/__tests__/observation-score-clamp.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/observation-score-clamp.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/observation-score-clamp.test.js +0 -165
- package/dist/platform/observation/__tests__/observation-score-clamp.test.js.map +0 -1
- package/dist/platform/observation/__tests__/shell-datasource-auto.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/shell-datasource-auto.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/shell-datasource-auto.test.js +0 -217
- package/dist/platform/observation/__tests__/shell-datasource-auto.test.js.map +0 -1
- package/dist/platform/observation/__tests__/workspace-context.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/workspace-context.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/workspace-context.test.js +0 -291
- package/dist/platform/observation/__tests__/workspace-context.test.js.map +0 -1
- package/dist/platform/traits/__tests__/character-config.test.d.ts +0 -2
- package/dist/platform/traits/__tests__/character-config.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/character-config.test.js +0 -300
- package/dist/platform/traits/__tests__/character-config.test.js.map +0 -1
- package/dist/platform/traits/__tests__/character-separation.test.d.ts +0 -10
- package/dist/platform/traits/__tests__/character-separation.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/character-separation.test.js +0 -357
- package/dist/platform/traits/__tests__/character-separation.test.js.map +0 -1
- package/dist/platform/traits/__tests__/curiosity-engine-budget.test.d.ts +0 -2
- package/dist/platform/traits/__tests__/curiosity-engine-budget.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/curiosity-engine-budget.test.js +0 -465
- package/dist/platform/traits/__tests__/curiosity-engine-budget.test.js.map +0 -1
- package/dist/platform/traits/__tests__/curiosity-engine-constructor.test.d.ts +0 -2
- package/dist/platform/traits/__tests__/curiosity-engine-constructor.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/curiosity-engine-constructor.test.js +0 -592
- package/dist/platform/traits/__tests__/curiosity-engine-constructor.test.js.map +0 -1
- package/dist/platform/traits/__tests__/curiosity-engine-lifecycle.test.d.ts +0 -2
- package/dist/platform/traits/__tests__/curiosity-engine-lifecycle.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/curiosity-engine-lifecycle.test.js +0 -399
- package/dist/platform/traits/__tests__/curiosity-engine-lifecycle.test.js.map +0 -1
- package/dist/platform/traits/__tests__/curiosity-engine-proposals.test.d.ts +0 -2
- package/dist/platform/traits/__tests__/curiosity-engine-proposals.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/curiosity-engine-proposals.test.js +0 -438
- package/dist/platform/traits/__tests__/curiosity-engine-proposals.test.js.map +0 -1
- package/dist/platform/traits/__tests__/ethics-gate-core.test.d.ts +0 -2
- package/dist/platform/traits/__tests__/ethics-gate-core.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/ethics-gate-core.test.js +0 -335
- package/dist/platform/traits/__tests__/ethics-gate-core.test.js.map +0 -1
- package/dist/platform/traits/__tests__/ethics-gate-layer1.test.d.ts +0 -2
- package/dist/platform/traits/__tests__/ethics-gate-layer1.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/ethics-gate-layer1.test.js +0 -660
- package/dist/platform/traits/__tests__/ethics-gate-layer1.test.js.map +0 -1
- package/dist/platform/traits/__tests__/guardrail-integration.test.d.ts +0 -2
- package/dist/platform/traits/__tests__/guardrail-integration.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/guardrail-integration.test.js +0 -230
- package/dist/platform/traits/__tests__/guardrail-integration.test.js.map +0 -1
- package/dist/platform/traits/__tests__/guardrail-runner.test.d.ts +0 -2
- package/dist/platform/traits/__tests__/guardrail-runner.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/guardrail-runner.test.js +0 -295
- package/dist/platform/traits/__tests__/guardrail-runner.test.js.map +0 -1
- package/dist/platform/traits/__tests__/trust-manager.test.d.ts +0 -2
- package/dist/platform/traits/__tests__/trust-manager.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/trust-manager.test.js +0 -437
- package/dist/platform/traits/__tests__/trust-manager.test.js.map +0 -1
- package/dist/platform/traits/__tests__/trust-rate-limit.test.d.ts +0 -2
- package/dist/platform/traits/__tests__/trust-rate-limit.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/trust-rate-limit.test.js +0 -99
- package/dist/platform/traits/__tests__/trust-rate-limit.test.js.map +0 -1
- package/dist/prompt/__tests__/context-assembler.test.d.ts +0 -2
- package/dist/prompt/__tests__/context-assembler.test.d.ts.map +0 -1
- package/dist/prompt/__tests__/context-assembler.test.js +0 -383
- package/dist/prompt/__tests__/context-assembler.test.js.map +0 -1
- package/dist/prompt/__tests__/formatters.test.d.ts +0 -2
- package/dist/prompt/__tests__/formatters.test.d.ts.map +0 -1
- package/dist/prompt/__tests__/formatters.test.js +0 -236
- package/dist/prompt/__tests__/formatters.test.js.map +0 -1
- package/dist/prompt/__tests__/gateway-integration.test.d.ts +0 -7
- package/dist/prompt/__tests__/gateway-integration.test.d.ts.map +0 -1
- package/dist/prompt/__tests__/gateway-integration.test.js +0 -229
- package/dist/prompt/__tests__/gateway-integration.test.js.map +0 -1
- package/dist/prompt/__tests__/gateway.test.d.ts +0 -2
- package/dist/prompt/__tests__/gateway.test.d.ts.map +0 -1
- package/dist/prompt/__tests__/gateway.test.js +0 -179
- package/dist/prompt/__tests__/gateway.test.js.map +0 -1
- package/dist/prompt/__tests__/slot-definitions.test.d.ts +0 -2
- package/dist/prompt/__tests__/slot-definitions.test.d.ts.map +0 -1
- package/dist/prompt/__tests__/slot-definitions.test.js +0 -171
- package/dist/prompt/__tests__/slot-definitions.test.js.map +0 -1
- package/dist/reflection/__tests__/dream-consolidation.test.d.ts +0 -2
- package/dist/reflection/__tests__/dream-consolidation.test.d.ts.map +0 -1
- package/dist/reflection/__tests__/dream-consolidation.test.js +0 -127
- package/dist/reflection/__tests__/dream-consolidation.test.js.map +0 -1
- package/dist/reflection/__tests__/evening-catchup.test.d.ts +0 -2
- package/dist/reflection/__tests__/evening-catchup.test.d.ts.map +0 -1
- package/dist/reflection/__tests__/evening-catchup.test.js +0 -148
- package/dist/reflection/__tests__/evening-catchup.test.js.map +0 -1
- package/dist/reflection/__tests__/morning-planning.test.d.ts +0 -2
- package/dist/reflection/__tests__/morning-planning.test.d.ts.map +0 -1
- package/dist/reflection/__tests__/morning-planning.test.js +0 -150
- package/dist/reflection/__tests__/morning-planning.test.js.map +0 -1
- package/dist/reflection/__tests__/weekly-review.test.d.ts +0 -2
- package/dist/reflection/__tests__/weekly-review.test.d.ts.map +0 -1
- package/dist/reflection/__tests__/weekly-review.test.js +0 -175
- package/dist/reflection/__tests__/weekly-review.test.js.map +0 -1
- package/dist/reporting/__tests__/reporting-engine.test.d.ts +0 -2
- package/dist/reporting/__tests__/reporting-engine.test.d.ts.map +0 -1
- package/dist/reporting/__tests__/reporting-engine.test.js +0 -760
- package/dist/reporting/__tests__/reporting-engine.test.js.map +0 -1
- package/dist/reporting/report-formatters 2.d.ts +0 -12
- package/dist/reporting/report-formatters 2.d.ts.map +0 -1
- package/dist/reporting/report-formatters 2.js +0 -166
- package/dist/reporting/report-formatters 2.js.map +0 -1
- package/dist/runtime/__tests__/cron-scheduler.test.d.ts +0 -2
- package/dist/runtime/__tests__/cron-scheduler.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/cron-scheduler.test.js +0 -284
- package/dist/runtime/__tests__/cron-scheduler.test.js.map +0 -1
- package/dist/runtime/__tests__/daemon-runner-shutdown.test.d.ts +0 -2
- package/dist/runtime/__tests__/daemon-runner-shutdown.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/daemon-runner-shutdown.test.js +0 -419
- package/dist/runtime/__tests__/daemon-runner-shutdown.test.js.map +0 -1
- package/dist/runtime/__tests__/daemon-runner.test.d.ts +0 -2
- package/dist/runtime/__tests__/daemon-runner.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/daemon-runner.test.js +0 -1194
- package/dist/runtime/__tests__/daemon-runner.test.js.map +0 -1
- package/dist/runtime/__tests__/event-file-watcher.test.d.ts +0 -12
- package/dist/runtime/__tests__/event-file-watcher.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/event-file-watcher.test.js +0 -251
- package/dist/runtime/__tests__/event-file-watcher.test.js.map +0 -1
- package/dist/runtime/__tests__/event-server.test.d.ts +0 -2
- package/dist/runtime/__tests__/event-server.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/event-server.test.js +0 -282
- package/dist/runtime/__tests__/event-server.test.js.map +0 -1
- package/dist/runtime/__tests__/hook-manager.test.d.ts +0 -2
- package/dist/runtime/__tests__/hook-manager.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/hook-manager.test.js +0 -229
- package/dist/runtime/__tests__/hook-manager.test.js.map +0 -1
- package/dist/runtime/__tests__/logger.test.d.ts +0 -2
- package/dist/runtime/__tests__/logger.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/logger.test.js +0 -416
- package/dist/runtime/__tests__/logger.test.js.map +0 -1
- package/dist/runtime/__tests__/notification-batcher.test.d.ts +0 -2
- package/dist/runtime/__tests__/notification-batcher.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/notification-batcher.test.js +0 -210
- package/dist/runtime/__tests__/notification-batcher.test.js.map +0 -1
- package/dist/runtime/__tests__/notification-dispatcher-plugin.test.d.ts +0 -2
- package/dist/runtime/__tests__/notification-dispatcher-plugin.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/notification-dispatcher-plugin.test.js +0 -125
- package/dist/runtime/__tests__/notification-dispatcher-plugin.test.js.map +0 -1
- package/dist/runtime/__tests__/notification-dispatcher.test.d.ts +0 -2
- package/dist/runtime/__tests__/notification-dispatcher.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/notification-dispatcher.test.js +0 -816
- package/dist/runtime/__tests__/notification-dispatcher.test.js.map +0 -1
- package/dist/runtime/__tests__/notifier-registry.test.d.ts +0 -2
- package/dist/runtime/__tests__/notifier-registry.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/notifier-registry.test.js +0 -129
- package/dist/runtime/__tests__/notifier-registry.test.js.map +0 -1
- package/dist/runtime/__tests__/pid-manager.test.d.ts +0 -2
- package/dist/runtime/__tests__/pid-manager.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/pid-manager.test.js +0 -180
- package/dist/runtime/__tests__/pid-manager.test.js.map +0 -1
- package/dist/runtime/__tests__/plugin-loader.test.d.ts +0 -2
- package/dist/runtime/__tests__/plugin-loader.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/plugin-loader.test.js +0 -387
- package/dist/runtime/__tests__/plugin-loader.test.js.map +0 -1
- package/dist/runtime/__tests__/trigger-api.test.d.ts +0 -2
- package/dist/runtime/__tests__/trigger-api.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/trigger-api.test.js +0 -247
- package/dist/runtime/__tests__/trigger-api.test.js.map +0 -1
- package/dist/runtime/__tests__/trigger-mapper.test.d.ts +0 -2
- package/dist/runtime/__tests__/trigger-mapper.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/trigger-mapper.test.js +0 -119
- package/dist/runtime/__tests__/trigger-mapper.test.js.map +0 -1
- package/dist/runtime/daemon-health 2.d.ts +0 -31
- package/dist/runtime/daemon-health 2.d.ts.map +0 -1
- package/dist/runtime/daemon-health 2.js +0 -113
- package/dist/runtime/daemon-health 2.js.map +0 -1
- package/dist/runtime/daemon-health.d.ts +0 -2
- package/dist/runtime/daemon-health.d.ts.map +0 -1
- package/dist/runtime/daemon-health.js +0 -2
- package/dist/runtime/daemon-health.js.map +0 -1
- package/dist/runtime/daemon-runner-lifecycle.d.ts +0 -2
- package/dist/runtime/daemon-runner-lifecycle.d.ts.map +0 -1
- package/dist/runtime/daemon-runner-lifecycle.js +0 -2
- package/dist/runtime/daemon-runner-lifecycle.js.map +0 -1
- package/dist/runtime/daemon-runtime-ownership.d.ts +0 -2
- package/dist/runtime/daemon-runtime-ownership.d.ts.map +0 -1
- package/dist/runtime/daemon-runtime-ownership.js +0 -2
- package/dist/runtime/daemon-runtime-ownership.js.map +0 -1
- package/dist/runtime/daemon-signals 2.d.ts +0 -17
- package/dist/runtime/daemon-signals 2.d.ts.map +0 -1
- package/dist/runtime/daemon-signals 2.js +0 -31
- package/dist/runtime/daemon-signals 2.js.map +0 -1
- package/dist/runtime/daemon-signals.d.ts +0 -2
- package/dist/runtime/daemon-signals.d.ts.map +0 -1
- package/dist/runtime/daemon-signals.js +0 -2
- package/dist/runtime/daemon-signals.js.map +0 -1
- package/dist/runtime/event-dispatcher.d.ts +0 -2
- package/dist/runtime/event-dispatcher.d.ts.map +0 -1
- package/dist/runtime/event-dispatcher.js +0 -2
- package/dist/runtime/event-dispatcher.js.map +0 -1
- package/dist/runtime/event-server-snapshot-reader.d.ts +0 -2
- package/dist/runtime/event-server-snapshot-reader.d.ts.map +0 -1
- package/dist/runtime/event-server-snapshot-reader.js +0 -2
- package/dist/runtime/event-server-snapshot-reader.js.map +0 -1
- package/dist/runtime/event-server-sse.d.ts +0 -2
- package/dist/runtime/event-server-sse.d.ts.map +0 -1
- package/dist/runtime/event-server-sse.js +0 -2
- package/dist/runtime/event-server-sse.js.map +0 -1
- package/dist/runtime/queue/command-bus.d.ts +0 -18
- package/dist/runtime/queue/command-bus.d.ts.map +0 -1
- package/dist/runtime/queue/command-bus.js +0 -64
- package/dist/runtime/queue/command-bus.js.map +0 -1
- package/dist/runtime/queue/event-bus.d.ts +0 -21
- package/dist/runtime/queue/event-bus.d.ts.map +0 -1
- package/dist/runtime/queue/event-bus.js +0 -104
- package/dist/runtime/queue/event-bus.js.map +0 -1
- package/dist/runtime/schedule-engine-layers.d.ts +0 -2
- package/dist/runtime/schedule-engine-layers.d.ts.map +0 -1
- package/dist/runtime/schedule-engine-layers.js +0 -2
- package/dist/runtime/schedule-engine-layers.js.map +0 -1
- package/dist/runtime/schedule-source.d.ts +0 -2
- package/dist/runtime/schedule-source.d.ts.map +0 -1
- package/dist/runtime/schedule-source.js +0 -2
- package/dist/runtime/schedule-source.js.map +0 -1
- package/dist/state/state-manager.d.ts +0 -106
- package/dist/state/state-manager.d.ts.map +0 -1
- package/dist/state/state-manager.js +0 -518
- package/dist/state/state-manager.js.map +0 -1
- package/dist/state/state-persistence 2.d.ts +0 -12
- package/dist/state/state-persistence 2.d.ts.map +0 -1
- package/dist/state/state-persistence 2.js +0 -58
- package/dist/state/state-persistence 2.js.map +0 -1
- package/dist/state/state-persistence.d.ts +0 -12
- package/dist/state/state-persistence.d.ts.map +0 -1
- package/dist/state/state-persistence.js +0 -58
- package/dist/state/state-persistence.js.map +0 -1
- package/dist/strategy/__tests__/cross-goal-portfolio-phase2.test.d.ts +0 -2
- package/dist/strategy/__tests__/cross-goal-portfolio-phase2.test.d.ts.map +0 -1
- package/dist/strategy/__tests__/cross-goal-portfolio-phase2.test.js +0 -472
- package/dist/strategy/__tests__/cross-goal-portfolio-phase2.test.js.map +0 -1
- package/dist/strategy/__tests__/cross-goal-portfolio.test.d.ts +0 -2
- package/dist/strategy/__tests__/cross-goal-portfolio.test.d.ts.map +0 -1
- package/dist/strategy/__tests__/cross-goal-portfolio.test.js +0 -636
- package/dist/strategy/__tests__/cross-goal-portfolio.test.js.map +0 -1
- package/dist/strategy/__tests__/portfolio-manager.test.d.ts +0 -2
- package/dist/strategy/__tests__/portfolio-manager.test.d.ts.map +0 -1
- package/dist/strategy/__tests__/portfolio-manager.test.js +0 -730
- package/dist/strategy/__tests__/portfolio-manager.test.js.map +0 -1
- package/dist/strategy/__tests__/strategy-auto-template.test.d.ts +0 -2
- package/dist/strategy/__tests__/strategy-auto-template.test.d.ts.map +0 -1
- package/dist/strategy/__tests__/strategy-auto-template.test.js +0 -164
- package/dist/strategy/__tests__/strategy-auto-template.test.js.map +0 -1
- package/dist/strategy/__tests__/strategy-helpers-unwrap.test.d.ts +0 -2
- package/dist/strategy/__tests__/strategy-helpers-unwrap.test.d.ts.map +0 -1
- package/dist/strategy/__tests__/strategy-helpers-unwrap.test.js +0 -53
- package/dist/strategy/__tests__/strategy-helpers-unwrap.test.js.map +0 -1
- package/dist/strategy/__tests__/strategy-manager-core.test.d.ts +0 -2
- package/dist/strategy/__tests__/strategy-manager-core.test.d.ts.map +0 -1
- package/dist/strategy/__tests__/strategy-manager-core.test.js +0 -342
- package/dist/strategy/__tests__/strategy-manager-core.test.js.map +0 -1
- package/dist/strategy/__tests__/strategy-manager-phase2.test.d.ts +0 -2
- package/dist/strategy/__tests__/strategy-manager-phase2.test.d.ts.map +0 -1
- package/dist/strategy/__tests__/strategy-manager-phase2.test.js +0 -602
- package/dist/strategy/__tests__/strategy-manager-phase2.test.js.map +0 -1
- package/dist/strategy/__tests__/strategy-manager-stall.test.d.ts +0 -2
- package/dist/strategy/__tests__/strategy-manager-stall.test.d.ts.map +0 -1
- package/dist/strategy/__tests__/strategy-manager-stall.test.js +0 -357
- package/dist/strategy/__tests__/strategy-manager-stall.test.js.map +0 -1
- package/dist/strategy/__tests__/strategy-template-embedding.test.d.ts +0 -2
- package/dist/strategy/__tests__/strategy-template-embedding.test.d.ts.map +0 -1
- package/dist/strategy/__tests__/strategy-template-embedding.test.js +0 -310
- package/dist/strategy/__tests__/strategy-template-embedding.test.js.map +0 -1
- package/dist/strategy/__tests__/strategy-template-registry.test.d.ts +0 -2
- package/dist/strategy/__tests__/strategy-template-registry.test.d.ts.map +0 -1
- package/dist/strategy/__tests__/strategy-template-registry.test.js +0 -402
- package/dist/strategy/__tests__/strategy-template-registry.test.js.map +0 -1
- package/dist/strategy/cross-goal-portfolio.d.ts +0 -115
- package/dist/strategy/cross-goal-portfolio.d.ts.map +0 -1
- package/dist/strategy/cross-goal-portfolio.js +0 -389
- package/dist/strategy/cross-goal-portfolio.js.map +0 -1
- package/dist/strategy/portfolio-allocation.d.ts +0 -69
- package/dist/strategy/portfolio-allocation.d.ts.map +0 -1
- package/dist/strategy/portfolio-allocation.js +0 -264
- package/dist/strategy/portfolio-allocation.js.map +0 -1
- package/dist/strategy/portfolio-manager.d.ts +0 -147
- package/dist/strategy/portfolio-manager.d.ts.map +0 -1
- package/dist/strategy/portfolio-manager.js +0 -340
- package/dist/strategy/portfolio-manager.js.map +0 -1
- package/dist/strategy/portfolio-momentum.d.ts +0 -11
- package/dist/strategy/portfolio-momentum.d.ts.map +0 -1
- package/dist/strategy/portfolio-momentum.js +0 -64
- package/dist/strategy/portfolio-momentum.js.map +0 -1
- package/dist/strategy/portfolio-rebalance.d.ts +0 -75
- package/dist/strategy/portfolio-rebalance.d.ts.map +0 -1
- package/dist/strategy/portfolio-rebalance.js +0 -254
- package/dist/strategy/portfolio-rebalance.js.map +0 -1
- package/dist/strategy/portfolio-scheduling.d.ts +0 -25
- package/dist/strategy/portfolio-scheduling.d.ts.map +0 -1
- package/dist/strategy/portfolio-scheduling.js +0 -133
- package/dist/strategy/portfolio-scheduling.js.map +0 -1
- package/dist/strategy/strategy-helpers.d.ts +0 -115
- package/dist/strategy/strategy-helpers.d.ts.map +0 -1
- package/dist/strategy/strategy-helpers.js +0 -175
- package/dist/strategy/strategy-helpers.js.map +0 -1
- package/dist/strategy/strategy-manager-base.d.ts +0 -103
- package/dist/strategy/strategy-manager-base.d.ts.map +0 -1
- package/dist/strategy/strategy-manager-base.js +0 -394
- package/dist/strategy/strategy-manager-base.js.map +0 -1
- package/dist/strategy/strategy-manager.d.ts +0 -65
- package/dist/strategy/strategy-manager.d.ts.map +0 -1
- package/dist/strategy/strategy-manager.js +0 -226
- package/dist/strategy/strategy-manager.js.map +0 -1
- package/dist/strategy/strategy-template-registry.d.ts +0 -84
- package/dist/strategy/strategy-template-registry.d.ts.map +0 -1
- package/dist/strategy/strategy-template-registry.js +0 -350
- package/dist/strategy/strategy-template-registry.js.map +0 -1
- package/dist/strategy/types/cross-portfolio.d.ts +0 -378
- package/dist/strategy/types/cross-portfolio.d.ts.map +0 -1
- package/dist/strategy/types/cross-portfolio.js +0 -155
- package/dist/strategy/types/cross-portfolio.js.map +0 -1
- package/dist/strategy/types/portfolio.d.ts +0 -146
- package/dist/strategy/types/portfolio.d.ts.map +0 -1
- package/dist/strategy/types/portfolio.js +0 -55
- package/dist/strategy/types/portfolio.js.map +0 -1
- package/dist/strategy/types/strategy.d.ts +0 -563
- package/dist/strategy/types/strategy.d.ts.map +0 -1
- package/dist/strategy/types/strategy.js +0 -58
- package/dist/strategy/types/strategy.js.map +0 -1
- package/dist/tools/builtin/env.d.ts +0 -35
- package/dist/tools/builtin/env.d.ts.map +0 -1
- package/dist/tools/builtin/env.js +0 -125
- package/dist/tools/builtin/env.js.map +0 -1
- package/dist/tools/builtin/file-edit.d.ts +0 -48
- package/dist/tools/builtin/file-edit.d.ts.map +0 -1
- package/dist/tools/builtin/file-edit.js +0 -124
- package/dist/tools/builtin/file-edit.js.map +0 -1
- package/dist/tools/builtin/file-validation.d.ts +0 -6
- package/dist/tools/builtin/file-validation.d.ts.map +0 -1
- package/dist/tools/builtin/file-validation.js +0 -17
- package/dist/tools/builtin/file-validation.js.map +0 -1
- package/dist/tools/builtin/file-write.d.ts +0 -41
- package/dist/tools/builtin/file-write.d.ts.map +0 -1
- package/dist/tools/builtin/file-write.js +0 -83
- package/dist/tools/builtin/file-write.js.map +0 -1
- package/dist/tools/builtin/git-diff.d.ts +0 -43
- package/dist/tools/builtin/git-diff.d.ts.map +0 -1
- package/dist/tools/builtin/git-diff.js +0 -0
- package/dist/tools/builtin/git-diff.js.map +0 -1
- package/dist/tools/builtin/git-log 2.d.ts +0 -61
- package/dist/tools/builtin/git-log 2.d.ts.map +0 -1
- package/dist/tools/builtin/git-log 2.js +0 -109
- package/dist/tools/builtin/git-log 2.js.map +0 -1
- package/dist/tools/builtin/git-log.d.ts +0 -61
- package/dist/tools/builtin/git-log.d.ts.map +0 -1
- package/dist/tools/builtin/git-log.js +0 -109
- package/dist/tools/builtin/git-log.js.map +0 -1
- package/dist/tools/builtin/glob.d.ts +0 -37
- package/dist/tools/builtin/glob.d.ts.map +0 -1
- package/dist/tools/builtin/glob.js +0 -57
- package/dist/tools/builtin/glob.js.map +0 -1
- package/dist/tools/builtin/goal-state 2.d.ts +0 -36
- package/dist/tools/builtin/goal-state 2.d.ts.map +0 -1
- package/dist/tools/builtin/goal-state 2.js +0 -126
- package/dist/tools/builtin/goal-state 2.js.map +0 -1
- package/dist/tools/builtin/goal-state.d.ts +0 -36
- package/dist/tools/builtin/goal-state.d.ts.map +0 -1
- package/dist/tools/builtin/goal-state.js +0 -126
- package/dist/tools/builtin/goal-state.js.map +0 -1
- package/dist/tools/builtin/grep.d.ts +0 -61
- package/dist/tools/builtin/grep.d.ts.map +0 -1
- package/dist/tools/builtin/grep.js +0 -80
- package/dist/tools/builtin/grep.js.map +0 -1
- package/dist/tools/builtin/http-fetch.d.ts +0 -55
- package/dist/tools/builtin/http-fetch.d.ts.map +0 -1
- package/dist/tools/builtin/http-fetch.js +0 -54
- package/dist/tools/builtin/http-fetch.js.map +0 -1
- package/dist/tools/builtin/json-query.d.ts +0 -32
- package/dist/tools/builtin/json-query.d.ts.map +0 -1
- package/dist/tools/builtin/json-query.js +0 -54
- package/dist/tools/builtin/json-query.js.map +0 -1
- package/dist/tools/builtin/knowledge-query 2.d.ts +0 -61
- package/dist/tools/builtin/knowledge-query 2.d.ts.map +0 -1
- package/dist/tools/builtin/knowledge-query 2.js +0 -116
- package/dist/tools/builtin/knowledge-query 2.js.map +0 -1
- package/dist/tools/builtin/knowledge-query.d.ts +0 -61
- package/dist/tools/builtin/knowledge-query.d.ts.map +0 -1
- package/dist/tools/builtin/knowledge-query.js +0 -116
- package/dist/tools/builtin/knowledge-query.js.map +0 -1
- package/dist/tools/builtin/list-dir 2.d.ts +0 -48
- package/dist/tools/builtin/list-dir 2.d.ts.map +0 -1
- package/dist/tools/builtin/list-dir 2.js +0 -89
- package/dist/tools/builtin/list-dir 2.js.map +0 -1
- package/dist/tools/builtin/list-dir.d.ts +0 -48
- package/dist/tools/builtin/list-dir.d.ts.map +0 -1
- package/dist/tools/builtin/list-dir.js +0 -89
- package/dist/tools/builtin/list-dir.js.map +0 -1
- package/dist/tools/builtin/process-status 2.d.ts +0 -61
- package/dist/tools/builtin/process-status 2.d.ts.map +0 -1
- package/dist/tools/builtin/process-status 2.js +0 -145
- package/dist/tools/builtin/process-status 2.js.map +0 -1
- package/dist/tools/builtin/process-status.d.ts +0 -61
- package/dist/tools/builtin/process-status.d.ts.map +0 -1
- package/dist/tools/builtin/process-status.js +0 -145
- package/dist/tools/builtin/process-status.js.map +0 -1
- package/dist/tools/builtin/progress-history 2.d.ts +0 -57
- package/dist/tools/builtin/progress-history 2.d.ts.map +0 -1
- package/dist/tools/builtin/progress-history 2.js +0 -141
- package/dist/tools/builtin/progress-history 2.js.map +0 -1
- package/dist/tools/builtin/progress-history.d.ts +0 -57
- package/dist/tools/builtin/progress-history.d.ts.map +0 -1
- package/dist/tools/builtin/progress-history.js +0 -141
- package/dist/tools/builtin/progress-history.js.map +0 -1
- package/dist/tools/builtin/read.d.ts +0 -37
- package/dist/tools/builtin/read.d.ts.map +0 -1
- package/dist/tools/builtin/read.js +0 -68
- package/dist/tools/builtin/read.js.map +0 -1
- package/dist/tools/builtin/session-history 2.d.ts +0 -42
- package/dist/tools/builtin/session-history 2.d.ts.map +0 -1
- package/dist/tools/builtin/session-history 2.js +0 -116
- package/dist/tools/builtin/session-history 2.js.map +0 -1
- package/dist/tools/builtin/session-history.d.ts +0 -42
- package/dist/tools/builtin/session-history.d.ts.map +0 -1
- package/dist/tools/builtin/session-history.js +0 -116
- package/dist/tools/builtin/session-history.js.map +0 -1
- package/dist/tools/builtin/shared/parse-tool-output.d.ts +0 -18
- package/dist/tools/builtin/shared/parse-tool-output.d.ts.map +0 -1
- package/dist/tools/builtin/shared/parse-tool-output.js +0 -53
- package/dist/tools/builtin/shared/parse-tool-output.js.map +0 -1
- package/dist/tools/builtin/shared/parse-tool-output.test.d.ts +0 -2
- package/dist/tools/builtin/shared/parse-tool-output.test.d.ts.map +0 -1
- package/dist/tools/builtin/shared/parse-tool-output.test.js +0 -68
- package/dist/tools/builtin/shared/parse-tool-output.test.js.map +0 -1
- package/dist/tools/builtin/shell.d.ts +0 -48
- package/dist/tools/builtin/shell.d.ts.map +0 -1
- package/dist/tools/builtin/shell.js +0 -93
- package/dist/tools/builtin/shell.js.map +0 -1
- package/dist/tools/builtin/sleep.d.ts +0 -35
- package/dist/tools/builtin/sleep.d.ts.map +0 -1
- package/dist/tools/builtin/sleep.js +0 -48
- package/dist/tools/builtin/sleep.js.map +0 -1
- package/dist/tools/builtin/test-runner 2.d.ts +0 -53
- package/dist/tools/builtin/test-runner 2.d.ts.map +0 -1
- package/dist/tools/builtin/test-runner 2.js +0 -181
- package/dist/tools/builtin/test-runner 2.js.map +0 -1
- package/dist/tools/builtin/test-runner.d.ts +0 -53
- package/dist/tools/builtin/test-runner.d.ts.map +0 -1
- package/dist/tools/builtin/test-runner.js +0 -181
- package/dist/tools/builtin/test-runner.js.map +0 -1
- package/dist/tools/builtin/tool-search 2.d.ts +0 -43
- package/dist/tools/builtin/tool-search 2.d.ts.map +0 -1
- package/dist/tools/builtin/tool-search 2.js +0 -44
- package/dist/tools/builtin/tool-search 2.js.map +0 -1
- package/dist/tools/builtin/tool-search.d.ts +0 -43
- package/dist/tools/builtin/tool-search.d.ts.map +0 -1
- package/dist/tools/builtin/tool-search.js +0 -44
- package/dist/tools/builtin/tool-search.js.map +0 -1
- package/dist/tools/builtin/trust-state 2.d.ts +0 -30
- package/dist/tools/builtin/trust-state 2.d.ts.map +0 -1
- package/dist/tools/builtin/trust-state 2.js +0 -90
- package/dist/tools/builtin/trust-state 2.js.map +0 -1
- package/dist/tools/builtin/trust-state.d.ts +0 -30
- package/dist/tools/builtin/trust-state.d.ts.map +0 -1
- package/dist/tools/builtin/trust-state.js +0 -90
- package/dist/tools/builtin/trust-state.js.map +0 -1
- package/dist/tools/builtin/web-search.d.ts +0 -49
- package/dist/tools/builtin/web-search.d.ts.map +0 -1
- package/dist/tools/builtin/web-search.js +0 -96
- package/dist/tools/builtin/web-search.js.map +0 -1
- package/dist/tools/concurrency 2.d.ts +0 -20
- package/dist/tools/concurrency 2.d.ts.map +0 -1
- package/dist/tools/concurrency 2.js +0 -58
- package/dist/tools/concurrency 2.js.map +0 -1
- package/dist/tools/executor 2.d.ts +0 -34
- package/dist/tools/executor 2.d.ts.map +0 -1
- package/dist/tools/executor 2.js +0 -156
- package/dist/tools/executor 2.js.map +0 -1
- package/dist/tools/filesystem/file-edit.d.ts +0 -48
- package/dist/tools/filesystem/file-edit.d.ts.map +0 -1
- package/dist/tools/filesystem/file-edit.js +0 -124
- package/dist/tools/filesystem/file-edit.js.map +0 -1
- package/dist/tools/filesystem/file-validation.d.ts +0 -6
- package/dist/tools/filesystem/file-validation.d.ts.map +0 -1
- package/dist/tools/filesystem/file-validation.js +0 -17
- package/dist/tools/filesystem/file-validation.js.map +0 -1
- package/dist/tools/filesystem/file-write.d.ts +0 -41
- package/dist/tools/filesystem/file-write.d.ts.map +0 -1
- package/dist/tools/filesystem/file-write.js +0 -83
- package/dist/tools/filesystem/file-write.js.map +0 -1
- package/dist/tools/filesystem/glob.d.ts +0 -37
- package/dist/tools/filesystem/glob.d.ts.map +0 -1
- package/dist/tools/filesystem/glob.js +0 -57
- package/dist/tools/filesystem/glob.js.map +0 -1
- package/dist/tools/filesystem/grep.d.ts +0 -61
- package/dist/tools/filesystem/grep.d.ts.map +0 -1
- package/dist/tools/filesystem/grep.js +0 -80
- package/dist/tools/filesystem/grep.js.map +0 -1
- package/dist/tools/filesystem/json-query.d.ts +0 -32
- package/dist/tools/filesystem/json-query.d.ts.map +0 -1
- package/dist/tools/filesystem/json-query.js +0 -54
- package/dist/tools/filesystem/json-query.js.map +0 -1
- package/dist/tools/filesystem/list-dir.d.ts +0 -48
- package/dist/tools/filesystem/list-dir.d.ts.map +0 -1
- package/dist/tools/filesystem/list-dir.js +0 -89
- package/dist/tools/filesystem/list-dir.js.map +0 -1
- package/dist/tools/filesystem/read.d.ts +0 -37
- package/dist/tools/filesystem/read.d.ts.map +0 -1
- package/dist/tools/filesystem/read.js +0 -68
- package/dist/tools/filesystem/read.js.map +0 -1
- package/dist/tools/git/git-diff.d.ts +0 -43
- package/dist/tools/git/git-diff.d.ts.map +0 -1
- package/dist/tools/git/git-diff.js +0 -131
- package/dist/tools/git/git-diff.js.map +0 -1
- package/dist/tools/git/git-log.d.ts +0 -61
- package/dist/tools/git/git-log.d.ts.map +0 -1
- package/dist/tools/git/git-log.js +0 -109
- package/dist/tools/git/git-log.js.map +0 -1
- package/dist/tools/index 2.d.ts +0 -10
- package/dist/tools/index 2.d.ts.map +0 -1
- package/dist/tools/index 2.js +0 -7
- package/dist/tools/index 2.js.map +0 -1
- package/dist/tools/meta/tool-search.d.ts +0 -43
- package/dist/tools/meta/tool-search.d.ts.map +0 -1
- package/dist/tools/meta/tool-search.js +0 -44
- package/dist/tools/meta/tool-search.js.map +0 -1
- package/dist/tools/network/http-fetch.d.ts +0 -55
- package/dist/tools/network/http-fetch.d.ts.map +0 -1
- package/dist/tools/network/http-fetch.js +0 -54
- package/dist/tools/network/http-fetch.js.map +0 -1
- package/dist/tools/network/web-search.d.ts +0 -49
- package/dist/tools/network/web-search.d.ts.map +0 -1
- package/dist/tools/network/web-search.js +0 -96
- package/dist/tools/network/web-search.js.map +0 -1
- package/dist/tools/permission 2.d.ts +0 -42
- package/dist/tools/permission 2.d.ts.map +0 -1
- package/dist/tools/permission 2.js +0 -101
- package/dist/tools/permission 2.js.map +0 -1
- package/dist/tools/registry 2.d.ts +0 -38
- package/dist/tools/registry 2.d.ts.map +0 -1
- package/dist/tools/registry 2.js +0 -114
- package/dist/tools/registry 2.js.map +0 -1
- package/dist/tools/state/architecture-tool.d.ts +0 -25
- package/dist/tools/state/architecture-tool.d.ts.map +0 -1
- package/dist/tools/state/architecture-tool.js +0 -98
- package/dist/tools/state/architecture-tool.js.map +0 -1
- package/dist/tools/state/archive-goal-tool.d.ts +0 -34
- package/dist/tools/state/archive-goal-tool.d.ts.map +0 -1
- package/dist/tools/state/archive-goal-tool.js +0 -85
- package/dist/tools/state/archive-goal-tool.js.map +0 -1
- package/dist/tools/state/config-tool.d.ts +0 -25
- package/dist/tools/state/config-tool.d.ts.map +0 -1
- package/dist/tools/state/config-tool.js +0 -87
- package/dist/tools/state/config-tool.js.map +0 -1
- package/dist/tools/state/delete-goal-tool.d.ts +0 -28
- package/dist/tools/state/delete-goal-tool.d.ts.map +0 -1
- package/dist/tools/state/delete-goal-tool.js +0 -87
- package/dist/tools/state/delete-goal-tool.js.map +0 -1
- package/dist/tools/state/goal-state.d.ts +0 -36
- package/dist/tools/state/goal-state.d.ts.map +0 -1
- package/dist/tools/state/goal-state.js +0 -126
- package/dist/tools/state/goal-state.js.map +0 -1
- package/dist/tools/state/knowledge-query.d.ts +0 -61
- package/dist/tools/state/knowledge-query.d.ts.map +0 -1
- package/dist/tools/state/knowledge-query.js +0 -116
- package/dist/tools/state/knowledge-query.js.map +0 -1
- package/dist/tools/state/plugin-state-tool.d.ts +0 -28
- package/dist/tools/state/plugin-state-tool.d.ts.map +0 -1
- package/dist/tools/state/plugin-state-tool.js +0 -78
- package/dist/tools/state/plugin-state-tool.js.map +0 -1
- package/dist/tools/state/progress-history.d.ts +0 -57
- package/dist/tools/state/progress-history.d.ts.map +0 -1
- package/dist/tools/state/progress-history.js +0 -141
- package/dist/tools/state/progress-history.js.map +0 -1
- package/dist/tools/state/reset-trust-tool.d.ts +0 -40
- package/dist/tools/state/reset-trust-tool.d.ts.map +0 -1
- package/dist/tools/state/reset-trust-tool.js +0 -82
- package/dist/tools/state/reset-trust-tool.js.map +0 -1
- package/dist/tools/state/session-history.d.ts +0 -42
- package/dist/tools/state/session-history.d.ts.map +0 -1
- package/dist/tools/state/session-history.js +0 -116
- package/dist/tools/state/session-history.js.map +0 -1
- package/dist/tools/state/set-goal-tool.d.ts +0 -28
- package/dist/tools/state/set-goal-tool.d.ts.map +0 -1
- package/dist/tools/state/set-goal-tool.js +0 -82
- package/dist/tools/state/set-goal-tool.js.map +0 -1
- package/dist/tools/state/toggle-plugin-tool.d.ts +0 -31
- package/dist/tools/state/toggle-plugin-tool.d.ts.map +0 -1
- package/dist/tools/state/toggle-plugin-tool.js +0 -53
- package/dist/tools/state/toggle-plugin-tool.js.map +0 -1
- package/dist/tools/state/trust-state.d.ts +0 -30
- package/dist/tools/state/trust-state.d.ts.map +0 -1
- package/dist/tools/state/trust-state.js +0 -90
- package/dist/tools/state/trust-state.js.map +0 -1
- package/dist/tools/state/update-config-tool.d.ts +0 -31
- package/dist/tools/state/update-config-tool.d.ts.map +0 -1
- package/dist/tools/state/update-config-tool.js +0 -67
- package/dist/tools/state/update-config-tool.js.map +0 -1
- package/dist/tools/state/update-goal-tool.d.ts +0 -40
- package/dist/tools/state/update-goal-tool.d.ts.map +0 -1
- package/dist/tools/state/update-goal-tool.js +0 -71
- package/dist/tools/state/update-goal-tool.js.map +0 -1
- package/dist/tools/system/env.d.ts +0 -35
- package/dist/tools/system/env.d.ts.map +0 -1
- package/dist/tools/system/env.js +0 -125
- package/dist/tools/system/env.js.map +0 -1
- package/dist/tools/system/process-status.d.ts +0 -61
- package/dist/tools/system/process-status.d.ts.map +0 -1
- package/dist/tools/system/process-status.js +0 -145
- package/dist/tools/system/process-status.js.map +0 -1
- package/dist/tools/system/shell.d.ts +0 -48
- package/dist/tools/system/shell.d.ts.map +0 -1
- package/dist/tools/system/shell.js +0 -106
- package/dist/tools/system/shell.js.map +0 -1
- package/dist/tools/system/sleep.d.ts +0 -35
- package/dist/tools/system/sleep.d.ts.map +0 -1
- package/dist/tools/system/sleep.js +0 -48
- package/dist/tools/system/sleep.js.map +0 -1
- package/dist/tools/types 2.d.ts +0 -188
- package/dist/tools/types 2.d.ts.map +0 -1
- package/dist/tools/types 2.js +0 -66
- package/dist/tools/types 2.js.map +0 -1
- package/dist/traits/__tests__/character-config.test.d.ts +0 -2
- package/dist/traits/__tests__/character-config.test.d.ts.map +0 -1
- package/dist/traits/__tests__/character-config.test.js +0 -300
- package/dist/traits/__tests__/character-config.test.js.map +0 -1
- package/dist/traits/__tests__/character-separation.test.d.ts +0 -10
- package/dist/traits/__tests__/character-separation.test.d.ts.map +0 -1
- package/dist/traits/__tests__/character-separation.test.js +0 -357
- package/dist/traits/__tests__/character-separation.test.js.map +0 -1
- package/dist/traits/__tests__/curiosity-engine-budget.test.d.ts +0 -2
- package/dist/traits/__tests__/curiosity-engine-budget.test.d.ts.map +0 -1
- package/dist/traits/__tests__/curiosity-engine-budget.test.js +0 -465
- package/dist/traits/__tests__/curiosity-engine-budget.test.js.map +0 -1
- package/dist/traits/__tests__/curiosity-engine-constructor.test.d.ts +0 -2
- package/dist/traits/__tests__/curiosity-engine-constructor.test.d.ts.map +0 -1
- package/dist/traits/__tests__/curiosity-engine-constructor.test.js +0 -592
- package/dist/traits/__tests__/curiosity-engine-constructor.test.js.map +0 -1
- package/dist/traits/__tests__/curiosity-engine-lifecycle.test.d.ts +0 -2
- package/dist/traits/__tests__/curiosity-engine-lifecycle.test.d.ts.map +0 -1
- package/dist/traits/__tests__/curiosity-engine-lifecycle.test.js +0 -399
- package/dist/traits/__tests__/curiosity-engine-lifecycle.test.js.map +0 -1
- package/dist/traits/__tests__/curiosity-engine-proposals.test.d.ts +0 -2
- package/dist/traits/__tests__/curiosity-engine-proposals.test.d.ts.map +0 -1
- package/dist/traits/__tests__/curiosity-engine-proposals.test.js +0 -438
- package/dist/traits/__tests__/curiosity-engine-proposals.test.js.map +0 -1
- package/dist/traits/__tests__/ethics-gate-core.test.d.ts +0 -2
- package/dist/traits/__tests__/ethics-gate-core.test.d.ts.map +0 -1
- package/dist/traits/__tests__/ethics-gate-core.test.js +0 -335
- package/dist/traits/__tests__/ethics-gate-core.test.js.map +0 -1
- package/dist/traits/__tests__/ethics-gate-layer1.test.d.ts +0 -2
- package/dist/traits/__tests__/ethics-gate-layer1.test.d.ts.map +0 -1
- package/dist/traits/__tests__/ethics-gate-layer1.test.js +0 -660
- package/dist/traits/__tests__/ethics-gate-layer1.test.js.map +0 -1
- package/dist/traits/__tests__/guardrail-integration.test.d.ts +0 -2
- package/dist/traits/__tests__/guardrail-integration.test.d.ts.map +0 -1
- package/dist/traits/__tests__/guardrail-integration.test.js +0 -230
- package/dist/traits/__tests__/guardrail-integration.test.js.map +0 -1
- package/dist/traits/__tests__/guardrail-runner.test.d.ts +0 -2
- package/dist/traits/__tests__/guardrail-runner.test.d.ts.map +0 -1
- package/dist/traits/__tests__/guardrail-runner.test.js +0 -295
- package/dist/traits/__tests__/guardrail-runner.test.js.map +0 -1
- package/dist/traits/__tests__/trust-manager.test.d.ts +0 -2
- package/dist/traits/__tests__/trust-manager.test.d.ts.map +0 -1
- package/dist/traits/__tests__/trust-manager.test.js +0 -437
- package/dist/traits/__tests__/trust-manager.test.js.map +0 -1
- package/dist/traits/__tests__/trust-rate-limit.test.d.ts +0 -2
- package/dist/traits/__tests__/trust-rate-limit.test.d.ts.map +0 -1
- package/dist/traits/__tests__/trust-rate-limit.test.js +0 -99
- package/dist/traits/__tests__/trust-rate-limit.test.js.map +0 -1
- package/dist/traits/character-config.d.ts +0 -34
- package/dist/traits/character-config.d.ts.map +0 -1
- package/dist/traits/character-config.js +0 -53
- package/dist/traits/character-config.js.map +0 -1
- package/dist/traits/curiosity-engine.d.ts +0 -177
- package/dist/traits/curiosity-engine.d.ts.map +0 -1
- package/dist/traits/curiosity-engine.js +0 -523
- package/dist/traits/curiosity-engine.js.map +0 -1
- package/dist/traits/curiosity-proposals.d.ts +0 -38
- package/dist/traits/curiosity-proposals.d.ts.map +0 -1
- package/dist/traits/curiosity-proposals.js +0 -259
- package/dist/traits/curiosity-proposals.js.map +0 -1
- package/dist/traits/curiosity-transfer.d.ts +0 -27
- package/dist/traits/curiosity-transfer.d.ts.map +0 -1
- package/dist/traits/curiosity-transfer.js +0 -50
- package/dist/traits/curiosity-transfer.js.map +0 -1
- package/dist/traits/ethics-gate.d.ts +0 -77
- package/dist/traits/ethics-gate.d.ts.map +0 -1
- package/dist/traits/ethics-gate.js +0 -245
- package/dist/traits/ethics-gate.js.map +0 -1
- package/dist/traits/ethics-rules.d.ts +0 -10
- package/dist/traits/ethics-rules.d.ts.map +0 -1
- package/dist/traits/ethics-rules.js +0 -332
- package/dist/traits/ethics-rules.js.map +0 -1
- package/dist/traits/guardrail-runner.d.ts +0 -29
- package/dist/traits/guardrail-runner.d.ts.map +0 -1
- package/dist/traits/guardrail-runner.js +0 -81
- package/dist/traits/guardrail-runner.js.map +0 -1
- package/dist/traits/trust-manager.d.ts +0 -90
- package/dist/traits/trust-manager.d.ts.map +0 -1
- package/dist/traits/trust-manager.js +0 -276
- package/dist/traits/trust-manager.js.map +0 -1
- package/dist/traits/types/character.d.ts +0 -20
- package/dist/traits/types/character.d.ts.map +0 -1
- package/dist/traits/types/character.js +0 -10
- package/dist/traits/types/character.js.map +0 -1
- package/dist/traits/types/curiosity.d.ts +0 -443
- package/dist/traits/types/curiosity.d.ts.map +0 -1
- package/dist/traits/types/curiosity.js +0 -86
- package/dist/traits/types/curiosity.js.map +0 -1
- package/dist/traits/types/ethics.d.ts +0 -169
- package/dist/traits/types/ethics.d.ts.map +0 -1
- package/dist/traits/types/ethics.js +0 -47
- package/dist/traits/types/ethics.js.map +0 -1
- package/dist/traits/types/guardrail.d.ts +0 -104
- package/dist/traits/types/guardrail.d.ts.map +0 -1
- package/dist/traits/types/guardrail.js +0 -34
- package/dist/traits/types/guardrail.js.map +0 -1
- package/dist/traits/types/trust.d.ts +0 -126
- package/dist/traits/types/trust.d.ts.map +0 -1
- package/dist/traits/types/trust.js +0 -38
- package/dist/traits/types/trust.js.map +0 -1
- package/dist/tui/__tests__/actions.test.d.ts +0 -2
- package/dist/tui/__tests__/actions.test.d.ts.map +0 -1
- package/dist/tui/__tests__/actions.test.js +0 -300
- package/dist/tui/__tests__/actions.test.js.map +0 -1
- package/dist/tui/__tests__/fuzzy.test.d.ts +0 -2
- package/dist/tui/__tests__/fuzzy.test.d.ts.map +0 -1
- package/dist/tui/__tests__/fuzzy.test.js +0 -95
- package/dist/tui/__tests__/fuzzy.test.js.map +0 -1
- package/dist/tui/__tests__/intent-recognizer.test.d.ts +0 -2
- package/dist/tui/__tests__/intent-recognizer.test.d.ts.map +0 -1
- package/dist/tui/__tests__/intent-recognizer.test.js +0 -174
- package/dist/tui/__tests__/intent-recognizer.test.js.map +0 -1
- package/dist/tui/__tests__/use-loop.test.d.ts +0 -2
- package/dist/tui/__tests__/use-loop.test.d.ts.map +0 -1
- package/dist/tui/__tests__/use-loop.test.js +0 -286
- package/dist/tui/__tests__/use-loop.test.js.map +0 -1
- package/dist/tui/actions.d.ts +0 -39
- package/dist/tui/actions.d.ts.map +0 -1
- package/dist/tui/actions.js +0 -231
- package/dist/tui/actions.js.map +0 -1
- package/dist/tui/app.d.ts +0 -24
- package/dist/tui/app.d.ts.map +0 -1
- package/dist/tui/app.js +0 -164
- package/dist/tui/app.js.map +0 -1
- package/dist/tui/approval-overlay.d.ts +0 -8
- package/dist/tui/approval-overlay.d.ts.map +0 -1
- package/dist/tui/approval-overlay.js +0 -21
- package/dist/tui/approval-overlay.js.map +0 -1
- package/dist/tui/chat.d.ts +0 -15
- package/dist/tui/chat.d.ts.map +0 -1
- package/dist/tui/chat.js +0 -179
- package/dist/tui/chat.js.map +0 -1
- package/dist/tui/dashboard.d.ts +0 -9
- package/dist/tui/dashboard.d.ts.map +0 -1
- package/dist/tui/dashboard.js +0 -48
- package/dist/tui/dashboard.js.map +0 -1
- package/dist/tui/entry.d.ts +0 -3
- package/dist/tui/entry.d.ts.map +0 -1
- package/dist/tui/entry.js +0 -242
- package/dist/tui/entry.js.map +0 -1
- package/dist/tui/fuzzy.d.ts +0 -16
- package/dist/tui/fuzzy.d.ts.map +0 -1
- package/dist/tui/fuzzy.js +0 -66
- package/dist/tui/fuzzy.js.map +0 -1
- package/dist/tui/help-overlay.d.ts +0 -6
- package/dist/tui/help-overlay.d.ts.map +0 -1
- package/dist/tui/help-overlay.js +0 -13
- package/dist/tui/help-overlay.js.map +0 -1
- package/dist/tui/intent-recognizer.d.ts +0 -19
- package/dist/tui/intent-recognizer.d.ts.map +0 -1
- package/dist/tui/intent-recognizer.js +0 -131
- package/dist/tui/intent-recognizer.js.map +0 -1
- package/dist/tui/markdown-renderer.d.ts +0 -32
- package/dist/tui/markdown-renderer.d.ts.map +0 -1
- package/dist/tui/markdown-renderer.js +0 -212
- package/dist/tui/markdown-renderer.js.map +0 -1
- package/dist/tui/report-view.d.ts +0 -6
- package/dist/tui/report-view.d.ts.map +0 -1
- package/dist/tui/report-view.js +0 -55
- package/dist/tui/report-view.js.map +0 -1
- package/dist/tui/seedy-art.d.ts +0 -46
- package/dist/tui/seedy-art.d.ts.map +0 -1
- package/dist/tui/seedy-art.js +0 -141
- package/dist/tui/seedy-art.js.map +0 -1
- package/dist/tui/theme.d.ts +0 -47
- package/dist/tui/theme.d.ts.map +0 -1
- package/dist/tui/theme.js +0 -116
- package/dist/tui/theme.js.map +0 -1
- package/dist/tui/use-loop.d.ts +0 -54
- package/dist/tui/use-loop.d.ts.map +0 -1
- package/dist/tui/use-loop.js +0 -185
- package/dist/tui/use-loop.js.map +0 -1
- package/dist/types/__tests__/cross-portfolio.test.d.ts +0 -2
- package/dist/types/__tests__/cross-portfolio.test.d.ts.map +0 -1
- package/dist/types/__tests__/cross-portfolio.test.js +0 -336
- package/dist/types/__tests__/cross-portfolio.test.js.map +0 -1
- package/dist/types/__tests__/existing-extensions.test.d.ts +0 -2
- package/dist/types/__tests__/existing-extensions.test.d.ts.map +0 -1
- package/dist/types/__tests__/existing-extensions.test.js +0 -140
- package/dist/types/__tests__/existing-extensions.test.js.map +0 -1
- package/dist/types/__tests__/goal-refiner-types.test.d.ts +0 -2
- package/dist/types/__tests__/goal-refiner-types.test.d.ts.map +0 -1
- package/dist/types/__tests__/goal-refiner-types.test.js +0 -198
- package/dist/types/__tests__/goal-refiner-types.test.js.map +0 -1
- package/dist/types/__tests__/goal-tree-integration.test.d.ts +0 -2
- package/dist/types/__tests__/goal-tree-integration.test.d.ts.map +0 -1
- package/dist/types/__tests__/goal-tree-integration.test.js +0 -327
- package/dist/types/__tests__/goal-tree-integration.test.js.map +0 -1
- package/dist/types/__tests__/goal-tree.test.d.ts +0 -2
- package/dist/types/__tests__/goal-tree.test.d.ts.map +0 -1
- package/dist/types/__tests__/goal-tree.test.js +0 -286
- package/dist/types/__tests__/goal-tree.test.js.map +0 -1
- package/dist/types/__tests__/learning.test.d.ts +0 -2
- package/dist/types/__tests__/learning.test.d.ts.map +0 -1
- package/dist/types/__tests__/learning.test.js +0 -306
- package/dist/types/__tests__/learning.test.js.map +0 -1
- package/dist/types/__tests__/suggest-output-schema.test.d.ts +0 -2
- package/dist/types/__tests__/suggest-output-schema.test.d.ts.map +0 -1
- package/dist/types/__tests__/suggest-output-schema.test.js +0 -239
- package/dist/types/__tests__/suggest-output-schema.test.js.map +0 -1
- package/dist/types/a2a.d.ts +0 -2
- package/dist/types/a2a.d.ts.map +0 -1
- package/dist/types/a2a.js +0 -3
- package/dist/types/a2a.js.map +0 -1
- package/dist/types/agent-profile.d.ts +0 -2
- package/dist/types/agent-profile.d.ts.map +0 -1
- package/dist/types/agent-profile.js +0 -3
- package/dist/types/agent-profile.js.map +0 -1
- package/dist/types/capability.d.ts +0 -2
- package/dist/types/capability.d.ts.map +0 -1
- package/dist/types/capability.js +0 -3
- package/dist/types/capability.js.map +0 -1
- package/dist/types/character.d.ts +0 -2
- package/dist/types/character.d.ts.map +0 -1
- package/dist/types/character.js +0 -3
- package/dist/types/character.js.map +0 -1
- package/dist/types/checkpoint.d.ts +0 -2
- package/dist/types/checkpoint.d.ts.map +0 -1
- package/dist/types/checkpoint.js +0 -3
- package/dist/types/checkpoint.js.map +0 -1
- package/dist/types/core.d.ts +0 -175
- package/dist/types/core.d.ts.map +0 -1
- package/dist/types/core.js +0 -156
- package/dist/types/core.js.map +0 -1
- package/dist/types/cron.d.ts +0 -2
- package/dist/types/cron.d.ts.map +0 -1
- package/dist/types/cron.js +0 -3
- package/dist/types/cron.js.map +0 -1
- package/dist/types/cross-portfolio.d.ts +0 -2
- package/dist/types/cross-portfolio.d.ts.map +0 -1
- package/dist/types/cross-portfolio.js +0 -3
- package/dist/types/cross-portfolio.js.map +0 -1
- package/dist/types/curiosity.d.ts +0 -2
- package/dist/types/curiosity.d.ts.map +0 -1
- package/dist/types/curiosity.js +0 -3
- package/dist/types/curiosity.js.map +0 -1
- package/dist/types/daemon.d.ts +0 -2
- package/dist/types/daemon.d.ts.map +0 -1
- package/dist/types/daemon.js +0 -3
- package/dist/types/daemon.js.map +0 -1
- package/dist/types/data-source.d.ts +0 -2
- package/dist/types/data-source.d.ts.map +0 -1
- package/dist/types/data-source.js +0 -3
- package/dist/types/data-source.js.map +0 -1
- package/dist/types/dependency.d.ts +0 -2
- package/dist/types/dependency.d.ts.map +0 -1
- package/dist/types/dependency.js +0 -3
- package/dist/types/dependency.js.map +0 -1
- package/dist/types/drive.d.ts +0 -2
- package/dist/types/drive.d.ts.map +0 -1
- package/dist/types/drive.js +0 -3
- package/dist/types/drive.js.map +0 -1
- package/dist/types/embedding.d.ts +0 -2
- package/dist/types/embedding.d.ts.map +0 -1
- package/dist/types/embedding.js +0 -3
- package/dist/types/embedding.js.map +0 -1
- package/dist/types/ethics.d.ts +0 -2
- package/dist/types/ethics.d.ts.map +0 -1
- package/dist/types/ethics.js +0 -3
- package/dist/types/ethics.js.map +0 -1
- package/dist/types/gap.d.ts +0 -2
- package/dist/types/gap.d.ts.map +0 -1
- package/dist/types/gap.js +0 -3
- package/dist/types/gap.js.map +0 -1
- package/dist/types/goal-refiner.d.ts +0 -2
- package/dist/types/goal-refiner.d.ts.map +0 -1
- package/dist/types/goal-refiner.js +0 -3
- package/dist/types/goal-refiner.js.map +0 -1
- package/dist/types/goal-tree.d.ts +0 -2
- package/dist/types/goal-tree.d.ts.map +0 -1
- package/dist/types/goal-tree.js +0 -3
- package/dist/types/goal-tree.js.map +0 -1
- package/dist/types/goal.d.ts +0 -2
- package/dist/types/goal.d.ts.map +0 -1
- package/dist/types/goal.js +0 -3
- package/dist/types/goal.js.map +0 -1
- package/dist/types/guardrail.d.ts +0 -2
- package/dist/types/guardrail.d.ts.map +0 -1
- package/dist/types/guardrail.js +0 -3
- package/dist/types/guardrail.js.map +0 -1
- package/dist/types/hook.d.ts +0 -2
- package/dist/types/hook.d.ts.map +0 -1
- package/dist/types/hook.js +0 -3
- package/dist/types/hook.js.map +0 -1
- package/dist/types/index.d.ts +0 -32
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -32
- package/dist/types/index.js.map +0 -1
- package/dist/types/knowledge.d.ts +0 -2
- package/dist/types/knowledge.d.ts.map +0 -1
- package/dist/types/knowledge.js +0 -3
- package/dist/types/knowledge.js.map +0 -1
- package/dist/types/learning.d.ts +0 -2
- package/dist/types/learning.d.ts.map +0 -1
- package/dist/types/learning.js +0 -3
- package/dist/types/learning.js.map +0 -1
- package/dist/types/mcp.d.ts +0 -2
- package/dist/types/mcp.d.ts.map +0 -1
- package/dist/types/mcp.js +0 -3
- package/dist/types/mcp.js.map +0 -1
- package/dist/types/memory-lifecycle.d.ts +0 -2
- package/dist/types/memory-lifecycle.d.ts.map +0 -1
- package/dist/types/memory-lifecycle.js +0 -3
- package/dist/types/memory-lifecycle.js.map +0 -1
- package/dist/types/negotiation.d.ts +0 -2
- package/dist/types/negotiation.d.ts.map +0 -1
- package/dist/types/negotiation.js +0 -3
- package/dist/types/negotiation.js.map +0 -1
- package/dist/types/notification.d.ts +0 -2
- package/dist/types/notification.d.ts.map +0 -1
- package/dist/types/notification.js +0 -3
- package/dist/types/notification.js.map +0 -1
- package/dist/types/pipeline.d.ts +0 -2
- package/dist/types/pipeline.d.ts.map +0 -1
- package/dist/types/pipeline.js +0 -3
- package/dist/types/pipeline.js.map +0 -1
- package/dist/types/plugin.d.ts +0 -2
- package/dist/types/plugin.d.ts.map +0 -1
- package/dist/types/plugin.js +0 -3
- package/dist/types/plugin.js.map +0 -1
- package/dist/types/portfolio.d.ts +0 -2
- package/dist/types/portfolio.d.ts.map +0 -1
- package/dist/types/portfolio.js +0 -3
- package/dist/types/portfolio.js.map +0 -1
- package/dist/types/reflection.d.ts +0 -2
- package/dist/types/reflection.d.ts.map +0 -1
- package/dist/types/reflection.js +0 -3
- package/dist/types/reflection.js.map +0 -1
- package/dist/types/report.d.ts +0 -2
- package/dist/types/report.d.ts.map +0 -1
- package/dist/types/report.js +0 -3
- package/dist/types/report.js.map +0 -1
- package/dist/types/satisficing.d.ts +0 -2
- package/dist/types/satisficing.d.ts.map +0 -1
- package/dist/types/satisficing.js +0 -3
- package/dist/types/satisficing.js.map +0 -1
- package/dist/types/session.d.ts +0 -2
- package/dist/types/session.d.ts.map +0 -1
- package/dist/types/session.js +0 -3
- package/dist/types/session.js.map +0 -1
- package/dist/types/stall.d.ts +0 -2
- package/dist/types/stall.d.ts.map +0 -1
- package/dist/types/stall.js +0 -3
- package/dist/types/stall.js.map +0 -1
- package/dist/types/state.d.ts +0 -2
- package/dist/types/state.d.ts.map +0 -1
- package/dist/types/state.js +0 -3
- package/dist/types/state.js.map +0 -1
- package/dist/types/strategy.d.ts +0 -2
- package/dist/types/strategy.d.ts.map +0 -1
- package/dist/types/strategy.js +0 -3
- package/dist/types/strategy.js.map +0 -1
- package/dist/types/suggest.d.ts +0 -2
- package/dist/types/suggest.d.ts.map +0 -1
- package/dist/types/suggest.js +0 -3
- package/dist/types/suggest.js.map +0 -1
- package/dist/types/task-group.d.ts +0 -2
- package/dist/types/task-group.d.ts.map +0 -1
- package/dist/types/task-group.js +0 -3
- package/dist/types/task-group.js.map +0 -1
- package/dist/types/task.d.ts +0 -2
- package/dist/types/task.d.ts.map +0 -1
- package/dist/types/task.js +0 -3
- package/dist/types/task.js.map +0 -1
- package/dist/types/trigger.d.ts +0 -2
- package/dist/types/trigger.d.ts.map +0 -1
- package/dist/types/trigger.js +0 -3
- package/dist/types/trigger.js.map +0 -1
- package/dist/types/trust.d.ts +0 -2
- package/dist/types/trust.d.ts.map +0 -1
- package/dist/types/trust.js +0 -3
- package/dist/types/trust.js.map +0 -1
- package/dist/utils/errors.d.ts +0 -17
- package/dist/utils/errors.d.ts.map +0 -1
- package/dist/utils/errors.js +0 -34
- package/dist/utils/errors.js.map +0 -1
- package/dist/utils/execFileNoThrow.d.ts +0 -20
- package/dist/utils/execFileNoThrow.d.ts.map +0 -1
- package/dist/utils/execFileNoThrow.js +0 -33
- package/dist/utils/execFileNoThrow.js.map +0 -1
- package/dist/utils/json-io.d.ts +0 -28
- package/dist/utils/json-io.d.ts.map +0 -1
- package/dist/utils/json-io.js +0 -71
- package/dist/utils/json-io.js.map +0 -1
- package/dist/utils/paths.d.ts +0 -14
- package/dist/utils/paths.d.ts.map +0 -1
- package/dist/utils/paths.js +0 -38
- package/dist/utils/paths.js.map +0 -1
- package/dist/utils/sleep.d.ts +0 -2
- package/dist/utils/sleep.d.ts.map +0 -1
- package/dist/utils/sleep.js +0 -4
- package/dist/utils/sleep.js.map +0 -1
|
@@ -1,287 +0,0 @@
|
|
|
1
|
-
import { randomUUID } from "node:crypto";
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
import { TaskSchema } from "../types/task.js";
|
|
4
|
-
import { KnowledgeGapSignalSchema, ContradictionResultSchema, } from "../types/knowledge.js";
|
|
5
|
-
import { loadDomainKnowledge } from "./knowledge-search.js";
|
|
6
|
-
// ─── LLM response schemas ───
|
|
7
|
-
export const GapDetectionResponseSchema = z.object({
|
|
8
|
-
has_gap: z.boolean(),
|
|
9
|
-
signal_type: z
|
|
10
|
-
.enum([
|
|
11
|
-
"interpretation_difficulty",
|
|
12
|
-
"strategy_deadlock",
|
|
13
|
-
"stall_information_deficit",
|
|
14
|
-
"new_domain",
|
|
15
|
-
"prerequisite_missing",
|
|
16
|
-
])
|
|
17
|
-
.optional(),
|
|
18
|
-
missing_knowledge: z.string().optional(),
|
|
19
|
-
source_step: z.string().optional(),
|
|
20
|
-
related_dimension: z.string().nullable().optional(),
|
|
21
|
-
});
|
|
22
|
-
export const AcquisitionTaskFieldsSchema = z.object({
|
|
23
|
-
knowledge_target: z.string(),
|
|
24
|
-
// Allow up to 6 from LLM; we clamp to 5 in generateAcquisitionTask
|
|
25
|
-
knowledge_questions: z.array(z.string()).min(3),
|
|
26
|
-
in_scope: z.array(z.string()),
|
|
27
|
-
out_of_scope: z.array(z.string()),
|
|
28
|
-
});
|
|
29
|
-
export const ContradictionCheckResponseSchema = z.object({
|
|
30
|
-
has_contradiction: z.boolean(),
|
|
31
|
-
conflicting_entry_id: z.string().nullable().default(null),
|
|
32
|
-
resolution: z.string().nullable().default(null),
|
|
33
|
-
});
|
|
34
|
-
// ─── detectKnowledgeGap ───
|
|
35
|
-
/**
|
|
36
|
-
* Detect whether the given context reveals a knowledge gap.
|
|
37
|
-
*
|
|
38
|
-
* Fast-path heuristics:
|
|
39
|
-
* - confidence < 0.3 → interpretation_difficulty
|
|
40
|
-
* - strategies empty → strategy_deadlock
|
|
41
|
-
*
|
|
42
|
-
* Otherwise, delegate to LLM for deeper analysis.
|
|
43
|
-
*/
|
|
44
|
-
export async function detectKnowledgeGap(deps, context) {
|
|
45
|
-
const { llmClient, gateway } = deps;
|
|
46
|
-
// Fast-path: low confidence → interpretation difficulty
|
|
47
|
-
if (context.confidence < 0.3) {
|
|
48
|
-
return KnowledgeGapSignalSchema.parse({
|
|
49
|
-
signal_type: "interpretation_difficulty",
|
|
50
|
-
missing_knowledge: "Observation confidence is too low to interpret results reliably",
|
|
51
|
-
source_step: "gap_recognition",
|
|
52
|
-
related_dimension: null,
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
// Fast-path: strategies is an explicit empty array (tried and found none) → strategy deadlock.
|
|
56
|
-
// null/undefined means "not yet available" and must NOT trigger this fast-path.
|
|
57
|
-
if (Array.isArray(context.strategies) && context.strategies.length === 0) {
|
|
58
|
-
return KnowledgeGapSignalSchema.parse({
|
|
59
|
-
signal_type: "strategy_deadlock",
|
|
60
|
-
missing_knowledge: "No strategies available — domain knowledge needed to generate hypotheses",
|
|
61
|
-
source_step: "strategy_selection",
|
|
62
|
-
related_dimension: null,
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
// LLM-based detection for borderline cases
|
|
66
|
-
const prompt = `Analyze the following context and determine whether there is a knowledge gap that would prevent effective progress.
|
|
67
|
-
|
|
68
|
-
Observations (${context.observations.length} items): ${JSON.stringify(context.observations).slice(0, 500)}
|
|
69
|
-
Strategies (${(context.strategies ?? []).length} items): ${JSON.stringify(context.strategies ?? []).slice(0, 500)}
|
|
70
|
-
Confidence: ${context.confidence}
|
|
71
|
-
|
|
72
|
-
Determine if there is a knowledge gap. Respond with JSON:
|
|
73
|
-
{
|
|
74
|
-
"has_gap": boolean,
|
|
75
|
-
"signal_type": "interpretation_difficulty" | "strategy_deadlock" | "stall_information_deficit" | "new_domain" | "prerequisite_missing" | null,
|
|
76
|
-
"missing_knowledge": "description of what is missing" | null,
|
|
77
|
-
"source_step": "gap_recognition" | "strategy_selection" | "task_generation" | null,
|
|
78
|
-
"related_dimension": "dimension name" | null
|
|
79
|
-
}`;
|
|
80
|
-
let parsed;
|
|
81
|
-
if (gateway) {
|
|
82
|
-
try {
|
|
83
|
-
parsed = await gateway.execute({
|
|
84
|
-
purpose: "knowledge_gap_detection",
|
|
85
|
-
additionalContext: { gap_detection_prompt: prompt },
|
|
86
|
-
responseSchema: GapDetectionResponseSchema,
|
|
87
|
-
maxTokens: 512,
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
catch {
|
|
91
|
-
return null;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
else {
|
|
95
|
-
const response = await llmClient.sendMessage([{ role: "user", content: prompt }], {
|
|
96
|
-
system: "You are a knowledge gap detector. Analyze contexts to identify missing domain knowledge. Respond with JSON only.",
|
|
97
|
-
max_tokens: 512,
|
|
98
|
-
});
|
|
99
|
-
try {
|
|
100
|
-
parsed = llmClient.parseJSON(response.content, GapDetectionResponseSchema);
|
|
101
|
-
}
|
|
102
|
-
catch {
|
|
103
|
-
return null;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
if (!parsed.has_gap) {
|
|
107
|
-
return null;
|
|
108
|
-
}
|
|
109
|
-
return KnowledgeGapSignalSchema.parse({
|
|
110
|
-
signal_type: parsed.signal_type ?? "interpretation_difficulty",
|
|
111
|
-
missing_knowledge: parsed.missing_knowledge ?? "Unspecified knowledge gap detected",
|
|
112
|
-
source_step: parsed.source_step ?? "gap_recognition",
|
|
113
|
-
related_dimension: parsed.related_dimension ?? null,
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
// ─── generateAcquisitionTask ───
|
|
117
|
-
/**
|
|
118
|
-
* Generate a knowledge acquisition Task for the given signal and goal.
|
|
119
|
-
* The task will have task_category: "knowledge_acquisition", 3-5 research
|
|
120
|
-
* questions, and explicit scope limits.
|
|
121
|
-
*/
|
|
122
|
-
export async function generateAcquisitionTask(deps, signal, goalId) {
|
|
123
|
-
const { llmClient, gateway, stateManager } = deps;
|
|
124
|
-
const prompt = `You are generating a knowledge acquisition task for an AI orchestrator.
|
|
125
|
-
|
|
126
|
-
Goal ID: ${goalId}
|
|
127
|
-
Knowledge Gap Signal:
|
|
128
|
-
Type: ${signal.signal_type}
|
|
129
|
-
Missing Knowledge: ${signal.missing_knowledge}
|
|
130
|
-
Source Step: ${signal.source_step}
|
|
131
|
-
Related Dimension: ${signal.related_dimension ?? "none"}
|
|
132
|
-
|
|
133
|
-
Generate a research task with 3-5 specific questions that, when answered, will resolve this knowledge gap.
|
|
134
|
-
The task must be scoped to information collection only — no system changes.
|
|
135
|
-
|
|
136
|
-
Respond with JSON:
|
|
137
|
-
{
|
|
138
|
-
"knowledge_target": "concise description of what knowledge is needed",
|
|
139
|
-
"knowledge_questions": ["question 1", "question 2", "question 3"],
|
|
140
|
-
"in_scope": ["item 1", "item 2"],
|
|
141
|
-
"out_of_scope": ["item 1", "item 2"]
|
|
142
|
-
}`;
|
|
143
|
-
let fields;
|
|
144
|
-
if (gateway) {
|
|
145
|
-
fields = await gateway.execute({
|
|
146
|
-
purpose: "knowledge_acquisition",
|
|
147
|
-
goalId,
|
|
148
|
-
additionalContext: { acquisition_prompt: prompt },
|
|
149
|
-
responseSchema: AcquisitionTaskFieldsSchema,
|
|
150
|
-
maxTokens: 1024,
|
|
151
|
-
});
|
|
152
|
-
}
|
|
153
|
-
else {
|
|
154
|
-
const response = await llmClient.sendMessage([{ role: "user", content: prompt }], {
|
|
155
|
-
system: "You generate knowledge acquisition tasks. Produce 3-5 specific research questions. Respond with JSON only.",
|
|
156
|
-
max_tokens: 1024,
|
|
157
|
-
});
|
|
158
|
-
fields = llmClient.parseJSON(response.content, AcquisitionTaskFieldsSchema);
|
|
159
|
-
}
|
|
160
|
-
// Clamp questions to 3-5
|
|
161
|
-
const questions = fields.knowledge_questions.slice(0, 5);
|
|
162
|
-
const taskId = randomUUID();
|
|
163
|
-
const now = new Date().toISOString();
|
|
164
|
-
const criteriaDescription = `All ${questions.length} research questions are answered with cited sources: ${questions.join("; ")}`;
|
|
165
|
-
const task = TaskSchema.parse({
|
|
166
|
-
id: taskId,
|
|
167
|
-
goal_id: goalId,
|
|
168
|
-
strategy_id: null,
|
|
169
|
-
target_dimensions: signal.related_dimension
|
|
170
|
-
? [signal.related_dimension]
|
|
171
|
-
: [],
|
|
172
|
-
primary_dimension: signal.related_dimension ?? "knowledge",
|
|
173
|
-
work_description: `Research task: ${fields.knowledge_target}`,
|
|
174
|
-
rationale: `Knowledge gap detected (${signal.signal_type}): ${signal.missing_knowledge}`,
|
|
175
|
-
approach: `Research the following questions using web search and document analysis:
|
|
176
|
-
${questions.map((q, i) => `${i + 1}. ${q}`).join("\n")}`,
|
|
177
|
-
success_criteria: [
|
|
178
|
-
{
|
|
179
|
-
description: criteriaDescription,
|
|
180
|
-
verification_method: "Verify each question has a cited answer in the task output",
|
|
181
|
-
is_blocking: true,
|
|
182
|
-
},
|
|
183
|
-
],
|
|
184
|
-
scope_boundary: {
|
|
185
|
-
in_scope: ["Information collection", "Web search", "Document reading", ...fields.in_scope],
|
|
186
|
-
out_of_scope: [
|
|
187
|
-
"System modifications",
|
|
188
|
-
"Code changes",
|
|
189
|
-
"Data mutations",
|
|
190
|
-
...fields.out_of_scope,
|
|
191
|
-
],
|
|
192
|
-
blast_radius: "None — read-only research task",
|
|
193
|
-
},
|
|
194
|
-
constraints: [
|
|
195
|
-
`In scope: ${fields.in_scope.join(", ")}. Out of scope: ${fields.out_of_scope.join(", ")}`,
|
|
196
|
-
"No system modifications allowed",
|
|
197
|
-
"Maximum 3-5 research questions per task",
|
|
198
|
-
],
|
|
199
|
-
reversibility: "reversible",
|
|
200
|
-
estimated_duration: { value: 4, unit: "hours" },
|
|
201
|
-
task_category: "knowledge_acquisition",
|
|
202
|
-
status: "pending",
|
|
203
|
-
created_at: now,
|
|
204
|
-
});
|
|
205
|
-
// Persist
|
|
206
|
-
await stateManager.writeRaw(`tasks/${goalId}/${taskId}.json`, task);
|
|
207
|
-
return task;
|
|
208
|
-
}
|
|
209
|
-
// ─── checkContradiction ───
|
|
210
|
-
/**
|
|
211
|
-
* Check whether a new entry contradicts existing same-tag entries.
|
|
212
|
-
* Uses LLM to compare answers for entries sharing tags with the new entry.
|
|
213
|
-
*/
|
|
214
|
-
export async function checkContradiction(deps, goalId, newEntry) {
|
|
215
|
-
const { llmClient, gateway, stateManager } = deps;
|
|
216
|
-
// Load entries that share at least one tag with the new entry
|
|
217
|
-
const domainKnowledge = await loadDomainKnowledge(stateManager, goalId);
|
|
218
|
-
const candidateEntries = domainKnowledge.entries.filter((existing) => existing.entry_id !== newEntry.entry_id &&
|
|
219
|
-
existing.tags.some((tag) => newEntry.tags.includes(tag)) &&
|
|
220
|
-
existing.superseded_by === null);
|
|
221
|
-
if (candidateEntries.length === 0) {
|
|
222
|
-
return ContradictionResultSchema.parse({
|
|
223
|
-
has_contradiction: false,
|
|
224
|
-
conflicting_entry_id: null,
|
|
225
|
-
resolution: null,
|
|
226
|
-
});
|
|
227
|
-
}
|
|
228
|
-
const existingSummary = candidateEntries
|
|
229
|
-
.map((e) => `Entry ${e.entry_id}:
|
|
230
|
-
Question: ${e.question}
|
|
231
|
-
Answer: ${e.answer}
|
|
232
|
-
Tags: ${e.tags.join(", ")}`)
|
|
233
|
-
.join("\n\n");
|
|
234
|
-
const prompt = `Check whether the new knowledge entry contradicts any existing entries.
|
|
235
|
-
|
|
236
|
-
New Entry:
|
|
237
|
-
Question: ${newEntry.question}
|
|
238
|
-
Answer: ${newEntry.answer}
|
|
239
|
-
Tags: ${newEntry.tags.join(", ")}
|
|
240
|
-
|
|
241
|
-
Existing Entries (same tags):
|
|
242
|
-
${existingSummary}
|
|
243
|
-
|
|
244
|
-
Determine if there is a factual contradiction. Respond with JSON:
|
|
245
|
-
{
|
|
246
|
-
"has_contradiction": boolean,
|
|
247
|
-
"conflicting_entry_id": "entry_id of the conflicting entry" | null,
|
|
248
|
-
"resolution": "explanation of the contradiction and suggested resolution" | null
|
|
249
|
-
}`;
|
|
250
|
-
if (gateway) {
|
|
251
|
-
try {
|
|
252
|
-
const parsed = await gateway.execute({
|
|
253
|
-
purpose: "knowledge_contradiction",
|
|
254
|
-
goalId,
|
|
255
|
-
additionalContext: { contradiction_prompt: prompt },
|
|
256
|
-
responseSchema: ContradictionCheckResponseSchema,
|
|
257
|
-
maxTokens: 512,
|
|
258
|
-
});
|
|
259
|
-
return ContradictionResultSchema.parse(parsed);
|
|
260
|
-
}
|
|
261
|
-
catch {
|
|
262
|
-
return ContradictionResultSchema.parse({
|
|
263
|
-
has_contradiction: false,
|
|
264
|
-
conflicting_entry_id: null,
|
|
265
|
-
resolution: null,
|
|
266
|
-
});
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
else {
|
|
270
|
-
const response = await llmClient.sendMessage([{ role: "user", content: prompt }], {
|
|
271
|
-
system: "You are a knowledge consistency checker. Detect factual contradictions between knowledge entries. Respond with JSON only.",
|
|
272
|
-
max_tokens: 512,
|
|
273
|
-
});
|
|
274
|
-
try {
|
|
275
|
-
const parsed = llmClient.parseJSON(response.content, ContradictionCheckResponseSchema);
|
|
276
|
-
return ContradictionResultSchema.parse(parsed);
|
|
277
|
-
}
|
|
278
|
-
catch {
|
|
279
|
-
return ContradictionResultSchema.parse({
|
|
280
|
-
has_contradiction: false,
|
|
281
|
-
conflicting_entry_id: null,
|
|
282
|
-
resolution: null,
|
|
283
|
-
});
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
//# sourceMappingURL=knowledge-manager-query%202.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"knowledge-manager-query 2.js","sourceRoot":"","sources":["../../src/knowledge/knowledge-manager-query 2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,EACL,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,uBAAuB,CAAC;AAM/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAW5D,+BAA+B;AAE/B,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,WAAW,EAAE,CAAC;SACX,IAAI,CAAC;QACJ,2BAA2B;QAC3B,mBAAmB;QACnB,2BAA2B;QAC3B,YAAY;QACZ,sBAAsB;KACvB,CAAC;SACD,QAAQ,EAAE;IACb,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CACpD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC5B,mEAAmE;IACnE,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/C,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC7B,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAClC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IACvD,iBAAiB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC9B,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IACzD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;CAChD,CAAC,CAAC;AAEH,6BAA6B;AAE7B;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,kBAAkB,CACtC,IAAwB,EACxB,OAIC;IAED,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;IAEpC,wDAAwD;IACxD,IAAI,OAAO,CAAC,UAAU,GAAG,GAAG,EAAE,CAAC;QAC7B,OAAO,wBAAwB,CAAC,KAAK,CAAC;YACpC,WAAW,EAAE,2BAA2B;YACxC,iBAAiB,EACf,iEAAiE;YACnE,WAAW,EAAE,iBAAiB;YAC9B,iBAAiB,EAAE,IAAI;SACxB,CAAC,CAAC;IACL,CAAC;IAED,+FAA+F;IAC/F,gFAAgF;IAChF,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,OAAO,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACzE,OAAO,wBAAwB,CAAC,KAAK,CAAC;YACpC,WAAW,EAAE,mBAAmB;YAChC,iBAAiB,EACf,0EAA0E;YAC5E,WAAW,EAAE,oBAAoB;YACjC,iBAAiB,EAAE,IAAI;SACxB,CAAC,CAAC;IACL,CAAC;IAED,2CAA2C;IAC3C,MAAM,MAAM,GAAG;;gBAED,OAAO,CAAC,YAAY,CAAC,MAAM,YAAY,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC;cAC3F,CAAC,OAAO,CAAC,UAAU,IAAI,EAAE,CAAC,CAAC,MAAM,YAAY,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,UAAU,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC;cACnG,OAAO,CAAC,UAAU;;;;;;;;;EAS9B,CAAC;IAED,IAAI,MAAkD,CAAC;IACvD,IAAI,OAAO,EAAE,CAAC;QACZ,IAAI,CAAC;YACH,MAAM,GAAG,MAAM,OAAO,CAAC,OAAO,CAAC;gBAC7B,OAAO,EAAE,yBAAyB;gBAClC,iBAAiB,EAAE,EAAE,oBAAoB,EAAE,MAAM,EAAE;gBACnD,cAAc,EAAE,0BAA0B;gBAC1C,SAAS,EAAE,GAAG;aACf,CAAC,CAAC;QACL,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;SAAM,CAAC;QACN,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC,WAAW,CAC1C,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,EACnC;YACE,MAAM,EACJ,kHAAkH;YACpH,UAAU,EAAE,GAAG;SAChB,CACF,CAAC;QAEF,IAAI,CAAC;YACH,MAAM,GAAG,SAAS,CAAC,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,0BAA0B,CAAC,CAAC;QAC7E,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;QACpB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,wBAAwB,CAAC,KAAK,CAAC;QACpC,WAAW,EAAE,MAAM,CAAC,WAAW,IAAI,2BAA2B;QAC9D,iBAAiB,EACf,MAAM,CAAC,iBAAiB,IAAI,oCAAoC;QAClE,WAAW,EAAE,MAAM,CAAC,WAAW,IAAI,iBAAiB;QACpD,iBAAiB,EAAE,MAAM,CAAC,iBAAiB,IAAI,IAAI;KACpD,CAAC,CAAC;AACL,CAAC;AAED,kCAAkC;AAElC;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,uBAAuB,CAC3C,IAAwB,EACxB,MAA0B,EAC1B,MAAc;IAEd,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IAElD,MAAM,MAAM,GAAG;;WAEN,MAAM;;UAEP,MAAM,CAAC,WAAW;uBACL,MAAM,CAAC,iBAAiB;iBAC9B,MAAM,CAAC,WAAW;uBACZ,MAAM,CAAC,iBAAiB,IAAI,MAAM;;;;;;;;;;;EAWvD,CAAC;IAED,IAAI,MAAmD,CAAC;IACxD,IAAI,OAAO,EAAE,CAAC;QACZ,MAAM,GAAG,MAAM,OAAO,CAAC,OAAO,CAAC;YAC7B,OAAO,EAAE,uBAAuB;YAChC,MAAM;YACN,iBAAiB,EAAE,EAAE,kBAAkB,EAAE,MAAM,EAAE;YACjD,cAAc,EAAE,2BAA2B;YAC3C,SAAS,EAAE,IAAI;SAChB,CAAC,CAAC;IACL,CAAC;SAAM,CAAC;QACN,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC,WAAW,CAC1C,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,EACnC;YACE,MAAM,EACJ,4GAA4G;YAC9G,UAAU,EAAE,IAAI;SACjB,CACF,CAAC;QAEF,MAAM,GAAG,SAAS,CAAC,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,2BAA2B,CAAC,CAAC;IAC9E,CAAC;IAED,yBAAyB;IACzB,MAAM,SAAS,GAAG,MAAM,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAEzD,MAAM,MAAM,GAAG,UAAU,EAAE,CAAC;IAC5B,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IAErC,MAAM,mBAAmB,GAAG,OAAO,SAAS,CAAC,MAAM,wDAAwD,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;IAElI,MAAM,IAAI,GAAG,UAAU,CAAC,KAAK,CAAC;QAC5B,EAAE,EAAE,MAAM;QACV,OAAO,EAAE,MAAM;QACf,WAAW,EAAE,IAAI;QACjB,iBAAiB,EAAE,MAAM,CAAC,iBAAiB;YACzC,CAAC,CAAC,CAAC,MAAM,CAAC,iBAAiB,CAAC;YAC5B,CAAC,CAAC,EAAE;QACN,iBAAiB,EAAE,MAAM,CAAC,iBAAiB,IAAI,WAAW;QAC1D,gBAAgB,EAAE,kBAAkB,MAAM,CAAC,gBAAgB,EAAE;QAC7D,SAAS,EAAE,2BAA2B,MAAM,CAAC,WAAW,MAAM,MAAM,CAAC,iBAAiB,EAAE;QACxF,QAAQ,EAAE;EACZ,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;QACpD,gBAAgB,EAAE;YAChB;gBACE,WAAW,EAAE,mBAAmB;gBAChC,mBAAmB,EACjB,4DAA4D;gBAC9D,WAAW,EAAE,IAAI;aAClB;SACF;QACD,cAAc,EAAE;YACd,QAAQ,EAAE,CAAC,wBAAwB,EAAE,YAAY,EAAE,kBAAkB,EAAE,GAAG,MAAM,CAAC,QAAQ,CAAC;YAC1F,YAAY,EAAE;gBACZ,sBAAsB;gBACtB,cAAc;gBACd,gBAAgB;gBAChB,GAAG,MAAM,CAAC,YAAY;aACvB;YACD,YAAY,EAAE,gCAAgC;SAC/C;QACD,WAAW,EAAE;YACX,aAAa,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,mBAAmB,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YAC1F,iCAAiC;YACjC,yCAAyC;SAC1C;QACD,aAAa,EAAE,YAAY;QAC3B,kBAAkB,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE;QAC/C,aAAa,EAAE,uBAAuB;QACtC,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,GAAG;KAChB,CAAC,CAAC;IAEH,UAAU;IACV,MAAM,YAAY,CAAC,QAAQ,CAAC,SAAS,MAAM,IAAI,MAAM,OAAO,EAAE,IAAI,CAAC,CAAC;IAEpE,OAAO,IAAI,CAAC;AACd,CAAC;AAED,6BAA6B;AAE7B;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,kBAAkB,CACtC,IAAwB,EACxB,MAAc,EACd,QAAwB;IAExB,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IAElD,8DAA8D;IAC9D,MAAM,eAAe,GAAG,MAAM,mBAAmB,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IACxE,MAAM,gBAAgB,GAAG,eAAe,CAAC,OAAO,CAAC,MAAM,CACrD,CAAC,QAAQ,EAAE,EAAE,CACX,QAAQ,CAAC,QAAQ,KAAK,QAAQ,CAAC,QAAQ;QACvC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QACxD,QAAQ,CAAC,aAAa,KAAK,IAAI,CAClC,CAAC;IAEF,IAAI,gBAAgB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAClC,OAAO,yBAAyB,CAAC,KAAK,CAAC;YACrC,iBAAiB,EAAE,KAAK;YACxB,oBAAoB,EAAE,IAAI;YAC1B,UAAU,EAAE,IAAI;SACjB,CAAC,CAAC;IACL,CAAC;IAED,MAAM,eAAe,GAAG,gBAAgB;SACrC,GAAG,CACF,CAAC,CAAC,EAAE,EAAE,CACJ,SAAS,CAAC,CAAC,QAAQ;cACb,CAAC,CAAC,QAAQ;YACZ,CAAC,CAAC,MAAM;UACV,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CACxB;SACA,IAAI,CAAC,MAAM,CAAC,CAAC;IAEhB,MAAM,MAAM,GAAG;;;cAGH,QAAQ,CAAC,QAAQ;YACnB,QAAQ,CAAC,MAAM;UACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;;;EAGhC,eAAe;;;;;;;EAOf,CAAC;IAED,IAAI,OAAO,EAAE,CAAC;QACZ,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,OAAO,CAAC;gBACnC,OAAO,EAAE,yBAAyB;gBAClC,MAAM;gBACN,iBAAiB,EAAE,EAAE,oBAAoB,EAAE,MAAM,EAAE;gBACnD,cAAc,EAAE,gCAAgC;gBAChD,SAAS,EAAE,GAAG;aACf,CAAC,CAAC;YACH,OAAO,yBAAyB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACjD,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,yBAAyB,CAAC,KAAK,CAAC;gBACrC,iBAAiB,EAAE,KAAK;gBACxB,oBAAoB,EAAE,IAAI;gBAC1B,UAAU,EAAE,IAAI;aACjB,CAAC,CAAC;QACL,CAAC;IACH,CAAC;SAAM,CAAC;QACN,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC,WAAW,CAC1C,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,EACnC;YACE,MAAM,EACJ,2HAA2H;YAC7H,UAAU,EAAE,GAAG;SAChB,CACF,CAAC;QAEF,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,SAAS,CAAC,SAAS,CAChC,QAAQ,CAAC,OAAO,EAChB,gCAAgC,CACjC,CAAC;YACF,OAAO,yBAAyB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACjD,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,yBAAyB,CAAC,KAAK,CAAC;gBACrC,iBAAiB,EAAE,KAAK;gBACxB,oBAAoB,EAAE,IAAI;gBAC1B,UAAU,EAAE,IAAI;aACjB,CAAC,CAAC;QACL,CAAC;IACH,CAAC;AACH,CAAC"}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { StateManager } from "../base/state/state-manager.js";
|
|
3
|
-
import type { ILLMClient } from "../base/llm/llm-client.js";
|
|
4
|
-
import type { IPromptGateway } from "../prompt/gateway.js";
|
|
5
|
-
import type { Logger } from "../runtime/logger.js";
|
|
6
|
-
import type { Task } from "../types/task.js";
|
|
7
|
-
import type { KnowledgeEntry, KnowledgeGapSignal, ContradictionResult } from "../types/knowledge.js";
|
|
8
|
-
export interface KnowledgeQueryDeps {
|
|
9
|
-
llmClient: ILLMClient;
|
|
10
|
-
gateway?: IPromptGateway;
|
|
11
|
-
stateManager: StateManager;
|
|
12
|
-
logger?: Logger;
|
|
13
|
-
}
|
|
14
|
-
export declare const GapDetectionResponseSchema: z.ZodObject<{
|
|
15
|
-
has_gap: z.ZodBoolean;
|
|
16
|
-
signal_type: z.ZodOptional<z.ZodEnum<["interpretation_difficulty", "strategy_deadlock", "stall_information_deficit", "new_domain", "prerequisite_missing"]>>;
|
|
17
|
-
missing_knowledge: z.ZodOptional<z.ZodString>;
|
|
18
|
-
source_step: z.ZodOptional<z.ZodString>;
|
|
19
|
-
related_dimension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
has_gap: boolean;
|
|
22
|
-
signal_type?: "interpretation_difficulty" | "strategy_deadlock" | "stall_information_deficit" | "new_domain" | "prerequisite_missing" | undefined;
|
|
23
|
-
missing_knowledge?: string | undefined;
|
|
24
|
-
source_step?: string | undefined;
|
|
25
|
-
related_dimension?: string | null | undefined;
|
|
26
|
-
}, {
|
|
27
|
-
has_gap: boolean;
|
|
28
|
-
signal_type?: "interpretation_difficulty" | "strategy_deadlock" | "stall_information_deficit" | "new_domain" | "prerequisite_missing" | undefined;
|
|
29
|
-
missing_knowledge?: string | undefined;
|
|
30
|
-
source_step?: string | undefined;
|
|
31
|
-
related_dimension?: string | null | undefined;
|
|
32
|
-
}>;
|
|
33
|
-
export declare const AcquisitionTaskFieldsSchema: z.ZodObject<{
|
|
34
|
-
knowledge_target: z.ZodString;
|
|
35
|
-
knowledge_questions: z.ZodArray<z.ZodString, "many">;
|
|
36
|
-
in_scope: z.ZodArray<z.ZodString, "many">;
|
|
37
|
-
out_of_scope: z.ZodArray<z.ZodString, "many">;
|
|
38
|
-
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
in_scope: string[];
|
|
40
|
-
out_of_scope: string[];
|
|
41
|
-
knowledge_questions: string[];
|
|
42
|
-
knowledge_target: string;
|
|
43
|
-
}, {
|
|
44
|
-
in_scope: string[];
|
|
45
|
-
out_of_scope: string[];
|
|
46
|
-
knowledge_questions: string[];
|
|
47
|
-
knowledge_target: string;
|
|
48
|
-
}>;
|
|
49
|
-
export declare const ContradictionCheckResponseSchema: z.ZodObject<{
|
|
50
|
-
has_contradiction: z.ZodBoolean;
|
|
51
|
-
conflicting_entry_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
52
|
-
resolution: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
53
|
-
}, "strip", z.ZodTypeAny, {
|
|
54
|
-
has_contradiction: boolean;
|
|
55
|
-
conflicting_entry_id: string | null;
|
|
56
|
-
resolution: string | null;
|
|
57
|
-
}, {
|
|
58
|
-
has_contradiction: boolean;
|
|
59
|
-
conflicting_entry_id?: string | null | undefined;
|
|
60
|
-
resolution?: string | null | undefined;
|
|
61
|
-
}>;
|
|
62
|
-
/**
|
|
63
|
-
* Detect whether the given context reveals a knowledge gap.
|
|
64
|
-
*
|
|
65
|
-
* Fast-path heuristics:
|
|
66
|
-
* - confidence < 0.3 → interpretation_difficulty
|
|
67
|
-
* - strategies empty → strategy_deadlock
|
|
68
|
-
*
|
|
69
|
-
* Otherwise, delegate to LLM for deeper analysis.
|
|
70
|
-
*/
|
|
71
|
-
export declare function detectKnowledgeGap(deps: KnowledgeQueryDeps, context: {
|
|
72
|
-
observations: unknown[];
|
|
73
|
-
strategies: unknown[] | null | undefined;
|
|
74
|
-
confidence: number;
|
|
75
|
-
}): Promise<KnowledgeGapSignal | null>;
|
|
76
|
-
/**
|
|
77
|
-
* Generate a knowledge acquisition Task for the given signal and goal.
|
|
78
|
-
* The task will have task_category: "knowledge_acquisition", 3-5 research
|
|
79
|
-
* questions, and explicit scope limits.
|
|
80
|
-
*/
|
|
81
|
-
export declare function generateAcquisitionTask(deps: KnowledgeQueryDeps, signal: KnowledgeGapSignal, goalId: string): Promise<Task>;
|
|
82
|
-
/**
|
|
83
|
-
* Check whether a new entry contradicts existing same-tag entries.
|
|
84
|
-
* Uses LLM to compare answers for entries sharing tags with the new entry.
|
|
85
|
-
*/
|
|
86
|
-
export declare function checkContradiction(deps: KnowledgeQueryDeps, goalId: string, newEntry: KnowledgeEntry): Promise<ContradictionResult>;
|
|
87
|
-
//# sourceMappingURL=knowledge-manager-query.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"knowledge-manager-query.d.ts","sourceRoot":"","sources":["../../src/knowledge/knowledge-manager-query.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAEnD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAK7C,OAAO,KAAK,EACV,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,uBAAuB,CAAC;AAK/B,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,UAAU,CAAC;IACtB,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,YAAY,EAAE,YAAY,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAID,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;EAcrC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;EAMtC,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;EAI3C,CAAC;AAIH;;;;;;;;GAQG;AACH,wBAAsB,kBAAkB,CACtC,IAAI,EAAE,kBAAkB,EACxB,OAAO,EAAE;IACP,YAAY,EAAE,OAAO,EAAE,CAAC;IACxB,UAAU,EAAE,OAAO,EAAE,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,UAAU,EAAE,MAAM,CAAC;CACpB,GACA,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAkFpC;AAID;;;;GAIG;AACH,wBAAsB,uBAAuB,CAC3C,IAAI,EAAE,kBAAkB,EACxB,MAAM,EAAE,kBAAkB,EAC1B,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC,CAmGf;AAID;;;GAGG;AACH,wBAAsB,kBAAkB,CACtC,IAAI,EAAE,kBAAkB,EACxB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,cAAc,GACvB,OAAO,CAAC,mBAAmB,CAAC,CAwF9B"}
|
|
@@ -1,287 +0,0 @@
|
|
|
1
|
-
import { randomUUID } from "node:crypto";
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
import { TaskSchema } from "../types/task.js";
|
|
4
|
-
import { KnowledgeGapSignalSchema, ContradictionResultSchema, } from "../types/knowledge.js";
|
|
5
|
-
import { loadDomainKnowledge } from "./knowledge-search.js";
|
|
6
|
-
// ─── LLM response schemas ───
|
|
7
|
-
export const GapDetectionResponseSchema = z.object({
|
|
8
|
-
has_gap: z.boolean(),
|
|
9
|
-
signal_type: z
|
|
10
|
-
.enum([
|
|
11
|
-
"interpretation_difficulty",
|
|
12
|
-
"strategy_deadlock",
|
|
13
|
-
"stall_information_deficit",
|
|
14
|
-
"new_domain",
|
|
15
|
-
"prerequisite_missing",
|
|
16
|
-
])
|
|
17
|
-
.optional(),
|
|
18
|
-
missing_knowledge: z.string().optional(),
|
|
19
|
-
source_step: z.string().optional(),
|
|
20
|
-
related_dimension: z.string().nullable().optional(),
|
|
21
|
-
});
|
|
22
|
-
export const AcquisitionTaskFieldsSchema = z.object({
|
|
23
|
-
knowledge_target: z.string(),
|
|
24
|
-
// Allow up to 6 from LLM; we clamp to 5 in generateAcquisitionTask
|
|
25
|
-
knowledge_questions: z.array(z.string()).min(3),
|
|
26
|
-
in_scope: z.array(z.string()),
|
|
27
|
-
out_of_scope: z.array(z.string()),
|
|
28
|
-
});
|
|
29
|
-
export const ContradictionCheckResponseSchema = z.object({
|
|
30
|
-
has_contradiction: z.boolean(),
|
|
31
|
-
conflicting_entry_id: z.string().nullable().default(null),
|
|
32
|
-
resolution: z.string().nullable().default(null),
|
|
33
|
-
});
|
|
34
|
-
// ─── detectKnowledgeGap ───
|
|
35
|
-
/**
|
|
36
|
-
* Detect whether the given context reveals a knowledge gap.
|
|
37
|
-
*
|
|
38
|
-
* Fast-path heuristics:
|
|
39
|
-
* - confidence < 0.3 → interpretation_difficulty
|
|
40
|
-
* - strategies empty → strategy_deadlock
|
|
41
|
-
*
|
|
42
|
-
* Otherwise, delegate to LLM for deeper analysis.
|
|
43
|
-
*/
|
|
44
|
-
export async function detectKnowledgeGap(deps, context) {
|
|
45
|
-
const { llmClient, gateway } = deps;
|
|
46
|
-
// Fast-path: low confidence → interpretation difficulty
|
|
47
|
-
if (context.confidence < 0.3) {
|
|
48
|
-
return KnowledgeGapSignalSchema.parse({
|
|
49
|
-
signal_type: "interpretation_difficulty",
|
|
50
|
-
missing_knowledge: "Observation confidence is too low to interpret results reliably",
|
|
51
|
-
source_step: "gap_recognition",
|
|
52
|
-
related_dimension: null,
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
// Fast-path: strategies is an explicit empty array (tried and found none) → strategy deadlock.
|
|
56
|
-
// null/undefined means "not yet available" and must NOT trigger this fast-path.
|
|
57
|
-
if (Array.isArray(context.strategies) && context.strategies.length === 0) {
|
|
58
|
-
return KnowledgeGapSignalSchema.parse({
|
|
59
|
-
signal_type: "strategy_deadlock",
|
|
60
|
-
missing_knowledge: "No strategies available — domain knowledge needed to generate hypotheses",
|
|
61
|
-
source_step: "strategy_selection",
|
|
62
|
-
related_dimension: null,
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
// LLM-based detection for borderline cases
|
|
66
|
-
const prompt = `Analyze the following context and determine whether there is a knowledge gap that would prevent effective progress.
|
|
67
|
-
|
|
68
|
-
Observations (${context.observations.length} items): ${JSON.stringify(context.observations).slice(0, 500)}
|
|
69
|
-
Strategies (${(context.strategies ?? []).length} items): ${JSON.stringify(context.strategies ?? []).slice(0, 500)}
|
|
70
|
-
Confidence: ${context.confidence}
|
|
71
|
-
|
|
72
|
-
Determine if there is a knowledge gap. Respond with JSON:
|
|
73
|
-
{
|
|
74
|
-
"has_gap": boolean,
|
|
75
|
-
"signal_type": "interpretation_difficulty" | "strategy_deadlock" | "stall_information_deficit" | "new_domain" | "prerequisite_missing" | null,
|
|
76
|
-
"missing_knowledge": "description of what is missing" | null,
|
|
77
|
-
"source_step": "gap_recognition" | "strategy_selection" | "task_generation" | null,
|
|
78
|
-
"related_dimension": "dimension name" | null
|
|
79
|
-
}`;
|
|
80
|
-
let parsed;
|
|
81
|
-
if (gateway) {
|
|
82
|
-
try {
|
|
83
|
-
parsed = await gateway.execute({
|
|
84
|
-
purpose: "knowledge_gap_detection",
|
|
85
|
-
additionalContext: { gap_detection_prompt: prompt },
|
|
86
|
-
responseSchema: GapDetectionResponseSchema,
|
|
87
|
-
maxTokens: 512,
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
catch {
|
|
91
|
-
return null;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
else {
|
|
95
|
-
const response = await llmClient.sendMessage([{ role: "user", content: prompt }], {
|
|
96
|
-
system: "You are a knowledge gap detector. Analyze contexts to identify missing domain knowledge. Respond with JSON only.",
|
|
97
|
-
max_tokens: 512,
|
|
98
|
-
});
|
|
99
|
-
try {
|
|
100
|
-
parsed = llmClient.parseJSON(response.content, GapDetectionResponseSchema);
|
|
101
|
-
}
|
|
102
|
-
catch {
|
|
103
|
-
return null;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
if (!parsed.has_gap) {
|
|
107
|
-
return null;
|
|
108
|
-
}
|
|
109
|
-
return KnowledgeGapSignalSchema.parse({
|
|
110
|
-
signal_type: parsed.signal_type ?? "interpretation_difficulty",
|
|
111
|
-
missing_knowledge: parsed.missing_knowledge ?? "Unspecified knowledge gap detected",
|
|
112
|
-
source_step: parsed.source_step ?? "gap_recognition",
|
|
113
|
-
related_dimension: parsed.related_dimension ?? null,
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
// ─── generateAcquisitionTask ───
|
|
117
|
-
/**
|
|
118
|
-
* Generate a knowledge acquisition Task for the given signal and goal.
|
|
119
|
-
* The task will have task_category: "knowledge_acquisition", 3-5 research
|
|
120
|
-
* questions, and explicit scope limits.
|
|
121
|
-
*/
|
|
122
|
-
export async function generateAcquisitionTask(deps, signal, goalId) {
|
|
123
|
-
const { llmClient, gateway, stateManager } = deps;
|
|
124
|
-
const prompt = `You are generating a knowledge acquisition task for an AI orchestrator.
|
|
125
|
-
|
|
126
|
-
Goal ID: ${goalId}
|
|
127
|
-
Knowledge Gap Signal:
|
|
128
|
-
Type: ${signal.signal_type}
|
|
129
|
-
Missing Knowledge: ${signal.missing_knowledge}
|
|
130
|
-
Source Step: ${signal.source_step}
|
|
131
|
-
Related Dimension: ${signal.related_dimension ?? "none"}
|
|
132
|
-
|
|
133
|
-
Generate a research task with 3-5 specific questions that, when answered, will resolve this knowledge gap.
|
|
134
|
-
The task must be scoped to information collection only — no system changes.
|
|
135
|
-
|
|
136
|
-
Respond with JSON:
|
|
137
|
-
{
|
|
138
|
-
"knowledge_target": "concise description of what knowledge is needed",
|
|
139
|
-
"knowledge_questions": ["question 1", "question 2", "question 3"],
|
|
140
|
-
"in_scope": ["item 1", "item 2"],
|
|
141
|
-
"out_of_scope": ["item 1", "item 2"]
|
|
142
|
-
}`;
|
|
143
|
-
let fields;
|
|
144
|
-
if (gateway) {
|
|
145
|
-
fields = await gateway.execute({
|
|
146
|
-
purpose: "knowledge_acquisition",
|
|
147
|
-
goalId,
|
|
148
|
-
additionalContext: { acquisition_prompt: prompt },
|
|
149
|
-
responseSchema: AcquisitionTaskFieldsSchema,
|
|
150
|
-
maxTokens: 1024,
|
|
151
|
-
});
|
|
152
|
-
}
|
|
153
|
-
else {
|
|
154
|
-
const response = await llmClient.sendMessage([{ role: "user", content: prompt }], {
|
|
155
|
-
system: "You generate knowledge acquisition tasks. Produce 3-5 specific research questions. Respond with JSON only.",
|
|
156
|
-
max_tokens: 1024,
|
|
157
|
-
});
|
|
158
|
-
fields = llmClient.parseJSON(response.content, AcquisitionTaskFieldsSchema);
|
|
159
|
-
}
|
|
160
|
-
// Clamp questions to 3-5
|
|
161
|
-
const questions = fields.knowledge_questions.slice(0, 5);
|
|
162
|
-
const taskId = randomUUID();
|
|
163
|
-
const now = new Date().toISOString();
|
|
164
|
-
const criteriaDescription = `All ${questions.length} research questions are answered with cited sources: ${questions.join("; ")}`;
|
|
165
|
-
const task = TaskSchema.parse({
|
|
166
|
-
id: taskId,
|
|
167
|
-
goal_id: goalId,
|
|
168
|
-
strategy_id: null,
|
|
169
|
-
target_dimensions: signal.related_dimension
|
|
170
|
-
? [signal.related_dimension]
|
|
171
|
-
: [],
|
|
172
|
-
primary_dimension: signal.related_dimension ?? "knowledge",
|
|
173
|
-
work_description: `Research task: ${fields.knowledge_target}`,
|
|
174
|
-
rationale: `Knowledge gap detected (${signal.signal_type}): ${signal.missing_knowledge}`,
|
|
175
|
-
approach: `Research the following questions using web search and document analysis:
|
|
176
|
-
${questions.map((q, i) => `${i + 1}. ${q}`).join("\n")}`,
|
|
177
|
-
success_criteria: [
|
|
178
|
-
{
|
|
179
|
-
description: criteriaDescription,
|
|
180
|
-
verification_method: "Verify each question has a cited answer in the task output",
|
|
181
|
-
is_blocking: true,
|
|
182
|
-
},
|
|
183
|
-
],
|
|
184
|
-
scope_boundary: {
|
|
185
|
-
in_scope: ["Information collection", "Web search", "Document reading", ...fields.in_scope],
|
|
186
|
-
out_of_scope: [
|
|
187
|
-
"System modifications",
|
|
188
|
-
"Code changes",
|
|
189
|
-
"Data mutations",
|
|
190
|
-
...fields.out_of_scope,
|
|
191
|
-
],
|
|
192
|
-
blast_radius: "None — read-only research task",
|
|
193
|
-
},
|
|
194
|
-
constraints: [
|
|
195
|
-
`In scope: ${fields.in_scope.join(", ")}. Out of scope: ${fields.out_of_scope.join(", ")}`,
|
|
196
|
-
"No system modifications allowed",
|
|
197
|
-
"Maximum 3-5 research questions per task",
|
|
198
|
-
],
|
|
199
|
-
reversibility: "reversible",
|
|
200
|
-
estimated_duration: { value: 4, unit: "hours" },
|
|
201
|
-
task_category: "knowledge_acquisition",
|
|
202
|
-
status: "pending",
|
|
203
|
-
created_at: now,
|
|
204
|
-
});
|
|
205
|
-
// Persist
|
|
206
|
-
await stateManager.writeRaw(`tasks/${goalId}/${taskId}.json`, task);
|
|
207
|
-
return task;
|
|
208
|
-
}
|
|
209
|
-
// ─── checkContradiction ───
|
|
210
|
-
/**
|
|
211
|
-
* Check whether a new entry contradicts existing same-tag entries.
|
|
212
|
-
* Uses LLM to compare answers for entries sharing tags with the new entry.
|
|
213
|
-
*/
|
|
214
|
-
export async function checkContradiction(deps, goalId, newEntry) {
|
|
215
|
-
const { llmClient, gateway, stateManager } = deps;
|
|
216
|
-
// Load entries that share at least one tag with the new entry
|
|
217
|
-
const domainKnowledge = await loadDomainKnowledge(stateManager, goalId);
|
|
218
|
-
const candidateEntries = domainKnowledge.entries.filter((existing) => existing.entry_id !== newEntry.entry_id &&
|
|
219
|
-
existing.tags.some((tag) => newEntry.tags.includes(tag)) &&
|
|
220
|
-
existing.superseded_by === null);
|
|
221
|
-
if (candidateEntries.length === 0) {
|
|
222
|
-
return ContradictionResultSchema.parse({
|
|
223
|
-
has_contradiction: false,
|
|
224
|
-
conflicting_entry_id: null,
|
|
225
|
-
resolution: null,
|
|
226
|
-
});
|
|
227
|
-
}
|
|
228
|
-
const existingSummary = candidateEntries
|
|
229
|
-
.map((e) => `Entry ${e.entry_id}:
|
|
230
|
-
Question: ${e.question}
|
|
231
|
-
Answer: ${e.answer}
|
|
232
|
-
Tags: ${e.tags.join(", ")}`)
|
|
233
|
-
.join("\n\n");
|
|
234
|
-
const prompt = `Check whether the new knowledge entry contradicts any existing entries.
|
|
235
|
-
|
|
236
|
-
New Entry:
|
|
237
|
-
Question: ${newEntry.question}
|
|
238
|
-
Answer: ${newEntry.answer}
|
|
239
|
-
Tags: ${newEntry.tags.join(", ")}
|
|
240
|
-
|
|
241
|
-
Existing Entries (same tags):
|
|
242
|
-
${existingSummary}
|
|
243
|
-
|
|
244
|
-
Determine if there is a factual contradiction. Respond with JSON:
|
|
245
|
-
{
|
|
246
|
-
"has_contradiction": boolean,
|
|
247
|
-
"conflicting_entry_id": "entry_id of the conflicting entry" | null,
|
|
248
|
-
"resolution": "explanation of the contradiction and suggested resolution" | null
|
|
249
|
-
}`;
|
|
250
|
-
if (gateway) {
|
|
251
|
-
try {
|
|
252
|
-
const parsed = await gateway.execute({
|
|
253
|
-
purpose: "knowledge_contradiction",
|
|
254
|
-
goalId,
|
|
255
|
-
additionalContext: { contradiction_prompt: prompt },
|
|
256
|
-
responseSchema: ContradictionCheckResponseSchema,
|
|
257
|
-
maxTokens: 512,
|
|
258
|
-
});
|
|
259
|
-
return ContradictionResultSchema.parse(parsed);
|
|
260
|
-
}
|
|
261
|
-
catch {
|
|
262
|
-
return ContradictionResultSchema.parse({
|
|
263
|
-
has_contradiction: false,
|
|
264
|
-
conflicting_entry_id: null,
|
|
265
|
-
resolution: null,
|
|
266
|
-
});
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
else {
|
|
270
|
-
const response = await llmClient.sendMessage([{ role: "user", content: prompt }], {
|
|
271
|
-
system: "You are a knowledge consistency checker. Detect factual contradictions between knowledge entries. Respond with JSON only.",
|
|
272
|
-
max_tokens: 512,
|
|
273
|
-
});
|
|
274
|
-
try {
|
|
275
|
-
const parsed = llmClient.parseJSON(response.content, ContradictionCheckResponseSchema);
|
|
276
|
-
return ContradictionResultSchema.parse(parsed);
|
|
277
|
-
}
|
|
278
|
-
catch {
|
|
279
|
-
return ContradictionResultSchema.parse({
|
|
280
|
-
has_contradiction: false,
|
|
281
|
-
conflicting_entry_id: null,
|
|
282
|
-
resolution: null,
|
|
283
|
-
});
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
//# sourceMappingURL=knowledge-manager-query.js.map
|