pulseed 0.1.4 → 0.2.0
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/__tests__/core.test.d.ts +2 -0
- package/dist/__tests__/core.test.d.ts.map +1 -0
- package/dist/__tests__/core.test.js +275 -0
- package/dist/__tests__/core.test.js.map +1 -0
- package/dist/__tests__/index-exports.test.d.ts +2 -0
- package/dist/__tests__/index-exports.test.d.ts.map +1 -0
- package/dist/__tests__/index-exports.test.js +21 -0
- package/dist/__tests__/index-exports.test.js.map +1 -0
- package/dist/adapters/__tests__/a2a-adapter.test.d.ts +2 -0
- package/dist/adapters/__tests__/a2a-adapter.test.d.ts.map +1 -0
- package/dist/adapters/__tests__/a2a-adapter.test.js +264 -0
- package/dist/adapters/__tests__/a2a-adapter.test.js.map +1 -0
- package/dist/adapters/__tests__/a2a-client.test.d.ts +2 -0
- package/dist/adapters/__tests__/a2a-client.test.d.ts.map +1 -0
- package/dist/adapters/__tests__/a2a-client.test.js +211 -0
- package/dist/adapters/__tests__/a2a-client.test.js.map +1 -0
- package/dist/adapters/__tests__/agent-profile-loader.test.d.ts +2 -0
- package/dist/adapters/__tests__/agent-profile-loader.test.d.ts.map +1 -0
- package/dist/adapters/__tests__/agent-profile-loader.test.js +141 -0
- package/dist/adapters/__tests__/agent-profile-loader.test.js.map +1 -0
- package/dist/adapters/__tests__/browser-use-cli-adapter.test.d.ts +2 -0
- package/dist/adapters/__tests__/browser-use-cli-adapter.test.d.ts.map +1 -0
- package/dist/adapters/__tests__/browser-use-cli-adapter.test.js +226 -0
- package/dist/adapters/__tests__/browser-use-cli-adapter.test.js.map +1 -0
- package/dist/adapters/__tests__/claude-code-cli-adapter.test.d.ts +2 -0
- package/dist/adapters/__tests__/claude-code-cli-adapter.test.d.ts.map +1 -0
- package/dist/adapters/__tests__/claude-code-cli-adapter.test.js +215 -0
- package/dist/adapters/__tests__/claude-code-cli-adapter.test.js.map +1 -0
- package/dist/adapters/__tests__/file-existence-datasource.test.d.ts +2 -0
- package/dist/adapters/__tests__/file-existence-datasource.test.d.ts.map +1 -0
- package/dist/adapters/__tests__/file-existence-datasource.test.js +119 -0
- package/dist/adapters/__tests__/file-existence-datasource.test.js.map +1 -0
- package/dist/adapters/__tests__/github-issue-adapter.test.d.ts +2 -0
- package/dist/adapters/__tests__/github-issue-adapter.test.d.ts.map +1 -0
- package/dist/adapters/__tests__/github-issue-adapter.test.js +584 -0
- package/dist/adapters/__tests__/github-issue-adapter.test.js.map +1 -0
- package/dist/adapters/__tests__/github-issue-datasource.test.d.ts +2 -0
- package/dist/adapters/__tests__/github-issue-datasource.test.d.ts.map +1 -0
- package/dist/adapters/__tests__/github-issue-datasource.test.js +318 -0
- package/dist/adapters/__tests__/github-issue-datasource.test.js.map +1 -0
- package/dist/adapters/__tests__/mcp-client-manager.test.d.ts +2 -0
- package/dist/adapters/__tests__/mcp-client-manager.test.d.ts.map +1 -0
- package/dist/adapters/__tests__/mcp-client-manager.test.js +248 -0
- package/dist/adapters/__tests__/mcp-client-manager.test.js.map +1 -0
- package/dist/adapters/__tests__/mcp-datasource.test.d.ts +2 -0
- package/dist/adapters/__tests__/mcp-datasource.test.d.ts.map +1 -0
- package/dist/adapters/__tests__/mcp-datasource.test.js +187 -0
- package/dist/adapters/__tests__/mcp-datasource.test.js.map +1 -0
- package/dist/adapters/__tests__/openai-codex-adapter.test.d.ts +2 -0
- package/dist/adapters/__tests__/openai-codex-adapter.test.d.ts.map +1 -0
- package/dist/adapters/__tests__/openai-codex-adapter.test.js +246 -0
- package/dist/adapters/__tests__/openai-codex-adapter.test.js.map +1 -0
- package/dist/adapters/__tests__/openclaw-acp.test.d.ts +2 -0
- package/dist/adapters/__tests__/openclaw-acp.test.d.ts.map +1 -0
- package/dist/adapters/__tests__/openclaw-acp.test.js +239 -0
- package/dist/adapters/__tests__/openclaw-acp.test.js.map +1 -0
- package/dist/adapters/__tests__/openclaw-datasource.test.d.ts +2 -0
- package/dist/adapters/__tests__/openclaw-datasource.test.d.ts.map +1 -0
- package/dist/adapters/__tests__/openclaw-datasource.test.js +252 -0
- package/dist/adapters/__tests__/openclaw-datasource.test.js.map +1 -0
- package/dist/adapters/__tests__/shell-datasource.test.d.ts +2 -0
- package/dist/adapters/__tests__/shell-datasource.test.d.ts.map +1 -0
- package/dist/adapters/__tests__/shell-datasource.test.js +186 -0
- package/dist/adapters/__tests__/shell-datasource.test.js.map +1 -0
- package/dist/adapters/agents/a2a-adapter.d.ts +49 -0
- package/dist/adapters/agents/a2a-adapter.d.ts.map +1 -0
- package/dist/adapters/agents/a2a-adapter.js +211 -0
- package/dist/adapters/agents/a2a-adapter.js.map +1 -0
- package/dist/adapters/agents/a2a-client.d.ts +28 -0
- package/dist/adapters/agents/a2a-client.d.ts.map +1 -0
- package/dist/adapters/agents/a2a-client.js +178 -0
- package/dist/adapters/agents/a2a-client.js.map +1 -0
- package/dist/adapters/agents/agent-profile-loader.d.ts +26 -0
- package/dist/adapters/agents/agent-profile-loader.d.ts.map +1 -0
- package/dist/adapters/agents/agent-profile-loader.js +88 -0
- package/dist/adapters/agents/agent-profile-loader.js.map +1 -0
- package/dist/adapters/agents/browser-use-cli.d.ts +19 -0
- package/dist/adapters/agents/browser-use-cli.d.ts.map +1 -0
- package/dist/adapters/agents/browser-use-cli.js +74 -0
- package/dist/adapters/agents/browser-use-cli.js.map +1 -0
- package/dist/adapters/agents/claude-api.d.ts +10 -0
- package/dist/adapters/agents/claude-api.d.ts.map +1 -0
- package/dist/adapters/agents/claude-api.js +64 -0
- package/dist/adapters/agents/claude-api.js.map +1 -0
- package/dist/adapters/agents/claude-code-cli.d.ts +14 -0
- package/dist/adapters/agents/claude-code-cli.d.ts.map +1 -0
- package/dist/adapters/agents/claude-code-cli.js +49 -0
- package/dist/adapters/agents/claude-code-cli.js.map +1 -0
- package/dist/adapters/agents/openai-codex.d.ts +28 -0
- package/dist/adapters/agents/openai-codex.d.ts.map +1 -0
- package/dist/adapters/agents/openai-codex.js +63 -0
- package/dist/adapters/agents/openai-codex.js.map +1 -0
- package/dist/adapters/agents/openclaw-acp.d.ts +32 -0
- package/dist/adapters/agents/openclaw-acp.d.ts.map +1 -0
- package/dist/adapters/agents/openclaw-acp.js.map +1 -0
- package/dist/adapters/datasources/file-existence-datasource.d.ts +16 -0
- package/dist/adapters/datasources/file-existence-datasource.d.ts.map +1 -0
- package/dist/adapters/datasources/file-existence-datasource.js.map +1 -0
- package/dist/adapters/datasources/github-issue-datasource.d.ts +45 -0
- package/dist/adapters/datasources/github-issue-datasource.d.ts.map +1 -0
- package/dist/adapters/datasources/github-issue-datasource.js.map +1 -0
- package/dist/adapters/datasources/mcp-datasource.d.ts +20 -0
- package/dist/adapters/datasources/mcp-datasource.d.ts.map +1 -0
- package/dist/adapters/datasources/mcp-datasource.js.map +1 -0
- package/dist/adapters/datasources/openclaw-datasource.d.ts +33 -0
- package/dist/adapters/datasources/openclaw-datasource.d.ts.map +1 -0
- package/dist/adapters/datasources/openclaw-datasource.js.map +1 -0
- package/dist/adapters/datasources/shell-datasource.d.ts +36 -0
- package/dist/adapters/datasources/shell-datasource.d.ts.map +1 -0
- package/dist/adapters/datasources/shell-datasource.js.map +1 -0
- package/dist/adapters/github-issue.d.ts +2 -2
- package/dist/adapters/github-issue.d.ts.map +1 -1
- package/dist/adapters/github-issue.js +1 -1
- package/dist/adapters/github-issue.js.map +1 -1
- package/dist/adapters/mcp-client-manager.d.ts +2 -2
- package/dist/adapters/mcp-client-manager.d.ts.map +1 -1
- package/dist/adapters/mcp-client-manager.js +2 -2
- package/dist/adapters/mcp-client-manager.js.map +1 -1
- package/dist/adapters/spawn-helper.d.ts +1 -1
- package/dist/adapters/spawn-helper.d.ts.map +1 -1
- package/dist/adapters/types/a2a.d.ts +721 -0
- package/dist/adapters/types/a2a.d.ts.map +1 -0
- package/dist/adapters/types/a2a.js +114 -0
- package/dist/adapters/types/a2a.js.map +1 -0
- package/dist/adapters/types/agent-profile.d.ts +32 -0
- package/dist/adapters/types/agent-profile.d.ts.map +1 -0
- package/dist/adapters/types/agent-profile.js +16 -0
- package/dist/adapters/types/agent-profile.js.map +1 -0
- package/dist/adapters/types/mcp.d.ts +170 -0
- package/dist/adapters/types/mcp.d.ts.map +1 -0
- package/dist/adapters/types/mcp.js +30 -0
- package/dist/adapters/types/mcp.js.map +1 -0
- package/dist/base/llm/__tests__/codex-llm-client.test.d.ts +2 -0
- package/dist/base/llm/__tests__/codex-llm-client.test.d.ts.map +1 -0
- package/dist/base/llm/__tests__/codex-llm-client.test.js +334 -0
- package/dist/base/llm/__tests__/codex-llm-client.test.js.map +1 -0
- package/dist/base/llm/__tests__/json-sanitizer.test.d.ts +2 -0
- package/dist/base/llm/__tests__/json-sanitizer.test.d.ts.map +1 -0
- package/dist/base/llm/__tests__/json-sanitizer.test.js +134 -0
- package/dist/base/llm/__tests__/json-sanitizer.test.js.map +1 -0
- package/dist/base/llm/__tests__/llm-client-send-message.test.d.ts +2 -0
- package/dist/base/llm/__tests__/llm-client-send-message.test.d.ts.map +1 -0
- package/dist/base/llm/__tests__/llm-client-send-message.test.js +155 -0
- package/dist/base/llm/__tests__/llm-client-send-message.test.js.map +1 -0
- package/dist/base/llm/__tests__/llm-client.test.d.ts +2 -0
- package/dist/base/llm/__tests__/llm-client.test.d.ts.map +1 -0
- package/dist/base/llm/__tests__/llm-client.test.js +401 -0
- package/dist/base/llm/__tests__/llm-client.test.js.map +1 -0
- package/dist/base/llm/__tests__/ollama-client.test.d.ts +2 -0
- package/dist/base/llm/__tests__/ollama-client.test.d.ts.map +1 -0
- package/dist/base/llm/__tests__/ollama-client.test.js +253 -0
- package/dist/base/llm/__tests__/ollama-client.test.js.map +1 -0
- package/dist/base/llm/__tests__/openai-client.test.d.ts +2 -0
- package/dist/base/llm/__tests__/openai-client.test.d.ts.map +1 -0
- package/dist/base/llm/__tests__/openai-client.test.js +245 -0
- package/dist/base/llm/__tests__/openai-client.test.js.map +1 -0
- package/dist/base/llm/__tests__/provider-config.test.d.ts +2 -0
- package/dist/base/llm/__tests__/provider-config.test.d.ts.map +1 -0
- package/dist/base/llm/__tests__/provider-config.test.js +334 -0
- package/dist/base/llm/__tests__/provider-config.test.js.map +1 -0
- package/dist/base/llm/__tests__/provider-factory.test.d.ts +2 -0
- package/dist/base/llm/__tests__/provider-factory.test.d.ts.map +1 -0
- package/dist/base/llm/__tests__/provider-factory.test.js +166 -0
- package/dist/base/llm/__tests__/provider-factory.test.js.map +1 -0
- package/dist/base/llm/__tests__/provider-oauth.test.d.ts +2 -0
- package/dist/base/llm/__tests__/provider-oauth.test.d.ts.map +1 -0
- package/dist/base/llm/__tests__/provider-oauth.test.js +120 -0
- package/dist/base/llm/__tests__/provider-oauth.test.js.map +1 -0
- package/dist/base/llm/base-llm-client.d.ts +83 -0
- package/dist/base/llm/base-llm-client.d.ts.map +1 -0
- package/dist/base/llm/base-llm-client.js +210 -0
- package/dist/base/llm/base-llm-client.js.map +1 -0
- package/dist/base/llm/codex-llm-client.d.ts +45 -0
- package/dist/base/llm/codex-llm-client.d.ts.map +1 -0
- package/dist/base/llm/codex-llm-client.js +190 -0
- package/dist/base/llm/codex-llm-client.js.map +1 -0
- package/dist/base/llm/json-sanitizer.d.ts +34 -0
- package/dist/base/llm/json-sanitizer.d.ts.map +1 -0
- package/dist/base/llm/json-sanitizer.js +110 -0
- package/dist/base/llm/json-sanitizer.js.map +1 -0
- package/dist/base/llm/llm-client.d.ts +93 -0
- package/dist/base/llm/llm-client.d.ts.map +1 -0
- package/dist/base/llm/llm-client.js +205 -0
- package/dist/base/llm/llm-client.js.map +1 -0
- package/dist/base/llm/ollama-client.d.ts +27 -0
- package/dist/base/llm/ollama-client.d.ts.map +1 -0
- package/dist/base/llm/ollama-client.js +111 -0
- package/dist/base/llm/ollama-client.js.map +1 -0
- package/dist/base/llm/openai-client.d.ts +37 -0
- package/dist/base/llm/openai-client.d.ts.map +1 -0
- package/dist/base/llm/openai-client.js +156 -0
- package/dist/base/llm/openai-client.js.map +1 -0
- package/dist/base/llm/provider-config.d.ts +102 -0
- package/dist/base/llm/provider-config.d.ts.map +1 -0
- package/dist/base/llm/provider-config.js +320 -0
- package/dist/base/llm/provider-config.js.map +1 -0
- package/dist/base/llm/provider-factory.d.ts +24 -0
- package/dist/base/llm/provider-factory.d.ts.map +1 -0
- package/dist/base/llm/provider-factory.js +134 -0
- package/dist/base/llm/provider-factory.js.map +1 -0
- package/dist/base/state/__tests__/state-manager.test.d.ts +2 -0
- package/dist/base/state/__tests__/state-manager.test.d.ts.map +1 -0
- package/dist/base/state/__tests__/state-manager.test.js +796 -0
- package/dist/base/state/__tests__/state-manager.test.js.map +1 -0
- package/dist/base/state/state-manager.d.ts +106 -0
- package/dist/base/state/state-manager.d.ts.map +1 -0
- package/dist/base/state/state-manager.js +518 -0
- package/dist/base/state/state-manager.js.map +1 -0
- package/dist/base/state/state-persistence.d.ts +12 -0
- package/dist/base/state/state-persistence.d.ts.map +1 -0
- package/dist/base/state/state-persistence.js +58 -0
- package/dist/base/state/state-persistence.js.map +1 -0
- package/dist/base/state/types/state.d.ts +245 -0
- package/dist/base/state/types/state.d.ts.map +1 -0
- package/dist/base/state/types/state.js +36 -0
- package/dist/base/state/types/state.js.map +1 -0
- package/dist/base/types/__tests__/cross-portfolio.test.d.ts +2 -0
- package/dist/base/types/__tests__/cross-portfolio.test.d.ts.map +1 -0
- package/dist/base/types/__tests__/cross-portfolio.test.js +336 -0
- package/dist/base/types/__tests__/cross-portfolio.test.js.map +1 -0
- package/dist/base/types/__tests__/existing-extensions.test.d.ts +2 -0
- package/dist/base/types/__tests__/existing-extensions.test.d.ts.map +1 -0
- package/dist/base/types/__tests__/existing-extensions.test.js +140 -0
- package/dist/base/types/__tests__/existing-extensions.test.js.map +1 -0
- package/dist/base/types/__tests__/goal-refiner-types.test.d.ts +2 -0
- package/dist/base/types/__tests__/goal-refiner-types.test.d.ts.map +1 -0
- package/dist/base/types/__tests__/goal-refiner-types.test.js +198 -0
- package/dist/base/types/__tests__/goal-refiner-types.test.js.map +1 -0
- package/dist/base/types/__tests__/goal-tree-integration.test.d.ts +2 -0
- package/dist/base/types/__tests__/goal-tree-integration.test.d.ts.map +1 -0
- package/dist/base/types/__tests__/goal-tree-integration.test.js +327 -0
- package/dist/base/types/__tests__/goal-tree-integration.test.js.map +1 -0
- package/dist/base/types/__tests__/goal-tree.test.d.ts +2 -0
- package/dist/base/types/__tests__/goal-tree.test.d.ts.map +1 -0
- package/dist/base/types/__tests__/goal-tree.test.js +286 -0
- package/dist/base/types/__tests__/goal-tree.test.js.map +1 -0
- package/dist/base/types/__tests__/learning.test.d.ts +2 -0
- package/dist/base/types/__tests__/learning.test.d.ts.map +1 -0
- package/dist/base/types/__tests__/learning.test.js +306 -0
- package/dist/base/types/__tests__/learning.test.js.map +1 -0
- package/dist/base/types/__tests__/suggest-output-schema.test.d.ts +2 -0
- package/dist/base/types/__tests__/suggest-output-schema.test.d.ts.map +1 -0
- package/dist/base/types/__tests__/suggest-output-schema.test.js +239 -0
- package/dist/base/types/__tests__/suggest-output-schema.test.js.map +1 -0
- package/dist/base/types/a2a.d.ts +2 -0
- package/dist/base/types/a2a.d.ts.map +1 -0
- package/dist/base/types/a2a.js +3 -0
- package/dist/base/types/a2a.js.map +1 -0
- package/dist/base/types/agent-profile.d.ts +2 -0
- package/dist/base/types/agent-profile.d.ts.map +1 -0
- package/dist/base/types/agent-profile.js +3 -0
- package/dist/base/types/agent-profile.js.map +1 -0
- package/dist/base/types/capability.d.ts +2 -0
- package/dist/base/types/capability.d.ts.map +1 -0
- package/dist/base/types/capability.js +3 -0
- package/dist/base/types/capability.js.map +1 -0
- package/dist/base/types/character.d.ts +2 -0
- package/dist/base/types/character.d.ts.map +1 -0
- package/dist/base/types/character.js +3 -0
- package/dist/base/types/character.js.map +1 -0
- package/dist/base/types/checkpoint.d.ts +2 -0
- package/dist/base/types/checkpoint.d.ts.map +1 -0
- package/dist/base/types/checkpoint.js +3 -0
- package/dist/base/types/checkpoint.js.map +1 -0
- package/dist/base/types/core.d.ts +175 -0
- package/dist/base/types/core.d.ts.map +1 -0
- package/dist/base/types/core.js +156 -0
- package/dist/base/types/core.js.map +1 -0
- package/dist/base/types/cron.d.ts +2 -0
- package/dist/base/types/cron.d.ts.map +1 -0
- package/dist/base/types/cron.js +3 -0
- package/dist/base/types/cron.js.map +1 -0
- package/dist/base/types/cross-portfolio.d.ts +2 -0
- package/dist/base/types/cross-portfolio.d.ts.map +1 -0
- package/dist/base/types/cross-portfolio.js +3 -0
- package/dist/base/types/cross-portfolio.js.map +1 -0
- package/dist/base/types/curiosity.d.ts +2 -0
- package/dist/base/types/curiosity.d.ts.map +1 -0
- package/dist/base/types/curiosity.js +3 -0
- package/dist/base/types/curiosity.js.map +1 -0
- package/dist/base/types/daemon.d.ts +2 -0
- package/dist/base/types/daemon.d.ts.map +1 -0
- package/dist/base/types/daemon.js +3 -0
- package/dist/base/types/daemon.js.map +1 -0
- package/dist/base/types/data-source.d.ts +2 -0
- package/dist/base/types/data-source.d.ts.map +1 -0
- package/dist/base/types/data-source.js +3 -0
- package/dist/base/types/data-source.js.map +1 -0
- package/dist/base/types/dependency.d.ts +2 -0
- package/dist/base/types/dependency.d.ts.map +1 -0
- package/dist/base/types/dependency.js +3 -0
- package/dist/base/types/dependency.js.map +1 -0
- package/dist/base/types/drive.d.ts +2 -0
- package/dist/base/types/drive.d.ts.map +1 -0
- package/dist/base/types/drive.js +3 -0
- package/dist/base/types/drive.js.map +1 -0
- package/dist/base/types/embedding.d.ts +2 -0
- package/dist/base/types/embedding.d.ts.map +1 -0
- package/dist/base/types/embedding.js +3 -0
- package/dist/base/types/embedding.js.map +1 -0
- package/dist/base/types/ethics.d.ts +2 -0
- package/dist/base/types/ethics.d.ts.map +1 -0
- package/dist/base/types/ethics.js +3 -0
- package/dist/base/types/ethics.js.map +1 -0
- package/dist/base/types/gap.d.ts +2 -0
- package/dist/base/types/gap.d.ts.map +1 -0
- package/dist/base/types/gap.js +3 -0
- package/dist/base/types/gap.js.map +1 -0
- package/dist/base/types/goal-refiner.d.ts +2 -0
- package/dist/base/types/goal-refiner.d.ts.map +1 -0
- package/dist/base/types/goal-refiner.js +3 -0
- package/dist/base/types/goal-refiner.js.map +1 -0
- package/dist/base/types/goal-tree.d.ts +2 -0
- package/dist/base/types/goal-tree.d.ts.map +1 -0
- package/dist/base/types/goal-tree.js +3 -0
- package/dist/base/types/goal-tree.js.map +1 -0
- package/dist/base/types/goal.d.ts +2 -0
- package/dist/base/types/goal.d.ts.map +1 -0
- package/dist/base/types/goal.js +3 -0
- package/dist/base/types/goal.js.map +1 -0
- package/dist/base/types/guardrail.d.ts +2 -0
- package/dist/base/types/guardrail.d.ts.map +1 -0
- package/dist/base/types/guardrail.js +3 -0
- package/dist/base/types/guardrail.js.map +1 -0
- package/dist/base/types/hook.d.ts +2 -0
- package/dist/base/types/hook.d.ts.map +1 -0
- package/dist/base/types/hook.js +3 -0
- package/dist/base/types/hook.js.map +1 -0
- package/dist/base/types/index.d.ts +32 -0
- package/dist/base/types/index.d.ts.map +1 -0
- package/dist/base/types/index.js +32 -0
- package/dist/base/types/index.js.map +1 -0
- package/dist/base/types/knowledge.d.ts +2 -0
- package/dist/base/types/knowledge.d.ts.map +1 -0
- package/dist/base/types/knowledge.js +3 -0
- package/dist/base/types/knowledge.js.map +1 -0
- package/dist/base/types/learning.d.ts +2 -0
- package/dist/base/types/learning.d.ts.map +1 -0
- package/dist/base/types/learning.js +3 -0
- package/dist/base/types/learning.js.map +1 -0
- package/dist/base/types/mcp.d.ts +2 -0
- package/dist/base/types/mcp.d.ts.map +1 -0
- package/dist/base/types/mcp.js +3 -0
- package/dist/base/types/mcp.js.map +1 -0
- package/dist/base/types/memory-lifecycle.d.ts +2 -0
- package/dist/base/types/memory-lifecycle.d.ts.map +1 -0
- package/dist/base/types/memory-lifecycle.js +3 -0
- package/dist/base/types/memory-lifecycle.js.map +1 -0
- package/dist/base/types/negotiation.d.ts +2 -0
- package/dist/base/types/negotiation.d.ts.map +1 -0
- package/dist/base/types/negotiation.js +3 -0
- package/dist/base/types/negotiation.js.map +1 -0
- package/dist/base/types/notification.d.ts +2 -0
- package/dist/base/types/notification.d.ts.map +1 -0
- package/dist/base/types/notification.js +3 -0
- package/dist/base/types/notification.js.map +1 -0
- package/dist/base/types/pipeline.d.ts +2 -0
- package/dist/base/types/pipeline.d.ts.map +1 -0
- package/dist/base/types/pipeline.js +3 -0
- package/dist/base/types/pipeline.js.map +1 -0
- package/dist/base/types/plugin.d.ts +2 -0
- package/dist/base/types/plugin.d.ts.map +1 -0
- package/dist/base/types/plugin.js +3 -0
- package/dist/base/types/plugin.js.map +1 -0
- package/dist/base/types/portfolio.d.ts +2 -0
- package/dist/base/types/portfolio.d.ts.map +1 -0
- package/dist/base/types/portfolio.js +3 -0
- package/dist/base/types/portfolio.js.map +1 -0
- package/dist/base/types/reflection.d.ts +2 -0
- package/dist/base/types/reflection.d.ts.map +1 -0
- package/dist/base/types/reflection.js +3 -0
- package/dist/base/types/reflection.js.map +1 -0
- package/dist/base/types/report.d.ts +2 -0
- package/dist/base/types/report.d.ts.map +1 -0
- package/dist/base/types/report.js +3 -0
- package/dist/base/types/report.js.map +1 -0
- package/dist/base/types/satisficing.d.ts +2 -0
- package/dist/base/types/satisficing.d.ts.map +1 -0
- package/dist/base/types/satisficing.js +3 -0
- package/dist/base/types/satisficing.js.map +1 -0
- package/dist/base/types/session.d.ts +2 -0
- package/dist/base/types/session.d.ts.map +1 -0
- package/dist/base/types/session.js +3 -0
- package/dist/base/types/session.js.map +1 -0
- package/dist/base/types/stall.d.ts +2 -0
- package/dist/base/types/stall.d.ts.map +1 -0
- package/dist/base/types/stall.js +3 -0
- package/dist/base/types/stall.js.map +1 -0
- package/dist/base/types/state.d.ts +2 -0
- package/dist/base/types/state.d.ts.map +1 -0
- package/dist/base/types/state.js +3 -0
- package/dist/base/types/state.js.map +1 -0
- package/dist/base/types/strategy.d.ts +2 -0
- package/dist/base/types/strategy.d.ts.map +1 -0
- package/dist/base/types/strategy.js +3 -0
- package/dist/base/types/strategy.js.map +1 -0
- package/dist/base/types/suggest.d.ts +2 -0
- package/dist/base/types/suggest.d.ts.map +1 -0
- package/dist/base/types/suggest.js +3 -0
- package/dist/base/types/suggest.js.map +1 -0
- package/dist/base/types/task-group.d.ts +2 -0
- package/dist/base/types/task-group.d.ts.map +1 -0
- package/dist/base/types/task-group.js +3 -0
- package/dist/base/types/task-group.js.map +1 -0
- package/dist/base/types/task.d.ts +2 -0
- package/dist/base/types/task.d.ts.map +1 -0
- package/dist/base/types/task.js +3 -0
- package/dist/base/types/task.js.map +1 -0
- package/dist/base/types/trigger.d.ts +2 -0
- package/dist/base/types/trigger.d.ts.map +1 -0
- package/dist/base/types/trigger.js +3 -0
- package/dist/base/types/trigger.js.map +1 -0
- package/dist/base/types/trust.d.ts +2 -0
- package/dist/base/types/trust.d.ts.map +1 -0
- package/dist/base/types/trust.js +3 -0
- package/dist/base/types/trust.js.map +1 -0
- package/dist/base/utils/errors.d.ts +17 -0
- package/dist/base/utils/errors.d.ts.map +1 -0
- package/dist/base/utils/errors.js +34 -0
- package/dist/base/utils/errors.js.map +1 -0
- package/dist/base/utils/execFileNoThrow.d.ts +20 -0
- package/dist/base/utils/execFileNoThrow.d.ts.map +1 -0
- package/dist/base/utils/execFileNoThrow.js +33 -0
- package/dist/base/utils/execFileNoThrow.js.map +1 -0
- package/dist/base/utils/json-io.d.ts +28 -0
- package/dist/base/utils/json-io.d.ts.map +1 -0
- package/dist/base/utils/json-io.js +71 -0
- package/dist/base/utils/json-io.js.map +1 -0
- package/dist/base/utils/paths.d.ts +14 -0
- package/dist/base/utils/paths.d.ts.map +1 -0
- package/dist/base/utils/paths.js +38 -0
- package/dist/base/utils/paths.js.map +1 -0
- package/dist/base/utils/sleep.d.ts +2 -0
- package/dist/base/utils/sleep.d.ts.map +1 -0
- package/dist/base/utils/sleep.js +4 -0
- package/dist/base/utils/sleep.js.map +1 -0
- package/dist/chat/__tests__/chat-grounding.test.d.ts +2 -0
- package/dist/chat/__tests__/chat-grounding.test.d.ts.map +1 -0
- package/dist/chat/__tests__/chat-grounding.test.js +388 -0
- package/dist/chat/__tests__/chat-grounding.test.js.map +1 -0
- package/dist/chat/__tests__/chat-history.test.d.ts +2 -0
- package/dist/chat/__tests__/chat-history.test.d.ts.map +1 -0
- package/dist/chat/__tests__/chat-history.test.js +97 -0
- package/dist/chat/__tests__/chat-history.test.js.map +1 -0
- package/dist/chat/__tests__/chat-runner.test.d.ts +2 -0
- package/dist/chat/__tests__/chat-runner.test.d.ts.map +1 -0
- package/dist/chat/__tests__/chat-runner.test.js +270 -0
- package/dist/chat/__tests__/chat-runner.test.js.map +1 -0
- package/dist/chat/__tests__/chat-verifier.test.d.ts +2 -0
- package/dist/chat/__tests__/chat-verifier.test.d.ts.map +1 -0
- package/dist/chat/__tests__/chat-verifier.test.js +71 -0
- package/dist/chat/__tests__/chat-verifier.test.js.map +1 -0
- package/dist/chat/__tests__/escalation.test.d.ts +2 -0
- package/dist/chat/__tests__/escalation.test.d.ts.map +1 -0
- package/dist/chat/__tests__/escalation.test.js +149 -0
- package/dist/chat/__tests__/escalation.test.js.map +1 -0
- package/dist/chat/__tests__/self-knowledge-mutation-tools.test.d.ts +2 -0
- package/dist/chat/__tests__/self-knowledge-mutation-tools.test.d.ts.map +1 -0
- package/dist/chat/__tests__/self-knowledge-mutation-tools.test.js +371 -0
- package/dist/chat/__tests__/self-knowledge-mutation-tools.test.js.map +1 -0
- package/dist/chat/__tests__/self-knowledge-tools.test.d.ts +2 -0
- package/dist/chat/__tests__/self-knowledge-tools.test.d.ts.map +1 -0
- package/dist/chat/__tests__/self-knowledge-tools.test.js +223 -0
- package/dist/chat/__tests__/self-knowledge-tools.test.js.map +1 -0
- package/dist/chat/chat-history.d.ts +1 -1
- package/dist/chat/chat-history.d.ts.map +1 -1
- package/dist/chat/chat-runner.d.ts +36 -3
- package/dist/chat/chat-runner.d.ts.map +1 -1
- package/dist/chat/chat-runner.js +143 -5
- package/dist/chat/chat-runner.js.map +1 -1
- package/dist/chat/chat-verifier.d.ts +13 -0
- package/dist/chat/chat-verifier.d.ts.map +1 -0
- package/dist/chat/chat-verifier.js +35 -0
- package/dist/chat/chat-verifier.js.map +1 -0
- package/dist/chat/escalation.d.ts +2 -2
- package/dist/chat/escalation.d.ts.map +1 -1
- package/dist/chat/grounding.d.ts +8 -0
- package/dist/chat/grounding.d.ts.map +1 -0
- package/dist/chat/grounding.js +104 -0
- package/dist/chat/grounding.js.map +1 -0
- package/dist/chat/mutation-tool-defs.d.ts +19 -0
- package/dist/chat/mutation-tool-defs.d.ts.map +1 -0
- package/dist/chat/mutation-tool-defs.js +154 -0
- package/dist/chat/mutation-tool-defs.js.map +1 -0
- package/dist/chat/self-knowledge-mutation-tools.d.ts +5 -0
- package/dist/chat/self-knowledge-mutation-tools.d.ts.map +1 -0
- package/dist/chat/self-knowledge-mutation-tools.js +249 -0
- package/dist/chat/self-knowledge-mutation-tools.js.map +1 -0
- package/dist/chat/self-knowledge-tools.d.ts +22 -0
- package/dist/chat/self-knowledge-tools.d.ts.map +1 -0
- package/dist/chat/self-knowledge-tools.js +261 -0
- package/dist/chat/self-knowledge-tools.js.map +1 -0
- package/dist/cli/__tests__/cleanup-orphan-datasource.test.d.ts +2 -0
- package/dist/cli/__tests__/cleanup-orphan-datasource.test.d.ts.map +1 -0
- package/dist/cli/__tests__/cleanup-orphan-datasource.test.js +108 -0
- package/dist/cli/__tests__/cleanup-orphan-datasource.test.js.map +1 -0
- package/dist/cli/__tests__/cli-capability.test.d.ts +8 -0
- package/dist/cli/__tests__/cli-capability.test.d.ts.map +1 -0
- package/dist/cli/__tests__/cli-capability.test.js +208 -0
- package/dist/cli/__tests__/cli-capability.test.js.map +1 -0
- package/dist/cli/__tests__/cli-daemon-status.test.d.ts +2 -0
- package/dist/cli/__tests__/cli-daemon-status.test.d.ts.map +1 -0
- package/dist/cli/__tests__/cli-daemon-status.test.js +205 -0
- package/dist/cli/__tests__/cli-daemon-status.test.js.map +1 -0
- package/dist/cli/__tests__/cli-doctor.test.d.ts +2 -0
- package/dist/cli/__tests__/cli-doctor.test.d.ts.map +1 -0
- package/dist/cli/__tests__/cli-doctor.test.js +291 -0
- package/dist/cli/__tests__/cli-doctor.test.js.map +1 -0
- package/dist/cli/__tests__/cli-improve.test.d.ts +11 -0
- package/dist/cli/__tests__/cli-improve.test.d.ts.map +1 -0
- package/dist/cli/__tests__/cli-improve.test.js +592 -0
- package/dist/cli/__tests__/cli-improve.test.js.map +1 -0
- package/dist/cli/__tests__/cli-install.test.d.ts +2 -0
- package/dist/cli/__tests__/cli-install.test.d.ts.map +1 -0
- package/dist/cli/__tests__/cli-install.test.js +307 -0
- package/dist/cli/__tests__/cli-install.test.js.map +1 -0
- package/dist/cli/__tests__/cli-knowledge.test.d.ts +9 -0
- package/dist/cli/__tests__/cli-knowledge.test.d.ts.map +1 -0
- package/dist/cli/__tests__/cli-knowledge.test.js +295 -0
- package/dist/cli/__tests__/cli-knowledge.test.js.map +1 -0
- package/dist/cli/__tests__/cli-logs.test.d.ts +2 -0
- package/dist/cli/__tests__/cli-logs.test.d.ts.map +1 -0
- package/dist/cli/__tests__/cli-logs.test.js +204 -0
- package/dist/cli/__tests__/cli-logs.test.js.map +1 -0
- package/dist/cli/__tests__/cli-notify.test.d.ts +2 -0
- package/dist/cli/__tests__/cli-notify.test.d.ts.map +1 -0
- package/dist/cli/__tests__/cli-notify.test.js +208 -0
- package/dist/cli/__tests__/cli-notify.test.js.map +1 -0
- package/dist/cli/__tests__/cli-plugin.test.d.ts +8 -0
- package/dist/cli/__tests__/cli-plugin.test.d.ts.map +1 -0
- package/dist/cli/__tests__/cli-plugin.test.js +379 -0
- package/dist/cli/__tests__/cli-plugin.test.js.map +1 -0
- package/dist/cli/__tests__/cli-runner-datasource-auto.test.d.ts +9 -0
- package/dist/cli/__tests__/cli-runner-datasource-auto.test.d.ts.map +1 -0
- package/dist/cli/__tests__/cli-runner-datasource-auto.test.js +398 -0
- package/dist/cli/__tests__/cli-runner-datasource-auto.test.js.map +1 -0
- package/dist/cli/__tests__/cli-runner-integration.test.d.ts +13 -0
- package/dist/cli/__tests__/cli-runner-integration.test.d.ts.map +1 -0
- package/dist/cli/__tests__/cli-runner-integration.test.js +298 -0
- package/dist/cli/__tests__/cli-runner-integration.test.js.map +1 -0
- package/dist/cli/__tests__/cli-runner.test.d.ts +29 -0
- package/dist/cli/__tests__/cli-runner.test.d.ts.map +1 -0
- package/dist/cli/__tests__/cli-runner.test.js +928 -0
- package/dist/cli/__tests__/cli-runner.test.js.map +1 -0
- package/dist/cli/__tests__/cli-setup.test.d.ts +12 -0
- package/dist/cli/__tests__/cli-setup.test.d.ts.map +1 -0
- package/dist/cli/__tests__/cli-setup.test.js +200 -0
- package/dist/cli/__tests__/cli-setup.test.js.map +1 -0
- package/dist/cli/__tests__/datasource-dedup.test.d.ts +2 -0
- package/dist/cli/__tests__/datasource-dedup.test.d.ts.map +1 -0
- package/dist/cli/__tests__/datasource-dedup.test.js +133 -0
- package/dist/cli/__tests__/datasource-dedup.test.js.map +1 -0
- package/dist/cli/__tests__/goal-dispatch-infer.test.d.ts +11 -0
- package/dist/cli/__tests__/goal-dispatch-infer.test.d.ts.map +1 -0
- package/dist/cli/__tests__/goal-dispatch-infer.test.js +140 -0
- package/dist/cli/__tests__/goal-dispatch-infer.test.js.map +1 -0
- package/dist/cli/__tests__/goal-infer.test.d.ts +2 -0
- package/dist/cli/__tests__/goal-infer.test.d.ts.map +1 -0
- package/dist/cli/__tests__/goal-infer.test.js +94 -0
- package/dist/cli/__tests__/goal-infer.test.js.map +1 -0
- package/dist/cli/__tests__/goal-utils.test.d.ts +2 -0
- package/dist/cli/__tests__/goal-utils.test.d.ts.map +1 -0
- package/dist/cli/__tests__/goal-utils.test.js +123 -0
- package/dist/cli/__tests__/goal-utils.test.js.map +1 -0
- package/dist/cli/__tests__/suggest-normalizer.test.d.ts +2 -0
- package/dist/cli/__tests__/suggest-normalizer.test.d.ts.map +1 -0
- package/dist/cli/__tests__/suggest-normalizer.test.js +43 -0
- package/dist/cli/__tests__/suggest-normalizer.test.js.map +1 -0
- package/dist/cli/cli-command-registry 2.d.ts +16 -0
- package/dist/cli/cli-command-registry 2.d.ts.map +1 -0
- package/dist/cli/cli-command-registry 2.js +408 -0
- package/dist/cli/cli-command-registry 2.js.map +1 -0
- package/dist/cli/cli-command-registry.d.ts +16 -0
- package/dist/cli/cli-command-registry.d.ts.map +1 -0
- package/dist/cli/cli-command-registry.js +408 -0
- package/dist/cli/cli-command-registry.js.map +1 -0
- package/dist/cli/cli-logger.js +1 -1
- package/dist/cli/cli-logger.js.map +1 -1
- package/dist/cli/cli-runner.d.ts.map +1 -0
- package/dist/cli/cli-runner.js +122 -0
- package/dist/cli/cli-runner.js.map +1 -0
- package/dist/cli/commands/chat.d.ts +1 -1
- package/dist/cli/commands/chat.d.ts.map +1 -1
- package/dist/cli/commands/chat.js +2 -2
- package/dist/cli/commands/chat.js.map +1 -1
- package/dist/cli/commands/config.d.ts +1 -1
- package/dist/cli/commands/config.d.ts.map +1 -1
- package/dist/cli/commands/config.js +5 -5
- package/dist/cli/commands/config.js.map +1 -1
- package/dist/cli/commands/daemon.d.ts +1 -1
- package/dist/cli/commands/daemon.d.ts.map +1 -1
- package/dist/cli/commands/daemon.js +22 -2
- package/dist/cli/commands/daemon.js.map +1 -1
- package/dist/cli/commands/doctor.js +5 -5
- package/dist/cli/commands/doctor.js.map +1 -1
- package/dist/cli/commands/goal-dispatch.d.ts +1 -1
- package/dist/cli/commands/goal-dispatch.d.ts.map +1 -1
- package/dist/cli/commands/goal-dispatch.js +1 -1
- package/dist/cli/commands/goal-dispatch.js.map +1 -1
- package/dist/cli/commands/goal-infer.d.ts +1 -1
- package/dist/cli/commands/goal-infer.d.ts.map +1 -1
- package/dist/cli/commands/goal-raw.d.ts +1 -1
- package/dist/cli/commands/goal-raw.d.ts.map +1 -1
- package/dist/cli/commands/goal-read.d.ts +2 -2
- package/dist/cli/commands/goal-read.d.ts.map +1 -1
- package/dist/cli/commands/goal-read.js +3 -3
- package/dist/cli/commands/goal-read.js.map +1 -1
- package/dist/cli/commands/goal-utils.d.ts +1 -1
- package/dist/cli/commands/goal-utils.d.ts.map +1 -1
- package/dist/cli/commands/goal-utils.js +2 -2
- package/dist/cli/commands/goal-utils.js.map +1 -1
- package/dist/cli/commands/goal-write.d.ts +1 -1
- package/dist/cli/commands/goal-write.d.ts.map +1 -1
- package/dist/cli/commands/goal-write.js +2 -2
- package/dist/cli/commands/goal-write.js.map +1 -1
- package/dist/cli/commands/install.js +2 -2
- package/dist/cli/commands/install.js.map +1 -1
- package/dist/cli/commands/knowledge.d.ts +1 -1
- package/dist/cli/commands/knowledge.d.ts.map +1 -1
- package/dist/cli/commands/logs.js +1 -1
- package/dist/cli/commands/logs.js.map +1 -1
- package/dist/cli/commands/notify.js +2 -2
- package/dist/cli/commands/notify.js.map +1 -1
- package/dist/cli/commands/plugin.js +1 -1
- package/dist/cli/commands/plugin.js.map +1 -1
- package/dist/cli/commands/report.d.ts +1 -1
- package/dist/cli/commands/report.d.ts.map +1 -1
- package/dist/cli/commands/report.js +1 -1
- package/dist/cli/commands/report.js.map +1 -1
- package/dist/cli/commands/run.d.ts +3 -3
- package/dist/cli/commands/run.d.ts.map +1 -1
- package/dist/cli/commands/run.js.map +1 -1
- package/dist/cli/commands/setup.js +2 -2
- package/dist/cli/commands/setup.js.map +1 -1
- package/dist/cli/commands/suggest.d.ts +1 -1
- package/dist/cli/commands/suggest.d.ts.map +1 -1
- package/dist/cli/commands/suggest.js +2 -2
- package/dist/cli/commands/suggest.js.map +1 -1
- package/dist/cli/commands/task-read.d.ts +1 -1
- package/dist/cli/commands/task-read.d.ts.map +1 -1
- package/dist/cli/commands/telegram.d.ts +2 -0
- package/dist/cli/commands/telegram.d.ts.map +1 -0
- package/dist/cli/commands/telegram.js +155 -0
- package/dist/cli/commands/telegram.js.map +1 -0
- package/dist/cli/ensure-api-key.d.ts +1 -1
- package/dist/cli/ensure-api-key.d.ts.map +1 -1
- package/dist/cli/ensure-api-key.js +2 -2
- package/dist/cli/ensure-api-key.js.map +1 -1
- package/dist/cli/setup.d.ts +5 -5
- package/dist/cli/setup.d.ts.map +1 -1
- package/dist/cli/setup.js +10 -10
- package/dist/cli/setup.js.map +1 -1
- package/dist/cli/utils/loop-runner.d.ts +1 -1
- package/dist/cli/utils/loop-runner.d.ts.map +1 -1
- package/dist/cli/utils/loop-runner.js +1 -1
- package/dist/cli/utils/loop-runner.js.map +1 -1
- package/dist/cli/utils.d.ts.map +1 -1
- package/dist/cli/utils.js +1 -0
- package/dist/cli/utils.js.map +1 -1
- package/dist/drive/__tests__/drive-scorer.test.d.ts +2 -0
- package/dist/drive/__tests__/drive-scorer.test.d.ts.map +1 -0
- package/dist/drive/__tests__/drive-scorer.test.js +507 -0
- package/dist/drive/__tests__/drive-scorer.test.js.map +1 -0
- package/dist/drive/__tests__/drive-system.test.d.ts +2 -0
- package/dist/drive/__tests__/drive-system.test.d.ts.map +1 -0
- package/dist/drive/__tests__/drive-system.test.js +456 -0
- package/dist/drive/__tests__/drive-system.test.js.map +1 -0
- package/dist/drive/__tests__/example.test.d.ts +2 -0
- package/dist/drive/__tests__/example.test.d.ts.map +1 -0
- package/dist/drive/__tests__/example.test.js +314 -0
- package/dist/drive/__tests__/example.test.js.map +1 -0
- package/dist/drive/__tests__/gap-calculator.test.d.ts +2 -0
- package/dist/drive/__tests__/gap-calculator.test.d.ts.map +1 -0
- package/dist/drive/__tests__/gap-calculator.test.js +619 -0
- package/dist/drive/__tests__/gap-calculator.test.js.map +1 -0
- package/dist/drive/__tests__/progress-predictor.test.d.ts +2 -0
- package/dist/drive/__tests__/progress-predictor.test.d.ts.map +1 -0
- package/dist/drive/__tests__/progress-predictor.test.js +142 -0
- package/dist/drive/__tests__/progress-predictor.test.js.map +1 -0
- package/dist/drive/__tests__/reward-log.test.d.ts +2 -0
- package/dist/drive/__tests__/reward-log.test.d.ts.map +1 -0
- package/dist/drive/__tests__/reward-log.test.js +177 -0
- package/dist/drive/__tests__/reward-log.test.js.map +1 -0
- package/dist/drive/__tests__/satisficing-judge-convergence.test.d.ts +2 -0
- package/dist/drive/__tests__/satisficing-judge-convergence.test.d.ts.map +1 -0
- package/dist/drive/__tests__/satisficing-judge-convergence.test.js +159 -0
- package/dist/drive/__tests__/satisficing-judge-convergence.test.js.map +1 -0
- package/dist/drive/__tests__/satisficing-judge-dimension-satisfied.test.d.ts +2 -0
- package/dist/drive/__tests__/satisficing-judge-dimension-satisfied.test.d.ts.map +1 -0
- package/dist/drive/__tests__/satisficing-judge-dimension-satisfied.test.js +261 -0
- package/dist/drive/__tests__/satisficing-judge-dimension-satisfied.test.js.map +1 -0
- package/dist/drive/__tests__/satisficing-judge-double-confirm.test.d.ts +2 -0
- package/dist/drive/__tests__/satisficing-judge-double-confirm.test.d.ts.map +1 -0
- package/dist/drive/__tests__/satisficing-judge-double-confirm.test.js +207 -0
- package/dist/drive/__tests__/satisficing-judge-double-confirm.test.js.map +1 -0
- package/dist/drive/__tests__/satisficing-judge-goal-complete.test.d.ts +2 -0
- package/dist/drive/__tests__/satisficing-judge-goal-complete.test.d.ts.map +1 -0
- package/dist/drive/__tests__/satisficing-judge-goal-complete.test.js +359 -0
- package/dist/drive/__tests__/satisficing-judge-goal-complete.test.js.map +1 -0
- package/dist/drive/__tests__/satisficing-judge-propagation-phase2.test.d.ts +2 -0
- package/dist/drive/__tests__/satisficing-judge-propagation-phase2.test.d.ts.map +1 -0
- package/dist/drive/__tests__/satisficing-judge-propagation-phase2.test.js +461 -0
- package/dist/drive/__tests__/satisficing-judge-propagation-phase2.test.js.map +1 -0
- package/dist/drive/__tests__/satisficing-judge-threshold-propagation.test.d.ts +2 -0
- package/dist/drive/__tests__/satisficing-judge-threshold-propagation.test.d.ts.map +1 -0
- package/dist/drive/__tests__/satisficing-judge-threshold-propagation.test.js +337 -0
- package/dist/drive/__tests__/satisficing-judge-threshold-propagation.test.js.map +1 -0
- package/dist/drive/__tests__/satisficing-judge-tree-convergence.test.d.ts +2 -0
- package/dist/drive/__tests__/satisficing-judge-tree-convergence.test.d.ts.map +1 -0
- package/dist/drive/__tests__/satisficing-judge-tree-convergence.test.js +109 -0
- package/dist/drive/__tests__/satisficing-judge-tree-convergence.test.js.map +1 -0
- package/dist/drive/__tests__/satisficing-judge-undershoot.test.d.ts +2 -0
- package/dist/drive/__tests__/satisficing-judge-undershoot.test.d.ts.map +1 -0
- package/dist/drive/__tests__/satisficing-judge-undershoot.test.js +221 -0
- package/dist/drive/__tests__/satisficing-judge-undershoot.test.js.map +1 -0
- package/dist/drive/__tests__/stall-detector-analysis.test.d.ts +12 -0
- package/dist/drive/__tests__/stall-detector-analysis.test.d.ts.map +1 -0
- package/dist/drive/__tests__/stall-detector-analysis.test.js +139 -0
- package/dist/drive/__tests__/stall-detector-analysis.test.js.map +1 -0
- package/dist/drive/__tests__/stall-detector-repetitive.test.d.ts +2 -0
- package/dist/drive/__tests__/stall-detector-repetitive.test.d.ts.map +1 -0
- package/dist/drive/__tests__/stall-detector-repetitive.test.js +84 -0
- package/dist/drive/__tests__/stall-detector-repetitive.test.js.map +1 -0
- package/dist/drive/__tests__/stall-detector.test.d.ts +2 -0
- package/dist/drive/__tests__/stall-detector.test.d.ts.map +1 -0
- package/dist/drive/__tests__/stall-detector.test.js +903 -0
- package/dist/drive/__tests__/stall-detector.test.js.map +1 -0
- package/dist/drive/drive-system.d.ts +1 -1
- package/dist/drive/drive-system.d.ts.map +1 -1
- package/dist/drive/drive-system.js +1 -1
- package/dist/drive/drive-system.js.map +1 -1
- package/dist/drive/satisficing-judge.d.ts +1 -1
- package/dist/drive/satisficing-judge.d.ts.map +1 -1
- package/dist/drive/satisficing-propagation.d.ts +1 -1
- package/dist/drive/satisficing-propagation.d.ts.map +1 -1
- package/dist/drive/stall-detector.d.ts +20 -1
- package/dist/drive/stall-detector.d.ts.map +1 -1
- package/dist/drive/stall-detector.js +75 -0
- package/dist/drive/stall-detector.js.map +1 -1
- package/dist/drive/types/drive.d.ts +194 -0
- package/dist/drive/types/drive.d.ts.map +1 -0
- package/dist/drive/types/drive.js +77 -0
- package/dist/drive/types/drive.js.map +1 -0
- package/dist/drive/types/gap.d.ts +147 -0
- package/dist/drive/types/gap.d.ts.map +1 -0
- package/dist/drive/types/gap.js +41 -0
- package/dist/drive/types/gap.js.map +1 -0
- package/dist/drive/types/satisficing.d.ts +130 -0
- package/dist/drive/types/satisficing.d.ts.map +1 -0
- package/dist/drive/types/satisficing.js +54 -0
- package/dist/drive/types/satisficing.js.map +1 -0
- package/dist/drive/types/stall.d.ts +68 -0
- package/dist/drive/types/stall.d.ts.map +1 -0
- package/dist/drive/types/stall.js +28 -0
- package/dist/drive/types/stall.js.map +1 -0
- package/dist/execution/__tests__/adapter-layer.test.d.ts +2 -0
- package/dist/execution/__tests__/adapter-layer.test.d.ts.map +1 -0
- package/dist/execution/__tests__/adapter-layer.test.js +88 -0
- package/dist/execution/__tests__/adapter-layer.test.js.map +1 -0
- package/dist/execution/__tests__/checkpoint-manager.test.d.ts +2 -0
- package/dist/execution/__tests__/checkpoint-manager.test.d.ts.map +1 -0
- package/dist/execution/__tests__/checkpoint-manager.test.js +304 -0
- package/dist/execution/__tests__/checkpoint-manager.test.js.map +1 -0
- package/dist/execution/__tests__/completion-judger-timeout.test.d.ts +11 -0
- package/dist/execution/__tests__/completion-judger-timeout.test.d.ts.map +1 -0
- package/dist/execution/__tests__/completion-judger-timeout.test.js +260 -0
- package/dist/execution/__tests__/completion-judger-timeout.test.js.map +1 -0
- package/dist/execution/__tests__/context-budget.test.d.ts +2 -0
- package/dist/execution/__tests__/context-budget.test.d.ts.map +1 -0
- package/dist/execution/__tests__/context-budget.test.js +218 -0
- package/dist/execution/__tests__/context-budget.test.js.map +1 -0
- package/dist/execution/__tests__/duplicate-task-guard.test.d.ts +2 -0
- package/dist/execution/__tests__/duplicate-task-guard.test.d.ts.map +1 -0
- package/dist/execution/__tests__/duplicate-task-guard.test.js +187 -0
- package/dist/execution/__tests__/duplicate-task-guard.test.js.map +1 -0
- package/dist/execution/__tests__/failure-context-injection.test.d.ts +2 -0
- package/dist/execution/__tests__/failure-context-injection.test.d.ts.map +1 -0
- package/dist/execution/__tests__/failure-context-injection.test.js +227 -0
- package/dist/execution/__tests__/failure-context-injection.test.js.map +1 -0
- package/dist/execution/__tests__/impact-analyzer.test.d.ts +2 -0
- package/dist/execution/__tests__/impact-analyzer.test.d.ts.map +1 -0
- package/dist/execution/__tests__/impact-analyzer.test.js +117 -0
- package/dist/execution/__tests__/impact-analyzer.test.js.map +1 -0
- package/dist/execution/__tests__/issue-context-fetcher.test.d.ts +2 -0
- package/dist/execution/__tests__/issue-context-fetcher.test.d.ts.map +1 -0
- package/dist/execution/__tests__/issue-context-fetcher.test.js +151 -0
- package/dist/execution/__tests__/issue-context-fetcher.test.js.map +1 -0
- package/dist/execution/__tests__/parallel-executor.test.d.ts +2 -0
- package/dist/execution/__tests__/parallel-executor.test.d.ts.map +1 -0
- package/dist/execution/__tests__/parallel-executor.test.js +313 -0
- package/dist/execution/__tests__/parallel-executor.test.js.map +1 -0
- package/dist/execution/__tests__/pipeline-executor.test.d.ts +2 -0
- package/dist/execution/__tests__/pipeline-executor.test.d.ts.map +1 -0
- package/dist/execution/__tests__/pipeline-executor.test.js +322 -0
- package/dist/execution/__tests__/pipeline-executor.test.js.map +1 -0
- package/dist/execution/__tests__/reflection-generator.test.d.ts +2 -0
- package/dist/execution/__tests__/reflection-generator.test.d.ts.map +1 -0
- package/dist/execution/__tests__/reflection-generator.test.js +422 -0
- package/dist/execution/__tests__/reflection-generator.test.js.map +1 -0
- package/dist/execution/__tests__/result-reconciler.test.d.ts +2 -0
- package/dist/execution/__tests__/result-reconciler.test.d.ts.map +1 -0
- package/dist/execution/__tests__/result-reconciler.test.js +112 -0
- package/dist/execution/__tests__/result-reconciler.test.js.map +1 -0
- package/dist/execution/__tests__/session-manager-phase2.test.d.ts +2 -0
- package/dist/execution/__tests__/session-manager-phase2.test.d.ts.map +1 -0
- package/dist/execution/__tests__/session-manager-phase2.test.js +381 -0
- package/dist/execution/__tests__/session-manager-phase2.test.js.map +1 -0
- package/dist/execution/__tests__/session-manager.test.d.ts +2 -0
- package/dist/execution/__tests__/session-manager.test.d.ts.map +1 -0
- package/dist/execution/__tests__/session-manager.test.js +653 -0
- package/dist/execution/__tests__/session-manager.test.js.map +1 -0
- package/dist/execution/__tests__/task-generation-group.test.d.ts +2 -0
- package/dist/execution/__tests__/task-generation-group.test.d.ts.map +1 -0
- package/dist/execution/__tests__/task-generation-group.test.js +157 -0
- package/dist/execution/__tests__/task-generation-group.test.js.map +1 -0
- package/dist/execution/__tests__/task-lifecycle-cycle.test.d.ts +2 -0
- package/dist/execution/__tests__/task-lifecycle-cycle.test.d.ts.map +1 -0
- package/dist/execution/__tests__/task-lifecycle-cycle.test.js +685 -0
- package/dist/execution/__tests__/task-lifecycle-cycle.test.js.map +1 -0
- package/dist/execution/__tests__/task-lifecycle-dimension.test.d.ts +2 -0
- package/dist/execution/__tests__/task-lifecycle-dimension.test.d.ts.map +1 -0
- package/dist/execution/__tests__/task-lifecycle-dimension.test.js +325 -0
- package/dist/execution/__tests__/task-lifecycle-dimension.test.js.map +1 -0
- package/dist/execution/__tests__/task-lifecycle-ethics.test.d.ts +2 -0
- package/dist/execution/__tests__/task-lifecycle-ethics.test.d.ts.map +1 -0
- package/dist/execution/__tests__/task-lifecycle-ethics.test.js +732 -0
- package/dist/execution/__tests__/task-lifecycle-ethics.test.js.map +1 -0
- package/dist/execution/__tests__/task-lifecycle-execution.test.d.ts +2 -0
- package/dist/execution/__tests__/task-lifecycle-execution.test.d.ts.map +1 -0
- package/dist/execution/__tests__/task-lifecycle-execution.test.js +441 -0
- package/dist/execution/__tests__/task-lifecycle-execution.test.js.map +1 -0
- package/dist/execution/__tests__/task-lifecycle-generation.test.d.ts +2 -0
- package/dist/execution/__tests__/task-lifecycle-generation.test.d.ts.map +1 -0
- package/dist/execution/__tests__/task-lifecycle-generation.test.js +457 -0
- package/dist/execution/__tests__/task-lifecycle-generation.test.js.map +1 -0
- package/dist/execution/__tests__/task-lifecycle-healthcheck.test.d.ts +2 -0
- package/dist/execution/__tests__/task-lifecycle-healthcheck.test.d.ts.map +1 -0
- package/dist/execution/__tests__/task-lifecycle-healthcheck.test.js +325 -0
- package/dist/execution/__tests__/task-lifecycle-healthcheck.test.js.map +1 -0
- package/dist/execution/__tests__/task-lifecycle-verdict.test.d.ts +2 -0
- package/dist/execution/__tests__/task-lifecycle-verdict.test.d.ts.map +1 -0
- package/dist/execution/__tests__/task-lifecycle-verdict.test.js +683 -0
- package/dist/execution/__tests__/task-lifecycle-verdict.test.js.map +1 -0
- package/dist/execution/__tests__/task-lifecycle-verification.test.d.ts +2 -0
- package/dist/execution/__tests__/task-lifecycle-verification.test.d.ts.map +1 -0
- package/dist/execution/__tests__/task-lifecycle-verification.test.js +526 -0
- package/dist/execution/__tests__/task-lifecycle-verification.test.js.map +1 -0
- package/dist/execution/__tests__/task-lifecycle.test.d.ts +2 -0
- package/dist/execution/__tests__/task-lifecycle.test.d.ts.map +1 -0
- package/dist/execution/__tests__/task-lifecycle.test.js +503 -0
- package/dist/execution/__tests__/task-lifecycle.test.js.map +1 -0
- package/dist/execution/__tests__/task-prompt-builder.test.d.ts +2 -0
- package/dist/execution/__tests__/task-prompt-builder.test.d.ts.map +1 -0
- package/dist/execution/__tests__/task-prompt-builder.test.js +148 -0
- package/dist/execution/__tests__/task-prompt-builder.test.js.map +1 -0
- package/dist/execution/__tests__/task-verifier-guards.test.d.ts +2 -0
- package/dist/execution/__tests__/task-verifier-guards.test.d.ts.map +1 -0
- package/dist/execution/__tests__/task-verifier-guards.test.js +735 -0
- package/dist/execution/__tests__/task-verifier-guards.test.js.map +1 -0
- package/dist/execution/__tests__/task-verifier.test.d.ts +2 -0
- package/dist/execution/__tests__/task-verifier.test.d.ts.map +1 -0
- package/dist/execution/__tests__/task-verifier.test.js +113 -0
- package/dist/execution/__tests__/task-verifier.test.js.map +1 -0
- package/dist/execution/__tests__/toolset-lock.test.d.ts +2 -0
- package/dist/execution/__tests__/toolset-lock.test.d.ts.map +1 -0
- package/dist/execution/__tests__/toolset-lock.test.js +204 -0
- package/dist/execution/__tests__/toolset-lock.test.js.map +1 -0
- package/dist/execution/adapter-layer.d.ts +2 -0
- package/dist/execution/adapter-layer.d.ts.map +1 -1
- package/dist/execution/adapter-layer.js +1 -1
- package/dist/execution/adapter-layer.js.map +1 -1
- package/dist/execution/checkpoint-manager.d.ts +1 -1
- package/dist/execution/checkpoint-manager.d.ts.map +1 -1
- package/dist/execution/context/context-budget.d.ts +35 -0
- package/dist/execution/context/context-budget.d.ts.map +1 -0
- package/dist/execution/context/context-budget.js.map +1 -0
- package/dist/execution/context/context-builder.d.ts +44 -0
- package/dist/execution/context/context-builder.d.ts.map +1 -0
- package/dist/execution/context/context-builder.js +132 -0
- package/dist/execution/context/context-builder.js.map +1 -0
- package/dist/execution/context/dimension-selector.d.ts +16 -0
- package/dist/execution/context/dimension-selector.d.ts.map +1 -0
- package/dist/execution/context/dimension-selector.js +57 -0
- package/dist/execution/context/dimension-selector.js.map +1 -0
- package/dist/execution/context/issue-context-fetcher.d.ts.map +1 -0
- package/dist/execution/context/issue-context-fetcher.js +73 -0
- package/dist/execution/context/issue-context-fetcher.js.map +1 -0
- package/dist/execution/impact-analyzer.d.ts +1 -1
- package/dist/execution/impact-analyzer.d.ts.map +1 -1
- package/dist/execution/parallel-executor.d.ts +1 -1
- package/dist/execution/parallel-executor.d.ts.map +1 -1
- package/dist/execution/parallel-executor.js +1 -1
- package/dist/execution/parallel-executor.js.map +1 -1
- package/dist/execution/pipeline-executor.d.ts +1 -1
- package/dist/execution/pipeline-executor.d.ts.map +1 -1
- package/dist/execution/reflection-generator.d.ts +1 -1
- package/dist/execution/reflection-generator.d.ts.map +1 -1
- package/dist/execution/reflection-generator.js +1 -1
- package/dist/execution/reflection-generator.js.map +1 -1
- package/dist/execution/result-reconciler.d.ts +1 -1
- package/dist/execution/result-reconciler.d.ts.map +1 -1
- package/dist/execution/session-manager.d.ts +2 -2
- package/dist/execution/session-manager.d.ts.map +1 -1
- package/dist/execution/session-manager.js +1 -1
- package/dist/execution/session-manager.js.map +1 -1
- package/dist/execution/task/task-approval-check.d.ts +9 -0
- package/dist/execution/task/task-approval-check.d.ts.map +1 -0
- package/dist/execution/task/task-approval-check.js.map +1 -0
- package/dist/execution/task/task-approval.d.ts +22 -0
- package/dist/execution/task/task-approval.d.ts.map +1 -0
- package/dist/execution/task/task-approval.js +147 -0
- package/dist/execution/task/task-approval.js.map +1 -0
- package/dist/execution/task/task-execution-types.d.ts +18 -0
- package/dist/execution/task/task-execution-types.d.ts.map +1 -0
- package/dist/execution/task/task-execution-types.js +10 -0
- package/dist/execution/task/task-execution-types.js.map +1 -0
- package/dist/execution/task/task-executor.d.ts +31 -0
- package/dist/execution/task/task-executor.d.ts.map +1 -0
- package/dist/execution/task/task-executor.js +221 -0
- package/dist/execution/task/task-executor.js.map +1 -0
- package/dist/execution/task/task-generation.d.ts +154 -0
- package/dist/execution/task/task-generation.d.ts.map +1 -0
- package/dist/execution/task/task-generation.js +416 -0
- package/dist/execution/task/task-generation.js.map +1 -0
- package/dist/execution/task/task-health-check.d.ts.map +1 -0
- package/dist/execution/task/task-health-check.js.map +1 -0
- package/dist/execution/task/task-lifecycle.d.ts +126 -0
- package/dist/execution/task/task-lifecycle.d.ts.map +1 -0
- package/dist/execution/task/task-lifecycle.js +313 -0
- package/dist/execution/task/task-lifecycle.js.map +1 -0
- package/dist/execution/task/task-pipeline-cycle.d.ts +45 -0
- package/dist/execution/task/task-pipeline-cycle.d.ts.map +1 -0
- package/dist/execution/task/task-pipeline-cycle.js +132 -0
- package/dist/execution/task/task-pipeline-cycle.js.map +1 -0
- package/dist/execution/task/task-prompt-builder.d.ts +9 -0
- package/dist/execution/task/task-prompt-builder.d.ts.map +1 -0
- package/dist/execution/task/task-prompt-builder.js +197 -0
- package/dist/execution/task/task-prompt-builder.js.map +1 -0
- package/dist/execution/task/task-verifier-llm 2.d.ts +24 -0
- package/dist/execution/task/task-verifier-llm 2.d.ts.map +1 -0
- package/dist/execution/task/task-verifier-llm 2.js +160 -0
- package/dist/execution/task/task-verifier-llm 2.js.map +1 -0
- package/dist/execution/task/task-verifier-llm.d.ts +24 -0
- package/dist/execution/task/task-verifier-llm.d.ts.map +1 -0
- package/dist/execution/task/task-verifier-llm.js +160 -0
- package/dist/execution/task/task-verifier-llm.js.map +1 -0
- package/dist/execution/task/task-verifier-rules 2.d.ts +31 -0
- package/dist/execution/task/task-verifier-rules 2.d.ts.map +1 -0
- package/dist/execution/task/task-verifier-rules 2.js +207 -0
- package/dist/execution/task/task-verifier-rules 2.js.map +1 -0
- package/dist/execution/task/task-verifier-rules.d.ts +31 -0
- package/dist/execution/task/task-verifier-rules.d.ts.map +1 -0
- package/dist/execution/task/task-verifier-rules.js +207 -0
- package/dist/execution/task/task-verifier-rules.js.map +1 -0
- package/dist/execution/task/task-verifier-types 2.d.ts +78 -0
- package/dist/execution/task/task-verifier-types 2.d.ts.map +1 -0
- package/dist/execution/task/task-verifier-types 2.js +9 -0
- package/dist/execution/task/task-verifier-types 2.js.map +1 -0
- package/dist/execution/task/task-verifier-types.d.ts +78 -0
- package/dist/execution/task/task-verifier-types.d.ts.map +1 -0
- package/dist/execution/task/task-verifier-types.js +9 -0
- package/dist/execution/task/task-verifier-types.js.map +1 -0
- package/dist/execution/task/task-verifier.d.ts +48 -0
- package/dist/execution/task/task-verifier.d.ts.map +1 -0
- package/dist/execution/task/task-verifier.js +463 -0
- package/dist/execution/task/task-verifier.js.map +1 -0
- package/dist/execution/types/checkpoint.d.ts +133 -0
- package/dist/execution/types/checkpoint.d.ts.map +1 -0
- package/dist/execution/types/checkpoint.js +38 -0
- package/dist/execution/types/checkpoint.js.map +1 -0
- package/dist/execution/types/pipeline.d.ts +191 -0
- package/dist/execution/types/pipeline.d.ts.map +1 -0
- package/dist/execution/types/pipeline.js +62 -0
- package/dist/execution/types/pipeline.js.map +1 -0
- package/dist/execution/types/session.d.ts +95 -0
- package/dist/execution/types/session.d.ts.map +1 -0
- package/dist/execution/types/session.js +37 -0
- package/dist/execution/types/session.js.map +1 -0
- package/dist/execution/types/task-group.d.ts +246 -0
- package/dist/execution/types/task-group.d.ts.map +1 -0
- package/dist/execution/types/task-group.js +14 -0
- package/dist/execution/types/task-group.js.map +1 -0
- package/dist/execution/types/task.d.ts +267 -0
- package/dist/execution/types/task.d.ts.map +1 -0
- package/dist/execution/types/task.js +70 -0
- package/dist/execution/types/task.js.map +1 -0
- package/dist/goal/__tests__/goal-cli-refine.test.d.ts +8 -0
- package/dist/goal/__tests__/goal-cli-refine.test.d.ts.map +1 -0
- package/dist/goal/__tests__/goal-cli-refine.test.js +237 -0
- package/dist/goal/__tests__/goal-cli-refine.test.js.map +1 -0
- package/dist/goal/__tests__/goal-dependency-graph.test.d.ts +2 -0
- package/dist/goal/__tests__/goal-dependency-graph.test.d.ts.map +1 -0
- package/dist/goal/__tests__/goal-dependency-graph.test.js +352 -0
- package/dist/goal/__tests__/goal-dependency-graph.test.js.map +1 -0
- package/dist/goal/__tests__/goal-negotiator-character.test.d.ts +2 -0
- package/dist/goal/__tests__/goal-negotiator-character.test.d.ts.map +1 -0
- package/dist/goal/__tests__/goal-negotiator-character.test.js +650 -0
- package/dist/goal/__tests__/goal-negotiator-character.test.js.map +1 -0
- package/dist/goal/__tests__/goal-negotiator-core.test.d.ts +2 -0
- package/dist/goal/__tests__/goal-negotiator-core.test.d.ts.map +1 -0
- package/dist/goal/__tests__/goal-negotiator-core.test.js +370 -0
- package/dist/goal/__tests__/goal-negotiator-core.test.js.map +1 -0
- package/dist/goal/__tests__/goal-negotiator-decompose.test.d.ts +2 -0
- package/dist/goal/__tests__/goal-negotiator-decompose.test.d.ts.map +1 -0
- package/dist/goal/__tests__/goal-negotiator-decompose.test.js +876 -0
- package/dist/goal/__tests__/goal-negotiator-decompose.test.js.map +1 -0
- package/dist/goal/__tests__/goal-negotiator-negotiate.test.d.ts +2 -0
- package/dist/goal/__tests__/goal-negotiator-negotiate.test.d.ts.map +1 -0
- package/dist/goal/__tests__/goal-negotiator-negotiate.test.js +411 -0
- package/dist/goal/__tests__/goal-negotiator-negotiate.test.js.map +1 -0
- package/dist/goal/__tests__/goal-negotiator-suggest-filter.test.d.ts +2 -0
- package/dist/goal/__tests__/goal-negotiator-suggest-filter.test.d.ts.map +1 -0
- package/dist/goal/__tests__/goal-negotiator-suggest-filter.test.js +258 -0
- package/dist/goal/__tests__/goal-negotiator-suggest-filter.test.js.map +1 -0
- package/dist/goal/__tests__/goal-negotiator-suggest.test.d.ts +2 -0
- package/dist/goal/__tests__/goal-negotiator-suggest.test.d.ts.map +1 -0
- package/dist/goal/__tests__/goal-negotiator-suggest.test.js +280 -0
- package/dist/goal/__tests__/goal-negotiator-suggest.test.js.map +1 -0
- package/dist/goal/__tests__/goal-refiner.refine.test.d.ts +2 -0
- package/dist/goal/__tests__/goal-refiner.refine.test.d.ts.map +1 -0
- package/dist/goal/__tests__/goal-refiner.refine.test.js +291 -0
- package/dist/goal/__tests__/goal-refiner.refine.test.js.map +1 -0
- package/dist/goal/__tests__/goal-refiner.test.d.ts +2 -0
- package/dist/goal/__tests__/goal-refiner.test.d.ts.map +1 -0
- package/dist/goal/__tests__/goal-refiner.test.js +509 -0
- package/dist/goal/__tests__/goal-refiner.test.js.map +1 -0
- package/dist/goal/__tests__/goal-suggest-timeout.test.d.ts +10 -0
- package/dist/goal/__tests__/goal-suggest-timeout.test.d.ts.map +1 -0
- package/dist/goal/__tests__/goal-suggest-timeout.test.js +63 -0
- package/dist/goal/__tests__/goal-suggest-timeout.test.js.map +1 -0
- package/dist/goal/__tests__/goal-tree-concreteness.test.d.ts +2 -0
- package/dist/goal/__tests__/goal-tree-concreteness.test.d.ts.map +1 -0
- package/dist/goal/__tests__/goal-tree-concreteness.test.js +391 -0
- package/dist/goal/__tests__/goal-tree-concreteness.test.js.map +1 -0
- package/dist/goal/__tests__/goal-tree-manager.test.d.ts +2 -0
- package/dist/goal/__tests__/goal-tree-manager.test.d.ts.map +1 -0
- package/dist/goal/__tests__/goal-tree-manager.test.js +828 -0
- package/dist/goal/__tests__/goal-tree-manager.test.js.map +1 -0
- package/dist/goal/__tests__/goal-tree-quality.test.d.ts +2 -0
- package/dist/goal/__tests__/goal-tree-quality.test.d.ts.map +1 -0
- package/dist/goal/__tests__/goal-tree-quality.test.js +150 -0
- package/dist/goal/__tests__/goal-tree-quality.test.js.map +1 -0
- package/dist/goal/__tests__/goalNegotiator.test.d.ts +2 -0
- package/dist/goal/__tests__/goalNegotiator.test.d.ts.map +1 -0
- package/dist/goal/__tests__/goalNegotiator.test.js +418 -0
- package/dist/goal/__tests__/goalNegotiator.test.js.map +1 -0
- package/dist/goal/__tests__/negotiate-context.test.d.ts +2 -0
- package/dist/goal/__tests__/negotiate-context.test.d.ts.map +1 -0
- package/dist/goal/__tests__/negotiate-context.test.js +192 -0
- package/dist/goal/__tests__/negotiate-context.test.js.map +1 -0
- package/dist/goal/__tests__/refine.test.d.ts +2 -0
- package/dist/goal/__tests__/refine.test.d.ts.map +1 -0
- package/dist/goal/__tests__/refine.test.js +354 -0
- package/dist/goal/__tests__/refine.test.js.map +1 -0
- package/dist/goal/__tests__/refiner-prompts.test.d.ts +2 -0
- package/dist/goal/__tests__/refiner-prompts.test.d.ts.map +1 -0
- package/dist/goal/__tests__/refiner-prompts.test.js +92 -0
- package/dist/goal/__tests__/refiner-prompts.test.js.map +1 -0
- package/dist/goal/__tests__/state-aggregator.test.d.ts +2 -0
- package/dist/goal/__tests__/state-aggregator.test.d.ts.map +1 -0
- package/dist/goal/__tests__/state-aggregator.test.js +840 -0
- package/dist/goal/__tests__/state-aggregator.test.js.map +1 -0
- package/dist/goal/__tests__/subgoal-curriculum.test.d.ts +2 -0
- package/dist/goal/__tests__/subgoal-curriculum.test.d.ts.map +1 -0
- package/dist/goal/__tests__/subgoal-curriculum.test.js +219 -0
- package/dist/goal/__tests__/subgoal-curriculum.test.js.map +1 -0
- package/dist/goal/__tests__/tree-loop-orchestrator.test.d.ts +2 -0
- package/dist/goal/__tests__/tree-loop-orchestrator.test.d.ts.map +1 -0
- package/dist/goal/__tests__/tree-loop-orchestrator.test.js +1078 -0
- package/dist/goal/__tests__/tree-loop-orchestrator.test.js.map +1 -0
- package/dist/goal/goal-decomposer.d.ts +2 -2
- package/dist/goal/goal-decomposer.d.ts.map +1 -1
- package/dist/goal/goal-dependency-graph.d.ts +2 -2
- package/dist/goal/goal-dependency-graph.d.ts.map +1 -1
- package/dist/goal/goal-dependency-graph.js +1 -1
- package/dist/goal/goal-dependency-graph.js.map +1 -1
- package/dist/goal/goal-negotiator.d.ts +2 -2
- package/dist/goal/goal-negotiator.d.ts.map +1 -1
- package/dist/goal/goal-refiner.d.ts +2 -2
- package/dist/goal/goal-refiner.d.ts.map +1 -1
- package/dist/goal/goal-suggest.d.ts +9 -9
- package/dist/goal/goal-suggest.d.ts.map +1 -1
- package/dist/goal/goal-tree-manager.d.ts +2 -2
- package/dist/goal/goal-tree-manager.d.ts.map +1 -1
- package/dist/goal/goal-tree-pruner.d.ts +1 -1
- package/dist/goal/goal-tree-pruner.d.ts.map +1 -1
- package/dist/goal/goal-tree-quality.d.ts +1 -1
- package/dist/goal/goal-tree-quality.d.ts.map +1 -1
- package/dist/goal/negotiator-steps.d.ts +1 -1
- package/dist/goal/negotiator-steps.d.ts.map +1 -1
- package/dist/goal/refiner-prompts.d.ts +1 -1
- package/dist/goal/refiner-prompts.d.ts.map +1 -1
- package/dist/goal/refiner-prompts.js +1 -1
- package/dist/goal/refiner-prompts.js.map +1 -1
- package/dist/goal/state-aggregator.d.ts +1 -1
- package/dist/goal/state-aggregator.d.ts.map +1 -1
- package/dist/goal/state-aggregator.js +1 -1
- package/dist/goal/state-aggregator.js.map +1 -1
- package/dist/goal/tree-loop-orchestrator.d.ts +1 -1
- package/dist/goal/tree-loop-orchestrator.d.ts.map +1 -1
- package/dist/goal/types/dependency.d.ts +108 -0
- package/dist/goal/types/dependency.d.ts.map +1 -0
- package/dist/goal/types/dependency.js +21 -0
- package/dist/goal/types/dependency.js.map +1 -0
- package/dist/goal/types/goal-refiner.d.ts +108 -0
- package/dist/goal/types/goal-refiner.d.ts.map +1 -0
- package/dist/goal/types/goal-refiner.js +39 -0
- package/dist/goal/types/goal-refiner.js.map +1 -0
- package/dist/goal/types/goal-tree.d.ts +180 -0
- package/dist/goal/types/goal-tree.d.ts.map +1 -0
- package/dist/goal/types/goal-tree.js +73 -0
- package/dist/goal/types/goal-tree.js.map +1 -0
- package/dist/goal/types/goal.d.ts +1342 -0
- package/dist/goal/types/goal.d.ts.map +1 -0
- package/dist/goal/types/goal.js +141 -0
- package/dist/goal/types/goal.js.map +1 -0
- package/dist/goal/types/negotiation.d.ts +450 -0
- package/dist/goal/types/negotiation.d.ts.map +1 -0
- package/dist/goal/types/negotiation.js +84 -0
- package/dist/goal/types/negotiation.js.map +1 -0
- package/dist/goal/types/suggest.d.ts +92 -0
- package/dist/goal/types/suggest.d.ts.map +1 -0
- package/dist/goal/types/suggest.js +15 -0
- package/dist/goal/types/suggest.js.map +1 -0
- package/dist/index.d.ts +104 -83
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +82 -62
- package/dist/index.js.map +1 -1
- package/dist/interface/chat/__tests__/chat-grounding.test.d.ts +2 -0
- package/dist/interface/chat/__tests__/chat-grounding.test.d.ts.map +1 -0
- package/dist/interface/chat/__tests__/chat-grounding.test.js +388 -0
- package/dist/interface/chat/__tests__/chat-grounding.test.js.map +1 -0
- package/dist/interface/chat/__tests__/chat-history.test.d.ts +2 -0
- package/dist/interface/chat/__tests__/chat-history.test.d.ts.map +1 -0
- package/dist/interface/chat/__tests__/chat-history.test.js +97 -0
- package/dist/interface/chat/__tests__/chat-history.test.js.map +1 -0
- package/dist/interface/chat/__tests__/chat-runner.test.d.ts +2 -0
- package/dist/interface/chat/__tests__/chat-runner.test.d.ts.map +1 -0
- package/dist/interface/chat/__tests__/chat-runner.test.js +270 -0
- package/dist/interface/chat/__tests__/chat-runner.test.js.map +1 -0
- package/dist/interface/chat/__tests__/chat-verifier.test.d.ts +2 -0
- package/dist/interface/chat/__tests__/chat-verifier.test.d.ts.map +1 -0
- package/dist/interface/chat/__tests__/chat-verifier.test.js +71 -0
- package/dist/interface/chat/__tests__/chat-verifier.test.js.map +1 -0
- package/dist/interface/chat/__tests__/escalation.test.d.ts +2 -0
- package/dist/interface/chat/__tests__/escalation.test.d.ts.map +1 -0
- package/dist/interface/chat/__tests__/escalation.test.js +149 -0
- package/dist/interface/chat/__tests__/escalation.test.js.map +1 -0
- package/dist/interface/chat/__tests__/self-knowledge-mutation-tools.test.d.ts +2 -0
- package/dist/interface/chat/__tests__/self-knowledge-mutation-tools.test.d.ts.map +1 -0
- package/dist/interface/chat/__tests__/self-knowledge-mutation-tools.test.js +371 -0
- package/dist/interface/chat/__tests__/self-knowledge-mutation-tools.test.js.map +1 -0
- package/dist/interface/chat/__tests__/self-knowledge-tools.test.d.ts +2 -0
- package/dist/interface/chat/__tests__/self-knowledge-tools.test.d.ts.map +1 -0
- package/dist/interface/chat/__tests__/self-knowledge-tools.test.js +223 -0
- package/dist/interface/chat/__tests__/self-knowledge-tools.test.js.map +1 -0
- package/dist/interface/chat/chat-history.d.ts +80 -0
- package/dist/interface/chat/chat-history.d.ts.map +1 -0
- package/dist/interface/chat/chat-history.js +70 -0
- package/dist/interface/chat/chat-history.js.map +1 -0
- package/dist/interface/chat/chat-runner.d.ts +82 -0
- package/dist/interface/chat/chat-runner.d.ts.map +1 -0
- package/dist/interface/chat/chat-runner.js +282 -0
- package/dist/interface/chat/chat-runner.js.map +1 -0
- package/dist/interface/chat/chat-verifier.d.ts +14 -0
- package/dist/interface/chat/chat-verifier.d.ts.map +1 -0
- package/dist/interface/chat/chat-verifier.js +41 -0
- package/dist/interface/chat/chat-verifier.js.map +1 -0
- package/dist/interface/chat/escalation.d.ts +30 -0
- package/dist/interface/chat/escalation.d.ts.map +1 -0
- package/dist/interface/chat/escalation.js +53 -0
- package/dist/interface/chat/escalation.js.map +1 -0
- package/dist/interface/chat/grounding.d.ts +8 -0
- package/dist/interface/chat/grounding.d.ts.map +1 -0
- package/dist/interface/chat/grounding.js +104 -0
- package/dist/interface/chat/grounding.js.map +1 -0
- package/dist/interface/chat/mutation-tool-defs.d.ts +19 -0
- package/dist/interface/chat/mutation-tool-defs.d.ts.map +1 -0
- package/dist/interface/chat/mutation-tool-defs.js +154 -0
- package/dist/interface/chat/mutation-tool-defs.js.map +1 -0
- package/dist/interface/chat/self-knowledge-mutation-tools.d.ts +5 -0
- package/dist/interface/chat/self-knowledge-mutation-tools.d.ts.map +1 -0
- package/dist/interface/chat/self-knowledge-mutation-tools.js +249 -0
- package/dist/interface/chat/self-knowledge-mutation-tools.js.map +1 -0
- package/dist/interface/chat/self-knowledge-tools.d.ts +22 -0
- package/dist/interface/chat/self-knowledge-tools.d.ts.map +1 -0
- package/dist/interface/chat/self-knowledge-tools.js +261 -0
- package/dist/interface/chat/self-knowledge-tools.js.map +1 -0
- package/dist/interface/cli/__tests__/cleanup-orphan-datasource.test.d.ts +2 -0
- package/dist/interface/cli/__tests__/cleanup-orphan-datasource.test.d.ts.map +1 -0
- package/dist/interface/cli/__tests__/cleanup-orphan-datasource.test.js +108 -0
- package/dist/interface/cli/__tests__/cleanup-orphan-datasource.test.js.map +1 -0
- package/dist/interface/cli/__tests__/cli-capability.test.d.ts +8 -0
- package/dist/interface/cli/__tests__/cli-capability.test.d.ts.map +1 -0
- package/dist/interface/cli/__tests__/cli-capability.test.js +208 -0
- package/dist/interface/cli/__tests__/cli-capability.test.js.map +1 -0
- package/dist/interface/cli/__tests__/cli-daemon-status.test.d.ts +2 -0
- package/dist/interface/cli/__tests__/cli-daemon-status.test.d.ts.map +1 -0
- package/dist/interface/cli/__tests__/cli-daemon-status.test.js +205 -0
- package/dist/interface/cli/__tests__/cli-daemon-status.test.js.map +1 -0
- package/dist/interface/cli/__tests__/cli-doctor.test.d.ts +2 -0
- package/dist/interface/cli/__tests__/cli-doctor.test.d.ts.map +1 -0
- package/dist/interface/cli/__tests__/cli-doctor.test.js +291 -0
- package/dist/interface/cli/__tests__/cli-doctor.test.js.map +1 -0
- package/dist/interface/cli/__tests__/cli-improve.test.d.ts +11 -0
- package/dist/interface/cli/__tests__/cli-improve.test.d.ts.map +1 -0
- package/dist/interface/cli/__tests__/cli-improve.test.js +592 -0
- package/dist/interface/cli/__tests__/cli-improve.test.js.map +1 -0
- package/dist/interface/cli/__tests__/cli-install.test.d.ts +2 -0
- package/dist/interface/cli/__tests__/cli-install.test.d.ts.map +1 -0
- package/dist/interface/cli/__tests__/cli-install.test.js +307 -0
- package/dist/interface/cli/__tests__/cli-install.test.js.map +1 -0
- package/dist/interface/cli/__tests__/cli-knowledge.test.d.ts +9 -0
- package/dist/interface/cli/__tests__/cli-knowledge.test.d.ts.map +1 -0
- package/dist/interface/cli/__tests__/cli-knowledge.test.js +295 -0
- package/dist/interface/cli/__tests__/cli-knowledge.test.js.map +1 -0
- package/dist/interface/cli/__tests__/cli-logs.test.d.ts +2 -0
- package/dist/interface/cli/__tests__/cli-logs.test.d.ts.map +1 -0
- package/dist/interface/cli/__tests__/cli-logs.test.js +204 -0
- package/dist/interface/cli/__tests__/cli-logs.test.js.map +1 -0
- package/dist/interface/cli/__tests__/cli-notify.test.d.ts +2 -0
- package/dist/interface/cli/__tests__/cli-notify.test.d.ts.map +1 -0
- package/dist/interface/cli/__tests__/cli-notify.test.js +208 -0
- package/dist/interface/cli/__tests__/cli-notify.test.js.map +1 -0
- package/dist/interface/cli/__tests__/cli-plugin.test.d.ts +8 -0
- package/dist/interface/cli/__tests__/cli-plugin.test.d.ts.map +1 -0
- package/dist/interface/cli/__tests__/cli-plugin.test.js +379 -0
- package/dist/interface/cli/__tests__/cli-plugin.test.js.map +1 -0
- package/dist/interface/cli/__tests__/cli-runner-datasource-auto.test.d.ts +9 -0
- package/dist/interface/cli/__tests__/cli-runner-datasource-auto.test.d.ts.map +1 -0
- package/dist/interface/cli/__tests__/cli-runner-datasource-auto.test.js +398 -0
- package/dist/interface/cli/__tests__/cli-runner-datasource-auto.test.js.map +1 -0
- package/dist/interface/cli/__tests__/cli-runner-integration.test.d.ts +13 -0
- package/dist/interface/cli/__tests__/cli-runner-integration.test.d.ts.map +1 -0
- package/dist/interface/cli/__tests__/cli-runner-integration.test.js +298 -0
- package/dist/interface/cli/__tests__/cli-runner-integration.test.js.map +1 -0
- package/dist/interface/cli/__tests__/cli-runner.test.d.ts +29 -0
- package/dist/interface/cli/__tests__/cli-runner.test.d.ts.map +1 -0
- package/dist/interface/cli/__tests__/cli-runner.test.js +928 -0
- package/dist/interface/cli/__tests__/cli-runner.test.js.map +1 -0
- package/dist/interface/cli/__tests__/cli-setup.test.d.ts +12 -0
- package/dist/interface/cli/__tests__/cli-setup.test.d.ts.map +1 -0
- package/dist/interface/cli/__tests__/cli-setup.test.js +200 -0
- package/dist/interface/cli/__tests__/cli-setup.test.js.map +1 -0
- package/dist/interface/cli/__tests__/datasource-dedup.test.d.ts +2 -0
- package/dist/interface/cli/__tests__/datasource-dedup.test.d.ts.map +1 -0
- package/dist/interface/cli/__tests__/datasource-dedup.test.js +133 -0
- package/dist/interface/cli/__tests__/datasource-dedup.test.js.map +1 -0
- package/dist/interface/cli/__tests__/goal-dispatch-infer.test.d.ts +11 -0
- package/dist/interface/cli/__tests__/goal-dispatch-infer.test.d.ts.map +1 -0
- package/dist/interface/cli/__tests__/goal-dispatch-infer.test.js +140 -0
- package/dist/interface/cli/__tests__/goal-dispatch-infer.test.js.map +1 -0
- package/dist/interface/cli/__tests__/goal-infer.test.d.ts +2 -0
- package/dist/interface/cli/__tests__/goal-infer.test.d.ts.map +1 -0
- package/dist/interface/cli/__tests__/goal-infer.test.js +94 -0
- package/dist/interface/cli/__tests__/goal-infer.test.js.map +1 -0
- package/dist/interface/cli/__tests__/goal-utils.test.d.ts +2 -0
- package/dist/interface/cli/__tests__/goal-utils.test.d.ts.map +1 -0
- package/dist/interface/cli/__tests__/goal-utils.test.js +123 -0
- package/dist/interface/cli/__tests__/goal-utils.test.js.map +1 -0
- package/dist/interface/cli/__tests__/suggest-normalizer.test.d.ts +2 -0
- package/dist/interface/cli/__tests__/suggest-normalizer.test.d.ts.map +1 -0
- package/dist/interface/cli/__tests__/suggest-normalizer.test.js +43 -0
- package/dist/interface/cli/__tests__/suggest-normalizer.test.js.map +1 -0
- package/dist/interface/cli/cli-command-registry.d.ts +16 -0
- package/dist/interface/cli/cli-command-registry.d.ts.map +1 -0
- package/dist/interface/cli/cli-command-registry.js +408 -0
- package/dist/interface/cli/cli-command-registry.js.map +1 -0
- package/dist/interface/cli/cli-logger.d.ts +3 -0
- package/dist/interface/cli/cli-logger.d.ts.map +1 -0
- package/dist/interface/cli/cli-logger.js +12 -0
- package/dist/interface/cli/cli-logger.js.map +1 -0
- package/dist/interface/cli/cli-runner.d.ts +32 -0
- package/dist/interface/cli/cli-runner.d.ts.map +1 -0
- package/dist/interface/cli/cli-runner.js +122 -0
- package/dist/interface/cli/cli-runner.js.map +1 -0
- package/dist/interface/cli/commands/chat.d.ts +3 -0
- package/dist/interface/cli/commands/chat.d.ts.map +1 -0
- package/dist/interface/cli/commands/chat.js +148 -0
- package/dist/interface/cli/commands/chat.js.map +1 -0
- package/dist/interface/cli/commands/config.d.ts +11 -0
- package/dist/interface/cli/commands/config.d.ts.map +1 -0
- package/dist/interface/cli/commands/config.js +436 -0
- package/dist/interface/cli/commands/config.js.map +1 -0
- package/dist/interface/cli/commands/daemon.d.ts +7 -0
- package/dist/interface/cli/commands/daemon.d.ts.map +1 -0
- package/dist/interface/cli/commands/daemon.js +297 -0
- package/dist/interface/cli/commands/daemon.js.map +1 -0
- package/dist/interface/cli/commands/doctor.d.ts +19 -0
- package/dist/interface/cli/commands/doctor.d.ts.map +1 -0
- package/dist/interface/cli/commands/doctor.js +203 -0
- package/dist/interface/cli/commands/doctor.js.map +1 -0
- package/dist/interface/cli/commands/goal-dispatch.d.ts +13 -0
- package/dist/interface/cli/commands/goal-dispatch.d.ts.map +1 -0
- package/dist/interface/cli/commands/goal-dispatch.js +208 -0
- package/dist/interface/cli/commands/goal-dispatch.js.map +1 -0
- package/dist/interface/cli/commands/goal-infer.d.ts +9 -0
- package/dist/interface/cli/commands/goal-infer.d.ts.map +1 -0
- package/dist/interface/cli/commands/goal-infer.js +71 -0
- package/dist/interface/cli/commands/goal-infer.js.map +1 -0
- package/dist/interface/cli/commands/goal-raw.d.ts +9 -0
- package/dist/interface/cli/commands/goal-raw.d.ts.map +1 -0
- package/dist/interface/cli/commands/goal-raw.js +106 -0
- package/dist/interface/cli/commands/goal-raw.js.map +1 -0
- package/dist/interface/cli/commands/goal-read.d.ts +9 -0
- package/dist/interface/cli/commands/goal-read.d.ts.map +1 -0
- package/dist/interface/cli/commands/goal-read.js +248 -0
- package/dist/interface/cli/commands/goal-read.js.map +1 -0
- package/dist/interface/cli/commands/goal-utils.d.ts +70 -0
- package/dist/interface/cli/commands/goal-utils.d.ts.map +1 -0
- package/dist/interface/cli/commands/goal-utils.js +311 -0
- package/dist/interface/cli/commands/goal-utils.js.map +1 -0
- package/dist/interface/cli/commands/goal-write.d.ts +15 -0
- package/dist/interface/cli/commands/goal-write.d.ts.map +1 -0
- package/dist/interface/cli/commands/goal-write.js +351 -0
- package/dist/interface/cli/commands/goal-write.js.map +1 -0
- package/dist/interface/cli/commands/goal.d.ts +3 -0
- package/dist/interface/cli/commands/goal.d.ts.map +1 -0
- package/dist/interface/cli/commands/goal.js +6 -0
- package/dist/interface/cli/commands/goal.js.map +1 -0
- package/dist/interface/cli/commands/install.d.ts +16 -0
- package/dist/interface/cli/commands/install.d.ts.map +1 -0
- package/dist/interface/cli/commands/install.js +153 -0
- package/dist/interface/cli/commands/install.js.map +1 -0
- package/dist/interface/cli/commands/knowledge.d.ts +5 -0
- package/dist/interface/cli/commands/knowledge.d.ts.map +1 -0
- package/dist/interface/cli/commands/knowledge.js +127 -0
- package/dist/interface/cli/commands/knowledge.js.map +1 -0
- package/dist/interface/cli/commands/logs.d.ts +2 -0
- package/dist/interface/cli/commands/logs.d.ts.map +1 -0
- package/dist/interface/cli/commands/logs.js +201 -0
- package/dist/interface/cli/commands/logs.js.map +1 -0
- package/dist/interface/cli/commands/notify.d.ts +2 -0
- package/dist/interface/cli/commands/notify.d.ts.map +1 -0
- package/dist/interface/cli/commands/notify.js +277 -0
- package/dist/interface/cli/commands/notify.js.map +1 -0
- package/dist/interface/cli/commands/plugin.d.ts +9 -0
- package/dist/interface/cli/commands/plugin.d.ts.map +1 -0
- package/dist/interface/cli/commands/plugin.js +315 -0
- package/dist/interface/cli/commands/plugin.js.map +1 -0
- package/dist/interface/cli/commands/report.d.ts +3 -0
- package/dist/interface/cli/commands/report.d.ts.map +1 -0
- package/dist/interface/cli/commands/report.js +29 -0
- package/dist/interface/cli/commands/report.js.map +1 -0
- package/dist/interface/cli/commands/run.d.ts +7 -0
- package/dist/interface/cli/commands/run.d.ts.map +1 -0
- package/dist/interface/cli/commands/run.js +106 -0
- package/dist/interface/cli/commands/run.js.map +1 -0
- package/dist/interface/cli/commands/setup.d.ts +2 -0
- package/dist/interface/cli/commands/setup.d.ts.map +1 -0
- package/dist/interface/cli/commands/setup.js +339 -0
- package/dist/interface/cli/commands/setup.js.map +1 -0
- package/dist/interface/cli/commands/suggest-normalizer.d.ts +21 -0
- package/dist/interface/cli/commands/suggest-normalizer.d.ts.map +1 -0
- package/dist/interface/cli/commands/suggest-normalizer.js +359 -0
- package/dist/interface/cli/commands/suggest-normalizer.js.map +1 -0
- package/dist/interface/cli/commands/suggest.d.ts +5 -0
- package/dist/interface/cli/commands/suggest.d.ts.map +1 -0
- package/dist/interface/cli/commands/suggest.js +238 -0
- package/dist/interface/cli/commands/suggest.js.map +1 -0
- package/dist/interface/cli/commands/task-read.d.ts +4 -0
- package/dist/interface/cli/commands/task-read.d.ts.map +1 -0
- package/dist/interface/cli/commands/task-read.js +195 -0
- package/dist/interface/cli/commands/task-read.js.map +1 -0
- package/dist/interface/cli/commands/telegram.d.ts +2 -0
- package/dist/interface/cli/commands/telegram.d.ts.map +1 -0
- package/dist/interface/cli/commands/telegram.js +155 -0
- package/dist/interface/cli/commands/telegram.js.map +1 -0
- package/dist/interface/cli/ensure-api-key.d.ts +17 -0
- package/dist/interface/cli/ensure-api-key.d.ts.map +1 -0
- package/dist/interface/cli/ensure-api-key.js +52 -0
- package/dist/interface/cli/ensure-api-key.js.map +1 -0
- package/dist/interface/cli/setup.d.ts +21 -0
- package/dist/interface/cli/setup.d.ts.map +1 -0
- package/dist/interface/cli/setup.js +199 -0
- package/dist/interface/cli/setup.js.map +1 -0
- package/dist/interface/cli/utils/loop-runner.d.ts +8 -0
- package/dist/interface/cli/utils/loop-runner.d.ts.map +1 -0
- package/dist/interface/cli/utils/loop-runner.js +74 -0
- package/dist/interface/cli/utils/loop-runner.js.map +1 -0
- package/dist/interface/cli/utils.d.ts +10 -0
- package/dist/interface/cli/utils.d.ts.map +1 -0
- package/dist/interface/cli/utils.js +147 -0
- package/dist/interface/cli/utils.js.map +1 -0
- package/dist/interface/mcp-server/__tests__/mcp-server.test.d.ts +2 -0
- package/dist/interface/mcp-server/__tests__/mcp-server.test.d.ts.map +1 -0
- package/dist/interface/mcp-server/__tests__/mcp-server.test.js +180 -0
- package/dist/interface/mcp-server/__tests__/mcp-server.test.js.map +1 -0
- package/dist/interface/mcp-server/index.d.ts +4 -0
- package/dist/interface/mcp-server/index.d.ts.map +1 -0
- package/dist/interface/mcp-server/index.js +66 -0
- package/dist/interface/mcp-server/index.js.map +1 -0
- package/dist/interface/mcp-server/tools.d.ts +35 -0
- package/dist/interface/mcp-server/tools.d.ts.map +1 -0
- package/dist/interface/mcp-server/tools.js +160 -0
- package/dist/interface/mcp-server/tools.js.map +1 -0
- package/dist/interface/tui/__tests__/actions.test.d.ts +2 -0
- package/dist/interface/tui/__tests__/actions.test.d.ts.map +1 -0
- package/dist/interface/tui/__tests__/actions.test.js +300 -0
- package/dist/interface/tui/__tests__/actions.test.js.map +1 -0
- package/dist/interface/tui/__tests__/fuzzy.test.d.ts +2 -0
- package/dist/interface/tui/__tests__/fuzzy.test.d.ts.map +1 -0
- package/dist/interface/tui/__tests__/fuzzy.test.js +95 -0
- package/dist/interface/tui/__tests__/fuzzy.test.js.map +1 -0
- package/dist/interface/tui/__tests__/intent-recognizer.test.d.ts +2 -0
- package/dist/interface/tui/__tests__/intent-recognizer.test.d.ts.map +1 -0
- package/dist/interface/tui/__tests__/intent-recognizer.test.js +174 -0
- package/dist/interface/tui/__tests__/intent-recognizer.test.js.map +1 -0
- package/dist/interface/tui/__tests__/use-loop.test.d.ts +2 -0
- package/dist/interface/tui/__tests__/use-loop.test.d.ts.map +1 -0
- package/dist/interface/tui/__tests__/use-loop.test.js +286 -0
- package/dist/interface/tui/__tests__/use-loop.test.js.map +1 -0
- package/dist/interface/tui/actions.d.ts +39 -0
- package/dist/interface/tui/actions.d.ts.map +1 -0
- package/dist/interface/tui/actions.js +231 -0
- package/dist/interface/tui/actions.js.map +1 -0
- package/dist/interface/tui/app.d.ts +24 -0
- package/dist/interface/tui/app.d.ts.map +1 -0
- package/dist/interface/tui/app.js +164 -0
- package/dist/interface/tui/app.js.map +1 -0
- package/dist/interface/tui/approval-overlay.d.ts +8 -0
- package/dist/interface/tui/approval-overlay.d.ts.map +1 -0
- package/dist/interface/tui/approval-overlay.js +21 -0
- package/dist/interface/tui/approval-overlay.js.map +1 -0
- package/dist/interface/tui/chat.d.ts +15 -0
- package/dist/interface/tui/chat.d.ts.map +1 -0
- package/dist/interface/tui/chat.js +179 -0
- package/dist/interface/tui/chat.js.map +1 -0
- package/dist/interface/tui/dashboard.d.ts +9 -0
- package/dist/interface/tui/dashboard.d.ts.map +1 -0
- package/dist/interface/tui/dashboard.js +48 -0
- package/dist/interface/tui/dashboard.js.map +1 -0
- package/dist/interface/tui/entry.d.ts +3 -0
- package/dist/interface/tui/entry.d.ts.map +1 -0
- package/dist/interface/tui/entry.js +242 -0
- package/dist/interface/tui/entry.js.map +1 -0
- package/dist/interface/tui/fuzzy.d.ts +16 -0
- package/dist/interface/tui/fuzzy.d.ts.map +1 -0
- package/dist/interface/tui/fuzzy.js +66 -0
- package/dist/interface/tui/fuzzy.js.map +1 -0
- package/dist/interface/tui/help-overlay.d.ts +6 -0
- package/dist/interface/tui/help-overlay.d.ts.map +1 -0
- package/dist/interface/tui/help-overlay.js +13 -0
- package/dist/interface/tui/help-overlay.js.map +1 -0
- package/dist/interface/tui/intent-recognizer.d.ts +19 -0
- package/dist/interface/tui/intent-recognizer.d.ts.map +1 -0
- package/dist/interface/tui/intent-recognizer.js +131 -0
- package/dist/interface/tui/intent-recognizer.js.map +1 -0
- package/dist/interface/tui/markdown-renderer.d.ts +32 -0
- package/dist/interface/tui/markdown-renderer.d.ts.map +1 -0
- package/dist/interface/tui/markdown-renderer.js +212 -0
- package/dist/interface/tui/markdown-renderer.js.map +1 -0
- package/dist/interface/tui/report-view.d.ts +6 -0
- package/dist/interface/tui/report-view.d.ts.map +1 -0
- package/dist/interface/tui/report-view.js +55 -0
- package/dist/interface/tui/report-view.js.map +1 -0
- package/dist/interface/tui/seedy-art.d.ts +46 -0
- package/dist/interface/tui/seedy-art.d.ts.map +1 -0
- package/dist/interface/tui/seedy-art.js +141 -0
- package/dist/interface/tui/seedy-art.js.map +1 -0
- package/dist/interface/tui/theme.d.ts +47 -0
- package/dist/interface/tui/theme.d.ts.map +1 -0
- package/dist/interface/tui/theme.js +116 -0
- package/dist/interface/tui/theme.js.map +1 -0
- package/dist/interface/tui/use-loop.d.ts +54 -0
- package/dist/interface/tui/use-loop.d.ts.map +1 -0
- package/dist/interface/tui/use-loop.js +185 -0
- package/dist/interface/tui/use-loop.js.map +1 -0
- package/dist/knowledge/__tests__/decision-record.test.d.ts +2 -0
- package/dist/knowledge/__tests__/decision-record.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/decision-record.test.js +141 -0
- package/dist/knowledge/__tests__/decision-record.test.js.map +1 -0
- package/dist/knowledge/__tests__/drive-score-adapter.test.d.ts +2 -0
- package/dist/knowledge/__tests__/drive-score-adapter.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/drive-score-adapter.test.js +110 -0
- package/dist/knowledge/__tests__/drive-score-adapter.test.js.map +1 -0
- package/dist/knowledge/__tests__/embedding-client.test.d.ts +2 -0
- package/dist/knowledge/__tests__/embedding-client.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/embedding-client.test.js +77 -0
- package/dist/knowledge/__tests__/embedding-client.test.js.map +1 -0
- package/dist/knowledge/__tests__/hierarchical-memory-integration.test.d.ts +2 -0
- package/dist/knowledge/__tests__/hierarchical-memory-integration.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/hierarchical-memory-integration.test.js +352 -0
- package/dist/knowledge/__tests__/hierarchical-memory-integration.test.js.map +1 -0
- package/dist/knowledge/__tests__/knowledge-graph.test.d.ts +2 -0
- package/dist/knowledge/__tests__/knowledge-graph.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/knowledge-graph.test.js +330 -0
- package/dist/knowledge/__tests__/knowledge-graph.test.js.map +1 -0
- package/dist/knowledge/__tests__/knowledge-manager-phase2.test.d.ts +2 -0
- package/dist/knowledge/__tests__/knowledge-manager-phase2.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/knowledge-manager-phase2.test.js +344 -0
- package/dist/knowledge/__tests__/knowledge-manager-phase2.test.js.map +1 -0
- package/dist/knowledge/__tests__/knowledge-manager.test.d.ts +2 -0
- package/dist/knowledge/__tests__/knowledge-manager.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/knowledge-manager.test.js +564 -0
- package/dist/knowledge/__tests__/knowledge-manager.test.js.map +1 -0
- package/dist/knowledge/__tests__/knowledge-transfer-apply.test.d.ts +2 -0
- package/dist/knowledge/__tests__/knowledge-transfer-apply.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/knowledge-transfer-apply.test.js +291 -0
- package/dist/knowledge/__tests__/knowledge-transfer-apply.test.js.map +1 -0
- package/dist/knowledge/__tests__/knowledge-transfer-auto-apply.test.d.ts +2 -0
- package/dist/knowledge/__tests__/knowledge-transfer-auto-apply.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/knowledge-transfer-auto-apply.test.js +293 -0
- package/dist/knowledge/__tests__/knowledge-transfer-auto-apply.test.js.map +1 -0
- package/dist/knowledge/__tests__/knowledge-transfer-detect.test.d.ts +2 -0
- package/dist/knowledge/__tests__/knowledge-transfer-detect.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/knowledge-transfer-detect.test.js +315 -0
- package/dist/knowledge/__tests__/knowledge-transfer-detect.test.js.map +1 -0
- package/dist/knowledge/__tests__/knowledge-transfer-evaluate.test.d.ts +2 -0
- package/dist/knowledge/__tests__/knowledge-transfer-evaluate.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/knowledge-transfer-evaluate.test.js +593 -0
- package/dist/knowledge/__tests__/knowledge-transfer-evaluate.test.js.map +1 -0
- package/dist/knowledge/__tests__/knowledge-transfer-incremental.test.d.ts +2 -0
- package/dist/knowledge/__tests__/knowledge-transfer-incremental.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/knowledge-transfer-incremental.test.js +402 -0
- package/dist/knowledge/__tests__/knowledge-transfer-incremental.test.js.map +1 -0
- package/dist/knowledge/__tests__/learning-cross-goal.test.d.ts +2 -0
- package/dist/knowledge/__tests__/learning-cross-goal.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/learning-cross-goal.test.js +377 -0
- package/dist/knowledge/__tests__/learning-cross-goal.test.js.map +1 -0
- package/dist/knowledge/__tests__/learning-pipeline-extraction.test.d.ts +2 -0
- package/dist/knowledge/__tests__/learning-pipeline-extraction.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/learning-pipeline-extraction.test.js +622 -0
- package/dist/knowledge/__tests__/learning-pipeline-extraction.test.js.map +1 -0
- package/dist/knowledge/__tests__/learning-pipeline-feedback.test.d.ts +2 -0
- package/dist/knowledge/__tests__/learning-pipeline-feedback.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/learning-pipeline-feedback.test.js +425 -0
- package/dist/knowledge/__tests__/learning-pipeline-feedback.test.js.map +1 -0
- package/dist/knowledge/__tests__/learning-pipeline-persistence.test.d.ts +2 -0
- package/dist/knowledge/__tests__/learning-pipeline-persistence.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/learning-pipeline-persistence.test.js +928 -0
- package/dist/knowledge/__tests__/learning-pipeline-persistence.test.js.map +1 -0
- package/dist/knowledge/__tests__/learning-pipeline-phase2.test.d.ts +2 -0
- package/dist/knowledge/__tests__/learning-pipeline-phase2.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/learning-pipeline-phase2.test.js +430 -0
- package/dist/knowledge/__tests__/learning-pipeline-phase2.test.js.map +1 -0
- package/dist/knowledge/__tests__/learning-pipeline-sharing.test.d.ts +2 -0
- package/dist/knowledge/__tests__/learning-pipeline-sharing.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/learning-pipeline-sharing.test.js +411 -0
- package/dist/knowledge/__tests__/learning-pipeline-sharing.test.js.map +1 -0
- package/dist/knowledge/__tests__/m16-integration.test.d.ts +2 -0
- package/dist/knowledge/__tests__/m16-integration.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/m16-integration.test.js +332 -0
- package/dist/knowledge/__tests__/m16-integration.test.js.map +1 -0
- package/dist/knowledge/__tests__/memory-lifecycle-phase2.test.d.ts +2 -0
- package/dist/knowledge/__tests__/memory-lifecycle-phase2.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/memory-lifecycle-phase2.test.js +562 -0
- package/dist/knowledge/__tests__/memory-lifecycle-phase2.test.js.map +1 -0
- package/dist/knowledge/__tests__/memory-lifecycle.test.d.ts +2 -0
- package/dist/knowledge/__tests__/memory-lifecycle.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/memory-lifecycle.test.js +432 -0
- package/dist/knowledge/__tests__/memory-lifecycle.test.js.map +1 -0
- package/dist/knowledge/__tests__/memory-selection.test.d.ts +2 -0
- package/dist/knowledge/__tests__/memory-selection.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/memory-selection.test.js +423 -0
- package/dist/knowledge/__tests__/memory-selection.test.js.map +1 -0
- package/dist/knowledge/__tests__/memory-tier.test.d.ts +2 -0
- package/dist/knowledge/__tests__/memory-tier.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/memory-tier.test.js +413 -0
- package/dist/knowledge/__tests__/memory-tier.test.js.map +1 -0
- package/dist/knowledge/__tests__/transfer-trust.test.d.ts +2 -0
- package/dist/knowledge/__tests__/transfer-trust.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/transfer-trust.test.js +137 -0
- package/dist/knowledge/__tests__/transfer-trust.test.js.map +1 -0
- package/dist/knowledge/__tests__/vector-index.test.d.ts +2 -0
- package/dist/knowledge/__tests__/vector-index.test.d.ts.map +1 -0
- package/dist/knowledge/__tests__/vector-index.test.js +152 -0
- package/dist/knowledge/__tests__/vector-index.test.js.map +1 -0
- package/dist/knowledge/knowledge-decisions.d.ts +2 -2
- package/dist/knowledge/knowledge-decisions.d.ts.map +1 -1
- package/dist/knowledge/knowledge-decisions.js +1 -1
- package/dist/knowledge/knowledge-decisions.js.map +1 -1
- package/dist/knowledge/knowledge-manager-query 2.d.ts +87 -0
- package/dist/knowledge/knowledge-manager-query 2.d.ts.map +1 -0
- package/dist/knowledge/knowledge-manager-query 2.js +287 -0
- package/dist/knowledge/knowledge-manager-query 2.js.map +1 -0
- package/dist/knowledge/knowledge-manager-query.d.ts +87 -0
- package/dist/knowledge/knowledge-manager-query.d.ts.map +1 -0
- package/dist/knowledge/knowledge-manager-query.js +287 -0
- package/dist/knowledge/knowledge-manager-query.js.map +1 -0
- package/dist/knowledge/knowledge-manager.d.ts +3 -20
- package/dist/knowledge/knowledge-manager.d.ts.map +1 -1
- package/dist/knowledge/knowledge-manager.js +7 -269
- package/dist/knowledge/knowledge-manager.js.map +1 -1
- package/dist/knowledge/knowledge-revalidation.d.ts +2 -2
- package/dist/knowledge/knowledge-revalidation.d.ts.map +1 -1
- package/dist/knowledge/knowledge-search.d.ts +1 -1
- package/dist/knowledge/knowledge-search.d.ts.map +1 -1
- package/dist/knowledge/learning/learning-cross-goal.d.ts +19 -0
- package/dist/knowledge/learning/learning-cross-goal.d.ts.map +1 -0
- package/dist/knowledge/learning/learning-cross-goal.js +173 -0
- package/dist/knowledge/learning/learning-cross-goal.js.map +1 -0
- package/dist/knowledge/learning/learning-exports.d.ts +4 -0
- package/dist/knowledge/learning/learning-exports.d.ts.map +1 -0
- package/dist/knowledge/learning/learning-exports.js.map +1 -0
- package/dist/knowledge/learning/learning-feedback.d.ts +26 -0
- package/dist/knowledge/learning/learning-feedback.d.ts.map +1 -0
- package/dist/knowledge/learning/learning-feedback.js +183 -0
- package/dist/knowledge/learning/learning-feedback.js.map +1 -0
- package/dist/knowledge/learning/learning-pipeline-prompts.d.ts +134 -0
- package/dist/knowledge/learning/learning-pipeline-prompts.d.ts.map +1 -0
- package/dist/knowledge/learning/learning-pipeline-prompts.js +103 -0
- package/dist/knowledge/learning/learning-pipeline-prompts.js.map +1 -0
- package/dist/knowledge/learning/learning-pipeline.d.ts +105 -0
- package/dist/knowledge/learning/learning-pipeline.d.ts.map +1 -0
- package/dist/knowledge/learning/learning-pipeline.js +465 -0
- package/dist/knowledge/learning/learning-pipeline.js.map +1 -0
- package/dist/knowledge/memory/memory-compression.d.ts +44 -0
- package/dist/knowledge/memory/memory-compression.d.ts.map +1 -0
- package/dist/knowledge/memory/memory-compression.js +291 -0
- package/dist/knowledge/memory/memory-compression.js.map +1 -0
- package/dist/knowledge/memory/memory-distill.d.ts +31 -0
- package/dist/knowledge/memory/memory-distill.d.ts.map +1 -0
- package/dist/knowledge/memory/memory-distill.js.map +1 -0
- package/dist/knowledge/memory/memory-exports.d.ts +7 -0
- package/dist/knowledge/memory/memory-exports.d.ts.map +1 -0
- package/dist/knowledge/memory/memory-exports.js.map +1 -0
- package/dist/knowledge/memory/memory-index.d.ts +11 -0
- package/dist/knowledge/memory/memory-index.d.ts.map +1 -0
- package/dist/knowledge/memory/memory-index.js +134 -0
- package/dist/knowledge/memory/memory-index.js.map +1 -0
- package/dist/knowledge/memory/memory-lifecycle.d.ts +169 -0
- package/dist/knowledge/memory/memory-lifecycle.d.ts.map +1 -0
- package/dist/knowledge/memory/memory-lifecycle.js +402 -0
- package/dist/knowledge/memory/memory-lifecycle.js.map +1 -0
- package/dist/knowledge/memory/memory-persistence.d.ts +30 -0
- package/dist/knowledge/memory/memory-persistence.d.ts.map +1 -0
- package/dist/knowledge/memory/memory-persistence.js.map +1 -0
- package/dist/knowledge/memory/memory-query.d.ts +4 -0
- package/dist/knowledge/memory/memory-query.d.ts.map +1 -0
- package/dist/knowledge/memory/memory-query.js +64 -0
- package/dist/knowledge/memory/memory-query.js.map +1 -0
- package/dist/knowledge/memory/memory-selection.d.ts +73 -0
- package/dist/knowledge/memory/memory-selection.d.ts.map +1 -0
- package/dist/knowledge/memory/memory-selection.js +328 -0
- package/dist/knowledge/memory/memory-selection.js.map +1 -0
- package/dist/knowledge/memory/memory-stats.d.ts +7 -0
- package/dist/knowledge/memory/memory-stats.d.ts.map +1 -0
- package/dist/knowledge/memory/memory-stats.js +162 -0
- package/dist/knowledge/memory/memory-stats.js.map +1 -0
- package/dist/knowledge/memory/memory-tier.d.ts +65 -0
- package/dist/knowledge/memory/memory-tier.d.ts.map +1 -0
- package/dist/knowledge/memory/memory-tier.js.map +1 -0
- package/dist/knowledge/transfer/knowledge-transfer-apply.d.ts +48 -0
- package/dist/knowledge/transfer/knowledge-transfer-apply.d.ts.map +1 -0
- package/dist/knowledge/transfer/knowledge-transfer-apply.js +221 -0
- package/dist/knowledge/transfer/knowledge-transfer-apply.js.map +1 -0
- package/dist/knowledge/transfer/knowledge-transfer-detect.d.ts +28 -0
- package/dist/knowledge/transfer/knowledge-transfer-detect.d.ts.map +1 -0
- package/dist/knowledge/transfer/knowledge-transfer-detect.js +128 -0
- package/dist/knowledge/transfer/knowledge-transfer-detect.js.map +1 -0
- package/dist/knowledge/transfer/knowledge-transfer-evaluate.d.ts +22 -0
- package/dist/knowledge/transfer/knowledge-transfer-evaluate.d.ts.map +1 -0
- package/dist/knowledge/transfer/knowledge-transfer-evaluate.js +109 -0
- package/dist/knowledge/transfer/knowledge-transfer-evaluate.js.map +1 -0
- package/dist/knowledge/transfer/knowledge-transfer-meta.d.ts +38 -0
- package/dist/knowledge/transfer/knowledge-transfer-meta.d.ts.map +1 -0
- package/dist/knowledge/transfer/knowledge-transfer-meta.js +180 -0
- package/dist/knowledge/transfer/knowledge-transfer-meta.js.map +1 -0
- package/dist/knowledge/transfer/knowledge-transfer-prompts.d.ts +46 -0
- package/dist/knowledge/transfer/knowledge-transfer-prompts.d.ts.map +1 -0
- package/dist/knowledge/transfer/knowledge-transfer-prompts.js.map +1 -0
- package/dist/knowledge/transfer/knowledge-transfer-types.d.ts +20 -0
- package/dist/knowledge/transfer/knowledge-transfer-types.d.ts.map +1 -0
- package/dist/knowledge/transfer/knowledge-transfer-types.js.map +1 -0
- package/dist/knowledge/transfer/knowledge-transfer.d.ts +83 -0
- package/dist/knowledge/transfer/knowledge-transfer.d.ts.map +1 -0
- package/dist/knowledge/transfer/knowledge-transfer.js.map +1 -0
- package/dist/knowledge/transfer/transfer-trust.d.ts +40 -0
- package/dist/knowledge/transfer/transfer-trust.d.ts.map +1 -0
- package/dist/knowledge/transfer/transfer-trust.js +137 -0
- package/dist/knowledge/transfer/transfer-trust.js.map +1 -0
- package/dist/knowledge/types/embedding.d.ts +59 -0
- package/dist/knowledge/types/embedding.d.ts.map +1 -0
- package/dist/knowledge/types/embedding.js +22 -0
- package/dist/knowledge/types/embedding.js.map +1 -0
- package/dist/knowledge/types/knowledge.d.ts +402 -0
- package/dist/knowledge/types/knowledge.d.ts.map +1 -0
- package/dist/knowledge/types/knowledge.js +116 -0
- package/dist/knowledge/types/knowledge.js.map +1 -0
- package/dist/knowledge/types/learning.d.ts +292 -0
- package/dist/knowledge/types/learning.d.ts.map +1 -0
- package/dist/knowledge/types/learning.js +117 -0
- package/dist/knowledge/types/learning.js.map +1 -0
- package/dist/knowledge/types/memory-lifecycle.d.ts +615 -0
- package/dist/knowledge/types/memory-lifecycle.d.ts.map +1 -0
- package/dist/knowledge/types/memory-lifecycle.js +159 -0
- package/dist/knowledge/types/memory-lifecycle.js.map +1 -0
- package/dist/llm/base-llm-client.d.ts +13 -0
- package/dist/llm/base-llm-client.d.ts.map +1 -1
- package/dist/llm/base-llm-client.js +35 -0
- package/dist/llm/base-llm-client.js.map +1 -1
- package/dist/llm/llm-client.d.ts +22 -2
- package/dist/llm/llm-client.d.ts.map +1 -1
- package/dist/llm/llm-client.js +49 -11
- package/dist/llm/llm-client.js.map +1 -1
- package/dist/llm/ollama-client.d.ts +1 -0
- package/dist/llm/ollama-client.d.ts.map +1 -1
- package/dist/llm/ollama-client.js +15 -5
- package/dist/llm/ollama-client.js.map +1 -1
- package/dist/llm/openai-client.d.ts +1 -0
- package/dist/llm/openai-client.d.ts.map +1 -1
- package/dist/llm/openai-client.js +15 -5
- package/dist/llm/openai-client.js.map +1 -1
- package/dist/llm/provider-factory.js +6 -6
- package/dist/llm/provider-factory.js.map +1 -1
- package/dist/loop/__tests__/core-loop-auto-decompose.test.d.ts +2 -0
- package/dist/loop/__tests__/core-loop-auto-decompose.test.d.ts.map +1 -0
- package/dist/loop/__tests__/core-loop-auto-decompose.test.js +324 -0
- package/dist/loop/__tests__/core-loop-auto-decompose.test.js.map +1 -0
- package/dist/loop/__tests__/core-loop-capability.test.d.ts +2 -0
- package/dist/loop/__tests__/core-loop-capability.test.d.ts.map +1 -0
- package/dist/loop/__tests__/core-loop-capability.test.js +362 -0
- package/dist/loop/__tests__/core-loop-capability.test.js.map +1 -0
- package/dist/loop/__tests__/core-loop-checkpoint.test.d.ts +2 -0
- package/dist/loop/__tests__/core-loop-checkpoint.test.d.ts.map +1 -0
- package/dist/loop/__tests__/core-loop-checkpoint.test.js +323 -0
- package/dist/loop/__tests__/core-loop-checkpoint.test.js.map +1 -0
- package/dist/loop/__tests__/core-loop-drive-context.test.d.ts +2 -0
- package/dist/loop/__tests__/core-loop-drive-context.test.d.ts.map +1 -0
- package/dist/loop/__tests__/core-loop-drive-context.test.js +349 -0
- package/dist/loop/__tests__/core-loop-drive-context.test.js.map +1 -0
- package/dist/loop/__tests__/core-loop-flow.test.d.ts +2 -0
- package/dist/loop/__tests__/core-loop-flow.test.d.ts.map +1 -0
- package/dist/loop/__tests__/core-loop-flow.test.js +676 -0
- package/dist/loop/__tests__/core-loop-flow.test.js.map +1 -0
- package/dist/loop/__tests__/core-loop-integration.test.d.ts +11 -0
- package/dist/loop/__tests__/core-loop-integration.test.d.ts.map +1 -0
- package/dist/loop/__tests__/core-loop-integration.test.js +295 -0
- package/dist/loop/__tests__/core-loop-integration.test.js.map +1 -0
- package/dist/loop/__tests__/core-loop-integrations.test.d.ts +2 -0
- package/dist/loop/__tests__/core-loop-integrations.test.d.ts.map +1 -0
- package/dist/loop/__tests__/core-loop-integrations.test.js +658 -0
- package/dist/loop/__tests__/core-loop-integrations.test.js.map +1 -0
- package/dist/loop/__tests__/core-loop-iteration.test.d.ts +2 -0
- package/dist/loop/__tests__/core-loop-iteration.test.d.ts.map +1 -0
- package/dist/loop/__tests__/core-loop-iteration.test.js +484 -0
- package/dist/loop/__tests__/core-loop-iteration.test.js.map +1 -0
- package/dist/loop/__tests__/core-loop-memory-tier.test.d.ts +11 -0
- package/dist/loop/__tests__/core-loop-memory-tier.test.d.ts.map +1 -0
- package/dist/loop/__tests__/core-loop-memory-tier.test.js +325 -0
- package/dist/loop/__tests__/core-loop-memory-tier.test.js.map +1 -0
- package/dist/loop/__tests__/core-loop-orchestrator-regression.test.d.ts +2 -0
- package/dist/loop/__tests__/core-loop-orchestrator-regression.test.d.ts.map +1 -0
- package/dist/loop/__tests__/core-loop-orchestrator-regression.test.js +360 -0
- package/dist/loop/__tests__/core-loop-orchestrator-regression.test.js.map +1 -0
- package/dist/loop/__tests__/core-loop-reporting.test.d.ts +2 -0
- package/dist/loop/__tests__/core-loop-reporting.test.d.ts.map +1 -0
- package/dist/loop/__tests__/core-loop-reporting.test.js +589 -0
- package/dist/loop/__tests__/core-loop-reporting.test.js.map +1 -0
- package/dist/loop/__tests__/core-loop-stall-refine.test.d.ts +15 -0
- package/dist/loop/__tests__/core-loop-stall-refine.test.d.ts.map +1 -0
- package/dist/loop/__tests__/core-loop-stall-refine.test.js +399 -0
- package/dist/loop/__tests__/core-loop-stall-refine.test.js.map +1 -0
- package/dist/loop/__tests__/core-loop-tree.test.d.ts +2 -0
- package/dist/loop/__tests__/core-loop-tree.test.d.ts.map +1 -0
- package/dist/loop/__tests__/core-loop-tree.test.js +626 -0
- package/dist/loop/__tests__/core-loop-tree.test.js.map +1 -0
- package/dist/loop/__tests__/core-loop.test.d.ts +2 -0
- package/dist/loop/__tests__/core-loop.test.d.ts.map +1 -0
- package/dist/loop/__tests__/core-loop.test.js +550 -0
- package/dist/loop/__tests__/core-loop.test.js.map +1 -0
- package/dist/loop/__tests__/iteration-budget.test.d.ts +2 -0
- package/dist/loop/__tests__/iteration-budget.test.d.ts.map +1 -0
- package/dist/loop/__tests__/iteration-budget.test.js +423 -0
- package/dist/loop/__tests__/iteration-budget.test.js.map +1 -0
- package/dist/loop/__tests__/r1-core-loop-completion.test.d.ts +11 -0
- package/dist/loop/__tests__/r1-core-loop-completion.test.d.ts.map +1 -0
- package/dist/loop/__tests__/r1-core-loop-completion.test.js +315 -0
- package/dist/loop/__tests__/r1-core-loop-completion.test.js.map +1 -0
- package/dist/loop/checkpoint-manager-loop.d.ts +1 -1
- package/dist/loop/checkpoint-manager-loop.d.ts.map +1 -1
- package/dist/loop/core-loop-phases-c.d.ts +27 -0
- package/dist/loop/core-loop-phases-c.d.ts.map +1 -0
- package/dist/loop/core-loop-phases-c.js +72 -0
- package/dist/loop/core-loop-phases-c.js.map +1 -0
- package/dist/loop/core-loop-types.d.ts +7 -7
- package/dist/loop/core-loop-types.d.ts.map +1 -1
- package/dist/loop/core-loop.d.ts +54 -0
- package/dist/loop/core-loop.d.ts.map +1 -0
- package/dist/loop/core-loop.js +353 -0
- package/dist/loop/core-loop.js.map +1 -0
- package/dist/mcp-server/__tests__/mcp-server.test.d.ts +2 -0
- package/dist/mcp-server/__tests__/mcp-server.test.d.ts.map +1 -0
- package/dist/mcp-server/__tests__/mcp-server.test.js +180 -0
- package/dist/mcp-server/__tests__/mcp-server.test.js.map +1 -0
- package/dist/mcp-server/index.js +1 -1
- package/dist/mcp-server/index.js.map +1 -1
- package/dist/mcp-server/tools.d.ts +1 -1
- package/dist/mcp-server/tools.d.ts.map +1 -1
- package/dist/observation/__tests__/capability-dependency.test.d.ts +2 -0
- package/dist/observation/__tests__/capability-dependency.test.d.ts.map +1 -0
- package/dist/observation/__tests__/capability-dependency.test.js +195 -0
- package/dist/observation/__tests__/capability-dependency.test.js.map +1 -0
- package/dist/observation/__tests__/capability-detector-detect.test.d.ts +2 -0
- package/dist/observation/__tests__/capability-detector-detect.test.d.ts.map +1 -0
- package/dist/observation/__tests__/capability-detector-detect.test.js +357 -0
- package/dist/observation/__tests__/capability-detector-detect.test.js.map +1 -0
- package/dist/observation/__tests__/capability-detector-escalate.test.d.ts +2 -0
- package/dist/observation/__tests__/capability-detector-escalate.test.d.ts.map +1 -0
- package/dist/observation/__tests__/capability-detector-escalate.test.js +283 -0
- package/dist/observation/__tests__/capability-detector-escalate.test.js.map +1 -0
- package/dist/observation/__tests__/capability-detector-goal.test.d.ts +2 -0
- package/dist/observation/__tests__/capability-detector-goal.test.d.ts.map +1 -0
- package/dist/observation/__tests__/capability-detector-goal.test.js +288 -0
- package/dist/observation/__tests__/capability-detector-goal.test.js.map +1 -0
- package/dist/observation/__tests__/capability-detector-verify.test.d.ts +2 -0
- package/dist/observation/__tests__/capability-detector-verify.test.d.ts.map +1 -0
- package/dist/observation/__tests__/capability-detector-verify.test.js +311 -0
- package/dist/observation/__tests__/capability-detector-verify.test.js.map +1 -0
- package/dist/observation/__tests__/context-provider.test.d.ts +2 -0
- package/dist/observation/__tests__/context-provider.test.d.ts.map +1 -0
- package/dist/observation/__tests__/context-provider.test.js +318 -0
- package/dist/observation/__tests__/context-provider.test.js.map +1 -0
- package/dist/observation/__tests__/data-source-adapter.test.d.ts +2 -0
- package/dist/observation/__tests__/data-source-adapter.test.d.ts.map +1 -0
- package/dist/observation/__tests__/data-source-adapter.test.js +382 -0
- package/dist/observation/__tests__/data-source-adapter.test.js.map +1 -0
- package/dist/observation/__tests__/data-source-hotplug.test.d.ts +2 -0
- package/dist/observation/__tests__/data-source-hotplug.test.d.ts.map +1 -0
- package/dist/observation/__tests__/data-source-hotplug.test.js +160 -0
- package/dist/observation/__tests__/data-source-hotplug.test.js.map +1 -0
- package/dist/observation/__tests__/observation-crossvalidation-override.test.d.ts +2 -0
- package/dist/observation/__tests__/observation-crossvalidation-override.test.d.ts.map +1 -0
- package/dist/observation/__tests__/observation-crossvalidation-override.test.js +339 -0
- package/dist/observation/__tests__/observation-crossvalidation-override.test.js.map +1 -0
- package/dist/observation/__tests__/observation-engine-context.test.d.ts +2 -0
- package/dist/observation/__tests__/observation-engine-context.test.d.ts.map +1 -0
- package/dist/observation/__tests__/observation-engine-context.test.js +258 -0
- package/dist/observation/__tests__/observation-engine-context.test.js.map +1 -0
- package/dist/observation/__tests__/observation-engine-crossvalidation.test.d.ts +2 -0
- package/dist/observation/__tests__/observation-engine-crossvalidation.test.d.ts.map +1 -0
- package/dist/observation/__tests__/observation-engine-crossvalidation.test.js +222 -0
- package/dist/observation/__tests__/observation-engine-crossvalidation.test.js.map +1 -0
- package/dist/observation/__tests__/observation-engine-dedup.test.d.ts +2 -0
- package/dist/observation/__tests__/observation-engine-dedup.test.d.ts.map +1 -0
- package/dist/observation/__tests__/observation-engine-dedup.test.js +88 -0
- package/dist/observation/__tests__/observation-engine-dedup.test.js.map +1 -0
- package/dist/observation/__tests__/observation-engine-llm.test.d.ts +2 -0
- package/dist/observation/__tests__/observation-engine-llm.test.d.ts.map +1 -0
- package/dist/observation/__tests__/observation-engine-llm.test.js +474 -0
- package/dist/observation/__tests__/observation-engine-llm.test.js.map +1 -0
- package/dist/observation/__tests__/observation-engine-prompt.test.d.ts +2 -0
- package/dist/observation/__tests__/observation-engine-prompt.test.d.ts.map +1 -0
- package/dist/observation/__tests__/observation-engine-prompt.test.js +211 -0
- package/dist/observation/__tests__/observation-engine-prompt.test.js.map +1 -0
- package/dist/observation/__tests__/observation-engine.test.d.ts +2 -0
- package/dist/observation/__tests__/observation-engine.test.d.ts.map +1 -0
- package/dist/observation/__tests__/observation-engine.test.js +806 -0
- package/dist/observation/__tests__/observation-engine.test.js.map +1 -0
- package/dist/observation/__tests__/observation-llm-guard.test.d.ts +2 -0
- package/dist/observation/__tests__/observation-llm-guard.test.d.ts.map +1 -0
- package/dist/observation/__tests__/observation-llm-guard.test.js +353 -0
- package/dist/observation/__tests__/observation-llm-guard.test.js.map +1 -0
- package/dist/observation/__tests__/observation-llm.test.d.ts +2 -0
- package/dist/observation/__tests__/observation-llm.test.d.ts.map +1 -0
- package/dist/observation/__tests__/observation-llm.test.js +29 -0
- package/dist/observation/__tests__/observation-llm.test.js.map +1 -0
- package/dist/observation/__tests__/observation-score-clamp.test.d.ts +2 -0
- package/dist/observation/__tests__/observation-score-clamp.test.d.ts.map +1 -0
- package/dist/observation/__tests__/observation-score-clamp.test.js +165 -0
- package/dist/observation/__tests__/observation-score-clamp.test.js.map +1 -0
- package/dist/observation/__tests__/shell-datasource-auto.test.d.ts +2 -0
- package/dist/observation/__tests__/shell-datasource-auto.test.d.ts.map +1 -0
- package/dist/observation/__tests__/shell-datasource-auto.test.js +217 -0
- package/dist/observation/__tests__/shell-datasource-auto.test.js.map +1 -0
- package/dist/observation/__tests__/workspace-context.test.d.ts +2 -0
- package/dist/observation/__tests__/workspace-context.test.d.ts.map +1 -0
- package/dist/observation/__tests__/workspace-context.test.js +291 -0
- package/dist/observation/__tests__/workspace-context.test.js.map +1 -0
- package/dist/observation/capability-dependencies.d.ts +1 -1
- package/dist/observation/capability-dependencies.d.ts.map +1 -1
- package/dist/observation/capability-detector.d.ts +3 -3
- package/dist/observation/capability-detector.d.ts.map +1 -1
- package/dist/observation/capability-registry.d.ts +2 -2
- package/dist/observation/capability-registry.d.ts.map +1 -1
- package/dist/observation/context-provider.d.ts +8 -3
- package/dist/observation/context-provider.d.ts.map +1 -1
- package/dist/observation/context-provider.js +136 -36
- package/dist/observation/context-provider.js.map +1 -1
- package/dist/observation/data-source-adapter.js +1 -1
- package/dist/observation/data-source-adapter.js.map +1 -1
- package/dist/observation/observation-apply.d.ts +1 -1
- package/dist/observation/observation-apply.d.ts.map +1 -1
- package/dist/observation/observation-engine.d.ts +2 -2
- package/dist/observation/observation-engine.d.ts.map +1 -1
- package/dist/observation/observation-helpers.d.ts +2 -2
- package/dist/observation/observation-llm.d.ts +1 -1
- package/dist/observation/observation-llm.d.ts.map +1 -1
- package/dist/observation/observation-llm.js +2 -2
- package/dist/observation/observation-llm.js.map +1 -1
- package/dist/observation/types/capability.d.ts +292 -0
- package/dist/observation/types/capability.d.ts.map +1 -0
- package/dist/observation/types/capability.js +53 -0
- package/dist/observation/types/capability.js.map +1 -0
- package/dist/observation/types/data-source.d.ts +311 -0
- package/dist/observation/types/data-source.d.ts.map +1 -0
- package/dist/observation/types/data-source.js +53 -0
- package/dist/observation/types/data-source.js.map +1 -0
- package/dist/orchestrator/__tests__/goal-loop-guard.test.d.ts +2 -0
- package/dist/orchestrator/__tests__/goal-loop-guard.test.d.ts.map +1 -0
- package/dist/orchestrator/__tests__/goal-loop-guard.test.js +48 -0
- package/dist/orchestrator/__tests__/goal-loop-guard.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/adapter-layer.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/adapter-layer.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/adapter-layer.test.js +88 -0
- package/dist/orchestrator/execution/__tests__/adapter-layer.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/checkpoint-manager.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/checkpoint-manager.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/checkpoint-manager.test.js +304 -0
- package/dist/orchestrator/execution/__tests__/checkpoint-manager.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/completion-judger-timeout.test.d.ts +11 -0
- package/dist/orchestrator/execution/__tests__/completion-judger-timeout.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/completion-judger-timeout.test.js +260 -0
- package/dist/orchestrator/execution/__tests__/completion-judger-timeout.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/context-budget.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/context-budget.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/context-budget.test.js +218 -0
- package/dist/orchestrator/execution/__tests__/context-budget.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/duplicate-task-guard.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/duplicate-task-guard.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/duplicate-task-guard.test.js +187 -0
- package/dist/orchestrator/execution/__tests__/duplicate-task-guard.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/failure-context-injection.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/failure-context-injection.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/failure-context-injection.test.js +227 -0
- package/dist/orchestrator/execution/__tests__/failure-context-injection.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/impact-analyzer.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/impact-analyzer.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/impact-analyzer.test.js +117 -0
- package/dist/orchestrator/execution/__tests__/impact-analyzer.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/issue-context-fetcher.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/issue-context-fetcher.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/issue-context-fetcher.test.js +151 -0
- package/dist/orchestrator/execution/__tests__/issue-context-fetcher.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/parallel-executor.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/parallel-executor.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/parallel-executor.test.js +313 -0
- package/dist/orchestrator/execution/__tests__/parallel-executor.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/pipeline-executor.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/pipeline-executor.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/pipeline-executor.test.js +322 -0
- package/dist/orchestrator/execution/__tests__/pipeline-executor.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/reflection-generator.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/reflection-generator.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/reflection-generator.test.js +422 -0
- package/dist/orchestrator/execution/__tests__/reflection-generator.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/result-reconciler.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/result-reconciler.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/result-reconciler.test.js +112 -0
- package/dist/orchestrator/execution/__tests__/result-reconciler.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/session-manager-phase2.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/session-manager-phase2.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/session-manager-phase2.test.js +381 -0
- package/dist/orchestrator/execution/__tests__/session-manager-phase2.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/session-manager.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/session-manager.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/session-manager.test.js +653 -0
- package/dist/orchestrator/execution/__tests__/session-manager.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-generation-group.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/task-generation-group.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-generation-group.test.js +157 -0
- package/dist/orchestrator/execution/__tests__/task-generation-group.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-cycle.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-cycle.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-cycle.test.js +685 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-cycle.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-dimension.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-dimension.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-dimension.test.js +325 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-dimension.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-ethics.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-ethics.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-ethics.test.js +732 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-ethics.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-execution.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-execution.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-execution.test.js +441 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-execution.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-generation.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-generation.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-generation.test.js +457 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-generation.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-healthcheck.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-healthcheck.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-healthcheck.test.js +325 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-healthcheck.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verdict.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verdict.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verdict.test.js +683 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verdict.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verification.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verification.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verification.test.js +526 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verification.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle.test.js +503 -0
- package/dist/orchestrator/execution/__tests__/task-lifecycle.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-prompt-builder.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/task-prompt-builder.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-prompt-builder.test.js +148 -0
- package/dist/orchestrator/execution/__tests__/task-prompt-builder.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-verifier-guards.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/task-verifier-guards.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-verifier-guards.test.js +735 -0
- package/dist/orchestrator/execution/__tests__/task-verifier-guards.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-verifier.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/task-verifier.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/task-verifier.test.js +113 -0
- package/dist/orchestrator/execution/__tests__/task-verifier.test.js.map +1 -0
- package/dist/orchestrator/execution/__tests__/toolset-lock.test.d.ts +2 -0
- package/dist/orchestrator/execution/__tests__/toolset-lock.test.d.ts.map +1 -0
- package/dist/orchestrator/execution/__tests__/toolset-lock.test.js +204 -0
- package/dist/orchestrator/execution/__tests__/toolset-lock.test.js.map +1 -0
- package/dist/orchestrator/execution/adapter-layer 2.d.ts +100 -0
- package/dist/orchestrator/execution/adapter-layer 2.d.ts.map +1 -0
- package/dist/orchestrator/execution/adapter-layer 2.js +123 -0
- package/dist/orchestrator/execution/adapter-layer 2.js.map +1 -0
- package/dist/orchestrator/execution/adapter-layer.d.ts +100 -0
- package/dist/orchestrator/execution/adapter-layer.d.ts.map +1 -0
- package/dist/orchestrator/execution/adapter-layer.js +123 -0
- package/dist/orchestrator/execution/adapter-layer.js.map +1 -0
- package/dist/orchestrator/execution/checkpoint-manager 2.d.ts +49 -0
- package/dist/orchestrator/execution/checkpoint-manager 2.d.ts.map +1 -0
- package/dist/orchestrator/execution/checkpoint-manager 2.js +143 -0
- package/dist/orchestrator/execution/checkpoint-manager 2.js.map +1 -0
- package/dist/orchestrator/execution/checkpoint-manager.d.ts +49 -0
- package/dist/orchestrator/execution/checkpoint-manager.d.ts.map +1 -0
- package/dist/orchestrator/execution/checkpoint-manager.js +143 -0
- package/dist/orchestrator/execution/checkpoint-manager.js.map +1 -0
- package/dist/orchestrator/execution/context/context-budget.d.ts +35 -0
- package/dist/orchestrator/execution/context/context-budget.d.ts.map +1 -0
- package/dist/orchestrator/execution/context/context-budget.js +73 -0
- package/dist/orchestrator/execution/context/context-budget.js.map +1 -0
- package/dist/orchestrator/execution/context/context-builder.d.ts +44 -0
- package/dist/orchestrator/execution/context/context-builder.d.ts.map +1 -0
- package/dist/orchestrator/execution/context/context-builder.js +132 -0
- package/dist/orchestrator/execution/context/context-builder.js.map +1 -0
- package/dist/orchestrator/execution/context/dimension-selector.d.ts +16 -0
- package/dist/orchestrator/execution/context/dimension-selector.d.ts.map +1 -0
- package/dist/orchestrator/execution/context/dimension-selector.js +57 -0
- package/dist/orchestrator/execution/context/dimension-selector.js.map +1 -0
- package/dist/orchestrator/execution/context/issue-context-fetcher.d.ts +19 -0
- package/dist/orchestrator/execution/context/issue-context-fetcher.d.ts.map +1 -0
- package/dist/orchestrator/execution/context/issue-context-fetcher.js +73 -0
- package/dist/orchestrator/execution/context/issue-context-fetcher.js.map +1 -0
- package/dist/orchestrator/execution/impact-analyzer 2.d.ts +24 -0
- package/dist/orchestrator/execution/impact-analyzer 2.d.ts.map +1 -0
- package/dist/orchestrator/execution/impact-analyzer 2.js +88 -0
- package/dist/orchestrator/execution/impact-analyzer 2.js.map +1 -0
- package/dist/orchestrator/execution/impact-analyzer.d.ts +24 -0
- package/dist/orchestrator/execution/impact-analyzer.d.ts.map +1 -0
- package/dist/orchestrator/execution/impact-analyzer.js +88 -0
- package/dist/orchestrator/execution/impact-analyzer.js.map +1 -0
- package/dist/orchestrator/execution/parallel-executor 2.d.ts +38 -0
- package/dist/orchestrator/execution/parallel-executor 2.d.ts.map +1 -0
- package/dist/orchestrator/execution/parallel-executor 2.js +172 -0
- package/dist/orchestrator/execution/parallel-executor 2.js.map +1 -0
- package/dist/orchestrator/execution/parallel-executor.d.ts +38 -0
- package/dist/orchestrator/execution/parallel-executor.d.ts.map +1 -0
- package/dist/orchestrator/execution/parallel-executor.js +172 -0
- package/dist/orchestrator/execution/parallel-executor.js.map +1 -0
- package/dist/orchestrator/execution/pipeline-executor 2.d.ts +54 -0
- package/dist/orchestrator/execution/pipeline-executor 2.d.ts.map +1 -0
- package/dist/orchestrator/execution/pipeline-executor 2.js +250 -0
- package/dist/orchestrator/execution/pipeline-executor 2.js.map +1 -0
- package/dist/orchestrator/execution/pipeline-executor.d.ts +54 -0
- package/dist/orchestrator/execution/pipeline-executor.d.ts.map +1 -0
- package/dist/orchestrator/execution/pipeline-executor.js +250 -0
- package/dist/orchestrator/execution/pipeline-executor.js.map +1 -0
- package/dist/orchestrator/execution/reflection-generator 2.d.ts +24 -0
- package/dist/orchestrator/execution/reflection-generator 2.d.ts.map +1 -0
- package/dist/orchestrator/execution/reflection-generator 2.js +143 -0
- package/dist/orchestrator/execution/reflection-generator 2.js.map +1 -0
- package/dist/orchestrator/execution/reflection-generator.d.ts +24 -0
- package/dist/orchestrator/execution/reflection-generator.d.ts.map +1 -0
- package/dist/orchestrator/execution/reflection-generator.js +143 -0
- package/dist/orchestrator/execution/reflection-generator.js.map +1 -0
- package/dist/orchestrator/execution/result-reconciler 2.d.ts +23 -0
- package/dist/orchestrator/execution/result-reconciler 2.d.ts.map +1 -0
- package/dist/orchestrator/execution/result-reconciler 2.js +109 -0
- package/dist/orchestrator/execution/result-reconciler 2.js.map +1 -0
- package/dist/orchestrator/execution/result-reconciler.d.ts +23 -0
- package/dist/orchestrator/execution/result-reconciler.d.ts.map +1 -0
- package/dist/orchestrator/execution/result-reconciler.js +109 -0
- package/dist/orchestrator/execution/result-reconciler.js.map +1 -0
- package/dist/orchestrator/execution/session-manager 2.d.ts +153 -0
- package/dist/orchestrator/execution/session-manager 2.d.ts.map +1 -0
- package/dist/orchestrator/execution/session-manager 2.js +393 -0
- package/dist/orchestrator/execution/session-manager 2.js.map +1 -0
- package/dist/orchestrator/execution/session-manager.d.ts +153 -0
- package/dist/orchestrator/execution/session-manager.d.ts.map +1 -0
- package/dist/orchestrator/execution/session-manager.js +393 -0
- package/dist/orchestrator/execution/session-manager.js.map +1 -0
- package/dist/orchestrator/execution/task/task-approval-check.d.ts +9 -0
- package/dist/orchestrator/execution/task/task-approval-check.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-approval-check.js +14 -0
- package/dist/orchestrator/execution/task/task-approval-check.js.map +1 -0
- package/dist/orchestrator/execution/task/task-approval.d.ts +22 -0
- package/dist/orchestrator/execution/task/task-approval.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-approval.js +147 -0
- package/dist/orchestrator/execution/task/task-approval.js.map +1 -0
- package/dist/orchestrator/execution/task/task-execution-types.d.ts +18 -0
- package/dist/orchestrator/execution/task/task-execution-types.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-execution-types.js +10 -0
- package/dist/orchestrator/execution/task/task-execution-types.js.map +1 -0
- package/dist/orchestrator/execution/task/task-executor.d.ts +31 -0
- package/dist/orchestrator/execution/task/task-executor.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-executor.js +221 -0
- package/dist/orchestrator/execution/task/task-executor.js.map +1 -0
- package/dist/orchestrator/execution/task/task-generation.d.ts +154 -0
- package/dist/orchestrator/execution/task/task-generation.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-generation.js +416 -0
- package/dist/orchestrator/execution/task/task-generation.js.map +1 -0
- package/dist/orchestrator/execution/task/task-health-check.d.ts +41 -0
- package/dist/orchestrator/execution/task/task-health-check.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-health-check.js +100 -0
- package/dist/orchestrator/execution/task/task-health-check.js.map +1 -0
- package/dist/orchestrator/execution/task/task-lifecycle.d.ts +135 -0
- package/dist/orchestrator/execution/task/task-lifecycle.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-lifecycle.js +356 -0
- package/dist/orchestrator/execution/task/task-lifecycle.js.map +1 -0
- package/dist/orchestrator/execution/task/task-pipeline-cycle.d.ts +45 -0
- package/dist/orchestrator/execution/task/task-pipeline-cycle.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-pipeline-cycle.js +132 -0
- package/dist/orchestrator/execution/task/task-pipeline-cycle.js.map +1 -0
- package/dist/orchestrator/execution/task/task-prompt-builder.d.ts +9 -0
- package/dist/orchestrator/execution/task/task-prompt-builder.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-prompt-builder.js +197 -0
- package/dist/orchestrator/execution/task/task-prompt-builder.js.map +1 -0
- package/dist/orchestrator/execution/task/task-verifier-llm.d.ts +24 -0
- package/dist/orchestrator/execution/task/task-verifier-llm.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-verifier-llm.js +160 -0
- package/dist/orchestrator/execution/task/task-verifier-llm.js.map +1 -0
- package/dist/orchestrator/execution/task/task-verifier-rules.d.ts +31 -0
- package/dist/orchestrator/execution/task/task-verifier-rules.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-verifier-rules.js +235 -0
- package/dist/orchestrator/execution/task/task-verifier-rules.js.map +1 -0
- package/dist/orchestrator/execution/task/task-verifier-types.d.ts +82 -0
- package/dist/orchestrator/execution/task/task-verifier-types.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-verifier-types.js +9 -0
- package/dist/orchestrator/execution/task/task-verifier-types.js.map +1 -0
- package/dist/orchestrator/execution/task/task-verifier.d.ts +48 -0
- package/dist/orchestrator/execution/task/task-verifier.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-verifier.js +463 -0
- package/dist/orchestrator/execution/task/task-verifier.js.map +1 -0
- package/dist/orchestrator/execution/toolset-lock 2.d.ts +27 -0
- package/dist/orchestrator/execution/toolset-lock 2.d.ts.map +1 -0
- package/dist/orchestrator/execution/toolset-lock 2.js +49 -0
- package/dist/orchestrator/execution/toolset-lock 2.js.map +1 -0
- package/dist/orchestrator/execution/toolset-lock.d.ts +27 -0
- package/dist/orchestrator/execution/toolset-lock.d.ts.map +1 -0
- package/dist/orchestrator/execution/toolset-lock.js +49 -0
- package/dist/orchestrator/execution/toolset-lock.js.map +1 -0
- package/dist/orchestrator/execution/types/checkpoint.d.ts +133 -0
- package/dist/orchestrator/execution/types/checkpoint.d.ts.map +1 -0
- package/dist/orchestrator/execution/types/checkpoint.js +38 -0
- package/dist/orchestrator/execution/types/checkpoint.js.map +1 -0
- package/dist/orchestrator/execution/types/pipeline.d.ts +191 -0
- package/dist/orchestrator/execution/types/pipeline.d.ts.map +1 -0
- package/dist/orchestrator/execution/types/pipeline.js +62 -0
- package/dist/orchestrator/execution/types/pipeline.js.map +1 -0
- package/dist/orchestrator/execution/types/session.d.ts +95 -0
- package/dist/orchestrator/execution/types/session.d.ts.map +1 -0
- package/dist/orchestrator/execution/types/session.js +37 -0
- package/dist/orchestrator/execution/types/session.js.map +1 -0
- package/dist/orchestrator/execution/types/task-group.d.ts +246 -0
- package/dist/orchestrator/execution/types/task-group.d.ts.map +1 -0
- package/dist/orchestrator/execution/types/task-group.js +14 -0
- package/dist/orchestrator/execution/types/task-group.js.map +1 -0
- package/dist/orchestrator/execution/types/task.d.ts +267 -0
- package/dist/orchestrator/execution/types/task.d.ts.map +1 -0
- package/dist/orchestrator/execution/types/task.js +70 -0
- package/dist/orchestrator/execution/types/task.js.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-cli-refine.test.d.ts +8 -0
- package/dist/orchestrator/goal/__tests__/goal-cli-refine.test.d.ts.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-cli-refine.test.js +237 -0
- package/dist/orchestrator/goal/__tests__/goal-cli-refine.test.js.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-dependency-graph.test.d.ts +2 -0
- package/dist/orchestrator/goal/__tests__/goal-dependency-graph.test.d.ts.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-dependency-graph.test.js +352 -0
- package/dist/orchestrator/goal/__tests__/goal-dependency-graph.test.js.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-character.test.d.ts +2 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-character.test.d.ts.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-character.test.js +650 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-character.test.js.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-core.test.d.ts +2 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-core.test.d.ts.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-core.test.js +370 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-core.test.js.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-decompose.test.d.ts +2 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-decompose.test.d.ts.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-decompose.test.js +876 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-decompose.test.js.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-negotiate.test.d.ts +2 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-negotiate.test.d.ts.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-negotiate.test.js +411 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-negotiate.test.js.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest-filter.test.d.ts +2 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest-filter.test.d.ts.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest-filter.test.js +258 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest-filter.test.js.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest.test.d.ts +2 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest.test.d.ts.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest.test.js +280 -0
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest.test.js.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-refiner.refine.test.d.ts +2 -0
- package/dist/orchestrator/goal/__tests__/goal-refiner.refine.test.d.ts.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-refiner.refine.test.js +291 -0
- package/dist/orchestrator/goal/__tests__/goal-refiner.refine.test.js.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-refiner.test.d.ts +2 -0
- package/dist/orchestrator/goal/__tests__/goal-refiner.test.d.ts.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-refiner.test.js +509 -0
- package/dist/orchestrator/goal/__tests__/goal-refiner.test.js.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-suggest-timeout.test.d.ts +10 -0
- package/dist/orchestrator/goal/__tests__/goal-suggest-timeout.test.d.ts.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-suggest-timeout.test.js +63 -0
- package/dist/orchestrator/goal/__tests__/goal-suggest-timeout.test.js.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-tree-concreteness.test.d.ts +2 -0
- package/dist/orchestrator/goal/__tests__/goal-tree-concreteness.test.d.ts.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-tree-concreteness.test.js +391 -0
- package/dist/orchestrator/goal/__tests__/goal-tree-concreteness.test.js.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-tree-manager.test.d.ts +2 -0
- package/dist/orchestrator/goal/__tests__/goal-tree-manager.test.d.ts.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-tree-manager.test.js +828 -0
- package/dist/orchestrator/goal/__tests__/goal-tree-manager.test.js.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-tree-quality.test.d.ts +2 -0
- package/dist/orchestrator/goal/__tests__/goal-tree-quality.test.d.ts.map +1 -0
- package/dist/orchestrator/goal/__tests__/goal-tree-quality.test.js +150 -0
- package/dist/orchestrator/goal/__tests__/goal-tree-quality.test.js.map +1 -0
- package/dist/orchestrator/goal/__tests__/goalNegotiator.test.d.ts +2 -0
- package/dist/orchestrator/goal/__tests__/goalNegotiator.test.d.ts.map +1 -0
- package/dist/orchestrator/goal/__tests__/goalNegotiator.test.js +418 -0
- package/dist/orchestrator/goal/__tests__/goalNegotiator.test.js.map +1 -0
- package/dist/orchestrator/goal/__tests__/negotiate-context.test.d.ts +2 -0
- package/dist/orchestrator/goal/__tests__/negotiate-context.test.d.ts.map +1 -0
- package/dist/orchestrator/goal/__tests__/negotiate-context.test.js +192 -0
- package/dist/orchestrator/goal/__tests__/negotiate-context.test.js.map +1 -0
- package/dist/orchestrator/goal/__tests__/refine.test.d.ts +2 -0
- package/dist/orchestrator/goal/__tests__/refine.test.d.ts.map +1 -0
- package/dist/orchestrator/goal/__tests__/refine.test.js +354 -0
- package/dist/orchestrator/goal/__tests__/refine.test.js.map +1 -0
- package/dist/orchestrator/goal/__tests__/refiner-prompts.test.d.ts +2 -0
- package/dist/orchestrator/goal/__tests__/refiner-prompts.test.d.ts.map +1 -0
- package/dist/orchestrator/goal/__tests__/refiner-prompts.test.js +92 -0
- package/dist/orchestrator/goal/__tests__/refiner-prompts.test.js.map +1 -0
- package/dist/orchestrator/goal/__tests__/state-aggregator.test.d.ts +2 -0
- package/dist/orchestrator/goal/__tests__/state-aggregator.test.d.ts.map +1 -0
- package/dist/orchestrator/goal/__tests__/state-aggregator.test.js +840 -0
- package/dist/orchestrator/goal/__tests__/state-aggregator.test.js.map +1 -0
- package/dist/orchestrator/goal/__tests__/subgoal-curriculum.test.d.ts +2 -0
- package/dist/orchestrator/goal/__tests__/subgoal-curriculum.test.d.ts.map +1 -0
- package/dist/orchestrator/goal/__tests__/subgoal-curriculum.test.js +219 -0
- package/dist/orchestrator/goal/__tests__/subgoal-curriculum.test.js.map +1 -0
- package/dist/orchestrator/goal/__tests__/tree-loop-orchestrator.test.d.ts +2 -0
- package/dist/orchestrator/goal/__tests__/tree-loop-orchestrator.test.d.ts.map +1 -0
- package/dist/orchestrator/goal/__tests__/tree-loop-orchestrator.test.js +1078 -0
- package/dist/orchestrator/goal/__tests__/tree-loop-orchestrator.test.js.map +1 -0
- package/dist/orchestrator/goal/goal-decomposer 2.d.ts +30 -0
- package/dist/orchestrator/goal/goal-decomposer 2.d.ts.map +1 -0
- package/dist/orchestrator/goal/goal-decomposer 2.js +167 -0
- package/dist/orchestrator/goal/goal-decomposer 2.js.map +1 -0
- package/dist/orchestrator/goal/goal-decomposer.d.ts +30 -0
- package/dist/orchestrator/goal/goal-decomposer.d.ts.map +1 -0
- package/dist/orchestrator/goal/goal-decomposer.js +167 -0
- package/dist/orchestrator/goal/goal-decomposer.js.map +1 -0
- package/dist/orchestrator/goal/goal-dependency-graph 2.d.ts +124 -0
- package/dist/orchestrator/goal/goal-dependency-graph 2.d.ts.map +1 -0
- package/dist/orchestrator/goal/goal-dependency-graph 2.js +325 -0
- package/dist/orchestrator/goal/goal-dependency-graph 2.js.map +1 -0
- package/dist/orchestrator/goal/goal-dependency-graph.d.ts +124 -0
- package/dist/orchestrator/goal/goal-dependency-graph.d.ts.map +1 -0
- package/dist/orchestrator/goal/goal-dependency-graph.js +325 -0
- package/dist/orchestrator/goal/goal-dependency-graph.js.map +1 -0
- package/dist/orchestrator/goal/goal-negotiator 2.d.ts +72 -0
- package/dist/orchestrator/goal/goal-negotiator 2.d.ts.map +1 -0
- package/dist/orchestrator/goal/goal-negotiator 2.js +299 -0
- package/dist/orchestrator/goal/goal-negotiator 2.js.map +1 -0
- package/dist/orchestrator/goal/goal-negotiator.d.ts +72 -0
- package/dist/orchestrator/goal/goal-negotiator.d.ts.map +1 -0
- package/dist/orchestrator/goal/goal-negotiator.js +299 -0
- package/dist/orchestrator/goal/goal-negotiator.js.map +1 -0
- package/dist/orchestrator/goal/goal-refiner 2.d.ts +48 -0
- package/dist/orchestrator/goal/goal-refiner 2.d.ts.map +1 -0
- package/dist/orchestrator/goal/goal-refiner 2.js +299 -0
- package/dist/orchestrator/goal/goal-refiner 2.js.map +1 -0
- package/dist/orchestrator/goal/goal-refiner.d.ts +48 -0
- package/dist/orchestrator/goal/goal-refiner.d.ts.map +1 -0
- package/dist/orchestrator/goal/goal-refiner.js +299 -0
- package/dist/orchestrator/goal/goal-refiner.js.map +1 -0
- package/dist/orchestrator/goal/goal-suggest 2.d.ts +93 -0
- package/dist/orchestrator/goal/goal-suggest 2.d.ts.map +1 -0
- package/dist/orchestrator/goal/goal-suggest 2.js +254 -0
- package/dist/orchestrator/goal/goal-suggest 2.js.map +1 -0
- package/dist/orchestrator/goal/goal-suggest.d.ts +93 -0
- package/dist/orchestrator/goal/goal-suggest.d.ts.map +1 -0
- package/dist/orchestrator/goal/goal-suggest.js +254 -0
- package/dist/orchestrator/goal/goal-suggest.js.map +1 -0
- package/dist/orchestrator/goal/goal-tree-manager 2.d.ts +72 -0
- package/dist/orchestrator/goal/goal-tree-manager 2.d.ts.map +1 -0
- package/dist/orchestrator/goal/goal-tree-manager 2.js +572 -0
- package/dist/orchestrator/goal/goal-tree-manager 2.js.map +1 -0
- package/dist/orchestrator/goal/goal-tree-manager.d.ts +72 -0
- package/dist/orchestrator/goal/goal-tree-manager.d.ts.map +1 -0
- package/dist/orchestrator/goal/goal-tree-manager.js +572 -0
- package/dist/orchestrator/goal/goal-tree-manager.js.map +1 -0
- package/dist/orchestrator/goal/goal-tree-pruner 2.d.ts +25 -0
- package/dist/orchestrator/goal/goal-tree-pruner 2.d.ts.map +1 -0
- package/dist/orchestrator/goal/goal-tree-pruner 2.js +93 -0
- package/dist/orchestrator/goal/goal-tree-pruner 2.js.map +1 -0
- package/dist/orchestrator/goal/goal-tree-pruner.d.ts +25 -0
- package/dist/orchestrator/goal/goal-tree-pruner.d.ts.map +1 -0
- package/dist/orchestrator/goal/goal-tree-pruner.js +93 -0
- package/dist/orchestrator/goal/goal-tree-pruner.js.map +1 -0
- package/dist/orchestrator/goal/goal-tree-quality 2.d.ts +22 -0
- package/dist/orchestrator/goal/goal-tree-quality 2.d.ts.map +1 -0
- package/dist/orchestrator/goal/goal-tree-quality 2.js +183 -0
- package/dist/orchestrator/goal/goal-tree-quality 2.js.map +1 -0
- package/dist/orchestrator/goal/goal-tree-quality.d.ts +22 -0
- package/dist/orchestrator/goal/goal-tree-quality.d.ts.map +1 -0
- package/dist/orchestrator/goal/goal-tree-quality.js +183 -0
- package/dist/orchestrator/goal/goal-tree-quality.js.map +1 -0
- package/dist/orchestrator/goal/goal-validation 2.d.ts +20 -0
- package/dist/orchestrator/goal/goal-validation 2.d.ts.map +1 -0
- package/dist/orchestrator/goal/goal-validation 2.js +93 -0
- package/dist/orchestrator/goal/goal-validation 2.js.map +1 -0
- package/dist/orchestrator/goal/goal-validation.d.ts +20 -0
- package/dist/orchestrator/goal/goal-validation.d.ts.map +1 -0
- package/dist/orchestrator/goal/goal-validation.js +93 -0
- package/dist/orchestrator/goal/goal-validation.js.map +1 -0
- package/dist/orchestrator/goal/milestone-evaluator 2.d.ts +33 -0
- package/dist/orchestrator/goal/milestone-evaluator 2.d.ts.map +1 -0
- package/dist/orchestrator/goal/milestone-evaluator 2.js +130 -0
- package/dist/orchestrator/goal/milestone-evaluator 2.js.map +1 -0
- package/dist/orchestrator/goal/milestone-evaluator.d.ts +33 -0
- package/dist/orchestrator/goal/milestone-evaluator.d.ts.map +1 -0
- package/dist/orchestrator/goal/milestone-evaluator.js +130 -0
- package/dist/orchestrator/goal/milestone-evaluator.js.map +1 -0
- package/dist/orchestrator/goal/negotiator-context 2.d.ts +13 -0
- package/dist/orchestrator/goal/negotiator-context 2.d.ts.map +1 -0
- package/dist/orchestrator/goal/negotiator-context 2.js +119 -0
- package/dist/orchestrator/goal/negotiator-context 2.js.map +1 -0
- package/dist/orchestrator/goal/negotiator-context.d.ts +16 -0
- package/dist/orchestrator/goal/negotiator-context.d.ts.map +1 -0
- package/dist/orchestrator/goal/negotiator-context.js +196 -0
- package/dist/orchestrator/goal/negotiator-context.js.map +1 -0
- package/dist/orchestrator/goal/negotiator-prompts 2.d.ts +31 -0
- package/dist/orchestrator/goal/negotiator-prompts 2.d.ts.map +1 -0
- package/dist/orchestrator/goal/negotiator-prompts 2.js +65 -0
- package/dist/orchestrator/goal/negotiator-prompts 2.js.map +1 -0
- package/dist/orchestrator/goal/negotiator-prompts.d.ts +31 -0
- package/dist/orchestrator/goal/negotiator-prompts.d.ts.map +1 -0
- package/dist/orchestrator/goal/negotiator-prompts.js +65 -0
- package/dist/orchestrator/goal/negotiator-prompts.js.map +1 -0
- package/dist/orchestrator/goal/negotiator-steps 2.d.ts +59 -0
- package/dist/orchestrator/goal/negotiator-steps 2.d.ts.map +1 -0
- package/dist/orchestrator/goal/negotiator-steps 2.js +269 -0
- package/dist/orchestrator/goal/negotiator-steps 2.js.map +1 -0
- package/dist/orchestrator/goal/negotiator-steps.d.ts +59 -0
- package/dist/orchestrator/goal/negotiator-steps.d.ts.map +1 -0
- package/dist/orchestrator/goal/negotiator-steps.js +269 -0
- package/dist/orchestrator/goal/negotiator-steps.js.map +1 -0
- package/dist/orchestrator/goal/refiner-prompts 2.d.ts +10 -0
- package/dist/orchestrator/goal/refiner-prompts 2.d.ts.map +1 -0
- package/dist/orchestrator/goal/refiner-prompts 2.js +59 -0
- package/dist/orchestrator/goal/refiner-prompts 2.js.map +1 -0
- package/dist/orchestrator/goal/refiner-prompts.d.ts +10 -0
- package/dist/orchestrator/goal/refiner-prompts.d.ts.map +1 -0
- package/dist/orchestrator/goal/refiner-prompts.js +59 -0
- package/dist/orchestrator/goal/refiner-prompts.js.map +1 -0
- package/dist/orchestrator/goal/state-aggregator 2.d.ts +89 -0
- package/dist/orchestrator/goal/state-aggregator 2.d.ts.map +1 -0
- package/dist/orchestrator/goal/state-aggregator 2.js +331 -0
- package/dist/orchestrator/goal/state-aggregator 2.js.map +1 -0
- package/dist/orchestrator/goal/state-aggregator.d.ts +89 -0
- package/dist/orchestrator/goal/state-aggregator.d.ts.map +1 -0
- package/dist/orchestrator/goal/state-aggregator.js +331 -0
- package/dist/orchestrator/goal/state-aggregator.js.map +1 -0
- package/dist/orchestrator/goal/subgoal-curriculum 2.d.ts +30 -0
- package/dist/orchestrator/goal/subgoal-curriculum 2.d.ts.map +1 -0
- package/dist/orchestrator/goal/subgoal-curriculum 2.js +53 -0
- package/dist/orchestrator/goal/subgoal-curriculum 2.js.map +1 -0
- package/dist/orchestrator/goal/subgoal-curriculum.d.ts +30 -0
- package/dist/orchestrator/goal/subgoal-curriculum.d.ts.map +1 -0
- package/dist/orchestrator/goal/subgoal-curriculum.js +53 -0
- package/dist/orchestrator/goal/subgoal-curriculum.js.map +1 -0
- package/dist/orchestrator/goal/tree-loop-orchestrator 2.d.ts +100 -0
- package/dist/orchestrator/goal/tree-loop-orchestrator 2.d.ts.map +1 -0
- package/dist/orchestrator/goal/tree-loop-orchestrator 2.js +269 -0
- package/dist/orchestrator/goal/tree-loop-orchestrator 2.js.map +1 -0
- package/dist/orchestrator/goal/tree-loop-orchestrator.d.ts +100 -0
- package/dist/orchestrator/goal/tree-loop-orchestrator.d.ts.map +1 -0
- package/dist/orchestrator/goal/tree-loop-orchestrator.js +269 -0
- package/dist/orchestrator/goal/tree-loop-orchestrator.js.map +1 -0
- package/dist/orchestrator/goal/types/dependency.d.ts +108 -0
- package/dist/orchestrator/goal/types/dependency.d.ts.map +1 -0
- package/dist/orchestrator/goal/types/dependency.js +21 -0
- package/dist/orchestrator/goal/types/dependency.js.map +1 -0
- package/dist/orchestrator/goal/types/goal-refiner.d.ts +108 -0
- package/dist/orchestrator/goal/types/goal-refiner.d.ts.map +1 -0
- package/dist/orchestrator/goal/types/goal-refiner.js +39 -0
- package/dist/orchestrator/goal/types/goal-refiner.js.map +1 -0
- package/dist/orchestrator/goal/types/goal-tree.d.ts +180 -0
- package/dist/orchestrator/goal/types/goal-tree.d.ts.map +1 -0
- package/dist/orchestrator/goal/types/goal-tree.js +73 -0
- package/dist/orchestrator/goal/types/goal-tree.js.map +1 -0
- package/dist/orchestrator/goal/types/goal.d.ts +1342 -0
- package/dist/orchestrator/goal/types/goal.d.ts.map +1 -0
- package/dist/orchestrator/goal/types/goal.js +141 -0
- package/dist/orchestrator/goal/types/goal.js.map +1 -0
- package/dist/orchestrator/goal/types/negotiation.d.ts +450 -0
- package/dist/orchestrator/goal/types/negotiation.d.ts.map +1 -0
- package/dist/orchestrator/goal/types/negotiation.js +84 -0
- package/dist/orchestrator/goal/types/negotiation.js.map +1 -0
- package/dist/orchestrator/goal/types/suggest.d.ts +92 -0
- package/dist/orchestrator/goal/types/suggest.d.ts.map +1 -0
- package/dist/orchestrator/goal/types/suggest.js +15 -0
- package/dist/orchestrator/goal/types/suggest.js.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-auto-decompose.test.d.ts +2 -0
- package/dist/orchestrator/loop/__tests__/core-loop-auto-decompose.test.d.ts.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-auto-decompose.test.js +324 -0
- package/dist/orchestrator/loop/__tests__/core-loop-auto-decompose.test.js.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-capability.test.d.ts +2 -0
- package/dist/orchestrator/loop/__tests__/core-loop-capability.test.d.ts.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-capability.test.js +362 -0
- package/dist/orchestrator/loop/__tests__/core-loop-capability.test.js.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-checkpoint.test.d.ts +2 -0
- package/dist/orchestrator/loop/__tests__/core-loop-checkpoint.test.d.ts.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-checkpoint.test.js +323 -0
- package/dist/orchestrator/loop/__tests__/core-loop-checkpoint.test.js.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-drive-context.test.d.ts +2 -0
- package/dist/orchestrator/loop/__tests__/core-loop-drive-context.test.d.ts.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-drive-context.test.js +349 -0
- package/dist/orchestrator/loop/__tests__/core-loop-drive-context.test.js.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-flow.test.d.ts +2 -0
- package/dist/orchestrator/loop/__tests__/core-loop-flow.test.d.ts.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-flow.test.js +676 -0
- package/dist/orchestrator/loop/__tests__/core-loop-flow.test.js.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-integration.test.d.ts +11 -0
- package/dist/orchestrator/loop/__tests__/core-loop-integration.test.d.ts.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-integration.test.js +295 -0
- package/dist/orchestrator/loop/__tests__/core-loop-integration.test.js.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-integrations.test.d.ts +2 -0
- package/dist/orchestrator/loop/__tests__/core-loop-integrations.test.d.ts.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-integrations.test.js +658 -0
- package/dist/orchestrator/loop/__tests__/core-loop-integrations.test.js.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-iteration.test.d.ts +2 -0
- package/dist/orchestrator/loop/__tests__/core-loop-iteration.test.d.ts.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-iteration.test.js +484 -0
- package/dist/orchestrator/loop/__tests__/core-loop-iteration.test.js.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-memory-tier.test.d.ts +11 -0
- package/dist/orchestrator/loop/__tests__/core-loop-memory-tier.test.d.ts.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-memory-tier.test.js +325 -0
- package/dist/orchestrator/loop/__tests__/core-loop-memory-tier.test.js.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-orchestrator-regression.test.d.ts +2 -0
- package/dist/orchestrator/loop/__tests__/core-loop-orchestrator-regression.test.d.ts.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-orchestrator-regression.test.js +360 -0
- package/dist/orchestrator/loop/__tests__/core-loop-orchestrator-regression.test.js.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-reporting.test.d.ts +2 -0
- package/dist/orchestrator/loop/__tests__/core-loop-reporting.test.d.ts.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-reporting.test.js +589 -0
- package/dist/orchestrator/loop/__tests__/core-loop-reporting.test.js.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-stall-refine.test.d.ts +15 -0
- package/dist/orchestrator/loop/__tests__/core-loop-stall-refine.test.d.ts.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-stall-refine.test.js +399 -0
- package/dist/orchestrator/loop/__tests__/core-loop-stall-refine.test.js.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-tree.test.d.ts +2 -0
- package/dist/orchestrator/loop/__tests__/core-loop-tree.test.d.ts.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop-tree.test.js +626 -0
- package/dist/orchestrator/loop/__tests__/core-loop-tree.test.js.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop.test.d.ts +2 -0
- package/dist/orchestrator/loop/__tests__/core-loop.test.d.ts.map +1 -0
- package/dist/orchestrator/loop/__tests__/core-loop.test.js +550 -0
- package/dist/orchestrator/loop/__tests__/core-loop.test.js.map +1 -0
- package/dist/orchestrator/loop/__tests__/iteration-budget.test.d.ts +2 -0
- package/dist/orchestrator/loop/__tests__/iteration-budget.test.d.ts.map +1 -0
- package/dist/orchestrator/loop/__tests__/iteration-budget.test.js +423 -0
- package/dist/orchestrator/loop/__tests__/iteration-budget.test.js.map +1 -0
- package/dist/orchestrator/loop/__tests__/r1-core-loop-completion.test.d.ts +11 -0
- package/dist/orchestrator/loop/__tests__/r1-core-loop-completion.test.d.ts.map +1 -0
- package/dist/orchestrator/loop/__tests__/r1-core-loop-completion.test.js +315 -0
- package/dist/orchestrator/loop/__tests__/r1-core-loop-completion.test.js.map +1 -0
- package/dist/orchestrator/loop/checkpoint-manager-loop.d.ts +28 -0
- package/dist/orchestrator/loop/checkpoint-manager-loop.d.ts.map +1 -0
- package/dist/orchestrator/loop/checkpoint-manager-loop.js +62 -0
- package/dist/orchestrator/loop/checkpoint-manager-loop.js.map +1 -0
- package/dist/orchestrator/loop/core-loop-capability.d.ts +19 -0
- package/dist/orchestrator/loop/core-loop-capability.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop-capability.js +107 -0
- package/dist/orchestrator/loop/core-loop-capability.js.map +1 -0
- package/dist/orchestrator/loop/core-loop-learning.d.ts +34 -0
- package/dist/orchestrator/loop/core-loop-learning.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop-learning.js +78 -0
- package/dist/orchestrator/loop/core-loop-learning.js.map +1 -0
- package/dist/orchestrator/loop/core-loop-phases-b.d.ts +31 -0
- package/dist/orchestrator/loop/core-loop-phases-b.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop-phases-b.js +458 -0
- package/dist/orchestrator/loop/core-loop-phases-b.js.map +1 -0
- package/dist/orchestrator/loop/core-loop-phases-c.d.ts +27 -0
- package/dist/orchestrator/loop/core-loop-phases-c.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop-phases-c.js +72 -0
- package/dist/orchestrator/loop/core-loop-phases-c.js.map +1 -0
- package/dist/orchestrator/loop/core-loop-phases.d.ts +59 -0
- package/dist/orchestrator/loop/core-loop-phases.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop-phases.js +327 -0
- package/dist/orchestrator/loop/core-loop-phases.js.map +1 -0
- package/dist/orchestrator/loop/core-loop-types.d.ts +283 -0
- package/dist/orchestrator/loop/core-loop-types.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop-types.js +64 -0
- package/dist/orchestrator/loop/core-loop-types.js.map +1 -0
- package/dist/orchestrator/loop/core-loop.d.ts +54 -0
- package/dist/orchestrator/loop/core-loop.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop.js +353 -0
- package/dist/orchestrator/loop/core-loop.js.map +1 -0
- package/dist/orchestrator/loop/iteration-budget.d.ts +39 -0
- package/dist/orchestrator/loop/iteration-budget.d.ts.map +1 -0
- package/dist/orchestrator/loop/iteration-budget.js +57 -0
- package/dist/orchestrator/loop/iteration-budget.js.map +1 -0
- package/dist/orchestrator/loop/loop-report-helper.d.ts +14 -0
- package/dist/orchestrator/loop/loop-report-helper.d.ts.map +1 -0
- package/dist/orchestrator/loop/loop-report-helper.js +57 -0
- package/dist/orchestrator/loop/loop-report-helper.js.map +1 -0
- package/dist/orchestrator/loop/parallel-dispatch.d.ts +16 -0
- package/dist/orchestrator/loop/parallel-dispatch.d.ts.map +1 -0
- package/dist/orchestrator/loop/parallel-dispatch.js +103 -0
- package/dist/orchestrator/loop/parallel-dispatch.js.map +1 -0
- package/dist/orchestrator/loop/post-loop-hooks.d.ts +27 -0
- package/dist/orchestrator/loop/post-loop-hooks.d.ts.map +1 -0
- package/dist/orchestrator/loop/post-loop-hooks.js +99 -0
- package/dist/orchestrator/loop/post-loop-hooks.js.map +1 -0
- package/dist/orchestrator/loop/state-diff.d.ts +41 -0
- package/dist/orchestrator/loop/state-diff.d.ts.map +1 -0
- package/dist/orchestrator/loop/state-diff.js +86 -0
- package/dist/orchestrator/loop/state-diff.js.map +1 -0
- package/dist/orchestrator/loop/tree-loop-runner.d.ts +24 -0
- package/dist/orchestrator/loop/tree-loop-runner.d.ts.map +1 -0
- package/dist/orchestrator/loop/tree-loop-runner.js +169 -0
- package/dist/orchestrator/loop/tree-loop-runner.js.map +1 -0
- package/dist/orchestrator/loop/verification-layer1.d.ts +38 -0
- package/dist/orchestrator/loop/verification-layer1.d.ts.map +1 -0
- package/dist/orchestrator/loop/verification-layer1.js +81 -0
- package/dist/orchestrator/loop/verification-layer1.js.map +1 -0
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio-phase2.test.d.ts +2 -0
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio-phase2.test.d.ts.map +1 -0
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio-phase2.test.js +472 -0
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio-phase2.test.js.map +1 -0
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio.test.d.ts +2 -0
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio.test.d.ts.map +1 -0
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio.test.js +636 -0
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio.test.js.map +1 -0
- package/dist/orchestrator/strategy/__tests__/portfolio-manager.test.d.ts +2 -0
- package/dist/orchestrator/strategy/__tests__/portfolio-manager.test.d.ts.map +1 -0
- package/dist/orchestrator/strategy/__tests__/portfolio-manager.test.js +730 -0
- package/dist/orchestrator/strategy/__tests__/portfolio-manager.test.js.map +1 -0
- package/dist/orchestrator/strategy/__tests__/strategy-auto-template.test.d.ts +2 -0
- package/dist/orchestrator/strategy/__tests__/strategy-auto-template.test.d.ts.map +1 -0
- package/dist/orchestrator/strategy/__tests__/strategy-auto-template.test.js +164 -0
- package/dist/orchestrator/strategy/__tests__/strategy-auto-template.test.js.map +1 -0
- package/dist/orchestrator/strategy/__tests__/strategy-helpers-unwrap.test.d.ts +2 -0
- package/dist/orchestrator/strategy/__tests__/strategy-helpers-unwrap.test.d.ts.map +1 -0
- package/dist/orchestrator/strategy/__tests__/strategy-helpers-unwrap.test.js +53 -0
- package/dist/orchestrator/strategy/__tests__/strategy-helpers-unwrap.test.js.map +1 -0
- package/dist/orchestrator/strategy/__tests__/strategy-manager-core.test.d.ts +2 -0
- package/dist/orchestrator/strategy/__tests__/strategy-manager-core.test.d.ts.map +1 -0
- package/dist/orchestrator/strategy/__tests__/strategy-manager-core.test.js +342 -0
- package/dist/orchestrator/strategy/__tests__/strategy-manager-core.test.js.map +1 -0
- package/dist/orchestrator/strategy/__tests__/strategy-manager-phase2.test.d.ts +2 -0
- package/dist/orchestrator/strategy/__tests__/strategy-manager-phase2.test.d.ts.map +1 -0
- package/dist/orchestrator/strategy/__tests__/strategy-manager-phase2.test.js +602 -0
- package/dist/orchestrator/strategy/__tests__/strategy-manager-phase2.test.js.map +1 -0
- package/dist/orchestrator/strategy/__tests__/strategy-manager-stall.test.d.ts +2 -0
- package/dist/orchestrator/strategy/__tests__/strategy-manager-stall.test.d.ts.map +1 -0
- package/dist/orchestrator/strategy/__tests__/strategy-manager-stall.test.js +357 -0
- package/dist/orchestrator/strategy/__tests__/strategy-manager-stall.test.js.map +1 -0
- package/dist/orchestrator/strategy/__tests__/strategy-template-embedding.test.d.ts +2 -0
- package/dist/orchestrator/strategy/__tests__/strategy-template-embedding.test.d.ts.map +1 -0
- package/dist/orchestrator/strategy/__tests__/strategy-template-embedding.test.js +310 -0
- package/dist/orchestrator/strategy/__tests__/strategy-template-embedding.test.js.map +1 -0
- package/dist/orchestrator/strategy/__tests__/strategy-template-registry.test.d.ts +2 -0
- package/dist/orchestrator/strategy/__tests__/strategy-template-registry.test.d.ts.map +1 -0
- package/dist/orchestrator/strategy/__tests__/strategy-template-registry.test.js +402 -0
- package/dist/orchestrator/strategy/__tests__/strategy-template-registry.test.js.map +1 -0
- package/dist/orchestrator/strategy/cross-goal-portfolio.d.ts +115 -0
- package/dist/orchestrator/strategy/cross-goal-portfolio.d.ts.map +1 -0
- package/dist/orchestrator/strategy/cross-goal-portfolio.js +389 -0
- package/dist/orchestrator/strategy/cross-goal-portfolio.js.map +1 -0
- package/dist/orchestrator/strategy/portfolio-allocation.d.ts +69 -0
- package/dist/orchestrator/strategy/portfolio-allocation.d.ts.map +1 -0
- package/dist/orchestrator/strategy/portfolio-allocation.js +264 -0
- package/dist/orchestrator/strategy/portfolio-allocation.js.map +1 -0
- package/dist/orchestrator/strategy/portfolio-manager.d.ts +147 -0
- package/dist/orchestrator/strategy/portfolio-manager.d.ts.map +1 -0
- package/dist/orchestrator/strategy/portfolio-manager.js +340 -0
- package/dist/orchestrator/strategy/portfolio-manager.js.map +1 -0
- package/dist/orchestrator/strategy/portfolio-momentum.d.ts +11 -0
- package/dist/orchestrator/strategy/portfolio-momentum.d.ts.map +1 -0
- package/dist/orchestrator/strategy/portfolio-momentum.js +64 -0
- package/dist/orchestrator/strategy/portfolio-momentum.js.map +1 -0
- package/dist/orchestrator/strategy/portfolio-rebalance.d.ts +75 -0
- package/dist/orchestrator/strategy/portfolio-rebalance.d.ts.map +1 -0
- package/dist/orchestrator/strategy/portfolio-rebalance.js.map +1 -0
- package/dist/orchestrator/strategy/portfolio-scheduling.d.ts +25 -0
- package/dist/orchestrator/strategy/portfolio-scheduling.d.ts.map +1 -0
- package/dist/orchestrator/strategy/portfolio-scheduling.js +133 -0
- package/dist/orchestrator/strategy/portfolio-scheduling.js.map +1 -0
- package/dist/orchestrator/strategy/strategy-helpers.d.ts +119 -0
- package/dist/orchestrator/strategy/strategy-helpers.d.ts.map +1 -0
- package/dist/orchestrator/strategy/strategy-helpers.js +178 -0
- package/dist/orchestrator/strategy/strategy-helpers.js.map +1 -0
- package/dist/orchestrator/strategy/strategy-manager-base.d.ts +120 -0
- package/dist/orchestrator/strategy/strategy-manager-base.d.ts.map +1 -0
- package/dist/orchestrator/strategy/strategy-manager-base.js +451 -0
- package/dist/orchestrator/strategy/strategy-manager-base.js.map +1 -0
- package/dist/orchestrator/strategy/strategy-manager.d.ts +65 -0
- package/dist/orchestrator/strategy/strategy-manager.d.ts.map +1 -0
- package/dist/orchestrator/strategy/strategy-manager.js +226 -0
- package/dist/orchestrator/strategy/strategy-manager.js.map +1 -0
- package/dist/orchestrator/strategy/strategy-template-registry.d.ts +84 -0
- package/dist/orchestrator/strategy/strategy-template-registry.d.ts.map +1 -0
- package/dist/orchestrator/strategy/strategy-template-registry.js +350 -0
- package/dist/orchestrator/strategy/strategy-template-registry.js.map +1 -0
- package/dist/orchestrator/strategy/strategy-workspace.d.ts +53 -0
- package/dist/orchestrator/strategy/strategy-workspace.d.ts.map +1 -0
- package/dist/orchestrator/strategy/strategy-workspace.js +121 -0
- package/dist/orchestrator/strategy/strategy-workspace.js.map +1 -0
- package/dist/orchestrator/strategy/types/cross-portfolio.d.ts +378 -0
- package/dist/orchestrator/strategy/types/cross-portfolio.d.ts.map +1 -0
- package/dist/orchestrator/strategy/types/cross-portfolio.js +155 -0
- package/dist/orchestrator/strategy/types/cross-portfolio.js.map +1 -0
- package/dist/orchestrator/strategy/types/portfolio.d.ts +146 -0
- package/dist/orchestrator/strategy/types/portfolio.d.ts.map +1 -0
- package/dist/orchestrator/strategy/types/portfolio.js +55 -0
- package/dist/orchestrator/strategy/types/portfolio.js.map +1 -0
- package/dist/orchestrator/strategy/types/strategy.d.ts +574 -0
- package/dist/orchestrator/strategy/types/strategy.d.ts.map +1 -0
- package/dist/orchestrator/strategy/types/strategy.js +60 -0
- package/dist/orchestrator/strategy/types/strategy.js.map +1 -0
- package/dist/platform/drive/__tests__/drive-scorer.test.d.ts +2 -0
- package/dist/platform/drive/__tests__/drive-scorer.test.d.ts.map +1 -0
- package/dist/platform/drive/__tests__/drive-scorer.test.js +507 -0
- package/dist/platform/drive/__tests__/drive-scorer.test.js.map +1 -0
- package/dist/platform/drive/__tests__/drive-system.test.d.ts +2 -0
- package/dist/platform/drive/__tests__/drive-system.test.d.ts.map +1 -0
- package/dist/platform/drive/__tests__/drive-system.test.js +456 -0
- package/dist/platform/drive/__tests__/drive-system.test.js.map +1 -0
- package/dist/platform/drive/__tests__/example.test.d.ts +2 -0
- package/dist/platform/drive/__tests__/example.test.d.ts.map +1 -0
- package/dist/platform/drive/__tests__/example.test.js +314 -0
- package/dist/platform/drive/__tests__/example.test.js.map +1 -0
- package/dist/platform/drive/__tests__/gap-calculator.test.d.ts +2 -0
- package/dist/platform/drive/__tests__/gap-calculator.test.d.ts.map +1 -0
- package/dist/platform/drive/__tests__/gap-calculator.test.js +619 -0
- package/dist/platform/drive/__tests__/gap-calculator.test.js.map +1 -0
- package/dist/platform/drive/__tests__/progress-predictor.test.d.ts +2 -0
- package/dist/platform/drive/__tests__/progress-predictor.test.d.ts.map +1 -0
- package/dist/platform/drive/__tests__/progress-predictor.test.js +142 -0
- package/dist/platform/drive/__tests__/progress-predictor.test.js.map +1 -0
- package/dist/platform/drive/__tests__/reward-log.test.d.ts +2 -0
- package/dist/platform/drive/__tests__/reward-log.test.d.ts.map +1 -0
- package/dist/platform/drive/__tests__/reward-log.test.js +177 -0
- package/dist/platform/drive/__tests__/reward-log.test.js.map +1 -0
- package/dist/platform/drive/__tests__/satisficing-judge-convergence.test.d.ts +2 -0
- package/dist/platform/drive/__tests__/satisficing-judge-convergence.test.d.ts.map +1 -0
- package/dist/platform/drive/__tests__/satisficing-judge-convergence.test.js +159 -0
- package/dist/platform/drive/__tests__/satisficing-judge-convergence.test.js.map +1 -0
- package/dist/platform/drive/__tests__/satisficing-judge-dimension-satisfied.test.d.ts +2 -0
- package/dist/platform/drive/__tests__/satisficing-judge-dimension-satisfied.test.d.ts.map +1 -0
- package/dist/platform/drive/__tests__/satisficing-judge-dimension-satisfied.test.js +261 -0
- package/dist/platform/drive/__tests__/satisficing-judge-dimension-satisfied.test.js.map +1 -0
- package/dist/platform/drive/__tests__/satisficing-judge-double-confirm.test.d.ts +2 -0
- package/dist/platform/drive/__tests__/satisficing-judge-double-confirm.test.d.ts.map +1 -0
- package/dist/platform/drive/__tests__/satisficing-judge-double-confirm.test.js +207 -0
- package/dist/platform/drive/__tests__/satisficing-judge-double-confirm.test.js.map +1 -0
- package/dist/platform/drive/__tests__/satisficing-judge-goal-complete.test.d.ts +2 -0
- package/dist/platform/drive/__tests__/satisficing-judge-goal-complete.test.d.ts.map +1 -0
- package/dist/platform/drive/__tests__/satisficing-judge-goal-complete.test.js +359 -0
- package/dist/platform/drive/__tests__/satisficing-judge-goal-complete.test.js.map +1 -0
- package/dist/platform/drive/__tests__/satisficing-judge-propagation-phase2.test.d.ts +2 -0
- package/dist/platform/drive/__tests__/satisficing-judge-propagation-phase2.test.d.ts.map +1 -0
- package/dist/platform/drive/__tests__/satisficing-judge-propagation-phase2.test.js +461 -0
- package/dist/platform/drive/__tests__/satisficing-judge-propagation-phase2.test.js.map +1 -0
- package/dist/platform/drive/__tests__/satisficing-judge-threshold-propagation.test.d.ts +2 -0
- package/dist/platform/drive/__tests__/satisficing-judge-threshold-propagation.test.d.ts.map +1 -0
- package/dist/platform/drive/__tests__/satisficing-judge-threshold-propagation.test.js +337 -0
- package/dist/platform/drive/__tests__/satisficing-judge-threshold-propagation.test.js.map +1 -0
- package/dist/platform/drive/__tests__/satisficing-judge-tree-convergence.test.d.ts +2 -0
- package/dist/platform/drive/__tests__/satisficing-judge-tree-convergence.test.d.ts.map +1 -0
- package/dist/platform/drive/__tests__/satisficing-judge-tree-convergence.test.js +109 -0
- package/dist/platform/drive/__tests__/satisficing-judge-tree-convergence.test.js.map +1 -0
- package/dist/platform/drive/__tests__/satisficing-judge-undershoot.test.d.ts +2 -0
- package/dist/platform/drive/__tests__/satisficing-judge-undershoot.test.d.ts.map +1 -0
- package/dist/platform/drive/__tests__/satisficing-judge-undershoot.test.js +221 -0
- package/dist/platform/drive/__tests__/satisficing-judge-undershoot.test.js.map +1 -0
- package/dist/platform/drive/__tests__/stall-detector-analysis.test.d.ts +12 -0
- package/dist/platform/drive/__tests__/stall-detector-analysis.test.d.ts.map +1 -0
- package/dist/platform/drive/__tests__/stall-detector-analysis.test.js +139 -0
- package/dist/platform/drive/__tests__/stall-detector-analysis.test.js.map +1 -0
- package/dist/platform/drive/__tests__/stall-detector-repetitive.test.d.ts +2 -0
- package/dist/platform/drive/__tests__/stall-detector-repetitive.test.d.ts.map +1 -0
- package/dist/platform/drive/__tests__/stall-detector-repetitive.test.js +84 -0
- package/dist/platform/drive/__tests__/stall-detector-repetitive.test.js.map +1 -0
- package/dist/platform/drive/__tests__/stall-detector.test.d.ts +2 -0
- package/dist/platform/drive/__tests__/stall-detector.test.d.ts.map +1 -0
- package/dist/platform/drive/__tests__/stall-detector.test.js +903 -0
- package/dist/platform/drive/__tests__/stall-detector.test.js.map +1 -0
- package/dist/platform/drive/drive-scorer.d.ts +96 -0
- package/dist/platform/drive/drive-scorer.d.ts.map +1 -0
- package/dist/platform/drive/drive-scorer.js +240 -0
- package/dist/platform/drive/drive-scorer.js.map +1 -0
- package/dist/platform/drive/drive-system.d.ts +99 -0
- package/dist/platform/drive/drive-system.d.ts.map +1 -0
- package/dist/platform/drive/drive-system.js +354 -0
- package/dist/platform/drive/drive-system.js.map +1 -0
- package/dist/platform/drive/gap-calculator-tools.d.ts +29 -0
- package/dist/platform/drive/gap-calculator-tools.d.ts.map +1 -0
- package/dist/platform/drive/gap-calculator-tools.js +75 -0
- package/dist/platform/drive/gap-calculator-tools.js.map +1 -0
- package/dist/platform/drive/gap-calculator.d.ts +88 -0
- package/dist/platform/drive/gap-calculator.d.ts.map +1 -0
- package/dist/platform/drive/gap-calculator.js +243 -0
- package/dist/platform/drive/gap-calculator.js.map +1 -0
- package/dist/platform/drive/progress-predictor.d.ts +24 -0
- package/dist/platform/drive/progress-predictor.d.ts.map +1 -0
- package/dist/platform/drive/progress-predictor.js +93 -0
- package/dist/platform/drive/progress-predictor.js.map +1 -0
- package/dist/platform/drive/reward-log.d.ts +51 -0
- package/dist/platform/drive/reward-log.d.ts.map +1 -0
- package/dist/platform/drive/reward-log.js +48 -0
- package/dist/platform/drive/reward-log.js.map +1 -0
- package/dist/platform/drive/satisficing-helpers.d.ts +28 -0
- package/dist/platform/drive/satisficing-helpers.d.ts.map +1 -0
- package/dist/platform/drive/satisficing-helpers.js +111 -0
- package/dist/platform/drive/satisficing-helpers.js.map +1 -0
- package/dist/platform/drive/satisficing-judge.d.ts +140 -0
- package/dist/platform/drive/satisficing-judge.d.ts.map +1 -0
- package/dist/platform/drive/satisficing-judge.js +427 -0
- package/dist/platform/drive/satisficing-judge.js.map +1 -0
- package/dist/platform/drive/satisficing-propagation.d.ts +30 -0
- package/dist/platform/drive/satisficing-propagation.d.ts.map +1 -0
- package/dist/platform/drive/satisficing-propagation.js +196 -0
- package/dist/platform/drive/satisficing-propagation.js.map +1 -0
- package/dist/platform/drive/stall-detector.d.ts +143 -0
- package/dist/platform/drive/stall-detector.d.ts.map +1 -0
- package/dist/platform/drive/stall-detector.js +567 -0
- package/dist/platform/drive/stall-detector.js.map +1 -0
- package/dist/platform/drive/types/drive.d.ts +194 -0
- package/dist/platform/drive/types/drive.d.ts.map +1 -0
- package/dist/platform/drive/types/drive.js +77 -0
- package/dist/platform/drive/types/drive.js.map +1 -0
- package/dist/platform/drive/types/gap.d.ts +147 -0
- package/dist/platform/drive/types/gap.d.ts.map +1 -0
- package/dist/platform/drive/types/gap.js +41 -0
- package/dist/platform/drive/types/gap.js.map +1 -0
- package/dist/platform/drive/types/satisficing.d.ts +130 -0
- package/dist/platform/drive/types/satisficing.d.ts.map +1 -0
- package/dist/platform/drive/types/satisficing.js +54 -0
- package/dist/platform/drive/types/satisficing.js.map +1 -0
- package/dist/platform/drive/types/stall.d.ts +68 -0
- package/dist/platform/drive/types/stall.d.ts.map +1 -0
- package/dist/platform/drive/types/stall.js +28 -0
- package/dist/platform/drive/types/stall.js.map +1 -0
- package/dist/platform/knowledge/__tests__/decision-record.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/decision-record.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/decision-record.test.js +141 -0
- package/dist/platform/knowledge/__tests__/decision-record.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/drive-score-adapter.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/drive-score-adapter.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/drive-score-adapter.test.js +110 -0
- package/dist/platform/knowledge/__tests__/drive-score-adapter.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/embedding-client.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/embedding-client.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/embedding-client.test.js +77 -0
- package/dist/platform/knowledge/__tests__/embedding-client.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/hierarchical-memory-integration.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/hierarchical-memory-integration.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/hierarchical-memory-integration.test.js +352 -0
- package/dist/platform/knowledge/__tests__/hierarchical-memory-integration.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/knowledge-graph.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/knowledge-graph.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/knowledge-graph.test.js +330 -0
- package/dist/platform/knowledge/__tests__/knowledge-graph.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/knowledge-manager-phase2.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/knowledge-manager-phase2.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/knowledge-manager-phase2.test.js +344 -0
- package/dist/platform/knowledge/__tests__/knowledge-manager-phase2.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/knowledge-manager.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/knowledge-manager.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/knowledge-manager.test.js +564 -0
- package/dist/platform/knowledge/__tests__/knowledge-manager.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/knowledge-transfer-apply.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/knowledge-transfer-apply.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/knowledge-transfer-apply.test.js +291 -0
- package/dist/platform/knowledge/__tests__/knowledge-transfer-apply.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/knowledge-transfer-auto-apply.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/knowledge-transfer-auto-apply.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/knowledge-transfer-auto-apply.test.js +293 -0
- package/dist/platform/knowledge/__tests__/knowledge-transfer-auto-apply.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/knowledge-transfer-detect.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/knowledge-transfer-detect.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/knowledge-transfer-detect.test.js +315 -0
- package/dist/platform/knowledge/__tests__/knowledge-transfer-detect.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/knowledge-transfer-evaluate.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/knowledge-transfer-evaluate.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/knowledge-transfer-evaluate.test.js +593 -0
- package/dist/platform/knowledge/__tests__/knowledge-transfer-evaluate.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/knowledge-transfer-incremental.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/knowledge-transfer-incremental.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/knowledge-transfer-incremental.test.js +402 -0
- package/dist/platform/knowledge/__tests__/knowledge-transfer-incremental.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/learning-cross-goal.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/learning-cross-goal.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/learning-cross-goal.test.js +377 -0
- package/dist/platform/knowledge/__tests__/learning-cross-goal.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/learning-pipeline-extraction.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/learning-pipeline-extraction.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/learning-pipeline-extraction.test.js +622 -0
- package/dist/platform/knowledge/__tests__/learning-pipeline-extraction.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/learning-pipeline-feedback.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/learning-pipeline-feedback.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/learning-pipeline-feedback.test.js +425 -0
- package/dist/platform/knowledge/__tests__/learning-pipeline-feedback.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/learning-pipeline-persistence.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/learning-pipeline-persistence.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/learning-pipeline-persistence.test.js +928 -0
- package/dist/platform/knowledge/__tests__/learning-pipeline-persistence.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/learning-pipeline-phase2.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/learning-pipeline-phase2.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/learning-pipeline-phase2.test.js +430 -0
- package/dist/platform/knowledge/__tests__/learning-pipeline-phase2.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/learning-pipeline-sharing.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/learning-pipeline-sharing.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/learning-pipeline-sharing.test.js +411 -0
- package/dist/platform/knowledge/__tests__/learning-pipeline-sharing.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/m16-integration.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/m16-integration.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/m16-integration.test.js +332 -0
- package/dist/platform/knowledge/__tests__/m16-integration.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/memory-lifecycle-phase2.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/memory-lifecycle-phase2.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/memory-lifecycle-phase2.test.js +562 -0
- package/dist/platform/knowledge/__tests__/memory-lifecycle-phase2.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/memory-lifecycle.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/memory-lifecycle.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/memory-lifecycle.test.js +432 -0
- package/dist/platform/knowledge/__tests__/memory-lifecycle.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/memory-selection.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/memory-selection.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/memory-selection.test.js +423 -0
- package/dist/platform/knowledge/__tests__/memory-selection.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/memory-tier.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/memory-tier.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/memory-tier.test.js +413 -0
- package/dist/platform/knowledge/__tests__/memory-tier.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/transfer-trust.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/transfer-trust.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/transfer-trust.test.js +137 -0
- package/dist/platform/knowledge/__tests__/transfer-trust.test.js.map +1 -0
- package/dist/platform/knowledge/__tests__/vector-index.test.d.ts +2 -0
- package/dist/platform/knowledge/__tests__/vector-index.test.d.ts.map +1 -0
- package/dist/platform/knowledge/__tests__/vector-index.test.js +152 -0
- package/dist/platform/knowledge/__tests__/vector-index.test.js.map +1 -0
- package/dist/platform/knowledge/drive-score-adapter.d.ts +39 -0
- package/dist/platform/knowledge/drive-score-adapter.d.ts.map +1 -0
- package/dist/platform/knowledge/drive-score-adapter.js +32 -0
- package/dist/platform/knowledge/drive-score-adapter.js.map +1 -0
- package/dist/platform/knowledge/embedding-client.d.ts.map +1 -0
- package/dist/platform/knowledge/embedding-client.js.map +1 -0
- package/dist/platform/knowledge/knowledge-decisions.d.ts +41 -0
- package/dist/platform/knowledge/knowledge-decisions.d.ts.map +1 -0
- package/dist/platform/knowledge/knowledge-decisions.js +191 -0
- package/dist/platform/knowledge/knowledge-decisions.js.map +1 -0
- package/dist/platform/knowledge/knowledge-graph.d.ts +74 -0
- package/dist/platform/knowledge/knowledge-graph.d.ts.map +1 -0
- package/dist/platform/knowledge/knowledge-graph.js +207 -0
- package/dist/platform/knowledge/knowledge-graph.js.map +1 -0
- package/dist/platform/knowledge/knowledge-manager-query.d.ts +87 -0
- package/dist/platform/knowledge/knowledge-manager-query.d.ts.map +1 -0
- package/dist/platform/knowledge/knowledge-manager-query.js +287 -0
- package/dist/platform/knowledge/knowledge-manager-query.js.map +1 -0
- package/dist/platform/knowledge/knowledge-manager.d.ts +128 -0
- package/dist/platform/knowledge/knowledge-manager.d.ts.map +1 -0
- package/dist/platform/knowledge/knowledge-manager.js +301 -0
- package/dist/platform/knowledge/knowledge-manager.js.map +1 -0
- package/dist/platform/knowledge/knowledge-revalidation.d.ts +27 -0
- package/dist/platform/knowledge/knowledge-revalidation.d.ts.map +1 -0
- package/dist/platform/knowledge/knowledge-revalidation.js +130 -0
- package/dist/platform/knowledge/knowledge-revalidation.js.map +1 -0
- package/dist/platform/knowledge/knowledge-search.d.ts +42 -0
- package/dist/platform/knowledge/knowledge-search.d.ts.map +1 -0
- package/dist/platform/knowledge/knowledge-search.js +96 -0
- package/dist/platform/knowledge/knowledge-search.js.map +1 -0
- package/dist/platform/knowledge/learning/learning-cross-goal.d.ts +19 -0
- package/dist/platform/knowledge/learning/learning-cross-goal.d.ts.map +1 -0
- package/dist/platform/knowledge/learning/learning-cross-goal.js +173 -0
- package/dist/platform/knowledge/learning/learning-cross-goal.js.map +1 -0
- package/dist/platform/knowledge/learning/learning-exports.d.ts +4 -0
- package/dist/platform/knowledge/learning/learning-exports.d.ts.map +1 -0
- package/dist/platform/knowledge/learning/learning-exports.js +3 -0
- package/dist/platform/knowledge/learning/learning-exports.js.map +1 -0
- package/dist/platform/knowledge/learning/learning-feedback.d.ts +26 -0
- package/dist/platform/knowledge/learning/learning-feedback.d.ts.map +1 -0
- package/dist/platform/knowledge/learning/learning-feedback.js +183 -0
- package/dist/platform/knowledge/learning/learning-feedback.js.map +1 -0
- package/dist/platform/knowledge/learning/learning-pipeline-prompts.d.ts +134 -0
- package/dist/platform/knowledge/learning/learning-pipeline-prompts.d.ts.map +1 -0
- package/dist/platform/knowledge/learning/learning-pipeline-prompts.js +103 -0
- package/dist/platform/knowledge/learning/learning-pipeline-prompts.js.map +1 -0
- package/dist/platform/knowledge/learning/learning-pipeline.d.ts +105 -0
- package/dist/platform/knowledge/learning/learning-pipeline.d.ts.map +1 -0
- package/dist/platform/knowledge/learning/learning-pipeline.js +465 -0
- package/dist/platform/knowledge/learning/learning-pipeline.js.map +1 -0
- package/dist/platform/knowledge/memory/memory-compression.d.ts +44 -0
- package/dist/platform/knowledge/memory/memory-compression.d.ts.map +1 -0
- package/dist/platform/knowledge/memory/memory-compression.js +291 -0
- package/dist/platform/knowledge/memory/memory-compression.js.map +1 -0
- package/dist/platform/knowledge/memory/memory-distill.d.ts +31 -0
- package/dist/platform/knowledge/memory/memory-distill.d.ts.map +1 -0
- package/dist/platform/knowledge/memory/memory-distill.js +170 -0
- package/dist/platform/knowledge/memory/memory-distill.js.map +1 -0
- package/dist/platform/knowledge/memory/memory-exports.d.ts +7 -0
- package/dist/platform/knowledge/memory/memory-exports.d.ts.map +1 -0
- package/dist/platform/knowledge/memory/memory-exports.js +6 -0
- package/dist/platform/knowledge/memory/memory-exports.js.map +1 -0
- package/dist/platform/knowledge/memory/memory-index.d.ts +11 -0
- package/dist/platform/knowledge/memory/memory-index.d.ts.map +1 -0
- package/dist/platform/knowledge/memory/memory-index.js +134 -0
- package/dist/platform/knowledge/memory/memory-index.js.map +1 -0
- package/dist/platform/knowledge/memory/memory-lifecycle.d.ts +169 -0
- package/dist/platform/knowledge/memory/memory-lifecycle.d.ts.map +1 -0
- package/dist/platform/knowledge/memory/memory-lifecycle.js +402 -0
- package/dist/platform/knowledge/memory/memory-lifecycle.js.map +1 -0
- package/dist/platform/knowledge/memory/memory-persistence.d.ts +30 -0
- package/dist/platform/knowledge/memory/memory-persistence.d.ts.map +1 -0
- package/dist/platform/knowledge/memory/memory-persistence.js +135 -0
- package/dist/platform/knowledge/memory/memory-persistence.js.map +1 -0
- package/dist/platform/knowledge/memory/memory-query.d.ts +4 -0
- package/dist/platform/knowledge/memory/memory-query.d.ts.map +1 -0
- package/dist/platform/knowledge/memory/memory-query.js +64 -0
- package/dist/platform/knowledge/memory/memory-query.js.map +1 -0
- package/dist/platform/knowledge/memory/memory-selection.d.ts +73 -0
- package/dist/platform/knowledge/memory/memory-selection.d.ts.map +1 -0
- package/dist/platform/knowledge/memory/memory-selection.js +328 -0
- package/dist/platform/knowledge/memory/memory-selection.js.map +1 -0
- package/dist/platform/knowledge/memory/memory-stats.d.ts +7 -0
- package/dist/platform/knowledge/memory/memory-stats.d.ts.map +1 -0
- package/dist/platform/knowledge/memory/memory-stats.js +162 -0
- package/dist/platform/knowledge/memory/memory-stats.js.map +1 -0
- package/dist/platform/knowledge/memory/memory-tier.d.ts +65 -0
- package/dist/platform/knowledge/memory/memory-tier.d.ts.map +1 -0
- package/dist/platform/knowledge/memory/memory-tier.js +243 -0
- package/dist/platform/knowledge/memory/memory-tier.js.map +1 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-apply.d.ts +48 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-apply.d.ts.map +1 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-apply.js +221 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-apply.js.map +1 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-detect.d.ts +28 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-detect.d.ts.map +1 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-detect.js +128 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-detect.js.map +1 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-evaluate.d.ts +22 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-evaluate.d.ts.map +1 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-evaluate.js +109 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-evaluate.js.map +1 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-meta.d.ts +38 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-meta.d.ts.map +1 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-meta.js +180 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-meta.js.map +1 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-prompts.d.ts +46 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-prompts.d.ts.map +1 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-prompts.js +75 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-prompts.js.map +1 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-types.d.ts +20 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-types.d.ts.map +1 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-types.js +25 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-types.js.map +1 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer.d.ts +83 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer.d.ts.map +1 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer.js +140 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer.js.map +1 -0
- package/dist/platform/knowledge/transfer/transfer-trust.d.ts +40 -0
- package/dist/platform/knowledge/transfer/transfer-trust.d.ts.map +1 -0
- package/dist/platform/knowledge/transfer/transfer-trust.js +137 -0
- package/dist/platform/knowledge/transfer/transfer-trust.js.map +1 -0
- package/dist/platform/knowledge/types/embedding.d.ts +59 -0
- package/dist/platform/knowledge/types/embedding.d.ts.map +1 -0
- package/dist/platform/knowledge/types/embedding.js +22 -0
- package/dist/platform/knowledge/types/embedding.js.map +1 -0
- package/dist/platform/knowledge/types/knowledge.d.ts +402 -0
- package/dist/platform/knowledge/types/knowledge.d.ts.map +1 -0
- package/dist/platform/knowledge/types/knowledge.js +116 -0
- package/dist/platform/knowledge/types/knowledge.js.map +1 -0
- package/dist/platform/knowledge/types/learning.d.ts +292 -0
- package/dist/platform/knowledge/types/learning.d.ts.map +1 -0
- package/dist/platform/knowledge/types/learning.js +117 -0
- package/dist/platform/knowledge/types/learning.js.map +1 -0
- package/dist/platform/knowledge/types/memory-lifecycle.d.ts +615 -0
- package/dist/platform/knowledge/types/memory-lifecycle.d.ts.map +1 -0
- package/dist/platform/knowledge/types/memory-lifecycle.js +159 -0
- package/dist/platform/knowledge/types/memory-lifecycle.js.map +1 -0
- package/dist/platform/knowledge/vector-index.d.ts +65 -0
- package/dist/platform/knowledge/vector-index.d.ts.map +1 -0
- package/dist/platform/knowledge/vector-index.js +158 -0
- package/dist/platform/knowledge/vector-index.js.map +1 -0
- package/dist/platform/observation/__tests__/capability-dependency.test.d.ts +2 -0
- package/dist/platform/observation/__tests__/capability-dependency.test.d.ts.map +1 -0
- package/dist/platform/observation/__tests__/capability-dependency.test.js +195 -0
- package/dist/platform/observation/__tests__/capability-dependency.test.js.map +1 -0
- package/dist/platform/observation/__tests__/capability-detector-detect.test.d.ts +2 -0
- package/dist/platform/observation/__tests__/capability-detector-detect.test.d.ts.map +1 -0
- package/dist/platform/observation/__tests__/capability-detector-detect.test.js +357 -0
- package/dist/platform/observation/__tests__/capability-detector-detect.test.js.map +1 -0
- package/dist/platform/observation/__tests__/capability-detector-escalate.test.d.ts +2 -0
- package/dist/platform/observation/__tests__/capability-detector-escalate.test.d.ts.map +1 -0
- package/dist/platform/observation/__tests__/capability-detector-escalate.test.js +283 -0
- package/dist/platform/observation/__tests__/capability-detector-escalate.test.js.map +1 -0
- package/dist/platform/observation/__tests__/capability-detector-goal.test.d.ts +2 -0
- package/dist/platform/observation/__tests__/capability-detector-goal.test.d.ts.map +1 -0
- package/dist/platform/observation/__tests__/capability-detector-goal.test.js +288 -0
- package/dist/platform/observation/__tests__/capability-detector-goal.test.js.map +1 -0
- package/dist/platform/observation/__tests__/capability-detector-verify.test.d.ts +2 -0
- package/dist/platform/observation/__tests__/capability-detector-verify.test.d.ts.map +1 -0
- package/dist/platform/observation/__tests__/capability-detector-verify.test.js +311 -0
- package/dist/platform/observation/__tests__/capability-detector-verify.test.js.map +1 -0
- package/dist/platform/observation/__tests__/context-provider.test.d.ts +2 -0
- package/dist/platform/observation/__tests__/context-provider.test.d.ts.map +1 -0
- package/dist/platform/observation/__tests__/context-provider.test.js +318 -0
- package/dist/platform/observation/__tests__/context-provider.test.js.map +1 -0
- package/dist/platform/observation/__tests__/data-source-adapter.test.d.ts +2 -0
- package/dist/platform/observation/__tests__/data-source-adapter.test.d.ts.map +1 -0
- package/dist/platform/observation/__tests__/data-source-adapter.test.js +382 -0
- package/dist/platform/observation/__tests__/data-source-adapter.test.js.map +1 -0
- package/dist/platform/observation/__tests__/data-source-hotplug.test.d.ts +2 -0
- package/dist/platform/observation/__tests__/data-source-hotplug.test.d.ts.map +1 -0
- package/dist/platform/observation/__tests__/data-source-hotplug.test.js +160 -0
- package/dist/platform/observation/__tests__/data-source-hotplug.test.js.map +1 -0
- package/dist/platform/observation/__tests__/observation-crossvalidation-override.test.d.ts +2 -0
- package/dist/platform/observation/__tests__/observation-crossvalidation-override.test.d.ts.map +1 -0
- package/dist/platform/observation/__tests__/observation-crossvalidation-override.test.js +339 -0
- package/dist/platform/observation/__tests__/observation-crossvalidation-override.test.js.map +1 -0
- package/dist/platform/observation/__tests__/observation-engine-context.test.d.ts +2 -0
- package/dist/platform/observation/__tests__/observation-engine-context.test.d.ts.map +1 -0
- package/dist/platform/observation/__tests__/observation-engine-context.test.js +258 -0
- package/dist/platform/observation/__tests__/observation-engine-context.test.js.map +1 -0
- package/dist/platform/observation/__tests__/observation-engine-crossvalidation.test.d.ts +2 -0
- package/dist/platform/observation/__tests__/observation-engine-crossvalidation.test.d.ts.map +1 -0
- package/dist/platform/observation/__tests__/observation-engine-crossvalidation.test.js +222 -0
- package/dist/platform/observation/__tests__/observation-engine-crossvalidation.test.js.map +1 -0
- package/dist/platform/observation/__tests__/observation-engine-dedup.test.d.ts +2 -0
- package/dist/platform/observation/__tests__/observation-engine-dedup.test.d.ts.map +1 -0
- package/dist/platform/observation/__tests__/observation-engine-dedup.test.js +88 -0
- package/dist/platform/observation/__tests__/observation-engine-dedup.test.js.map +1 -0
- package/dist/platform/observation/__tests__/observation-engine-llm.test.d.ts +2 -0
- package/dist/platform/observation/__tests__/observation-engine-llm.test.d.ts.map +1 -0
- package/dist/platform/observation/__tests__/observation-engine-llm.test.js +474 -0
- package/dist/platform/observation/__tests__/observation-engine-llm.test.js.map +1 -0
- package/dist/platform/observation/__tests__/observation-engine-prompt.test.d.ts +2 -0
- package/dist/platform/observation/__tests__/observation-engine-prompt.test.d.ts.map +1 -0
- package/dist/platform/observation/__tests__/observation-engine-prompt.test.js +211 -0
- package/dist/platform/observation/__tests__/observation-engine-prompt.test.js.map +1 -0
- package/dist/platform/observation/__tests__/observation-engine.test.d.ts +2 -0
- package/dist/platform/observation/__tests__/observation-engine.test.d.ts.map +1 -0
- package/dist/platform/observation/__tests__/observation-engine.test.js +806 -0
- package/dist/platform/observation/__tests__/observation-engine.test.js.map +1 -0
- package/dist/platform/observation/__tests__/observation-llm-guard.test.d.ts +2 -0
- package/dist/platform/observation/__tests__/observation-llm-guard.test.d.ts.map +1 -0
- package/dist/platform/observation/__tests__/observation-llm-guard.test.js +353 -0
- package/dist/platform/observation/__tests__/observation-llm-guard.test.js.map +1 -0
- package/dist/platform/observation/__tests__/observation-llm.test.d.ts +2 -0
- package/dist/platform/observation/__tests__/observation-llm.test.d.ts.map +1 -0
- package/dist/platform/observation/__tests__/observation-llm.test.js +29 -0
- package/dist/platform/observation/__tests__/observation-llm.test.js.map +1 -0
- package/dist/platform/observation/__tests__/observation-score-clamp.test.d.ts +2 -0
- package/dist/platform/observation/__tests__/observation-score-clamp.test.d.ts.map +1 -0
- package/dist/platform/observation/__tests__/observation-score-clamp.test.js +165 -0
- package/dist/platform/observation/__tests__/observation-score-clamp.test.js.map +1 -0
- package/dist/platform/observation/__tests__/shell-datasource-auto.test.d.ts +2 -0
- package/dist/platform/observation/__tests__/shell-datasource-auto.test.d.ts.map +1 -0
- package/dist/platform/observation/__tests__/shell-datasource-auto.test.js +217 -0
- package/dist/platform/observation/__tests__/shell-datasource-auto.test.js.map +1 -0
- package/dist/platform/observation/__tests__/workspace-context.test.d.ts +2 -0
- package/dist/platform/observation/__tests__/workspace-context.test.d.ts.map +1 -0
- package/dist/platform/observation/__tests__/workspace-context.test.js +291 -0
- package/dist/platform/observation/__tests__/workspace-context.test.js.map +1 -0
- package/dist/platform/observation/capability-dependencies.d.ts +45 -0
- package/dist/platform/observation/capability-dependencies.d.ts.map +1 -0
- package/dist/platform/observation/capability-dependencies.js +208 -0
- package/dist/platform/observation/capability-dependencies.js.map +1 -0
- package/dist/platform/observation/capability-detector.d.ts +72 -0
- package/dist/platform/observation/capability-detector.d.ts.map +1 -0
- package/dist/platform/observation/capability-detector.js +373 -0
- package/dist/platform/observation/capability-detector.js.map +1 -0
- package/dist/platform/observation/capability-registry.d.ts +48 -0
- package/dist/platform/observation/capability-registry.d.ts.map +1 -0
- package/dist/platform/observation/capability-registry.js +135 -0
- package/dist/platform/observation/capability-registry.js.map +1 -0
- package/dist/platform/observation/context-provider.d.ts +63 -0
- package/dist/platform/observation/context-provider.d.ts.map +1 -0
- package/dist/platform/observation/context-provider.js +400 -0
- package/dist/platform/observation/context-provider.js.map +1 -0
- package/dist/platform/observation/data-source-adapter.d.ts +42 -0
- package/dist/platform/observation/data-source-adapter.d.ts.map +1 -0
- package/dist/platform/observation/data-source-adapter.js +227 -0
- package/dist/platform/observation/data-source-adapter.js.map +1 -0
- package/dist/platform/observation/dimension-pre-checker.d.ts +26 -0
- package/dist/platform/observation/dimension-pre-checker.d.ts.map +1 -0
- package/dist/platform/observation/dimension-pre-checker.js +130 -0
- package/dist/platform/observation/dimension-pre-checker.js.map +1 -0
- package/dist/platform/observation/observation-apply.d.ts +18 -0
- package/dist/platform/observation/observation-apply.d.ts.map +1 -0
- package/dist/platform/observation/observation-apply.js +184 -0
- package/dist/platform/observation/observation-apply.js.map +1 -0
- package/dist/platform/observation/observation-datasource.d.ts +21 -0
- package/dist/platform/observation/observation-datasource.d.ts.map +1 -0
- package/dist/platform/observation/observation-datasource.js +103 -0
- package/dist/platform/observation/observation-datasource.js.map +1 -0
- package/dist/platform/observation/observation-engine.d.ts +171 -0
- package/dist/platform/observation/observation-engine.d.ts.map +1 -0
- package/dist/platform/observation/observation-engine.js +539 -0
- package/dist/platform/observation/observation-engine.js.map +1 -0
- package/dist/platform/observation/observation-helpers.d.ts +116 -0
- package/dist/platform/observation/observation-helpers.d.ts.map +1 -0
- package/dist/platform/observation/observation-helpers.js +173 -0
- package/dist/platform/observation/observation-helpers.js.map +1 -0
- package/dist/platform/observation/observation-llm.d.ts +64 -0
- package/dist/platform/observation/observation-llm.d.ts.map +1 -0
- package/dist/platform/observation/observation-llm.js +430 -0
- package/dist/platform/observation/observation-llm.js.map +1 -0
- package/dist/platform/observation/observation-task.d.ts +29 -0
- package/dist/platform/observation/observation-task.d.ts.map +1 -0
- package/dist/platform/observation/observation-task.js +51 -0
- package/dist/platform/observation/observation-task.js.map +1 -0
- package/dist/platform/observation/observation-tools.d.ts +22 -0
- package/dist/platform/observation/observation-tools.d.ts.map +1 -0
- package/dist/platform/observation/observation-tools.js +61 -0
- package/dist/platform/observation/observation-tools.js.map +1 -0
- package/dist/platform/observation/types/capability.d.ts +292 -0
- package/dist/platform/observation/types/capability.d.ts.map +1 -0
- package/dist/platform/observation/types/capability.js +53 -0
- package/dist/platform/observation/types/capability.js.map +1 -0
- package/dist/platform/observation/types/data-source.d.ts +311 -0
- package/dist/platform/observation/types/data-source.d.ts.map +1 -0
- package/dist/platform/observation/types/data-source.js +53 -0
- package/dist/platform/observation/types/data-source.js.map +1 -0
- package/dist/platform/observation/workspace-context.d.ts +8 -0
- package/dist/platform/observation/workspace-context.d.ts.map +1 -0
- package/dist/platform/observation/workspace-context.js +308 -0
- package/dist/platform/observation/workspace-context.js.map +1 -0
- package/dist/platform/traits/__tests__/character-config.test.d.ts +2 -0
- package/dist/platform/traits/__tests__/character-config.test.d.ts.map +1 -0
- package/dist/platform/traits/__tests__/character-config.test.js +300 -0
- package/dist/platform/traits/__tests__/character-config.test.js.map +1 -0
- package/dist/platform/traits/__tests__/character-separation.test.d.ts +10 -0
- package/dist/platform/traits/__tests__/character-separation.test.d.ts.map +1 -0
- package/dist/platform/traits/__tests__/character-separation.test.js +357 -0
- package/dist/platform/traits/__tests__/character-separation.test.js.map +1 -0
- package/dist/platform/traits/__tests__/curiosity-engine-budget.test.d.ts +2 -0
- package/dist/platform/traits/__tests__/curiosity-engine-budget.test.d.ts.map +1 -0
- package/dist/platform/traits/__tests__/curiosity-engine-budget.test.js +465 -0
- package/dist/platform/traits/__tests__/curiosity-engine-budget.test.js.map +1 -0
- package/dist/platform/traits/__tests__/curiosity-engine-constructor.test.d.ts +2 -0
- package/dist/platform/traits/__tests__/curiosity-engine-constructor.test.d.ts.map +1 -0
- package/dist/platform/traits/__tests__/curiosity-engine-constructor.test.js +592 -0
- package/dist/platform/traits/__tests__/curiosity-engine-constructor.test.js.map +1 -0
- package/dist/platform/traits/__tests__/curiosity-engine-lifecycle.test.d.ts +2 -0
- package/dist/platform/traits/__tests__/curiosity-engine-lifecycle.test.d.ts.map +1 -0
- package/dist/platform/traits/__tests__/curiosity-engine-lifecycle.test.js +399 -0
- package/dist/platform/traits/__tests__/curiosity-engine-lifecycle.test.js.map +1 -0
- package/dist/platform/traits/__tests__/curiosity-engine-proposals.test.d.ts +2 -0
- package/dist/platform/traits/__tests__/curiosity-engine-proposals.test.d.ts.map +1 -0
- package/dist/platform/traits/__tests__/curiosity-engine-proposals.test.js +438 -0
- package/dist/platform/traits/__tests__/curiosity-engine-proposals.test.js.map +1 -0
- package/dist/platform/traits/__tests__/ethics-gate-core.test.d.ts +2 -0
- package/dist/platform/traits/__tests__/ethics-gate-core.test.d.ts.map +1 -0
- package/dist/platform/traits/__tests__/ethics-gate-core.test.js +335 -0
- package/dist/platform/traits/__tests__/ethics-gate-core.test.js.map +1 -0
- package/dist/platform/traits/__tests__/ethics-gate-layer1.test.d.ts +2 -0
- package/dist/platform/traits/__tests__/ethics-gate-layer1.test.d.ts.map +1 -0
- package/dist/platform/traits/__tests__/ethics-gate-layer1.test.js +660 -0
- package/dist/platform/traits/__tests__/ethics-gate-layer1.test.js.map +1 -0
- package/dist/platform/traits/__tests__/guardrail-integration.test.d.ts +2 -0
- package/dist/platform/traits/__tests__/guardrail-integration.test.d.ts.map +1 -0
- package/dist/platform/traits/__tests__/guardrail-integration.test.js +230 -0
- package/dist/platform/traits/__tests__/guardrail-integration.test.js.map +1 -0
- package/dist/platform/traits/__tests__/guardrail-runner.test.d.ts +2 -0
- package/dist/platform/traits/__tests__/guardrail-runner.test.d.ts.map +1 -0
- package/dist/platform/traits/__tests__/guardrail-runner.test.js +295 -0
- package/dist/platform/traits/__tests__/guardrail-runner.test.js.map +1 -0
- package/dist/platform/traits/__tests__/trust-manager.test.d.ts +2 -0
- package/dist/platform/traits/__tests__/trust-manager.test.d.ts.map +1 -0
- package/dist/platform/traits/__tests__/trust-manager.test.js +437 -0
- package/dist/platform/traits/__tests__/trust-manager.test.js.map +1 -0
- package/dist/platform/traits/__tests__/trust-rate-limit.test.d.ts +2 -0
- package/dist/platform/traits/__tests__/trust-rate-limit.test.d.ts.map +1 -0
- package/dist/platform/traits/__tests__/trust-rate-limit.test.js +99 -0
- package/dist/platform/traits/__tests__/trust-rate-limit.test.js.map +1 -0
- package/dist/platform/traits/character-config.d.ts +34 -0
- package/dist/platform/traits/character-config.d.ts.map +1 -0
- package/dist/platform/traits/character-config.js +53 -0
- package/dist/platform/traits/character-config.js.map +1 -0
- package/dist/platform/traits/curiosity-engine.d.ts +177 -0
- package/dist/platform/traits/curiosity-engine.d.ts.map +1 -0
- package/dist/platform/traits/curiosity-engine.js +523 -0
- package/dist/platform/traits/curiosity-engine.js.map +1 -0
- package/dist/platform/traits/curiosity-proposals.d.ts +38 -0
- package/dist/platform/traits/curiosity-proposals.d.ts.map +1 -0
- package/dist/platform/traits/curiosity-proposals.js +259 -0
- package/dist/platform/traits/curiosity-proposals.js.map +1 -0
- package/dist/platform/traits/curiosity-transfer.d.ts +27 -0
- package/dist/platform/traits/curiosity-transfer.d.ts.map +1 -0
- package/dist/platform/traits/curiosity-transfer.js +50 -0
- package/dist/platform/traits/curiosity-transfer.js.map +1 -0
- package/dist/platform/traits/ethics-gate.d.ts +77 -0
- package/dist/platform/traits/ethics-gate.d.ts.map +1 -0
- package/dist/platform/traits/ethics-gate.js +245 -0
- package/dist/platform/traits/ethics-gate.js.map +1 -0
- package/dist/platform/traits/ethics-rules.d.ts +10 -0
- package/dist/platform/traits/ethics-rules.d.ts.map +1 -0
- package/dist/platform/traits/ethics-rules.js +332 -0
- package/dist/platform/traits/ethics-rules.js.map +1 -0
- package/dist/platform/traits/guardrail-runner.d.ts +29 -0
- package/dist/platform/traits/guardrail-runner.d.ts.map +1 -0
- package/dist/platform/traits/guardrail-runner.js.map +1 -0
- package/dist/platform/traits/trust-manager.d.ts +90 -0
- package/dist/platform/traits/trust-manager.d.ts.map +1 -0
- package/dist/platform/traits/trust-manager.js +276 -0
- package/dist/platform/traits/trust-manager.js.map +1 -0
- package/dist/platform/traits/types/character.d.ts +20 -0
- package/dist/platform/traits/types/character.d.ts.map +1 -0
- package/dist/platform/traits/types/character.js +10 -0
- package/dist/platform/traits/types/character.js.map +1 -0
- package/dist/platform/traits/types/curiosity.d.ts +443 -0
- package/dist/platform/traits/types/curiosity.d.ts.map +1 -0
- package/dist/platform/traits/types/curiosity.js +86 -0
- package/dist/platform/traits/types/curiosity.js.map +1 -0
- package/dist/platform/traits/types/ethics.d.ts +169 -0
- package/dist/platform/traits/types/ethics.d.ts.map +1 -0
- package/dist/platform/traits/types/ethics.js +47 -0
- package/dist/platform/traits/types/ethics.js.map +1 -0
- package/dist/platform/traits/types/guardrail.d.ts +104 -0
- package/dist/platform/traits/types/guardrail.d.ts.map +1 -0
- package/dist/platform/traits/types/guardrail.js +34 -0
- package/dist/platform/traits/types/guardrail.js.map +1 -0
- package/dist/platform/traits/types/trust.d.ts +126 -0
- package/dist/platform/traits/types/trust.d.ts.map +1 -0
- package/dist/platform/traits/types/trust.js +38 -0
- package/dist/platform/traits/types/trust.js.map +1 -0
- package/dist/prompt/__tests__/context-assembler.test.d.ts +2 -0
- package/dist/prompt/__tests__/context-assembler.test.d.ts.map +1 -0
- package/dist/prompt/__tests__/context-assembler.test.js +383 -0
- package/dist/prompt/__tests__/context-assembler.test.js.map +1 -0
- package/dist/prompt/__tests__/formatters.test.d.ts +2 -0
- package/dist/prompt/__tests__/formatters.test.d.ts.map +1 -0
- package/dist/prompt/__tests__/formatters.test.js +236 -0
- package/dist/prompt/__tests__/formatters.test.js.map +1 -0
- package/dist/prompt/__tests__/gateway-integration.test.d.ts +7 -0
- package/dist/prompt/__tests__/gateway-integration.test.d.ts.map +1 -0
- package/dist/prompt/__tests__/gateway-integration.test.js +229 -0
- package/dist/prompt/__tests__/gateway-integration.test.js.map +1 -0
- package/dist/prompt/__tests__/gateway.test.d.ts +2 -0
- package/dist/prompt/__tests__/gateway.test.d.ts.map +1 -0
- package/dist/prompt/__tests__/gateway.test.js +179 -0
- package/dist/prompt/__tests__/gateway.test.js.map +1 -0
- package/dist/prompt/__tests__/slot-definitions.test.d.ts +2 -0
- package/dist/prompt/__tests__/slot-definitions.test.d.ts.map +1 -0
- package/dist/prompt/__tests__/slot-definitions.test.js +171 -0
- package/dist/prompt/__tests__/slot-definitions.test.js.map +1 -0
- package/dist/prompt/context-assembler.d.ts +1 -1
- package/dist/prompt/context-assembler.d.ts.map +1 -1
- package/dist/prompt/context-assembler.js +14 -4
- package/dist/prompt/context-assembler.js.map +1 -1
- package/dist/prompt/formatters.d.ts +3 -3
- package/dist/prompt/formatters.d.ts.map +1 -1
- package/dist/prompt/formatters.js +2 -2
- package/dist/prompt/formatters.js.map +1 -1
- package/dist/prompt/gateway.d.ts +1 -1
- package/dist/prompt/gateway.d.ts.map +1 -1
- package/dist/prompt/purposes/capability.d.ts +2 -2
- package/dist/prompt/purposes/ethics.d.ts +4 -4
- package/dist/prompt/purposes/goal-decomposition.d.ts +4 -4
- package/dist/prompt/purposes/knowledge.d.ts +4 -4
- package/dist/prompt/purposes/strategy-template.d.ts +4 -4
- package/dist/prompt/purposes/strategy.d.ts +3 -78
- package/dist/prompt/purposes/strategy.d.ts.map +1 -1
- package/dist/prompt/purposes/strategy.js +2 -18
- package/dist/prompt/purposes/strategy.js.map +1 -1
- package/dist/prompt/purposes/verification.d.ts +2 -2
- package/dist/reflection/__tests__/dream-consolidation.test.d.ts +2 -0
- package/dist/reflection/__tests__/dream-consolidation.test.d.ts.map +1 -0
- package/dist/reflection/__tests__/dream-consolidation.test.js +127 -0
- package/dist/reflection/__tests__/dream-consolidation.test.js.map +1 -0
- package/dist/reflection/__tests__/evening-catchup.test.d.ts +2 -0
- package/dist/reflection/__tests__/evening-catchup.test.d.ts.map +1 -0
- package/dist/reflection/__tests__/evening-catchup.test.js +148 -0
- package/dist/reflection/__tests__/evening-catchup.test.js.map +1 -0
- package/dist/reflection/__tests__/morning-planning.test.d.ts +2 -0
- package/dist/reflection/__tests__/morning-planning.test.d.ts.map +1 -0
- package/dist/reflection/__tests__/morning-planning.test.js +150 -0
- package/dist/reflection/__tests__/morning-planning.test.js.map +1 -0
- package/dist/reflection/__tests__/weekly-review.test.d.ts +2 -0
- package/dist/reflection/__tests__/weekly-review.test.d.ts.map +1 -0
- package/dist/reflection/__tests__/weekly-review.test.js +175 -0
- package/dist/reflection/__tests__/weekly-review.test.js.map +1 -0
- package/dist/reflection/dream-consolidation.d.ts +3 -3
- package/dist/reflection/dream-consolidation.d.ts.map +1 -1
- package/dist/reflection/dream-consolidation.js +1 -1
- package/dist/reflection/dream-consolidation.js.map +1 -1
- package/dist/reflection/evening-catchup.d.ts +2 -2
- package/dist/reflection/evening-catchup.d.ts.map +1 -1
- package/dist/reflection/evening-catchup.js +1 -1
- package/dist/reflection/evening-catchup.js.map +1 -1
- package/dist/reflection/morning-planning.d.ts +2 -2
- package/dist/reflection/morning-planning.d.ts.map +1 -1
- package/dist/reflection/morning-planning.js +1 -1
- package/dist/reflection/morning-planning.js.map +1 -1
- package/dist/reflection/types/reflection.d.ts +34 -0
- package/dist/reflection/types/reflection.d.ts.map +1 -0
- package/dist/reflection/types/reflection.js +14 -0
- package/dist/reflection/types/reflection.js.map +1 -0
- package/dist/reflection/types.d.ts +4 -4
- package/dist/reflection/weekly-review.d.ts +2 -2
- package/dist/reflection/weekly-review.d.ts.map +1 -1
- package/dist/reflection/weekly-review.js +1 -1
- package/dist/reflection/weekly-review.js.map +1 -1
- package/dist/reporting/__tests__/reporting-engine.test.d.ts +2 -0
- package/dist/reporting/__tests__/reporting-engine.test.d.ts.map +1 -0
- package/dist/reporting/__tests__/reporting-engine.test.js +760 -0
- package/dist/reporting/__tests__/reporting-engine.test.js.map +1 -0
- package/dist/reporting/report-formatters 2.d.ts +12 -0
- package/dist/reporting/report-formatters 2.d.ts.map +1 -0
- package/dist/reporting/report-formatters 2.js +166 -0
- package/dist/reporting/report-formatters 2.js.map +1 -0
- package/dist/reporting/report-formatters.d.ts +12 -0
- package/dist/reporting/report-formatters.d.ts.map +1 -0
- package/dist/reporting/report-formatters.js +166 -0
- package/dist/reporting/report-formatters.js.map +1 -0
- package/dist/reporting/reporting-engine.d.ts +59 -0
- package/dist/reporting/reporting-engine.d.ts.map +1 -0
- package/dist/reporting/reporting-engine.js +435 -0
- package/dist/reporting/reporting-engine.js.map +1 -0
- package/dist/reporting/types/report.d.ts +112 -0
- package/dist/reporting/types/report.d.ts.map +1 -0
- package/dist/reporting/types/report.js +34 -0
- package/dist/reporting/types/report.js.map +1 -0
- package/dist/runtime/__tests__/cron-scheduler.test.d.ts +2 -0
- package/dist/runtime/__tests__/cron-scheduler.test.d.ts.map +1 -0
- package/dist/runtime/__tests__/cron-scheduler.test.js +284 -0
- package/dist/runtime/__tests__/cron-scheduler.test.js.map +1 -0
- package/dist/runtime/__tests__/daemon-runner-shutdown.test.d.ts +2 -0
- package/dist/runtime/__tests__/daemon-runner-shutdown.test.d.ts.map +1 -0
- package/dist/runtime/__tests__/daemon-runner-shutdown.test.js +419 -0
- package/dist/runtime/__tests__/daemon-runner-shutdown.test.js.map +1 -0
- package/dist/runtime/__tests__/daemon-runner.test.d.ts +2 -0
- package/dist/runtime/__tests__/daemon-runner.test.d.ts.map +1 -0
- package/dist/runtime/__tests__/daemon-runner.test.js +1194 -0
- package/dist/runtime/__tests__/daemon-runner.test.js.map +1 -0
- package/dist/runtime/__tests__/event-file-watcher.test.d.ts +12 -0
- package/dist/runtime/__tests__/event-file-watcher.test.d.ts.map +1 -0
- package/dist/runtime/__tests__/event-file-watcher.test.js +251 -0
- package/dist/runtime/__tests__/event-file-watcher.test.js.map +1 -0
- package/dist/runtime/__tests__/event-server.test.d.ts +2 -0
- package/dist/runtime/__tests__/event-server.test.d.ts.map +1 -0
- package/dist/runtime/__tests__/event-server.test.js +282 -0
- package/dist/runtime/__tests__/event-server.test.js.map +1 -0
- package/dist/runtime/__tests__/hook-manager.test.d.ts +2 -0
- package/dist/runtime/__tests__/hook-manager.test.d.ts.map +1 -0
- package/dist/runtime/__tests__/hook-manager.test.js +229 -0
- package/dist/runtime/__tests__/hook-manager.test.js.map +1 -0
- package/dist/runtime/__tests__/logger.test.d.ts +2 -0
- package/dist/runtime/__tests__/logger.test.d.ts.map +1 -0
- package/dist/runtime/__tests__/logger.test.js +416 -0
- package/dist/runtime/__tests__/logger.test.js.map +1 -0
- package/dist/runtime/__tests__/notification-batcher.test.d.ts +2 -0
- package/dist/runtime/__tests__/notification-batcher.test.d.ts.map +1 -0
- package/dist/runtime/__tests__/notification-batcher.test.js +210 -0
- package/dist/runtime/__tests__/notification-batcher.test.js.map +1 -0
- package/dist/runtime/__tests__/notification-dispatcher-plugin.test.d.ts +2 -0
- package/dist/runtime/__tests__/notification-dispatcher-plugin.test.d.ts.map +1 -0
- package/dist/runtime/__tests__/notification-dispatcher-plugin.test.js +125 -0
- package/dist/runtime/__tests__/notification-dispatcher-plugin.test.js.map +1 -0
- package/dist/runtime/__tests__/notification-dispatcher.test.d.ts +2 -0
- package/dist/runtime/__tests__/notification-dispatcher.test.d.ts.map +1 -0
- package/dist/runtime/__tests__/notification-dispatcher.test.js +816 -0
- package/dist/runtime/__tests__/notification-dispatcher.test.js.map +1 -0
- package/dist/runtime/__tests__/notifier-registry.test.d.ts +2 -0
- package/dist/runtime/__tests__/notifier-registry.test.d.ts.map +1 -0
- package/dist/runtime/__tests__/notifier-registry.test.js +129 -0
- package/dist/runtime/__tests__/notifier-registry.test.js.map +1 -0
- package/dist/runtime/__tests__/pid-manager.test.d.ts +2 -0
- package/dist/runtime/__tests__/pid-manager.test.d.ts.map +1 -0
- package/dist/runtime/__tests__/pid-manager.test.js +180 -0
- package/dist/runtime/__tests__/pid-manager.test.js.map +1 -0
- package/dist/runtime/__tests__/plugin-loader.test.d.ts +2 -0
- package/dist/runtime/__tests__/plugin-loader.test.d.ts.map +1 -0
- package/dist/runtime/__tests__/plugin-loader.test.js +387 -0
- package/dist/runtime/__tests__/plugin-loader.test.js.map +1 -0
- package/dist/runtime/__tests__/trigger-api.test.d.ts +2 -0
- package/dist/runtime/__tests__/trigger-api.test.d.ts.map +1 -0
- package/dist/runtime/__tests__/trigger-api.test.js +247 -0
- package/dist/runtime/__tests__/trigger-api.test.js.map +1 -0
- package/dist/runtime/__tests__/trigger-mapper.test.d.ts +2 -0
- package/dist/runtime/__tests__/trigger-mapper.test.d.ts.map +1 -0
- package/dist/runtime/__tests__/trigger-mapper.test.js +119 -0
- package/dist/runtime/__tests__/trigger-mapper.test.js.map +1 -0
- package/dist/runtime/channels/email-channel.d.ts +2 -2
- package/dist/runtime/channels/email-channel.d.ts.map +1 -1
- package/dist/runtime/channels/slack-channel.d.ts +2 -2
- package/dist/runtime/channels/slack-channel.d.ts.map +1 -1
- package/dist/runtime/channels/webhook-channel.d.ts +2 -2
- package/dist/runtime/channels/webhook-channel.d.ts.map +1 -1
- package/dist/runtime/cron-scheduler.d.ts +1 -1
- package/dist/runtime/cron-scheduler.d.ts.map +1 -1
- package/dist/runtime/cron-scheduler.js +2 -2
- package/dist/runtime/cron-scheduler.js.map +1 -1
- package/dist/runtime/daemon-health 2.d.ts +31 -0
- package/dist/runtime/daemon-health 2.d.ts.map +1 -0
- package/dist/runtime/daemon-health 2.js +113 -0
- package/dist/runtime/daemon-health 2.js.map +1 -0
- package/dist/runtime/daemon-health.d.ts +31 -0
- package/dist/runtime/daemon-health.d.ts.map +1 -0
- package/dist/runtime/daemon-health.js +113 -0
- package/dist/runtime/daemon-health.js.map +1 -0
- package/dist/runtime/daemon-runner.d.ts +14 -19
- package/dist/runtime/daemon-runner.d.ts.map +1 -1
- package/dist/runtime/daemon-runner.js +22 -118
- package/dist/runtime/daemon-runner.js.map +1 -1
- package/dist/runtime/daemon-signals 2.d.ts +17 -0
- package/dist/runtime/daemon-signals 2.d.ts.map +1 -0
- package/dist/runtime/daemon-signals 2.js +31 -0
- package/dist/runtime/daemon-signals 2.js.map +1 -0
- package/dist/runtime/daemon-signals.d.ts +17 -0
- package/dist/runtime/daemon-signals.d.ts.map +1 -0
- package/dist/runtime/daemon-signals.js +31 -0
- package/dist/runtime/daemon-signals.js.map +1 -0
- package/dist/runtime/event-server.d.ts +3 -2
- package/dist/runtime/event-server.d.ts.map +1 -1
- package/dist/runtime/event-server.js +18 -6
- package/dist/runtime/event-server.js.map +1 -1
- package/dist/runtime/hook-manager.d.ts +1 -1
- package/dist/runtime/hook-manager.d.ts.map +1 -1
- package/dist/runtime/hook-manager.js +1 -1
- package/dist/runtime/hook-manager.js.map +1 -1
- package/dist/runtime/notification-batcher.d.ts +1 -1
- package/dist/runtime/notification-batcher.d.ts.map +1 -1
- package/dist/runtime/notification-dispatcher.d.ts +2 -2
- package/dist/runtime/notification-dispatcher.d.ts.map +1 -1
- package/dist/runtime/notification-dispatcher.js +1 -1
- package/dist/runtime/notification-dispatcher.js.map +1 -1
- package/dist/runtime/notifier-registry.d.ts +1 -1
- package/dist/runtime/notifier-registry.d.ts.map +1 -1
- package/dist/runtime/pid-manager.js +1 -1
- package/dist/runtime/pid-manager.js.map +1 -1
- package/dist/runtime/plugin-loader.d.ts +3 -3
- package/dist/runtime/plugin-loader.d.ts.map +1 -1
- package/dist/runtime/plugin-loader.js +4 -4
- package/dist/runtime/plugin-loader.js.map +1 -1
- package/dist/runtime/trigger-mapper.d.ts +2 -2
- package/dist/runtime/trigger-mapper.d.ts.map +1 -1
- package/dist/runtime/trigger-mapper.js +1 -1
- package/dist/runtime/trigger-mapper.js.map +1 -1
- package/dist/runtime/types/cron.d.ts +59 -0
- package/dist/runtime/types/cron.d.ts.map +1 -0
- package/dist/runtime/types/cron.js +13 -0
- package/dist/runtime/types/cron.js.map +1 -0
- package/dist/runtime/types/daemon.d.ts +158 -0
- package/dist/runtime/types/daemon.d.ts.map +1 -0
- package/dist/runtime/types/daemon.js +48 -0
- package/dist/runtime/types/daemon.js.map +1 -0
- package/dist/runtime/types/hook.d.ts +142 -0
- package/dist/runtime/types/hook.d.ts.map +1 -0
- package/dist/runtime/types/hook.js +43 -0
- package/dist/runtime/types/hook.js.map +1 -0
- package/dist/runtime/types/notification.d.ts +916 -0
- package/dist/runtime/types/notification.d.ts.map +1 -0
- package/dist/runtime/types/notification.js +82 -0
- package/dist/runtime/types/notification.js.map +1 -0
- package/dist/runtime/types/plugin.d.ts +335 -0
- package/dist/runtime/types/plugin.d.ts.map +1 -0
- package/dist/runtime/types/plugin.js +61 -0
- package/dist/runtime/types/plugin.js.map +1 -0
- package/dist/runtime/types/trigger.d.ts +77 -0
- package/dist/runtime/types/trigger.d.ts.map +1 -0
- package/dist/runtime/types/trigger.js +21 -0
- package/dist/runtime/types/trigger.js.map +1 -0
- package/dist/state/state-manager.d.ts +106 -0
- package/dist/state/state-manager.d.ts.map +1 -0
- package/dist/state/state-manager.js +518 -0
- package/dist/state/state-manager.js.map +1 -0
- package/dist/state/state-persistence 2.d.ts +12 -0
- package/dist/state/state-persistence 2.d.ts.map +1 -0
- package/dist/state/state-persistence 2.js +58 -0
- package/dist/state/state-persistence 2.js.map +1 -0
- package/dist/state/state-persistence.d.ts +12 -0
- package/dist/state/state-persistence.d.ts.map +1 -0
- package/dist/state/state-persistence.js +58 -0
- package/dist/state/state-persistence.js.map +1 -0
- package/dist/strategy/__tests__/cross-goal-portfolio-phase2.test.d.ts +2 -0
- package/dist/strategy/__tests__/cross-goal-portfolio-phase2.test.d.ts.map +1 -0
- package/dist/strategy/__tests__/cross-goal-portfolio-phase2.test.js +472 -0
- package/dist/strategy/__tests__/cross-goal-portfolio-phase2.test.js.map +1 -0
- package/dist/strategy/__tests__/cross-goal-portfolio.test.d.ts +2 -0
- package/dist/strategy/__tests__/cross-goal-portfolio.test.d.ts.map +1 -0
- package/dist/strategy/__tests__/cross-goal-portfolio.test.js +636 -0
- package/dist/strategy/__tests__/cross-goal-portfolio.test.js.map +1 -0
- package/dist/strategy/__tests__/portfolio-manager.test.d.ts +2 -0
- package/dist/strategy/__tests__/portfolio-manager.test.d.ts.map +1 -0
- package/dist/strategy/__tests__/portfolio-manager.test.js +730 -0
- package/dist/strategy/__tests__/portfolio-manager.test.js.map +1 -0
- package/dist/strategy/__tests__/strategy-auto-template.test.d.ts +2 -0
- package/dist/strategy/__tests__/strategy-auto-template.test.d.ts.map +1 -0
- package/dist/strategy/__tests__/strategy-auto-template.test.js +164 -0
- package/dist/strategy/__tests__/strategy-auto-template.test.js.map +1 -0
- package/dist/strategy/__tests__/strategy-helpers-unwrap.test.d.ts +2 -0
- package/dist/strategy/__tests__/strategy-helpers-unwrap.test.d.ts.map +1 -0
- package/dist/strategy/__tests__/strategy-helpers-unwrap.test.js +53 -0
- package/dist/strategy/__tests__/strategy-helpers-unwrap.test.js.map +1 -0
- package/dist/strategy/__tests__/strategy-manager-core.test.d.ts +2 -0
- package/dist/strategy/__tests__/strategy-manager-core.test.d.ts.map +1 -0
- package/dist/strategy/__tests__/strategy-manager-core.test.js +342 -0
- package/dist/strategy/__tests__/strategy-manager-core.test.js.map +1 -0
- package/dist/strategy/__tests__/strategy-manager-phase2.test.d.ts +2 -0
- package/dist/strategy/__tests__/strategy-manager-phase2.test.d.ts.map +1 -0
- package/dist/strategy/__tests__/strategy-manager-phase2.test.js +602 -0
- package/dist/strategy/__tests__/strategy-manager-phase2.test.js.map +1 -0
- package/dist/strategy/__tests__/strategy-manager-stall.test.d.ts +2 -0
- package/dist/strategy/__tests__/strategy-manager-stall.test.d.ts.map +1 -0
- package/dist/strategy/__tests__/strategy-manager-stall.test.js +357 -0
- package/dist/strategy/__tests__/strategy-manager-stall.test.js.map +1 -0
- package/dist/strategy/__tests__/strategy-template-embedding.test.d.ts +2 -0
- package/dist/strategy/__tests__/strategy-template-embedding.test.d.ts.map +1 -0
- package/dist/strategy/__tests__/strategy-template-embedding.test.js +310 -0
- package/dist/strategy/__tests__/strategy-template-embedding.test.js.map +1 -0
- package/dist/strategy/__tests__/strategy-template-registry.test.d.ts +2 -0
- package/dist/strategy/__tests__/strategy-template-registry.test.d.ts.map +1 -0
- package/dist/strategy/__tests__/strategy-template-registry.test.js +402 -0
- package/dist/strategy/__tests__/strategy-template-registry.test.js.map +1 -0
- package/dist/strategy/cross-goal-portfolio.d.ts +1 -1
- package/dist/strategy/cross-goal-portfolio.d.ts.map +1 -1
- package/dist/strategy/portfolio-allocation.d.ts +33 -0
- package/dist/strategy/portfolio-allocation.d.ts.map +1 -1
- package/dist/strategy/portfolio-allocation.js +49 -0
- package/dist/strategy/portfolio-allocation.js.map +1 -1
- package/dist/strategy/portfolio-manager.d.ts +147 -0
- package/dist/strategy/portfolio-manager.d.ts.map +1 -0
- package/dist/strategy/portfolio-manager.js +340 -0
- package/dist/strategy/portfolio-manager.js.map +1 -0
- package/dist/strategy/portfolio-rebalance.d.ts +75 -0
- package/dist/strategy/portfolio-rebalance.d.ts.map +1 -0
- package/dist/strategy/portfolio-rebalance.js +254 -0
- package/dist/strategy/portfolio-rebalance.js.map +1 -0
- package/dist/strategy/strategy-helpers.d.ts +8 -8
- package/dist/strategy/strategy-helpers.d.ts.map +1 -1
- package/dist/strategy/strategy-helpers.js +35 -5
- package/dist/strategy/strategy-helpers.js.map +1 -1
- package/dist/strategy/strategy-manager-base.d.ts +2 -2
- package/dist/strategy/strategy-manager-base.d.ts.map +1 -1
- package/dist/strategy/strategy-template-registry.d.ts +1 -1
- package/dist/strategy/strategy-template-registry.d.ts.map +1 -1
- package/dist/strategy/strategy-template-registry.js +1 -1
- package/dist/strategy/strategy-template-registry.js.map +1 -1
- package/dist/strategy/types/cross-portfolio.d.ts +378 -0
- package/dist/strategy/types/cross-portfolio.d.ts.map +1 -0
- package/dist/strategy/types/cross-portfolio.js +155 -0
- package/dist/strategy/types/cross-portfolio.js.map +1 -0
- package/dist/strategy/types/portfolio.d.ts +146 -0
- package/dist/strategy/types/portfolio.d.ts.map +1 -0
- package/dist/strategy/types/portfolio.js +55 -0
- package/dist/strategy/types/portfolio.js.map +1 -0
- package/dist/strategy/types/strategy.d.ts +563 -0
- package/dist/strategy/types/strategy.d.ts.map +1 -0
- package/dist/strategy/types/strategy.js +58 -0
- package/dist/strategy/types/strategy.js.map +1 -0
- package/dist/tools/builtin/env.d.ts +35 -0
- package/dist/tools/builtin/env.d.ts.map +1 -0
- package/dist/tools/builtin/env.js +125 -0
- package/dist/tools/builtin/env.js.map +1 -0
- package/dist/tools/builtin/file-edit.d.ts +48 -0
- package/dist/tools/builtin/file-edit.d.ts.map +1 -0
- package/dist/tools/builtin/file-edit.js +124 -0
- package/dist/tools/builtin/file-edit.js.map +1 -0
- package/dist/tools/builtin/file-validation.d.ts +6 -0
- package/dist/tools/builtin/file-validation.d.ts.map +1 -0
- package/dist/tools/builtin/file-validation.js +17 -0
- package/dist/tools/builtin/file-validation.js.map +1 -0
- package/dist/tools/builtin/file-write.d.ts +41 -0
- package/dist/tools/builtin/file-write.d.ts.map +1 -0
- package/dist/tools/builtin/file-write.js +83 -0
- package/dist/tools/builtin/file-write.js.map +1 -0
- package/dist/tools/builtin/git-diff.d.ts +43 -0
- package/dist/tools/builtin/git-diff.d.ts.map +1 -0
- package/dist/tools/builtin/git-diff.js +0 -0
- package/dist/tools/builtin/git-diff.js.map +1 -0
- package/dist/tools/builtin/git-log 2.d.ts +61 -0
- package/dist/tools/builtin/git-log 2.d.ts.map +1 -0
- package/dist/tools/builtin/git-log 2.js +109 -0
- package/dist/tools/builtin/git-log 2.js.map +1 -0
- package/dist/tools/builtin/git-log.d.ts +61 -0
- package/dist/tools/builtin/git-log.d.ts.map +1 -0
- package/dist/tools/builtin/git-log.js +109 -0
- package/dist/tools/builtin/git-log.js.map +1 -0
- package/dist/tools/builtin/glob.d.ts +37 -0
- package/dist/tools/builtin/glob.d.ts.map +1 -0
- package/dist/tools/builtin/glob.js +57 -0
- package/dist/tools/builtin/glob.js.map +1 -0
- package/dist/tools/builtin/goal-state 2.d.ts +36 -0
- package/dist/tools/builtin/goal-state 2.d.ts.map +1 -0
- package/dist/tools/builtin/goal-state 2.js +126 -0
- package/dist/tools/builtin/goal-state 2.js.map +1 -0
- package/dist/tools/builtin/goal-state.d.ts +36 -0
- package/dist/tools/builtin/goal-state.d.ts.map +1 -0
- package/dist/tools/builtin/goal-state.js +126 -0
- package/dist/tools/builtin/goal-state.js.map +1 -0
- package/dist/tools/builtin/grep.d.ts +61 -0
- package/dist/tools/builtin/grep.d.ts.map +1 -0
- package/dist/tools/builtin/grep.js +80 -0
- package/dist/tools/builtin/grep.js.map +1 -0
- package/dist/tools/builtin/http-fetch.d.ts +55 -0
- package/dist/tools/builtin/http-fetch.d.ts.map +1 -0
- package/dist/tools/builtin/http-fetch.js +54 -0
- package/dist/tools/builtin/http-fetch.js.map +1 -0
- package/dist/tools/builtin/index.d.ts +36 -0
- package/dist/tools/builtin/index.d.ts.map +1 -0
- package/dist/tools/builtin/index.js +80 -0
- package/dist/tools/builtin/index.js.map +1 -0
- package/dist/tools/builtin/json-query.d.ts +32 -0
- package/dist/tools/builtin/json-query.d.ts.map +1 -0
- package/dist/tools/builtin/json-query.js +54 -0
- package/dist/tools/builtin/json-query.js.map +1 -0
- package/dist/tools/builtin/knowledge-query 2.d.ts +61 -0
- package/dist/tools/builtin/knowledge-query 2.d.ts.map +1 -0
- package/dist/tools/builtin/knowledge-query 2.js +116 -0
- package/dist/tools/builtin/knowledge-query 2.js.map +1 -0
- package/dist/tools/builtin/knowledge-query.d.ts +61 -0
- package/dist/tools/builtin/knowledge-query.d.ts.map +1 -0
- package/dist/tools/builtin/knowledge-query.js +116 -0
- package/dist/tools/builtin/knowledge-query.js.map +1 -0
- package/dist/tools/builtin/list-dir 2.d.ts +48 -0
- package/dist/tools/builtin/list-dir 2.d.ts.map +1 -0
- package/dist/tools/builtin/list-dir 2.js +89 -0
- package/dist/tools/builtin/list-dir 2.js.map +1 -0
- package/dist/tools/builtin/list-dir.d.ts +48 -0
- package/dist/tools/builtin/list-dir.d.ts.map +1 -0
- package/dist/tools/builtin/list-dir.js +89 -0
- package/dist/tools/builtin/list-dir.js.map +1 -0
- package/dist/tools/builtin/process-status 2.d.ts +61 -0
- package/dist/tools/builtin/process-status 2.d.ts.map +1 -0
- package/dist/tools/builtin/process-status 2.js +145 -0
- package/dist/tools/builtin/process-status 2.js.map +1 -0
- package/dist/tools/builtin/process-status.d.ts +61 -0
- package/dist/tools/builtin/process-status.d.ts.map +1 -0
- package/dist/tools/builtin/process-status.js +145 -0
- package/dist/tools/builtin/process-status.js.map +1 -0
- package/dist/tools/builtin/progress-history 2.d.ts +57 -0
- package/dist/tools/builtin/progress-history 2.d.ts.map +1 -0
- package/dist/tools/builtin/progress-history 2.js +141 -0
- package/dist/tools/builtin/progress-history 2.js.map +1 -0
- package/dist/tools/builtin/progress-history.d.ts +57 -0
- package/dist/tools/builtin/progress-history.d.ts.map +1 -0
- package/dist/tools/builtin/progress-history.js +141 -0
- package/dist/tools/builtin/progress-history.js.map +1 -0
- package/dist/tools/builtin/read.d.ts +37 -0
- package/dist/tools/builtin/read.d.ts.map +1 -0
- package/dist/tools/builtin/read.js +68 -0
- package/dist/tools/builtin/read.js.map +1 -0
- package/dist/tools/builtin/session-history 2.d.ts +42 -0
- package/dist/tools/builtin/session-history 2.d.ts.map +1 -0
- package/dist/tools/builtin/session-history 2.js +116 -0
- package/dist/tools/builtin/session-history 2.js.map +1 -0
- package/dist/tools/builtin/session-history.d.ts +42 -0
- package/dist/tools/builtin/session-history.d.ts.map +1 -0
- package/dist/tools/builtin/session-history.js +116 -0
- package/dist/tools/builtin/session-history.js.map +1 -0
- package/dist/tools/builtin/shared/parse-tool-output.d.ts +18 -0
- package/dist/tools/builtin/shared/parse-tool-output.d.ts.map +1 -0
- package/dist/tools/builtin/shared/parse-tool-output.js +53 -0
- package/dist/tools/builtin/shared/parse-tool-output.js.map +1 -0
- package/dist/tools/builtin/shared/parse-tool-output.test.d.ts +2 -0
- package/dist/tools/builtin/shared/parse-tool-output.test.d.ts.map +1 -0
- package/dist/tools/builtin/shared/parse-tool-output.test.js +68 -0
- package/dist/tools/builtin/shared/parse-tool-output.test.js.map +1 -0
- package/dist/tools/builtin/shell.d.ts +48 -0
- package/dist/tools/builtin/shell.d.ts.map +1 -0
- package/dist/tools/builtin/shell.js +93 -0
- package/dist/tools/builtin/shell.js.map +1 -0
- package/dist/tools/builtin/sleep.d.ts +35 -0
- package/dist/tools/builtin/sleep.d.ts.map +1 -0
- package/dist/tools/builtin/sleep.js +48 -0
- package/dist/tools/builtin/sleep.js.map +1 -0
- package/dist/tools/builtin/test-runner 2.d.ts +53 -0
- package/dist/tools/builtin/test-runner 2.d.ts.map +1 -0
- package/dist/tools/builtin/test-runner 2.js +181 -0
- package/dist/tools/builtin/test-runner 2.js.map +1 -0
- package/dist/tools/builtin/test-runner.d.ts +53 -0
- package/dist/tools/builtin/test-runner.d.ts.map +1 -0
- package/dist/tools/builtin/test-runner.js +181 -0
- package/dist/tools/builtin/test-runner.js.map +1 -0
- package/dist/tools/builtin/tool-search 2.d.ts +43 -0
- package/dist/tools/builtin/tool-search 2.d.ts.map +1 -0
- package/dist/tools/builtin/tool-search 2.js +44 -0
- package/dist/tools/builtin/tool-search 2.js.map +1 -0
- package/dist/tools/builtin/tool-search.d.ts +43 -0
- package/dist/tools/builtin/tool-search.d.ts.map +1 -0
- package/dist/tools/builtin/tool-search.js +44 -0
- package/dist/tools/builtin/tool-search.js.map +1 -0
- package/dist/tools/builtin/trust-state 2.d.ts +30 -0
- package/dist/tools/builtin/trust-state 2.d.ts.map +1 -0
- package/dist/tools/builtin/trust-state 2.js +90 -0
- package/dist/tools/builtin/trust-state 2.js.map +1 -0
- package/dist/tools/builtin/trust-state.d.ts +30 -0
- package/dist/tools/builtin/trust-state.d.ts.map +1 -0
- package/dist/tools/builtin/trust-state.js +90 -0
- package/dist/tools/builtin/trust-state.js.map +1 -0
- package/dist/tools/builtin/web-search.d.ts +49 -0
- package/dist/tools/builtin/web-search.d.ts.map +1 -0
- package/dist/tools/builtin/web-search.js +96 -0
- package/dist/tools/builtin/web-search.js.map +1 -0
- package/dist/tools/concurrency 2.d.ts +20 -0
- package/dist/tools/concurrency 2.d.ts.map +1 -0
- package/dist/tools/concurrency 2.js +58 -0
- package/dist/tools/concurrency 2.js.map +1 -0
- package/dist/tools/concurrency.d.ts +20 -0
- package/dist/tools/concurrency.d.ts.map +1 -0
- package/dist/tools/concurrency.js +58 -0
- package/dist/tools/concurrency.js.map +1 -0
- package/dist/tools/executor 2.d.ts +34 -0
- package/dist/tools/executor 2.d.ts.map +1 -0
- package/dist/tools/executor 2.js +156 -0
- package/dist/tools/executor 2.js.map +1 -0
- package/dist/tools/executor.d.ts +39 -0
- package/dist/tools/executor.d.ts.map +1 -0
- package/dist/tools/executor.js +211 -0
- package/dist/tools/executor.js.map +1 -0
- package/dist/tools/filesystem/file-edit.d.ts +48 -0
- package/dist/tools/filesystem/file-edit.d.ts.map +1 -0
- package/dist/tools/filesystem/file-edit.js +124 -0
- package/dist/tools/filesystem/file-edit.js.map +1 -0
- package/dist/tools/filesystem/file-validation.d.ts +6 -0
- package/dist/tools/filesystem/file-validation.d.ts.map +1 -0
- package/dist/tools/filesystem/file-validation.js +17 -0
- package/dist/tools/filesystem/file-validation.js.map +1 -0
- package/dist/tools/filesystem/file-write.d.ts +41 -0
- package/dist/tools/filesystem/file-write.d.ts.map +1 -0
- package/dist/tools/filesystem/file-write.js +83 -0
- package/dist/tools/filesystem/file-write.js.map +1 -0
- package/dist/tools/filesystem/glob.d.ts +37 -0
- package/dist/tools/filesystem/glob.d.ts.map +1 -0
- package/dist/tools/filesystem/glob.js +57 -0
- package/dist/tools/filesystem/glob.js.map +1 -0
- package/dist/tools/filesystem/grep.d.ts +61 -0
- package/dist/tools/filesystem/grep.d.ts.map +1 -0
- package/dist/tools/filesystem/grep.js +80 -0
- package/dist/tools/filesystem/grep.js.map +1 -0
- package/dist/tools/filesystem/json-query.d.ts +32 -0
- package/dist/tools/filesystem/json-query.d.ts.map +1 -0
- package/dist/tools/filesystem/json-query.js +54 -0
- package/dist/tools/filesystem/json-query.js.map +1 -0
- package/dist/tools/filesystem/list-dir.d.ts +48 -0
- package/dist/tools/filesystem/list-dir.d.ts.map +1 -0
- package/dist/tools/filesystem/list-dir.js +89 -0
- package/dist/tools/filesystem/list-dir.js.map +1 -0
- package/dist/tools/filesystem/read.d.ts +37 -0
- package/dist/tools/filesystem/read.d.ts.map +1 -0
- package/dist/tools/filesystem/read.js +68 -0
- package/dist/tools/filesystem/read.js.map +1 -0
- package/dist/tools/git/git-diff.d.ts +43 -0
- package/dist/tools/git/git-diff.d.ts.map +1 -0
- package/dist/tools/git/git-diff.js +131 -0
- package/dist/tools/git/git-diff.js.map +1 -0
- package/dist/tools/git/git-log.d.ts +61 -0
- package/dist/tools/git/git-log.d.ts.map +1 -0
- package/dist/tools/git/git-log.js +109 -0
- package/dist/tools/git/git-log.js.map +1 -0
- package/dist/tools/index 2.d.ts +10 -0
- package/dist/tools/index 2.d.ts.map +1 -0
- package/dist/tools/index 2.js +7 -0
- package/dist/tools/index 2.js.map +1 -0
- package/dist/tools/index.d.ts +10 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +7 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/meta/tool-search.d.ts +43 -0
- package/dist/tools/meta/tool-search.d.ts.map +1 -0
- package/dist/tools/meta/tool-search.js +44 -0
- package/dist/tools/meta/tool-search.js.map +1 -0
- package/dist/tools/network/http-fetch.d.ts +55 -0
- package/dist/tools/network/http-fetch.d.ts.map +1 -0
- package/dist/tools/network/http-fetch.js +54 -0
- package/dist/tools/network/http-fetch.js.map +1 -0
- package/dist/tools/network/web-search.d.ts +49 -0
- package/dist/tools/network/web-search.d.ts.map +1 -0
- package/dist/tools/network/web-search.js +96 -0
- package/dist/tools/network/web-search.js.map +1 -0
- package/dist/tools/permission 2.d.ts +42 -0
- package/dist/tools/permission 2.d.ts.map +1 -0
- package/dist/tools/permission 2.js +101 -0
- package/dist/tools/permission 2.js.map +1 -0
- package/dist/tools/permission.d.ts +42 -0
- package/dist/tools/permission.d.ts.map +1 -0
- package/dist/tools/permission.js +101 -0
- package/dist/tools/permission.js.map +1 -0
- package/dist/tools/registry 2.d.ts +38 -0
- package/dist/tools/registry 2.d.ts.map +1 -0
- package/dist/tools/registry 2.js +114 -0
- package/dist/tools/registry 2.js.map +1 -0
- package/dist/tools/registry.d.ts +44 -0
- package/dist/tools/registry.d.ts.map +1 -0
- package/dist/tools/registry.js +132 -0
- package/dist/tools/registry.js.map +1 -0
- package/dist/tools/state/goal-state.d.ts +36 -0
- package/dist/tools/state/goal-state.d.ts.map +1 -0
- package/dist/tools/state/goal-state.js +126 -0
- package/dist/tools/state/goal-state.js.map +1 -0
- package/dist/tools/state/knowledge-query.d.ts +61 -0
- package/dist/tools/state/knowledge-query.d.ts.map +1 -0
- package/dist/tools/state/knowledge-query.js +116 -0
- package/dist/tools/state/knowledge-query.js.map +1 -0
- package/dist/tools/state/progress-history.d.ts +57 -0
- package/dist/tools/state/progress-history.d.ts.map +1 -0
- package/dist/tools/state/progress-history.js +141 -0
- package/dist/tools/state/progress-history.js.map +1 -0
- package/dist/tools/state/session-history.d.ts +42 -0
- package/dist/tools/state/session-history.d.ts.map +1 -0
- package/dist/tools/state/session-history.js +116 -0
- package/dist/tools/state/session-history.js.map +1 -0
- package/dist/tools/state/trust-state.d.ts +30 -0
- package/dist/tools/state/trust-state.d.ts.map +1 -0
- package/dist/tools/state/trust-state.js +90 -0
- package/dist/tools/state/trust-state.js.map +1 -0
- package/dist/tools/system/env.d.ts +35 -0
- package/dist/tools/system/env.d.ts.map +1 -0
- package/dist/tools/system/env.js +125 -0
- package/dist/tools/system/env.js.map +1 -0
- package/dist/tools/system/process-status.d.ts +61 -0
- package/dist/tools/system/process-status.d.ts.map +1 -0
- package/dist/tools/system/process-status.js +145 -0
- package/dist/tools/system/process-status.js.map +1 -0
- package/dist/tools/system/shell.d.ts +48 -0
- package/dist/tools/system/shell.d.ts.map +1 -0
- package/dist/tools/system/shell.js +106 -0
- package/dist/tools/system/shell.js.map +1 -0
- package/dist/tools/system/sleep.d.ts +35 -0
- package/dist/tools/system/sleep.d.ts.map +1 -0
- package/dist/tools/system/sleep.js +48 -0
- package/dist/tools/system/sleep.js.map +1 -0
- package/dist/tools/system/test-runner.d.ts +53 -0
- package/dist/tools/system/test-runner.d.ts.map +1 -0
- package/dist/tools/system/test-runner.js +181 -0
- package/dist/tools/system/test-runner.js.map +1 -0
- package/dist/tools/types 2.d.ts +188 -0
- package/dist/tools/types 2.d.ts.map +1 -0
- package/dist/tools/types 2.js +66 -0
- package/dist/tools/types 2.js.map +1 -0
- package/dist/tools/types.d.ts +216 -0
- package/dist/tools/types.d.ts.map +1 -0
- package/dist/tools/types.js +68 -0
- package/dist/tools/types.js.map +1 -0
- package/dist/traits/__tests__/character-config.test.d.ts +2 -0
- package/dist/traits/__tests__/character-config.test.d.ts.map +1 -0
- package/dist/traits/__tests__/character-config.test.js +300 -0
- package/dist/traits/__tests__/character-config.test.js.map +1 -0
- package/dist/traits/__tests__/character-separation.test.d.ts +10 -0
- package/dist/traits/__tests__/character-separation.test.d.ts.map +1 -0
- package/dist/traits/__tests__/character-separation.test.js +357 -0
- package/dist/traits/__tests__/character-separation.test.js.map +1 -0
- package/dist/traits/__tests__/curiosity-engine-budget.test.d.ts +2 -0
- package/dist/traits/__tests__/curiosity-engine-budget.test.d.ts.map +1 -0
- package/dist/traits/__tests__/curiosity-engine-budget.test.js +465 -0
- package/dist/traits/__tests__/curiosity-engine-budget.test.js.map +1 -0
- package/dist/traits/__tests__/curiosity-engine-constructor.test.d.ts +2 -0
- package/dist/traits/__tests__/curiosity-engine-constructor.test.d.ts.map +1 -0
- package/dist/traits/__tests__/curiosity-engine-constructor.test.js +592 -0
- package/dist/traits/__tests__/curiosity-engine-constructor.test.js.map +1 -0
- package/dist/traits/__tests__/curiosity-engine-lifecycle.test.d.ts +2 -0
- package/dist/traits/__tests__/curiosity-engine-lifecycle.test.d.ts.map +1 -0
- package/dist/traits/__tests__/curiosity-engine-lifecycle.test.js +399 -0
- package/dist/traits/__tests__/curiosity-engine-lifecycle.test.js.map +1 -0
- package/dist/traits/__tests__/curiosity-engine-proposals.test.d.ts +2 -0
- package/dist/traits/__tests__/curiosity-engine-proposals.test.d.ts.map +1 -0
- package/dist/traits/__tests__/curiosity-engine-proposals.test.js +438 -0
- package/dist/traits/__tests__/curiosity-engine-proposals.test.js.map +1 -0
- package/dist/traits/__tests__/ethics-gate-core.test.d.ts +2 -0
- package/dist/traits/__tests__/ethics-gate-core.test.d.ts.map +1 -0
- package/dist/traits/__tests__/ethics-gate-core.test.js +335 -0
- package/dist/traits/__tests__/ethics-gate-core.test.js.map +1 -0
- package/dist/traits/__tests__/ethics-gate-layer1.test.d.ts +2 -0
- package/dist/traits/__tests__/ethics-gate-layer1.test.d.ts.map +1 -0
- package/dist/traits/__tests__/ethics-gate-layer1.test.js +660 -0
- package/dist/traits/__tests__/ethics-gate-layer1.test.js.map +1 -0
- package/dist/traits/__tests__/guardrail-integration.test.d.ts +2 -0
- package/dist/traits/__tests__/guardrail-integration.test.d.ts.map +1 -0
- package/dist/traits/__tests__/guardrail-integration.test.js +230 -0
- package/dist/traits/__tests__/guardrail-integration.test.js.map +1 -0
- package/dist/traits/__tests__/guardrail-runner.test.d.ts +2 -0
- package/dist/traits/__tests__/guardrail-runner.test.d.ts.map +1 -0
- package/dist/traits/__tests__/guardrail-runner.test.js +295 -0
- package/dist/traits/__tests__/guardrail-runner.test.js.map +1 -0
- package/dist/traits/__tests__/trust-manager.test.d.ts +2 -0
- package/dist/traits/__tests__/trust-manager.test.d.ts.map +1 -0
- package/dist/traits/__tests__/trust-manager.test.js +437 -0
- package/dist/traits/__tests__/trust-manager.test.js.map +1 -0
- package/dist/traits/__tests__/trust-rate-limit.test.d.ts +2 -0
- package/dist/traits/__tests__/trust-rate-limit.test.d.ts.map +1 -0
- package/dist/traits/__tests__/trust-rate-limit.test.js +99 -0
- package/dist/traits/__tests__/trust-rate-limit.test.js.map +1 -0
- package/dist/traits/character-config.d.ts +1 -1
- package/dist/traits/character-config.d.ts.map +1 -1
- package/dist/traits/curiosity-engine.d.ts +3 -3
- package/dist/traits/curiosity-engine.d.ts.map +1 -1
- package/dist/traits/curiosity-proposals.d.ts +2 -2
- package/dist/traits/curiosity-proposals.d.ts.map +1 -1
- package/dist/traits/curiosity-transfer.d.ts +1 -1
- package/dist/traits/curiosity-transfer.d.ts.map +1 -1
- package/dist/traits/ethics-gate.d.ts +2 -2
- package/dist/traits/ethics-gate.d.ts.map +1 -1
- package/dist/traits/guardrail-runner.d.ts +29 -0
- package/dist/traits/guardrail-runner.d.ts.map +1 -0
- package/dist/traits/guardrail-runner.js +81 -0
- package/dist/traits/guardrail-runner.js.map +1 -0
- package/dist/traits/trust-manager.d.ts +1 -1
- package/dist/traits/trust-manager.d.ts.map +1 -1
- package/dist/traits/types/character.d.ts +20 -0
- package/dist/traits/types/character.d.ts.map +1 -0
- package/dist/traits/types/character.js +10 -0
- package/dist/traits/types/character.js.map +1 -0
- package/dist/traits/types/curiosity.d.ts +443 -0
- package/dist/traits/types/curiosity.d.ts.map +1 -0
- package/dist/traits/types/curiosity.js +86 -0
- package/dist/traits/types/curiosity.js.map +1 -0
- package/dist/traits/types/ethics.d.ts +169 -0
- package/dist/traits/types/ethics.d.ts.map +1 -0
- package/dist/traits/types/ethics.js +47 -0
- package/dist/traits/types/ethics.js.map +1 -0
- package/dist/traits/types/guardrail.d.ts +104 -0
- package/dist/traits/types/guardrail.d.ts.map +1 -0
- package/dist/traits/types/guardrail.js +34 -0
- package/dist/traits/types/guardrail.js.map +1 -0
- package/dist/traits/types/trust.d.ts +126 -0
- package/dist/traits/types/trust.d.ts.map +1 -0
- package/dist/traits/types/trust.js +38 -0
- package/dist/traits/types/trust.js.map +1 -0
- package/dist/tui/__tests__/actions.test.d.ts +2 -0
- package/dist/tui/__tests__/actions.test.d.ts.map +1 -0
- package/dist/tui/__tests__/actions.test.js +300 -0
- package/dist/tui/__tests__/actions.test.js.map +1 -0
- package/dist/tui/__tests__/fuzzy.test.d.ts +2 -0
- package/dist/tui/__tests__/fuzzy.test.d.ts.map +1 -0
- package/dist/tui/__tests__/fuzzy.test.js +95 -0
- package/dist/tui/__tests__/fuzzy.test.js.map +1 -0
- package/dist/tui/__tests__/intent-recognizer.test.d.ts +2 -0
- package/dist/tui/__tests__/intent-recognizer.test.d.ts.map +1 -0
- package/dist/tui/__tests__/intent-recognizer.test.js +174 -0
- package/dist/tui/__tests__/intent-recognizer.test.js.map +1 -0
- package/dist/tui/__tests__/use-loop.test.d.ts +2 -0
- package/dist/tui/__tests__/use-loop.test.d.ts.map +1 -0
- package/dist/tui/__tests__/use-loop.test.js +286 -0
- package/dist/tui/__tests__/use-loop.test.js.map +1 -0
- package/dist/tui/actions.d.ts +2 -2
- package/dist/tui/actions.d.ts.map +1 -1
- package/dist/tui/app.d.ts +2 -2
- package/dist/tui/app.d.ts.map +1 -1
- package/dist/tui/entry.js +8 -8
- package/dist/tui/entry.js.map +1 -1
- package/dist/tui/intent-recognizer.d.ts +1 -1
- package/dist/tui/intent-recognizer.d.ts.map +1 -1
- package/dist/tui/use-loop.d.ts +2 -2
- package/dist/tui/use-loop.d.ts.map +1 -1
- package/dist/types/__tests__/cross-portfolio.test.d.ts +2 -0
- package/dist/types/__tests__/cross-portfolio.test.d.ts.map +1 -0
- package/dist/types/__tests__/cross-portfolio.test.js +336 -0
- package/dist/types/__tests__/cross-portfolio.test.js.map +1 -0
- package/dist/types/__tests__/existing-extensions.test.d.ts +2 -0
- package/dist/types/__tests__/existing-extensions.test.d.ts.map +1 -0
- package/dist/types/__tests__/existing-extensions.test.js +140 -0
- package/dist/types/__tests__/existing-extensions.test.js.map +1 -0
- package/dist/types/__tests__/goal-refiner-types.test.d.ts +2 -0
- package/dist/types/__tests__/goal-refiner-types.test.d.ts.map +1 -0
- package/dist/types/__tests__/goal-refiner-types.test.js +198 -0
- package/dist/types/__tests__/goal-refiner-types.test.js.map +1 -0
- package/dist/types/__tests__/goal-tree-integration.test.d.ts +2 -0
- package/dist/types/__tests__/goal-tree-integration.test.d.ts.map +1 -0
- package/dist/types/__tests__/goal-tree-integration.test.js +327 -0
- package/dist/types/__tests__/goal-tree-integration.test.js.map +1 -0
- package/dist/types/__tests__/goal-tree.test.d.ts +2 -0
- package/dist/types/__tests__/goal-tree.test.d.ts.map +1 -0
- package/dist/types/__tests__/goal-tree.test.js +286 -0
- package/dist/types/__tests__/goal-tree.test.js.map +1 -0
- package/dist/types/__tests__/learning.test.d.ts +2 -0
- package/dist/types/__tests__/learning.test.d.ts.map +1 -0
- package/dist/types/__tests__/learning.test.js +306 -0
- package/dist/types/__tests__/learning.test.js.map +1 -0
- package/dist/types/__tests__/suggest-output-schema.test.d.ts +2 -0
- package/dist/types/__tests__/suggest-output-schema.test.d.ts.map +1 -0
- package/dist/types/__tests__/suggest-output-schema.test.js +239 -0
- package/dist/types/__tests__/suggest-output-schema.test.js.map +1 -0
- package/dist/types/a2a.d.ts +1 -720
- package/dist/types/a2a.d.ts.map +1 -1
- package/dist/types/a2a.js +2 -113
- package/dist/types/a2a.js.map +1 -1
- package/dist/types/agent-profile.d.ts +1 -31
- package/dist/types/agent-profile.d.ts.map +1 -1
- package/dist/types/agent-profile.js +2 -15
- package/dist/types/agent-profile.js.map +1 -1
- package/dist/types/capability.d.ts +1 -291
- package/dist/types/capability.d.ts.map +1 -1
- package/dist/types/capability.js +2 -52
- package/dist/types/capability.js.map +1 -1
- package/dist/types/character.d.ts +1 -19
- package/dist/types/character.d.ts.map +1 -1
- package/dist/types/character.js +2 -9
- package/dist/types/character.js.map +1 -1
- package/dist/types/checkpoint.d.ts +1 -132
- package/dist/types/checkpoint.d.ts.map +1 -1
- package/dist/types/checkpoint.js +2 -37
- package/dist/types/checkpoint.js.map +1 -1
- package/dist/types/core.d.ts +14 -14
- package/dist/types/cron.d.ts +1 -58
- package/dist/types/cron.d.ts.map +1 -1
- package/dist/types/cron.js +2 -12
- package/dist/types/cron.js.map +1 -1
- package/dist/types/cross-portfolio.d.ts +1 -377
- package/dist/types/cross-portfolio.d.ts.map +1 -1
- package/dist/types/cross-portfolio.js +2 -154
- package/dist/types/cross-portfolio.js.map +1 -1
- package/dist/types/curiosity.d.ts +1 -442
- package/dist/types/curiosity.d.ts.map +1 -1
- package/dist/types/curiosity.js +2 -85
- package/dist/types/curiosity.js.map +1 -1
- package/dist/types/daemon.d.ts +1 -157
- package/dist/types/daemon.d.ts.map +1 -1
- package/dist/types/daemon.js +2 -47
- package/dist/types/daemon.js.map +1 -1
- package/dist/types/data-source.d.ts +1 -310
- package/dist/types/data-source.d.ts.map +1 -1
- package/dist/types/data-source.js +2 -52
- package/dist/types/data-source.js.map +1 -1
- package/dist/types/dependency.d.ts +1 -107
- package/dist/types/dependency.d.ts.map +1 -1
- package/dist/types/dependency.js +2 -20
- package/dist/types/dependency.js.map +1 -1
- package/dist/types/drive.d.ts +1 -193
- package/dist/types/drive.d.ts.map +1 -1
- package/dist/types/drive.js +2 -76
- package/dist/types/drive.js.map +1 -1
- package/dist/types/embedding.d.ts +1 -58
- package/dist/types/embedding.d.ts.map +1 -1
- package/dist/types/embedding.js +2 -21
- package/dist/types/embedding.js.map +1 -1
- package/dist/types/ethics.d.ts +1 -168
- package/dist/types/ethics.d.ts.map +1 -1
- package/dist/types/ethics.js +2 -46
- package/dist/types/ethics.js.map +1 -1
- package/dist/types/gap.d.ts +1 -146
- package/dist/types/gap.d.ts.map +1 -1
- package/dist/types/gap.js +2 -40
- package/dist/types/gap.js.map +1 -1
- package/dist/types/goal-refiner.d.ts +1 -107
- package/dist/types/goal-refiner.d.ts.map +1 -1
- package/dist/types/goal-refiner.js +2 -38
- package/dist/types/goal-refiner.js.map +1 -1
- package/dist/types/goal-tree.d.ts +1 -179
- package/dist/types/goal-tree.d.ts.map +1 -1
- package/dist/types/goal-tree.js +2 -72
- package/dist/types/goal-tree.js.map +1 -1
- package/dist/types/goal.d.ts +1 -1341
- package/dist/types/goal.d.ts.map +1 -1
- package/dist/types/goal.js +2 -140
- package/dist/types/goal.js.map +1 -1
- package/dist/types/guardrail.d.ts +1 -103
- package/dist/types/guardrail.d.ts.map +1 -1
- package/dist/types/guardrail.js +2 -33
- package/dist/types/guardrail.js.map +1 -1
- package/dist/types/hook.d.ts +1 -141
- package/dist/types/hook.d.ts.map +1 -1
- package/dist/types/hook.js +2 -42
- package/dist/types/hook.js.map +1 -1
- package/dist/types/knowledge.d.ts +1 -401
- package/dist/types/knowledge.d.ts.map +1 -1
- package/dist/types/knowledge.js +2 -115
- package/dist/types/knowledge.js.map +1 -1
- package/dist/types/learning.d.ts +1 -291
- package/dist/types/learning.d.ts.map +1 -1
- package/dist/types/learning.js +2 -116
- package/dist/types/learning.js.map +1 -1
- package/dist/types/mcp.d.ts +1 -169
- package/dist/types/mcp.d.ts.map +1 -1
- package/dist/types/mcp.js +2 -29
- package/dist/types/mcp.js.map +1 -1
- package/dist/types/memory-lifecycle.d.ts +1 -614
- package/dist/types/memory-lifecycle.d.ts.map +1 -1
- package/dist/types/memory-lifecycle.js +2 -158
- package/dist/types/memory-lifecycle.js.map +1 -1
- package/dist/types/negotiation.d.ts +1 -449
- package/dist/types/negotiation.d.ts.map +1 -1
- package/dist/types/negotiation.js +2 -83
- package/dist/types/negotiation.js.map +1 -1
- package/dist/types/notification.d.ts +1 -915
- package/dist/types/notification.d.ts.map +1 -1
- package/dist/types/notification.js +2 -81
- package/dist/types/notification.js.map +1 -1
- package/dist/types/pipeline.d.ts +1 -190
- package/dist/types/pipeline.d.ts.map +1 -1
- package/dist/types/pipeline.js +2 -61
- package/dist/types/pipeline.js.map +1 -1
- package/dist/types/plugin.d.ts +1 -334
- package/dist/types/plugin.d.ts.map +1 -1
- package/dist/types/plugin.js +2 -60
- package/dist/types/plugin.js.map +1 -1
- package/dist/types/portfolio.d.ts +1 -145
- package/dist/types/portfolio.d.ts.map +1 -1
- package/dist/types/portfolio.js +2 -54
- package/dist/types/portfolio.js.map +1 -1
- package/dist/types/reflection.d.ts +1 -33
- package/dist/types/reflection.d.ts.map +1 -1
- package/dist/types/reflection.js +2 -13
- package/dist/types/reflection.js.map +1 -1
- package/dist/types/report.d.ts +1 -111
- package/dist/types/report.d.ts.map +1 -1
- package/dist/types/report.js +2 -33
- package/dist/types/report.js.map +1 -1
- package/dist/types/satisficing.d.ts +1 -129
- package/dist/types/satisficing.d.ts.map +1 -1
- package/dist/types/satisficing.js +2 -53
- package/dist/types/satisficing.js.map +1 -1
- package/dist/types/session.d.ts +1 -94
- package/dist/types/session.d.ts.map +1 -1
- package/dist/types/session.js +2 -36
- package/dist/types/session.js.map +1 -1
- package/dist/types/stall.d.ts +1 -67
- package/dist/types/stall.d.ts.map +1 -1
- package/dist/types/stall.js +2 -27
- package/dist/types/stall.js.map +1 -1
- package/dist/types/state.d.ts +1 -244
- package/dist/types/state.d.ts.map +1 -1
- package/dist/types/state.js +2 -35
- package/dist/types/state.js.map +1 -1
- package/dist/types/strategy.d.ts +1 -562
- package/dist/types/strategy.d.ts.map +1 -1
- package/dist/types/strategy.js +2 -57
- package/dist/types/strategy.js.map +1 -1
- package/dist/types/suggest.d.ts +1 -91
- package/dist/types/suggest.d.ts.map +1 -1
- package/dist/types/suggest.js +2 -14
- package/dist/types/suggest.js.map +1 -1
- package/dist/types/task-group.d.ts +1 -245
- package/dist/types/task-group.d.ts.map +1 -1
- package/dist/types/task-group.js +2 -13
- package/dist/types/task-group.js.map +1 -1
- package/dist/types/task.d.ts +1 -266
- package/dist/types/task.d.ts.map +1 -1
- package/dist/types/task.js +2 -69
- package/dist/types/task.js.map +1 -1
- package/dist/types/trigger.d.ts +1 -76
- package/dist/types/trigger.d.ts.map +1 -1
- package/dist/types/trigger.js +2 -20
- package/dist/types/trigger.js.map +1 -1
- package/dist/types/trust.d.ts +1 -125
- package/dist/types/trust.d.ts.map +1 -1
- package/dist/types/trust.js +2 -37
- package/dist/types/trust.js.map +1 -1
- package/package.json +9 -4
- package/dist/adapter-layer.d.ts +0 -67
- package/dist/adapter-layer.d.ts.map +0 -1
- package/dist/adapter-layer.js +0 -50
- package/dist/adapter-layer.js.map +0 -1
- package/dist/adapters/a2a-adapter.d.ts +0 -49
- package/dist/adapters/a2a-adapter.d.ts.map +0 -1
- package/dist/adapters/a2a-adapter.js +0 -211
- package/dist/adapters/a2a-adapter.js.map +0 -1
- package/dist/adapters/a2a-client.d.ts +0 -28
- package/dist/adapters/a2a-client.d.ts.map +0 -1
- package/dist/adapters/a2a-client.js +0 -178
- package/dist/adapters/a2a-client.js.map +0 -1
- package/dist/adapters/agent-profile-loader.d.ts +0 -26
- package/dist/adapters/agent-profile-loader.d.ts.map +0 -1
- package/dist/adapters/agent-profile-loader.js +0 -88
- package/dist/adapters/agent-profile-loader.js.map +0 -1
- package/dist/adapters/browser-use-cli.d.ts +0 -19
- package/dist/adapters/browser-use-cli.d.ts.map +0 -1
- package/dist/adapters/browser-use-cli.js +0 -70
- package/dist/adapters/browser-use-cli.js.map +0 -1
- package/dist/adapters/claude-api.d.ts +0 -10
- package/dist/adapters/claude-api.d.ts.map +0 -1
- package/dist/adapters/claude-api.js +0 -63
- package/dist/adapters/claude-api.js.map +0 -1
- package/dist/adapters/claude-code-cli.d.ts +0 -14
- package/dist/adapters/claude-code-cli.d.ts.map +0 -1
- package/dist/adapters/claude-code-cli.js +0 -45
- package/dist/adapters/claude-code-cli.js.map +0 -1
- package/dist/adapters/file-existence-datasource.d.ts +0 -16
- package/dist/adapters/file-existence-datasource.d.ts.map +0 -1
- package/dist/adapters/file-existence-datasource.js.map +0 -1
- package/dist/adapters/github-issue-datasource.d.ts +0 -45
- package/dist/adapters/github-issue-datasource.d.ts.map +0 -1
- package/dist/adapters/github-issue-datasource.js.map +0 -1
- package/dist/adapters/mcp-datasource.d.ts +0 -20
- package/dist/adapters/mcp-datasource.d.ts.map +0 -1
- package/dist/adapters/mcp-datasource.js.map +0 -1
- package/dist/adapters/openai-codex.d.ts +0 -28
- package/dist/adapters/openai-codex.d.ts.map +0 -1
- package/dist/adapters/openai-codex.js +0 -59
- package/dist/adapters/openai-codex.js.map +0 -1
- package/dist/adapters/openclaw-acp.d.ts +0 -32
- package/dist/adapters/openclaw-acp.d.ts.map +0 -1
- package/dist/adapters/openclaw-acp.js.map +0 -1
- package/dist/adapters/openclaw-datasource.d.ts +0 -33
- package/dist/adapters/openclaw-datasource.d.ts.map +0 -1
- package/dist/adapters/openclaw-datasource.js.map +0 -1
- package/dist/adapters/shell-datasource.d.ts +0 -36
- package/dist/adapters/shell-datasource.d.ts.map +0 -1
- package/dist/adapters/shell-datasource.js.map +0 -1
- package/dist/capability-detector.d.ts +0 -124
- package/dist/capability-detector.d.ts.map +0 -1
- package/dist/capability-detector.js +0 -576
- package/dist/capability-detector.js.map +0 -1
- package/dist/character-config.d.ts +0 -34
- package/dist/character-config.d.ts.map +0 -1
- package/dist/character-config.js +0 -53
- package/dist/character-config.js.map +0 -1
- package/dist/cli-runner.d.ts.map +0 -1
- package/dist/cli-runner.js +0 -499
- package/dist/cli-runner.js.map +0 -1
- package/dist/codex-llm-client.d.ts +0 -47
- package/dist/codex-llm-client.d.ts.map +0 -1
- package/dist/codex-llm-client.js +0 -193
- package/dist/codex-llm-client.js.map +0 -1
- package/dist/context-provider.d.ts +0 -16
- package/dist/context-provider.d.ts.map +0 -1
- package/dist/context-provider.js +0 -107
- package/dist/context-provider.js.map +0 -1
- package/dist/context-providers/workspace-context.d.ts +0 -8
- package/dist/context-providers/workspace-context.d.ts.map +0 -1
- package/dist/context-providers/workspace-context.js +0 -217
- package/dist/context-providers/workspace-context.js.map +0 -1
- package/dist/core/suggest/repo-context.d.ts +0 -8
- package/dist/core/suggest/repo-context.d.ts.map +0 -1
- package/dist/core/suggest/repo-context.js +0 -154
- package/dist/core/suggest/repo-context.js.map +0 -1
- package/dist/core-loop.d.ts +0 -64
- package/dist/core-loop.d.ts.map +0 -1
- package/dist/core-loop.js +0 -422
- package/dist/core-loop.js.map +0 -1
- package/dist/cross-goal-portfolio.d.ts +0 -153
- package/dist/cross-goal-portfolio.d.ts.map +0 -1
- package/dist/cross-goal-portfolio.js +0 -790
- package/dist/cross-goal-portfolio.js.map +0 -1
- package/dist/curiosity-engine.d.ts +0 -177
- package/dist/curiosity-engine.d.ts.map +0 -1
- package/dist/curiosity-engine.js +0 -736
- package/dist/curiosity-engine.js.map +0 -1
- package/dist/daemon-runner.d.ts +0 -109
- package/dist/daemon-runner.d.ts.map +0 -1
- package/dist/daemon-runner.js +0 -389
- package/dist/daemon-runner.js.map +0 -1
- package/dist/data-source-adapter.d.ts +0 -42
- package/dist/data-source-adapter.d.ts.map +0 -1
- package/dist/data-source-adapter.js +0 -223
- package/dist/data-source-adapter.js.map +0 -1
- package/dist/drive-scorer.d.ts +0 -96
- package/dist/drive-scorer.d.ts.map +0 -1
- package/dist/drive-scorer.js +0 -235
- package/dist/drive-scorer.js.map +0 -1
- package/dist/drive-system.d.ts +0 -92
- package/dist/drive-system.d.ts.map +0 -1
- package/dist/drive-system.js +0 -325
- package/dist/drive-system.js.map +0 -1
- package/dist/embedding-client.d.ts.map +0 -1
- package/dist/embedding-client.js.map +0 -1
- package/dist/ethics-gate.d.ts +0 -70
- package/dist/ethics-gate.d.ts.map +0 -1
- package/dist/ethics-gate.js +0 -567
- package/dist/ethics-gate.js.map +0 -1
- package/dist/event-server.d.ts +0 -23
- package/dist/event-server.d.ts.map +0 -1
- package/dist/event-server.js +0 -69
- package/dist/event-server.js.map +0 -1
- package/dist/execution/context-budget.d.ts +0 -35
- package/dist/execution/context-budget.d.ts.map +0 -1
- package/dist/execution/context-budget.js.map +0 -1
- package/dist/execution/context-builder.d.ts +0 -44
- package/dist/execution/context-builder.d.ts.map +0 -1
- package/dist/execution/context-builder.js +0 -132
- package/dist/execution/context-builder.js.map +0 -1
- package/dist/execution/dimension-selector.d.ts +0 -16
- package/dist/execution/dimension-selector.d.ts.map +0 -1
- package/dist/execution/dimension-selector.js +0 -57
- package/dist/execution/dimension-selector.js.map +0 -1
- package/dist/execution/issue-context-fetcher.d.ts.map +0 -1
- package/dist/execution/issue-context-fetcher.js +0 -73
- package/dist/execution/issue-context-fetcher.js.map +0 -1
- package/dist/execution/task-approval-check.d.ts +0 -9
- package/dist/execution/task-approval-check.d.ts.map +0 -1
- package/dist/execution/task-approval-check.js.map +0 -1
- package/dist/execution/task-approval.d.ts +0 -22
- package/dist/execution/task-approval.d.ts.map +0 -1
- package/dist/execution/task-approval.js +0 -147
- package/dist/execution/task-approval.js.map +0 -1
- package/dist/execution/task-execution-types.d.ts +0 -18
- package/dist/execution/task-execution-types.d.ts.map +0 -1
- package/dist/execution/task-execution-types.js +0 -10
- package/dist/execution/task-execution-types.js.map +0 -1
- package/dist/execution/task-executor.d.ts +0 -31
- package/dist/execution/task-executor.d.ts.map +0 -1
- package/dist/execution/task-executor.js +0 -221
- package/dist/execution/task-executor.js.map +0 -1
- package/dist/execution/task-generation.d.ts +0 -154
- package/dist/execution/task-generation.d.ts.map +0 -1
- package/dist/execution/task-generation.js +0 -416
- package/dist/execution/task-generation.js.map +0 -1
- package/dist/execution/task-health-check.d.ts.map +0 -1
- package/dist/execution/task-health-check.js.map +0 -1
- package/dist/execution/task-lifecycle.d.ts +0 -126
- package/dist/execution/task-lifecycle.d.ts.map +0 -1
- package/dist/execution/task-lifecycle.js +0 -313
- package/dist/execution/task-lifecycle.js.map +0 -1
- package/dist/execution/task-pipeline-cycle.d.ts +0 -45
- package/dist/execution/task-pipeline-cycle.d.ts.map +0 -1
- package/dist/execution/task-pipeline-cycle.js +0 -132
- package/dist/execution/task-pipeline-cycle.js.map +0 -1
- package/dist/execution/task-prompt-builder.d.ts +0 -9
- package/dist/execution/task-prompt-builder.d.ts.map +0 -1
- package/dist/execution/task-prompt-builder.js +0 -197
- package/dist/execution/task-prompt-builder.js.map +0 -1
- package/dist/execution/task-verifier.d.ts +0 -115
- package/dist/execution/task-verifier.d.ts.map +0 -1
- package/dist/execution/task-verifier.js +0 -857
- package/dist/execution/task-verifier.js.map +0 -1
- package/dist/gap-calculator.d.ts +0 -80
- package/dist/gap-calculator.d.ts.map +0 -1
- package/dist/gap-calculator.js +0 -218
- package/dist/gap-calculator.js.map +0 -1
- package/dist/goal-dependency-graph.d.ts +0 -112
- package/dist/goal-dependency-graph.d.ts.map +0 -1
- package/dist/goal-dependency-graph.js +0 -291
- package/dist/goal-dependency-graph.js.map +0 -1
- package/dist/goal-negotiator.d.ts +0 -109
- package/dist/goal-negotiator.d.ts.map +0 -1
- package/dist/goal-negotiator.js +0 -1044
- package/dist/goal-negotiator.js.map +0 -1
- package/dist/goal-tree-manager.d.ts +0 -120
- package/dist/goal-tree-manager.d.ts.map +0 -1
- package/dist/goal-tree-manager.js +0 -954
- package/dist/goal-tree-manager.js.map +0 -1
- package/dist/guardrail-runner.d.ts +0 -29
- package/dist/guardrail-runner.d.ts.map +0 -1
- package/dist/guardrail-runner.js.map +0 -1
- package/dist/knowledge/knowledge-transfer-apply.d.ts +0 -48
- package/dist/knowledge/knowledge-transfer-apply.d.ts.map +0 -1
- package/dist/knowledge/knowledge-transfer-apply.js +0 -221
- package/dist/knowledge/knowledge-transfer-apply.js.map +0 -1
- package/dist/knowledge/knowledge-transfer-detect.d.ts +0 -28
- package/dist/knowledge/knowledge-transfer-detect.d.ts.map +0 -1
- package/dist/knowledge/knowledge-transfer-detect.js +0 -128
- package/dist/knowledge/knowledge-transfer-detect.js.map +0 -1
- package/dist/knowledge/knowledge-transfer-evaluate.d.ts +0 -22
- package/dist/knowledge/knowledge-transfer-evaluate.d.ts.map +0 -1
- package/dist/knowledge/knowledge-transfer-evaluate.js +0 -109
- package/dist/knowledge/knowledge-transfer-evaluate.js.map +0 -1
- package/dist/knowledge/knowledge-transfer-meta.d.ts +0 -38
- package/dist/knowledge/knowledge-transfer-meta.d.ts.map +0 -1
- package/dist/knowledge/knowledge-transfer-meta.js +0 -180
- package/dist/knowledge/knowledge-transfer-meta.js.map +0 -1
- package/dist/knowledge/knowledge-transfer-prompts.d.ts +0 -46
- package/dist/knowledge/knowledge-transfer-prompts.d.ts.map +0 -1
- package/dist/knowledge/knowledge-transfer-prompts.js.map +0 -1
- package/dist/knowledge/knowledge-transfer-types.d.ts +0 -20
- package/dist/knowledge/knowledge-transfer-types.d.ts.map +0 -1
- package/dist/knowledge/knowledge-transfer-types.js.map +0 -1
- package/dist/knowledge/knowledge-transfer.d.ts +0 -83
- package/dist/knowledge/knowledge-transfer.d.ts.map +0 -1
- package/dist/knowledge/knowledge-transfer.js.map +0 -1
- package/dist/knowledge/learning-cross-goal.d.ts +0 -19
- package/dist/knowledge/learning-cross-goal.d.ts.map +0 -1
- package/dist/knowledge/learning-cross-goal.js +0 -173
- package/dist/knowledge/learning-cross-goal.js.map +0 -1
- package/dist/knowledge/learning-exports.d.ts +0 -4
- package/dist/knowledge/learning-exports.d.ts.map +0 -1
- package/dist/knowledge/learning-exports.js.map +0 -1
- package/dist/knowledge/learning-feedback.d.ts +0 -26
- package/dist/knowledge/learning-feedback.d.ts.map +0 -1
- package/dist/knowledge/learning-feedback.js +0 -183
- package/dist/knowledge/learning-feedback.js.map +0 -1
- package/dist/knowledge/learning-pipeline-prompts.d.ts +0 -134
- package/dist/knowledge/learning-pipeline-prompts.d.ts.map +0 -1
- package/dist/knowledge/learning-pipeline-prompts.js +0 -103
- package/dist/knowledge/learning-pipeline-prompts.js.map +0 -1
- package/dist/knowledge/learning-pipeline.d.ts +0 -105
- package/dist/knowledge/learning-pipeline.d.ts.map +0 -1
- package/dist/knowledge/learning-pipeline.js +0 -465
- package/dist/knowledge/learning-pipeline.js.map +0 -1
- package/dist/knowledge/memory-compression.d.ts +0 -44
- package/dist/knowledge/memory-compression.d.ts.map +0 -1
- package/dist/knowledge/memory-compression.js +0 -291
- package/dist/knowledge/memory-compression.js.map +0 -1
- package/dist/knowledge/memory-distill.d.ts +0 -31
- package/dist/knowledge/memory-distill.d.ts.map +0 -1
- package/dist/knowledge/memory-distill.js.map +0 -1
- package/dist/knowledge/memory-exports.d.ts +0 -7
- package/dist/knowledge/memory-exports.d.ts.map +0 -1
- package/dist/knowledge/memory-exports.js.map +0 -1
- package/dist/knowledge/memory-index.d.ts +0 -11
- package/dist/knowledge/memory-index.d.ts.map +0 -1
- package/dist/knowledge/memory-index.js +0 -134
- package/dist/knowledge/memory-index.js.map +0 -1
- package/dist/knowledge/memory-lifecycle.d.ts +0 -169
- package/dist/knowledge/memory-lifecycle.d.ts.map +0 -1
- package/dist/knowledge/memory-lifecycle.js +0 -402
- package/dist/knowledge/memory-lifecycle.js.map +0 -1
- package/dist/knowledge/memory-persistence.d.ts +0 -30
- package/dist/knowledge/memory-persistence.d.ts.map +0 -1
- package/dist/knowledge/memory-persistence.js.map +0 -1
- package/dist/knowledge/memory-phases.d.ts +0 -14
- package/dist/knowledge/memory-phases.d.ts.map +0 -1
- package/dist/knowledge/memory-phases.js +0 -14
- package/dist/knowledge/memory-phases.js.map +0 -1
- package/dist/knowledge/memory-query.d.ts +0 -4
- package/dist/knowledge/memory-query.d.ts.map +0 -1
- package/dist/knowledge/memory-query.js +0 -64
- package/dist/knowledge/memory-query.js.map +0 -1
- package/dist/knowledge/memory-selection.d.ts +0 -73
- package/dist/knowledge/memory-selection.d.ts.map +0 -1
- package/dist/knowledge/memory-selection.js +0 -328
- package/dist/knowledge/memory-selection.js.map +0 -1
- package/dist/knowledge/memory-stats.d.ts +0 -7
- package/dist/knowledge/memory-stats.d.ts.map +0 -1
- package/dist/knowledge/memory-stats.js +0 -162
- package/dist/knowledge/memory-stats.js.map +0 -1
- package/dist/knowledge/memory-tier.d.ts +0 -65
- package/dist/knowledge/memory-tier.d.ts.map +0 -1
- package/dist/knowledge/memory-tier.js.map +0 -1
- package/dist/knowledge/transfer-trust.d.ts +0 -40
- package/dist/knowledge/transfer-trust.d.ts.map +0 -1
- package/dist/knowledge/transfer-trust.js +0 -137
- package/dist/knowledge/transfer-trust.js.map +0 -1
- package/dist/knowledge-graph.d.ts +0 -70
- package/dist/knowledge-graph.d.ts.map +0 -1
- package/dist/knowledge-graph.js +0 -194
- package/dist/knowledge-graph.js.map +0 -1
- package/dist/knowledge-manager.d.ts +0 -110
- package/dist/knowledge-manager.d.ts.map +0 -1
- package/dist/knowledge-manager.js +0 -544
- package/dist/knowledge-manager.js.map +0 -1
- package/dist/knowledge-transfer.d.ts +0 -101
- package/dist/knowledge-transfer.d.ts.map +0 -1
- package/dist/knowledge-transfer.js +0 -484
- package/dist/knowledge-transfer.js.map +0 -1
- package/dist/learning-pipeline.d.ts +0 -107
- package/dist/learning-pipeline.d.ts.map +0 -1
- package/dist/learning-pipeline.js +0 -840
- package/dist/learning-pipeline.js.map +0 -1
- package/dist/llm-client.d.ts +0 -65
- package/dist/llm-client.d.ts.map +0 -1
- package/dist/llm-client.js +0 -151
- package/dist/llm-client.js.map +0 -1
- package/dist/logger.d.ts +0 -30
- package/dist/logger.d.ts.map +0 -1
- package/dist/logger.js +0 -121
- package/dist/logger.js.map +0 -1
- package/dist/memory-lifecycle.d.ts +0 -244
- package/dist/memory-lifecycle.d.ts.map +0 -1
- package/dist/memory-lifecycle.js +0 -1328
- package/dist/memory-lifecycle.js.map +0 -1
- package/dist/notification-dispatcher.d.ts +0 -36
- package/dist/notification-dispatcher.d.ts.map +0 -1
- package/dist/notification-dispatcher.js +0 -363
- package/dist/notification-dispatcher.js.map +0 -1
- package/dist/observation-engine.d.ts +0 -218
- package/dist/observation-engine.d.ts.map +0 -1
- package/dist/observation-engine.js +0 -711
- package/dist/observation-engine.js.map +0 -1
- package/dist/ollama-client.d.ts +0 -30
- package/dist/ollama-client.d.ts.map +0 -1
- package/dist/ollama-client.js +0 -112
- package/dist/ollama-client.js.map +0 -1
- package/dist/openai-client.d.ts +0 -40
- package/dist/openai-client.d.ts.map +0 -1
- package/dist/openai-client.js +0 -155
- package/dist/openai-client.js.map +0 -1
- package/dist/pid-manager.d.ts +0 -18
- package/dist/pid-manager.d.ts.map +0 -1
- package/dist/pid-manager.js +0 -64
- package/dist/pid-manager.js.map +0 -1
- package/dist/portfolio-manager.d.ts +0 -147
- package/dist/portfolio-manager.d.ts.map +0 -1
- package/dist/portfolio-manager.js +0 -371
- package/dist/portfolio-manager.js.map +0 -1
- package/dist/portfolio-rebalance.d.ts +0 -75
- package/dist/portfolio-rebalance.d.ts.map +0 -1
- package/dist/portfolio-rebalance.js.map +0 -1
- package/dist/provider-config.d.ts +0 -43
- package/dist/provider-config.d.ts.map +0 -1
- package/dist/provider-config.js +0 -131
- package/dist/provider-config.js.map +0 -1
- package/dist/provider-factory.d.ts +0 -23
- package/dist/provider-factory.d.ts.map +0 -1
- package/dist/provider-factory.js +0 -83
- package/dist/provider-factory.js.map +0 -1
- package/dist/reporting-engine.d.ts +0 -58
- package/dist/reporting-engine.d.ts.map +0 -1
- package/dist/reporting-engine.js +0 -592
- package/dist/reporting-engine.js.map +0 -1
- package/dist/satisficing-judge.d.ts +0 -113
- package/dist/satisficing-judge.d.ts.map +0 -1
- package/dist/satisficing-judge.js +0 -592
- package/dist/satisficing-judge.js.map +0 -1
- package/dist/session-manager.d.ts +0 -159
- package/dist/session-manager.d.ts.map +0 -1
- package/dist/session-manager.js +0 -458
- package/dist/session-manager.js.map +0 -1
- package/dist/stall-detector.d.ts +0 -100
- package/dist/stall-detector.d.ts.map +0 -1
- package/dist/stall-detector.js +0 -306
- package/dist/stall-detector.js.map +0 -1
- package/dist/state-aggregator.d.ts +0 -89
- package/dist/state-aggregator.d.ts.map +0 -1
- package/dist/state-aggregator.js +0 -290
- package/dist/state-aggregator.js.map +0 -1
- package/dist/state-manager.d.ts +0 -104
- package/dist/state-manager.d.ts.map +0 -1
- package/dist/state-manager.js +0 -523
- package/dist/state-manager.js.map +0 -1
- package/dist/strategy-manager.d.ts +0 -128
- package/dist/strategy-manager.d.ts.map +0 -1
- package/dist/strategy-manager.js +0 -579
- package/dist/strategy-manager.js.map +0 -1
- package/dist/strategy-template-registry.d.ts +0 -80
- package/dist/strategy-template-registry.d.ts.map +0 -1
- package/dist/strategy-template-registry.js +0 -320
- package/dist/strategy-template-registry.js.map +0 -1
- package/dist/task-lifecycle.d.ts +0 -167
- package/dist/task-lifecycle.d.ts.map +0 -1
- package/dist/task-lifecycle.js +0 -1161
- package/dist/task-lifecycle.js.map +0 -1
- package/dist/tree-loop-orchestrator.d.ts +0 -79
- package/dist/tree-loop-orchestrator.d.ts.map +0 -1
- package/dist/tree-loop-orchestrator.js +0 -225
- package/dist/tree-loop-orchestrator.js.map +0 -1
- package/dist/trust-manager.d.ts +0 -67
- package/dist/trust-manager.d.ts.map +0 -1
- package/dist/trust-manager.js +0 -201
- package/dist/trust-manager.js.map +0 -1
- package/dist/vector-index.d.ts +0 -39
- package/dist/vector-index.d.ts.map +0 -1
- package/dist/vector-index.js +0 -111
- package/dist/vector-index.js.map +0 -1
- /package/dist/adapters/{openclaw-acp.js → agents/openclaw-acp.js} +0 -0
- /package/dist/adapters/{file-existence-datasource.js → datasources/file-existence-datasource.js} +0 -0
- /package/dist/adapters/{github-issue-datasource.js → datasources/github-issue-datasource.js} +0 -0
- /package/dist/adapters/{mcp-datasource.js → datasources/mcp-datasource.js} +0 -0
- /package/dist/adapters/{openclaw-datasource.js → datasources/openclaw-datasource.js} +0 -0
- /package/dist/adapters/{shell-datasource.js → datasources/shell-datasource.js} +0 -0
- /package/dist/{cli-runner.d.ts → cli/cli-runner.d.ts} +0 -0
- /package/dist/execution/{context-budget.js → context/context-budget.js} +0 -0
- /package/dist/execution/{issue-context-fetcher.d.ts → context/issue-context-fetcher.d.ts} +0 -0
- /package/dist/execution/{task-approval-check.js → task/task-approval-check.js} +0 -0
- /package/dist/execution/{task-health-check.d.ts → task/task-health-check.d.ts} +0 -0
- /package/dist/execution/{task-health-check.js → task/task-health-check.js} +0 -0
- /package/dist/knowledge/{learning-exports.js → learning/learning-exports.js} +0 -0
- /package/dist/knowledge/{memory-distill.js → memory/memory-distill.js} +0 -0
- /package/dist/knowledge/{memory-exports.js → memory/memory-exports.js} +0 -0
- /package/dist/knowledge/{memory-persistence.js → memory/memory-persistence.js} +0 -0
- /package/dist/knowledge/{memory-tier.js → memory/memory-tier.js} +0 -0
- /package/dist/knowledge/{knowledge-transfer-prompts.js → transfer/knowledge-transfer-prompts.js} +0 -0
- /package/dist/knowledge/{knowledge-transfer-types.js → transfer/knowledge-transfer-types.js} +0 -0
- /package/dist/knowledge/{knowledge-transfer.js → transfer/knowledge-transfer.js} +0 -0
- /package/dist/{portfolio-rebalance.js → orchestrator/strategy/portfolio-rebalance.js} +0 -0
- /package/dist/{embedding-client.d.ts → platform/knowledge/embedding-client.d.ts} +0 -0
- /package/dist/{embedding-client.js → platform/knowledge/embedding-client.js} +0 -0
- /package/dist/{guardrail-runner.js → platform/traits/guardrail-runner.js} +0 -0
|
@@ -0,0 +1,828 @@
|
|
|
1
|
+
import { describe, it, expect, beforeEach, afterEach } from "vitest";
|
|
2
|
+
import * as fs from "node:fs";
|
|
3
|
+
import { StateManager } from "../../../base/state/state-manager.js";
|
|
4
|
+
import { EthicsGate } from "../../../platform/traits/ethics-gate.js";
|
|
5
|
+
import { GoalDependencyGraph } from "../goal-dependency-graph.js";
|
|
6
|
+
import { GoalTreeManager } from "../goal-tree-manager.js";
|
|
7
|
+
import { createMockLLMClient } from "../../../../tests/helpers/mock-llm.js";
|
|
8
|
+
import { makeTempDir } from "../../../../tests/helpers/temp-dir.js";
|
|
9
|
+
import { makeGoal as _makeGoal, makeDimension } from "../../../../tests/helpers/fixtures.js";
|
|
10
|
+
import { PASS_VERDICT_SIMPLE_JSON as PASS_VERDICT } from "../../../../tests/helpers/ethics-fixtures.js";
|
|
11
|
+
import { randomUUID } from "node:crypto";
|
|
12
|
+
// ─── Local defaults matching the original local makeGoal ───
|
|
13
|
+
const metricADim = () => makeDimension({
|
|
14
|
+
name: "metric_a",
|
|
15
|
+
label: "Metric A",
|
|
16
|
+
current_value: 30,
|
|
17
|
+
threshold: { type: "min", value: 80 },
|
|
18
|
+
confidence: 0.7,
|
|
19
|
+
observation_method: {
|
|
20
|
+
type: "manual",
|
|
21
|
+
source: "test",
|
|
22
|
+
schedule: null,
|
|
23
|
+
endpoint: null,
|
|
24
|
+
confidence_tier: "self_report",
|
|
25
|
+
},
|
|
26
|
+
});
|
|
27
|
+
function makeGoal(overrides = {}) {
|
|
28
|
+
return _makeGoal({
|
|
29
|
+
id: overrides?.id ?? randomUUID(),
|
|
30
|
+
description: overrides?.description ?? "A goal for testing decomposition",
|
|
31
|
+
dimensions: overrides?.dimensions ?? [metricADim()],
|
|
32
|
+
...overrides,
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
// Specificity responses
|
|
36
|
+
const HIGH_SPECIFICITY = JSON.stringify({ specificity_score: 0.9, reasoning: "Very concrete goal" });
|
|
37
|
+
const LOW_SPECIFICITY = JSON.stringify({ specificity_score: 0.4, reasoning: "Too abstract" });
|
|
38
|
+
const BOUNDARY_SPECIFICITY = JSON.stringify({ specificity_score: 0.7, reasoning: "Exactly at threshold" });
|
|
39
|
+
const JUST_BELOW_SPECIFICITY = JSON.stringify({ specificity_score: 0.69, reasoning: "Just below threshold" });
|
|
40
|
+
// Subgoal generation responses
|
|
41
|
+
const SUBGOALS_TWO = JSON.stringify([
|
|
42
|
+
{
|
|
43
|
+
hypothesis: "Set up automated testing infrastructure",
|
|
44
|
+
dimensions: [
|
|
45
|
+
{
|
|
46
|
+
name: "ci_configured",
|
|
47
|
+
label: "CI Configured",
|
|
48
|
+
threshold_type: "present",
|
|
49
|
+
threshold_value: null,
|
|
50
|
+
observation_method_hint: "Check CI config exists",
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
constraints: ["Must use GitHub Actions"],
|
|
54
|
+
expected_specificity: 0.85,
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
hypothesis: "Achieve 80% test coverage",
|
|
58
|
+
dimensions: [
|
|
59
|
+
{
|
|
60
|
+
name: "coverage_pct",
|
|
61
|
+
label: "Test Coverage %",
|
|
62
|
+
threshold_type: "min",
|
|
63
|
+
threshold_value: 80,
|
|
64
|
+
observation_method_hint: "Run coverage tool",
|
|
65
|
+
},
|
|
66
|
+
],
|
|
67
|
+
constraints: [],
|
|
68
|
+
expected_specificity: 0.9,
|
|
69
|
+
},
|
|
70
|
+
]);
|
|
71
|
+
const SUBGOALS_ONE = JSON.stringify([
|
|
72
|
+
{
|
|
73
|
+
hypothesis: "Write unit tests for core modules",
|
|
74
|
+
dimensions: [
|
|
75
|
+
{
|
|
76
|
+
name: "unit_test_count",
|
|
77
|
+
label: "Unit Test Count",
|
|
78
|
+
threshold_type: "min",
|
|
79
|
+
threshold_value: 50,
|
|
80
|
+
observation_method_hint: "Count test files",
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
constraints: [],
|
|
84
|
+
expected_specificity: 0.88,
|
|
85
|
+
},
|
|
86
|
+
]);
|
|
87
|
+
const SUBGOALS_THREE = JSON.stringify([
|
|
88
|
+
{
|
|
89
|
+
hypothesis: "Design database schema",
|
|
90
|
+
dimensions: [{ name: "schema_done", label: "Schema Done", threshold_type: "present", threshold_value: null, observation_method_hint: "Check schema file" }],
|
|
91
|
+
constraints: [],
|
|
92
|
+
expected_specificity: 0.8,
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
hypothesis: "Implement REST API endpoints",
|
|
96
|
+
dimensions: [{ name: "api_endpoints", label: "API Endpoints", threshold_type: "min", threshold_value: 10, observation_method_hint: "Count endpoints" }],
|
|
97
|
+
constraints: [],
|
|
98
|
+
expected_specificity: 0.85,
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
hypothesis: "Write API documentation",
|
|
102
|
+
dimensions: [{ name: "docs_complete", label: "Docs Complete", threshold_type: "present", threshold_value: null, observation_method_hint: "Check docs" }],
|
|
103
|
+
constraints: [],
|
|
104
|
+
expected_specificity: 0.8,
|
|
105
|
+
},
|
|
106
|
+
]);
|
|
107
|
+
const SUBGOALS_EMPTY = JSON.stringify([]);
|
|
108
|
+
// Coverage validation responses
|
|
109
|
+
const COVERAGE_PASS = JSON.stringify({ covers_parent: true, missing_dimensions: [], reasoning: "All covered" });
|
|
110
|
+
const COVERAGE_FAIL = JSON.stringify({ covers_parent: false, missing_dimensions: ["performance"], reasoning: "Missing performance dimension" });
|
|
111
|
+
// Default config
|
|
112
|
+
const DEFAULT_CONFIG = {
|
|
113
|
+
max_depth: 5,
|
|
114
|
+
min_specificity: 0.7,
|
|
115
|
+
auto_prune_threshold: 0.3,
|
|
116
|
+
parallel_loop_limit: 3,
|
|
117
|
+
};
|
|
118
|
+
const SHALLOW_CONFIG = {
|
|
119
|
+
max_depth: 1,
|
|
120
|
+
min_specificity: 0.7,
|
|
121
|
+
auto_prune_threshold: 0.3,
|
|
122
|
+
parallel_loop_limit: 3,
|
|
123
|
+
};
|
|
124
|
+
// ─── Test Suite ───
|
|
125
|
+
let tempDir;
|
|
126
|
+
let stateManager;
|
|
127
|
+
let ethicsGate;
|
|
128
|
+
let dependencyGraph;
|
|
129
|
+
beforeEach(() => {
|
|
130
|
+
tempDir = makeTempDir();
|
|
131
|
+
stateManager = new StateManager(tempDir);
|
|
132
|
+
// EthicsGate with a mock LLM that always passes
|
|
133
|
+
const ethicsLLM = createMockLLMClient(Array(50).fill(PASS_VERDICT));
|
|
134
|
+
ethicsGate = new EthicsGate(stateManager, ethicsLLM);
|
|
135
|
+
dependencyGraph = new GoalDependencyGraph(stateManager);
|
|
136
|
+
});
|
|
137
|
+
afterEach(() => {
|
|
138
|
+
fs.rmSync(tempDir, { recursive: true, force: true, maxRetries: 3, retryDelay: 100 });
|
|
139
|
+
});
|
|
140
|
+
// ─── 1. Specificity Evaluation ───
|
|
141
|
+
describe("specificity evaluation", async () => {
|
|
142
|
+
it("stops decomposition when specificity_score >= min_specificity", async () => {
|
|
143
|
+
const goal = makeGoal({ title: "Specific leaf goal" });
|
|
144
|
+
await stateManager.saveGoal(goal);
|
|
145
|
+
const mockLLM = createMockLLMClient([HIGH_SPECIFICITY]);
|
|
146
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
147
|
+
const result = await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
148
|
+
expect(result.parent_id).toBe(goal.id);
|
|
149
|
+
expect(result.children).toHaveLength(0);
|
|
150
|
+
expect(result.specificity_scores[goal.id]).toBeCloseTo(0.9);
|
|
151
|
+
});
|
|
152
|
+
it("triggers decomposition when specificity_score < min_specificity", async () => {
|
|
153
|
+
const goal = makeGoal({ title: "Abstract goal" });
|
|
154
|
+
await stateManager.saveGoal(goal);
|
|
155
|
+
const mockLLM = createMockLLMClient([LOW_SPECIFICITY, SUBGOALS_ONE, COVERAGE_PASS, HIGH_SPECIFICITY]);
|
|
156
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
157
|
+
const result = await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
158
|
+
expect(result.children.length).toBeGreaterThan(0);
|
|
159
|
+
});
|
|
160
|
+
it("specificity_score is saved on the goal after evaluation", async () => {
|
|
161
|
+
const goal = makeGoal();
|
|
162
|
+
await stateManager.saveGoal(goal);
|
|
163
|
+
const mockLLM = createMockLLMClient([HIGH_SPECIFICITY]);
|
|
164
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
165
|
+
await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
166
|
+
const saved = await stateManager.loadGoal(goal.id);
|
|
167
|
+
expect(saved?.specificity_score).toBeCloseTo(0.9);
|
|
168
|
+
});
|
|
169
|
+
it("marks goal as leaf when specificity >= threshold", async () => {
|
|
170
|
+
const goal = makeGoal();
|
|
171
|
+
await stateManager.saveGoal(goal);
|
|
172
|
+
const mockLLM = createMockLLMClient([HIGH_SPECIFICITY]);
|
|
173
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
174
|
+
await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
175
|
+
const saved = await stateManager.loadGoal(goal.id);
|
|
176
|
+
expect(saved?.node_type).toBe("leaf");
|
|
177
|
+
});
|
|
178
|
+
it("boundary: specificity_score exactly 0.7 (== min_specificity) stops decomposition", async () => {
|
|
179
|
+
const goal = makeGoal();
|
|
180
|
+
await stateManager.saveGoal(goal);
|
|
181
|
+
const mockLLM = createMockLLMClient([BOUNDARY_SPECIFICITY]);
|
|
182
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
183
|
+
const result = await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
184
|
+
expect(result.children).toHaveLength(0);
|
|
185
|
+
});
|
|
186
|
+
it("boundary: specificity_score 0.69 (just below) triggers decomposition", async () => {
|
|
187
|
+
const goal = makeGoal();
|
|
188
|
+
await stateManager.saveGoal(goal);
|
|
189
|
+
const mockLLM = createMockLLMClient([JUST_BELOW_SPECIFICITY, SUBGOALS_ONE, COVERAGE_PASS, HIGH_SPECIFICITY]);
|
|
190
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
191
|
+
const result = await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
192
|
+
expect(result.children.length).toBeGreaterThan(0);
|
|
193
|
+
});
|
|
194
|
+
it("falls back gracefully when LLM fails specificity evaluation", async () => {
|
|
195
|
+
const goal = makeGoal();
|
|
196
|
+
await stateManager.saveGoal(goal);
|
|
197
|
+
// Return invalid JSON to trigger fallback
|
|
198
|
+
const mockLLM = createMockLLMClient(["not valid json", SUBGOALS_ONE, COVERAGE_PASS, HIGH_SPECIFICITY]);
|
|
199
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
200
|
+
// Should not throw; fallback score is 0.5 (below threshold), so decomposition runs
|
|
201
|
+
await expect(manager.decomposeGoal(goal.id, DEFAULT_CONFIG)).resolves.toBeDefined();
|
|
202
|
+
});
|
|
203
|
+
it("uses 0.5 as fallback score when LLM returns invalid specificity", async () => {
|
|
204
|
+
const goal = makeGoal();
|
|
205
|
+
await stateManager.saveGoal(goal);
|
|
206
|
+
// fallback score 0.5 < 0.7 → decomposition triggered
|
|
207
|
+
const mockLLM = createMockLLMClient(["bad json", SUBGOALS_ONE, COVERAGE_PASS, HIGH_SPECIFICITY]);
|
|
208
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
209
|
+
const result = await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
210
|
+
// With fallback 0.5, decomposition runs → children expected
|
|
211
|
+
expect(result.children.length).toBeGreaterThanOrEqual(0); // may succeed or fail subgoal gen
|
|
212
|
+
});
|
|
213
|
+
});
|
|
214
|
+
// ─── 2. 1-layer Decomposition ───
|
|
215
|
+
describe("1-layer decomposition", async () => {
|
|
216
|
+
it("creates child goals from LLM response", async () => {
|
|
217
|
+
const goal = makeGoal({ title: "Improve test coverage" });
|
|
218
|
+
await stateManager.saveGoal(goal);
|
|
219
|
+
const mockLLM = createMockLLMClient([
|
|
220
|
+
LOW_SPECIFICITY,
|
|
221
|
+
SUBGOALS_TWO,
|
|
222
|
+
COVERAGE_PASS,
|
|
223
|
+
HIGH_SPECIFICITY,
|
|
224
|
+
HIGH_SPECIFICITY,
|
|
225
|
+
]);
|
|
226
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
227
|
+
const result = await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
228
|
+
expect(result.children).toHaveLength(2);
|
|
229
|
+
});
|
|
230
|
+
it("child goals have correct parent_id", async () => {
|
|
231
|
+
const goal = makeGoal();
|
|
232
|
+
await stateManager.saveGoal(goal);
|
|
233
|
+
const mockLLM = createMockLLMClient([LOW_SPECIFICITY, SUBGOALS_TWO, COVERAGE_PASS, HIGH_SPECIFICITY, HIGH_SPECIFICITY]);
|
|
234
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
235
|
+
const result = await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
236
|
+
const children = result.children;
|
|
237
|
+
for (const child of children) {
|
|
238
|
+
expect(child.parent_id).toBe(goal.id);
|
|
239
|
+
}
|
|
240
|
+
});
|
|
241
|
+
it("child goals have node_type=subgoal", async () => {
|
|
242
|
+
const goal = makeGoal();
|
|
243
|
+
await stateManager.saveGoal(goal);
|
|
244
|
+
const mockLLM = createMockLLMClient([LOW_SPECIFICITY, SUBGOALS_ONE, COVERAGE_PASS, HIGH_SPECIFICITY]);
|
|
245
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
246
|
+
const result = await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
247
|
+
const children = result.children;
|
|
248
|
+
for (const child of children) {
|
|
249
|
+
expect(child.node_type).toBe("subgoal");
|
|
250
|
+
}
|
|
251
|
+
});
|
|
252
|
+
it("child goals have origin=decomposition", async () => {
|
|
253
|
+
const goal = makeGoal();
|
|
254
|
+
await stateManager.saveGoal(goal);
|
|
255
|
+
const mockLLM = createMockLLMClient([LOW_SPECIFICITY, SUBGOALS_ONE, COVERAGE_PASS, HIGH_SPECIFICITY]);
|
|
256
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
257
|
+
const result = await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
258
|
+
const children = result.children;
|
|
259
|
+
for (const child of children) {
|
|
260
|
+
expect(child.origin).toBe("decomposition");
|
|
261
|
+
}
|
|
262
|
+
});
|
|
263
|
+
it("child goals have decomposition_depth = parent_depth + 1", async () => {
|
|
264
|
+
const goal = makeGoal({ decomposition_depth: 0 });
|
|
265
|
+
await stateManager.saveGoal(goal);
|
|
266
|
+
const mockLLM = createMockLLMClient([LOW_SPECIFICITY, SUBGOALS_ONE, COVERAGE_PASS, HIGH_SPECIFICITY]);
|
|
267
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
268
|
+
const result = await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
269
|
+
const children = result.children;
|
|
270
|
+
for (const child of children) {
|
|
271
|
+
expect(child.decomposition_depth).toBe(1);
|
|
272
|
+
}
|
|
273
|
+
});
|
|
274
|
+
it("child goals have status=active", async () => {
|
|
275
|
+
const goal = makeGoal();
|
|
276
|
+
await stateManager.saveGoal(goal);
|
|
277
|
+
const mockLLM = createMockLLMClient([LOW_SPECIFICITY, SUBGOALS_TWO, COVERAGE_PASS, HIGH_SPECIFICITY, HIGH_SPECIFICITY]);
|
|
278
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
279
|
+
const result = await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
280
|
+
const children = result.children;
|
|
281
|
+
for (const child of children) {
|
|
282
|
+
expect(child.status).toBe("active");
|
|
283
|
+
}
|
|
284
|
+
});
|
|
285
|
+
it("parent goal's children_ids is updated after decomposition", async () => {
|
|
286
|
+
const goal = makeGoal();
|
|
287
|
+
await stateManager.saveGoal(goal);
|
|
288
|
+
const mockLLM = createMockLLMClient([LOW_SPECIFICITY, SUBGOALS_TWO, COVERAGE_PASS, HIGH_SPECIFICITY, HIGH_SPECIFICITY]);
|
|
289
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
290
|
+
await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
291
|
+
const saved = await stateManager.loadGoal(goal.id);
|
|
292
|
+
expect(saved?.children_ids).toHaveLength(2);
|
|
293
|
+
});
|
|
294
|
+
it("child goals are persisted to state manager", async () => {
|
|
295
|
+
const goal = makeGoal();
|
|
296
|
+
await stateManager.saveGoal(goal);
|
|
297
|
+
const mockLLM = createMockLLMClient([LOW_SPECIFICITY, SUBGOALS_TWO, COVERAGE_PASS, HIGH_SPECIFICITY, HIGH_SPECIFICITY]);
|
|
298
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
299
|
+
const result = await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
300
|
+
const children = result.children;
|
|
301
|
+
for (const child of children) {
|
|
302
|
+
const saved = await stateManager.loadGoal(child.id);
|
|
303
|
+
expect(saved).not.toBeNull();
|
|
304
|
+
}
|
|
305
|
+
});
|
|
306
|
+
it("result contains correct depth", async () => {
|
|
307
|
+
const goal = makeGoal({ decomposition_depth: 0 });
|
|
308
|
+
await stateManager.saveGoal(goal);
|
|
309
|
+
const mockLLM = createMockLLMClient([LOW_SPECIFICITY, SUBGOALS_ONE, COVERAGE_PASS, HIGH_SPECIFICITY]);
|
|
310
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
311
|
+
const result = await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
312
|
+
expect(result.depth).toBe(0);
|
|
313
|
+
});
|
|
314
|
+
it("result contains specificity_scores for root goal", async () => {
|
|
315
|
+
const goal = makeGoal();
|
|
316
|
+
await stateManager.saveGoal(goal);
|
|
317
|
+
const mockLLM = createMockLLMClient([LOW_SPECIFICITY, SUBGOALS_ONE, COVERAGE_PASS, HIGH_SPECIFICITY]);
|
|
318
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
319
|
+
const result = await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
320
|
+
expect(result.specificity_scores[goal.id]).toBeDefined();
|
|
321
|
+
expect(result.specificity_scores[goal.id]).toBeCloseTo(0.4);
|
|
322
|
+
});
|
|
323
|
+
});
|
|
324
|
+
// ─── 3. 2-layer Decomposition ───
|
|
325
|
+
describe("2-layer decomposition", async () => {
|
|
326
|
+
it("recursively decomposes children with low specificity", async () => {
|
|
327
|
+
const root = makeGoal({ title: "Very abstract root" });
|
|
328
|
+
await stateManager.saveGoal(root);
|
|
329
|
+
// root: low spec → gen 1 child → coverage pass → child: low spec → gen 1 grandchild → coverage pass → grandchild: high spec
|
|
330
|
+
const mockLLM = createMockLLMClient([
|
|
331
|
+
LOW_SPECIFICITY, // root specificity
|
|
332
|
+
SUBGOALS_ONE, // root subgoals
|
|
333
|
+
COVERAGE_PASS, // root validation
|
|
334
|
+
LOW_SPECIFICITY, // child specificity
|
|
335
|
+
SUBGOALS_ONE, // child subgoals
|
|
336
|
+
COVERAGE_PASS, // child validation
|
|
337
|
+
HIGH_SPECIFICITY, // grandchild specificity (leaf)
|
|
338
|
+
]);
|
|
339
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
340
|
+
const result = await manager.decomposeGoal(root.id, DEFAULT_CONFIG);
|
|
341
|
+
expect(result.children).toHaveLength(1);
|
|
342
|
+
const child = result.children[0];
|
|
343
|
+
const savedChild = await stateManager.loadGoal(child.id);
|
|
344
|
+
expect(savedChild?.children_ids.length).toBeGreaterThan(0);
|
|
345
|
+
});
|
|
346
|
+
it("grandchildren have decomposition_depth = 2", async () => {
|
|
347
|
+
const root = makeGoal({ decomposition_depth: 0 });
|
|
348
|
+
await stateManager.saveGoal(root);
|
|
349
|
+
const mockLLM = createMockLLMClient([
|
|
350
|
+
LOW_SPECIFICITY,
|
|
351
|
+
SUBGOALS_ONE,
|
|
352
|
+
COVERAGE_PASS,
|
|
353
|
+
LOW_SPECIFICITY,
|
|
354
|
+
SUBGOALS_ONE,
|
|
355
|
+
COVERAGE_PASS,
|
|
356
|
+
HIGH_SPECIFICITY,
|
|
357
|
+
]);
|
|
358
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
359
|
+
const result = await manager.decomposeGoal(root.id, DEFAULT_CONFIG);
|
|
360
|
+
const child = result.children[0];
|
|
361
|
+
const savedChild = await stateManager.loadGoal(child.id);
|
|
362
|
+
const grandchildId = savedChild?.children_ids[0];
|
|
363
|
+
expect(grandchildId).toBeDefined();
|
|
364
|
+
const grandchild = await stateManager.loadGoal(grandchildId);
|
|
365
|
+
expect(grandchild?.decomposition_depth).toBe(2);
|
|
366
|
+
});
|
|
367
|
+
it("grandchildren are marked as leaves when specific enough", async () => {
|
|
368
|
+
const root = makeGoal();
|
|
369
|
+
await stateManager.saveGoal(root);
|
|
370
|
+
const mockLLM = createMockLLMClient([
|
|
371
|
+
LOW_SPECIFICITY,
|
|
372
|
+
SUBGOALS_ONE,
|
|
373
|
+
COVERAGE_PASS,
|
|
374
|
+
LOW_SPECIFICITY,
|
|
375
|
+
SUBGOALS_ONE,
|
|
376
|
+
COVERAGE_PASS,
|
|
377
|
+
HIGH_SPECIFICITY,
|
|
378
|
+
]);
|
|
379
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
380
|
+
const result = await manager.decomposeGoal(root.id, DEFAULT_CONFIG);
|
|
381
|
+
const child = result.children[0];
|
|
382
|
+
const savedChild = await stateManager.loadGoal(child.id);
|
|
383
|
+
const grandchildId = savedChild?.children_ids[0];
|
|
384
|
+
const grandchild = await stateManager.loadGoal(grandchildId);
|
|
385
|
+
expect(grandchild?.node_type).toBe("leaf");
|
|
386
|
+
});
|
|
387
|
+
it("specificity_scores includes scores for all levels", async () => {
|
|
388
|
+
const root = makeGoal();
|
|
389
|
+
await stateManager.saveGoal(root);
|
|
390
|
+
const mockLLM = createMockLLMClient([
|
|
391
|
+
LOW_SPECIFICITY,
|
|
392
|
+
SUBGOALS_ONE,
|
|
393
|
+
COVERAGE_PASS,
|
|
394
|
+
LOW_SPECIFICITY,
|
|
395
|
+
SUBGOALS_ONE,
|
|
396
|
+
COVERAGE_PASS,
|
|
397
|
+
HIGH_SPECIFICITY,
|
|
398
|
+
]);
|
|
399
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
400
|
+
const result = await manager.decomposeGoal(root.id, DEFAULT_CONFIG);
|
|
401
|
+
// root + child + grandchild specificity scores
|
|
402
|
+
expect(Object.keys(result.specificity_scores).length).toBeGreaterThanOrEqual(1);
|
|
403
|
+
});
|
|
404
|
+
it("stops recursion when child has high specificity", async () => {
|
|
405
|
+
const root = makeGoal();
|
|
406
|
+
await stateManager.saveGoal(root);
|
|
407
|
+
const mockLLM = createMockLLMClient([
|
|
408
|
+
LOW_SPECIFICITY, // root: decompose
|
|
409
|
+
SUBGOALS_TWO, // root generates 2 children
|
|
410
|
+
COVERAGE_PASS,
|
|
411
|
+
HIGH_SPECIFICITY, // child 1: leaf
|
|
412
|
+
HIGH_SPECIFICITY, // child 2: leaf
|
|
413
|
+
]);
|
|
414
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
415
|
+
const result = await manager.decomposeGoal(root.id, DEFAULT_CONFIG);
|
|
416
|
+
expect(result.children).toHaveLength(2);
|
|
417
|
+
// Children should be leaves (no further decomposition)
|
|
418
|
+
for (const child of result.children) {
|
|
419
|
+
const saved = await stateManager.loadGoal(child.id);
|
|
420
|
+
expect(saved?.children_ids).toHaveLength(0);
|
|
421
|
+
}
|
|
422
|
+
});
|
|
423
|
+
it("depth tracking is correct at each level", async () => {
|
|
424
|
+
const root = makeGoal({ decomposition_depth: 0 });
|
|
425
|
+
await stateManager.saveGoal(root);
|
|
426
|
+
const mockLLM = createMockLLMClient([
|
|
427
|
+
LOW_SPECIFICITY, SUBGOALS_ONE, COVERAGE_PASS,
|
|
428
|
+
LOW_SPECIFICITY, SUBGOALS_ONE, COVERAGE_PASS,
|
|
429
|
+
HIGH_SPECIFICITY,
|
|
430
|
+
]);
|
|
431
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
432
|
+
const result = await manager.decomposeGoal(root.id, DEFAULT_CONFIG);
|
|
433
|
+
expect(result.depth).toBe(0);
|
|
434
|
+
const childId = result.children[0]?.id;
|
|
435
|
+
expect(childId).toBeDefined();
|
|
436
|
+
const child = await stateManager.loadGoal(childId);
|
|
437
|
+
expect(child?.decomposition_depth).toBe(1);
|
|
438
|
+
});
|
|
439
|
+
it("parent maintains children_ids for all direct children only", async () => {
|
|
440
|
+
const root = makeGoal();
|
|
441
|
+
await stateManager.saveGoal(root);
|
|
442
|
+
const mockLLM = createMockLLMClient([
|
|
443
|
+
LOW_SPECIFICITY, SUBGOALS_TWO, COVERAGE_PASS,
|
|
444
|
+
HIGH_SPECIFICITY,
|
|
445
|
+
HIGH_SPECIFICITY,
|
|
446
|
+
]);
|
|
447
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
448
|
+
await manager.decomposeGoal(root.id, DEFAULT_CONFIG);
|
|
449
|
+
const saved = await stateManager.loadGoal(root.id);
|
|
450
|
+
// Root should have exactly 2 direct children
|
|
451
|
+
expect(saved?.children_ids).toHaveLength(2);
|
|
452
|
+
});
|
|
453
|
+
it("two-layer tree has correct total nodes in getTreeState", async () => {
|
|
454
|
+
const root = makeGoal();
|
|
455
|
+
await stateManager.saveGoal(root);
|
|
456
|
+
const mockLLM = createMockLLMClient([
|
|
457
|
+
LOW_SPECIFICITY, SUBGOALS_ONE, COVERAGE_PASS,
|
|
458
|
+
LOW_SPECIFICITY, SUBGOALS_ONE, COVERAGE_PASS,
|
|
459
|
+
HIGH_SPECIFICITY,
|
|
460
|
+
]);
|
|
461
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
462
|
+
await manager.decomposeGoal(root.id, DEFAULT_CONFIG);
|
|
463
|
+
const state = await manager.getTreeState(root.id);
|
|
464
|
+
// root + child + grandchild = 3
|
|
465
|
+
expect(state.total_nodes).toBe(3);
|
|
466
|
+
});
|
|
467
|
+
});
|
|
468
|
+
// ─── 4. N-layer (3-5 depth) ───
|
|
469
|
+
describe("N-layer decomposition (depth 3-5)", async () => {
|
|
470
|
+
it("enforces max_depth=1: forces leaf at depth 1 regardless of specificity", async () => {
|
|
471
|
+
const root = makeGoal({ decomposition_depth: 0 });
|
|
472
|
+
await stateManager.saveGoal(root);
|
|
473
|
+
const mockLLM = createMockLLMClient([
|
|
474
|
+
LOW_SPECIFICITY, // root: low spec → try to decompose
|
|
475
|
+
SUBGOALS_ONE, // root generates 1 child
|
|
476
|
+
COVERAGE_PASS,
|
|
477
|
+
LOW_SPECIFICITY, // child at depth 1 = max_depth: forced leaf (no subgoal call)
|
|
478
|
+
]);
|
|
479
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
480
|
+
await manager.decomposeGoal(root.id, SHALLOW_CONFIG);
|
|
481
|
+
const child = (await stateManager.loadGoal((await stateManager.loadGoal(root.id))?.children_ids[0]));
|
|
482
|
+
// At max_depth, forced leaf
|
|
483
|
+
expect(child?.node_type).toBe("leaf");
|
|
484
|
+
});
|
|
485
|
+
it("max_depth=2: does not recurse beyond depth 2", async () => {
|
|
486
|
+
const root = makeGoal({ decomposition_depth: 0 });
|
|
487
|
+
await stateManager.saveGoal(root);
|
|
488
|
+
const config2 = { ...DEFAULT_CONFIG, max_depth: 2 };
|
|
489
|
+
const mockLLM = createMockLLMClient([
|
|
490
|
+
LOW_SPECIFICITY, SUBGOALS_ONE, COVERAGE_PASS, // root
|
|
491
|
+
LOW_SPECIFICITY, SUBGOALS_ONE, COVERAGE_PASS, // depth 1 child
|
|
492
|
+
LOW_SPECIFICITY, // depth 2: forced leaf (no sub call)
|
|
493
|
+
]);
|
|
494
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
495
|
+
const result = await manager.decomposeGoal(root.id, config2);
|
|
496
|
+
const child = result.children[0];
|
|
497
|
+
expect(child).toBeDefined();
|
|
498
|
+
const depth1ChildSaved = await stateManager.loadGoal(child.id);
|
|
499
|
+
const depth2ChildId = depth1ChildSaved?.children_ids[0];
|
|
500
|
+
const depth2Child = await stateManager.loadGoal(depth2ChildId);
|
|
501
|
+
expect(depth2Child?.node_type).toBe("leaf");
|
|
502
|
+
expect(depth2Child?.children_ids).toHaveLength(0);
|
|
503
|
+
});
|
|
504
|
+
it("max_depth=3: allows 3 levels of nesting", async () => {
|
|
505
|
+
const root = makeGoal({ decomposition_depth: 0 });
|
|
506
|
+
await stateManager.saveGoal(root);
|
|
507
|
+
const config3 = { ...DEFAULT_CONFIG, max_depth: 3 };
|
|
508
|
+
const mockLLM = createMockLLMClient([
|
|
509
|
+
LOW_SPECIFICITY, SUBGOALS_ONE, COVERAGE_PASS, // depth 0
|
|
510
|
+
LOW_SPECIFICITY, SUBGOALS_ONE, COVERAGE_PASS, // depth 1
|
|
511
|
+
LOW_SPECIFICITY, SUBGOALS_ONE, COVERAGE_PASS, // depth 2
|
|
512
|
+
LOW_SPECIFICITY, // depth 3: forced leaf
|
|
513
|
+
]);
|
|
514
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
515
|
+
const result = await manager.decomposeGoal(root.id, config3);
|
|
516
|
+
const state = await manager.getTreeState(root.id);
|
|
517
|
+
expect(state.max_depth_reached).toBeGreaterThanOrEqual(3);
|
|
518
|
+
});
|
|
519
|
+
it("forced-leaf goals at max_depth are still marked as leaf", async () => {
|
|
520
|
+
const root = makeGoal({ decomposition_depth: 0 });
|
|
521
|
+
await stateManager.saveGoal(root);
|
|
522
|
+
const mockLLM = createMockLLMClient([
|
|
523
|
+
LOW_SPECIFICITY, SUBGOALS_ONE, COVERAGE_PASS,
|
|
524
|
+
LOW_SPECIFICITY, // depth 1 = max_depth in SHALLOW_CONFIG
|
|
525
|
+
]);
|
|
526
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
527
|
+
await manager.decomposeGoal(root.id, SHALLOW_CONFIG);
|
|
528
|
+
const rootSaved = await stateManager.loadGoal(root.id);
|
|
529
|
+
const childId = rootSaved?.children_ids[0];
|
|
530
|
+
const child = await stateManager.loadGoal(childId);
|
|
531
|
+
expect(child?.node_type).toBe("leaf");
|
|
532
|
+
});
|
|
533
|
+
it("decomposition result max_depth_reached reflects actual depth", async () => {
|
|
534
|
+
const root = makeGoal({ decomposition_depth: 0 });
|
|
535
|
+
await stateManager.saveGoal(root);
|
|
536
|
+
const mockLLM = createMockLLMClient([
|
|
537
|
+
LOW_SPECIFICITY, SUBGOALS_ONE, COVERAGE_PASS,
|
|
538
|
+
HIGH_SPECIFICITY,
|
|
539
|
+
]);
|
|
540
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
541
|
+
await manager.decomposeGoal(root.id, DEFAULT_CONFIG);
|
|
542
|
+
const state = await manager.getTreeState(root.id);
|
|
543
|
+
expect(state.max_depth_reached).toBe(1);
|
|
544
|
+
});
|
|
545
|
+
it("children count never exceeds max_children_per_node (5)", async () => {
|
|
546
|
+
const root = makeGoal();
|
|
547
|
+
await stateManager.saveGoal(root);
|
|
548
|
+
// Return 6 subgoals — should be clamped to 5
|
|
549
|
+
const sixSubgoals = JSON.stringify([
|
|
550
|
+
{ hypothesis: "Sub 1", dimensions: [], constraints: [], expected_specificity: 0.9 },
|
|
551
|
+
{ hypothesis: "Sub 2", dimensions: [], constraints: [], expected_specificity: 0.9 },
|
|
552
|
+
{ hypothesis: "Sub 3", dimensions: [], constraints: [], expected_specificity: 0.9 },
|
|
553
|
+
{ hypothesis: "Sub 4", dimensions: [], constraints: [], expected_specificity: 0.9 },
|
|
554
|
+
{ hypothesis: "Sub 5", dimensions: [], constraints: [], expected_specificity: 0.9 },
|
|
555
|
+
{ hypothesis: "Sub 6", dimensions: [], constraints: [], expected_specificity: 0.9 },
|
|
556
|
+
]);
|
|
557
|
+
const mockLLM = createMockLLMClient([
|
|
558
|
+
LOW_SPECIFICITY, sixSubgoals, COVERAGE_PASS,
|
|
559
|
+
HIGH_SPECIFICITY, HIGH_SPECIFICITY, HIGH_SPECIFICITY,
|
|
560
|
+
HIGH_SPECIFICITY, HIGH_SPECIFICITY,
|
|
561
|
+
]);
|
|
562
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
563
|
+
const result = await manager.decomposeGoal(root.id, DEFAULT_CONFIG);
|
|
564
|
+
expect(result.children.length).toBeLessThanOrEqual(5);
|
|
565
|
+
});
|
|
566
|
+
});
|
|
567
|
+
// ─── 9. getTreeState ───
|
|
568
|
+
describe("getTreeState", async () => {
|
|
569
|
+
it("returns correct total_nodes for a single node", async () => {
|
|
570
|
+
const root = makeGoal();
|
|
571
|
+
await stateManager.saveGoal(root);
|
|
572
|
+
const mockLLM = createMockLLMClient([]);
|
|
573
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
574
|
+
const state = await manager.getTreeState(root.id);
|
|
575
|
+
expect(state.total_nodes).toBe(1);
|
|
576
|
+
expect(state.root_id).toBe(root.id);
|
|
577
|
+
});
|
|
578
|
+
it("returns total_nodes=0 for nonexistent root", async () => {
|
|
579
|
+
const mockLLM = createMockLLMClient([]);
|
|
580
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
581
|
+
const state = await manager.getTreeState("nonexistent");
|
|
582
|
+
expect(state.total_nodes).toBe(0);
|
|
583
|
+
});
|
|
584
|
+
it("tracks active_loops (loop_status=running)", async () => {
|
|
585
|
+
const root = makeGoal();
|
|
586
|
+
const child = makeGoal({ parent_id: root.id, node_type: "leaf", origin: "decomposition", loop_status: "running" });
|
|
587
|
+
const rootWithChild = { ...root, children_ids: [child.id] };
|
|
588
|
+
await stateManager.saveGoal(rootWithChild);
|
|
589
|
+
await stateManager.saveGoal(child);
|
|
590
|
+
const mockLLM = createMockLLMClient([]);
|
|
591
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
592
|
+
const state = await manager.getTreeState(root.id);
|
|
593
|
+
expect(state.active_loops).toContain(child.id);
|
|
594
|
+
});
|
|
595
|
+
it("tracks pruned_nodes (status=cancelled)", async () => {
|
|
596
|
+
const root = makeGoal();
|
|
597
|
+
const child = makeGoal({ parent_id: root.id, node_type: "subgoal", origin: "decomposition", status: "cancelled" });
|
|
598
|
+
const rootWithChild = { ...root, children_ids: [child.id] };
|
|
599
|
+
await stateManager.saveGoal(rootWithChild);
|
|
600
|
+
await stateManager.saveGoal(child);
|
|
601
|
+
const mockLLM = createMockLLMClient([]);
|
|
602
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
603
|
+
const state = await manager.getTreeState(root.id);
|
|
604
|
+
expect(state.pruned_nodes).toContain(child.id);
|
|
605
|
+
});
|
|
606
|
+
it("max_depth_reached reflects deepest node", async () => {
|
|
607
|
+
const root = makeGoal({ decomposition_depth: 0 });
|
|
608
|
+
const child = makeGoal({ parent_id: root.id, node_type: "subgoal", origin: "decomposition", decomposition_depth: 1 });
|
|
609
|
+
const grandchild = makeGoal({ parent_id: child.id, node_type: "leaf", origin: "decomposition", decomposition_depth: 2 });
|
|
610
|
+
const childUpdated = { ...child, children_ids: [grandchild.id] };
|
|
611
|
+
const rootUpdated = { ...root, children_ids: [child.id] };
|
|
612
|
+
await stateManager.saveGoal(rootUpdated);
|
|
613
|
+
await stateManager.saveGoal(childUpdated);
|
|
614
|
+
await stateManager.saveGoal(grandchild);
|
|
615
|
+
const mockLLM = createMockLLMClient([]);
|
|
616
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
617
|
+
const state = await manager.getTreeState(root.id);
|
|
618
|
+
expect(state.max_depth_reached).toBe(2);
|
|
619
|
+
});
|
|
620
|
+
});
|
|
621
|
+
// ─── 10. Edge Cases ───
|
|
622
|
+
describe("edge cases", async () => {
|
|
623
|
+
it("throws when goal not found in decomposeGoal", async () => {
|
|
624
|
+
const mockLLM = createMockLLMClient([]);
|
|
625
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
626
|
+
await expect(manager.decomposeGoal("missing-id", DEFAULT_CONFIG)).rejects.toThrow();
|
|
627
|
+
});
|
|
628
|
+
it("single-dimension goal decomposes to specific leaf", async () => {
|
|
629
|
+
const goal = makeGoal({
|
|
630
|
+
dimensions: [
|
|
631
|
+
{
|
|
632
|
+
name: "single_metric",
|
|
633
|
+
label: "Single Metric",
|
|
634
|
+
current_value: 0,
|
|
635
|
+
threshold: { type: "min", value: 100 },
|
|
636
|
+
confidence: 0.8,
|
|
637
|
+
observation_method: { type: "mechanical", source: "test", schedule: null, endpoint: null, confidence_tier: "mechanical" },
|
|
638
|
+
last_updated: new Date().toISOString(),
|
|
639
|
+
history: [],
|
|
640
|
+
weight: 1.0,
|
|
641
|
+
uncertainty_weight: null,
|
|
642
|
+
state_integrity: "ok",
|
|
643
|
+
dimension_mapping: null,
|
|
644
|
+
},
|
|
645
|
+
],
|
|
646
|
+
});
|
|
647
|
+
await stateManager.saveGoal(goal);
|
|
648
|
+
const mockLLM = createMockLLMClient([HIGH_SPECIFICITY]);
|
|
649
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
650
|
+
const result = await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
651
|
+
expect(result.children).toHaveLength(0);
|
|
652
|
+
expect(result.specificity_scores[goal.id]).toBeCloseTo(0.9);
|
|
653
|
+
});
|
|
654
|
+
it("empty subgoal response treats goal as leaf", async () => {
|
|
655
|
+
const goal = makeGoal();
|
|
656
|
+
await stateManager.saveGoal(goal);
|
|
657
|
+
const mockLLM = createMockLLMClient([LOW_SPECIFICITY, SUBGOALS_EMPTY]);
|
|
658
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
659
|
+
const result = await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
660
|
+
expect(result.children).toHaveLength(0);
|
|
661
|
+
const saved = await stateManager.loadGoal(goal.id);
|
|
662
|
+
expect(saved?.node_type).toBe("leaf");
|
|
663
|
+
});
|
|
664
|
+
it("decomposeGoal handles goal with no dimensions gracefully", async () => {
|
|
665
|
+
const goal = makeGoal({ dimensions: [] });
|
|
666
|
+
await stateManager.saveGoal(goal);
|
|
667
|
+
const mockLLM = createMockLLMClient([HIGH_SPECIFICITY]);
|
|
668
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
669
|
+
await expect(manager.decomposeGoal(goal.id, DEFAULT_CONFIG)).resolves.toBeDefined();
|
|
670
|
+
});
|
|
671
|
+
it("already-leaf goal stays leaf on re-decomposition", async () => {
|
|
672
|
+
const goal = makeGoal({ node_type: "leaf", specificity_score: 0.95 });
|
|
673
|
+
await stateManager.saveGoal(goal);
|
|
674
|
+
// Even if leaf, decomposeGoal should still work (re-evaluate)
|
|
675
|
+
const mockLLM = createMockLLMClient([HIGH_SPECIFICITY]);
|
|
676
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
677
|
+
const result = await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
678
|
+
expect(result.children).toHaveLength(0);
|
|
679
|
+
});
|
|
680
|
+
it("config with min_specificity=0 decomposes everything until max_depth", async () => {
|
|
681
|
+
const config0 = { ...DEFAULT_CONFIG, min_specificity: 0, max_depth: 1 };
|
|
682
|
+
const goal = makeGoal();
|
|
683
|
+
await stateManager.saveGoal(goal);
|
|
684
|
+
// With min_specificity=0, any score passes (even LOW_SPECIFICITY=0.4 >= 0)
|
|
685
|
+
const mockLLM = createMockLLMClient([LOW_SPECIFICITY]);
|
|
686
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
687
|
+
const result = await manager.decomposeGoal(goal.id, config0);
|
|
688
|
+
// 0.4 >= 0 → leaf immediately
|
|
689
|
+
expect(result.children).toHaveLength(0);
|
|
690
|
+
});
|
|
691
|
+
it("decomposeGoal with max_depth=0 forces immediate leaf", async () => {
|
|
692
|
+
const config0 = { ...DEFAULT_CONFIG, max_depth: 1 };
|
|
693
|
+
const goal = makeGoal({ decomposition_depth: 1 }); // already at max_depth
|
|
694
|
+
await stateManager.saveGoal(goal);
|
|
695
|
+
const mockLLM = createMockLLMClient([LOW_SPECIFICITY]);
|
|
696
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
697
|
+
const result = await manager.decomposeGoal(goal.id, config0);
|
|
698
|
+
expect(result.children).toHaveLength(0);
|
|
699
|
+
const saved = await stateManager.loadGoal(goal.id);
|
|
700
|
+
expect(saved?.node_type).toBe("leaf");
|
|
701
|
+
});
|
|
702
|
+
it("getTreeState on empty tree (single root) returns correct values", async () => {
|
|
703
|
+
const root = makeGoal();
|
|
704
|
+
await stateManager.saveGoal(root);
|
|
705
|
+
const mockLLM = createMockLLMClient([]);
|
|
706
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
707
|
+
const state = await manager.getTreeState(root.id);
|
|
708
|
+
expect(state.root_id).toBe(root.id);
|
|
709
|
+
expect(state.total_nodes).toBe(1);
|
|
710
|
+
expect(state.max_depth_reached).toBe(0);
|
|
711
|
+
expect(state.active_loops).toHaveLength(0);
|
|
712
|
+
expect(state.pruned_nodes).toHaveLength(0);
|
|
713
|
+
});
|
|
714
|
+
it("cancelled goal is visible in pruned_nodes but still counted in total_nodes", async () => {
|
|
715
|
+
const root = makeGoal();
|
|
716
|
+
const cancelled = makeGoal({ parent_id: root.id, status: "cancelled", node_type: "subgoal", origin: "decomposition" });
|
|
717
|
+
const rootUpdated = { ...root, children_ids: [cancelled.id] };
|
|
718
|
+
await stateManager.saveGoal(rootUpdated);
|
|
719
|
+
await stateManager.saveGoal(cancelled);
|
|
720
|
+
const mockLLM = createMockLLMClient([]);
|
|
721
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
722
|
+
const state = await manager.getTreeState(root.id);
|
|
723
|
+
expect(state.total_nodes).toBe(2);
|
|
724
|
+
expect(state.pruned_nodes).toContain(cancelled.id);
|
|
725
|
+
});
|
|
726
|
+
it("goal with constraints passes constraints to subgoal prompt", async () => {
|
|
727
|
+
const goal = makeGoal({ constraints: ["Must be serverless", "Budget < $100"] });
|
|
728
|
+
await stateManager.saveGoal(goal);
|
|
729
|
+
let capturedPrompt = "";
|
|
730
|
+
const captureClient = {
|
|
731
|
+
sendMessage: async (messages) => {
|
|
732
|
+
capturedPrompt = messages[0]?.content ?? "";
|
|
733
|
+
return {
|
|
734
|
+
content: HIGH_SPECIFICITY,
|
|
735
|
+
usage: { input_tokens: 10, output_tokens: 10 },
|
|
736
|
+
stop_reason: "end_turn",
|
|
737
|
+
};
|
|
738
|
+
},
|
|
739
|
+
parseJSON: createMockLLMClient([]).parseJSON.bind(createMockLLMClient([])),
|
|
740
|
+
};
|
|
741
|
+
const manager = new GoalTreeManager(stateManager, captureClient, ethicsGate, dependencyGraph);
|
|
742
|
+
await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
743
|
+
expect(capturedPrompt).toContain("Must be serverless");
|
|
744
|
+
});
|
|
745
|
+
});
|
|
746
|
+
// ─── 11. GoalDependencyGraph Integration ───
|
|
747
|
+
describe("GoalDependencyGraph integration", async () => {
|
|
748
|
+
it("decomposeGoal does not create prerequisite cycles", async () => {
|
|
749
|
+
const root = makeGoal();
|
|
750
|
+
await stateManager.saveGoal(root);
|
|
751
|
+
const mockLLM = createMockLLMClient([LOW_SPECIFICITY, SUBGOALS_TWO, COVERAGE_PASS, HIGH_SPECIFICITY, HIGH_SPECIFICITY]);
|
|
752
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
753
|
+
await manager.decomposeGoal(root.id, DEFAULT_CONFIG);
|
|
754
|
+
// The graph should not have any cycles (parent_child type is separate from prerequisite)
|
|
755
|
+
// For each child, detectCycle should return false
|
|
756
|
+
const savedRoot = await stateManager.loadGoal(root.id);
|
|
757
|
+
for (const childId of (savedRoot?.children_ids ?? [])) {
|
|
758
|
+
const wouldCycle = dependencyGraph.detectCycle(childId, root.id);
|
|
759
|
+
expect(wouldCycle).toBe(false);
|
|
760
|
+
}
|
|
761
|
+
});
|
|
762
|
+
it("decomposition result for goal with many dimensions", async () => {
|
|
763
|
+
const goal = makeGoal({
|
|
764
|
+
dimensions: [
|
|
765
|
+
{ name: "d1", label: "D1", current_value: 0, threshold: { type: "min", value: 10 }, confidence: 0.8, observation_method: { type: "manual", source: "t", schedule: null, endpoint: null, confidence_tier: "self_report" }, last_updated: new Date().toISOString(), history: [], weight: 1, uncertainty_weight: null, state_integrity: "ok", dimension_mapping: null },
|
|
766
|
+
{ name: "d2", label: "D2", current_value: 0, threshold: { type: "min", value: 20 }, confidence: 0.8, observation_method: { type: "manual", source: "t", schedule: null, endpoint: null, confidence_tier: "self_report" }, last_updated: new Date().toISOString(), history: [], weight: 1, uncertainty_weight: null, state_integrity: "ok", dimension_mapping: null },
|
|
767
|
+
{ name: "d3", label: "D3", current_value: 0, threshold: { type: "present", value: null }, confidence: 0.8, observation_method: { type: "manual", source: "t", schedule: null, endpoint: null, confidence_tier: "self_report" }, last_updated: new Date().toISOString(), history: [], weight: 1, uncertainty_weight: null, state_integrity: "ok", dimension_mapping: null },
|
|
768
|
+
],
|
|
769
|
+
});
|
|
770
|
+
await stateManager.saveGoal(goal);
|
|
771
|
+
const mockLLM = createMockLLMClient([HIGH_SPECIFICITY]);
|
|
772
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
773
|
+
const result = await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
774
|
+
expect(result.specificity_scores[goal.id]).toBeDefined();
|
|
775
|
+
});
|
|
776
|
+
it("reconstructed tree via getTreeState matches what was decomposed", async () => {
|
|
777
|
+
const root = makeGoal();
|
|
778
|
+
await stateManager.saveGoal(root);
|
|
779
|
+
const mockLLM = createMockLLMClient([LOW_SPECIFICITY, SUBGOALS_THREE, COVERAGE_PASS, HIGH_SPECIFICITY, HIGH_SPECIFICITY, HIGH_SPECIFICITY]);
|
|
780
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
781
|
+
await manager.decomposeGoal(root.id, DEFAULT_CONFIG);
|
|
782
|
+
const state = await manager.getTreeState(root.id);
|
|
783
|
+
// root + 3 children = 4
|
|
784
|
+
expect(state.total_nodes).toBe(4);
|
|
785
|
+
expect(state.root_id).toBe(root.id);
|
|
786
|
+
expect(state.max_depth_reached).toBe(1);
|
|
787
|
+
});
|
|
788
|
+
it("decomposeGoal result parent_id matches input goalId", async () => {
|
|
789
|
+
const goal = makeGoal();
|
|
790
|
+
await stateManager.saveGoal(goal);
|
|
791
|
+
const mockLLM = createMockLLMClient([HIGH_SPECIFICITY]);
|
|
792
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
793
|
+
const result = await manager.decomposeGoal(goal.id, DEFAULT_CONFIG);
|
|
794
|
+
expect(result.parent_id).toBe(goal.id);
|
|
795
|
+
});
|
|
796
|
+
it("goal with constraints: constraints are passed to child goals", async () => {
|
|
797
|
+
const root = makeGoal({ constraints: ["Use TypeScript only"] });
|
|
798
|
+
await stateManager.saveGoal(root);
|
|
799
|
+
const subgoalWithConstraint = JSON.stringify([
|
|
800
|
+
{
|
|
801
|
+
hypothesis: "Set up TypeScript project",
|
|
802
|
+
dimensions: [],
|
|
803
|
+
constraints: ["Strict mode enabled"],
|
|
804
|
+
expected_specificity: 0.9,
|
|
805
|
+
},
|
|
806
|
+
]);
|
|
807
|
+
const mockLLM = createMockLLMClient([LOW_SPECIFICITY, subgoalWithConstraint, COVERAGE_PASS, HIGH_SPECIFICITY]);
|
|
808
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
809
|
+
const result = await manager.decomposeGoal(root.id, DEFAULT_CONFIG);
|
|
810
|
+
const children = result.children;
|
|
811
|
+
expect(children).toHaveLength(1);
|
|
812
|
+
// Child should have its own constraints from LLM
|
|
813
|
+
expect(children[0]?.constraints).toContain("Strict mode enabled");
|
|
814
|
+
});
|
|
815
|
+
it("specificity_scores record includes child scores after 1-layer decomposition", async () => {
|
|
816
|
+
const root = makeGoal();
|
|
817
|
+
await stateManager.saveGoal(root);
|
|
818
|
+
const mockLLM = createMockLLMClient([LOW_SPECIFICITY, SUBGOALS_ONE, COVERAGE_PASS, HIGH_SPECIFICITY]);
|
|
819
|
+
const manager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, dependencyGraph);
|
|
820
|
+
const result = await manager.decomposeGoal(root.id, DEFAULT_CONFIG);
|
|
821
|
+
// At minimum, root's score is in there
|
|
822
|
+
expect(result.specificity_scores[root.id]).toBeCloseTo(0.4);
|
|
823
|
+
// Child score should also be recorded
|
|
824
|
+
const allScoreIds = Object.keys(result.specificity_scores);
|
|
825
|
+
expect(allScoreIds.length).toBeGreaterThanOrEqual(2);
|
|
826
|
+
});
|
|
827
|
+
});
|
|
828
|
+
//# sourceMappingURL=goal-tree-manager.test.js.map
|