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,143 @@
|
|
|
1
|
+
import { randomUUID } from 'node:crypto';
|
|
2
|
+
import { promises as fsp } from 'node:fs';
|
|
3
|
+
import path from 'node:path';
|
|
4
|
+
import { z } from 'zod';
|
|
5
|
+
import { CheckpointSchema, CheckpointIndexSchema, } from '../../base/types/checkpoint.js';
|
|
6
|
+
const CheckpointAdaptResponseSchema = z.object({
|
|
7
|
+
adapted_context: z.string(),
|
|
8
|
+
});
|
|
9
|
+
export class CheckpointManager {
|
|
10
|
+
deps;
|
|
11
|
+
constructor(deps) {
|
|
12
|
+
this.deps = deps;
|
|
13
|
+
}
|
|
14
|
+
indexPath = (goalId) => `checkpoints/${goalId}/index.json`;
|
|
15
|
+
checkpointPath = (goalId, checkpointId) => `checkpoints/${goalId}/${checkpointId}.json`;
|
|
16
|
+
async readIndex(goalId) {
|
|
17
|
+
const raw = await this.deps.stateManager.readRaw(this.indexPath(goalId));
|
|
18
|
+
if (!raw)
|
|
19
|
+
return { goal_id: goalId, checkpoints: [] };
|
|
20
|
+
try {
|
|
21
|
+
return CheckpointIndexSchema.parse(raw);
|
|
22
|
+
}
|
|
23
|
+
catch {
|
|
24
|
+
this.deps.logger?.warn('checkpoint index parse failed, resetting', { goalId });
|
|
25
|
+
return { goal_id: goalId, checkpoints: [] };
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
async writeIndex(index) {
|
|
29
|
+
await this.deps.stateManager.writeRaw(this.indexPath(index.goal_id), index);
|
|
30
|
+
}
|
|
31
|
+
async saveCheckpoint(params) {
|
|
32
|
+
const checkpoint = CheckpointSchema.parse({
|
|
33
|
+
checkpoint_id: randomUUID(),
|
|
34
|
+
goal_id: params.goalId,
|
|
35
|
+
task_id: params.taskId,
|
|
36
|
+
agent_id: params.agentId,
|
|
37
|
+
session_context_snapshot: params.sessionContextSnapshot,
|
|
38
|
+
intermediate_results: params.intermediateResults ?? [],
|
|
39
|
+
created_at: new Date().toISOString(),
|
|
40
|
+
metadata: params.metadata ?? {},
|
|
41
|
+
});
|
|
42
|
+
await this.deps.stateManager.writeRaw(this.checkpointPath(params.goalId, checkpoint.checkpoint_id), checkpoint);
|
|
43
|
+
const index = await this.readIndex(params.goalId);
|
|
44
|
+
index.checkpoints.push({
|
|
45
|
+
checkpoint_id: checkpoint.checkpoint_id,
|
|
46
|
+
task_id: checkpoint.task_id,
|
|
47
|
+
agent_id: checkpoint.agent_id,
|
|
48
|
+
created_at: checkpoint.created_at,
|
|
49
|
+
});
|
|
50
|
+
await this.writeIndex(index);
|
|
51
|
+
this.deps.logger?.info('checkpoint saved', {
|
|
52
|
+
checkpointId: checkpoint.checkpoint_id,
|
|
53
|
+
goalId: params.goalId,
|
|
54
|
+
});
|
|
55
|
+
return checkpoint;
|
|
56
|
+
}
|
|
57
|
+
async loadCheckpoint(goalId, taskId) {
|
|
58
|
+
const index = await this.readIndex(goalId);
|
|
59
|
+
let entries = index.checkpoints;
|
|
60
|
+
if (taskId)
|
|
61
|
+
entries = entries.filter((e) => e.task_id === taskId);
|
|
62
|
+
if (entries.length === 0)
|
|
63
|
+
return null;
|
|
64
|
+
const latest = entries.reduce((a, b) => (a.created_at > b.created_at ? a : b));
|
|
65
|
+
const raw = await this.deps.stateManager.readRaw(this.checkpointPath(goalId, latest.checkpoint_id));
|
|
66
|
+
if (!raw)
|
|
67
|
+
return null;
|
|
68
|
+
try {
|
|
69
|
+
return CheckpointSchema.parse(raw);
|
|
70
|
+
}
|
|
71
|
+
catch {
|
|
72
|
+
this.deps.logger?.warn('checkpoint parse failed', {
|
|
73
|
+
checkpointId: latest.checkpoint_id,
|
|
74
|
+
});
|
|
75
|
+
return null;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
async loadAndAdaptCheckpoint(goalId, currentAgentId, taskId) {
|
|
79
|
+
const checkpoint = await this.loadCheckpoint(goalId, taskId);
|
|
80
|
+
if (!checkpoint)
|
|
81
|
+
return null;
|
|
82
|
+
if (checkpoint.agent_id === currentAgentId) {
|
|
83
|
+
return { checkpoint, adaptedContext: checkpoint.session_context_snapshot, wasAdapted: false };
|
|
84
|
+
}
|
|
85
|
+
if (!this.deps.llmClient && !this.deps.gateway) {
|
|
86
|
+
return { checkpoint, adaptedContext: checkpoint.session_context_snapshot, wasAdapted: false };
|
|
87
|
+
}
|
|
88
|
+
const prompt = `You are helping transfer context from agent '${checkpoint.agent_id}' to agent '${currentAgentId}'. ` +
|
|
89
|
+
`Summarize and adapt the following session context and intermediate results for the new agent to continue the work.\n\n` +
|
|
90
|
+
`Context:\n${checkpoint.session_context_snapshot}\n\n` +
|
|
91
|
+
`Intermediate Results:\n${checkpoint.intermediate_results.join('\n')}`;
|
|
92
|
+
try {
|
|
93
|
+
if (this.deps.gateway) {
|
|
94
|
+
const result = await this.deps.gateway.execute({
|
|
95
|
+
purpose: "checkpoint_adapt",
|
|
96
|
+
goalId,
|
|
97
|
+
additionalContext: { adapt_prompt: prompt },
|
|
98
|
+
responseSchema: CheckpointAdaptResponseSchema,
|
|
99
|
+
});
|
|
100
|
+
return { checkpoint, adaptedContext: result.adapted_context, wasAdapted: true };
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
const response = await this.deps.llmClient.chat([{ role: 'user', content: prompt }]);
|
|
104
|
+
return { checkpoint, adaptedContext: response.content, wasAdapted: true };
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
catch (err) {
|
|
108
|
+
this.deps.logger?.error('context adaptation failed', { error: String(err) });
|
|
109
|
+
return { checkpoint, adaptedContext: checkpoint.session_context_snapshot, wasAdapted: false };
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
async listCheckpoints(goalId) {
|
|
113
|
+
const index = await this.readIndex(goalId);
|
|
114
|
+
return index.checkpoints;
|
|
115
|
+
}
|
|
116
|
+
async deleteCheckpoint(goalId, checkpointId) {
|
|
117
|
+
const filePath = path.join(this.deps.stateManager.getBaseDir(), this.checkpointPath(goalId, checkpointId));
|
|
118
|
+
await fsp.unlink(filePath).catch((err) => {
|
|
119
|
+
console.error("[CheckpointManager] failed to delete checkpoint file:", err instanceof Error ? err.message : err);
|
|
120
|
+
});
|
|
121
|
+
const index = await this.readIndex(goalId);
|
|
122
|
+
index.checkpoints = index.checkpoints.filter((e) => e.checkpoint_id !== checkpointId);
|
|
123
|
+
await this.writeIndex(index);
|
|
124
|
+
this.deps.logger?.info('checkpoint deleted', { checkpointId, goalId });
|
|
125
|
+
}
|
|
126
|
+
async garbageCollect(goalId, maxAgeDays = 7) {
|
|
127
|
+
const index = await this.readIndex(goalId);
|
|
128
|
+
const cutoff = Date.now() - maxAgeDays * 86_400_000;
|
|
129
|
+
const toDelete = index.checkpoints.filter((e) => new Date(e.created_at).getTime() < cutoff);
|
|
130
|
+
for (const entry of toDelete) {
|
|
131
|
+
const filePath = path.join(this.deps.stateManager.getBaseDir(), this.checkpointPath(goalId, entry.checkpoint_id));
|
|
132
|
+
await fsp.unlink(filePath).catch((err) => {
|
|
133
|
+
console.error("[CheckpointManager] failed to delete checkpoint file during GC:", err instanceof Error ? err.message : err);
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
const deletedIds = new Set(toDelete.map((e) => e.checkpoint_id));
|
|
137
|
+
index.checkpoints = index.checkpoints.filter((e) => !deletedIds.has(e.checkpoint_id));
|
|
138
|
+
await this.writeIndex(index);
|
|
139
|
+
this.deps.logger?.info('garbage collected checkpoints', { goalId, count: toDelete.length });
|
|
140
|
+
return toDelete.length;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
//# sourceMappingURL=checkpoint-manager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkpoint-manager.js","sourceRoot":"","sources":["../../../src/orchestrator/execution/checkpoint-manager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,QAAQ,IAAI,GAAG,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAEL,gBAAgB,EAEhB,qBAAqB,GACtB,MAAM,gCAAgC,CAAC;AAaxC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC;AASH,MAAM,OAAO,iBAAiB;IACC;IAA7B,YAA6B,IAA2B;QAA3B,SAAI,GAAJ,IAAI,CAAuB;IAAG,CAAC;IAEpD,SAAS,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,eAAe,MAAM,aAAa,CAAC;IACnE,cAAc,GAAG,CAAC,MAAc,EAAE,YAAoB,EAAE,EAAE,CAChE,eAAe,MAAM,IAAI,YAAY,OAAO,CAAC;IAEvC,KAAK,CAAC,SAAS,CAAC,MAAc;QACpC,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QACzE,IAAI,CAAC,GAAG;YAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC;QACtD,IAAI,CAAC;YACH,OAAO,qBAAqB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC1C,CAAC;QAAC,MAAM,CAAC;YACP,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,0CAA0C,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;YAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC;QAC9C,CAAC;IACH,CAAC;IAEO,KAAK,CAAC,UAAU,CAAC,KAAsB;QAC7C,MAAM,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,CAAC;IAC9E,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,MAOpB;QACC,MAAM,UAAU,GAAG,gBAAgB,CAAC,KAAK,CAAC;YACxC,aAAa,EAAE,UAAU,EAAE;YAC3B,OAAO,EAAE,MAAM,CAAC,MAAM;YACtB,OAAO,EAAE,MAAM,CAAC,MAAM;YACtB,QAAQ,EAAE,MAAM,CAAC,OAAO;YACxB,wBAAwB,EAAE,MAAM,CAAC,sBAAsB;YACvD,oBAAoB,EAAE,MAAM,CAAC,mBAAmB,IAAI,EAAE;YACtD,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;YACpC,QAAQ,EAAE,MAAM,CAAC,QAAQ,IAAI,EAAE;SAChC,CAAC,CAAC;QAEH,MAAM,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CACnC,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,aAAa,CAAC,EAC5D,UAAU,CACX,CAAC;QAEF,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QAClD,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC;YACrB,aAAa,EAAE,UAAU,CAAC,aAAa;YACvC,OAAO,EAAE,UAAU,CAAC,OAAO;YAC3B,QAAQ,EAAE,UAAU,CAAC,QAAQ;YAC7B,UAAU,EAAE,UAAU,CAAC,UAAU;SAClC,CAAC,CAAC;QACH,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QAE7B,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,kBAAkB,EAAE;YACzC,YAAY,EAAE,UAAU,CAAC,aAAa;YACtC,MAAM,EAAE,MAAM,CAAC,MAAM;SACtB,CAAC,CAAC;QAEH,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,MAAc,EAAE,MAAe;QAClD,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QAC3C,IAAI,OAAO,GAAG,KAAK,CAAC,WAAW,CAAC;QAChC,IAAI,MAAM;YAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,KAAK,MAAM,CAAC,CAAC;QAClE,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO,IAAI,CAAC;QAEtC,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,UAAU,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC/E,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,OAAO,CAC9C,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,MAAM,CAAC,aAAa,CAAC,CAClD,CAAC;QACF,IAAI,CAAC,GAAG;YAAE,OAAO,IAAI,CAAC;QAEtB,IAAI,CAAC;YACH,OAAO,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACrC,CAAC;QAAC,MAAM,CAAC;YACP,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,yBAAyB,EAAE;gBAChD,YAAY,EAAE,MAAM,CAAC,aAAa;aACnC,CAAC,CAAC;YACH,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED,KAAK,CAAC,sBAAsB,CAC1B,MAAc,EACd,cAAsB,EACtB,MAAe;QAEf,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAC7D,IAAI,CAAC,UAAU;YAAE,OAAO,IAAI,CAAC;QAE7B,IAAI,UAAU,CAAC,QAAQ,KAAK,cAAc,EAAE,CAAC;YAC3C,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,CAAC,wBAAwB,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;QAChG,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;YAC/C,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,CAAC,wBAAwB,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;QAChG,CAAC;QAED,MAAM,MAAM,GACV,gDAAgD,UAAU,CAAC,QAAQ,eAAe,cAAc,KAAK;YACrG,wHAAwH;YACxH,aAAa,UAAU,CAAC,wBAAwB,MAAM;YACtD,0BAA0B,UAAU,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QAEzE,IAAI,CAAC;YACH,IAAI,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;gBACtB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;oBAC7C,OAAO,EAAE,kBAAkB;oBAC3B,MAAM;oBACN,iBAAiB,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE;oBAC3C,cAAc,EAAE,6BAA6B;iBAC9C,CAAC,CAAC;gBACH,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,CAAC,eAAe,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;YAClF,CAAC;iBAAM,CAAC;gBACN,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,SAAU,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;gBACtF,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,QAAQ,CAAC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;YAC5E,CAAC;QACH,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,KAAK,CAAC,2BAA2B,EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;YAC7E,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,CAAC,wBAAwB,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;QAChG,CAAC;IACH,CAAC;IAED,KAAK,CAAC,eAAe,CAAC,MAAc;QAClC,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QAC3C,OAAO,KAAK,CAAC,WAAW,CAAC;IAC3B,CAAC;IAED,KAAK,CAAC,gBAAgB,CAAC,MAAc,EAAE,YAAoB;QACzD,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CACxB,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE,EACnC,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,YAAY,CAAC,CAC1C,CAAC;QACF,MAAM,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;YACvC,OAAO,CAAC,KAAK,CAAC,uDAAuD,EAAE,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;QACnH,CAAC,CAAC,CAAC;QACH,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QAC3C,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,aAAa,KAAK,YAAY,CAAC,CAAC;QACtF,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QAC7B,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,CAAC,CAAC;IACzE,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,MAAc,EAAE,UAAU,GAAG,CAAC;QACjD,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QAC3C,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,UAAU,GAAG,UAAU,CAAC;QACpD,MAAM,QAAQ,GAAG,KAAK,CAAC,WAAW,CAAC,MAAM,CACvC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,OAAO,EAAE,GAAG,MAAM,CACjD,CAAC;QAEF,KAAK,MAAM,KAAK,IAAI,QAAQ,EAAE,CAAC;YAC7B,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CACxB,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE,EACnC,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,CACjD,CAAC;YACF,MAAM,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;gBACvC,OAAO,CAAC,KAAK,CAAC,iEAAiE,EAAE,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;YAC7H,CAAC,CAAC,CAAC;QACL,CAAC;QAED,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC;QACjE,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC;QACtF,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QAE7B,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,+BAA+B,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;QAC5F,OAAO,QAAQ,CAAC,MAAM,CAAC;IACzB,CAAC;CACF"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { TierBudget } from "../../../base/types/memory-lifecycle.js";
|
|
2
|
+
/**
|
|
3
|
+
* Distributes a total token budget across memory tiers.
|
|
4
|
+
* - core: 50% (always included items)
|
|
5
|
+
* - recall: 35% (recent observations, strategy history)
|
|
6
|
+
* - archival: remaining (completed-goal knowledge)
|
|
7
|
+
*/
|
|
8
|
+
export declare function allocateTierBudget(totalTokens: number): TierBudget;
|
|
9
|
+
export interface BudgetAllocation {
|
|
10
|
+
goalDefinition: number;
|
|
11
|
+
observations: number;
|
|
12
|
+
knowledge: number;
|
|
13
|
+
transferKnowledge: number;
|
|
14
|
+
meta: number;
|
|
15
|
+
}
|
|
16
|
+
export declare function allocateBudget(totalBudget: number): BudgetAllocation;
|
|
17
|
+
/** Estimate token count. Heuristic: 1 token ≈ 4 characters. */
|
|
18
|
+
export declare function estimateTokens(text: string): number;
|
|
19
|
+
/**
|
|
20
|
+
* Select candidates greedily by similarity (descending) until the budget is exhausted.
|
|
21
|
+
* Assumes `candidates` is already sorted by similarity descending.
|
|
22
|
+
*/
|
|
23
|
+
export declare function selectWithinBudget<T extends {
|
|
24
|
+
text: string;
|
|
25
|
+
similarity: number;
|
|
26
|
+
}>(candidates: T[], budgetTokens: number): T[];
|
|
27
|
+
/**
|
|
28
|
+
* When total actual usage exceeds the budget, reduce allocations starting from
|
|
29
|
+
* the lowest-priority categories.
|
|
30
|
+
*
|
|
31
|
+
* Priority order (highest first): observations, knowledge, goalDefinition,
|
|
32
|
+
* transferKnowledge, meta.
|
|
33
|
+
*/
|
|
34
|
+
export declare function trimToBudget(allocation: BudgetAllocation, actualUsage: Record<keyof BudgetAllocation, number>, totalBudget: number): BudgetAllocation;
|
|
35
|
+
//# sourceMappingURL=context-budget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-budget.d.ts","sourceRoot":"","sources":["../../../../src/orchestrator/execution/context/context-budget.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AAI1E;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,WAAW,EAAE,MAAM,GAAG,UAAU,CAKlE;AAID,MAAM,WAAW,gBAAgB;IAC/B,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,wBAAgB,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,gBAAgB,CAQpE;AAID,+DAA+D;AAC/D,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEnD;AAID;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,EAC/E,UAAU,EAAE,CAAC,EAAE,EACf,YAAY,EAAE,MAAM,GACnB,CAAC,EAAE,CAUL;AAID;;;;;;GAMG;AACH,wBAAgB,YAAY,CAC1B,UAAU,EAAE,gBAAgB,EAC5B,WAAW,EAAE,MAAM,CAAC,MAAM,gBAAgB,EAAE,MAAM,CAAC,EACnD,WAAW,EAAE,MAAM,GAClB,gBAAgB,CAmBlB"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
// ─── Tier Budget Allocation ───
|
|
2
|
+
/**
|
|
3
|
+
* Distributes a total token budget across memory tiers.
|
|
4
|
+
* - core: 50% (always included items)
|
|
5
|
+
* - recall: 35% (recent observations, strategy history)
|
|
6
|
+
* - archival: remaining (completed-goal knowledge)
|
|
7
|
+
*/
|
|
8
|
+
export function allocateTierBudget(totalTokens) {
|
|
9
|
+
const core = Math.floor(totalTokens * 0.50);
|
|
10
|
+
const recall = Math.floor(totalTokens * 0.35);
|
|
11
|
+
const archival = totalTokens - core - recall;
|
|
12
|
+
return { core, recall, archival };
|
|
13
|
+
}
|
|
14
|
+
export function allocateBudget(totalBudget) {
|
|
15
|
+
return {
|
|
16
|
+
goalDefinition: Math.floor(totalBudget * 0.20),
|
|
17
|
+
observations: Math.floor(totalBudget * 0.30),
|
|
18
|
+
knowledge: Math.floor(totalBudget * 0.30),
|
|
19
|
+
transferKnowledge: Math.floor(totalBudget * 0.15),
|
|
20
|
+
meta: Math.floor(totalBudget * 0.05),
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
// ─── Token Estimation ───
|
|
24
|
+
/** Estimate token count. Heuristic: 1 token ≈ 4 characters. */
|
|
25
|
+
export function estimateTokens(text) {
|
|
26
|
+
return Math.ceil(text.length / 4);
|
|
27
|
+
}
|
|
28
|
+
// ─── Progressive Disclosure Selection ───
|
|
29
|
+
/**
|
|
30
|
+
* Select candidates greedily by similarity (descending) until the budget is exhausted.
|
|
31
|
+
* Assumes `candidates` is already sorted by similarity descending.
|
|
32
|
+
*/
|
|
33
|
+
export function selectWithinBudget(candidates, budgetTokens) {
|
|
34
|
+
const selected = [];
|
|
35
|
+
let usedTokens = 0;
|
|
36
|
+
for (const candidate of candidates) {
|
|
37
|
+
const tokens = estimateTokens(candidate.text);
|
|
38
|
+
if (usedTokens + tokens > budgetTokens)
|
|
39
|
+
break;
|
|
40
|
+
selected.push(candidate);
|
|
41
|
+
usedTokens += tokens;
|
|
42
|
+
}
|
|
43
|
+
return selected;
|
|
44
|
+
}
|
|
45
|
+
// ─── Budget Trimming ───
|
|
46
|
+
/**
|
|
47
|
+
* When total actual usage exceeds the budget, reduce allocations starting from
|
|
48
|
+
* the lowest-priority categories.
|
|
49
|
+
*
|
|
50
|
+
* Priority order (highest first): observations, knowledge, goalDefinition,
|
|
51
|
+
* transferKnowledge, meta.
|
|
52
|
+
*/
|
|
53
|
+
export function trimToBudget(allocation, actualUsage, totalBudget) {
|
|
54
|
+
const trimOrder = [
|
|
55
|
+
"meta",
|
|
56
|
+
"transferKnowledge",
|
|
57
|
+
"goalDefinition",
|
|
58
|
+
"knowledge",
|
|
59
|
+
"observations",
|
|
60
|
+
];
|
|
61
|
+
const result = { ...allocation };
|
|
62
|
+
let totalUsed = Object.values(actualUsage).reduce((a, b) => a + b, 0);
|
|
63
|
+
for (const category of trimOrder) {
|
|
64
|
+
if (totalUsed <= totalBudget)
|
|
65
|
+
break;
|
|
66
|
+
const excess = totalUsed - totalBudget;
|
|
67
|
+
const reduction = Math.min(result[category], excess);
|
|
68
|
+
result[category] -= reduction;
|
|
69
|
+
totalUsed -= reduction;
|
|
70
|
+
}
|
|
71
|
+
return result;
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=context-budget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-budget.js","sourceRoot":"","sources":["../../../../src/orchestrator/execution/context/context-budget.ts"],"names":[],"mappings":"AAEA,iCAAiC;AAEjC;;;;;GAKG;AACH,MAAM,UAAU,kBAAkB,CAAC,WAAmB;IACpD,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC5C,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC9C,MAAM,QAAQ,GAAG,WAAW,GAAG,IAAI,GAAG,MAAM,CAAC;IAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;AACpC,CAAC;AAYD,MAAM,UAAU,cAAc,CAAC,WAAmB;IAChD,OAAO;QACL,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC;QAC9C,YAAY,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC;QAC5C,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC;QACzC,iBAAiB,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC;QACjD,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC;KACrC,CAAC;AACJ,CAAC;AAED,2BAA2B;AAE3B,+DAA+D;AAC/D,MAAM,UAAU,cAAc,CAAC,IAAY;IACzC,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AACpC,CAAC;AAED,2CAA2C;AAE3C;;;GAGG;AACH,MAAM,UAAU,kBAAkB,CAChC,UAAe,EACf,YAAoB;IAEpB,MAAM,QAAQ,GAAQ,EAAE,CAAC;IACzB,IAAI,UAAU,GAAG,CAAC,CAAC;IACnB,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE,CAAC;QACnC,MAAM,MAAM,GAAG,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;QAC9C,IAAI,UAAU,GAAG,MAAM,GAAG,YAAY;YAAE,MAAM;QAC9C,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACzB,UAAU,IAAI,MAAM,CAAC;IACvB,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,0BAA0B;AAE1B;;;;;;GAMG;AACH,MAAM,UAAU,YAAY,CAC1B,UAA4B,EAC5B,WAAmD,EACnD,WAAmB;IAEnB,MAAM,SAAS,GAA+B;QAC5C,MAAM;QACN,mBAAmB;QACnB,gBAAgB;QAChB,WAAW;QACX,cAAc;KACf,CAAC;IACF,MAAM,MAAM,GAAG,EAAE,GAAG,UAAU,EAAE,CAAC;IACjC,IAAI,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;IAEtE,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;QACjC,IAAI,SAAS,IAAI,WAAW;YAAE,MAAM;QACpC,MAAM,MAAM,GAAG,SAAS,GAAG,WAAW,CAAC;QACvC,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC;QACrD,MAAM,CAAC,QAAQ,CAAC,IAAI,SAAS,CAAC;QAC9B,SAAS,IAAI,SAAS,CAAC;IACzB,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { ContextSlot } from "../../../base/types/session.js";
|
|
2
|
+
import type { KnowledgeEntry } from "../../../base/types/knowledge.js";
|
|
3
|
+
import type { VectorIndex } from "../../../platform/knowledge/vector-index.js";
|
|
4
|
+
import { estimateTokens } from "./context-budget.js";
|
|
5
|
+
export { estimateTokens };
|
|
6
|
+
export declare const DEFAULT_CONTEXT_BUDGET = 50000;
|
|
7
|
+
/**
|
|
8
|
+
* Compresses a context slot to fit within maxTokens.
|
|
9
|
+
* Uses head + tail strategy: keeps first 60% and last 40% of allowed chars.
|
|
10
|
+
*/
|
|
11
|
+
export declare function compressSlot(slot: ContextSlot, maxTokens: number): ContextSlot;
|
|
12
|
+
/**
|
|
13
|
+
* Filters context slots to fit within a token budget.
|
|
14
|
+
*
|
|
15
|
+
* Slots are sorted by priority (ascending = higher priority first).
|
|
16
|
+
* Slots are accumulated until the budget is exceeded; any slot that
|
|
17
|
+
* would push the total over budget is dropped along with all subsequent slots.
|
|
18
|
+
*
|
|
19
|
+
* The returned array preserves the original slot order.
|
|
20
|
+
*/
|
|
21
|
+
export declare function filterSlotsByBudget(slots: ContextSlot[], budget: number): ContextSlot[];
|
|
22
|
+
/**
|
|
23
|
+
* Inject relevant KnowledgeEntry items into an existing set of context slots.
|
|
24
|
+
*
|
|
25
|
+
* Each non-superseded entry is formatted as structured text and appended as
|
|
26
|
+
* a new low-priority context slot (`domain_knowledge`). Empty entry arrays
|
|
27
|
+
* are a no-op — the original slots are returned unchanged.
|
|
28
|
+
*/
|
|
29
|
+
export declare function injectKnowledgeContext(slots: ContextSlot[], entries: KnowledgeEntry[]): ContextSlot[];
|
|
30
|
+
/**
|
|
31
|
+
* Phase 2 (Progressive Disclosure): Inject knowledge context using semantic search.
|
|
32
|
+
* 1. searchMetadata() — fetch id+score for up to 20 candidates (no full text)
|
|
33
|
+
* 2. selectWithinBudget() — pick candidates that fit the knowledge budget
|
|
34
|
+
* 3. getEntryById() — load full text only for selected candidates
|
|
35
|
+
*
|
|
36
|
+
* Falls back to empty if no vectorIndex available.
|
|
37
|
+
*/
|
|
38
|
+
export declare function injectSemanticKnowledgeContext(slots: ContextSlot[], query: string, vectorIndex: VectorIndex | undefined, contextBudget?: number): Promise<ContextSlot[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Inject learning feedback into context slots.
|
|
41
|
+
* Adds a single "learning_feedback" slot containing all feedback strings.
|
|
42
|
+
*/
|
|
43
|
+
export declare function injectLearningFeedback(slots: ContextSlot[], feedback: string[]): ContextSlot[];
|
|
44
|
+
//# sourceMappingURL=context-builder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-builder.d.ts","sourceRoot":"","sources":["../../../../src/orchestrator/execution/context/context-builder.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAsC,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEzF,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B,eAAO,MAAM,sBAAsB,QAAS,CAAC;AAI7C;;;GAGG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,GAAG,WAAW,CAkB9E;AAID;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,WAAW,EAAE,EAAE,MAAM,EAAE,MAAM,GAAG,WAAW,EAAE,CAmBvF;AAID;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,WAAW,EAAE,EACpB,OAAO,EAAE,cAAc,EAAE,GACxB,WAAW,EAAE,CAwBf;AAED;;;;;;;GAOG;AACH,wBAAsB,8BAA8B,CAClD,KAAK,EAAE,WAAW,EAAE,EACpB,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,WAAW,GAAG,SAAS,EACpC,aAAa,GAAE,MAA+B,GAC7C,OAAO,CAAC,WAAW,EAAE,CAAC,CAoCxB;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,WAAW,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,WAAW,EAAE,CAkB9F"}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { ContextSlotSchema } from "../../../base/types/session.js";
|
|
2
|
+
import { allocateBudget, selectWithinBudget, estimateTokens } from "./context-budget.js";
|
|
3
|
+
export { estimateTokens };
|
|
4
|
+
export const DEFAULT_CONTEXT_BUDGET = 50_000;
|
|
5
|
+
// ─── Slot Compression ───
|
|
6
|
+
/**
|
|
7
|
+
* Compresses a context slot to fit within maxTokens.
|
|
8
|
+
* Uses head + tail strategy: keeps first 60% and last 40% of allowed chars.
|
|
9
|
+
*/
|
|
10
|
+
export function compressSlot(slot, maxTokens) {
|
|
11
|
+
const maxChars = maxTokens * 4;
|
|
12
|
+
if (slot.content.length <= maxChars) {
|
|
13
|
+
return { ...slot, token_estimate: estimateTokens(slot.content) };
|
|
14
|
+
}
|
|
15
|
+
const headChars = Math.floor(maxChars * 0.6);
|
|
16
|
+
const tailChars = maxChars - headChars;
|
|
17
|
+
const compressed = slot.content.slice(0, headChars) +
|
|
18
|
+
"\n...[truncated]...\n" +
|
|
19
|
+
slot.content.slice(slot.content.length - tailChars);
|
|
20
|
+
return {
|
|
21
|
+
...slot,
|
|
22
|
+
content: compressed,
|
|
23
|
+
token_estimate: estimateTokens(compressed),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
// ─── Budget Filtering ───
|
|
27
|
+
/**
|
|
28
|
+
* Filters context slots to fit within a token budget.
|
|
29
|
+
*
|
|
30
|
+
* Slots are sorted by priority (ascending = higher priority first).
|
|
31
|
+
* Slots are accumulated until the budget is exceeded; any slot that
|
|
32
|
+
* would push the total over budget is dropped along with all subsequent slots.
|
|
33
|
+
*
|
|
34
|
+
* The returned array preserves the original slot order.
|
|
35
|
+
*/
|
|
36
|
+
export function filterSlotsByBudget(slots, budget) {
|
|
37
|
+
const sorted = [...slots].sort((a, b) => a.priority - b.priority);
|
|
38
|
+
let accumulated = 0;
|
|
39
|
+
const kept = [];
|
|
40
|
+
for (const slot of sorted) {
|
|
41
|
+
const estimate = slot.token_estimate > 0
|
|
42
|
+
? slot.token_estimate
|
|
43
|
+
: Math.ceil(slot.content.length / 4);
|
|
44
|
+
if (accumulated + estimate <= budget) {
|
|
45
|
+
accumulated += estimate;
|
|
46
|
+
kept.push(slot);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
const keptSet = new Set(kept);
|
|
50
|
+
return slots.filter((s) => keptSet.has(s));
|
|
51
|
+
}
|
|
52
|
+
// ─── Knowledge Context Injection ───
|
|
53
|
+
/**
|
|
54
|
+
* Inject relevant KnowledgeEntry items into an existing set of context slots.
|
|
55
|
+
*
|
|
56
|
+
* Each non-superseded entry is formatted as structured text and appended as
|
|
57
|
+
* a new low-priority context slot (`domain_knowledge`). Empty entry arrays
|
|
58
|
+
* are a no-op — the original slots are returned unchanged.
|
|
59
|
+
*/
|
|
60
|
+
export function injectKnowledgeContext(slots, entries) {
|
|
61
|
+
const activeEntries = entries.filter((e) => e.superseded_by === null);
|
|
62
|
+
if (activeEntries.length === 0)
|
|
63
|
+
return slots;
|
|
64
|
+
const content = activeEntries
|
|
65
|
+
.map((e) => `[Knowledge] Q: ${e.question}\nA: ${e.answer} (confidence: ${e.confidence})`)
|
|
66
|
+
.join("\n\n");
|
|
67
|
+
const maxPriority = slots.reduce((max, s) => (s.priority > max ? s.priority : max), 0);
|
|
68
|
+
const knowledgeSlot = {
|
|
69
|
+
priority: maxPriority + 1,
|
|
70
|
+
label: "domain_knowledge",
|
|
71
|
+
content,
|
|
72
|
+
token_estimate: 0,
|
|
73
|
+
};
|
|
74
|
+
return [...slots, knowledgeSlot];
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Phase 2 (Progressive Disclosure): Inject knowledge context using semantic search.
|
|
78
|
+
* 1. searchMetadata() — fetch id+score for up to 20 candidates (no full text)
|
|
79
|
+
* 2. selectWithinBudget() — pick candidates that fit the knowledge budget
|
|
80
|
+
* 3. getEntryById() — load full text only for selected candidates
|
|
81
|
+
*
|
|
82
|
+
* Falls back to empty if no vectorIndex available.
|
|
83
|
+
*/
|
|
84
|
+
export async function injectSemanticKnowledgeContext(slots, query, vectorIndex, contextBudget = DEFAULT_CONTEXT_BUDGET) {
|
|
85
|
+
if (!vectorIndex)
|
|
86
|
+
return slots;
|
|
87
|
+
try {
|
|
88
|
+
const candidates = await vectorIndex.searchMetadata(query, 20, 0.5);
|
|
89
|
+
if (candidates.length === 0)
|
|
90
|
+
return slots;
|
|
91
|
+
const allocation = allocateBudget(contextBudget);
|
|
92
|
+
const knowledgeBudget = allocation.knowledge;
|
|
93
|
+
const withText = candidates
|
|
94
|
+
.map((c) => {
|
|
95
|
+
const entry = vectorIndex.getEntryById(c.id);
|
|
96
|
+
return entry ? { ...c, text: entry.text } : null;
|
|
97
|
+
})
|
|
98
|
+
.filter((c) => c !== null);
|
|
99
|
+
const selected = selectWithinBudget(withText, knowledgeBudget);
|
|
100
|
+
if (selected.length === 0)
|
|
101
|
+
return slots;
|
|
102
|
+
const maxPriority = slots.reduce((max, s) => (s.priority > max ? s.priority : max), 0);
|
|
103
|
+
const knowledgeSlots = selected.map((result, i) => ({
|
|
104
|
+
priority: maxPriority + 1 + i,
|
|
105
|
+
label: `semantic_knowledge_${i}`,
|
|
106
|
+
content: result.text,
|
|
107
|
+
token_estimate: Math.ceil(result.text.length / 4),
|
|
108
|
+
}));
|
|
109
|
+
return [...slots, ...knowledgeSlots];
|
|
110
|
+
}
|
|
111
|
+
catch {
|
|
112
|
+
return slots; // Non-critical failure
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Inject learning feedback into context slots.
|
|
117
|
+
* Adds a single "learning_feedback" slot containing all feedback strings.
|
|
118
|
+
*/
|
|
119
|
+
export function injectLearningFeedback(slots, feedback) {
|
|
120
|
+
if (feedback.length === 0) {
|
|
121
|
+
return slots;
|
|
122
|
+
}
|
|
123
|
+
const maxPriority = slots.reduce((max, s) => Math.max(max, s.priority), 0);
|
|
124
|
+
const feedbackSlot = ContextSlotSchema.parse({
|
|
125
|
+
label: "learning_feedback",
|
|
126
|
+
content: feedback.join("\n---\n"),
|
|
127
|
+
token_estimate: feedback.join("\n---\n").length / 4,
|
|
128
|
+
priority: maxPriority + 1,
|
|
129
|
+
});
|
|
130
|
+
return [...slots, feedbackSlot];
|
|
131
|
+
}
|
|
132
|
+
//# sourceMappingURL=context-builder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-builder.js","sourceRoot":"","sources":["../../../../src/orchestrator/execution/context/context-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAInE,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEzF,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B,MAAM,CAAC,MAAM,sBAAsB,GAAG,MAAM,CAAC;AAE7C,2BAA2B;AAE3B;;;GAGG;AACH,MAAM,UAAU,YAAY,CAAC,IAAiB,EAAE,SAAiB;IAC/D,MAAM,QAAQ,GAAG,SAAS,GAAG,CAAC,CAAC;IAC/B,IAAI,IAAI,CAAC,OAAO,CAAC,MAAM,IAAI,QAAQ,EAAE,CAAC;QACpC,OAAO,EAAE,GAAG,IAAI,EAAE,cAAc,EAAE,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;IACnE,CAAC;IAED,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,GAAG,CAAC,CAAC;IAC7C,MAAM,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC;IACvC,MAAM,UAAU,GACd,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,SAAS,CAAC;QAChC,uBAAuB;QACvB,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAEtD,OAAO;QACL,GAAG,IAAI;QACP,OAAO,EAAE,UAAU;QACnB,cAAc,EAAE,cAAc,CAAC,UAAU,CAAC;KAC3C,CAAC;AACJ,CAAC;AAED,2BAA2B;AAE3B;;;;;;;;GAQG;AACH,MAAM,UAAU,mBAAmB,CAAC,KAAoB,EAAE,MAAc;IACtE,MAAM,MAAM,GAAG,CAAC,GAAG,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC;IAElE,IAAI,WAAW,GAAG,CAAC,CAAC;IACpB,MAAM,IAAI,GAAkB,EAAE,CAAC;IAE/B,KAAK,MAAM,IAAI,IAAI,MAAM,EAAE,CAAC;QAC1B,MAAM,QAAQ,GAAG,IAAI,CAAC,cAAc,GAAG,CAAC;YACtC,CAAC,CAAC,IAAI,CAAC,cAAc;YACrB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAEvC,IAAI,WAAW,GAAG,QAAQ,IAAI,MAAM,EAAE,CAAC;YACrC,WAAW,IAAI,QAAQ,CAAC;YACxB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAClB,CAAC;IACH,CAAC;IAED,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,CAAC;IAC9B,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AAC7C,CAAC;AAED,sCAAsC;AAEtC;;;;;;GAMG;AACH,MAAM,UAAU,sBAAsB,CACpC,KAAoB,EACpB,OAAyB;IAEzB,MAAM,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,aAAa,KAAK,IAAI,CAAC,CAAC;IACtE,IAAI,aAAa,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IAE7C,MAAM,OAAO,GAAG,aAAa;SAC1B,GAAG,CACF,CAAC,CAAC,EAAE,EAAE,CACJ,kBAAkB,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,MAAM,iBAAiB,CAAC,CAAC,UAAU,GAAG,CAC/E;SACA,IAAI,CAAC,MAAM,CAAC,CAAC;IAEhB,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,CAC9B,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,EACjD,CAAC,CACF,CAAC;IAEF,MAAM,aAAa,GAAgB;QACjC,QAAQ,EAAE,WAAW,GAAG,CAAC;QACzB,KAAK,EAAE,kBAAkB;QACzB,OAAO;QACP,cAAc,EAAE,CAAC;KAClB,CAAC;IAEF,OAAO,CAAC,GAAG,KAAK,EAAE,aAAa,CAAC,CAAC;AACnC,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,KAAK,UAAU,8BAA8B,CAClD,KAAoB,EACpB,KAAa,EACb,WAAoC,EACpC,gBAAwB,sBAAsB;IAE9C,IAAI,CAAC,WAAW;QAAE,OAAO,KAAK,CAAC;IAE/B,IAAI,CAAC;QACH,MAAM,UAAU,GAAG,MAAM,WAAW,CAAC,cAAc,CAAC,KAAK,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC;QACpE,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO,KAAK,CAAC;QAE1C,MAAM,UAAU,GAAG,cAAc,CAAC,aAAa,CAAC,CAAC;QACjD,MAAM,eAAe,GAAG,UAAU,CAAC,SAAS,CAAC;QAE7C,MAAM,QAAQ,GAAG,UAAU;aACxB,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;YAC7C,OAAO,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;QACnD,CAAC,CAAC;aACD,MAAM,CAAC,CAAC,CAAC,EAA8B,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC;QAEzD,MAAM,QAAQ,GAAG,kBAAkB,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC;QAC/D,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO,KAAK,CAAC;QAExC,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,CAC9B,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,EACjD,CAAC,CACF,CAAC;QAEF,MAAM,cAAc,GAAkB,QAAQ,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;YACjE,QAAQ,EAAE,WAAW,GAAG,CAAC,GAAG,CAAC;YAC7B,KAAK,EAAE,sBAAsB,CAAC,EAAE;YAChC,OAAO,EAAE,MAAM,CAAC,IAAI;YACpB,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;SAClD,CAAC,CAAC,CAAC;QAEJ,OAAO,CAAC,GAAG,KAAK,EAAE,GAAG,cAAc,CAAC,CAAC;IACvC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC,CAAE,uBAAuB;IACxC,CAAC;AACH,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,sBAAsB,CAAC,KAAoB,EAAE,QAAkB;IAC7E,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC1B,OAAO,KAAK,CAAC;IACf,CAAC;IAED,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,CAC9B,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,CAAC,EACrC,CAAC,CACF,CAAC;IAEF,MAAM,YAAY,GAAgB,iBAAiB,CAAC,KAAK,CAAC;QACxD,KAAK,EAAE,mBAAmB;QAC1B,OAAO,EAAE,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC;QACjC,cAAc,EAAE,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,MAAM,GAAG,CAAC;QACnD,QAAQ,EAAE,WAAW,GAAG,CAAC;KAC1B,CAAC,CAAC;IAEH,OAAO,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC,CAAC;AAClC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { GapVector } from "../../../base/types/gap.js";
|
|
2
|
+
import type { DriveContext } from "../../../base/types/drive.js";
|
|
3
|
+
import type { Dimension } from "../../../base/types/goal.js";
|
|
4
|
+
/**
|
|
5
|
+
* Select the highest-priority dimension to work on based on drive scoring,
|
|
6
|
+
* weighted by observation confidence tier so that mechanically-observable
|
|
7
|
+
* dimensions are preferred over LLM-only ones at equal gap severity.
|
|
8
|
+
*
|
|
9
|
+
* @param gapVector - current gap state for the goal
|
|
10
|
+
* @param driveContext - per-dimension timing/deadline/opportunity context
|
|
11
|
+
* @param dimensions - optional goal dimensions used to apply confidence-tier weighting
|
|
12
|
+
* @returns the name of the top-ranked dimension
|
|
13
|
+
* @throws if gapVector has no gaps (empty)
|
|
14
|
+
*/
|
|
15
|
+
export declare function selectTargetDimension(gapVector: GapVector, driveContext: DriveContext, dimensions?: Dimension[]): string;
|
|
16
|
+
//# sourceMappingURL=dimension-selector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dimension-selector.d.ts","sourceRoot":"","sources":["../../../../src/orchestrator/execution/context/dimension-selector.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAkB7D;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CACnC,SAAS,EAAE,SAAS,EACpB,YAAY,EAAE,YAAY,EAC1B,UAAU,CAAC,EAAE,SAAS,EAAE,GACvB,MAAM,CAkCR"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { scoreAllDimensions, rankDimensions } from "../../../platform/drive/drive-scorer.js";
|
|
2
|
+
/**
|
|
3
|
+
* Confidence-tier weights for dimension selection.
|
|
4
|
+
* Mechanically-observable dimensions are prioritized over LLM-only ones.
|
|
5
|
+
*/
|
|
6
|
+
const CONFIDENCE_WEIGHTS = {
|
|
7
|
+
mechanical: 1.0,
|
|
8
|
+
verified: 0.9,
|
|
9
|
+
independent_review: 0.7,
|
|
10
|
+
self_report: 0.3,
|
|
11
|
+
};
|
|
12
|
+
function getConfidenceWeight(dim) {
|
|
13
|
+
const tier = dim.observation_method.confidence_tier;
|
|
14
|
+
return CONFIDENCE_WEIGHTS[tier] ?? 0.3;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Select the highest-priority dimension to work on based on drive scoring,
|
|
18
|
+
* weighted by observation confidence tier so that mechanically-observable
|
|
19
|
+
* dimensions are preferred over LLM-only ones at equal gap severity.
|
|
20
|
+
*
|
|
21
|
+
* @param gapVector - current gap state for the goal
|
|
22
|
+
* @param driveContext - per-dimension timing/deadline/opportunity context
|
|
23
|
+
* @param dimensions - optional goal dimensions used to apply confidence-tier weighting
|
|
24
|
+
* @returns the name of the top-ranked dimension
|
|
25
|
+
* @throws if gapVector has no gaps (empty)
|
|
26
|
+
*/
|
|
27
|
+
export function selectTargetDimension(gapVector, driveContext, dimensions) {
|
|
28
|
+
if (gapVector.gaps.length === 0) {
|
|
29
|
+
throw new Error("selectTargetDimension: gapVector has no gaps (empty gap vector)");
|
|
30
|
+
}
|
|
31
|
+
const scores = scoreAllDimensions(gapVector, driveContext);
|
|
32
|
+
const ranked = rankDimensions(scores);
|
|
33
|
+
if (!dimensions || dimensions.length === 0) {
|
|
34
|
+
// No dimension metadata available — fall back to drive-score ranking only
|
|
35
|
+
// ranked is non-empty: gapVector.gaps.length === 0 guard above ensures at least one gap
|
|
36
|
+
return ranked[0]?.dimension_name ?? gapVector.gaps[0]?.dimension_name ?? "";
|
|
37
|
+
}
|
|
38
|
+
// Build a lookup from dimension name → confidence weight
|
|
39
|
+
const weightByName = new Map();
|
|
40
|
+
for (const dim of dimensions) {
|
|
41
|
+
weightByName.set(dim.name, getConfidenceWeight(dim));
|
|
42
|
+
}
|
|
43
|
+
// Apply confidence-tier weighting to final_score for selection only
|
|
44
|
+
const weighted = ranked.map((score) => ({
|
|
45
|
+
dimension_name: score.dimension_name,
|
|
46
|
+
weighted_score: score.final_score * (weightByName.get(score.dimension_name) ?? 0.3),
|
|
47
|
+
}));
|
|
48
|
+
weighted.sort((a, b) => {
|
|
49
|
+
const scoreDiff = b.weighted_score - a.weighted_score;
|
|
50
|
+
if (scoreDiff !== 0)
|
|
51
|
+
return scoreDiff;
|
|
52
|
+
return a.dimension_name < b.dimension_name ? -1 : a.dimension_name > b.dimension_name ? 1 : 0;
|
|
53
|
+
});
|
|
54
|
+
// weighted is non-empty: ranked is non-empty (gapVector guard above), weighted maps ranked 1:1
|
|
55
|
+
return weighted[0]?.dimension_name ?? gapVector.gaps[0]?.dimension_name ?? "";
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=dimension-selector.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dimension-selector.js","sourceRoot":"","sources":["../../../../src/orchestrator/execution/context/dimension-selector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAK7F;;;GAGG;AACH,MAAM,kBAAkB,GAA2B;IACjD,UAAU,EAAE,GAAG;IACf,QAAQ,EAAE,GAAG;IACb,kBAAkB,EAAE,GAAG;IACvB,WAAW,EAAE,GAAG;CACjB,CAAC;AAEF,SAAS,mBAAmB,CAAC,GAAc;IACzC,MAAM,IAAI,GAAG,GAAG,CAAC,kBAAkB,CAAC,eAAe,CAAC;IACpD,OAAO,kBAAkB,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC;AACzC,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,qBAAqB,CACnC,SAAoB,EACpB,YAA0B,EAC1B,UAAwB;IAExB,IAAI,SAAS,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CAAC,iEAAiE,CAAC,CAAC;IACrF,CAAC;IAED,MAAM,MAAM,GAAG,kBAAkB,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;IAC3D,MAAM,MAAM,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;IAEtC,IAAI,CAAC,UAAU,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC3C,0EAA0E;QAC1E,wFAAwF;QACxF,OAAO,MAAM,CAAC,CAAC,CAAC,EAAE,cAAc,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,IAAI,EAAE,CAAC;IAC9E,CAAC;IAED,yDAAyD;IACzD,MAAM,YAAY,GAAG,IAAI,GAAG,EAAkB,CAAC;IAC/C,KAAK,MAAM,GAAG,IAAI,UAAU,EAAE,CAAC;QAC7B,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,mBAAmB,CAAC,GAAG,CAAC,CAAC,CAAC;IACvD,CAAC;IAED,oEAAoE;IACpE,MAAM,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACtC,cAAc,EAAE,KAAK,CAAC,cAAc;QACpC,cAAc,EAAE,KAAK,CAAC,WAAW,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,cAAc,CAAC,IAAI,GAAG,CAAC;KACpF,CAAC,CAAC,CAAC;IAEJ,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;QACrB,MAAM,SAAS,GAAG,CAAC,CAAC,cAAc,GAAG,CAAC,CAAC,cAAc,CAAC;QACtD,IAAI,SAAS,KAAK,CAAC;YAAE,OAAO,SAAS,CAAC;QACtC,OAAO,CAAC,CAAC,cAAc,GAAG,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,cAAc,GAAG,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAChG,CAAC,CAAC,CAAC;IAEH,+FAA+F;IAC/F,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE,cAAc,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,IAAI,EAAE,CAAC;AAChF,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Extract unique GitHub issue numbers from text.
|
|
3
|
+
* Skips hex-color-like tokens (non-digit characters after #).
|
|
4
|
+
*
|
|
5
|
+
* Matches #NNN preceded by start-of-string, whitespace, or opening paren,
|
|
6
|
+
* and NOT followed by any non-digit word character.
|
|
7
|
+
* This avoids matching hex colors like #fff, #abc123, or #1a2b3c.
|
|
8
|
+
*/
|
|
9
|
+
export declare function extractIssueNumbers(text: string): number[];
|
|
10
|
+
/**
|
|
11
|
+
* Extract GitHub issue numbers from `text`, fetch their content via `gh`,
|
|
12
|
+
* and return formatted context for use in task prompts.
|
|
13
|
+
*
|
|
14
|
+
* - Deduplicates issue numbers.
|
|
15
|
+
* - Processes at most 3 issues (first ones found).
|
|
16
|
+
* - Returns empty string on any failure.
|
|
17
|
+
*/
|
|
18
|
+
export declare function fetchIssueContext(text: string): Promise<string>;
|
|
19
|
+
//# sourceMappingURL=issue-context-fetcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"issue-context-fetcher.d.ts","sourceRoot":"","sources":["../../../../src/orchestrator/execution/context/issue-context-fetcher.ts"],"names":[],"mappings":"AAiBA;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAc1D;AAyBD;;;;;;;GAOG;AACH,wBAAsB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAWrE"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
// ─── fetchIssueContext ───
|
|
2
|
+
//
|
|
3
|
+
// Extracts GitHub issue numbers from goal text and fetches their content via
|
|
4
|
+
// `gh issue view`. Returns formatted context for inclusion in task prompts.
|
|
5
|
+
// On any failure, returns empty string (graceful degradation).
|
|
6
|
+
import { execFileNoThrow } from "../../../base/utils/execFileNoThrow.js";
|
|
7
|
+
const MAX_ISSUES = 3;
|
|
8
|
+
const MAX_BODY_CHARS = 3000;
|
|
9
|
+
const FETCH_TIMEOUT_MS = 10000;
|
|
10
|
+
/**
|
|
11
|
+
* Extract unique GitHub issue numbers from text.
|
|
12
|
+
* Skips hex-color-like tokens (non-digit characters after #).
|
|
13
|
+
*
|
|
14
|
+
* Matches #NNN preceded by start-of-string, whitespace, or opening paren,
|
|
15
|
+
* and NOT followed by any non-digit word character.
|
|
16
|
+
* This avoids matching hex colors like #fff, #abc123, or #1a2b3c.
|
|
17
|
+
*/
|
|
18
|
+
export function extractIssueNumbers(text) {
|
|
19
|
+
// Regex is defined locally to avoid shared `lastIndex` state bugs with /g flag
|
|
20
|
+
const issueRefRe = /(?:^|[\s(])#(\d+)(?![a-zA-Z])/g;
|
|
21
|
+
const seen = new Set();
|
|
22
|
+
const results = [];
|
|
23
|
+
let match;
|
|
24
|
+
while ((match = issueRefRe.exec(text)) !== null) {
|
|
25
|
+
const num = parseInt(match[1], 10);
|
|
26
|
+
if (!seen.has(num)) {
|
|
27
|
+
seen.add(num);
|
|
28
|
+
results.push(num);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return results;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Fetch a single GitHub issue and format it for prompt inclusion.
|
|
35
|
+
* Returns null on any failure.
|
|
36
|
+
*/
|
|
37
|
+
async function fetchIssue(num) {
|
|
38
|
+
try {
|
|
39
|
+
const result = await execFileNoThrow("gh", ["issue", "view", String(num), "--json", "title,body"], { timeoutMs: FETCH_TIMEOUT_MS });
|
|
40
|
+
if (result.exitCode !== 0 || !result.stdout.trim()) {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
const parsed = JSON.parse(result.stdout);
|
|
44
|
+
const title = parsed.title ?? "";
|
|
45
|
+
const body = (parsed.body ?? "").slice(0, MAX_BODY_CHARS);
|
|
46
|
+
return `## Referenced Issue #${num}\nTitle: ${title}\n${body}`;
|
|
47
|
+
}
|
|
48
|
+
catch {
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Extract GitHub issue numbers from `text`, fetch their content via `gh`,
|
|
54
|
+
* and return formatted context for use in task prompts.
|
|
55
|
+
*
|
|
56
|
+
* - Deduplicates issue numbers.
|
|
57
|
+
* - Processes at most 3 issues (first ones found).
|
|
58
|
+
* - Returns empty string on any failure.
|
|
59
|
+
*/
|
|
60
|
+
export async function fetchIssueContext(text) {
|
|
61
|
+
try {
|
|
62
|
+
const nums = extractIssueNumbers(text).slice(0, MAX_ISSUES);
|
|
63
|
+
if (nums.length === 0)
|
|
64
|
+
return "";
|
|
65
|
+
const parts = await Promise.all(nums.map(fetchIssue));
|
|
66
|
+
const valid = parts.filter((p) => p !== null);
|
|
67
|
+
return valid.join("\n\n");
|
|
68
|
+
}
|
|
69
|
+
catch {
|
|
70
|
+
return "";
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=issue-context-fetcher.js.map
|