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,413 @@
|
|
|
1
|
+
import { describe, it, expect, vi } from "vitest";
|
|
2
|
+
import { classifyTier, sortByTier, filterByTierBudget, computeDynamicBudget, llmClassifyTier } from "../memory/memory-tier.js";
|
|
3
|
+
// ─── Helpers ───
|
|
4
|
+
function makeTimestamp(hoursAgo) {
|
|
5
|
+
return new Date(Date.now() - hoursAgo * 60 * 60 * 1000).toISOString();
|
|
6
|
+
}
|
|
7
|
+
function makeShortTermEntry(overrides = {}) {
|
|
8
|
+
return {
|
|
9
|
+
id: "st-1",
|
|
10
|
+
goal_id: "goal-active",
|
|
11
|
+
data_type: "observation",
|
|
12
|
+
loop_number: 100,
|
|
13
|
+
timestamp: makeTimestamp(1), // 1 hour ago → recent
|
|
14
|
+
dimensions: ["dim-a"],
|
|
15
|
+
tags: [],
|
|
16
|
+
data: {},
|
|
17
|
+
embedding_id: null,
|
|
18
|
+
memory_tier: "recall",
|
|
19
|
+
...overrides,
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function makeIndexEntry(overrides = {}) {
|
|
23
|
+
return {
|
|
24
|
+
id: "idx-1",
|
|
25
|
+
goal_id: "goal-active",
|
|
26
|
+
dimensions: ["dim-a"],
|
|
27
|
+
tags: [],
|
|
28
|
+
timestamp: makeTimestamp(1),
|
|
29
|
+
data_file: "goals/goal-active.json",
|
|
30
|
+
entry_id: "st-1",
|
|
31
|
+
last_accessed: makeTimestamp(1), // 1 hour ago → recent
|
|
32
|
+
access_count: 0,
|
|
33
|
+
embedding_id: null,
|
|
34
|
+
memory_tier: "recall",
|
|
35
|
+
...overrides,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
// ─── classifyTier ───
|
|
39
|
+
describe("classifyTier — ShortTermEntry", () => {
|
|
40
|
+
const active = ["goal-active"];
|
|
41
|
+
const completed = ["goal-done"];
|
|
42
|
+
it("returns core for active goal + observation type + recent timestamp", () => {
|
|
43
|
+
const entry = makeShortTermEntry({
|
|
44
|
+
goal_id: "goal-active",
|
|
45
|
+
data_type: "observation",
|
|
46
|
+
timestamp: makeTimestamp(1), // 1 hour ago < 5 hours
|
|
47
|
+
});
|
|
48
|
+
expect(classifyTier(entry, active, completed)).toBe("core");
|
|
49
|
+
});
|
|
50
|
+
it("returns core for active goal + strategy type + recent timestamp", () => {
|
|
51
|
+
const entry = makeShortTermEntry({
|
|
52
|
+
goal_id: "goal-active",
|
|
53
|
+
data_type: "strategy",
|
|
54
|
+
timestamp: makeTimestamp(2),
|
|
55
|
+
});
|
|
56
|
+
expect(classifyTier(entry, active, completed)).toBe("core");
|
|
57
|
+
});
|
|
58
|
+
it("returns core for active goal + observation + 'recent' tag (even if old timestamp)", () => {
|
|
59
|
+
const entry = makeShortTermEntry({
|
|
60
|
+
goal_id: "goal-active",
|
|
61
|
+
data_type: "observation",
|
|
62
|
+
timestamp: makeTimestamp(100), // old
|
|
63
|
+
tags: ["recent"],
|
|
64
|
+
});
|
|
65
|
+
expect(classifyTier(entry, active, completed)).toBe("core");
|
|
66
|
+
});
|
|
67
|
+
it("returns recall for active goal + observation type + old timestamp", () => {
|
|
68
|
+
const entry = makeShortTermEntry({
|
|
69
|
+
goal_id: "goal-active",
|
|
70
|
+
data_type: "observation",
|
|
71
|
+
timestamp: makeTimestamp(10), // 10 hours ago > 5 hours
|
|
72
|
+
});
|
|
73
|
+
expect(classifyTier(entry, active, completed)).toBe("recall");
|
|
74
|
+
});
|
|
75
|
+
it("returns recall for active goal + task type (not core-eligible data type)", () => {
|
|
76
|
+
const entry = makeShortTermEntry({
|
|
77
|
+
goal_id: "goal-active",
|
|
78
|
+
data_type: "task",
|
|
79
|
+
timestamp: makeTimestamp(1),
|
|
80
|
+
});
|
|
81
|
+
expect(classifyTier(entry, active, completed)).toBe("recall");
|
|
82
|
+
});
|
|
83
|
+
it("returns recall for active goal + experience_log type", () => {
|
|
84
|
+
const entry = makeShortTermEntry({
|
|
85
|
+
goal_id: "goal-active",
|
|
86
|
+
data_type: "experience_log",
|
|
87
|
+
timestamp: makeTimestamp(1),
|
|
88
|
+
});
|
|
89
|
+
expect(classifyTier(entry, active, completed)).toBe("recall");
|
|
90
|
+
});
|
|
91
|
+
it("returns archival for completed goal", () => {
|
|
92
|
+
const entry = makeShortTermEntry({
|
|
93
|
+
goal_id: "goal-done",
|
|
94
|
+
data_type: "observation",
|
|
95
|
+
timestamp: makeTimestamp(1),
|
|
96
|
+
});
|
|
97
|
+
expect(classifyTier(entry, active, completed)).toBe("archival");
|
|
98
|
+
});
|
|
99
|
+
it("returns archival for unknown goal (not in active or completed)", () => {
|
|
100
|
+
const entry = makeShortTermEntry({
|
|
101
|
+
goal_id: "goal-unknown",
|
|
102
|
+
data_type: "observation",
|
|
103
|
+
timestamp: makeTimestamp(1),
|
|
104
|
+
});
|
|
105
|
+
expect(classifyTier(entry, active, completed)).toBe("archival");
|
|
106
|
+
});
|
|
107
|
+
});
|
|
108
|
+
describe("classifyTier — MemoryIndexEntry", () => {
|
|
109
|
+
const active = ["goal-active"];
|
|
110
|
+
const completed = ["goal-done"];
|
|
111
|
+
it("returns core for active goal + recently accessed (within 5h)", () => {
|
|
112
|
+
const entry = makeIndexEntry({
|
|
113
|
+
goal_id: "goal-active",
|
|
114
|
+
last_accessed: makeTimestamp(2),
|
|
115
|
+
});
|
|
116
|
+
expect(classifyTier(entry, active, completed)).toBe("core");
|
|
117
|
+
});
|
|
118
|
+
it("returns core for active goal + 'recent' tag (even if old last_accessed)", () => {
|
|
119
|
+
const entry = makeIndexEntry({
|
|
120
|
+
goal_id: "goal-active",
|
|
121
|
+
last_accessed: makeTimestamp(20),
|
|
122
|
+
tags: ["recent"],
|
|
123
|
+
});
|
|
124
|
+
expect(classifyTier(entry, active, completed)).toBe("core");
|
|
125
|
+
});
|
|
126
|
+
it("returns recall for active goal + old last_accessed (> 5h)", () => {
|
|
127
|
+
const entry = makeIndexEntry({
|
|
128
|
+
goal_id: "goal-active",
|
|
129
|
+
last_accessed: makeTimestamp(10),
|
|
130
|
+
});
|
|
131
|
+
expect(classifyTier(entry, active, completed)).toBe("recall");
|
|
132
|
+
});
|
|
133
|
+
it("returns archival for completed goal", () => {
|
|
134
|
+
const entry = makeIndexEntry({
|
|
135
|
+
goal_id: "goal-done",
|
|
136
|
+
last_accessed: makeTimestamp(1),
|
|
137
|
+
});
|
|
138
|
+
expect(classifyTier(entry, active, completed)).toBe("archival");
|
|
139
|
+
});
|
|
140
|
+
it("returns archival for unknown goal", () => {
|
|
141
|
+
const entry = makeIndexEntry({
|
|
142
|
+
goal_id: "goal-mystery",
|
|
143
|
+
last_accessed: makeTimestamp(1),
|
|
144
|
+
});
|
|
145
|
+
expect(classifyTier(entry, active, completed)).toBe("archival");
|
|
146
|
+
});
|
|
147
|
+
});
|
|
148
|
+
// ─── sortByTier ───
|
|
149
|
+
describe("sortByTier", () => {
|
|
150
|
+
it("sorts core → recall → archival", () => {
|
|
151
|
+
const entries = [
|
|
152
|
+
makeIndexEntry({ id: "a", memory_tier: "archival" }),
|
|
153
|
+
makeIndexEntry({ id: "b", memory_tier: "recall" }),
|
|
154
|
+
makeIndexEntry({ id: "c", memory_tier: "core" }),
|
|
155
|
+
];
|
|
156
|
+
const sorted = sortByTier(entries);
|
|
157
|
+
expect(sorted.map((e) => e.memory_tier)).toEqual(["core", "recall", "archival"]);
|
|
158
|
+
});
|
|
159
|
+
it("preserves original order within the same tier (stable)", () => {
|
|
160
|
+
const entries = [
|
|
161
|
+
makeIndexEntry({ id: "r1", memory_tier: "recall" }),
|
|
162
|
+
makeIndexEntry({ id: "r2", memory_tier: "recall" }),
|
|
163
|
+
makeIndexEntry({ id: "r3", memory_tier: "recall" }),
|
|
164
|
+
];
|
|
165
|
+
const sorted = sortByTier(entries);
|
|
166
|
+
expect(sorted.map((e) => e.id)).toEqual(["r1", "r2", "r3"]);
|
|
167
|
+
});
|
|
168
|
+
it("handles mix of tiers while preserving intra-tier order", () => {
|
|
169
|
+
const entries = [
|
|
170
|
+
makeIndexEntry({ id: "a1", memory_tier: "archival" }),
|
|
171
|
+
makeIndexEntry({ id: "c1", memory_tier: "core" }),
|
|
172
|
+
makeIndexEntry({ id: "r1", memory_tier: "recall" }),
|
|
173
|
+
makeIndexEntry({ id: "a2", memory_tier: "archival" }),
|
|
174
|
+
makeIndexEntry({ id: "c2", memory_tier: "core" }),
|
|
175
|
+
];
|
|
176
|
+
const sorted = sortByTier(entries);
|
|
177
|
+
const ids = sorted.map((e) => e.id);
|
|
178
|
+
// core first (c1 before c2 per original order), recall next, archival last (a1 before a2)
|
|
179
|
+
expect(ids).toEqual(["c1", "c2", "r1", "a1", "a2"]);
|
|
180
|
+
});
|
|
181
|
+
it("handles empty array", () => {
|
|
182
|
+
expect(sortByTier([])).toEqual([]);
|
|
183
|
+
});
|
|
184
|
+
it("handles all same tier", () => {
|
|
185
|
+
const entries = [
|
|
186
|
+
makeIndexEntry({ id: "x1", memory_tier: "recall" }),
|
|
187
|
+
makeIndexEntry({ id: "x2", memory_tier: "recall" }),
|
|
188
|
+
];
|
|
189
|
+
const sorted = sortByTier(entries);
|
|
190
|
+
expect(sorted.map((e) => e.id)).toEqual(["x1", "x2"]);
|
|
191
|
+
});
|
|
192
|
+
});
|
|
193
|
+
// ─── filterByTierBudget ───
|
|
194
|
+
describe("filterByTierBudget", () => {
|
|
195
|
+
function makeTieredEntries() {
|
|
196
|
+
return [
|
|
197
|
+
makeIndexEntry({ id: "c1", memory_tier: "core" }),
|
|
198
|
+
makeIndexEntry({ id: "c2", memory_tier: "core" }),
|
|
199
|
+
makeIndexEntry({ id: "c3", memory_tier: "core" }),
|
|
200
|
+
makeIndexEntry({ id: "r1", memory_tier: "recall" }),
|
|
201
|
+
makeIndexEntry({ id: "r2", memory_tier: "recall" }),
|
|
202
|
+
makeIndexEntry({ id: "r3", memory_tier: "recall" }),
|
|
203
|
+
makeIndexEntry({ id: "a1", memory_tier: "archival" }),
|
|
204
|
+
makeIndexEntry({ id: "a2", memory_tier: "archival" }),
|
|
205
|
+
];
|
|
206
|
+
}
|
|
207
|
+
it("respects per-tier limits (fractions of total)", () => {
|
|
208
|
+
const entries = makeTieredEntries(); // 8 total: 3c, 3r, 2a
|
|
209
|
+
// budget: core=0.25 → 2, recall=0.5 → 4, archival=0.25 → 2
|
|
210
|
+
// But only 3 core exist → takes 2; only 3 recall exist → up to 4; 2 archival → 2
|
|
211
|
+
const result = filterByTierBudget(entries, { core: 0.25, recall: 0.5, archival: 0.25 });
|
|
212
|
+
const tierCounts = {
|
|
213
|
+
core: result.filter((e) => e.memory_tier === "core").length,
|
|
214
|
+
recall: result.filter((e) => e.memory_tier === "recall").length,
|
|
215
|
+
archival: result.filter((e) => e.memory_tier === "archival").length,
|
|
216
|
+
};
|
|
217
|
+
expect(tierCounts.core).toBeLessThanOrEqual(Math.round(0.25 * 8));
|
|
218
|
+
expect(tierCounts.recall).toBeLessThanOrEqual(Math.round(0.5 * 8));
|
|
219
|
+
expect(tierCounts.archival).toBeLessThanOrEqual(Math.round(0.25 * 8));
|
|
220
|
+
});
|
|
221
|
+
it("core entries appear before recall and archival in result", () => {
|
|
222
|
+
const entries = makeTieredEntries();
|
|
223
|
+
const result = filterByTierBudget(entries, { core: 0.5, recall: 0.375, archival: 0.125 });
|
|
224
|
+
// Find first non-core entry
|
|
225
|
+
const firstNonCoreIdx = result.findIndex((e) => e.memory_tier !== "core");
|
|
226
|
+
if (firstNonCoreIdx >= 0) {
|
|
227
|
+
// All entries before that index should be core
|
|
228
|
+
const beforeNonCore = result.slice(0, firstNonCoreIdx);
|
|
229
|
+
expect(beforeNonCore.every((e) => e.memory_tier === "core")).toBe(true);
|
|
230
|
+
}
|
|
231
|
+
});
|
|
232
|
+
it("budget of 0 for a tier excludes that tier entirely", () => {
|
|
233
|
+
const entries = makeTieredEntries();
|
|
234
|
+
// archival budget = 0 → no archival entries
|
|
235
|
+
const result = filterByTierBudget(entries, { core: 0.5, recall: 0.5, archival: 0 });
|
|
236
|
+
expect(result.filter((e) => e.memory_tier === "archival")).toHaveLength(0);
|
|
237
|
+
});
|
|
238
|
+
it("handles empty entries array", () => {
|
|
239
|
+
expect(filterByTierBudget([], { core: 0.5, recall: 0.4, archival: 0.1 })).toEqual([]);
|
|
240
|
+
});
|
|
241
|
+
it("handles all-core entries with full core budget", () => {
|
|
242
|
+
const entries = [
|
|
243
|
+
makeIndexEntry({ id: "c1", memory_tier: "core" }),
|
|
244
|
+
makeIndexEntry({ id: "c2", memory_tier: "core" }),
|
|
245
|
+
];
|
|
246
|
+
const result = filterByTierBudget(entries, { core: 1, recall: 0, archival: 0 });
|
|
247
|
+
expect(result.map((e) => e.id)).toEqual(["c1", "c2"]);
|
|
248
|
+
});
|
|
249
|
+
});
|
|
250
|
+
// ─── Sub-stage 2.1: core→recall demotion ───
|
|
251
|
+
describe("classifyTier — satisfiedDimensions demotion (2.1)", () => {
|
|
252
|
+
const active = ["goal-active"];
|
|
253
|
+
const completed = [];
|
|
254
|
+
it("demotes core→recall when ALL dimensions are satisfied", () => {
|
|
255
|
+
const entry = makeIndexEntry({
|
|
256
|
+
goal_id: "goal-active",
|
|
257
|
+
dimensions: ["dim-a", "dim-b"],
|
|
258
|
+
last_accessed: makeTimestamp(1), // recent → would be core
|
|
259
|
+
tags: [],
|
|
260
|
+
});
|
|
261
|
+
// Both dim-a and dim-b satisfied → demote to recall
|
|
262
|
+
expect(classifyTier(entry, active, completed, ["dim-a", "dim-b"])).toBe("recall");
|
|
263
|
+
});
|
|
264
|
+
it("stays core when only SOME dimensions are satisfied", () => {
|
|
265
|
+
const entry = makeIndexEntry({
|
|
266
|
+
goal_id: "goal-active",
|
|
267
|
+
dimensions: ["dim-a", "dim-b"],
|
|
268
|
+
last_accessed: makeTimestamp(1),
|
|
269
|
+
tags: [],
|
|
270
|
+
});
|
|
271
|
+
// Only dim-a satisfied, dim-b is not → stays core
|
|
272
|
+
expect(classifyTier(entry, active, completed, ["dim-a"])).toBe("core");
|
|
273
|
+
});
|
|
274
|
+
it("no demotion when satisfiedDimensions is empty", () => {
|
|
275
|
+
const entry = makeIndexEntry({
|
|
276
|
+
goal_id: "goal-active",
|
|
277
|
+
dimensions: ["dim-a"],
|
|
278
|
+
last_accessed: makeTimestamp(1),
|
|
279
|
+
tags: [],
|
|
280
|
+
});
|
|
281
|
+
expect(classifyTier(entry, active, completed, [])).toBe("core");
|
|
282
|
+
});
|
|
283
|
+
it("no demotion when satisfiedDimensions is undefined", () => {
|
|
284
|
+
const entry = makeIndexEntry({
|
|
285
|
+
goal_id: "goal-active",
|
|
286
|
+
dimensions: ["dim-a"],
|
|
287
|
+
last_accessed: makeTimestamp(1),
|
|
288
|
+
tags: [],
|
|
289
|
+
});
|
|
290
|
+
expect(classifyTier(entry, active, completed, undefined)).toBe("core");
|
|
291
|
+
});
|
|
292
|
+
});
|
|
293
|
+
// ─── Sub-stage 2.2: recall→core promotion ───
|
|
294
|
+
describe("classifyTier — highDissatisfactionDimensions promotion (2.2)", () => {
|
|
295
|
+
const active = ["goal-active"];
|
|
296
|
+
const completed = [];
|
|
297
|
+
it("promotes recall→core when ANY dimension has high dissatisfaction", () => {
|
|
298
|
+
const entry = makeIndexEntry({
|
|
299
|
+
goal_id: "goal-active",
|
|
300
|
+
dimensions: ["dim-a", "dim-b"],
|
|
301
|
+
last_accessed: makeTimestamp(10), // old → would be recall
|
|
302
|
+
tags: [],
|
|
303
|
+
});
|
|
304
|
+
// dim-a is highly dissatisfied → promote to core
|
|
305
|
+
expect(classifyTier(entry, active, completed, undefined, ["dim-a"])).toBe("core");
|
|
306
|
+
});
|
|
307
|
+
it("stays recall when no dimension has high dissatisfaction", () => {
|
|
308
|
+
const entry = makeIndexEntry({
|
|
309
|
+
goal_id: "goal-active",
|
|
310
|
+
dimensions: ["dim-a"],
|
|
311
|
+
last_accessed: makeTimestamp(10),
|
|
312
|
+
tags: [],
|
|
313
|
+
});
|
|
314
|
+
// dim-b not in entry dimensions → no promotion
|
|
315
|
+
expect(classifyTier(entry, active, completed, undefined, ["dim-b"])).toBe("recall");
|
|
316
|
+
});
|
|
317
|
+
it("stays recall when highDissatisfactionDimensions is empty", () => {
|
|
318
|
+
const entry = makeIndexEntry({
|
|
319
|
+
goal_id: "goal-active",
|
|
320
|
+
dimensions: ["dim-a"],
|
|
321
|
+
last_accessed: makeTimestamp(10),
|
|
322
|
+
tags: [],
|
|
323
|
+
});
|
|
324
|
+
expect(classifyTier(entry, active, completed, undefined, [])).toBe("recall");
|
|
325
|
+
});
|
|
326
|
+
});
|
|
327
|
+
// ─── Sub-stage 2.3: computeDynamicBudget ───
|
|
328
|
+
describe("computeDynamicBudget (2.3)", () => {
|
|
329
|
+
it("returns high-core budget when dissatisfaction > 0.7", () => {
|
|
330
|
+
const budget = computeDynamicBudget(0.8);
|
|
331
|
+
expect(budget).toEqual({ core: 0.70, recall: 0.25, archival: 0.05 });
|
|
332
|
+
});
|
|
333
|
+
it("returns mid-core budget when dissatisfaction in (0.4, 0.7]", () => {
|
|
334
|
+
const budget = computeDynamicBudget(0.5);
|
|
335
|
+
expect(budget).toEqual({ core: 0.60, recall: 0.30, archival: 0.10 });
|
|
336
|
+
});
|
|
337
|
+
it("returns default budget when dissatisfaction <= 0.4", () => {
|
|
338
|
+
const budget = computeDynamicBudget(0.2);
|
|
339
|
+
expect(budget).toEqual({ core: 0.50, recall: 0.35, archival: 0.15 });
|
|
340
|
+
});
|
|
341
|
+
it("boundary: dissatisfaction exactly 0.7 → mid-core bucket (not high)", () => {
|
|
342
|
+
// 0.7 is NOT > 0.7, so falls to mid check: 0.7 > 0.4 → mid
|
|
343
|
+
const budget = computeDynamicBudget(0.7);
|
|
344
|
+
expect(budget).toEqual({ core: 0.60, recall: 0.30, archival: 0.10 });
|
|
345
|
+
});
|
|
346
|
+
it("boundary: dissatisfaction exactly 0.4 → default bucket", () => {
|
|
347
|
+
// 0.4 is NOT > 0.4
|
|
348
|
+
const budget = computeDynamicBudget(0.4);
|
|
349
|
+
expect(budget).toEqual({ core: 0.50, recall: 0.35, archival: 0.15 });
|
|
350
|
+
});
|
|
351
|
+
});
|
|
352
|
+
// ─── Sub-stage 2.5: llmClassifyTier ───
|
|
353
|
+
describe("llmClassifyTier (2.5)", () => {
|
|
354
|
+
function makeEntries(count) {
|
|
355
|
+
return Array.from({ length: count }, (_, i) => makeIndexEntry({
|
|
356
|
+
id: `idx-${i}`,
|
|
357
|
+
entry_id: `entry-${i}`,
|
|
358
|
+
goal_id: "goal-active",
|
|
359
|
+
dimensions: ["dim-a"],
|
|
360
|
+
}));
|
|
361
|
+
}
|
|
362
|
+
it("returns empty map for empty entries", async () => {
|
|
363
|
+
const llmClient = { generateStructured: vi.fn() };
|
|
364
|
+
const result = await llmClassifyTier([], { goalId: "goal-1", dimensions: [] }, llmClient);
|
|
365
|
+
expect(result.size).toBe(0);
|
|
366
|
+
expect(llmClient.generateStructured).not.toHaveBeenCalled();
|
|
367
|
+
});
|
|
368
|
+
it("returns LLM-classified tiers on success", async () => {
|
|
369
|
+
const entries = makeEntries(2);
|
|
370
|
+
const llmClient = {
|
|
371
|
+
generateStructured: vi.fn().mockResolvedValue({
|
|
372
|
+
classifications: [
|
|
373
|
+
{ entry_id: "entry-0", tier: "core" },
|
|
374
|
+
{ entry_id: "entry-1", tier: "archival" },
|
|
375
|
+
],
|
|
376
|
+
}),
|
|
377
|
+
};
|
|
378
|
+
const result = await llmClassifyTier(entries, { goalId: "goal-active", dimensions: ["dim-a"] }, llmClient);
|
|
379
|
+
expect(result.get("entry-0")).toBe("core");
|
|
380
|
+
expect(result.get("entry-1")).toBe("archival");
|
|
381
|
+
});
|
|
382
|
+
it("sanitizes out-of-enum tier values to archival", async () => {
|
|
383
|
+
const entries = makeEntries(1);
|
|
384
|
+
const llmClient = {
|
|
385
|
+
generateStructured: vi.fn().mockResolvedValue({
|
|
386
|
+
classifications: [{ entry_id: "entry-0", tier: "unknown-tier" }],
|
|
387
|
+
}),
|
|
388
|
+
};
|
|
389
|
+
const result = await llmClassifyTier(entries, { goalId: "goal-active", dimensions: [] }, llmClient);
|
|
390
|
+
expect(result.get("entry-0")).toBe("archival");
|
|
391
|
+
});
|
|
392
|
+
it("falls back to rule-based on parse error", async () => {
|
|
393
|
+
const entries = makeEntries(1);
|
|
394
|
+
// Return malformed response that fails Zod parse
|
|
395
|
+
const llmClient = {
|
|
396
|
+
generateStructured: vi.fn().mockResolvedValue({ invalid: true }),
|
|
397
|
+
};
|
|
398
|
+
const result = await llmClassifyTier(entries, { goalId: "goal-active", dimensions: [] }, llmClient);
|
|
399
|
+
// Fallback returns a map with rule-based tier for entry
|
|
400
|
+
expect(result.size).toBe(1);
|
|
401
|
+
expect(["core", "recall", "archival"]).toContain(result.get("entry-0"));
|
|
402
|
+
});
|
|
403
|
+
it("falls back to rule-based on LLM error/timeout", async () => {
|
|
404
|
+
const entries = makeEntries(1);
|
|
405
|
+
const llmClient = {
|
|
406
|
+
generateStructured: vi.fn().mockRejectedValue(new Error("timeout")),
|
|
407
|
+
};
|
|
408
|
+
const result = await llmClassifyTier(entries, { goalId: "goal-active", dimensions: [] }, llmClient);
|
|
409
|
+
expect(result.size).toBe(1);
|
|
410
|
+
expect(["core", "recall", "archival"]).toContain(result.get("entry-0"));
|
|
411
|
+
});
|
|
412
|
+
});
|
|
413
|
+
//# sourceMappingURL=memory-tier.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory-tier.test.js","sourceRoot":"","sources":["../../../../src/platform/knowledge/__tests__/memory-tier.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,UAAU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AAE,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE,EAAE,EAAE,EAAE,SAAS,CAAC,CAAC;QACpG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAC5B,MAAM,CAAC,CAAC,MAAM,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC;IAC1E,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transfer-trust.test.d.ts","sourceRoot":"","sources":["../../../../src/platform/knowledge/__tests__/transfer-trust.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { describe, it, expect, beforeEach } from "vitest";
|
|
2
|
+
import * as fs from "node:fs";
|
|
3
|
+
import * as os from "node:os";
|
|
4
|
+
import * as path from "node:path";
|
|
5
|
+
import { TransferTrustManager } from "../transfer/transfer-trust.js";
|
|
6
|
+
import { StateManager } from "../../../base/state/state-manager.js";
|
|
7
|
+
// ─── Helpers ───
|
|
8
|
+
function makeTmpDir() {
|
|
9
|
+
return fs.mkdtempSync(path.join(os.tmpdir(), "transfer-trust-test-"));
|
|
10
|
+
}
|
|
11
|
+
function makeStateManager(tmpDir) {
|
|
12
|
+
return new StateManager(tmpDir);
|
|
13
|
+
}
|
|
14
|
+
// ─── Tests ───
|
|
15
|
+
describe("TransferTrustManager", () => {
|
|
16
|
+
let tmpDir;
|
|
17
|
+
let stateManager;
|
|
18
|
+
let manager;
|
|
19
|
+
beforeEach(() => {
|
|
20
|
+
tmpDir = makeTmpDir();
|
|
21
|
+
stateManager = makeStateManager(tmpDir);
|
|
22
|
+
manager = new TransferTrustManager({ stateManager });
|
|
23
|
+
});
|
|
24
|
+
it("初期trust_scoreが0.5であること", async () => {
|
|
25
|
+
const score = await manager.getTrustScore("testing::development");
|
|
26
|
+
expect(score.trust_score).toBe(0.5);
|
|
27
|
+
expect(score.success_count).toBe(0);
|
|
28
|
+
expect(score.failure_count).toBe(0);
|
|
29
|
+
expect(score.neutral_count).toBe(0);
|
|
30
|
+
});
|
|
31
|
+
it("positive更新でtrust_scoreが+0.1されること", async () => {
|
|
32
|
+
const before = await manager.getTrustScore("domain_a::domain_b");
|
|
33
|
+
expect(before.trust_score).toBe(0.5);
|
|
34
|
+
const after = await manager.updateTrust("domain_a::domain_b", "positive");
|
|
35
|
+
expect(after.trust_score).toBeCloseTo(0.6, 5);
|
|
36
|
+
expect(after.success_count).toBe(1);
|
|
37
|
+
expect(after.failure_count).toBe(0);
|
|
38
|
+
});
|
|
39
|
+
it("negative更新でtrust_scoreが-0.15されること", async () => {
|
|
40
|
+
const after = await manager.updateTrust("domain_a::domain_b", "negative");
|
|
41
|
+
expect(after.trust_score).toBeCloseTo(0.35, 5);
|
|
42
|
+
expect(after.failure_count).toBe(1);
|
|
43
|
+
expect(after.success_count).toBe(0);
|
|
44
|
+
});
|
|
45
|
+
it("neutral更新でtrust_scoreが変化しないこと", async () => {
|
|
46
|
+
const after = await manager.updateTrust("domain_a::domain_b", "neutral");
|
|
47
|
+
expect(after.trust_score).toBe(0.5);
|
|
48
|
+
expect(after.neutral_count).toBe(1);
|
|
49
|
+
});
|
|
50
|
+
it("trust_scoreが0.0にclampされること (negative連続)", async () => {
|
|
51
|
+
// Start at 0.5, apply 4 negative updates: 0.5 - 0.15*4 = -0.1 → clamped to 0.0
|
|
52
|
+
for (let i = 0; i < 4; i++) {
|
|
53
|
+
await manager.updateTrust("domain_clamp::low", "negative");
|
|
54
|
+
}
|
|
55
|
+
const score = await manager.getTrustScore("domain_clamp::low");
|
|
56
|
+
expect(score.trust_score).toBeGreaterThanOrEqual(0.0);
|
|
57
|
+
expect(score.trust_score).toBe(0.0);
|
|
58
|
+
});
|
|
59
|
+
it("trust_scoreが1.0にclampされること (positive連続)", async () => {
|
|
60
|
+
// Start at 0.5, apply 6 positive updates: 0.5 + 0.1*6 = 1.1 → clamped to 1.0
|
|
61
|
+
for (let i = 0; i < 6; i++) {
|
|
62
|
+
await manager.updateTrust("domain_clamp::high", "positive");
|
|
63
|
+
}
|
|
64
|
+
const score = await manager.getTrustScore("domain_clamp::high");
|
|
65
|
+
expect(score.trust_score).toBeLessThanOrEqual(1.0);
|
|
66
|
+
expect(score.trust_score).toBe(1.0);
|
|
67
|
+
});
|
|
68
|
+
it("3回連続negativeでshouldInvalidateがtrueになること", async () => {
|
|
69
|
+
const pair = "bad_domain::another";
|
|
70
|
+
await manager.updateTrust(pair, "negative");
|
|
71
|
+
await manager.updateTrust(pair, "negative");
|
|
72
|
+
expect(await manager.shouldInvalidate(pair)).toBe(false);
|
|
73
|
+
await manager.updateTrust(pair, "negative");
|
|
74
|
+
expect(await manager.shouldInvalidate(pair)).toBe(true);
|
|
75
|
+
});
|
|
76
|
+
it("3回連続neutralでshouldInvalidateがtrueになること", async () => {
|
|
77
|
+
const pair = "neutral_domain::another";
|
|
78
|
+
await manager.updateTrust(pair, "neutral");
|
|
79
|
+
await manager.updateTrust(pair, "neutral");
|
|
80
|
+
await manager.updateTrust(pair, "neutral");
|
|
81
|
+
expect(await manager.shouldInvalidate(pair)).toBe(true);
|
|
82
|
+
});
|
|
83
|
+
it("negativeとneutralの混在3回でshouldInvalidateがtrueになること", async () => {
|
|
84
|
+
const pair = "mixed_bad::another";
|
|
85
|
+
await manager.updateTrust(pair, "negative");
|
|
86
|
+
await manager.updateTrust(pair, "neutral");
|
|
87
|
+
await manager.updateTrust(pair, "negative");
|
|
88
|
+
expect(await manager.shouldInvalidate(pair)).toBe(true);
|
|
89
|
+
});
|
|
90
|
+
it("positiveが混ざるとshouldInvalidateがfalseになること", async () => {
|
|
91
|
+
const pair = "mixed_good::another";
|
|
92
|
+
await manager.updateTrust(pair, "negative");
|
|
93
|
+
await manager.updateTrust(pair, "negative");
|
|
94
|
+
await manager.updateTrust(pair, "positive"); // resets the streak
|
|
95
|
+
expect(await manager.shouldInvalidate(pair)).toBe(false);
|
|
96
|
+
});
|
|
97
|
+
it("履歴が2件ならshouldInvalidateがfalseになること", async () => {
|
|
98
|
+
const pair = "short_history::another";
|
|
99
|
+
await manager.updateTrust(pair, "negative");
|
|
100
|
+
await manager.updateTrust(pair, "negative");
|
|
101
|
+
expect(await manager.shouldInvalidate(pair)).toBe(false);
|
|
102
|
+
});
|
|
103
|
+
it("永続化と読み込みの往復テスト", async () => {
|
|
104
|
+
const pair = "persist::test";
|
|
105
|
+
await manager.updateTrust(pair, "positive");
|
|
106
|
+
await manager.updateTrust(pair, "positive");
|
|
107
|
+
// Create a new manager with the same stateManager (same tmpDir)
|
|
108
|
+
const manager2 = new TransferTrustManager({ stateManager });
|
|
109
|
+
const score = await manager2.getTrustScore(pair);
|
|
110
|
+
expect(score.trust_score).toBeCloseTo(0.7, 5);
|
|
111
|
+
expect(score.success_count).toBe(2);
|
|
112
|
+
});
|
|
113
|
+
it("スコアリング式: similarity * confidence * trustScore の計算確認", () => {
|
|
114
|
+
// This is a pure calculation test — no async needed
|
|
115
|
+
const similarityScore = 0.8;
|
|
116
|
+
const confidence = 0.9;
|
|
117
|
+
const trustScore = 0.6;
|
|
118
|
+
const baseScore = similarityScore * confidence * trustScore;
|
|
119
|
+
expect(baseScore).toBeCloseTo(0.432, 5);
|
|
120
|
+
});
|
|
121
|
+
it("domain_tag_matchで+0.1ボーナスが加算されること (上限1.0クランプ)", () => {
|
|
122
|
+
const similarityScore = 0.8;
|
|
123
|
+
const confidence = 0.9;
|
|
124
|
+
const trustScore = 0.8;
|
|
125
|
+
const baseScore = similarityScore * confidence * trustScore;
|
|
126
|
+
// With domain_tag_match bonus
|
|
127
|
+
const withBonus = Math.min(1.0, baseScore + 0.1);
|
|
128
|
+
expect(withBonus).toBeCloseTo(Math.min(1.0, baseScore + 0.1), 5);
|
|
129
|
+
expect(withBonus).toBeGreaterThan(baseScore);
|
|
130
|
+
});
|
|
131
|
+
it("domain_tag_match+0.1ボーナスが1.0を超えないこと", () => {
|
|
132
|
+
const baseScore = 0.95; // close to 1.0
|
|
133
|
+
const withBonus = Math.min(1.0, baseScore + 0.1);
|
|
134
|
+
expect(withBonus).toBe(1.0);
|
|
135
|
+
});
|
|
136
|
+
});
|
|
137
|
+
//# sourceMappingURL=transfer-trust.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transfer-trust.test.js","sourceRoot":"","sources":["../../../../src/platform/knowledge/__tests__/transfer-trust.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAC1D,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAEpE,kBAAkB;AAElB,SAAS,UAAU;IACjB,OAAO,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,EAAE,sBAAsB,CAAC,CAAC,CAAC;AACxE,CAAC;AAED,SAAS,gBAAgB,CAAC,MAAc;IACtC,OAAO,IAAI,YAAY,CAAC,MAAM,CAAC,CAAC;AAClC,CAAC;AAED,gBAAgB;AAEhB,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;IACpC,IAAI,MAAc,CAAC;IACnB,IAAI,YAA0B,CAAC;IAC/B,IAAI,OAA6B,CAAC;IAElC,UAAU,CAAC,GAAG,EAAE;QACd,MAAM,GAAG,UAAU,EAAE,CAAC;QACtB,YAAY,GAAG,gBAAgB,CAAC,MAAM,CAAC,CAAC;QACxC,OAAO,GAAG,IAAI,oBAAoB,CAAC,EAAE,YAAY,EAAE,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