pulseed 0.1.5 → 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 +1 -1
- package/dist/adapters/agents/a2a-adapter.d.ts.map +1 -1
- package/dist/adapters/agents/a2a-adapter.js +1 -1
- package/dist/adapters/agents/a2a-adapter.js.map +1 -1
- package/dist/adapters/agents/a2a-client.d.ts +1 -1
- package/dist/adapters/agents/a2a-client.d.ts.map +1 -1
- package/dist/adapters/agents/a2a-client.js +1 -1
- package/dist/adapters/agents/a2a-client.js.map +1 -1
- package/dist/adapters/agents/agent-profile-loader.d.ts +1 -1
- package/dist/adapters/agents/agent-profile-loader.d.ts.map +1 -1
- package/dist/adapters/agents/agent-profile-loader.js +1 -1
- package/dist/adapters/agents/agent-profile-loader.js.map +1 -1
- package/dist/adapters/agents/browser-use-cli.d.ts +1 -1
- package/dist/adapters/agents/browser-use-cli.d.ts.map +1 -1
- package/dist/adapters/agents/claude-api.d.ts +2 -2
- package/dist/adapters/agents/claude-api.d.ts.map +1 -1
- package/dist/adapters/agents/claude-code-cli.d.ts +1 -1
- package/dist/adapters/agents/claude-code-cli.d.ts.map +1 -1
- package/dist/adapters/agents/openai-codex.d.ts +1 -1
- package/dist/adapters/agents/openai-codex.d.ts.map +1 -1
- package/dist/adapters/agents/openai-codex.js +1 -1
- package/dist/adapters/agents/openai-codex.js.map +1 -1
- package/dist/adapters/agents/openclaw-acp.d.ts +1 -1
- package/dist/adapters/agents/openclaw-acp.d.ts.map +1 -1
- package/dist/adapters/datasources/file-existence-datasource.d.ts +2 -2
- package/dist/adapters/datasources/file-existence-datasource.d.ts.map +1 -1
- package/dist/adapters/datasources/github-issue-datasource.d.ts +2 -2
- package/dist/adapters/datasources/github-issue-datasource.d.ts.map +1 -1
- package/dist/adapters/datasources/mcp-datasource.d.ts +3 -3
- package/dist/adapters/datasources/mcp-datasource.d.ts.map +1 -1
- package/dist/adapters/datasources/openclaw-datasource.d.ts +2 -2
- package/dist/adapters/datasources/openclaw-datasource.d.ts.map +1 -1
- package/dist/adapters/datasources/shell-datasource.d.ts +2 -2
- package/dist/adapters/datasources/shell-datasource.d.ts.map +1 -1
- package/dist/adapters/github-issue.d.ts +2 -2
- package/dist/adapters/github-issue.d.ts.map +1 -1
- package/dist/adapters/mcp-client-manager.d.ts +1 -1
- package/dist/adapters/mcp-client-manager.d.ts.map +1 -1
- package/dist/adapters/mcp-client-manager.js +1 -1
- 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 +2 -2
- package/dist/chat/chat-runner.d.ts.map +1 -1
- package/dist/chat/escalation.d.ts +2 -2
- package/dist/chat/escalation.d.ts.map +1 -1
- package/dist/chat/grounding.d.ts +1 -1
- package/dist/chat/grounding.d.ts.map +1 -1
- package/dist/chat/mutation-tool-defs.d.ts +2 -2
- package/dist/chat/mutation-tool-defs.d.ts.map +1 -1
- package/dist/chat/self-knowledge-mutation-tools.js +1 -1
- package/dist/chat/self-knowledge-mutation-tools.js.map +1 -1
- package/dist/chat/self-knowledge-tools.d.ts +2 -2
- package/dist/chat/self-knowledge-tools.d.ts.map +1 -1
- 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.d.ts +1 -1
- package/dist/cli/cli-command-registry.d.ts.map +1 -1
- package/dist/cli/cli-logger.js +1 -1
- package/dist/cli/cli-logger.js.map +1 -1
- package/dist/cli/cli-runner.js +1 -1
- package/dist/cli/cli-runner.js.map +1 -1
- 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 +4 -4
- 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 +2 -2
- package/dist/cli/commands/daemon.js.map +1 -1
- package/dist/cli/commands/doctor.js +2 -2
- 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 +1 -1
- package/dist/cli/commands/goal-read.d.ts.map +1 -1
- package/dist/cli/commands/goal-read.js +2 -2
- 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 +1 -1
- 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/run.d.ts +1 -1
- package/dist/cli/commands/run.d.ts.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 +1 -1
- 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.js +1 -1
- package/dist/cli/commands/telegram.js.map +1 -1
- 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 +1 -1
- package/dist/cli/setup.d.ts.map +1 -1
- package/dist/cli/setup.js +3 -3
- package/dist/cli/setup.js.map +1 -1
- package/dist/cli/utils/loop-runner.js +1 -1
- package/dist/cli/utils/loop-runner.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 +1 -1
- package/dist/drive/stall-detector.d.ts.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.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/issue-context-fetcher.js +1 -1
- package/dist/execution/context/issue-context-fetcher.js.map +1 -1
- 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/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 +1 -1
- package/dist/execution/session-manager.d.ts.map +1 -1
- package/dist/execution/task/task-executor.d.ts +1 -1
- package/dist/execution/task/task-executor.d.ts.map +1 -1
- package/dist/execution/task/task-generation.d.ts +2 -2
- package/dist/execution/task/task-generation.d.ts.map +1 -1
- package/dist/execution/task/task-lifecycle.d.ts +2 -2
- package/dist/execution/task/task-lifecycle.d.ts.map +1 -1
- package/dist/execution/task/task-pipeline-cycle.d.ts +2 -2
- package/dist/execution/task/task-pipeline-cycle.d.ts.map +1 -1
- package/dist/execution/task/task-prompt-builder.d.ts +1 -1
- package/dist/execution/task/task-prompt-builder.d.ts.map +1 -1
- package/dist/execution/task/task-verifier-types.d.ts +2 -2
- package/dist/execution/task/task-verifier-types.d.ts.map +1 -1
- 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 +1 -1
- 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 +94 -73
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +75 -55
- 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.d.ts +2 -2
- package/dist/knowledge/knowledge-manager-query.d.ts.map +1 -1
- package/dist/knowledge/knowledge-manager.d.ts +2 -2
- package/dist/knowledge/knowledge-manager.d.ts.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 +1 -1
- package/dist/knowledge/learning/learning-cross-goal.d.ts.map +1 -1
- package/dist/knowledge/learning/learning-feedback.d.ts +1 -1
- package/dist/knowledge/learning/learning-feedback.d.ts.map +1 -1
- package/dist/knowledge/learning/learning-pipeline.d.ts +2 -2
- package/dist/knowledge/learning/learning-pipeline.d.ts.map +1 -1
- package/dist/knowledge/learning/learning-pipeline.js +1 -1
- package/dist/knowledge/learning/learning-pipeline.js.map +1 -1
- package/dist/knowledge/memory/memory-compression.d.ts +1 -1
- package/dist/knowledge/memory/memory-compression.d.ts.map +1 -1
- package/dist/knowledge/memory/memory-distill.d.ts +1 -1
- package/dist/knowledge/memory/memory-distill.d.ts.map +1 -1
- package/dist/knowledge/memory/memory-lifecycle.d.ts +1 -1
- package/dist/knowledge/memory/memory-lifecycle.d.ts.map +1 -1
- package/dist/knowledge/transfer/knowledge-transfer-apply.d.ts +2 -2
- package/dist/knowledge/transfer/knowledge-transfer-apply.d.ts.map +1 -1
- package/dist/knowledge/transfer/knowledge-transfer-apply.js +1 -1
- package/dist/knowledge/transfer/knowledge-transfer-apply.js.map +1 -1
- package/dist/knowledge/transfer/knowledge-transfer-detect.d.ts +1 -1
- package/dist/knowledge/transfer/knowledge-transfer-detect.d.ts.map +1 -1
- package/dist/knowledge/transfer/knowledge-transfer-evaluate.d.ts +1 -1
- package/dist/knowledge/transfer/knowledge-transfer-evaluate.d.ts.map +1 -1
- package/dist/knowledge/transfer/knowledge-transfer-meta.d.ts +2 -2
- package/dist/knowledge/transfer/knowledge-transfer-meta.d.ts.map +1 -1
- package/dist/knowledge/transfer/knowledge-transfer-meta.js +1 -1
- package/dist/knowledge/transfer/knowledge-transfer-meta.js.map +1 -1
- package/dist/knowledge/transfer/knowledge-transfer-types.d.ts +1 -1
- package/dist/knowledge/transfer/knowledge-transfer-types.d.ts.map +1 -1
- package/dist/knowledge/transfer/knowledge-transfer.d.ts +2 -2
- package/dist/knowledge/transfer/knowledge-transfer.d.ts.map +1 -1
- package/dist/knowledge/transfer/transfer-trust.d.ts +1 -1
- package/dist/knowledge/transfer/transfer-trust.d.ts.map +1 -1
- 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/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-types.d.ts +1 -1
- package/dist/loop/core-loop-types.d.ts.map +1 -1
- package/dist/loop/core-loop.js +1 -1
- package/dist/loop/core-loop.js.map +1 -1
- 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 +2 -2
- package/dist/observation/capability-detector.d.ts.map +1 -1
- package/dist/observation/capability-registry.d.ts +1 -1
- package/dist/observation/capability-registry.d.ts.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-llm.d.ts +1 -1
- package/dist/observation/observation-llm.d.ts.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/{loop/core-loop-phases-c 2.d.ts → orchestrator/loop/core-loop-phases-c.d.ts} +3 -3
- package/dist/orchestrator/loop/core-loop-phases-c.d.ts.map +1 -0
- package/dist/{loop/core-loop-phases-c 2.js → orchestrator/loop/core-loop-phases-c.js} +1 -1
- 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 +254 -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 +49 -0
- package/dist/platform/knowledge/embedding-client.d.ts.map +1 -0
- package/dist/platform/knowledge/embedding-client.js +141 -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 +81 -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 +1 -1
- package/dist/prompt/context-assembler.js.map +1 -1
- package/dist/prompt/formatters.d.ts +1 -1
- package/dist/prompt/formatters.d.ts.map +1 -1
- package/dist/prompt/formatters.js +1 -1
- 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/strategy.d.ts +2 -2
- package/dist/prompt/purposes/strategy.d.ts.map +1 -1
- package/dist/prompt/purposes/strategy.js +1 -1
- package/dist/prompt/purposes/strategy.js.map +1 -1
- 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/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.d.ts +2 -2
- package/dist/reporting/report-formatters.d.ts.map +1 -1
- package/dist/reporting/reporting-engine.d.ts +3 -3
- package/dist/reporting/reporting-engine.d.ts.map +1 -1
- package/dist/reporting/reporting-engine.js +2 -2
- package/dist/reporting/reporting-engine.js.map +1 -1
- 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-runner.d.ts +5 -5
- package/dist/runtime/daemon-runner.d.ts.map +1 -1
- package/dist/runtime/daemon-runner.js +2 -2
- package/dist/runtime/daemon-runner.js.map +1 -1
- 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/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-manager.d.ts +1 -1
- package/dist/strategy/portfolio-manager.d.ts.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 +2 -2
- package/dist/traits/curiosity-engine.d.ts.map +1 -1
- package/dist/traits/curiosity-proposals.d.ts +1 -1
- package/dist/traits/curiosity-proposals.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/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 +1 -1
- package/dist/tui/actions.d.ts.map +1 -1
- package/dist/tui/app.d.ts +1 -1
- package/dist/tui/app.d.ts.map +1 -1
- package/dist/tui/entry.js +4 -4
- 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 +1 -1
- 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/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 +8 -3
- package/dist/index 2.js +0 -77
- package/dist/index.d 2.ts +0 -97
- package/dist/loop/core-loop-phases-c 2.d.ts.map +0 -1
- package/dist/loop/core-loop-phases-c 2.js.map +0 -1
|
@@ -0,0 +1,903 @@
|
|
|
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 { StallDetector } from "../stall-detector.js";
|
|
5
|
+
import { ProgressPredictor } from "../progress-predictor.js";
|
|
6
|
+
import { makeTempDir } from "../../../tests/helpers/temp-dir.js";
|
|
7
|
+
function makeGapHistory(values) {
|
|
8
|
+
return values.map((v) => ({ normalized_gap: v }));
|
|
9
|
+
}
|
|
10
|
+
// ─── Test Setup ───
|
|
11
|
+
let tempDir;
|
|
12
|
+
let stateManager;
|
|
13
|
+
let detector;
|
|
14
|
+
beforeEach(() => {
|
|
15
|
+
tempDir = makeTempDir();
|
|
16
|
+
stateManager = new StateManager(tempDir);
|
|
17
|
+
detector = new StallDetector(stateManager);
|
|
18
|
+
});
|
|
19
|
+
afterEach(() => {
|
|
20
|
+
fs.rmSync(tempDir, { recursive: true, force: true, maxRetries: 3, retryDelay: 100 });
|
|
21
|
+
});
|
|
22
|
+
// ─── checkDimensionStall ───
|
|
23
|
+
describe("checkDimensionStall", () => {
|
|
24
|
+
it("returns null when gap is improving (decreasing)", () => {
|
|
25
|
+
// 6 entries: gap going from 0.8 to 0.3
|
|
26
|
+
const history = makeGapHistory([0.8, 0.7, 0.6, 0.5, 0.4, 0.3]);
|
|
27
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history);
|
|
28
|
+
expect(result).toBeNull();
|
|
29
|
+
});
|
|
30
|
+
it("returns StallReport when gap has not decreased over N (default=5) loops", () => {
|
|
31
|
+
// Flat gap for 6 entries (oldest=0.5, latest=0.5)
|
|
32
|
+
const history = makeGapHistory([0.5, 0.5, 0.5, 0.5, 0.5, 0.5]);
|
|
33
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history);
|
|
34
|
+
expect(result).not.toBeNull();
|
|
35
|
+
expect(result.stall_type).toBe("dimension_stall");
|
|
36
|
+
expect(result.goal_id).toBe("goal-1");
|
|
37
|
+
expect(result.dimension_name).toBe("dim-a");
|
|
38
|
+
expect(result.decay_factor).toBe(0.6);
|
|
39
|
+
});
|
|
40
|
+
it("returns StallReport when gap slightly increased (got worse)", () => {
|
|
41
|
+
// Gap went up from 0.4 to 0.5 over the window
|
|
42
|
+
const history = makeGapHistory([0.4, 0.42, 0.45, 0.48, 0.5, 0.5]);
|
|
43
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history);
|
|
44
|
+
expect(result).not.toBeNull();
|
|
45
|
+
expect(result.stall_type).toBe("dimension_stall");
|
|
46
|
+
});
|
|
47
|
+
it("returns null when history is too short (fewer than N+1 entries)", () => {
|
|
48
|
+
// Default N=5, need at least 6 entries
|
|
49
|
+
const history = makeGapHistory([0.5, 0.5, 0.5, 0.5, 0.5]);
|
|
50
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history);
|
|
51
|
+
expect(result).toBeNull();
|
|
52
|
+
});
|
|
53
|
+
it("uses N=6 for 'immediate' feedback category", () => {
|
|
54
|
+
// N=6 means need 7 entries; flat over 7 entries → stall
|
|
55
|
+
const history = makeGapHistory([0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5]);
|
|
56
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history, "immediate");
|
|
57
|
+
expect(result).not.toBeNull();
|
|
58
|
+
expect(result.stall_type).toBe("dimension_stall");
|
|
59
|
+
});
|
|
60
|
+
it("uses N=6 for 'immediate': 4 entries is insufficient history → no stall", () => {
|
|
61
|
+
// N=6 → need 7 entries; 4 entries is not enough data
|
|
62
|
+
const history = makeGapHistory([0.5, 0.5, 0.5, 0.5]);
|
|
63
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history, "immediate");
|
|
64
|
+
expect(result).toBeNull();
|
|
65
|
+
});
|
|
66
|
+
it("uses N=6 for 'immediate': improving over 7 entries → no stall", () => {
|
|
67
|
+
const history = makeGapHistory([0.5, 0.45, 0.40, 0.35, 0.30, 0.25, 0.20]);
|
|
68
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history, "immediate");
|
|
69
|
+
expect(result).toBeNull();
|
|
70
|
+
});
|
|
71
|
+
it("uses N=10 for 'long_term' feedback category", () => {
|
|
72
|
+
// N=10 means need 11 entries; only 6 available → not enough data
|
|
73
|
+
const history = makeGapHistory([0.5, 0.5, 0.5, 0.5, 0.5, 0.5]);
|
|
74
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history, "long_term");
|
|
75
|
+
expect(result).toBeNull();
|
|
76
|
+
});
|
|
77
|
+
it("uses N=10 for 'long_term': stall detected with 11 flat entries", () => {
|
|
78
|
+
const history = makeGapHistory([0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5]);
|
|
79
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history, "long_term");
|
|
80
|
+
expect(result).not.toBeNull();
|
|
81
|
+
expect(result.stall_type).toBe("dimension_stall");
|
|
82
|
+
});
|
|
83
|
+
it("uses N=5 for 'medium_term' feedback category", () => {
|
|
84
|
+
// N=5 means need 6 entries; improving → no stall
|
|
85
|
+
const history = makeGapHistory([0.5, 0.48, 0.46, 0.44, 0.42, 0.40]);
|
|
86
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history, "medium_term");
|
|
87
|
+
expect(result).toBeNull();
|
|
88
|
+
});
|
|
89
|
+
it("falls back to N=5 for unknown feedback category", () => {
|
|
90
|
+
// Unknown category → N=5 (default)
|
|
91
|
+
const history = makeGapHistory([0.5, 0.5, 0.5, 0.5, 0.5, 0.5]);
|
|
92
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history, "unknown_category");
|
|
93
|
+
expect(result).not.toBeNull();
|
|
94
|
+
});
|
|
95
|
+
it("should not stall within 5 iterations if no progress (new 6-iteration threshold)", () => {
|
|
96
|
+
// Default category N=5 → need 6 entries to detect stall.
|
|
97
|
+
// 5 flat entries (indices 0-4) = only 5 entries → insufficient history → no stall.
|
|
98
|
+
const history = makeGapHistory([0.5, 0.5, 0.5, 0.5, 0.5]);
|
|
99
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history);
|
|
100
|
+
expect(result).toBeNull();
|
|
101
|
+
});
|
|
102
|
+
it("should stall after 6 iterations of no progress", () => {
|
|
103
|
+
// Default category N=5 → need 6 entries (N+1=6) → 6 flat entries → stall.
|
|
104
|
+
const history = makeGapHistory([0.5, 0.5, 0.5, 0.5, 0.5, 0.5]);
|
|
105
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history);
|
|
106
|
+
expect(result).not.toBeNull();
|
|
107
|
+
expect(result.stall_type).toBe("dimension_stall");
|
|
108
|
+
});
|
|
109
|
+
it("does not reset stall detection for trivial improvement below 0.05 delta", () => {
|
|
110
|
+
// Improvement of only 0.001 (from 0.5 to 0.499) — below MIN_IMPROVEMENT_DELTA → still stall
|
|
111
|
+
const history = makeGapHistory([0.5, 0.5, 0.5, 0.5, 0.5, 0.499]);
|
|
112
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history);
|
|
113
|
+
expect(result).not.toBeNull();
|
|
114
|
+
expect(result.stall_type).toBe("dimension_stall");
|
|
115
|
+
});
|
|
116
|
+
it("resets stall detection for meaningful improvement of >= 0.05 delta", () => {
|
|
117
|
+
// Improvement of 0.10 (from 0.5 to 0.40) — at or above MIN_IMPROVEMENT_DELTA → no stall
|
|
118
|
+
const history = makeGapHistory([0.5, 0.5, 0.5, 0.5, 0.5, 0.40]);
|
|
119
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history);
|
|
120
|
+
expect(result).toBeNull();
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
// ─── checkTimeExceeded ───
|
|
124
|
+
describe("checkTimeExceeded", () => {
|
|
125
|
+
it("returns null when no started_at", () => {
|
|
126
|
+
const task = {
|
|
127
|
+
goal_id: "goal-1",
|
|
128
|
+
started_at: null,
|
|
129
|
+
estimated_duration: { value: 1, unit: "hours" },
|
|
130
|
+
};
|
|
131
|
+
expect(detector.checkTimeExceeded(task)).toBeNull();
|
|
132
|
+
});
|
|
133
|
+
it("returns null when elapsed time is within estimate×2 threshold", () => {
|
|
134
|
+
// Estimate = 1 hour, threshold = 2 hours, started 1 hour ago
|
|
135
|
+
const startedAt = new Date(Date.now() - 60 * 60 * 1000).toISOString();
|
|
136
|
+
const task = {
|
|
137
|
+
goal_id: "goal-1",
|
|
138
|
+
started_at: startedAt,
|
|
139
|
+
estimated_duration: { value: 1, unit: "hours" },
|
|
140
|
+
};
|
|
141
|
+
expect(detector.checkTimeExceeded(task)).toBeNull();
|
|
142
|
+
});
|
|
143
|
+
it("returns StallReport when elapsed time exceeds estimate×2", () => {
|
|
144
|
+
// Estimate = 1 hour → threshold = 2 hours; started 3 hours ago
|
|
145
|
+
const startedAt = new Date(Date.now() - 3 * 60 * 60 * 1000).toISOString();
|
|
146
|
+
const task = {
|
|
147
|
+
task_id: "task-123",
|
|
148
|
+
goal_id: "goal-1",
|
|
149
|
+
started_at: startedAt,
|
|
150
|
+
estimated_duration: { value: 1, unit: "hours" },
|
|
151
|
+
};
|
|
152
|
+
const result = detector.checkTimeExceeded(task);
|
|
153
|
+
expect(result).not.toBeNull();
|
|
154
|
+
expect(result.stall_type).toBe("time_exceeded");
|
|
155
|
+
expect(result.task_id).toBe("task-123");
|
|
156
|
+
expect(result.suggested_cause).toBe("external_dependency");
|
|
157
|
+
});
|
|
158
|
+
it("uses default 2 hours for 'coding' category (no estimate)", () => {
|
|
159
|
+
// Started 1 hour ago → within 2h threshold → no stall
|
|
160
|
+
const startedAt = new Date(Date.now() - 1 * 60 * 60 * 1000).toISOString();
|
|
161
|
+
const task = { goal_id: "goal-1", started_at: startedAt, task_category: "coding" };
|
|
162
|
+
expect(detector.checkTimeExceeded(task)).toBeNull();
|
|
163
|
+
});
|
|
164
|
+
it("returns StallReport for 'coding' after exceeding 2 hours", () => {
|
|
165
|
+
// Started 3 hours ago → exceeds 2h threshold
|
|
166
|
+
const startedAt = new Date(Date.now() - 3 * 60 * 60 * 1000).toISOString();
|
|
167
|
+
const task = { goal_id: "goal-1", started_at: startedAt, task_category: "coding" };
|
|
168
|
+
const result = detector.checkTimeExceeded(task);
|
|
169
|
+
expect(result).not.toBeNull();
|
|
170
|
+
expect(result.stall_type).toBe("time_exceeded");
|
|
171
|
+
});
|
|
172
|
+
it("uses default 2 hours for 'implementation' category", () => {
|
|
173
|
+
const startedAt = new Date(Date.now() - 3 * 60 * 60 * 1000).toISOString();
|
|
174
|
+
const task = { goal_id: "goal-1", started_at: startedAt, task_category: "implementation" };
|
|
175
|
+
const result = detector.checkTimeExceeded(task);
|
|
176
|
+
expect(result).not.toBeNull();
|
|
177
|
+
});
|
|
178
|
+
it("uses default 4 hours for 'research' category", () => {
|
|
179
|
+
// Started 3 hours ago → within 4h → no stall
|
|
180
|
+
const startedAt = new Date(Date.now() - 3 * 60 * 60 * 1000).toISOString();
|
|
181
|
+
const task = { goal_id: "goal-1", started_at: startedAt, task_category: "research" };
|
|
182
|
+
expect(detector.checkTimeExceeded(task)).toBeNull();
|
|
183
|
+
});
|
|
184
|
+
it("returns StallReport for 'research' after exceeding 4 hours", () => {
|
|
185
|
+
const startedAt = new Date(Date.now() - 5 * 60 * 60 * 1000).toISOString();
|
|
186
|
+
const task = { goal_id: "goal-1", started_at: startedAt, task_category: "research" };
|
|
187
|
+
const result = detector.checkTimeExceeded(task);
|
|
188
|
+
expect(result).not.toBeNull();
|
|
189
|
+
});
|
|
190
|
+
it("uses default 4 hours for 'investigation' category", () => {
|
|
191
|
+
const startedAt = new Date(Date.now() - 5 * 60 * 60 * 1000).toISOString();
|
|
192
|
+
const task = { goal_id: "goal-1", started_at: startedAt, task_category: "investigation" };
|
|
193
|
+
const result = detector.checkTimeExceeded(task);
|
|
194
|
+
expect(result).not.toBeNull();
|
|
195
|
+
});
|
|
196
|
+
it("uses fallback 3 hours for unknown category", () => {
|
|
197
|
+
// Started 2 hours ago → within 3h → no stall
|
|
198
|
+
const startedAt = new Date(Date.now() - 2 * 60 * 60 * 1000).toISOString();
|
|
199
|
+
const task = { goal_id: "goal-1", started_at: startedAt, task_category: "other" };
|
|
200
|
+
expect(detector.checkTimeExceeded(task)).toBeNull();
|
|
201
|
+
});
|
|
202
|
+
it("returns StallReport for unknown category after exceeding 3 hours", () => {
|
|
203
|
+
const startedAt = new Date(Date.now() - 4 * 60 * 60 * 1000).toISOString();
|
|
204
|
+
const task = { goal_id: "goal-1", started_at: startedAt };
|
|
205
|
+
const result = detector.checkTimeExceeded(task);
|
|
206
|
+
expect(result).not.toBeNull();
|
|
207
|
+
});
|
|
208
|
+
it("handles duration in minutes correctly (estimate × 2)", () => {
|
|
209
|
+
// Estimate = 60 minutes (1 hour) → threshold = 2 hours; started 3 hours ago
|
|
210
|
+
const startedAt = new Date(Date.now() - 3 * 60 * 60 * 1000).toISOString();
|
|
211
|
+
const task = {
|
|
212
|
+
goal_id: "goal-1",
|
|
213
|
+
started_at: startedAt,
|
|
214
|
+
estimated_duration: { value: 60, unit: "minutes" },
|
|
215
|
+
};
|
|
216
|
+
const result = detector.checkTimeExceeded(task);
|
|
217
|
+
expect(result).not.toBeNull();
|
|
218
|
+
});
|
|
219
|
+
it("handles duration in days correctly (estimate × 2)", () => {
|
|
220
|
+
// Estimate = 1 day → threshold = 2 days; started 1 day ago → no stall
|
|
221
|
+
const startedAt = new Date(Date.now() - 24 * 60 * 60 * 1000).toISOString();
|
|
222
|
+
const task = {
|
|
223
|
+
goal_id: "goal-1",
|
|
224
|
+
started_at: startedAt,
|
|
225
|
+
estimated_duration: { value: 1, unit: "days" },
|
|
226
|
+
};
|
|
227
|
+
expect(detector.checkTimeExceeded(task)).toBeNull();
|
|
228
|
+
});
|
|
229
|
+
});
|
|
230
|
+
// ─── checkConsecutiveFailures ───
|
|
231
|
+
describe("checkConsecutiveFailures", () => {
|
|
232
|
+
it("returns null when count is below threshold (< 3)", () => {
|
|
233
|
+
expect(detector.checkConsecutiveFailures("goal-1", "dim-a", 2)).toBeNull();
|
|
234
|
+
});
|
|
235
|
+
it("returns null when count is 0", () => {
|
|
236
|
+
expect(detector.checkConsecutiveFailures("goal-1", "dim-a", 0)).toBeNull();
|
|
237
|
+
});
|
|
238
|
+
it("returns StallReport when count equals threshold (3)", () => {
|
|
239
|
+
const result = detector.checkConsecutiveFailures("goal-1", "dim-a", 3);
|
|
240
|
+
expect(result).not.toBeNull();
|
|
241
|
+
expect(result.stall_type).toBe("consecutive_failure");
|
|
242
|
+
expect(result.goal_id).toBe("goal-1");
|
|
243
|
+
expect(result.dimension_name).toBe("dim-a");
|
|
244
|
+
expect(result.suggested_cause).toBe("approach_failure");
|
|
245
|
+
});
|
|
246
|
+
it("returns StallReport when count exceeds threshold (5)", () => {
|
|
247
|
+
const result = detector.checkConsecutiveFailures("goal-1", "dim-a", 5);
|
|
248
|
+
expect(result).not.toBeNull();
|
|
249
|
+
expect(result.stall_type).toBe("consecutive_failure");
|
|
250
|
+
});
|
|
251
|
+
});
|
|
252
|
+
// ─── checkGlobalStall ───
|
|
253
|
+
describe("checkGlobalStall", () => {
|
|
254
|
+
it("returns null for empty dimension map", () => {
|
|
255
|
+
const result = detector.checkGlobalStall("goal-1", new Map());
|
|
256
|
+
expect(result).toBeNull();
|
|
257
|
+
});
|
|
258
|
+
it("returns null when at least one dimension is improving", () => {
|
|
259
|
+
const dims = new Map([
|
|
260
|
+
["dim-a", makeGapHistory([0.5, 0.5, 0.5, 0.5, 0.5, 0.5])],
|
|
261
|
+
["dim-b", makeGapHistory([0.5, 0.4, 0.3, 0.2, 0.1, 0.05])], // improving
|
|
262
|
+
]);
|
|
263
|
+
const result = detector.checkGlobalStall("goal-1", dims);
|
|
264
|
+
expect(result).toBeNull();
|
|
265
|
+
});
|
|
266
|
+
it("returns StallReport when all dimensions are flat for 5 loops", () => {
|
|
267
|
+
const dims = new Map([
|
|
268
|
+
["dim-a", makeGapHistory([0.5, 0.5, 0.5, 0.5, 0.5, 0.5])],
|
|
269
|
+
["dim-b", makeGapHistory([0.3, 0.3, 0.3, 0.3, 0.3, 0.3])],
|
|
270
|
+
]);
|
|
271
|
+
const result = detector.checkGlobalStall("goal-1", dims);
|
|
272
|
+
expect(result).not.toBeNull();
|
|
273
|
+
expect(result.stall_type).toBe("global_stall");
|
|
274
|
+
expect(result.goal_id).toBe("goal-1");
|
|
275
|
+
expect(result.suggested_cause).toBe("goal_infeasible");
|
|
276
|
+
});
|
|
277
|
+
it("returns null when a dimension has insufficient history", () => {
|
|
278
|
+
const dims = new Map([
|
|
279
|
+
["dim-a", makeGapHistory([0.5, 0.5, 0.5, 0.5, 0.5, 0.5])],
|
|
280
|
+
["dim-b", makeGapHistory([0.5, 0.5])], // too short
|
|
281
|
+
]);
|
|
282
|
+
const result = detector.checkGlobalStall("goal-1", dims);
|
|
283
|
+
expect(result).toBeNull();
|
|
284
|
+
});
|
|
285
|
+
it("respects custom loopThreshold", () => {
|
|
286
|
+
// loopThreshold=3: need 4 entries; all flat over 4 entries → stall
|
|
287
|
+
const dims = new Map([
|
|
288
|
+
["dim-a", makeGapHistory([0.5, 0.5, 0.5, 0.5])],
|
|
289
|
+
["dim-b", makeGapHistory([0.3, 0.3, 0.3, 0.3])],
|
|
290
|
+
]);
|
|
291
|
+
const result = detector.checkGlobalStall("goal-1", dims, 3);
|
|
292
|
+
expect(result).not.toBeNull();
|
|
293
|
+
expect(result.stall_type).toBe("global_stall");
|
|
294
|
+
});
|
|
295
|
+
});
|
|
296
|
+
// ─── classifyStallCause ───
|
|
297
|
+
describe("classifyStallCause", () => {
|
|
298
|
+
it("returns 'approach_failure' for dimension_stall with high-confidence dimensions", () => {
|
|
299
|
+
const goal = { dimensions: [{ confidence: 0.8 }, { confidence: 0.9 }] };
|
|
300
|
+
expect(detector.classifyStallCause("dimension_stall", goal)).toBe("approach_failure");
|
|
301
|
+
});
|
|
302
|
+
it("returns 'external_dependency' for time_exceeded", () => {
|
|
303
|
+
const goal = { dimensions: [{ confidence: 0.8 }] };
|
|
304
|
+
expect(detector.classifyStallCause("time_exceeded", goal)).toBe("external_dependency");
|
|
305
|
+
});
|
|
306
|
+
it("returns 'approach_failure' for consecutive_failure", () => {
|
|
307
|
+
const goal = { dimensions: [{ confidence: 0.7 }] };
|
|
308
|
+
expect(detector.classifyStallCause("consecutive_failure", goal)).toBe("approach_failure");
|
|
309
|
+
});
|
|
310
|
+
it("returns 'goal_infeasible' for global_stall", () => {
|
|
311
|
+
const goal = { dimensions: [{ confidence: 0.8 }] };
|
|
312
|
+
expect(detector.classifyStallCause("global_stall", goal)).toBe("goal_infeasible");
|
|
313
|
+
});
|
|
314
|
+
it("returns 'information_deficit' when any dimension has confidence < 0.5", () => {
|
|
315
|
+
const goal = { dimensions: [{ confidence: 0.8 }, { confidence: 0.3 }] };
|
|
316
|
+
expect(detector.classifyStallCause("dimension_stall", goal)).toBe("information_deficit");
|
|
317
|
+
});
|
|
318
|
+
it("returns 'information_deficit' even for time_exceeded if low-confidence dim exists", () => {
|
|
319
|
+
const goal = { dimensions: [{ confidence: 0.4 }] };
|
|
320
|
+
expect(detector.classifyStallCause("time_exceeded", goal)).toBe("information_deficit");
|
|
321
|
+
});
|
|
322
|
+
it("returns 'information_deficit' for global_stall with low-confidence dimension", () => {
|
|
323
|
+
const goal = { dimensions: [{ confidence: 0.1 }] };
|
|
324
|
+
expect(detector.classifyStallCause("global_stall", goal)).toBe("information_deficit");
|
|
325
|
+
});
|
|
326
|
+
it("returns 'approach_failure' as fallback for unknown stall type", () => {
|
|
327
|
+
const goal = { dimensions: [{ confidence: 0.9 }] };
|
|
328
|
+
expect(detector.classifyStallCause("unknown_type", goal)).toBe("approach_failure");
|
|
329
|
+
});
|
|
330
|
+
it("handles goal with no dimensions", () => {
|
|
331
|
+
const goal = {};
|
|
332
|
+
expect(detector.classifyStallCause("global_stall", goal)).toBe("goal_infeasible");
|
|
333
|
+
});
|
|
334
|
+
it("handles goal with dimensions lacking confidence property", () => {
|
|
335
|
+
const goal = { dimensions: [{}] };
|
|
336
|
+
expect(detector.classifyStallCause("dimension_stall", goal)).toBe("approach_failure");
|
|
337
|
+
});
|
|
338
|
+
});
|
|
339
|
+
// ─── computeDecayFactor ───
|
|
340
|
+
describe("computeDecayFactor", () => {
|
|
341
|
+
it("returns 0.6 when stalled (regardless of loopsSinceRecovery)", () => {
|
|
342
|
+
expect(detector.computeDecayFactor(true, null)).toBe(0.6);
|
|
343
|
+
expect(detector.computeDecayFactor(true, 0)).toBe(0.6);
|
|
344
|
+
expect(detector.computeDecayFactor(true, 5)).toBe(0.6);
|
|
345
|
+
});
|
|
346
|
+
it("returns 1.0 when not stalled and no recovery (null)", () => {
|
|
347
|
+
expect(detector.computeDecayFactor(false, null)).toBe(1.0);
|
|
348
|
+
});
|
|
349
|
+
it("returns 0.75 at 0 loops since recovery", () => {
|
|
350
|
+
expect(detector.computeDecayFactor(false, 0)).toBe(0.75);
|
|
351
|
+
});
|
|
352
|
+
it("returns 0.75 at 1 loop since recovery (threshold 2 not reached)", () => {
|
|
353
|
+
expect(detector.computeDecayFactor(false, 1)).toBe(0.75);
|
|
354
|
+
});
|
|
355
|
+
it("returns 0.90 at 2 loops since recovery", () => {
|
|
356
|
+
expect(detector.computeDecayFactor(false, 2)).toBe(0.9);
|
|
357
|
+
});
|
|
358
|
+
it("returns 0.90 at 3 loops since recovery (threshold 4 not reached)", () => {
|
|
359
|
+
expect(detector.computeDecayFactor(false, 3)).toBe(0.9);
|
|
360
|
+
});
|
|
361
|
+
it("returns 1.0 at 4 loops since recovery", () => {
|
|
362
|
+
expect(detector.computeDecayFactor(false, 4)).toBe(1.0);
|
|
363
|
+
});
|
|
364
|
+
it("returns 1.0 at 10 loops since recovery", () => {
|
|
365
|
+
expect(detector.computeDecayFactor(false, 10)).toBe(1.0);
|
|
366
|
+
});
|
|
367
|
+
});
|
|
368
|
+
// ─── isSuppressed ───
|
|
369
|
+
describe("isSuppressed", () => {
|
|
370
|
+
it("returns false when plateauUntil is null", () => {
|
|
371
|
+
expect(detector.isSuppressed(null)).toBe(false);
|
|
372
|
+
});
|
|
373
|
+
it("returns true when plateauUntil is in the future", () => {
|
|
374
|
+
const future = new Date(Date.now() + 60 * 60 * 1000).toISOString(); // 1 hour from now
|
|
375
|
+
expect(detector.isSuppressed(future)).toBe(true);
|
|
376
|
+
});
|
|
377
|
+
it("returns false when plateauUntil is in the past", () => {
|
|
378
|
+
const past = new Date(Date.now() - 60 * 60 * 1000).toISOString(); // 1 hour ago
|
|
379
|
+
expect(detector.isSuppressed(past)).toBe(false);
|
|
380
|
+
});
|
|
381
|
+
it("returns false when plateauUntil is exactly now (boundary)", () => {
|
|
382
|
+
// Using a time slightly in the past to avoid flakiness
|
|
383
|
+
const slightlyPast = new Date(Date.now() - 1000).toISOString();
|
|
384
|
+
expect(detector.isSuppressed(slightlyPast)).toBe(false);
|
|
385
|
+
});
|
|
386
|
+
});
|
|
387
|
+
// ─── getStallState / saveStallState ───
|
|
388
|
+
describe("getStallState / saveStallState", () => {
|
|
389
|
+
it("returns default state when no state persisted", async () => {
|
|
390
|
+
const state = await detector.getStallState("goal-1");
|
|
391
|
+
expect(state.goal_id).toBe("goal-1");
|
|
392
|
+
expect(state.dimension_escalation).toEqual({});
|
|
393
|
+
expect(state.global_escalation).toBe(0);
|
|
394
|
+
expect(state.decay_factors).toEqual({});
|
|
395
|
+
expect(state.recovery_loops).toEqual({});
|
|
396
|
+
});
|
|
397
|
+
it("round-trips: save and load StallState", async () => {
|
|
398
|
+
const stateToSave = {
|
|
399
|
+
goal_id: "goal-2",
|
|
400
|
+
dimension_escalation: { "dim-a": 2, "dim-b": 1 },
|
|
401
|
+
global_escalation: 1,
|
|
402
|
+
decay_factors: { "dim-a": 0.6 },
|
|
403
|
+
recovery_loops: { "dim-b": 3 },
|
|
404
|
+
};
|
|
405
|
+
await detector.saveStallState("goal-2", stateToSave);
|
|
406
|
+
const loaded = await detector.getStallState("goal-2");
|
|
407
|
+
expect(loaded.goal_id).toBe("goal-2");
|
|
408
|
+
expect(loaded.dimension_escalation["dim-a"]).toBe(2);
|
|
409
|
+
expect(loaded.dimension_escalation["dim-b"]).toBe(1);
|
|
410
|
+
expect(loaded.global_escalation).toBe(1);
|
|
411
|
+
expect(loaded.decay_factors["dim-a"]).toBe(0.6);
|
|
412
|
+
expect(loaded.recovery_loops["dim-b"]).toBe(3);
|
|
413
|
+
});
|
|
414
|
+
});
|
|
415
|
+
// ─── getEscalationLevel / incrementEscalation / resetEscalation ───
|
|
416
|
+
describe("escalation lifecycle", () => {
|
|
417
|
+
it("returns 0 for a fresh goal/dimension", async () => {
|
|
418
|
+
expect(await detector.getEscalationLevel("goal-1", "dim-a")).toBe(0);
|
|
419
|
+
});
|
|
420
|
+
it("increments escalation level from 0 to 1", async () => {
|
|
421
|
+
const newLevel = await detector.incrementEscalation("goal-1", "dim-a");
|
|
422
|
+
expect(newLevel).toBe(1);
|
|
423
|
+
expect(await detector.getEscalationLevel("goal-1", "dim-a")).toBe(1);
|
|
424
|
+
});
|
|
425
|
+
it("increments escalation level through full lifecycle", async () => {
|
|
426
|
+
expect(await detector.incrementEscalation("goal-1", "dim-a")).toBe(1);
|
|
427
|
+
expect(await detector.incrementEscalation("goal-1", "dim-a")).toBe(2);
|
|
428
|
+
expect(await detector.incrementEscalation("goal-1", "dim-a")).toBe(3);
|
|
429
|
+
});
|
|
430
|
+
it("caps escalation at 3", async () => {
|
|
431
|
+
await detector.incrementEscalation("goal-1", "dim-a");
|
|
432
|
+
await detector.incrementEscalation("goal-1", "dim-a");
|
|
433
|
+
await detector.incrementEscalation("goal-1", "dim-a");
|
|
434
|
+
const capped = await detector.incrementEscalation("goal-1", "dim-a"); // attempt 4th
|
|
435
|
+
expect(capped).toBe(3);
|
|
436
|
+
expect(await detector.getEscalationLevel("goal-1", "dim-a")).toBe(3);
|
|
437
|
+
});
|
|
438
|
+
it("resets escalation to 0", async () => {
|
|
439
|
+
await detector.incrementEscalation("goal-1", "dim-a");
|
|
440
|
+
await detector.incrementEscalation("goal-1", "dim-a");
|
|
441
|
+
await detector.resetEscalation("goal-1", "dim-a");
|
|
442
|
+
expect(await detector.getEscalationLevel("goal-1", "dim-a")).toBe(0);
|
|
443
|
+
});
|
|
444
|
+
it("does not affect other dimensions when resetting", async () => {
|
|
445
|
+
await detector.incrementEscalation("goal-1", "dim-a");
|
|
446
|
+
await detector.incrementEscalation("goal-1", "dim-b");
|
|
447
|
+
await detector.resetEscalation("goal-1", "dim-a");
|
|
448
|
+
expect(await detector.getEscalationLevel("goal-1", "dim-a")).toBe(0);
|
|
449
|
+
expect(await detector.getEscalationLevel("goal-1", "dim-b")).toBe(1);
|
|
450
|
+
});
|
|
451
|
+
it("persists escalation across detector instances", async () => {
|
|
452
|
+
await detector.incrementEscalation("goal-1", "dim-a");
|
|
453
|
+
await detector.incrementEscalation("goal-1", "dim-a");
|
|
454
|
+
// Create a new detector using the same stateManager
|
|
455
|
+
const detector2 = new StallDetector(stateManager);
|
|
456
|
+
expect(await detector2.getEscalationLevel("goal-1", "dim-a")).toBe(2);
|
|
457
|
+
});
|
|
458
|
+
it("escalation is independent per goal", async () => {
|
|
459
|
+
await detector.incrementEscalation("goal-1", "dim-a");
|
|
460
|
+
await detector.incrementEscalation("goal-1", "dim-a");
|
|
461
|
+
expect(await detector.getEscalationLevel("goal-2", "dim-a")).toBe(0);
|
|
462
|
+
});
|
|
463
|
+
it("can increment multiple dimensions independently", async () => {
|
|
464
|
+
await detector.incrementEscalation("goal-1", "dim-a");
|
|
465
|
+
await detector.incrementEscalation("goal-1", "dim-a");
|
|
466
|
+
await detector.incrementEscalation("goal-1", "dim-b");
|
|
467
|
+
expect(await detector.getEscalationLevel("goal-1", "dim-a")).toBe(2);
|
|
468
|
+
expect(await detector.getEscalationLevel("goal-1", "dim-b")).toBe(1);
|
|
469
|
+
});
|
|
470
|
+
});
|
|
471
|
+
// ─── StallReport shape validation ───
|
|
472
|
+
describe("StallReport shape", () => {
|
|
473
|
+
it("dimension_stall report has all required fields", () => {
|
|
474
|
+
const history = makeGapHistory([0.5, 0.5, 0.5, 0.5, 0.5, 0.5]);
|
|
475
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history);
|
|
476
|
+
expect(result).not.toBeNull();
|
|
477
|
+
expect(typeof result.detected_at).toBe("string");
|
|
478
|
+
expect(result.escalation_level).toBeGreaterThanOrEqual(0);
|
|
479
|
+
expect(result.escalation_level).toBeLessThanOrEqual(3);
|
|
480
|
+
expect(result.decay_factor).toBe(0.6);
|
|
481
|
+
});
|
|
482
|
+
it("time_exceeded report has task_id when provided", () => {
|
|
483
|
+
const startedAt = new Date(Date.now() - 5 * 60 * 60 * 1000).toISOString();
|
|
484
|
+
const task = {
|
|
485
|
+
task_id: "my-task-id",
|
|
486
|
+
goal_id: "goal-1",
|
|
487
|
+
started_at: startedAt,
|
|
488
|
+
estimated_duration: { value: 1, unit: "hours" },
|
|
489
|
+
};
|
|
490
|
+
const result = detector.checkTimeExceeded(task);
|
|
491
|
+
expect(result.task_id).toBe("my-task-id");
|
|
492
|
+
expect(result.dimension_name).toBeNull();
|
|
493
|
+
});
|
|
494
|
+
it("consecutive_failure report includes dimension_name", () => {
|
|
495
|
+
const result = detector.checkConsecutiveFailures("goal-1", "dim-x", 3);
|
|
496
|
+
expect(result.dimension_name).toBe("dim-x");
|
|
497
|
+
});
|
|
498
|
+
it("global_stall report has null dimension_name and task_id", () => {
|
|
499
|
+
const dims = new Map([
|
|
500
|
+
["dim-a", makeGapHistory([0.5, 0.5, 0.5, 0.5, 0.5, 0.5])],
|
|
501
|
+
]);
|
|
502
|
+
const result = detector.checkGlobalStall("goal-1", dims);
|
|
503
|
+
expect(result.dimension_name).toBeNull();
|
|
504
|
+
expect(result.task_id).toBeNull();
|
|
505
|
+
});
|
|
506
|
+
});
|
|
507
|
+
// ─── CharacterConfig integration — StallDetector ───
|
|
508
|
+
describe("StallDetector CharacterConfig integration", () => {
|
|
509
|
+
let tempDir2;
|
|
510
|
+
let stateManager2;
|
|
511
|
+
beforeEach(() => {
|
|
512
|
+
tempDir2 = makeTempDir();
|
|
513
|
+
stateManager2 = new StateManager(tempDir2);
|
|
514
|
+
});
|
|
515
|
+
afterEach(() => {
|
|
516
|
+
fs.rmSync(tempDir2, { recursive: true, force: true, maxRetries: 3, retryDelay: 100 });
|
|
517
|
+
});
|
|
518
|
+
it("constructor without characterConfig is backwards compatible (no error)", () => {
|
|
519
|
+
expect(() => new StallDetector(stateManager2)).not.toThrow();
|
|
520
|
+
});
|
|
521
|
+
it("default config (stall_flexibility=1) uses N=6 for immediate category", () => {
|
|
522
|
+
// stall_flexibility=1 → multiplier=1.0 → immediate N=6 (need 7 entries)
|
|
523
|
+
const detectorDefault = new StallDetector(stateManager2);
|
|
524
|
+
// 7 flat entries → stall with immediate (N=6, need 7 entries)
|
|
525
|
+
const history = makeGapHistory([0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5]);
|
|
526
|
+
const result = detectorDefault.checkDimensionStall("goal-1", "dim-a", history, "immediate");
|
|
527
|
+
expect(result).not.toBeNull();
|
|
528
|
+
expect(result.stall_type).toBe("dimension_stall");
|
|
529
|
+
});
|
|
530
|
+
it("default config (stall_flexibility=1) — medium_term N=5, need 6 entries", () => {
|
|
531
|
+
const detectorDefault = new StallDetector(stateManager2);
|
|
532
|
+
const history = makeGapHistory([0.5, 0.5, 0.5, 0.5, 0.5, 0.5]);
|
|
533
|
+
const result = detectorDefault.checkDimensionStall("goal-1", "dim-a", history, "medium_term");
|
|
534
|
+
expect(result).not.toBeNull();
|
|
535
|
+
});
|
|
536
|
+
it("stall_flexibility=1 → N multiplier=1.0 (identical to no config)", () => {
|
|
537
|
+
const detectorFlex1 = new StallDetector(stateManager2, {
|
|
538
|
+
caution_level: 2,
|
|
539
|
+
stall_flexibility: 1,
|
|
540
|
+
communication_directness: 3,
|
|
541
|
+
proactivity_level: 2,
|
|
542
|
+
});
|
|
543
|
+
// immediate N=6 → need 7 entries
|
|
544
|
+
const history = makeGapHistory([0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5]);
|
|
545
|
+
expect(detectorFlex1.checkDimensionStall("g", "d", history, "immediate")).not.toBeNull();
|
|
546
|
+
});
|
|
547
|
+
it("stall_flexibility=5 → multiplier=2.0 → immediate N=12 (need 13 entries)", () => {
|
|
548
|
+
const detectorFlex5 = new StallDetector(stateManager2, {
|
|
549
|
+
caution_level: 2,
|
|
550
|
+
stall_flexibility: 5,
|
|
551
|
+
communication_directness: 3,
|
|
552
|
+
proactivity_level: 2,
|
|
553
|
+
});
|
|
554
|
+
// immediate base N=6 → adjusted N=round(6*2.0)=12 → need 13 entries
|
|
555
|
+
// 7 flat entries: not enough data → null
|
|
556
|
+
const shortHistory = makeGapHistory(new Array(7).fill(0.5));
|
|
557
|
+
expect(detectorFlex5.checkDimensionStall("g", "d", shortHistory, "immediate")).toBeNull();
|
|
558
|
+
// 13 flat entries: stall detected
|
|
559
|
+
const longHistory = makeGapHistory(new Array(13).fill(0.5));
|
|
560
|
+
expect(detectorFlex5.checkDimensionStall("g", "d", longHistory, "immediate")).not.toBeNull();
|
|
561
|
+
});
|
|
562
|
+
it("stall_flexibility=5 → long_term N=20 (need 21 entries)", () => {
|
|
563
|
+
const detectorFlex5 = new StallDetector(stateManager2, {
|
|
564
|
+
caution_level: 2,
|
|
565
|
+
stall_flexibility: 5,
|
|
566
|
+
communication_directness: 3,
|
|
567
|
+
proactivity_level: 2,
|
|
568
|
+
});
|
|
569
|
+
// long_term base N=10 → adjusted N=round(10*2.0)=20 → need 21 entries
|
|
570
|
+
// 11 flat entries: not enough data → null
|
|
571
|
+
const shortHistory = makeGapHistory(new Array(11).fill(0.5));
|
|
572
|
+
expect(detectorFlex5.checkDimensionStall("g", "d", shortHistory, "long_term")).toBeNull();
|
|
573
|
+
// 21 flat entries: stall detected
|
|
574
|
+
const longHistory = makeGapHistory(new Array(21).fill(0.5));
|
|
575
|
+
expect(detectorFlex5.checkDimensionStall("g", "d", longHistory, "long_term")).not.toBeNull();
|
|
576
|
+
});
|
|
577
|
+
it("CONSECUTIVE_FAILURE_THRESHOLD is unchanged at stall_flexibility=1 (threshold=3)", () => {
|
|
578
|
+
const detectorFlex1 = new StallDetector(stateManager2, {
|
|
579
|
+
caution_level: 2,
|
|
580
|
+
stall_flexibility: 1,
|
|
581
|
+
communication_directness: 3,
|
|
582
|
+
proactivity_level: 2,
|
|
583
|
+
});
|
|
584
|
+
expect(detectorFlex1.checkConsecutiveFailures("g", "d", 2)).toBeNull();
|
|
585
|
+
expect(detectorFlex1.checkConsecutiveFailures("g", "d", 3)).not.toBeNull();
|
|
586
|
+
});
|
|
587
|
+
it("CONSECUTIVE_FAILURE_THRESHOLD is unchanged at stall_flexibility=5 (threshold still=3)", () => {
|
|
588
|
+
const detectorFlex5 = new StallDetector(stateManager2, {
|
|
589
|
+
caution_level: 2,
|
|
590
|
+
stall_flexibility: 5,
|
|
591
|
+
communication_directness: 3,
|
|
592
|
+
proactivity_level: 2,
|
|
593
|
+
});
|
|
594
|
+
expect(detectorFlex5.checkConsecutiveFailures("g", "d", 2)).toBeNull();
|
|
595
|
+
expect(detectorFlex5.checkConsecutiveFailures("g", "d", 3)).not.toBeNull();
|
|
596
|
+
});
|
|
597
|
+
it("ESCALATION_CAP is unchanged at any stall_flexibility (caps at 3)", async () => {
|
|
598
|
+
const detectorFlex5 = new StallDetector(stateManager2, {
|
|
599
|
+
caution_level: 2,
|
|
600
|
+
stall_flexibility: 5,
|
|
601
|
+
communication_directness: 3,
|
|
602
|
+
proactivity_level: 2,
|
|
603
|
+
});
|
|
604
|
+
await detectorFlex5.incrementEscalation("g", "d");
|
|
605
|
+
await detectorFlex5.incrementEscalation("g", "d");
|
|
606
|
+
await detectorFlex5.incrementEscalation("g", "d");
|
|
607
|
+
const capped = await detectorFlex5.incrementEscalation("g", "d");
|
|
608
|
+
expect(capped).toBe(3);
|
|
609
|
+
});
|
|
610
|
+
it("stall_flexibility=3 → multiplier=1.5 → medium_term N=round(5*1.5)=8", () => {
|
|
611
|
+
const detectorFlex3 = new StallDetector(stateManager2, {
|
|
612
|
+
caution_level: 2,
|
|
613
|
+
stall_flexibility: 3,
|
|
614
|
+
communication_directness: 3,
|
|
615
|
+
proactivity_level: 2,
|
|
616
|
+
});
|
|
617
|
+
// medium_term base N=5 → adjusted N=round(5*1.5)=8 → need 9 entries
|
|
618
|
+
// 6 flat entries: not enough → null
|
|
619
|
+
const shortHistory = makeGapHistory([0.5, 0.5, 0.5, 0.5, 0.5, 0.5]);
|
|
620
|
+
expect(detectorFlex3.checkDimensionStall("g", "d", shortHistory, "medium_term")).toBeNull();
|
|
621
|
+
// 9 flat entries: stall detected
|
|
622
|
+
const longHistory = makeGapHistory(new Array(9).fill(0.5));
|
|
623
|
+
expect(detectorFlex3.checkDimensionStall("g", "d", longHistory, "medium_term")).not.toBeNull();
|
|
624
|
+
});
|
|
625
|
+
it("constructor with explicit DEFAULT values identical to omitting characterConfig", () => {
|
|
626
|
+
const detectorDefault = new StallDetector(stateManager2);
|
|
627
|
+
const detectorExplicit = new StallDetector(stateManager2, {
|
|
628
|
+
caution_level: 2,
|
|
629
|
+
stall_flexibility: 1,
|
|
630
|
+
communication_directness: 3,
|
|
631
|
+
proactivity_level: 2,
|
|
632
|
+
});
|
|
633
|
+
// Both should behave identically for immediate stall (N=6, need 7 entries)
|
|
634
|
+
const history = makeGapHistory([0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5]);
|
|
635
|
+
const r1 = detectorDefault.checkDimensionStall("g", "d", history, "immediate");
|
|
636
|
+
const r2 = detectorExplicit.checkDimensionStall("g", "d", history, "immediate");
|
|
637
|
+
expect(r1).not.toBeNull();
|
|
638
|
+
expect(r2).not.toBeNull();
|
|
639
|
+
expect(r1.stall_type).toBe(r2.stall_type);
|
|
640
|
+
});
|
|
641
|
+
});
|
|
642
|
+
// ─── Zero-progress early detection ───
|
|
643
|
+
describe("zero-progress early detection", () => {
|
|
644
|
+
it("detects zero-progress stall with sufficient history at gap=1.00", () => {
|
|
645
|
+
const history = makeGapHistory([1.0, 1.0, 1.0, 1.0, 1.0, 1.0]);
|
|
646
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history);
|
|
647
|
+
expect(result).not.toBeNull();
|
|
648
|
+
expect(result.stall_type).toBe("dimension_stall");
|
|
649
|
+
expect(result.goal_id).toBe("goal-1");
|
|
650
|
+
expect(result.dimension_name).toBe("dim-a");
|
|
651
|
+
expect(result.decay_factor).toBe(0.6);
|
|
652
|
+
});
|
|
653
|
+
it("detects zero-progress in checkGlobalStall with sufficient history", () => {
|
|
654
|
+
const dims = new Map([
|
|
655
|
+
["dim-a", makeGapHistory([1.0, 1.0, 1.0, 1.0, 1.0, 1.0])],
|
|
656
|
+
]);
|
|
657
|
+
const result = detector.checkGlobalStall("goal-1", dims);
|
|
658
|
+
expect(result).not.toBeNull();
|
|
659
|
+
expect(result.stall_type).toBe("global_stall");
|
|
660
|
+
expect(result.goal_id).toBe("goal-1");
|
|
661
|
+
});
|
|
662
|
+
it("does NOT trigger zero-progress when gap is below floor with insufficient history", () => {
|
|
663
|
+
const history = makeGapHistory([0.89, 0.89, 0.89]);
|
|
664
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history);
|
|
665
|
+
expect(result).toBeNull(); // insufficient history (3 < 6) and below GAP_FLOOR
|
|
666
|
+
});
|
|
667
|
+
it("does NOT trigger zero-progress when gap values vary too much", () => {
|
|
668
|
+
// oldest=1.0, latest=0.9, diff=0.1 >= 0.05 → improvement detected → null
|
|
669
|
+
const history = makeGapHistory([1.0, 0.9, 1.0, 0.9, 1.0, 0.9]);
|
|
670
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history);
|
|
671
|
+
expect(result).toBeNull();
|
|
672
|
+
});
|
|
673
|
+
it("detects zero-progress at gap=0.98 (near but not exactly 1.00)", () => {
|
|
674
|
+
const history = makeGapHistory([0.98, 0.98, 0.98, 0.98, 0.98, 0.98]);
|
|
675
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history);
|
|
676
|
+
expect(result).not.toBeNull();
|
|
677
|
+
expect(result.stall_type).toBe("dimension_stall");
|
|
678
|
+
});
|
|
679
|
+
it("does NOT trigger global stall when one dimension is zero-progress but another is improving", () => {
|
|
680
|
+
// dim-a: stuck at 1.0, dim-b: improving from 1.0 to 0.5
|
|
681
|
+
const dims = new Map([
|
|
682
|
+
["dim-a", makeGapHistory([1.0, 1.0, 1.0, 1.0, 1.0, 1.0])],
|
|
683
|
+
["dim-b", makeGapHistory([1.0, 0.9, 0.8, 0.7, 0.6, 0.5])],
|
|
684
|
+
]);
|
|
685
|
+
const result = detector.checkGlobalStall("goal-1", dims);
|
|
686
|
+
expect(result).toBeNull(); // dim-b improved, so no global stall
|
|
687
|
+
});
|
|
688
|
+
it("triggers global stall when ALL dimensions are zero-progress", () => {
|
|
689
|
+
const dims = new Map([
|
|
690
|
+
["dim-a", makeGapHistory([1.0, 1.0, 1.0, 1.0, 1.0, 1.0])],
|
|
691
|
+
["dim-b", makeGapHistory([0.95, 0.95, 0.95, 0.95, 0.95, 0.95])],
|
|
692
|
+
]);
|
|
693
|
+
const result = detector.checkGlobalStall("goal-1", dims);
|
|
694
|
+
expect(result).not.toBeNull();
|
|
695
|
+
expect(result.stall_type).toBe("global_stall");
|
|
696
|
+
});
|
|
697
|
+
it("detects zero-progress at gap=0.90 after GAP_FLOOR lowered", () => {
|
|
698
|
+
const history = makeGapHistory([0.90, 0.90, 0.90, 0.90, 0.90, 0.90]);
|
|
699
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history);
|
|
700
|
+
expect(result).not.toBeNull();
|
|
701
|
+
expect(result.stall_type).toBe("dimension_stall");
|
|
702
|
+
});
|
|
703
|
+
});
|
|
704
|
+
// ─── Achieved-dimension guard (ACHIEVED_GAP_THRESHOLD) ───
|
|
705
|
+
describe("achieved-dimension guard", () => {
|
|
706
|
+
// checkDimensionStall tests
|
|
707
|
+
it("returns null when full window is at or below achieved threshold (0.02)", () => {
|
|
708
|
+
// All 6 entries <= 0.02 → dimension is achieved → not a stall
|
|
709
|
+
const history = makeGapHistory([0.02, 0.01, 0.01, 0.02, 0.00, 0.01]);
|
|
710
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history);
|
|
711
|
+
expect(result).toBeNull();
|
|
712
|
+
});
|
|
713
|
+
it("returns null when full window is exactly at threshold (0.02)", () => {
|
|
714
|
+
// Boundary: exactly 0.02 for all entries → achieved
|
|
715
|
+
const history = makeGapHistory([0.02, 0.02, 0.02, 0.02, 0.02, 0.02]);
|
|
716
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history);
|
|
717
|
+
expect(result).toBeNull();
|
|
718
|
+
});
|
|
719
|
+
it("does NOT skip when dimension is just above threshold (0.03 > 0.02)", () => {
|
|
720
|
+
// Latest is 0.03 — just above threshold; still checked for stall
|
|
721
|
+
const history = makeGapHistory([0.03, 0.03, 0.03, 0.03, 0.03, 0.03]);
|
|
722
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history);
|
|
723
|
+
expect(result).not.toBeNull();
|
|
724
|
+
expect(result.stall_type).toBe("dimension_stall");
|
|
725
|
+
});
|
|
726
|
+
it("does NOT skip when oscillating around threshold (some above, some below)", () => {
|
|
727
|
+
// Entries alternate between 0.01 (below) and 0.05 (above) — not all achieved
|
|
728
|
+
const history = makeGapHistory([0.01, 0.05, 0.01, 0.05, 0.01, 0.05]);
|
|
729
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history);
|
|
730
|
+
// Not all below threshold, so guard does not fire — check for stall normally
|
|
731
|
+
// oldest=0.01, latest=0.05 → no improvement → stall
|
|
732
|
+
expect(result).not.toBeNull();
|
|
733
|
+
expect(result.stall_type).toBe("dimension_stall");
|
|
734
|
+
});
|
|
735
|
+
it("does NOT skip when only the latest entry is below threshold", () => {
|
|
736
|
+
// Only last entry is 0.01; earlier entries are 0.50 — not full-window achieved
|
|
737
|
+
const history = makeGapHistory([0.50, 0.50, 0.50, 0.50, 0.50, 0.01]);
|
|
738
|
+
// oldest=0.50, latest=0.01 → improvement of 0.49 >= MIN_IMPROVEMENT_DELTA → null (improving)
|
|
739
|
+
const result = detector.checkDimensionStall("goal-1", "dim-a", history);
|
|
740
|
+
expect(result).toBeNull(); // null because of meaningful improvement, not achieved guard
|
|
741
|
+
});
|
|
742
|
+
// checkGlobalStall tests
|
|
743
|
+
it("checkGlobalStall: returns null when all dimensions are achieved", () => {
|
|
744
|
+
// Both dimensions have all-window gaps <= 0.02 → both achieved → no global stall
|
|
745
|
+
const dims = new Map([
|
|
746
|
+
["dim-a", makeGapHistory([0.01, 0.01, 0.01, 0.01, 0.01, 0.01])],
|
|
747
|
+
["dim-b", makeGapHistory([0.02, 0.02, 0.02, 0.02, 0.02, 0.02])],
|
|
748
|
+
]);
|
|
749
|
+
const result = detector.checkGlobalStall("goal-1", dims);
|
|
750
|
+
expect(result).toBeNull();
|
|
751
|
+
});
|
|
752
|
+
it("checkGlobalStall: returns null when one dim achieved, one improving", () => {
|
|
753
|
+
// dim-a achieved, dim-b improving — no global stall
|
|
754
|
+
const dims = new Map([
|
|
755
|
+
["dim-a", makeGapHistory([0.01, 0.01, 0.01, 0.01, 0.01, 0.01])],
|
|
756
|
+
["dim-b", makeGapHistory([0.50, 0.45, 0.40, 0.35, 0.30, 0.20])], // improving by 0.30
|
|
757
|
+
]);
|
|
758
|
+
const result = detector.checkGlobalStall("goal-1", dims);
|
|
759
|
+
expect(result).toBeNull();
|
|
760
|
+
});
|
|
761
|
+
it("checkGlobalStall: returns global_stall when one dim achieved, one flat (non-achieved)", () => {
|
|
762
|
+
// dim-a achieved; dim-b flat at 0.5 → non-achieved, non-improving → global stall
|
|
763
|
+
const dims = new Map([
|
|
764
|
+
["dim-a", makeGapHistory([0.01, 0.01, 0.01, 0.01, 0.01, 0.01])],
|
|
765
|
+
["dim-b", makeGapHistory([0.50, 0.50, 0.50, 0.50, 0.50, 0.50])],
|
|
766
|
+
]);
|
|
767
|
+
const result = detector.checkGlobalStall("goal-1", dims);
|
|
768
|
+
expect(result).not.toBeNull();
|
|
769
|
+
expect(result.stall_type).toBe("global_stall");
|
|
770
|
+
expect(result.suggested_cause).toBe("goal_infeasible");
|
|
771
|
+
});
|
|
772
|
+
});
|
|
773
|
+
// ─── ProgressPredictor integration ───
|
|
774
|
+
describe("StallDetector with ProgressPredictor", () => {
|
|
775
|
+
let sm;
|
|
776
|
+
let tmpDir;
|
|
777
|
+
beforeEach(() => {
|
|
778
|
+
tmpDir = makeTempDir();
|
|
779
|
+
sm = new StateManager(tmpDir);
|
|
780
|
+
});
|
|
781
|
+
afterEach(() => {
|
|
782
|
+
fs.rmSync(tmpDir, { recursive: true, force: true, maxRetries: 3, retryDelay: 100 });
|
|
783
|
+
});
|
|
784
|
+
it("works as before (no predictor) — no regression for normal stall detection", () => {
|
|
785
|
+
const det = new StallDetector(sm);
|
|
786
|
+
// Flat history → normal stall
|
|
787
|
+
const history = makeGapHistory([0.5, 0.5, 0.5, 0.5, 0.5, 0.5]);
|
|
788
|
+
const result = det.checkDimensionStall("g1", "d1", history);
|
|
789
|
+
expect(result).not.toBeNull();
|
|
790
|
+
expect(result.stall_type).toBe("dimension_stall");
|
|
791
|
+
});
|
|
792
|
+
it("works as before (no predictor) — no false predicted stall on improving series", () => {
|
|
793
|
+
const det = new StallDetector(sm);
|
|
794
|
+
const history = makeGapHistory([0.8, 0.7, 0.6, 0.5, 0.4, 0.3]);
|
|
795
|
+
const result = det.checkDimensionStall("g1", "d1", history);
|
|
796
|
+
expect(result).toBeNull();
|
|
797
|
+
});
|
|
798
|
+
it("detects predicted_plateau when predictor says stable and confidence > 0.6", () => {
|
|
799
|
+
const predictor = new ProgressPredictor();
|
|
800
|
+
const det = new StallDetector(sm, undefined, predictor);
|
|
801
|
+
// History: early improvement (oldest=0.8, latest=0.4 → diff=0.4 >= 0.05) so it
|
|
802
|
+
// passes the improvement check and goes to the predictor.
|
|
803
|
+
// Last 5 entries: [0.4, 0.4, 0.4, 0.4, 0.4] → slope=0, stable, R²=1.0 (confidence=1.0)
|
|
804
|
+
const history = makeGapHistory([0.8, 0.4, 0.4, 0.4, 0.4, 0.4]);
|
|
805
|
+
const result = det.checkDimensionStall("g1", "d1", history);
|
|
806
|
+
expect(result).not.toBeNull();
|
|
807
|
+
expect(result.stall_type).toBe("predicted_plateau");
|
|
808
|
+
expect(result.goal_id).toBe("g1");
|
|
809
|
+
expect(result.dimension_name).toBe("d1");
|
|
810
|
+
});
|
|
811
|
+
it("detects predicted_regression when predictor says worsening and confidence > 0.6", () => {
|
|
812
|
+
const predictor = new ProgressPredictor();
|
|
813
|
+
const det = new StallDetector(sm, undefined, predictor);
|
|
814
|
+
// History starts improving (oldest-latest >= 0.05) but recent tail is increasing
|
|
815
|
+
// History: 0.8, 0.3, 0.4, 0.5, 0.6, 0.7 — oldest=0.8, latest=0.7, diff=0.1 >= 0.05
|
|
816
|
+
// Last 5: [0.3, 0.4, 0.5, 0.6, 0.7] — slope = +0.1 (worsening), R² = 1.0
|
|
817
|
+
const history = makeGapHistory([0.8, 0.3, 0.4, 0.5, 0.6, 0.7]);
|
|
818
|
+
const result = det.checkDimensionStall("g1", "d1", history);
|
|
819
|
+
expect(result).not.toBeNull();
|
|
820
|
+
expect(result.stall_type).toBe("predicted_regression");
|
|
821
|
+
expect(result.goal_id).toBe("g1");
|
|
822
|
+
expect(result.dimension_name).toBe("d1");
|
|
823
|
+
});
|
|
824
|
+
it("does NOT trigger predicted stall when confidence <= 0.6 (noisy data)", () => {
|
|
825
|
+
const predictor = new ProgressPredictor();
|
|
826
|
+
const det = new StallDetector(sm, undefined, predictor);
|
|
827
|
+
// Improving overall (oldest-latest >= 0.05) but noisy trend — R² will be low
|
|
828
|
+
// Use large but noisy improvement so predictor confidence is low
|
|
829
|
+
const history = makeGapHistory([0.9, 0.2, 0.9, 0.2, 0.9, 0.3]);
|
|
830
|
+
const result = det.checkDimensionStall("g1", "d1", history);
|
|
831
|
+
// oldest=0.9, latest=0.3 → improvement=0.6 >= 0.05 → goes to predictor
|
|
832
|
+
// noisy last 5: [0.2, 0.9, 0.2, 0.9, 0.3] → R² ≈ 0 → no predicted stall
|
|
833
|
+
expect(result).toBeNull();
|
|
834
|
+
});
|
|
835
|
+
it("normal stall (dimension_stall) takes priority over predictor check", () => {
|
|
836
|
+
const predictor = new ProgressPredictor();
|
|
837
|
+
const det = new StallDetector(sm, undefined, predictor);
|
|
838
|
+
// Flat history → falls through to normal dimension_stall, predictor never fires
|
|
839
|
+
const history = makeGapHistory([0.5, 0.5, 0.5, 0.5, 0.5, 0.5]);
|
|
840
|
+
const result = det.checkDimensionStall("g1", "d1", history);
|
|
841
|
+
expect(result).not.toBeNull();
|
|
842
|
+
expect(result.stall_type).toBe("dimension_stall"); // not predicted_plateau
|
|
843
|
+
});
|
|
844
|
+
it("returns null when predictor says improving (trend=improving, confidence > 0.6)", () => {
|
|
845
|
+
const predictor = new ProgressPredictor();
|
|
846
|
+
const det = new StallDetector(sm, undefined, predictor);
|
|
847
|
+
// History: oldest=0.8, latest=0.3 → diff=0.5 >= 0.05 → passes improvement check, goes to predictor.
|
|
848
|
+
// Last 5: [0.7, 0.6, 0.5, 0.4, 0.3] — monotonically decreasing → slope = -0.1 (improving)
|
|
849
|
+
// trend="improving" → checkPredictedStall returns null at line 564
|
|
850
|
+
const history = makeGapHistory([0.8, 0.7, 0.6, 0.5, 0.4, 0.3]);
|
|
851
|
+
const result = det.checkDimensionStall("g1", "d1", history);
|
|
852
|
+
expect(result).toBeNull();
|
|
853
|
+
});
|
|
854
|
+
});
|
|
855
|
+
// ─── durationToHours: weeks and default fallback ───
|
|
856
|
+
describe("checkTimeExceeded — additional duration units", () => {
|
|
857
|
+
it("handles duration in weeks correctly (estimate × 2)", () => {
|
|
858
|
+
// Estimate = 1 week (168 hours) → threshold = 336 hours; started 400 hours ago → stall
|
|
859
|
+
const startedAt = new Date(Date.now() - 400 * 60 * 60 * 1000).toISOString();
|
|
860
|
+
const task = {
|
|
861
|
+
goal_id: "goal-1",
|
|
862
|
+
started_at: startedAt,
|
|
863
|
+
estimated_duration: { value: 1, unit: "weeks" },
|
|
864
|
+
};
|
|
865
|
+
const result = detector.checkTimeExceeded(task);
|
|
866
|
+
expect(result).not.toBeNull();
|
|
867
|
+
expect(result.stall_type).toBe("time_exceeded");
|
|
868
|
+
});
|
|
869
|
+
it("does not stall when within 2-week threshold (1 week estimate, 1 week elapsed)", () => {
|
|
870
|
+
// Estimate = 1 week (168h) → threshold = 336h; started 100 hours ago → within threshold
|
|
871
|
+
const startedAt = new Date(Date.now() - 100 * 60 * 60 * 1000).toISOString();
|
|
872
|
+
const task = {
|
|
873
|
+
goal_id: "goal-1",
|
|
874
|
+
started_at: startedAt,
|
|
875
|
+
estimated_duration: { value: 1, unit: "weeks" },
|
|
876
|
+
};
|
|
877
|
+
expect(detector.checkTimeExceeded(task)).toBeNull();
|
|
878
|
+
});
|
|
879
|
+
it("handles unknown duration unit (default fallback treats value as hours)", () => {
|
|
880
|
+
// Unknown unit → value treated as hours; value=1 hour → threshold = 2 hours
|
|
881
|
+
// started 3 hours ago → exceeds threshold
|
|
882
|
+
const startedAt = new Date(Date.now() - 3 * 60 * 60 * 1000).toISOString();
|
|
883
|
+
const task = {
|
|
884
|
+
goal_id: "goal-1",
|
|
885
|
+
started_at: startedAt,
|
|
886
|
+
estimated_duration: { value: 1, unit: "fortnights" }, // unknown unit
|
|
887
|
+
};
|
|
888
|
+
const result = detector.checkTimeExceeded(task);
|
|
889
|
+
expect(result).not.toBeNull();
|
|
890
|
+
expect(result.stall_type).toBe("time_exceeded");
|
|
891
|
+
});
|
|
892
|
+
it("does not stall for unknown unit when within fallback threshold", () => {
|
|
893
|
+
// Unknown unit → value=10 hours → threshold = 20 hours; started 5 hours ago → ok
|
|
894
|
+
const startedAt = new Date(Date.now() - 5 * 60 * 60 * 1000).toISOString();
|
|
895
|
+
const task = {
|
|
896
|
+
goal_id: "goal-1",
|
|
897
|
+
started_at: startedAt,
|
|
898
|
+
estimated_duration: { value: 10, unit: "fortnights" },
|
|
899
|
+
};
|
|
900
|
+
expect(detector.checkTimeExceeded(task)).toBeNull();
|
|
901
|
+
});
|
|
902
|
+
});
|
|
903
|
+
//# sourceMappingURL=stall-detector.test.js.map
|