pulseed 0.4.3 → 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.js +0 -0
- 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/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 +1 -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/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,6 +1,15 @@
|
|
|
1
|
+
import * as fs from "node:fs";
|
|
2
|
+
import * as fsp from "node:fs/promises";
|
|
1
3
|
import * as path from "node:path";
|
|
4
|
+
import { spawnSync } from "node:child_process";
|
|
5
|
+
import { TaskSchema } from "../../base/types/task.js";
|
|
6
|
+
import { getProviderRuntimeFingerprint } from "../../base/llm/provider-config.js";
|
|
2
7
|
import { EventServer } from "../event/server.js";
|
|
3
|
-
import { DaemonConfigSchema, DaemonStateSchema } from "../../base/types/daemon.js";
|
|
8
|
+
import { DaemonConfigSchema, DaemonStateSchema, ResidentActivitySchema } from "../../base/types/daemon.js";
|
|
9
|
+
import { DreamAnalyzer } from "../../platform/dream/dream-analyzer.js";
|
|
10
|
+
import { DreamScheduleSuggestionStore } from "../../platform/dream/dream-schedule-suggestions.js";
|
|
11
|
+
import { runDreamConsolidation } from "../../reflection/dream-consolidation.js";
|
|
12
|
+
import { PipelineStateSchema } from "../../base/types/pipeline.js";
|
|
4
13
|
import { generateCronEntry } from "./signals.js";
|
|
5
14
|
import { rotateDaemonLog, calculateAdaptiveInterval as calcAdaptiveInterval } from "./health.js";
|
|
6
15
|
import { HttpChannelAdapter } from "../gateway/index.js";
|
|
@@ -16,14 +25,81 @@ import { CommandDispatcher } from "../command-dispatcher.js";
|
|
|
16
25
|
import { EventDispatcher } from "../event/dispatcher.js";
|
|
17
26
|
import { RuntimeOwnershipCoordinator, } from "./runtime-ownership.js";
|
|
18
27
|
import { ProcessShutdownCoordinator, startDaemonStatusHeartbeat, } from "./runner-lifecycle.js";
|
|
19
|
-
import { checkCrashRecoveryMarker, cleanupDaemonRun, collectGoalCycleScheduleSnapshot, deleteShutdownMarkerFile, determineActiveGoalsForCycle, expireOldCronTasks, getMaxGapScoreForGoals, getNextIntervalForGoals, processCronTasksForDaemon, processScheduleEntriesForDaemon, readShutdownMarkerFile, restoreInterruptedGoals, runProactiveMaintenance, runSupervisorMaintenanceCycleForDaemon, saveDaemonStateFile, writeChatMessageEvent, writeShutdownMarkerFile, } from "./index.js";
|
|
28
|
+
import { checkCrashRecoveryMarker, cleanupDaemonRun, collectGoalCycleScheduleSnapshot, deleteShutdownMarkerFile, determineActiveGoalsForCycle, expireOldCronTasks, getMaxGapScoreForGoals, getNextIntervalForGoals, processCronTasksForDaemon, processScheduleEntriesForDaemon, runRuntimeStoreMaintenanceCycle, readShutdownMarkerFile, restoreInterruptedGoals, runProactiveMaintenance, runSupervisorMaintenanceCycleForDaemon, saveDaemonStateFile, writeChatMessageEvent, writeShutdownMarkerFile, } from "./index.js";
|
|
29
|
+
import { appendTaskOutcomeEvent } from "../../orchestrator/execution/task/task-outcome-ledger.js";
|
|
30
|
+
import { durationToMs } from "../../orchestrator/execution/task/task-executor.js";
|
|
31
|
+
const RUNTIME_JOURNAL_MAX_ATTEMPTS = 1_000;
|
|
32
|
+
function gatherResidentWorkspaceContext(workspaceDir, seedDescription) {
|
|
33
|
+
const parts = [`Workspace: ${workspaceDir}`];
|
|
34
|
+
const seed = seedDescription?.trim();
|
|
35
|
+
if (seed) {
|
|
36
|
+
parts.push(`Resident trigger hint: ${seed}`);
|
|
37
|
+
}
|
|
38
|
+
try {
|
|
39
|
+
const pkgPath = path.join(workspaceDir, "package.json");
|
|
40
|
+
const pkgRaw = fs.readFileSync(pkgPath, "utf-8");
|
|
41
|
+
const pkg = JSON.parse(pkgRaw);
|
|
42
|
+
const name = typeof pkg.name === "string" ? pkg.name : "";
|
|
43
|
+
const description = typeof pkg.description === "string" ? pkg.description : "";
|
|
44
|
+
const scripts = pkg.scripts && typeof pkg.scripts === "object"
|
|
45
|
+
? Object.keys(pkg.scripts).join(", ")
|
|
46
|
+
: "";
|
|
47
|
+
const prefix = name ? `Node.js project '${name}'` : "Node.js project";
|
|
48
|
+
const descPart = description ? `. ${description}` : "";
|
|
49
|
+
const scriptsPart = scripts ? `. Scripts: ${scripts}` : "";
|
|
50
|
+
parts.push(`${prefix}${descPart}${scriptsPart}`);
|
|
51
|
+
}
|
|
52
|
+
catch {
|
|
53
|
+
// No package metadata available.
|
|
54
|
+
}
|
|
55
|
+
try {
|
|
56
|
+
const entries = fs.readdirSync(workspaceDir);
|
|
57
|
+
const dirs = entries.filter((entry) => {
|
|
58
|
+
try {
|
|
59
|
+
return fs.statSync(path.join(workspaceDir, entry)).isDirectory();
|
|
60
|
+
}
|
|
61
|
+
catch {
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
const files = entries.filter((entry) => {
|
|
66
|
+
try {
|
|
67
|
+
return fs.statSync(path.join(workspaceDir, entry)).isFile();
|
|
68
|
+
}
|
|
69
|
+
catch {
|
|
70
|
+
return false;
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
const visibleEntries = [
|
|
74
|
+
dirs.slice(0, 10).map((entry) => `${entry}/`).join(", "),
|
|
75
|
+
files.slice(0, 5).join(", "),
|
|
76
|
+
].filter(Boolean).join(", ");
|
|
77
|
+
if (visibleEntries) {
|
|
78
|
+
parts.push(`Files: ${visibleEntries}`);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
catch {
|
|
82
|
+
// Workspace listing is best-effort.
|
|
83
|
+
}
|
|
84
|
+
const gitResult = spawnSync("git", ["log", "--oneline", "-5", "--format=%s"], {
|
|
85
|
+
cwd: workspaceDir,
|
|
86
|
+
encoding: "utf-8",
|
|
87
|
+
});
|
|
88
|
+
if (gitResult.status === 0 && gitResult.stdout.trim().length > 0) {
|
|
89
|
+
parts.push(`Recent changes: ${gitResult.stdout.trim().split("\n").join("; ")}`);
|
|
90
|
+
}
|
|
91
|
+
return parts.join(". ");
|
|
92
|
+
}
|
|
20
93
|
// Re-exports for callers that imported these from daemon-runner
|
|
21
94
|
export { generateCronEntry } from "./signals.js";
|
|
22
95
|
export { rotateDaemonLog, calculateAdaptiveInterval } from "./health.js";
|
|
23
96
|
const RUNTIME_LEADER_LEASE_MS = 30_000;
|
|
24
97
|
const RUNTIME_LEADER_HEARTBEAT_MS = 10_000;
|
|
98
|
+
const MAX_IDLE_SLEEP_MS = 5_000;
|
|
25
99
|
export class DaemonRunner {
|
|
26
100
|
coreLoop;
|
|
101
|
+
curiosityEngine;
|
|
102
|
+
goalNegotiator;
|
|
27
103
|
driveSystem;
|
|
28
104
|
stateManager;
|
|
29
105
|
pidManager;
|
|
@@ -45,13 +121,17 @@ export class DaemonRunner {
|
|
|
45
121
|
reportingEngine;
|
|
46
122
|
cronScheduler;
|
|
47
123
|
scheduleEngine;
|
|
124
|
+
memoryLifecycle;
|
|
125
|
+
knowledgeManager;
|
|
48
126
|
consecutiveIdleCycles = 0;
|
|
49
127
|
gateway;
|
|
50
128
|
supervisor = null;
|
|
129
|
+
lastGoalReviewAt = Date.now();
|
|
51
130
|
cronScheduleInterval = null;
|
|
52
131
|
shutdownResolve = null;
|
|
53
132
|
shutdownCoordinator = null;
|
|
54
133
|
stopStatusHeartbeat = null;
|
|
134
|
+
lastRuntimeStoreMaintenanceAt = 0;
|
|
55
135
|
deps;
|
|
56
136
|
runtimeRoot = null;
|
|
57
137
|
approvalStore = null;
|
|
@@ -65,9 +145,14 @@ export class DaemonRunner {
|
|
|
65
145
|
commandDispatcher = null;
|
|
66
146
|
eventDispatcher = null;
|
|
67
147
|
runtimeOwnership;
|
|
148
|
+
getProviderRuntimeFingerprintFn;
|
|
149
|
+
refreshResidentDeps;
|
|
150
|
+
providerRuntimeFingerprint = null;
|
|
68
151
|
constructor(deps) {
|
|
69
152
|
this.deps = deps;
|
|
70
153
|
this.coreLoop = deps.coreLoop;
|
|
154
|
+
this.curiosityEngine = deps.curiosityEngine;
|
|
155
|
+
this.goalNegotiator = deps.goalNegotiator;
|
|
71
156
|
this.driveSystem = deps.driveSystem;
|
|
72
157
|
this.stateManager = deps.stateManager;
|
|
73
158
|
this.pidManager = deps.pidManager;
|
|
@@ -77,6 +162,8 @@ export class DaemonRunner {
|
|
|
77
162
|
this.reportingEngine = deps.reportingEngine;
|
|
78
163
|
this.cronScheduler = deps.cronScheduler;
|
|
79
164
|
this.scheduleEngine = deps.scheduleEngine;
|
|
165
|
+
this.memoryLifecycle = deps.memoryLifecycle;
|
|
166
|
+
this.knowledgeManager = deps.knowledgeManager;
|
|
80
167
|
this.gateway = deps.gateway;
|
|
81
168
|
this.supervisor = deps.supervisor ?? null;
|
|
82
169
|
this.lastProactiveTickAt = Date.now();
|
|
@@ -100,11 +187,13 @@ export class DaemonRunner {
|
|
|
100
187
|
});
|
|
101
188
|
this.journalQueue = new JournalBackedQueue({
|
|
102
189
|
journalPath: path.join(this.runtimeRoot, "queue.json"),
|
|
190
|
+
maxAttempts: RUNTIME_JOURNAL_MAX_ATTEMPTS,
|
|
103
191
|
});
|
|
104
192
|
this.queueClaimSweeper = new QueueClaimSweeper({
|
|
105
193
|
queue: this.journalQueue,
|
|
106
194
|
});
|
|
107
195
|
this.runtimeOwnership = new RuntimeOwnershipCoordinator({
|
|
196
|
+
baseDir: this.baseDir,
|
|
108
197
|
runtimeRoot: this.runtimeRoot,
|
|
109
198
|
logger: this.logger,
|
|
110
199
|
approvalStore: this.approvalStore,
|
|
@@ -113,6 +202,9 @@ export class DaemonRunner {
|
|
|
113
202
|
leaderLockManager: this.leaderLockManager,
|
|
114
203
|
onLeadershipLost: (reason) => this.failRuntimeLeadership(reason),
|
|
115
204
|
});
|
|
205
|
+
this.getProviderRuntimeFingerprintFn =
|
|
206
|
+
deps.getProviderRuntimeFingerprint ?? getProviderRuntimeFingerprint;
|
|
207
|
+
this.refreshResidentDeps = deps.refreshResidentDeps;
|
|
116
208
|
// Initialize daemon state
|
|
117
209
|
this.state = DaemonStateSchema.parse({
|
|
118
210
|
pid: process.pid,
|
|
@@ -123,8 +215,17 @@ export class DaemonRunner {
|
|
|
123
215
|
status: "stopped",
|
|
124
216
|
crash_count: 0,
|
|
125
217
|
last_error: null,
|
|
218
|
+
last_resident_at: null,
|
|
219
|
+
resident_activity: null,
|
|
126
220
|
});
|
|
127
221
|
}
|
|
222
|
+
refreshOperationalState() {
|
|
223
|
+
this.state.active_goals = [...this.currentGoalIds];
|
|
224
|
+
if (this.state.status === "crashed" || this.state.status === "stopping") {
|
|
225
|
+
return;
|
|
226
|
+
}
|
|
227
|
+
this.state.status = this.currentGoalIds.length === 0 ? "idle" : "running";
|
|
228
|
+
}
|
|
128
229
|
resolveRuntimeRoot() {
|
|
129
230
|
const configuredRoot = this.config.runtime_root;
|
|
130
231
|
if (!configuredRoot || configuredRoot.trim() === "") {
|
|
@@ -147,6 +248,7 @@ export class DaemonRunner {
|
|
|
147
248
|
await this.checkCrashRecovery();
|
|
148
249
|
await this.initializeRuntimeFoundation();
|
|
149
250
|
await this.acquireRuntimeLeadership();
|
|
251
|
+
await this.runRuntimeStoreMaintenance(true);
|
|
150
252
|
// 2c. Start EventServer (always-on) and file watcher
|
|
151
253
|
if (!this.eventServer) {
|
|
152
254
|
const esPort = this.config.event_server_port ?? 41700;
|
|
@@ -245,7 +347,9 @@ export class DaemonRunner {
|
|
|
245
347
|
});
|
|
246
348
|
this.shutdownCoordinator.activate();
|
|
247
349
|
// 4. Restore state from previous interrupted run
|
|
248
|
-
const
|
|
350
|
+
const restoredGoalIds = await this.restoreState(goalIds);
|
|
351
|
+
const reconciledGoalIds = await this.reconcileInterruptedExecutions();
|
|
352
|
+
const mergedGoalIds = Array.from(new Set([...restoredGoalIds, ...reconciledGoalIds]));
|
|
249
353
|
// 5. Save initial daemon state
|
|
250
354
|
this.running = true;
|
|
251
355
|
this.currentGoalIds = mergedGoalIds;
|
|
@@ -256,10 +360,13 @@ export class DaemonRunner {
|
|
|
256
360
|
last_loop_at: null,
|
|
257
361
|
loop_count: 0,
|
|
258
362
|
active_goals: mergedGoalIds,
|
|
259
|
-
status: "running",
|
|
363
|
+
status: mergedGoalIds.length === 0 ? "idle" : "running",
|
|
260
364
|
crash_count: 0,
|
|
261
365
|
last_error: null,
|
|
366
|
+
last_resident_at: null,
|
|
367
|
+
resident_activity: null,
|
|
262
368
|
});
|
|
369
|
+
this.providerRuntimeFingerprint = await this.captureProviderRuntimeFingerprint();
|
|
263
370
|
await this.saveDaemonState();
|
|
264
371
|
// 5b. Write "running" shutdown marker (crash detection on next startup)
|
|
265
372
|
await this.writeShutdownMarker({
|
|
@@ -298,7 +405,10 @@ export class DaemonRunner {
|
|
|
298
405
|
onEscalation: (goalId, crashCount, lastError) => {
|
|
299
406
|
this.logger.error(`Goal ${goalId} suspended after ${crashCount} crashes: ${lastError}`);
|
|
300
407
|
},
|
|
301
|
-
}, {
|
|
408
|
+
}, {
|
|
409
|
+
iterationsPerCycle: this.config.iterations_per_cycle,
|
|
410
|
+
stateFilePath: path.join(this.runtimeRoot, "supervisor-state.json"),
|
|
411
|
+
});
|
|
302
412
|
}
|
|
303
413
|
if (!this.eventDispatcher) {
|
|
304
414
|
this.eventDispatcher = new EventDispatcher({
|
|
@@ -313,10 +423,10 @@ export class DaemonRunner {
|
|
|
313
423
|
this.commandDispatcher = new CommandDispatcher({
|
|
314
424
|
journalQueue: this.journalQueue,
|
|
315
425
|
logger: this.logger,
|
|
316
|
-
onGoalStart: async (goalId) => this.handleGoalStartCommand(goalId),
|
|
317
|
-
onGoalStop: async (goalId) => this.handleGoalStopCommand(goalId),
|
|
318
|
-
onChatMessage: async (goalId, message) => this.handleChatMessageCommand(goalId, message),
|
|
319
|
-
onApprovalResponse: async (goalId, requestId, approved) => this.handleApprovalResponseCommand(goalId, requestId, approved),
|
|
426
|
+
onGoalStart: async (goalId) => this.runCommandWithHealth("goal_start", () => this.handleGoalStartCommand(goalId)),
|
|
427
|
+
onGoalStop: async (goalId) => this.runCommandWithHealth("goal_stop", () => this.handleGoalStopCommand(goalId)),
|
|
428
|
+
onChatMessage: async (goalId, message) => this.runCommandWithHealth("chat_message", () => this.handleChatMessageCommand(goalId, message)),
|
|
429
|
+
onApprovalResponse: async (goalId, requestId, approved) => this.runCommandWithHealth("approval_response", () => this.handleApprovalResponseCommand(goalId, requestId, approved)),
|
|
320
430
|
});
|
|
321
431
|
}
|
|
322
432
|
await this.saveRuntimeHealthSnapshot(this.supervisor
|
|
@@ -413,6 +523,7 @@ export class DaemonRunner {
|
|
|
413
523
|
});
|
|
414
524
|
this.state.status = "crashed";
|
|
415
525
|
this.state.last_error = reason;
|
|
526
|
+
this.state.interrupted_goals = [...this.state.active_goals];
|
|
416
527
|
this.running = false;
|
|
417
528
|
this.shuttingDown = true;
|
|
418
529
|
this.shutdownResolve?.();
|
|
@@ -455,9 +566,11 @@ export class DaemonRunner {
|
|
|
455
566
|
while (this.running && !this.shuttingDown) {
|
|
456
567
|
try {
|
|
457
568
|
const goalIds = [...this.currentGoalIds];
|
|
569
|
+
this.refreshOperationalState();
|
|
458
570
|
const cycleSnapshot = await this.collectGoalCycleSnapshot(goalIds);
|
|
459
571
|
// 1. Determine which goals need activation
|
|
460
572
|
const activeGoals = await this.determineActiveGoals(goalIds, cycleSnapshot);
|
|
573
|
+
await this.maybeRefreshProviderRuntime(activeGoals.length);
|
|
461
574
|
if (activeGoals.length === 0) {
|
|
462
575
|
this.logger.info("No goals need activation this cycle", {
|
|
463
576
|
checked: goalIds.length,
|
|
@@ -486,6 +599,7 @@ export class DaemonRunner {
|
|
|
486
599
|
status: goal?.status ?? "unknown",
|
|
487
600
|
});
|
|
488
601
|
}
|
|
602
|
+
await this.broadcastGoalUpdated(goalId, result.finalStatus);
|
|
489
603
|
}
|
|
490
604
|
catch (err) {
|
|
491
605
|
this.handleLoopError(goalId, err);
|
|
@@ -495,6 +609,7 @@ export class DaemonRunner {
|
|
|
495
609
|
break;
|
|
496
610
|
}
|
|
497
611
|
// 3. Save state
|
|
612
|
+
this.refreshOperationalState();
|
|
498
613
|
await this.saveDaemonState();
|
|
499
614
|
if (this.eventServer) {
|
|
500
615
|
void this.eventServer.broadcast?.("daemon_status", {
|
|
@@ -517,6 +632,9 @@ export class DaemonRunner {
|
|
|
517
632
|
if (this.running) {
|
|
518
633
|
await this.proactiveTick();
|
|
519
634
|
}
|
|
635
|
+
if (this.running) {
|
|
636
|
+
await this.runRuntimeStoreMaintenance();
|
|
637
|
+
}
|
|
520
638
|
// 5. Track idle cycles for adaptive sleep
|
|
521
639
|
if (activeGoals.length > 0) {
|
|
522
640
|
this.consecutiveIdleCycles = 0;
|
|
@@ -529,8 +647,9 @@ export class DaemonRunner {
|
|
|
529
647
|
const baseIntervalMs = this.getNextInterval(goalIds);
|
|
530
648
|
const maxGapScore = await this.getMaxGapScore(goalIds, cycleSnapshot);
|
|
531
649
|
const intervalMs = this.calculateAdaptiveInterval(baseIntervalMs, activeGoals.length, maxGapScore, this.consecutiveIdleCycles);
|
|
532
|
-
|
|
533
|
-
|
|
650
|
+
const sleepIntervalMs = activeGoals.length === 0 ? Math.min(intervalMs, MAX_IDLE_SLEEP_MS) : intervalMs;
|
|
651
|
+
this.logger.info(`Sleeping for ${sleepIntervalMs}ms until next check`);
|
|
652
|
+
await this.sleep(sleepIntervalMs);
|
|
534
653
|
}
|
|
535
654
|
}
|
|
536
655
|
catch (err) {
|
|
@@ -570,6 +689,7 @@ export class DaemonRunner {
|
|
|
570
689
|
handleLoopError(goalId, err) {
|
|
571
690
|
this.state.last_error = err instanceof Error ? err.message : String(err);
|
|
572
691
|
this.state.crash_count++;
|
|
692
|
+
void this.runtimeOwnership.observeTaskExecution("failed", `loop error for ${goalId}: ${this.state.last_error}`);
|
|
573
693
|
this.logger.error(`Loop error for goal ${goalId}`, {
|
|
574
694
|
error: this.state.last_error,
|
|
575
695
|
crash_count: this.state.crash_count,
|
|
@@ -588,8 +708,10 @@ export class DaemonRunner {
|
|
|
588
708
|
async handleCriticalError(err) {
|
|
589
709
|
const msg = err instanceof Error ? err.message : String(err);
|
|
590
710
|
this.logger.error("Critical daemon error", { error: msg });
|
|
711
|
+
await this.runtimeOwnership.observeTaskExecution("failed", `critical daemon error: ${msg}`);
|
|
591
712
|
this.state.status = "crashed";
|
|
592
713
|
this.state.last_error = msg;
|
|
714
|
+
this.state.interrupted_goals = [...this.state.active_goals];
|
|
593
715
|
await this.saveDaemonState();
|
|
594
716
|
this.running = false;
|
|
595
717
|
}
|
|
@@ -608,6 +730,145 @@ export class DaemonRunner {
|
|
|
608
730
|
async restoreState(goalIds) {
|
|
609
731
|
return restoreInterruptedGoals(this.baseDir, goalIds, this.logger);
|
|
610
732
|
}
|
|
733
|
+
async reconcileInterruptedExecutions() {
|
|
734
|
+
const recoveredGoalIds = new Set();
|
|
735
|
+
const now = new Date().toISOString();
|
|
736
|
+
for (const task of await this.findRunningTasks()) {
|
|
737
|
+
const recoveredTask = TaskSchema.parse({
|
|
738
|
+
...task,
|
|
739
|
+
status: "error",
|
|
740
|
+
completed_at: task.completed_at ?? now,
|
|
741
|
+
heartbeat_at: now,
|
|
742
|
+
execution_output: [
|
|
743
|
+
task.execution_output,
|
|
744
|
+
"[RECOVERED] Task execution was interrupted by daemon crash or restart before completion.",
|
|
745
|
+
]
|
|
746
|
+
.filter((value) => typeof value === "string" && value.length > 0)
|
|
747
|
+
.join("\n"),
|
|
748
|
+
});
|
|
749
|
+
await this.stateManager.writeRaw(`tasks/${task.goal_id}/${task.id}.json`, recoveredTask);
|
|
750
|
+
await this.appendRecoveredTaskHistory(recoveredTask);
|
|
751
|
+
await appendTaskOutcomeEvent(this.stateManager, {
|
|
752
|
+
task: recoveredTask,
|
|
753
|
+
type: "failed",
|
|
754
|
+
attempt: Math.max(task.consecutive_failure_count + 1, 1),
|
|
755
|
+
reason: "task execution interrupted by daemon recovery",
|
|
756
|
+
});
|
|
757
|
+
await appendTaskOutcomeEvent(this.stateManager, {
|
|
758
|
+
task: recoveredTask,
|
|
759
|
+
type: "retried",
|
|
760
|
+
attempt: Math.max(task.consecutive_failure_count + 1, 1),
|
|
761
|
+
action: "keep",
|
|
762
|
+
reason: "daemon restarted; task preserved for retry",
|
|
763
|
+
});
|
|
764
|
+
recoveredGoalIds.add(task.goal_id);
|
|
765
|
+
}
|
|
766
|
+
await this.reconcileInterruptedPipelines(now);
|
|
767
|
+
if (recoveredGoalIds.size > 0) {
|
|
768
|
+
this.logger.warn("Recovered interrupted task executions on startup", {
|
|
769
|
+
goals: [...recoveredGoalIds],
|
|
770
|
+
count: recoveredGoalIds.size,
|
|
771
|
+
});
|
|
772
|
+
}
|
|
773
|
+
return [...recoveredGoalIds];
|
|
774
|
+
}
|
|
775
|
+
async findRunningTasks() {
|
|
776
|
+
const tasksDir = path.join(this.baseDir, "tasks");
|
|
777
|
+
let goalDirs;
|
|
778
|
+
try {
|
|
779
|
+
goalDirs = await fsp.readdir(tasksDir, { withFileTypes: true });
|
|
780
|
+
}
|
|
781
|
+
catch (err) {
|
|
782
|
+
if (err.code === "ENOENT") {
|
|
783
|
+
return [];
|
|
784
|
+
}
|
|
785
|
+
throw err;
|
|
786
|
+
}
|
|
787
|
+
const runningTasks = [];
|
|
788
|
+
for (const goalDir of goalDirs) {
|
|
789
|
+
if (!goalDir.isDirectory()) {
|
|
790
|
+
continue;
|
|
791
|
+
}
|
|
792
|
+
const goalTaskDir = path.join(tasksDir, goalDir.name);
|
|
793
|
+
let taskEntries;
|
|
794
|
+
try {
|
|
795
|
+
taskEntries = await fsp.readdir(goalTaskDir, { withFileTypes: true });
|
|
796
|
+
}
|
|
797
|
+
catch {
|
|
798
|
+
continue;
|
|
799
|
+
}
|
|
800
|
+
for (const entry of taskEntries) {
|
|
801
|
+
if (!entry.isFile() || !entry.name.endsWith(".json") || entry.name === "task-history.json") {
|
|
802
|
+
continue;
|
|
803
|
+
}
|
|
804
|
+
try {
|
|
805
|
+
const raw = await this.stateManager.readRaw(`tasks/${goalDir.name}/${entry.name}`);
|
|
806
|
+
if (!raw || typeof raw !== "object" || raw.status !== "running") {
|
|
807
|
+
continue;
|
|
808
|
+
}
|
|
809
|
+
runningTasks.push(TaskSchema.parse(raw));
|
|
810
|
+
}
|
|
811
|
+
catch {
|
|
812
|
+
// Ignore malformed task files during startup reconciliation.
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
return runningTasks;
|
|
817
|
+
}
|
|
818
|
+
async appendRecoveredTaskHistory(task) {
|
|
819
|
+
const historyPath = `tasks/${task.goal_id}/task-history.json`;
|
|
820
|
+
const existing = await this.stateManager.readRaw(historyPath);
|
|
821
|
+
const history = Array.isArray(existing) ? existing : [];
|
|
822
|
+
const actualElapsedMs = task.started_at && task.completed_at
|
|
823
|
+
? new Date(task.completed_at).getTime() - new Date(task.started_at).getTime()
|
|
824
|
+
: null;
|
|
825
|
+
history.push({
|
|
826
|
+
task_id: task.id,
|
|
827
|
+
status: task.status,
|
|
828
|
+
primary_dimension: task.primary_dimension,
|
|
829
|
+
consecutive_failure_count: task.consecutive_failure_count,
|
|
830
|
+
completed_at: task.completed_at ?? new Date().toISOString(),
|
|
831
|
+
actual_elapsed_ms: actualElapsedMs,
|
|
832
|
+
estimated_duration_ms: task.estimated_duration ? durationToMs(task.estimated_duration) : null,
|
|
833
|
+
});
|
|
834
|
+
await this.stateManager.writeRaw(historyPath, history);
|
|
835
|
+
}
|
|
836
|
+
async reconcileInterruptedPipelines(now) {
|
|
837
|
+
const pipelinesDir = path.join(this.baseDir, "pipelines");
|
|
838
|
+
let entries;
|
|
839
|
+
try {
|
|
840
|
+
entries = await fsp.readdir(pipelinesDir);
|
|
841
|
+
}
|
|
842
|
+
catch (err) {
|
|
843
|
+
if (err.code === "ENOENT") {
|
|
844
|
+
return;
|
|
845
|
+
}
|
|
846
|
+
throw err;
|
|
847
|
+
}
|
|
848
|
+
for (const entry of entries) {
|
|
849
|
+
if (!entry.endsWith(".json")) {
|
|
850
|
+
continue;
|
|
851
|
+
}
|
|
852
|
+
try {
|
|
853
|
+
const raw = await this.stateManager.readRaw(`pipelines/${entry}`);
|
|
854
|
+
if (!raw || typeof raw !== "object") {
|
|
855
|
+
continue;
|
|
856
|
+
}
|
|
857
|
+
const pipelineState = PipelineStateSchema.parse(raw);
|
|
858
|
+
if (pipelineState.status !== "running") {
|
|
859
|
+
continue;
|
|
860
|
+
}
|
|
861
|
+
await this.stateManager.writeRaw(`pipelines/${entry}`, {
|
|
862
|
+
...pipelineState,
|
|
863
|
+
status: "interrupted",
|
|
864
|
+
updated_at: now,
|
|
865
|
+
});
|
|
866
|
+
}
|
|
867
|
+
catch {
|
|
868
|
+
// Ignore malformed pipeline state during startup reconciliation.
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
}
|
|
611
872
|
// ─── Private: Cleanup ───
|
|
612
873
|
/**
|
|
613
874
|
* Perform cleanup after the loop exits and write the final runtime health snapshot.
|
|
@@ -657,6 +918,28 @@ export class DaemonRunner {
|
|
|
657
918
|
acceptRuntimeEnvelope: (envelope) => this.acceptRuntimeEnvelope(envelope),
|
|
658
919
|
});
|
|
659
920
|
}
|
|
921
|
+
async broadcastGoalUpdated(goalId, fallbackStatus) {
|
|
922
|
+
if (!this.eventServer) {
|
|
923
|
+
return;
|
|
924
|
+
}
|
|
925
|
+
const goal = await this.stateManager.loadGoal(goalId).catch(() => null);
|
|
926
|
+
await this.eventServer.broadcast?.("goal_updated", {
|
|
927
|
+
goalId,
|
|
928
|
+
status: goal?.status ?? fallbackStatus ?? "unknown",
|
|
929
|
+
loopStatus: goal?.loop_status ?? null,
|
|
930
|
+
progress: null,
|
|
931
|
+
});
|
|
932
|
+
}
|
|
933
|
+
async broadcastChatResponse(goalId, message) {
|
|
934
|
+
if (!this.eventServer) {
|
|
935
|
+
return;
|
|
936
|
+
}
|
|
937
|
+
await this.eventServer.broadcast?.("chat_response", {
|
|
938
|
+
goalId,
|
|
939
|
+
message,
|
|
940
|
+
status: "queued",
|
|
941
|
+
});
|
|
942
|
+
}
|
|
660
943
|
/**
|
|
661
944
|
* Expire old non-permanent cron tasks.
|
|
662
945
|
*/
|
|
@@ -717,26 +1000,37 @@ export class DaemonRunner {
|
|
|
717
1000
|
if (!this.currentGoalIds.includes(goalId)) {
|
|
718
1001
|
this.currentGoalIds.push(goalId);
|
|
719
1002
|
}
|
|
720
|
-
this.
|
|
1003
|
+
this.refreshOperationalState();
|
|
721
1004
|
await this.saveDaemonState();
|
|
722
1005
|
this.supervisor?.activateGoal(goalId);
|
|
723
1006
|
this.abortSleep();
|
|
1007
|
+
await this.broadcastGoalUpdated(goalId, "active");
|
|
724
1008
|
}
|
|
725
1009
|
async handleGoalStopCommand(goalId) {
|
|
726
1010
|
this.currentGoalIds = this.currentGoalIds.filter((id) => id !== goalId);
|
|
727
|
-
this.
|
|
1011
|
+
this.refreshOperationalState();
|
|
728
1012
|
if (this.state.interrupted_goals) {
|
|
729
1013
|
this.state.interrupted_goals = this.state.interrupted_goals.filter((id) => id !== goalId);
|
|
730
1014
|
}
|
|
731
1015
|
await this.saveDaemonState();
|
|
732
1016
|
this.supervisor?.deactivateGoal(goalId);
|
|
733
1017
|
this.abortSleep();
|
|
1018
|
+
await this.broadcastGoalUpdated(goalId, "stopped");
|
|
734
1019
|
}
|
|
735
1020
|
async handleGoalCompletion(goalId, result) {
|
|
736
1021
|
this.state.loop_count++;
|
|
737
1022
|
this.currentLoopIndex = this.state.loop_count;
|
|
738
1023
|
this.state.last_loop_at = new Date().toISOString();
|
|
739
1024
|
await this.saveDaemonState();
|
|
1025
|
+
await this.runtimeOwnership.observeTaskExecution(result.status === "error"
|
|
1026
|
+
? "failed"
|
|
1027
|
+
: result.status === "stalled"
|
|
1028
|
+
? "degraded"
|
|
1029
|
+
: "ok", result.status === "error"
|
|
1030
|
+
? `goal ${goalId} execution failed`
|
|
1031
|
+
: result.status === "stalled"
|
|
1032
|
+
? `goal ${goalId} stalled`
|
|
1033
|
+
: undefined);
|
|
740
1034
|
if (this.eventServer) {
|
|
741
1035
|
const goal = await this.stateManager.loadGoal(goalId).catch(() => null);
|
|
742
1036
|
void this.eventServer.broadcast?.("iteration_complete", {
|
|
@@ -752,8 +1046,321 @@ export class DaemonRunner {
|
|
|
752
1046
|
lastLoopAt: this.state.last_loop_at,
|
|
753
1047
|
});
|
|
754
1048
|
}
|
|
1049
|
+
await this.broadcastGoalUpdated(goalId, result.status);
|
|
1050
|
+
}
|
|
1051
|
+
async loadExistingGoalTitles() {
|
|
1052
|
+
const goalIds = await this.stateManager.listGoalIds().catch(() => []);
|
|
1053
|
+
const titles = [];
|
|
1054
|
+
for (const goalId of goalIds) {
|
|
1055
|
+
const goal = await this.stateManager.loadGoal(goalId).catch(() => null);
|
|
1056
|
+
if (goal?.title) {
|
|
1057
|
+
titles.push(goal.title);
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
return titles;
|
|
1061
|
+
}
|
|
1062
|
+
async loadKnownGoals() {
|
|
1063
|
+
const goalIds = await this.stateManager.listGoalIds().catch(() => []);
|
|
1064
|
+
const goals = [];
|
|
1065
|
+
for (const goalId of goalIds) {
|
|
1066
|
+
const goal = await this.stateManager.loadGoal(goalId).catch(() => null);
|
|
1067
|
+
if (goal) {
|
|
1068
|
+
goals.push(goal);
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
return goals;
|
|
1072
|
+
}
|
|
1073
|
+
async persistResidentActivity(activity) {
|
|
1074
|
+
const residentActivity = ResidentActivitySchema.parse({
|
|
1075
|
+
...activity,
|
|
1076
|
+
recorded_at: activity.recorded_at ?? new Date().toISOString(),
|
|
1077
|
+
});
|
|
1078
|
+
this.state.last_resident_at = residentActivity.recorded_at;
|
|
1079
|
+
this.state.resident_activity = residentActivity;
|
|
1080
|
+
await this.saveDaemonState();
|
|
1081
|
+
}
|
|
1082
|
+
async triggerResidentGoalDiscovery(details) {
|
|
1083
|
+
if (!this.goalNegotiator) {
|
|
1084
|
+
await this.persistResidentActivity({
|
|
1085
|
+
kind: "skipped",
|
|
1086
|
+
trigger: "proactive_tick",
|
|
1087
|
+
summary: "Resident discovery skipped because goal negotiation is unavailable.",
|
|
1088
|
+
});
|
|
1089
|
+
return;
|
|
1090
|
+
}
|
|
1091
|
+
if (this.currentGoalIds.length > 0) {
|
|
1092
|
+
await this.persistResidentActivity({
|
|
1093
|
+
kind: "skipped",
|
|
1094
|
+
trigger: "proactive_tick",
|
|
1095
|
+
summary: "Resident discovery skipped because active goals are already running.",
|
|
1096
|
+
});
|
|
1097
|
+
return;
|
|
1098
|
+
}
|
|
1099
|
+
const hintedDescription = typeof details?.["description"] === "string" ? details["description"].trim() : "";
|
|
1100
|
+
const hintedTitle = typeof details?.["title"] === "string" ? details["title"].trim() : "";
|
|
1101
|
+
try {
|
|
1102
|
+
const workspaceDir = process.cwd();
|
|
1103
|
+
const workspaceContext = gatherResidentWorkspaceContext(workspaceDir, hintedDescription);
|
|
1104
|
+
const existingTitles = await this.loadExistingGoalTitles();
|
|
1105
|
+
const suggestions = await this.goalNegotiator.suggestGoals(workspaceContext, {
|
|
1106
|
+
maxSuggestions: 1,
|
|
1107
|
+
existingGoals: existingTitles,
|
|
1108
|
+
repoPath: workspaceDir,
|
|
1109
|
+
});
|
|
1110
|
+
const suggestion = suggestions[0];
|
|
1111
|
+
const suggestionTitle = suggestion?.title ?? hintedTitle;
|
|
1112
|
+
const negotiationDescription = suggestion?.description ?? hintedDescription;
|
|
1113
|
+
if (!negotiationDescription) {
|
|
1114
|
+
await this.persistResidentActivity({
|
|
1115
|
+
kind: "suggestion",
|
|
1116
|
+
trigger: "proactive_tick",
|
|
1117
|
+
summary: "Resident discovery ran but found no actionable goal to negotiate.",
|
|
1118
|
+
suggestion_title: suggestionTitle || undefined,
|
|
1119
|
+
});
|
|
1120
|
+
return;
|
|
1121
|
+
}
|
|
1122
|
+
const { goal } = await this.goalNegotiator.negotiate(negotiationDescription, {
|
|
1123
|
+
workspaceContext,
|
|
1124
|
+
timeoutMs: 30_000,
|
|
1125
|
+
});
|
|
1126
|
+
if (!this.currentGoalIds.includes(goal.id)) {
|
|
1127
|
+
this.currentGoalIds.push(goal.id);
|
|
1128
|
+
}
|
|
1129
|
+
this.refreshOperationalState();
|
|
1130
|
+
await this.persistResidentActivity({
|
|
1131
|
+
kind: "negotiation",
|
|
1132
|
+
trigger: "proactive_tick",
|
|
1133
|
+
summary: `Resident discovery negotiated a new goal: ${suggestionTitle || goal.title}`,
|
|
1134
|
+
suggestion_title: suggestionTitle || goal.title,
|
|
1135
|
+
goal_id: goal.id,
|
|
1136
|
+
});
|
|
1137
|
+
this.supervisor?.activateGoal(goal.id);
|
|
1138
|
+
this.abortSleep();
|
|
1139
|
+
}
|
|
1140
|
+
catch (err) {
|
|
1141
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
1142
|
+
this.logger.warn("Resident discovery failed", { error: message });
|
|
1143
|
+
await this.persistResidentActivity({
|
|
1144
|
+
kind: "error",
|
|
1145
|
+
trigger: "proactive_tick",
|
|
1146
|
+
summary: `Resident discovery failed: ${message}`,
|
|
1147
|
+
});
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
async runResidentCuriosityCycle(options) {
|
|
1151
|
+
if (!this.curiosityEngine) {
|
|
1152
|
+
if (options?.skipWhenNoTriggers) {
|
|
1153
|
+
return false;
|
|
1154
|
+
}
|
|
1155
|
+
await this.persistResidentActivity({
|
|
1156
|
+
kind: "skipped",
|
|
1157
|
+
trigger: options?.activityTrigger ?? "proactive_tick",
|
|
1158
|
+
summary: "Resident investigation skipped because curiosity wiring is unavailable.",
|
|
1159
|
+
});
|
|
1160
|
+
return true;
|
|
1161
|
+
}
|
|
1162
|
+
try {
|
|
1163
|
+
const goals = await this.loadKnownGoals();
|
|
1164
|
+
const triggers = await this.curiosityEngine.evaluateTriggers(goals);
|
|
1165
|
+
const focus = options?.focus?.trim() ?? "";
|
|
1166
|
+
if (triggers.length === 0) {
|
|
1167
|
+
if (options?.skipWhenNoTriggers) {
|
|
1168
|
+
return false;
|
|
1169
|
+
}
|
|
1170
|
+
await this.persistResidentActivity({
|
|
1171
|
+
kind: "curiosity",
|
|
1172
|
+
trigger: options?.activityTrigger ?? "proactive_tick",
|
|
1173
|
+
summary: options?.reviewLabel
|
|
1174
|
+
? `Resident ${options.reviewLabel} ran and found no curiosity triggers.`
|
|
1175
|
+
: `Resident investigation ran${focus ? ` for ${focus}` : ""} and found nothing actionable.`,
|
|
1176
|
+
});
|
|
1177
|
+
return true;
|
|
1178
|
+
}
|
|
1179
|
+
const proposals = await this.curiosityEngine.generateProposals(triggers, goals);
|
|
1180
|
+
if (proposals.length === 0) {
|
|
1181
|
+
await this.persistResidentActivity({
|
|
1182
|
+
kind: "curiosity",
|
|
1183
|
+
trigger: options?.activityTrigger ?? "proactive_tick",
|
|
1184
|
+
summary: options?.reviewLabel
|
|
1185
|
+
? `Resident ${options.reviewLabel} ran but produced no curiosity proposals.`
|
|
1186
|
+
: `Resident investigation ran${focus ? ` for ${focus}` : ""} but produced no curiosity proposals.`,
|
|
1187
|
+
});
|
|
1188
|
+
return true;
|
|
1189
|
+
}
|
|
1190
|
+
const proposal = proposals[0];
|
|
1191
|
+
await this.persistResidentActivity({
|
|
1192
|
+
kind: "curiosity",
|
|
1193
|
+
trigger: options?.activityTrigger ?? "proactive_tick",
|
|
1194
|
+
summary: options?.reviewLabel
|
|
1195
|
+
? `Resident ${options.reviewLabel} created ${proposals.length} curiosity proposal(s); next focus: ${proposal.proposed_goal.description}`
|
|
1196
|
+
: `Resident investigation created ${proposals.length} curiosity proposal(s); next focus: ${proposal.proposed_goal.description}`,
|
|
1197
|
+
suggestion_title: proposal.proposed_goal.description,
|
|
1198
|
+
});
|
|
1199
|
+
return true;
|
|
1200
|
+
}
|
|
1201
|
+
catch (err) {
|
|
1202
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
1203
|
+
this.logger.warn("Resident investigation failed", { error: message });
|
|
1204
|
+
await this.persistResidentActivity({
|
|
1205
|
+
kind: "error",
|
|
1206
|
+
trigger: options?.activityTrigger ?? "proactive_tick",
|
|
1207
|
+
summary: `Resident investigation failed: ${message}`,
|
|
1208
|
+
});
|
|
1209
|
+
return true;
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
async triggerResidentInvestigation(details) {
|
|
1213
|
+
const focus = typeof details?.["what"] === "string" ? details["what"].trim() : "";
|
|
1214
|
+
await this.runResidentCuriosityCycle({
|
|
1215
|
+
activityTrigger: "proactive_tick",
|
|
1216
|
+
focus,
|
|
1217
|
+
skipWhenNoTriggers: false,
|
|
1218
|
+
});
|
|
1219
|
+
}
|
|
1220
|
+
async runScheduledGoalReview() {
|
|
1221
|
+
if (!this.curiosityEngine || !this.config.proactive_mode) {
|
|
1222
|
+
return false;
|
|
1223
|
+
}
|
|
1224
|
+
const now = Date.now();
|
|
1225
|
+
if (now - this.lastGoalReviewAt < this.config.goal_review_interval_ms) {
|
|
1226
|
+
return false;
|
|
1227
|
+
}
|
|
1228
|
+
this.lastGoalReviewAt = now;
|
|
1229
|
+
return this.runResidentCuriosityCycle({
|
|
1230
|
+
activityTrigger: "schedule",
|
|
1231
|
+
reviewLabel: "goal review",
|
|
1232
|
+
skipWhenNoTriggers: false,
|
|
1233
|
+
});
|
|
1234
|
+
}
|
|
1235
|
+
async tryApplyPendingDreamSuggestion() {
|
|
1236
|
+
const dreamStore = new DreamScheduleSuggestionStore(this.baseDir);
|
|
1237
|
+
const pendingSuggestion = (await dreamStore.list()).find((suggestion) => suggestion.status === "pending");
|
|
1238
|
+
if (!pendingSuggestion || !this.scheduleEngine) {
|
|
1239
|
+
return null;
|
|
1240
|
+
}
|
|
1241
|
+
return dreamStore.applySuggestion(pendingSuggestion.id, this.scheduleEngine);
|
|
1242
|
+
}
|
|
1243
|
+
async runDreamAnalysis(tier) {
|
|
1244
|
+
const analyzer = new DreamAnalyzer({
|
|
1245
|
+
baseDir: this.baseDir,
|
|
1246
|
+
llmClient: this.llmClient,
|
|
1247
|
+
logger: this.logger,
|
|
1248
|
+
});
|
|
1249
|
+
return analyzer.run({ tier });
|
|
1250
|
+
}
|
|
1251
|
+
async triggerResidentDreamMaintenance(details, tier = "deep") {
|
|
1252
|
+
try {
|
|
1253
|
+
const appliedBeforeAnalysis = await this.tryApplyPendingDreamSuggestion();
|
|
1254
|
+
if (appliedBeforeAnalysis) {
|
|
1255
|
+
await this.persistResidentActivity({
|
|
1256
|
+
kind: "dream",
|
|
1257
|
+
trigger: "proactive_tick",
|
|
1258
|
+
summary: appliedBeforeAnalysis.duplicate
|
|
1259
|
+
? `Resident dream linked pending suggestion "${appliedBeforeAnalysis.suggestion.name ?? appliedBeforeAnalysis.suggestion.id}" to existing schedule ${appliedBeforeAnalysis.entry.id}.`
|
|
1260
|
+
: `Resident dream applied pending suggestion "${appliedBeforeAnalysis.suggestion.name ?? appliedBeforeAnalysis.suggestion.id}" into schedule ${appliedBeforeAnalysis.entry.id}.`,
|
|
1261
|
+
suggestion_title: appliedBeforeAnalysis.suggestion.name ?? appliedBeforeAnalysis.suggestion.reason,
|
|
1262
|
+
});
|
|
1263
|
+
return;
|
|
1264
|
+
}
|
|
1265
|
+
const analysisReport = await this.runDreamAnalysis(tier);
|
|
1266
|
+
const appliedAfterAnalysis = tier === "deep" ? await this.tryApplyPendingDreamSuggestion() : null;
|
|
1267
|
+
const consolidationReport = tier === "deep"
|
|
1268
|
+
? await runDreamConsolidation({
|
|
1269
|
+
stateManager: this.stateManager,
|
|
1270
|
+
memoryLifecycle: this.memoryLifecycle,
|
|
1271
|
+
knowledgeManager: this.knowledgeManager,
|
|
1272
|
+
baseDir: this.baseDir,
|
|
1273
|
+
})
|
|
1274
|
+
: null;
|
|
1275
|
+
const requestedGoalId = typeof details?.["goal_id"] === "string" ? details["goal_id"].trim() : "";
|
|
1276
|
+
const goalHint = requestedGoalId ? ` for ${requestedGoalId}` : "";
|
|
1277
|
+
await this.persistResidentActivity({
|
|
1278
|
+
kind: "dream",
|
|
1279
|
+
trigger: "proactive_tick",
|
|
1280
|
+
summary: tier === "light"
|
|
1281
|
+
? `Resident dream light analysis ran${goalHint}; processed ${analysisReport.goalsProcessed.length} goals, persisted ${analysisReport.patternsPersisted} patterns, and generated ${analysisReport.scheduleSuggestions} schedule suggestion(s).`
|
|
1282
|
+
: `Resident dream deep analysis ran${goalHint}; processed ${analysisReport.goalsProcessed.length} goals, persisted ${analysisReport.patternsPersisted} patterns, generated ${analysisReport.scheduleSuggestions} schedule suggestion(s), compressed ${consolidationReport?.entries_compressed ?? 0} entries, and created ${consolidationReport?.revalidation_tasks_created ?? 0} revalidation tasks${appliedAfterAnalysis ? ` while applying "${appliedAfterAnalysis.suggestion.name ?? appliedAfterAnalysis.suggestion.id}"` : ""}.`,
|
|
1283
|
+
});
|
|
1284
|
+
}
|
|
1285
|
+
catch (err) {
|
|
1286
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
1287
|
+
this.logger.warn("Resident dream maintenance failed", { error: message });
|
|
1288
|
+
await this.persistResidentActivity({
|
|
1289
|
+
kind: "error",
|
|
1290
|
+
trigger: "proactive_tick",
|
|
1291
|
+
summary: `Resident dream maintenance failed: ${message}`,
|
|
1292
|
+
});
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
async triggerResidentPreemptiveCheck(details) {
|
|
1296
|
+
const goalId = typeof details?.["goal_id"] === "string" ? details["goal_id"].trim() : "";
|
|
1297
|
+
if (!goalId) {
|
|
1298
|
+
await this.persistResidentActivity({
|
|
1299
|
+
kind: "skipped",
|
|
1300
|
+
trigger: "proactive_tick",
|
|
1301
|
+
summary: "Resident preemptive check skipped because no goal_id was provided.",
|
|
1302
|
+
});
|
|
1303
|
+
return;
|
|
1304
|
+
}
|
|
1305
|
+
try {
|
|
1306
|
+
const goal = await this.stateManager.loadGoal(goalId).catch(() => null);
|
|
1307
|
+
if (!goal) {
|
|
1308
|
+
await this.persistResidentActivity({
|
|
1309
|
+
kind: "skipped",
|
|
1310
|
+
trigger: "proactive_tick",
|
|
1311
|
+
summary: `Resident preemptive check skipped because goal "${goalId}" was not found.`,
|
|
1312
|
+
goal_id: goalId,
|
|
1313
|
+
});
|
|
1314
|
+
return;
|
|
1315
|
+
}
|
|
1316
|
+
await this.driveSystem.writeEvent(PulSeedEventSchema.parse({
|
|
1317
|
+
type: "external",
|
|
1318
|
+
source: "resident-proactive",
|
|
1319
|
+
timestamp: new Date().toISOString(),
|
|
1320
|
+
data: {
|
|
1321
|
+
event_type: "preemptive_check",
|
|
1322
|
+
goal_id: goalId,
|
|
1323
|
+
requested_by: "resident-daemon",
|
|
1324
|
+
},
|
|
1325
|
+
}));
|
|
1326
|
+
if (!this.currentGoalIds.includes(goalId)) {
|
|
1327
|
+
this.currentGoalIds.push(goalId);
|
|
1328
|
+
}
|
|
1329
|
+
this.refreshOperationalState();
|
|
1330
|
+
this.supervisor?.activateGoal(goalId);
|
|
1331
|
+
this.abortSleep();
|
|
1332
|
+
await this.persistResidentActivity({
|
|
1333
|
+
kind: "observation",
|
|
1334
|
+
trigger: "proactive_tick",
|
|
1335
|
+
summary: `Resident preemptive check queued an observation wake-up for goal "${goalId}".`,
|
|
1336
|
+
goal_id: goalId,
|
|
1337
|
+
});
|
|
1338
|
+
}
|
|
1339
|
+
catch (err) {
|
|
1340
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
1341
|
+
this.logger.warn("Resident preemptive check failed", { error: message, goal_id: goalId });
|
|
1342
|
+
await this.persistResidentActivity({
|
|
1343
|
+
kind: "error",
|
|
1344
|
+
trigger: "proactive_tick",
|
|
1345
|
+
summary: `Resident preemptive check failed: ${message}`,
|
|
1346
|
+
goal_id: goalId || undefined,
|
|
1347
|
+
});
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
async triggerIdleResidentMaintenance() {
|
|
1351
|
+
if (this.currentGoalIds.length > 0) {
|
|
1352
|
+
return;
|
|
1353
|
+
}
|
|
1354
|
+
const dreamSuggestionPath = path.join(this.baseDir, "dream", "schedule-suggestions.json");
|
|
1355
|
+
const hasDreamSuggestionFile = fs.existsSync(dreamSuggestionPath);
|
|
1356
|
+
if (!hasDreamSuggestionFile && !this.memoryLifecycle && !this.knowledgeManager && !this.llmClient) {
|
|
1357
|
+
return;
|
|
1358
|
+
}
|
|
1359
|
+
await this.triggerResidentDreamMaintenance(undefined, "light");
|
|
755
1360
|
}
|
|
756
1361
|
async runSupervisorMaintenanceCycle() {
|
|
1362
|
+
this.refreshOperationalState();
|
|
1363
|
+
await this.maybeRefreshProviderRuntime((this.supervisor?.getState().workers ?? []).filter((worker) => worker.goalId !== null).length);
|
|
757
1364
|
await runSupervisorMaintenanceCycleForDaemon({
|
|
758
1365
|
currentGoalIds: this.currentGoalIds,
|
|
759
1366
|
driveSystem: this.driveSystem,
|
|
@@ -764,12 +1371,67 @@ export class DaemonRunner {
|
|
|
764
1371
|
saveDaemonState: () => this.saveDaemonState(),
|
|
765
1372
|
eventServer: this.eventServer,
|
|
766
1373
|
state: this.state,
|
|
1374
|
+
runRuntimeStoreMaintenance: () => this.runRuntimeStoreMaintenance(),
|
|
767
1375
|
});
|
|
768
1376
|
}
|
|
1377
|
+
async captureProviderRuntimeFingerprint() {
|
|
1378
|
+
try {
|
|
1379
|
+
return await this.getProviderRuntimeFingerprintFn();
|
|
1380
|
+
}
|
|
1381
|
+
catch (error) {
|
|
1382
|
+
this.logger.warn("Failed to capture provider runtime fingerprint", {
|
|
1383
|
+
error: error instanceof Error ? error.message : String(error),
|
|
1384
|
+
});
|
|
1385
|
+
return null;
|
|
1386
|
+
}
|
|
1387
|
+
}
|
|
1388
|
+
async maybeRefreshProviderRuntime(activeGoalCount) {
|
|
1389
|
+
if (!this.refreshResidentDeps || activeGoalCount > 0) {
|
|
1390
|
+
return;
|
|
1391
|
+
}
|
|
1392
|
+
const currentFingerprint = await this.captureProviderRuntimeFingerprint();
|
|
1393
|
+
if (!currentFingerprint || currentFingerprint === this.providerRuntimeFingerprint) {
|
|
1394
|
+
return;
|
|
1395
|
+
}
|
|
1396
|
+
try {
|
|
1397
|
+
const freshDeps = await this.refreshResidentDeps();
|
|
1398
|
+
this.coreLoop = freshDeps.coreLoop;
|
|
1399
|
+
this.curiosityEngine = freshDeps.curiosityEngine;
|
|
1400
|
+
this.goalNegotiator = freshDeps.goalNegotiator;
|
|
1401
|
+
this.llmClient = freshDeps.llmClient;
|
|
1402
|
+
this.reportingEngine = freshDeps.reportingEngine;
|
|
1403
|
+
this.scheduleEngine = freshDeps.scheduleEngine;
|
|
1404
|
+
this.memoryLifecycle = freshDeps.memoryLifecycle;
|
|
1405
|
+
this.knowledgeManager = freshDeps.knowledgeManager;
|
|
1406
|
+
this.supervisor?.replaceIdleWorkers(() => this.coreLoop);
|
|
1407
|
+
this.providerRuntimeFingerprint = currentFingerprint;
|
|
1408
|
+
this.logger.info("Refreshed resident daemon dependencies after provider drift", {
|
|
1409
|
+
fingerprint_changed: true,
|
|
1410
|
+
});
|
|
1411
|
+
}
|
|
1412
|
+
catch (error) {
|
|
1413
|
+
this.logger.warn("Failed to refresh resident daemon dependencies after provider drift", {
|
|
1414
|
+
error: error instanceof Error ? error.message : String(error),
|
|
1415
|
+
});
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
769
1418
|
async handleChatMessageCommand(goalId, message) {
|
|
770
1419
|
await writeChatMessageEvent(this.driveSystem, goalId, message);
|
|
1420
|
+
await this.broadcastChatResponse(goalId, message);
|
|
771
1421
|
this.abortSleep();
|
|
772
1422
|
}
|
|
1423
|
+
async runCommandWithHealth(commandName, fn) {
|
|
1424
|
+
try {
|
|
1425
|
+
const result = await fn();
|
|
1426
|
+
await this.runtimeOwnership.observeCommandAcceptance("ok");
|
|
1427
|
+
return result;
|
|
1428
|
+
}
|
|
1429
|
+
catch (error) {
|
|
1430
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
1431
|
+
await this.runtimeOwnership.observeCommandAcceptance("failed", `${commandName} failed: ${message}`);
|
|
1432
|
+
throw error;
|
|
1433
|
+
}
|
|
1434
|
+
}
|
|
773
1435
|
async handleApprovalResponseCommand(goalId, requestId, approved) {
|
|
774
1436
|
if (this.approvalBroker) {
|
|
775
1437
|
await this.approvalBroker.resolveApproval(requestId, approved, "dispatcher");
|
|
@@ -794,6 +1456,24 @@ export class DaemonRunner {
|
|
|
794
1456
|
await this.cronScheduler.markFired(taskId);
|
|
795
1457
|
}
|
|
796
1458
|
}
|
|
1459
|
+
async runRuntimeStoreMaintenance(force = false) {
|
|
1460
|
+
if (!this.runtimeRoot) {
|
|
1461
|
+
return;
|
|
1462
|
+
}
|
|
1463
|
+
const now = Date.now();
|
|
1464
|
+
if (!force && now - this.lastRuntimeStoreMaintenanceAt < this.config.check_interval_ms) {
|
|
1465
|
+
return;
|
|
1466
|
+
}
|
|
1467
|
+
this.lastRuntimeStoreMaintenanceAt = now;
|
|
1468
|
+
await runRuntimeStoreMaintenanceCycle({
|
|
1469
|
+
runtimeRoot: this.runtimeRoot,
|
|
1470
|
+
approvalStore: this.approvalStore ?? undefined,
|
|
1471
|
+
outboxStore: this.outboxStore ?? undefined,
|
|
1472
|
+
runtimeHealthStore: this.runtimeHealthStore ?? undefined,
|
|
1473
|
+
logger: this.logger,
|
|
1474
|
+
now,
|
|
1475
|
+
});
|
|
1476
|
+
}
|
|
797
1477
|
// ─── Private: Proactive Tick ───
|
|
798
1478
|
/**
|
|
799
1479
|
* Ask the LLM for a proactive action when no goals were activated this cycle.
|
|
@@ -801,13 +1481,56 @@ export class DaemonRunner {
|
|
|
801
1481
|
* Errors are caught and logged — they never affect the daemon loop.
|
|
802
1482
|
*/
|
|
803
1483
|
async proactiveTick() {
|
|
804
|
-
this.
|
|
1484
|
+
if (!this.config.proactive_mode) {
|
|
1485
|
+
return;
|
|
1486
|
+
}
|
|
1487
|
+
if (await this.runScheduledGoalReview()) {
|
|
1488
|
+
return;
|
|
1489
|
+
}
|
|
1490
|
+
const curiosityTriggered = await this.runResidentCuriosityCycle({
|
|
1491
|
+
activityTrigger: "proactive_tick",
|
|
1492
|
+
skipWhenNoTriggers: true,
|
|
1493
|
+
});
|
|
1494
|
+
if (curiosityTriggered) {
|
|
1495
|
+
return;
|
|
1496
|
+
}
|
|
1497
|
+
const result = await runProactiveMaintenance({
|
|
805
1498
|
config: this.config,
|
|
806
1499
|
llmClient: this.llmClient,
|
|
807
1500
|
state: this.state,
|
|
808
1501
|
lastProactiveTickAt: this.lastProactiveTickAt,
|
|
809
1502
|
logger: this.logger,
|
|
810
1503
|
});
|
|
1504
|
+
this.lastProactiveTickAt = result.lastProactiveTickAt;
|
|
1505
|
+
if (!result.decision) {
|
|
1506
|
+
return;
|
|
1507
|
+
}
|
|
1508
|
+
if (result.decision.action === "sleep") {
|
|
1509
|
+
await this.persistResidentActivity({
|
|
1510
|
+
kind: "sleep",
|
|
1511
|
+
trigger: "proactive_tick",
|
|
1512
|
+
summary: "Resident proactive tick stayed idle.",
|
|
1513
|
+
});
|
|
1514
|
+
await this.triggerIdleResidentMaintenance();
|
|
1515
|
+
return;
|
|
1516
|
+
}
|
|
1517
|
+
if (result.decision.action === "suggest_goal") {
|
|
1518
|
+
await this.triggerResidentGoalDiscovery(result.decision.details);
|
|
1519
|
+
return;
|
|
1520
|
+
}
|
|
1521
|
+
if (result.decision.action === "investigate") {
|
|
1522
|
+
await this.triggerResidentInvestigation(result.decision.details);
|
|
1523
|
+
return;
|
|
1524
|
+
}
|
|
1525
|
+
if (result.decision.action === "preemptive_check") {
|
|
1526
|
+
await this.triggerResidentPreemptiveCheck(result.decision.details);
|
|
1527
|
+
return;
|
|
1528
|
+
}
|
|
1529
|
+
await this.persistResidentActivity({
|
|
1530
|
+
kind: "skipped",
|
|
1531
|
+
trigger: "proactive_tick",
|
|
1532
|
+
summary: `Resident proactive tick requested ${result.decision.action}, but no resident executor is wired for it yet.`,
|
|
1533
|
+
});
|
|
811
1534
|
}
|
|
812
1535
|
// ─── Private: Adaptive Sleep ───
|
|
813
1536
|
/**
|