pulseed 0.4.15 → 0.4.17
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/README.md +2 -2
- package/package.json +18 -11
- package/dist/adapters/agents/a2a-adapter.d.ts +0 -49
- package/dist/adapters/agents/a2a-adapter.d.ts.map +0 -1
- package/dist/adapters/agents/a2a-adapter.js +0 -211
- package/dist/adapters/agents/a2a-adapter.js.map +0 -1
- package/dist/adapters/agents/a2a-client.d.ts +0 -28
- package/dist/adapters/agents/a2a-client.d.ts.map +0 -1
- package/dist/adapters/agents/a2a-client.js +0 -178
- package/dist/adapters/agents/a2a-client.js.map +0 -1
- package/dist/adapters/agents/agent-profile-loader.d.ts +0 -26
- package/dist/adapters/agents/agent-profile-loader.d.ts.map +0 -1
- package/dist/adapters/agents/agent-profile-loader.js +0 -88
- package/dist/adapters/agents/agent-profile-loader.js.map +0 -1
- package/dist/adapters/agents/claude-api.d.ts +0 -10
- package/dist/adapters/agents/claude-api.d.ts.map +0 -1
- package/dist/adapters/agents/claude-api.js +0 -64
- package/dist/adapters/agents/claude-api.js.map +0 -1
- package/dist/adapters/agents/claude-code-cli.d.ts +0 -21
- package/dist/adapters/agents/claude-code-cli.d.ts.map +0 -1
- package/dist/adapters/agents/claude-code-cli.js +0 -69
- package/dist/adapters/agents/claude-code-cli.js.map +0 -1
- package/dist/adapters/agents/native-agent-loop.d.ts +0 -7
- package/dist/adapters/agents/native-agent-loop.d.ts.map +0 -1
- package/dist/adapters/agents/native-agent-loop.js +0 -19
- package/dist/adapters/agents/native-agent-loop.js.map +0 -1
- package/dist/adapters/agents/openai-codex.d.ts +0 -35
- package/dist/adapters/agents/openai-codex.d.ts.map +0 -1
- package/dist/adapters/agents/openai-codex.js +0 -83
- package/dist/adapters/agents/openai-codex.js.map +0 -1
- package/dist/adapters/datasources/file-existence-datasource.d.ts +0 -16
- package/dist/adapters/datasources/file-existence-datasource.d.ts.map +0 -1
- package/dist/adapters/datasources/file-existence-datasource.js +0 -71
- package/dist/adapters/datasources/file-existence-datasource.js.map +0 -1
- package/dist/adapters/datasources/github-issue-datasource.d.ts +0 -58
- package/dist/adapters/datasources/github-issue-datasource.d.ts.map +0 -1
- package/dist/adapters/datasources/github-issue-datasource.js +0 -309
- package/dist/adapters/datasources/github-issue-datasource.js.map +0 -1
- package/dist/adapters/datasources/mcp-datasource.d.ts +0 -20
- package/dist/adapters/datasources/mcp-datasource.d.ts.map +0 -1
- package/dist/adapters/datasources/mcp-datasource.js +0 -116
- package/dist/adapters/datasources/mcp-datasource.js.map +0 -1
- package/dist/adapters/datasources/shell-datasource.d.ts +0 -36
- package/dist/adapters/datasources/shell-datasource.d.ts.map +0 -1
- package/dist/adapters/datasources/shell-datasource.js +0 -138
- package/dist/adapters/datasources/shell-datasource.js.map +0 -1
- package/dist/adapters/github-issue.d.ts +0 -93
- package/dist/adapters/github-issue.d.ts.map +0 -1
- package/dist/adapters/github-issue.js +0 -492
- package/dist/adapters/github-issue.js.map +0 -1
- package/dist/adapters/mcp-client-manager.d.ts +0 -22
- package/dist/adapters/mcp-client-manager.d.ts.map +0 -1
- package/dist/adapters/mcp-client-manager.js +0 -131
- package/dist/adapters/mcp-client-manager.js.map +0 -1
- package/dist/adapters/spawn-helper.d.ts +0 -34
- package/dist/adapters/spawn-helper.d.ts.map +0 -1
- package/dist/adapters/spawn-helper.js +0 -109
- package/dist/adapters/spawn-helper.js.map +0 -1
- package/dist/adapters/types/a2a.d.ts +0 -721
- package/dist/adapters/types/a2a.d.ts.map +0 -1
- package/dist/adapters/types/a2a.js +0 -114
- package/dist/adapters/types/a2a.js.map +0 -1
- package/dist/adapters/types/agent-profile.d.ts +0 -32
- package/dist/adapters/types/agent-profile.d.ts.map +0 -1
- package/dist/adapters/types/agent-profile.js +0 -16
- package/dist/adapters/types/agent-profile.js.map +0 -1
- package/dist/adapters/types/mcp.d.ts +0 -170
- package/dist/adapters/types/mcp.d.ts.map +0 -1
- package/dist/adapters/types/mcp.js +0 -30
- package/dist/adapters/types/mcp.js.map +0 -1
- package/dist/base/config/config-metadata.d.ts +0 -2
- package/dist/base/config/config-metadata.d.ts.map +0 -1
- package/dist/base/config/config-metadata.js +0 -4
- package/dist/base/config/config-metadata.js.map +0 -1
- package/dist/base/config/global-config.d.ts +0 -19
- package/dist/base/config/global-config.d.ts.map +0 -1
- package/dist/base/config/global-config.js +0 -44
- package/dist/base/config/global-config.js.map +0 -1
- package/dist/base/config/identity-loader.d.ts +0 -15
- package/dist/base/config/identity-loader.d.ts.map +0 -1
- package/dist/base/config/identity-loader.js +0 -94
- package/dist/base/config/identity-loader.js.map +0 -1
- package/dist/base/config/tool-metadata.d.ts +0 -28
- package/dist/base/config/tool-metadata.d.ts.map +0 -1
- package/dist/base/config/tool-metadata.js +0 -114
- package/dist/base/config/tool-metadata.js.map +0 -1
- package/dist/base/llm/base-llm-client.d.ts +0 -83
- package/dist/base/llm/base-llm-client.d.ts.map +0 -1
- package/dist/base/llm/base-llm-client.js +0 -210
- package/dist/base/llm/base-llm-client.js.map +0 -1
- package/dist/base/llm/codex-llm-client.d.ts +0 -45
- package/dist/base/llm/codex-llm-client.d.ts.map +0 -1
- package/dist/base/llm/codex-llm-client.js +0 -197
- package/dist/base/llm/codex-llm-client.js.map +0 -1
- package/dist/base/llm/json-sanitizer.d.ts +0 -34
- package/dist/base/llm/json-sanitizer.d.ts.map +0 -1
- package/dist/base/llm/json-sanitizer.js +0 -110
- package/dist/base/llm/json-sanitizer.js.map +0 -1
- package/dist/base/llm/llm-client.d.ts +0 -105
- package/dist/base/llm/llm-client.d.ts.map +0 -1
- package/dist/base/llm/llm-client.js +0 -281
- package/dist/base/llm/llm-client.js.map +0 -1
- package/dist/base/llm/ollama-client.d.ts +0 -28
- package/dist/base/llm/ollama-client.d.ts.map +0 -1
- package/dist/base/llm/ollama-client.js +0 -112
- package/dist/base/llm/ollama-client.js.map +0 -1
- package/dist/base/llm/openai-client.d.ts +0 -39
- package/dist/base/llm/openai-client.d.ts.map +0 -1
- package/dist/base/llm/openai-client.js +0 -246
- package/dist/base/llm/openai-client.js.map +0 -1
- package/dist/base/llm/provider-config.d.ts +0 -128
- package/dist/base/llm/provider-config.d.ts.map +0 -1
- package/dist/base/llm/provider-config.js +0 -450
- package/dist/base/llm/provider-config.js.map +0 -1
- package/dist/base/llm/provider-factory.d.ts +0 -24
- package/dist/base/llm/provider-factory.d.ts.map +0 -1
- package/dist/base/llm/provider-factory.js +0 -159
- package/dist/base/llm/provider-factory.js.map +0 -1
- package/dist/base/state/checkpoint-trust-port.d.ts +0 -4
- package/dist/base/state/checkpoint-trust-port.d.ts.map +0 -1
- package/dist/base/state/checkpoint-trust-port.js +0 -2
- package/dist/base/state/checkpoint-trust-port.js.map +0 -1
- package/dist/base/state/state-lock.d.ts +0 -17
- package/dist/base/state/state-lock.d.ts.map +0 -1
- package/dist/base/state/state-lock.js +0 -134
- package/dist/base/state/state-lock.js.map +0 -1
- package/dist/base/state/state-manager-goal-write.d.ts +0 -26
- package/dist/base/state/state-manager-goal-write.d.ts.map +0 -1
- package/dist/base/state/state-manager-goal-write.js +0 -116
- package/dist/base/state/state-manager-goal-write.js.map +0 -1
- package/dist/base/state/state-manager-wal.d.ts +0 -11
- package/dist/base/state/state-manager-wal.d.ts.map +0 -1
- package/dist/base/state/state-manager-wal.js +0 -101
- package/dist/base/state/state-manager-wal.js.map +0 -1
- package/dist/base/state/state-manager.d.ts +0 -145
- package/dist/base/state/state-manager.d.ts.map +0 -1
- package/dist/base/state/state-manager.js +0 -727
- package/dist/base/state/state-manager.js.map +0 -1
- package/dist/base/state/state-persistence.d.ts +0 -12
- package/dist/base/state/state-persistence.d.ts.map +0 -1
- package/dist/base/state/state-persistence.js +0 -58
- package/dist/base/state/state-persistence.js.map +0 -1
- package/dist/base/state/state-snapshot.d.ts +0 -12
- package/dist/base/state/state-snapshot.d.ts.map +0 -1
- package/dist/base/state/state-snapshot.js +0 -61
- package/dist/base/state/state-snapshot.js.map +0 -1
- package/dist/base/state/state-wal.d.ts +0 -27
- package/dist/base/state/state-wal.d.ts.map +0 -1
- package/dist/base/state/state-wal.js +0 -93
- package/dist/base/state/state-wal.js.map +0 -1
- package/dist/base/state/types/state.d.ts +0 -245
- package/dist/base/state/types/state.d.ts.map +0 -1
- package/dist/base/state/types/state.js +0 -36
- package/dist/base/state/types/state.js.map +0 -1
- package/dist/base/types/a2a.d.ts +0 -2
- package/dist/base/types/a2a.d.ts.map +0 -1
- package/dist/base/types/a2a.js +0 -3
- package/dist/base/types/a2a.js.map +0 -1
- package/dist/base/types/agent-profile.d.ts +0 -2
- package/dist/base/types/agent-profile.d.ts.map +0 -1
- package/dist/base/types/agent-profile.js +0 -3
- package/dist/base/types/agent-profile.js.map +0 -1
- package/dist/base/types/capability.d.ts +0 -2
- package/dist/base/types/capability.d.ts.map +0 -1
- package/dist/base/types/capability.js +0 -3
- package/dist/base/types/capability.js.map +0 -1
- package/dist/base/types/character.d.ts +0 -2
- package/dist/base/types/character.d.ts.map +0 -1
- package/dist/base/types/character.js +0 -3
- package/dist/base/types/character.js.map +0 -1
- package/dist/base/types/checkpoint.d.ts +0 -2
- package/dist/base/types/checkpoint.d.ts.map +0 -1
- package/dist/base/types/checkpoint.js +0 -3
- package/dist/base/types/checkpoint.js.map +0 -1
- package/dist/base/types/core.d.ts +0 -175
- package/dist/base/types/core.d.ts.map +0 -1
- package/dist/base/types/core.js +0 -159
- package/dist/base/types/core.js.map +0 -1
- package/dist/base/types/cron.d.ts +0 -2
- package/dist/base/types/cron.d.ts.map +0 -1
- package/dist/base/types/cron.js +0 -3
- package/dist/base/types/cron.js.map +0 -1
- package/dist/base/types/cross-portfolio.d.ts +0 -2
- package/dist/base/types/cross-portfolio.d.ts.map +0 -1
- package/dist/base/types/cross-portfolio.js +0 -3
- package/dist/base/types/cross-portfolio.js.map +0 -1
- package/dist/base/types/curiosity.d.ts +0 -2
- package/dist/base/types/curiosity.d.ts.map +0 -1
- package/dist/base/types/curiosity.js +0 -3
- package/dist/base/types/curiosity.js.map +0 -1
- package/dist/base/types/daemon.d.ts +0 -2
- package/dist/base/types/daemon.d.ts.map +0 -1
- package/dist/base/types/daemon.js +0 -3
- package/dist/base/types/daemon.js.map +0 -1
- package/dist/base/types/data-source.d.ts +0 -2
- package/dist/base/types/data-source.d.ts.map +0 -1
- package/dist/base/types/data-source.js +0 -3
- package/dist/base/types/data-source.js.map +0 -1
- package/dist/base/types/dependency.d.ts +0 -2
- package/dist/base/types/dependency.d.ts.map +0 -1
- package/dist/base/types/dependency.js +0 -3
- package/dist/base/types/dependency.js.map +0 -1
- package/dist/base/types/drive.d.ts +0 -2
- package/dist/base/types/drive.d.ts.map +0 -1
- package/dist/base/types/drive.js +0 -3
- package/dist/base/types/drive.js.map +0 -1
- package/dist/base/types/embedding.d.ts +0 -2
- package/dist/base/types/embedding.d.ts.map +0 -1
- package/dist/base/types/embedding.js +0 -3
- package/dist/base/types/embedding.js.map +0 -1
- package/dist/base/types/ethics.d.ts +0 -2
- package/dist/base/types/ethics.d.ts.map +0 -1
- package/dist/base/types/ethics.js +0 -3
- package/dist/base/types/ethics.js.map +0 -1
- package/dist/base/types/gap.d.ts +0 -2
- package/dist/base/types/gap.d.ts.map +0 -1
- package/dist/base/types/gap.js +0 -3
- package/dist/base/types/gap.js.map +0 -1
- package/dist/base/types/goal-refiner.d.ts +0 -2
- package/dist/base/types/goal-refiner.d.ts.map +0 -1
- package/dist/base/types/goal-refiner.js +0 -3
- package/dist/base/types/goal-refiner.js.map +0 -1
- package/dist/base/types/goal-tree.d.ts +0 -2
- package/dist/base/types/goal-tree.d.ts.map +0 -1
- package/dist/base/types/goal-tree.js +0 -3
- package/dist/base/types/goal-tree.js.map +0 -1
- package/dist/base/types/goal.d.ts +0 -2
- package/dist/base/types/goal.d.ts.map +0 -1
- package/dist/base/types/goal.js +0 -3
- package/dist/base/types/goal.js.map +0 -1
- package/dist/base/types/guardrail.d.ts +0 -2
- package/dist/base/types/guardrail.d.ts.map +0 -1
- package/dist/base/types/guardrail.js +0 -3
- package/dist/base/types/guardrail.js.map +0 -1
- package/dist/base/types/hook.d.ts +0 -2
- package/dist/base/types/hook.d.ts.map +0 -1
- package/dist/base/types/hook.js +0 -3
- package/dist/base/types/hook.js.map +0 -1
- package/dist/base/types/index.d.ts +0 -33
- package/dist/base/types/index.d.ts.map +0 -1
- package/dist/base/types/index.js +0 -33
- package/dist/base/types/index.js.map +0 -1
- package/dist/base/types/knowledge.d.ts +0 -2
- package/dist/base/types/knowledge.d.ts.map +0 -1
- package/dist/base/types/knowledge.js +0 -3
- package/dist/base/types/knowledge.js.map +0 -1
- package/dist/base/types/learning.d.ts +0 -2
- package/dist/base/types/learning.d.ts.map +0 -1
- package/dist/base/types/learning.js +0 -3
- package/dist/base/types/learning.js.map +0 -1
- package/dist/base/types/mcp.d.ts +0 -2
- package/dist/base/types/mcp.d.ts.map +0 -1
- package/dist/base/types/mcp.js +0 -3
- package/dist/base/types/mcp.js.map +0 -1
- package/dist/base/types/memory-lifecycle.d.ts +0 -2
- package/dist/base/types/memory-lifecycle.d.ts.map +0 -1
- package/dist/base/types/memory-lifecycle.js +0 -3
- package/dist/base/types/memory-lifecycle.js.map +0 -1
- package/dist/base/types/negotiation.d.ts +0 -2
- package/dist/base/types/negotiation.d.ts.map +0 -1
- package/dist/base/types/negotiation.js +0 -3
- package/dist/base/types/negotiation.js.map +0 -1
- package/dist/base/types/notification.d.ts +0 -2
- package/dist/base/types/notification.d.ts.map +0 -1
- package/dist/base/types/notification.js +0 -3
- package/dist/base/types/notification.js.map +0 -1
- package/dist/base/types/pipeline.d.ts +0 -2
- package/dist/base/types/pipeline.d.ts.map +0 -1
- package/dist/base/types/pipeline.js +0 -3
- package/dist/base/types/pipeline.js.map +0 -1
- package/dist/base/types/plugin.d.ts +0 -2
- package/dist/base/types/plugin.d.ts.map +0 -1
- package/dist/base/types/plugin.js +0 -3
- package/dist/base/types/plugin.js.map +0 -1
- package/dist/base/types/portfolio.d.ts +0 -2
- package/dist/base/types/portfolio.d.ts.map +0 -1
- package/dist/base/types/portfolio.js +0 -3
- package/dist/base/types/portfolio.js.map +0 -1
- package/dist/base/types/reflection.d.ts +0 -2
- package/dist/base/types/reflection.d.ts.map +0 -1
- package/dist/base/types/reflection.js +0 -3
- package/dist/base/types/reflection.js.map +0 -1
- package/dist/base/types/report.d.ts +0 -2
- package/dist/base/types/report.d.ts.map +0 -1
- package/dist/base/types/report.js +0 -3
- package/dist/base/types/report.js.map +0 -1
- package/dist/base/types/satisficing.d.ts +0 -2
- package/dist/base/types/satisficing.d.ts.map +0 -1
- package/dist/base/types/satisficing.js +0 -3
- package/dist/base/types/satisficing.js.map +0 -1
- package/dist/base/types/schedule.d.ts +0 -2
- package/dist/base/types/schedule.d.ts.map +0 -1
- package/dist/base/types/schedule.js +0 -3
- package/dist/base/types/schedule.js.map +0 -1
- package/dist/base/types/session.d.ts +0 -2
- package/dist/base/types/session.d.ts.map +0 -1
- package/dist/base/types/session.js +0 -3
- package/dist/base/types/session.js.map +0 -1
- package/dist/base/types/stall.d.ts +0 -2
- package/dist/base/types/stall.d.ts.map +0 -1
- package/dist/base/types/stall.js +0 -3
- package/dist/base/types/stall.js.map +0 -1
- package/dist/base/types/state.d.ts +0 -2
- package/dist/base/types/state.d.ts.map +0 -1
- package/dist/base/types/state.js +0 -3
- package/dist/base/types/state.js.map +0 -1
- package/dist/base/types/strategy.d.ts +0 -2
- package/dist/base/types/strategy.d.ts.map +0 -1
- package/dist/base/types/strategy.js +0 -3
- package/dist/base/types/strategy.js.map +0 -1
- package/dist/base/types/suggest.d.ts +0 -2
- package/dist/base/types/suggest.d.ts.map +0 -1
- package/dist/base/types/suggest.js +0 -3
- package/dist/base/types/suggest.js.map +0 -1
- package/dist/base/types/task-group.d.ts +0 -2
- package/dist/base/types/task-group.d.ts.map +0 -1
- package/dist/base/types/task-group.js +0 -3
- package/dist/base/types/task-group.js.map +0 -1
- package/dist/base/types/task.d.ts +0 -2
- package/dist/base/types/task.d.ts.map +0 -1
- package/dist/base/types/task.js +0 -3
- package/dist/base/types/task.js.map +0 -1
- package/dist/base/types/time-horizon.d.ts +0 -194
- package/dist/base/types/time-horizon.d.ts.map +0 -1
- package/dist/base/types/time-horizon.js +0 -59
- package/dist/base/types/time-horizon.js.map +0 -1
- package/dist/base/types/trigger.d.ts +0 -2
- package/dist/base/types/trigger.d.ts.map +0 -1
- package/dist/base/types/trigger.js +0 -3
- package/dist/base/types/trigger.js.map +0 -1
- package/dist/base/types/trust.d.ts +0 -2
- package/dist/base/types/trust.d.ts.map +0 -1
- package/dist/base/types/trust.js +0 -3
- package/dist/base/types/trust.js.map +0 -1
- package/dist/base/utils/errors.d.ts +0 -21
- package/dist/base/utils/errors.d.ts.map +0 -1
- package/dist/base/utils/errors.js +0 -42
- package/dist/base/utils/errors.js.map +0 -1
- package/dist/base/utils/execFileNoThrow.d.ts +0 -20
- package/dist/base/utils/execFileNoThrow.d.ts.map +0 -1
- package/dist/base/utils/execFileNoThrow.js +0 -33
- package/dist/base/utils/execFileNoThrow.js.map +0 -1
- package/dist/base/utils/json-io.d.ts +0 -33
- package/dist/base/utils/json-io.d.ts.map +0 -1
- package/dist/base/utils/json-io.js +0 -85
- package/dist/base/utils/json-io.js.map +0 -1
- package/dist/base/utils/paths.d.ts +0 -15
- package/dist/base/utils/paths.d.ts.map +0 -1
- package/dist/base/utils/paths.js +0 -41
- package/dist/base/utils/paths.js.map +0 -1
- package/dist/base/utils/pulseed-meta.d.ts +0 -4
- package/dist/base/utils/pulseed-meta.d.ts.map +0 -1
- package/dist/base/utils/pulseed-meta.js +0 -32
- package/dist/base/utils/pulseed-meta.js.map +0 -1
- package/dist/base/utils/sleep.d.ts +0 -2
- package/dist/base/utils/sleep.d.ts.map +0 -1
- package/dist/base/utils/sleep.js +0 -4
- package/dist/base/utils/sleep.js.map +0 -1
- package/dist/index.d.ts +0 -145
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -113
- package/dist/index.js.map +0 -1
- package/dist/interface/chat/chat-event-state.d.ts +0 -10
- package/dist/interface/chat/chat-event-state.d.ts.map +0 -1
- package/dist/interface/chat/chat-event-state.js +0 -63
- package/dist/interface/chat/chat-event-state.js.map +0 -1
- package/dist/interface/chat/chat-events.d.ts +0 -67
- package/dist/interface/chat/chat-events.d.ts.map +0 -1
- package/dist/interface/chat/chat-events.js +0 -2
- package/dist/interface/chat/chat-events.js.map +0 -1
- package/dist/interface/chat/chat-history.d.ts +0 -192
- package/dist/interface/chat/chat-history.d.ts.map +0 -1
- package/dist/interface/chat/chat-history.js +0 -133
- package/dist/interface/chat/chat-history.js.map +0 -1
- package/dist/interface/chat/chat-runner.d.ts +0 -202
- package/dist/interface/chat/chat-runner.d.ts.map +0 -1
- package/dist/interface/chat/chat-runner.js +0 -1685
- package/dist/interface/chat/chat-runner.js.map +0 -1
- package/dist/interface/chat/chat-session-store.d.ts +0 -71
- package/dist/interface/chat/chat-session-store.d.ts.map +0 -1
- package/dist/interface/chat/chat-session-store.js +0 -378
- package/dist/interface/chat/chat-session-store.js.map +0 -1
- package/dist/interface/chat/chat-verifier.d.ts +0 -14
- package/dist/interface/chat/chat-verifier.d.ts.map +0 -1
- package/dist/interface/chat/chat-verifier.js +0 -41
- package/dist/interface/chat/chat-verifier.js.map +0 -1
- package/dist/interface/chat/cross-platform-session.d.ts +0 -78
- package/dist/interface/chat/cross-platform-session.d.ts.map +0 -1
- package/dist/interface/chat/cross-platform-session.js +0 -288
- package/dist/interface/chat/cross-platform-session.js.map +0 -1
- package/dist/interface/chat/escalation.d.ts +0 -30
- package/dist/interface/chat/escalation.d.ts.map +0 -1
- package/dist/interface/chat/escalation.js +0 -53
- package/dist/interface/chat/escalation.js.map +0 -1
- package/dist/interface/chat/event-subscriber.d.ts +0 -36
- package/dist/interface/chat/event-subscriber.d.ts.map +0 -1
- package/dist/interface/chat/event-subscriber.js +0 -254
- package/dist/interface/chat/event-subscriber.js.map +0 -1
- package/dist/interface/chat/grounding.d.ts +0 -10
- package/dist/interface/chat/grounding.d.ts.map +0 -1
- package/dist/interface/chat/grounding.js +0 -150
- package/dist/interface/chat/grounding.js.map +0 -1
- package/dist/interface/chat/mutation-tool-defs.d.ts +0 -2
- package/dist/interface/chat/mutation-tool-defs.d.ts.map +0 -1
- package/dist/interface/chat/mutation-tool-defs.js +0 -2
- package/dist/interface/chat/mutation-tool-defs.js.map +0 -1
- package/dist/interface/chat/tend-command.d.ts +0 -51
- package/dist/interface/chat/tend-command.d.ts.map +0 -1
- package/dist/interface/chat/tend-command.js +0 -183
- package/dist/interface/chat/tend-command.js.map +0 -1
- package/dist/interface/cli/cli-command-registry.d.ts +0 -16
- package/dist/interface/cli/cli-command-registry.d.ts.map +0 -1
- package/dist/interface/cli/cli-command-registry.js +0 -446
- package/dist/interface/cli/cli-command-registry.js.map +0 -1
- package/dist/interface/cli/cli-logger.d.ts +0 -3
- package/dist/interface/cli/cli-logger.d.ts.map +0 -1
- package/dist/interface/cli/cli-logger.js +0 -12
- package/dist/interface/cli/cli-logger.js.map +0 -1
- package/dist/interface/cli/cli-runner.d.ts +0 -32
- package/dist/interface/cli/cli-runner.d.ts.map +0 -1
- package/dist/interface/cli/cli-runner.js +0 -131
- package/dist/interface/cli/cli-runner.js.map +0 -1
- package/dist/interface/cli/commands/approval.d.ts +0 -3
- package/dist/interface/cli/commands/approval.d.ts.map +0 -1
- package/dist/interface/cli/commands/approval.js +0 -112
- package/dist/interface/cli/commands/approval.js.map +0 -1
- package/dist/interface/cli/commands/config.d.ts +0 -14
- package/dist/interface/cli/commands/config.d.ts.map +0 -1
- package/dist/interface/cli/commands/config.js +0 -546
- package/dist/interface/cli/commands/config.js.map +0 -1
- package/dist/interface/cli/commands/daemon.d.ts +0 -8
- package/dist/interface/cli/commands/daemon.d.ts.map +0 -1
- package/dist/interface/cli/commands/daemon.js +0 -667
- package/dist/interface/cli/commands/daemon.js.map +0 -1
- package/dist/interface/cli/commands/doctor.d.ts +0 -23
- package/dist/interface/cli/commands/doctor.d.ts.map +0 -1
- package/dist/interface/cli/commands/doctor.js +0 -533
- package/dist/interface/cli/commands/doctor.js.map +0 -1
- package/dist/interface/cli/commands/goal-dispatch.d.ts +0 -13
- package/dist/interface/cli/commands/goal-dispatch.d.ts.map +0 -1
- package/dist/interface/cli/commands/goal-dispatch.js +0 -208
- package/dist/interface/cli/commands/goal-dispatch.js.map +0 -1
- package/dist/interface/cli/commands/goal-infer.d.ts +0 -9
- package/dist/interface/cli/commands/goal-infer.d.ts.map +0 -1
- package/dist/interface/cli/commands/goal-infer.js +0 -71
- package/dist/interface/cli/commands/goal-infer.js.map +0 -1
- package/dist/interface/cli/commands/goal-raw.d.ts +0 -9
- package/dist/interface/cli/commands/goal-raw.d.ts.map +0 -1
- package/dist/interface/cli/commands/goal-raw.js +0 -106
- package/dist/interface/cli/commands/goal-raw.js.map +0 -1
- package/dist/interface/cli/commands/goal-read.d.ts +0 -9
- package/dist/interface/cli/commands/goal-read.d.ts.map +0 -1
- package/dist/interface/cli/commands/goal-read.js +0 -248
- package/dist/interface/cli/commands/goal-read.js.map +0 -1
- package/dist/interface/cli/commands/goal-utils.d.ts +0 -70
- package/dist/interface/cli/commands/goal-utils.d.ts.map +0 -1
- package/dist/interface/cli/commands/goal-utils.js +0 -311
- package/dist/interface/cli/commands/goal-utils.js.map +0 -1
- package/dist/interface/cli/commands/goal-write.d.ts +0 -15
- package/dist/interface/cli/commands/goal-write.d.ts.map +0 -1
- package/dist/interface/cli/commands/goal-write.js +0 -351
- package/dist/interface/cli/commands/goal-write.js.map +0 -1
- package/dist/interface/cli/commands/goal.d.ts +0 -3
- package/dist/interface/cli/commands/goal.d.ts.map +0 -1
- package/dist/interface/cli/commands/goal.js +0 -6
- package/dist/interface/cli/commands/goal.js.map +0 -1
- package/dist/interface/cli/commands/install.d.ts +0 -17
- package/dist/interface/cli/commands/install.d.ts.map +0 -1
- package/dist/interface/cli/commands/install.js +0 -155
- package/dist/interface/cli/commands/install.js.map +0 -1
- package/dist/interface/cli/commands/knowledge.d.ts +0 -5
- package/dist/interface/cli/commands/knowledge.d.ts.map +0 -1
- package/dist/interface/cli/commands/knowledge.js +0 -127
- package/dist/interface/cli/commands/knowledge.js.map +0 -1
- package/dist/interface/cli/commands/logs.d.ts +0 -2
- package/dist/interface/cli/commands/logs.d.ts.map +0 -1
- package/dist/interface/cli/commands/logs.js +0 -201
- package/dist/interface/cli/commands/logs.js.map +0 -1
- package/dist/interface/cli/commands/notify.d.ts +0 -2
- package/dist/interface/cli/commands/notify.d.ts.map +0 -1
- package/dist/interface/cli/commands/notify.js +0 -289
- package/dist/interface/cli/commands/notify.js.map +0 -1
- package/dist/interface/cli/commands/plugin.d.ts +0 -9
- package/dist/interface/cli/commands/plugin.d.ts.map +0 -1
- package/dist/interface/cli/commands/plugin.js +0 -308
- package/dist/interface/cli/commands/plugin.js.map +0 -1
- package/dist/interface/cli/commands/presets/root-presets.d.ts +0 -19
- package/dist/interface/cli/commands/presets/root-presets.d.ts.map +0 -1
- package/dist/interface/cli/commands/presets/root-presets.js +0 -65
- package/dist/interface/cli/commands/presets/root-presets.js.map +0 -1
- package/dist/interface/cli/commands/report.d.ts +0 -3
- package/dist/interface/cli/commands/report.d.ts.map +0 -1
- package/dist/interface/cli/commands/report.js +0 -29
- package/dist/interface/cli/commands/report.js.map +0 -1
- package/dist/interface/cli/commands/run.d.ts +0 -7
- package/dist/interface/cli/commands/run.d.ts.map +0 -1
- package/dist/interface/cli/commands/run.js +0 -106
- package/dist/interface/cli/commands/run.js.map +0 -1
- package/dist/interface/cli/commands/schedule/cost.d.ts +0 -3
- package/dist/interface/cli/commands/schedule/cost.d.ts.map +0 -1
- package/dist/interface/cli/commands/schedule/cost.js +0 -84
- package/dist/interface/cli/commands/schedule/cost.js.map +0 -1
- package/dist/interface/cli/commands/schedule/edit.d.ts +0 -4
- package/dist/interface/cli/commands/schedule/edit.d.ts.map +0 -1
- package/dist/interface/cli/commands/schedule/edit.js +0 -92
- package/dist/interface/cli/commands/schedule/edit.js.map +0 -1
- package/dist/interface/cli/commands/schedule/history.d.ts +0 -3
- package/dist/interface/cli/commands/schedule/history.d.ts.map +0 -1
- package/dist/interface/cli/commands/schedule/history.js +0 -39
- package/dist/interface/cli/commands/schedule/history.js.map +0 -1
- package/dist/interface/cli/commands/schedule/run-now.d.ts +0 -5
- package/dist/interface/cli/commands/schedule/run-now.d.ts.map +0 -1
- package/dist/interface/cli/commands/schedule/run-now.js +0 -94
- package/dist/interface/cli/commands/schedule/run-now.js.map +0 -1
- package/dist/interface/cli/commands/schedule/shared.d.ts +0 -12
- package/dist/interface/cli/commands/schedule/shared.d.ts.map +0 -1
- package/dist/interface/cli/commands/schedule/shared.js +0 -63
- package/dist/interface/cli/commands/schedule/shared.js.map +0 -1
- package/dist/interface/cli/commands/schedule.d.ts +0 -4
- package/dist/interface/cli/commands/schedule.d.ts.map +0 -1
- package/dist/interface/cli/commands/schedule.js +0 -303
- package/dist/interface/cli/commands/schedule.js.map +0 -1
- package/dist/interface/cli/commands/setup/import/apply.d.ts +0 -3
- package/dist/interface/cli/commands/setup/import/apply.d.ts.map +0 -1
- package/dist/interface/cli/commands/setup/import/apply.js +0 -233
- package/dist/interface/cli/commands/setup/import/apply.js.map +0 -1
- package/dist/interface/cli/commands/setup/import/constants.d.ts +0 -5
- package/dist/interface/cli/commands/setup/import/constants.d.ts.map +0 -1
- package/dist/interface/cli/commands/setup/import/constants.js +0 -24
- package/dist/interface/cli/commands/setup/import/constants.js.map +0 -1
- package/dist/interface/cli/commands/setup/import/discovery.d.ts +0 -3
- package/dist/interface/cli/commands/setup/import/discovery.d.ts.map +0 -1
- package/dist/interface/cli/commands/setup/import/discovery.js +0 -241
- package/dist/interface/cli/commands/setup/import/discovery.js.map +0 -1
- package/dist/interface/cli/commands/setup/import/flow.d.ts +0 -5
- package/dist/interface/cli/commands/setup/import/flow.d.ts.map +0 -1
- package/dist/interface/cli/commands/setup/import/flow.js +0 -147
- package/dist/interface/cli/commands/setup/import/flow.js.map +0 -1
- package/dist/interface/cli/commands/setup/import/fs-utils.d.ts +0 -10
- package/dist/interface/cli/commands/setup/import/fs-utils.d.ts.map +0 -1
- package/dist/interface/cli/commands/setup/import/fs-utils.js +0 -109
- package/dist/interface/cli/commands/setup/import/fs-utils.js.map +0 -1
- package/dist/interface/cli/commands/setup/import/mcp.d.ts +0 -4
- package/dist/interface/cli/commands/setup/import/mcp.d.ts.map +0 -1
- package/dist/interface/cli/commands/setup/import/mcp.js +0 -73
- package/dist/interface/cli/commands/setup/import/mcp.js.map +0 -1
- package/dist/interface/cli/commands/setup/import/parse.d.ts +0 -7
- package/dist/interface/cli/commands/setup/import/parse.d.ts.map +0 -1
- package/dist/interface/cli/commands/setup/import/parse.js +0 -40
- package/dist/interface/cli/commands/setup/import/parse.js.map +0 -1
- package/dist/interface/cli/commands/setup/import/provider.d.ts +0 -6
- package/dist/interface/cli/commands/setup/import/provider.d.ts.map +0 -1
- package/dist/interface/cli/commands/setup/import/provider.js +0 -252
- package/dist/interface/cli/commands/setup/import/provider.js.map +0 -1
- package/dist/interface/cli/commands/setup/import/telegram.d.ts +0 -5
- package/dist/interface/cli/commands/setup/import/telegram.d.ts.map +0 -1
- package/dist/interface/cli/commands/setup/import/telegram.js +0 -109
- package/dist/interface/cli/commands/setup/import/telegram.js.map +0 -1
- package/dist/interface/cli/commands/setup/import/types.d.ts +0 -66
- package/dist/interface/cli/commands/setup/import/types.d.ts.map +0 -1
- package/dist/interface/cli/commands/setup/import/types.js +0 -2
- package/dist/interface/cli/commands/setup/import/types.js.map +0 -1
- package/dist/interface/cli/commands/setup/steps-adapter.d.ts +0 -3
- package/dist/interface/cli/commands/setup/steps-adapter.d.ts.map +0 -1
- package/dist/interface/cli/commands/setup/steps-adapter.js +0 -50
- package/dist/interface/cli/commands/setup/steps-adapter.js.map +0 -1
- package/dist/interface/cli/commands/setup/steps-identity.d.ts +0 -6
- package/dist/interface/cli/commands/setup/steps-identity.d.ts.map +0 -1
- package/dist/interface/cli/commands/setup/steps-identity.js +0 -72
- package/dist/interface/cli/commands/setup/steps-identity.js.map +0 -1
- package/dist/interface/cli/commands/setup/steps-notification.d.ts +0 -4
- package/dist/interface/cli/commands/setup/steps-notification.d.ts.map +0 -1
- package/dist/interface/cli/commands/setup/steps-notification.js +0 -62
- package/dist/interface/cli/commands/setup/steps-notification.js.map +0 -1
- package/dist/interface/cli/commands/setup/steps-provider.d.ts +0 -12
- package/dist/interface/cli/commands/setup/steps-provider.d.ts.map +0 -1
- package/dist/interface/cli/commands/setup/steps-provider.js +0 -255
- package/dist/interface/cli/commands/setup/steps-provider.js.map +0 -1
- package/dist/interface/cli/commands/setup/steps-runtime.d.ts +0 -10
- package/dist/interface/cli/commands/setup/steps-runtime.d.ts.map +0 -1
- package/dist/interface/cli/commands/setup/steps-runtime.js +0 -157
- package/dist/interface/cli/commands/setup/steps-runtime.js.map +0 -1
- package/dist/interface/cli/commands/setup/utils.d.ts +0 -2
- package/dist/interface/cli/commands/setup/utils.d.ts.map +0 -1
- package/dist/interface/cli/commands/setup/utils.js +0 -9
- package/dist/interface/cli/commands/setup/utils.js.map +0 -1
- package/dist/interface/cli/commands/setup-shared.d.ts +0 -26
- package/dist/interface/cli/commands/setup-shared.d.ts.map +0 -1
- package/dist/interface/cli/commands/setup-shared.js +0 -101
- package/dist/interface/cli/commands/setup-shared.js.map +0 -1
- package/dist/interface/cli/commands/setup-wizard.d.ts +0 -2
- package/dist/interface/cli/commands/setup-wizard.d.ts.map +0 -1
- package/dist/interface/cli/commands/setup-wizard.js +0 -625
- package/dist/interface/cli/commands/setup-wizard.js.map +0 -1
- package/dist/interface/cli/commands/setup.d.ts +0 -2
- package/dist/interface/cli/commands/setup.d.ts.map +0 -1
- package/dist/interface/cli/commands/setup.js +0 -155
- package/dist/interface/cli/commands/setup.js.map +0 -1
- package/dist/interface/cli/commands/skills.d.ts +0 -3
- package/dist/interface/cli/commands/skills.d.ts.map +0 -1
- package/dist/interface/cli/commands/skills.js +0 -90
- package/dist/interface/cli/commands/skills.js.map +0 -1
- package/dist/interface/cli/commands/suggest-normalizer.d.ts +0 -21
- package/dist/interface/cli/commands/suggest-normalizer.d.ts.map +0 -1
- package/dist/interface/cli/commands/suggest-normalizer.js +0 -359
- package/dist/interface/cli/commands/suggest-normalizer.js.map +0 -1
- package/dist/interface/cli/commands/suggest.d.ts +0 -5
- package/dist/interface/cli/commands/suggest.d.ts.map +0 -1
- package/dist/interface/cli/commands/suggest.js +0 -238
- package/dist/interface/cli/commands/suggest.js.map +0 -1
- package/dist/interface/cli/commands/task-read.d.ts +0 -4
- package/dist/interface/cli/commands/task-read.d.ts.map +0 -1
- package/dist/interface/cli/commands/task-read.js +0 -195
- package/dist/interface/cli/commands/task-read.js.map +0 -1
- package/dist/interface/cli/commands/telegram.d.ts +0 -2
- package/dist/interface/cli/commands/telegram.d.ts.map +0 -1
- package/dist/interface/cli/commands/telegram.js +0 -171
- package/dist/interface/cli/commands/telegram.js.map +0 -1
- package/dist/interface/cli/data-source-bootstrap.d.ts +0 -11
- package/dist/interface/cli/data-source-bootstrap.d.ts.map +0 -1
- package/dist/interface/cli/data-source-bootstrap.js +0 -68
- package/dist/interface/cli/data-source-bootstrap.js.map +0 -1
- package/dist/interface/cli/ensure-api-key.d.ts +0 -22
- package/dist/interface/cli/ensure-api-key.d.ts.map +0 -1
- package/dist/interface/cli/ensure-api-key.js +0 -96
- package/dist/interface/cli/ensure-api-key.js.map +0 -1
- package/dist/interface/cli/setup.d.ts +0 -49
- package/dist/interface/cli/setup.d.ts.map +0 -1
- package/dist/interface/cli/setup.js +0 -346
- package/dist/interface/cli/setup.js.map +0 -1
- package/dist/interface/cli/utils/loop-runner.d.ts +0 -8
- package/dist/interface/cli/utils/loop-runner.d.ts.map +0 -1
- package/dist/interface/cli/utils/loop-runner.js +0 -74
- package/dist/interface/cli/utils/loop-runner.js.map +0 -1
- package/dist/interface/cli/utils.d.ts +0 -10
- package/dist/interface/cli/utils.d.ts.map +0 -1
- package/dist/interface/cli/utils.js +0 -163
- package/dist/interface/cli/utils.js.map +0 -1
- package/dist/interface/mcp-server/index.d.ts +0 -4
- package/dist/interface/mcp-server/index.d.ts.map +0 -1
- package/dist/interface/mcp-server/index.js +0 -67
- package/dist/interface/mcp-server/index.js.map +0 -1
- package/dist/interface/mcp-server/tools.d.ts +0 -35
- package/dist/interface/mcp-server/tools.d.ts.map +0 -1
- package/dist/interface/mcp-server/tools.js +0 -160
- package/dist/interface/mcp-server/tools.js.map +0 -1
- package/dist/interface/tui/actions.d.ts +0 -39
- package/dist/interface/tui/actions.d.ts.map +0 -1
- package/dist/interface/tui/actions.js +0 -231
- package/dist/interface/tui/actions.js.map +0 -1
- package/dist/interface/tui/app.d.ts +0 -31
- package/dist/interface/tui/app.d.ts.map +0 -1
- package/dist/interface/tui/app.js +0 -402
- package/dist/interface/tui/app.js.map +0 -1
- package/dist/interface/tui/approval-overlay.d.ts +0 -8
- package/dist/interface/tui/approval-overlay.d.ts.map +0 -1
- package/dist/interface/tui/approval-overlay.js +0 -21
- package/dist/interface/tui/approval-overlay.js.map +0 -1
- package/dist/interface/tui/bash-mode.d.ts +0 -11
- package/dist/interface/tui/bash-mode.d.ts.map +0 -1
- package/dist/interface/tui/bash-mode.js +0 -64
- package/dist/interface/tui/bash-mode.js.map +0 -1
- package/dist/interface/tui/chat/scroll.d.ts +0 -26
- package/dist/interface/tui/chat/scroll.d.ts.map +0 -1
- package/dist/interface/tui/chat/scroll.js +0 -82
- package/dist/interface/tui/chat/scroll.js.map +0 -1
- package/dist/interface/tui/chat/suggestions.d.ts +0 -8
- package/dist/interface/tui/chat/suggestions.d.ts.map +0 -1
- package/dist/interface/tui/chat/suggestions.js +0 -106
- package/dist/interface/tui/chat/suggestions.js.map +0 -1
- package/dist/interface/tui/chat/types.d.ts +0 -31
- package/dist/interface/tui/chat/types.d.ts.map +0 -1
- package/dist/interface/tui/chat/types.js +0 -2
- package/dist/interface/tui/chat/types.js.map +0 -1
- package/dist/interface/tui/chat/viewport.d.ts +0 -3
- package/dist/interface/tui/chat/viewport.d.ts.map +0 -1
- package/dist/interface/tui/chat/viewport.js +0 -77
- package/dist/interface/tui/chat/viewport.js.map +0 -1
- package/dist/interface/tui/chat.d.ts +0 -27
- package/dist/interface/tui/chat.d.ts.map +0 -1
- package/dist/interface/tui/chat.js +0 -408
- package/dist/interface/tui/chat.js.map +0 -1
- package/dist/interface/tui/checkerboard-spinner.d.ts +0 -3
- package/dist/interface/tui/checkerboard-spinner.d.ts.map +0 -1
- package/dist/interface/tui/checkerboard-spinner.js +0 -20
- package/dist/interface/tui/checkerboard-spinner.js.map +0 -1
- package/dist/interface/tui/clipboard.d.ts +0 -3
- package/dist/interface/tui/clipboard.d.ts.map +0 -1
- package/dist/interface/tui/clipboard.js +0 -48
- package/dist/interface/tui/clipboard.js.map +0 -1
- package/dist/interface/tui/cursor-tracker.d.ts +0 -41
- package/dist/interface/tui/cursor-tracker.d.ts.map +0 -1
- package/dist/interface/tui/cursor-tracker.js +0 -145
- package/dist/interface/tui/cursor-tracker.js.map +0 -1
- package/dist/interface/tui/dashboard.d.ts +0 -9
- package/dist/interface/tui/dashboard.d.ts.map +0 -1
- package/dist/interface/tui/dashboard.js +0 -48
- package/dist/interface/tui/dashboard.js.map +0 -1
- package/dist/interface/tui/debug-log.d.ts +0 -4
- package/dist/interface/tui/debug-log.d.ts.map +0 -1
- package/dist/interface/tui/debug-log.js +0 -39
- package/dist/interface/tui/debug-log.js.map +0 -1
- package/dist/interface/tui/entry.d.ts +0 -7
- package/dist/interface/tui/entry.d.ts.map +0 -1
- package/dist/interface/tui/entry.js +0 -602
- package/dist/interface/tui/entry.js.map +0 -1
- package/dist/interface/tui/flicker/AlternateScreen.d.ts +0 -22
- package/dist/interface/tui/flicker/AlternateScreen.d.ts.map +0 -1
- package/dist/interface/tui/flicker/AlternateScreen.js +0 -29
- package/dist/interface/tui/flicker/AlternateScreen.js.map +0 -1
- package/dist/interface/tui/flicker/MouseTracking.d.ts +0 -10
- package/dist/interface/tui/flicker/MouseTracking.d.ts.map +0 -1
- package/dist/interface/tui/flicker/MouseTracking.js +0 -22
- package/dist/interface/tui/flicker/MouseTracking.js.map +0 -1
- package/dist/interface/tui/flicker/dec.d.ts +0 -31
- package/dist/interface/tui/flicker/dec.d.ts.map +0 -1
- package/dist/interface/tui/flicker/dec.js +0 -37
- package/dist/interface/tui/flicker/dec.js.map +0 -1
- package/dist/interface/tui/flicker/frame-writer.d.ts +0 -16
- package/dist/interface/tui/flicker/frame-writer.d.ts.map +0 -1
- package/dist/interface/tui/flicker/frame-writer.js +0 -113
- package/dist/interface/tui/flicker/frame-writer.js.map +0 -1
- package/dist/interface/tui/flicker/index.d.ts +0 -11
- package/dist/interface/tui/flicker/index.d.ts.map +0 -1
- package/dist/interface/tui/flicker/index.js +0 -21
- package/dist/interface/tui/flicker/index.js.map +0 -1
- package/dist/interface/tui/flicker/terminal-detect.d.ts +0 -9
- package/dist/interface/tui/flicker/terminal-detect.d.ts.map +0 -1
- package/dist/interface/tui/flicker/terminal-detect.js +0 -52
- package/dist/interface/tui/flicker/terminal-detect.js.map +0 -1
- package/dist/interface/tui/flicker-overlay.d.ts +0 -7
- package/dist/interface/tui/flicker-overlay.d.ts.map +0 -1
- package/dist/interface/tui/flicker-overlay.js +0 -74
- package/dist/interface/tui/flicker-overlay.js.map +0 -1
- package/dist/interface/tui/fullscreen-chat.d.ts +0 -13
- package/dist/interface/tui/fullscreen-chat.d.ts.map +0 -1
- package/dist/interface/tui/fullscreen-chat.js +0 -846
- package/dist/interface/tui/fullscreen-chat.js.map +0 -1
- package/dist/interface/tui/fuzzy.d.ts +0 -16
- package/dist/interface/tui/fuzzy.d.ts.map +0 -1
- package/dist/interface/tui/fuzzy.js +0 -66
- package/dist/interface/tui/fuzzy.js.map +0 -1
- package/dist/interface/tui/help-overlay.d.ts +0 -6
- package/dist/interface/tui/help-overlay.d.ts.map +0 -1
- package/dist/interface/tui/help-overlay.js +0 -13
- package/dist/interface/tui/help-overlay.js.map +0 -1
- package/dist/interface/tui/intent-recognizer.d.ts +0 -19
- package/dist/interface/tui/intent-recognizer.d.ts.map +0 -1
- package/dist/interface/tui/intent-recognizer.js +0 -134
- package/dist/interface/tui/intent-recognizer.js.map +0 -1
- package/dist/interface/tui/markdown-renderer.d.ts +0 -56
- package/dist/interface/tui/markdown-renderer.d.ts.map +0 -1
- package/dist/interface/tui/markdown-renderer.js +0 -301
- package/dist/interface/tui/markdown-renderer.js.map +0 -1
- package/dist/interface/tui/render-output.d.ts +0 -2
- package/dist/interface/tui/render-output.d.ts.map +0 -1
- package/dist/interface/tui/render-output.js +0 -5
- package/dist/interface/tui/render-output.js.map +0 -1
- package/dist/interface/tui/report-view.d.ts +0 -7
- package/dist/interface/tui/report-view.d.ts.map +0 -1
- package/dist/interface/tui/report-view.js +0 -82
- package/dist/interface/tui/report-view.js.map +0 -1
- package/dist/interface/tui/seedy-art.d.ts +0 -44
- package/dist/interface/tui/seedy-art.d.ts.map +0 -1
- package/dist/interface/tui/seedy-art.js +0 -210
- package/dist/interface/tui/seedy-art.js.map +0 -1
- package/dist/interface/tui/settings-overlay.d.ts +0 -7
- package/dist/interface/tui/settings-overlay.d.ts.map +0 -1
- package/dist/interface/tui/settings-overlay.js +0 -66
- package/dist/interface/tui/settings-overlay.js.map +0 -1
- package/dist/interface/tui/shimmer-text.d.ts +0 -6
- package/dist/interface/tui/shimmer-text.d.ts.map +0 -1
- package/dist/interface/tui/shimmer-text.js +0 -33
- package/dist/interface/tui/shimmer-text.js.map +0 -1
- package/dist/interface/tui/spinner-verbs.d.ts +0 -9
- package/dist/interface/tui/spinner-verbs.d.ts.map +0 -1
- package/dist/interface/tui/spinner-verbs.js +0 -124
- package/dist/interface/tui/spinner-verbs.js.map +0 -1
- package/dist/interface/tui/test-app.d.ts +0 -8
- package/dist/interface/tui/test-app.d.ts.map +0 -1
- package/dist/interface/tui/test-app.js +0 -84
- package/dist/interface/tui/test-app.js.map +0 -1
- package/dist/interface/tui/test-entry.d.ts +0 -3
- package/dist/interface/tui/test-entry.d.ts.map +0 -1
- package/dist/interface/tui/test-entry.js +0 -75
- package/dist/interface/tui/test-entry.js.map +0 -1
- package/dist/interface/tui/theme.d.ts +0 -47
- package/dist/interface/tui/theme.d.ts.map +0 -1
- package/dist/interface/tui/theme.js +0 -115
- package/dist/interface/tui/theme.js.map +0 -1
- package/dist/interface/tui/use-loop.d.ts +0 -59
- package/dist/interface/tui/use-loop.d.ts.map +0 -1
- package/dist/interface/tui/use-loop.js +0 -249
- package/dist/interface/tui/use-loop.js.map +0 -1
- package/dist/orchestrator/ethics-gate.d.ts +0 -3
- package/dist/orchestrator/ethics-gate.d.ts.map +0 -1
- package/dist/orchestrator/ethics-gate.js +0 -2
- package/dist/orchestrator/ethics-gate.js.map +0 -1
- package/dist/orchestrator/execution/adapter-layer.d.ts +0 -119
- package/dist/orchestrator/execution/adapter-layer.d.ts.map +0 -1
- package/dist/orchestrator/execution/adapter-layer.js +0 -123
- package/dist/orchestrator/execution/adapter-layer.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-budget.d.ts +0 -15
- package/dist/orchestrator/execution/agent-loop/agent-loop-budget.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-budget.js +0 -12
- package/dist/orchestrator/execution/agent-loop/agent-loop-budget.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-command-classifier.d.ts +0 -9
- package/dist/orchestrator/execution/agent-loop/agent-loop-command-classifier.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-command-classifier.js +0 -40
- package/dist/orchestrator/execution/agent-loop/agent-loop-command-classifier.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-compactor.d.ts +0 -33
- package/dist/orchestrator/execution/agent-loop/agent-loop-compactor.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-compactor.js +0 -68
- package/dist/orchestrator/execution/agent-loop/agent-loop-compactor.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.d.ts +0 -38
- package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.js +0 -109
- package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-dogfood-benchmark.d.ts +0 -76
- package/dist/orchestrator/execution/agent-loop/agent-loop-dogfood-benchmark.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-dogfood-benchmark.js +0 -164
- package/dist/orchestrator/execution/agent-loop/agent-loop-dogfood-benchmark.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-evaluator.d.ts +0 -46
- package/dist/orchestrator/execution/agent-loop/agent-loop-evaluator.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-evaluator.js +0 -75
- package/dist/orchestrator/execution/agent-loop/agent-loop-evaluator.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-events.d.ts +0 -98
- package/dist/orchestrator/execution/agent-loop/agent-loop-events.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-events.js +0 -6
- package/dist/orchestrator/execution/agent-loop/agent-loop-events.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-history.d.ts +0 -8
- package/dist/orchestrator/execution/agent-loop/agent-loop-history.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-history.js +0 -7
- package/dist/orchestrator/execution/agent-loop/agent-loop-history.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client-factory.d.ts +0 -9
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client-factory.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client-factory.js +0 -22
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client-factory.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.d.ts +0 -13
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.js +0 -81
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-registry.d.ts +0 -10
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-registry.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-registry.js +0 -26
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-registry.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-model.d.ts +0 -88
- package/dist/orchestrator/execution/agent-loop/agent-loop-model.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-model.js +0 -22
- package/dist/orchestrator/execution/agent-loop/agent-loop-model.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-prompts.d.ts +0 -5
- package/dist/orchestrator/execution/agent-loop/agent-loop-prompts.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-prompts.js +0 -18
- package/dist/orchestrator/execution/agent-loop/agent-loop-prompts.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-real-dogfood.d.ts +0 -2
- package/dist/orchestrator/execution/agent-loop/agent-loop-real-dogfood.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-real-dogfood.js +0 -362
- package/dist/orchestrator/execution/agent-loop/agent-loop-real-dogfood.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-result.d.ts +0 -42
- package/dist/orchestrator/execution/agent-loop/agent-loop-result.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-result.js +0 -2
- package/dist/orchestrator/execution/agent-loop/agent-loop-result.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.d.ts +0 -15
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.js +0 -26
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.d.ts +0 -40
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.js +0 -125
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-session.d.ts +0 -21
- package/dist/orchestrator/execution/agent-loop/agent-loop-session.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-session.js +0 -16
- package/dist/orchestrator/execution/agent-loop/agent-loop-session.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-output.d.ts +0 -21
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-output.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-output.js +0 -2
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-output.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-router.d.ts +0 -19
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-router.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-router.js +0 -34
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-router.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.d.ts +0 -21
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.js +0 -114
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.d.ts +0 -18
- package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.js +0 -31
- package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.d.ts +0 -39
- package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.js +0 -5
- package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.d.ts +0 -23
- package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.js +0 -156
- package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.d.ts +0 -38
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js +0 -476
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts +0 -67
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js +0 -113
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.d.ts +0 -33
- package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.js +0 -89
- package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/core-phase-runner.d.ts +0 -32
- package/dist/orchestrator/execution/agent-loop/core-phase-runner.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/core-phase-runner.js +0 -40
- package/dist/orchestrator/execution/agent-loop/core-phase-runner.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/index.d.ts +0 -36
- package/dist/orchestrator/execution/agent-loop/index.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/index.js +0 -36
- package/dist/orchestrator/execution/agent-loop/index.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.d.ts +0 -18
- package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.js +0 -148
- package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/prompted-tool-protocol.d.ts +0 -16
- package/dist/orchestrator/execution/agent-loop/prompted-tool-protocol.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/prompted-tool-protocol.js +0 -74
- package/dist/orchestrator/execution/agent-loop/prompted-tool-protocol.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.d.ts +0 -26
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.js +0 -79
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-factory.d.ts +0 -28
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-factory.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-factory.js +0 -97
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-factory.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.d.ts +0 -54
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.js +0 -61
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.d.ts +0 -46
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.js +0 -70
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-verification.d.ts +0 -5
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-verification.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-verification.js +0 -94
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-verification.js.map +0 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.d.ts +0 -23
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.d.ts.map +0 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.js +0 -145
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.js.map +0 -1
- package/dist/orchestrator/execution/checkpoint-manager.d.ts +0 -49
- package/dist/orchestrator/execution/checkpoint-manager.d.ts.map +0 -1
- package/dist/orchestrator/execution/checkpoint-manager.js +0 -143
- package/dist/orchestrator/execution/checkpoint-manager.js.map +0 -1
- package/dist/orchestrator/execution/context/context-budget.d.ts +0 -35
- package/dist/orchestrator/execution/context/context-budget.d.ts.map +0 -1
- package/dist/orchestrator/execution/context/context-budget.js +0 -73
- package/dist/orchestrator/execution/context/context-budget.js.map +0 -1
- package/dist/orchestrator/execution/context/context-builder.d.ts +0 -52
- package/dist/orchestrator/execution/context/context-builder.d.ts.map +0 -1
- package/dist/orchestrator/execution/context/context-builder.js +0 -170
- package/dist/orchestrator/execution/context/context-builder.js.map +0 -1
- package/dist/orchestrator/execution/context/dimension-selector.d.ts +0 -20
- package/dist/orchestrator/execution/context/dimension-selector.d.ts.map +0 -1
- package/dist/orchestrator/execution/context/dimension-selector.js +0 -61
- package/dist/orchestrator/execution/context/dimension-selector.js.map +0 -1
- package/dist/orchestrator/execution/context/issue-context-fetcher.d.ts +0 -19
- package/dist/orchestrator/execution/context/issue-context-fetcher.d.ts.map +0 -1
- package/dist/orchestrator/execution/context/issue-context-fetcher.js +0 -73
- package/dist/orchestrator/execution/context/issue-context-fetcher.js.map +0 -1
- package/dist/orchestrator/execution/impact-analyzer.d.ts +0 -24
- package/dist/orchestrator/execution/impact-analyzer.d.ts.map +0 -1
- package/dist/orchestrator/execution/impact-analyzer.js +0 -88
- package/dist/orchestrator/execution/impact-analyzer.js.map +0 -1
- package/dist/orchestrator/execution/parallel-execution-types.d.ts +0 -7
- package/dist/orchestrator/execution/parallel-execution-types.d.ts.map +0 -1
- package/dist/orchestrator/execution/parallel-execution-types.js +0 -2
- package/dist/orchestrator/execution/parallel-execution-types.js.map +0 -1
- package/dist/orchestrator/execution/parallel-executor.d.ts +0 -34
- package/dist/orchestrator/execution/parallel-executor.d.ts.map +0 -1
- package/dist/orchestrator/execution/parallel-executor.js +0 -172
- package/dist/orchestrator/execution/parallel-executor.js.map +0 -1
- package/dist/orchestrator/execution/pipeline-executor.d.ts +0 -55
- package/dist/orchestrator/execution/pipeline-executor.d.ts.map +0 -1
- package/dist/orchestrator/execution/pipeline-executor.js +0 -281
- package/dist/orchestrator/execution/pipeline-executor.js.map +0 -1
- package/dist/orchestrator/execution/reflection-generator.d.ts +0 -24
- package/dist/orchestrator/execution/reflection-generator.d.ts.map +0 -1
- package/dist/orchestrator/execution/reflection-generator.js +0 -143
- package/dist/orchestrator/execution/reflection-generator.js.map +0 -1
- package/dist/orchestrator/execution/result-reconciler.d.ts +0 -23
- package/dist/orchestrator/execution/result-reconciler.d.ts.map +0 -1
- package/dist/orchestrator/execution/result-reconciler.js +0 -134
- package/dist/orchestrator/execution/result-reconciler.js.map +0 -1
- package/dist/orchestrator/execution/session-manager.d.ts +0 -153
- package/dist/orchestrator/execution/session-manager.d.ts.map +0 -1
- package/dist/orchestrator/execution/session-manager.js +0 -393
- package/dist/orchestrator/execution/session-manager.js.map +0 -1
- package/dist/orchestrator/execution/task/task-approval-check.d.ts +0 -9
- package/dist/orchestrator/execution/task/task-approval-check.d.ts.map +0 -1
- package/dist/orchestrator/execution/task/task-approval-check.js +0 -14
- package/dist/orchestrator/execution/task/task-approval-check.js.map +0 -1
- package/dist/orchestrator/execution/task/task-approval.d.ts +0 -22
- package/dist/orchestrator/execution/task/task-approval.d.ts.map +0 -1
- package/dist/orchestrator/execution/task/task-approval.js +0 -147
- package/dist/orchestrator/execution/task/task-approval.js.map +0 -1
- package/dist/orchestrator/execution/task/task-context-enricher.d.ts +0 -13
- package/dist/orchestrator/execution/task/task-context-enricher.d.ts.map +0 -1
- package/dist/orchestrator/execution/task/task-context-enricher.js +0 -35
- package/dist/orchestrator/execution/task/task-context-enricher.js.map +0 -1
- package/dist/orchestrator/execution/task/task-execution-helpers.d.ts +0 -29
- package/dist/orchestrator/execution/task/task-execution-helpers.d.ts.map +0 -1
- package/dist/orchestrator/execution/task/task-execution-helpers.js +0 -115
- package/dist/orchestrator/execution/task/task-execution-helpers.js.map +0 -1
- package/dist/orchestrator/execution/task/task-execution-types.d.ts +0 -20
- package/dist/orchestrator/execution/task/task-execution-types.d.ts.map +0 -1
- package/dist/orchestrator/execution/task/task-execution-types.js +0 -10
- package/dist/orchestrator/execution/task/task-execution-types.js.map +0 -1
- package/dist/orchestrator/execution/task/task-executor.d.ts +0 -31
- package/dist/orchestrator/execution/task/task-executor.d.ts.map +0 -1
- package/dist/orchestrator/execution/task/task-executor.js +0 -227
- package/dist/orchestrator/execution/task/task-executor.js.map +0 -1
- package/dist/orchestrator/execution/task/task-generation.d.ts +0 -157
- package/dist/orchestrator/execution/task/task-generation.d.ts.map +0 -1
- package/dist/orchestrator/execution/task/task-generation.js +0 -478
- package/dist/orchestrator/execution/task/task-generation.js.map +0 -1
- package/dist/orchestrator/execution/task/task-health-check.d.ts +0 -40
- package/dist/orchestrator/execution/task/task-health-check.d.ts.map +0 -1
- package/dist/orchestrator/execution/task/task-health-check.js +0 -100
- package/dist/orchestrator/execution/task/task-health-check.js.map +0 -1
- package/dist/orchestrator/execution/task/task-lifecycle.d.ts +0 -166
- package/dist/orchestrator/execution/task/task-lifecycle.d.ts.map +0 -1
- package/dist/orchestrator/execution/task/task-lifecycle.js +0 -516
- package/dist/orchestrator/execution/task/task-lifecycle.js.map +0 -1
- package/dist/orchestrator/execution/task/task-outcome-ledger.d.ts +0 -83
- package/dist/orchestrator/execution/task/task-outcome-ledger.d.ts.map +0 -1
- package/dist/orchestrator/execution/task/task-outcome-ledger.js +0 -247
- package/dist/orchestrator/execution/task/task-outcome-ledger.js.map +0 -1
- package/dist/orchestrator/execution/task/task-pipeline-cycle.d.ts +0 -15
- package/dist/orchestrator/execution/task/task-pipeline-cycle.d.ts.map +0 -1
- package/dist/orchestrator/execution/task/task-pipeline-cycle.js +0 -132
- package/dist/orchestrator/execution/task/task-pipeline-cycle.js.map +0 -1
- package/dist/orchestrator/execution/task/task-pipeline-types.d.ts +0 -39
- package/dist/orchestrator/execution/task/task-pipeline-types.d.ts.map +0 -1
- package/dist/orchestrator/execution/task/task-pipeline-types.js +0 -2
- package/dist/orchestrator/execution/task/task-pipeline-types.js.map +0 -1
- package/dist/orchestrator/execution/task/task-post-execution.d.ts +0 -27
- package/dist/orchestrator/execution/task/task-post-execution.d.ts.map +0 -1
- package/dist/orchestrator/execution/task/task-post-execution.js +0 -24
- package/dist/orchestrator/execution/task/task-post-execution.js.map +0 -1
- package/dist/orchestrator/execution/task/task-prompt-builder.d.ts +0 -9
- package/dist/orchestrator/execution/task/task-prompt-builder.d.ts.map +0 -1
- package/dist/orchestrator/execution/task/task-prompt-builder.js +0 -300
- package/dist/orchestrator/execution/task/task-prompt-builder.js.map +0 -1
- package/dist/orchestrator/execution/task/task-side-effects.d.ts +0 -23
- package/dist/orchestrator/execution/task/task-side-effects.d.ts.map +0 -1
- package/dist/orchestrator/execution/task/task-side-effects.js +0 -42
- package/dist/orchestrator/execution/task/task-side-effects.js.map +0 -1
- package/dist/orchestrator/execution/task/task-verifier-llm.d.ts +0 -25
- package/dist/orchestrator/execution/task/task-verifier-llm.d.ts.map +0 -1
- package/dist/orchestrator/execution/task/task-verifier-llm.js +0 -191
- package/dist/orchestrator/execution/task/task-verifier-llm.js.map +0 -1
- package/dist/orchestrator/execution/task/task-verifier-rules.d.ts +0 -31
- package/dist/orchestrator/execution/task/task-verifier-rules.d.ts.map +0 -1
- package/dist/orchestrator/execution/task/task-verifier-rules.js +0 -321
- package/dist/orchestrator/execution/task/task-verifier-rules.js.map +0 -1
- package/dist/orchestrator/execution/task/task-verifier-types.d.ts +0 -99
- package/dist/orchestrator/execution/task/task-verifier-types.d.ts.map +0 -1
- package/dist/orchestrator/execution/task/task-verifier-types.js +0 -9
- package/dist/orchestrator/execution/task/task-verifier-types.js.map +0 -1
- package/dist/orchestrator/execution/task/task-verifier.d.ts +0 -48
- package/dist/orchestrator/execution/task/task-verifier.d.ts.map +0 -1
- package/dist/orchestrator/execution/task/task-verifier.js +0 -544
- package/dist/orchestrator/execution/task/task-verifier.js.map +0 -1
- package/dist/orchestrator/execution/toolset-lock.d.ts +0 -27
- package/dist/orchestrator/execution/toolset-lock.d.ts.map +0 -1
- package/dist/orchestrator/execution/toolset-lock.js +0 -49
- package/dist/orchestrator/execution/toolset-lock.js.map +0 -1
- package/dist/orchestrator/execution/types/checkpoint.d.ts +0 -133
- package/dist/orchestrator/execution/types/checkpoint.d.ts.map +0 -1
- package/dist/orchestrator/execution/types/checkpoint.js +0 -38
- package/dist/orchestrator/execution/types/checkpoint.js.map +0 -1
- package/dist/orchestrator/execution/types/pipeline.d.ts +0 -191
- package/dist/orchestrator/execution/types/pipeline.d.ts.map +0 -1
- package/dist/orchestrator/execution/types/pipeline.js +0 -62
- package/dist/orchestrator/execution/types/pipeline.js.map +0 -1
- package/dist/orchestrator/execution/types/session.d.ts +0 -95
- package/dist/orchestrator/execution/types/session.d.ts.map +0 -1
- package/dist/orchestrator/execution/types/session.js +0 -37
- package/dist/orchestrator/execution/types/session.js.map +0 -1
- package/dist/orchestrator/execution/types/task-group.d.ts +0 -246
- package/dist/orchestrator/execution/types/task-group.d.ts.map +0 -1
- package/dist/orchestrator/execution/types/task-group.js +0 -14
- package/dist/orchestrator/execution/types/task-group.js.map +0 -1
- package/dist/orchestrator/execution/types/task.d.ts +0 -267
- package/dist/orchestrator/execution/types/task.d.ts.map +0 -1
- package/dist/orchestrator/execution/types/task.js +0 -70
- package/dist/orchestrator/execution/types/task.js.map +0 -1
- package/dist/orchestrator/goal/goal-decomposer.d.ts +0 -30
- package/dist/orchestrator/goal/goal-decomposer.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-decomposer.js +0 -167
- package/dist/orchestrator/goal/goal-decomposer.js.map +0 -1
- package/dist/orchestrator/goal/goal-dependency-graph.d.ts +0 -124
- package/dist/orchestrator/goal/goal-dependency-graph.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-dependency-graph.js +0 -337
- package/dist/orchestrator/goal/goal-dependency-graph.js.map +0 -1
- package/dist/orchestrator/goal/goal-negotiator.d.ts +0 -72
- package/dist/orchestrator/goal/goal-negotiator.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-negotiator.js +0 -300
- package/dist/orchestrator/goal/goal-negotiator.js.map +0 -1
- package/dist/orchestrator/goal/goal-refiner.d.ts +0 -46
- package/dist/orchestrator/goal/goal-refiner.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-refiner.js +0 -297
- package/dist/orchestrator/goal/goal-refiner.js.map +0 -1
- package/dist/orchestrator/goal/goal-suggest.d.ts +0 -93
- package/dist/orchestrator/goal/goal-suggest.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-suggest.js +0 -254
- package/dist/orchestrator/goal/goal-suggest.js.map +0 -1
- package/dist/orchestrator/goal/goal-tree-manager.d.ts +0 -72
- package/dist/orchestrator/goal/goal-tree-manager.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-tree-manager.js +0 -572
- package/dist/orchestrator/goal/goal-tree-manager.js.map +0 -1
- package/dist/orchestrator/goal/goal-tree-pruner.d.ts +0 -25
- package/dist/orchestrator/goal/goal-tree-pruner.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-tree-pruner.js +0 -93
- package/dist/orchestrator/goal/goal-tree-pruner.js.map +0 -1
- package/dist/orchestrator/goal/goal-tree-quality.d.ts +0 -22
- package/dist/orchestrator/goal/goal-tree-quality.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-tree-quality.js +0 -183
- package/dist/orchestrator/goal/goal-tree-quality.js.map +0 -1
- package/dist/orchestrator/goal/goal-validation.d.ts +0 -20
- package/dist/orchestrator/goal/goal-validation.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-validation.js +0 -93
- package/dist/orchestrator/goal/goal-validation.js.map +0 -1
- package/dist/orchestrator/goal/milestone-evaluator.d.ts +0 -33
- package/dist/orchestrator/goal/milestone-evaluator.d.ts.map +0 -1
- package/dist/orchestrator/goal/milestone-evaluator.js +0 -130
- package/dist/orchestrator/goal/milestone-evaluator.js.map +0 -1
- package/dist/orchestrator/goal/negotiator-context.d.ts +0 -16
- package/dist/orchestrator/goal/negotiator-context.d.ts.map +0 -1
- package/dist/orchestrator/goal/negotiator-context.js +0 -196
- package/dist/orchestrator/goal/negotiator-context.js.map +0 -1
- package/dist/orchestrator/goal/negotiator-feasibility.d.ts +0 -10
- package/dist/orchestrator/goal/negotiator-feasibility.d.ts.map +0 -1
- package/dist/orchestrator/goal/negotiator-feasibility.js +0 -55
- package/dist/orchestrator/goal/negotiator-feasibility.js.map +0 -1
- package/dist/orchestrator/goal/negotiator-prompts.d.ts +0 -31
- package/dist/orchestrator/goal/negotiator-prompts.d.ts.map +0 -1
- package/dist/orchestrator/goal/negotiator-prompts.js +0 -65
- package/dist/orchestrator/goal/negotiator-prompts.js.map +0 -1
- package/dist/orchestrator/goal/negotiator-steps.d.ts +0 -54
- package/dist/orchestrator/goal/negotiator-steps.d.ts.map +0 -1
- package/dist/orchestrator/goal/negotiator-steps.js +0 -217
- package/dist/orchestrator/goal/negotiator-steps.js.map +0 -1
- package/dist/orchestrator/goal/refiner-prompts.d.ts +0 -10
- package/dist/orchestrator/goal/refiner-prompts.d.ts.map +0 -1
- package/dist/orchestrator/goal/refiner-prompts.js +0 -59
- package/dist/orchestrator/goal/refiner-prompts.js.map +0 -1
- package/dist/orchestrator/goal/state-aggregator.d.ts +0 -89
- package/dist/orchestrator/goal/state-aggregator.d.ts.map +0 -1
- package/dist/orchestrator/goal/state-aggregator.js +0 -331
- package/dist/orchestrator/goal/state-aggregator.js.map +0 -1
- package/dist/orchestrator/goal/subgoal-curriculum.d.ts +0 -30
- package/dist/orchestrator/goal/subgoal-curriculum.d.ts.map +0 -1
- package/dist/orchestrator/goal/subgoal-curriculum.js +0 -53
- package/dist/orchestrator/goal/subgoal-curriculum.js.map +0 -1
- package/dist/orchestrator/goal/tree-loop-orchestrator.d.ts +0 -109
- package/dist/orchestrator/goal/tree-loop-orchestrator.d.ts.map +0 -1
- package/dist/orchestrator/goal/tree-loop-orchestrator.js +0 -301
- package/dist/orchestrator/goal/tree-loop-orchestrator.js.map +0 -1
- package/dist/orchestrator/goal/types/dependency.d.ts +0 -108
- package/dist/orchestrator/goal/types/dependency.d.ts.map +0 -1
- package/dist/orchestrator/goal/types/dependency.js +0 -21
- package/dist/orchestrator/goal/types/dependency.js.map +0 -1
- package/dist/orchestrator/goal/types/goal-refiner.d.ts +0 -108
- package/dist/orchestrator/goal/types/goal-refiner.d.ts.map +0 -1
- package/dist/orchestrator/goal/types/goal-refiner.js +0 -39
- package/dist/orchestrator/goal/types/goal-refiner.js.map +0 -1
- package/dist/orchestrator/goal/types/goal-tree.d.ts +0 -180
- package/dist/orchestrator/goal/types/goal-tree.d.ts.map +0 -1
- package/dist/orchestrator/goal/types/goal-tree.js +0 -73
- package/dist/orchestrator/goal/types/goal-tree.js.map +0 -1
- package/dist/orchestrator/goal/types/goal.d.ts +0 -1342
- package/dist/orchestrator/goal/types/goal.d.ts.map +0 -1
- package/dist/orchestrator/goal/types/goal.js +0 -141
- package/dist/orchestrator/goal/types/goal.js.map +0 -1
- package/dist/orchestrator/goal/types/negotiation.d.ts +0 -450
- package/dist/orchestrator/goal/types/negotiation.d.ts.map +0 -1
- package/dist/orchestrator/goal/types/negotiation.js +0 -84
- package/dist/orchestrator/goal/types/negotiation.js.map +0 -1
- package/dist/orchestrator/goal/types/suggest.d.ts +0 -92
- package/dist/orchestrator/goal/types/suggest.d.ts.map +0 -1
- package/dist/orchestrator/goal/types/suggest.js +0 -15
- package/dist/orchestrator/goal/types/suggest.js.map +0 -1
- package/dist/orchestrator/goal-loop.d.ts +0 -33
- package/dist/orchestrator/goal-loop.d.ts.map +0 -1
- package/dist/orchestrator/goal-loop.js +0 -72
- package/dist/orchestrator/goal-loop.js.map +0 -1
- package/dist/orchestrator/knowledge/knowledge-manager.d.ts +0 -2
- package/dist/orchestrator/knowledge/knowledge-manager.d.ts.map +0 -1
- package/dist/orchestrator/knowledge/knowledge-manager.js +0 -2
- package/dist/orchestrator/knowledge/knowledge-manager.js.map +0 -1
- package/dist/orchestrator/knowledge/transfer/knowledge-transfer.d.ts +0 -2
- package/dist/orchestrator/knowledge/transfer/knowledge-transfer.d.ts.map +0 -1
- package/dist/orchestrator/knowledge/transfer/knowledge-transfer.js +0 -2
- package/dist/orchestrator/knowledge/transfer/knowledge-transfer.js.map +0 -1
- package/dist/orchestrator/loop/checkpoint-manager-loop.d.ts +0 -28
- package/dist/orchestrator/loop/checkpoint-manager-loop.d.ts.map +0 -1
- package/dist/orchestrator/loop/checkpoint-manager-loop.js +0 -62
- package/dist/orchestrator/loop/checkpoint-manager-loop.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/capability.d.ts +0 -22
- package/dist/orchestrator/loop/core-loop/capability.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/capability.js +0 -151
- package/dist/orchestrator/loop/core-loop/capability.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/contracts.d.ts +0 -254
- package/dist/orchestrator/loop/core-loop/contracts.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/contracts.js +0 -40
- package/dist/orchestrator/loop/core-loop/contracts.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/control.d.ts +0 -27
- package/dist/orchestrator/loop/core-loop/control.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/control.js +0 -72
- package/dist/orchestrator/loop/core-loop/control.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/decision-engine.d.ts +0 -79
- package/dist/orchestrator/loop/core-loop/decision-engine.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/decision-engine.js +0 -141
- package/dist/orchestrator/loop/core-loop/decision-engine.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/evidence-ledger.d.ts +0 -22
- package/dist/orchestrator/loop/core-loop/evidence-ledger.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/evidence-ledger.js +0 -36
- package/dist/orchestrator/loop/core-loop/evidence-ledger.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel.d.ts +0 -34
- package/dist/orchestrator/loop/core-loop/iteration-kernel.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel.js +0 -356
- package/dist/orchestrator/loop/core-loop/iteration-kernel.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/learning.d.ts +0 -31
- package/dist/orchestrator/loop/core-loop/learning.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/learning.js +0 -92
- package/dist/orchestrator/loop/core-loop/learning.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/phase-policy.d.ts +0 -20
- package/dist/orchestrator/loop/core-loop/phase-policy.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/phase-policy.js +0 -96
- package/dist/orchestrator/loop/core-loop/phase-policy.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/phase-runtime.d.ts +0 -29
- package/dist/orchestrator/loop/core-loop/phase-runtime.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/phase-runtime.js +0 -62
- package/dist/orchestrator/loop/core-loop/phase-runtime.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/phase-specs.d.ts +0 -180
- package/dist/orchestrator/loop/core-loop/phase-specs.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/phase-specs.js +0 -116
- package/dist/orchestrator/loop/core-loop/phase-specs.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/preparation.d.ts +0 -59
- package/dist/orchestrator/loop/core-loop/preparation.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/preparation.js +0 -368
- package/dist/orchestrator/loop/core-loop/preparation.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/task-cycle.d.ts +0 -37
- package/dist/orchestrator/loop/core-loop/task-cycle.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/task-cycle.js +0 -685
- package/dist/orchestrator/loop/core-loop/task-cycle.js.map +0 -1
- package/dist/orchestrator/loop/core-loop.d.ts +0 -71
- package/dist/orchestrator/loop/core-loop.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop.js +0 -338
- package/dist/orchestrator/loop/core-loop.js.map +0 -1
- package/dist/orchestrator/loop/iteration-budget.d.ts +0 -39
- package/dist/orchestrator/loop/iteration-budget.d.ts.map +0 -1
- package/dist/orchestrator/loop/iteration-budget.js +0 -57
- package/dist/orchestrator/loop/iteration-budget.js.map +0 -1
- package/dist/orchestrator/loop/learning-evidence.d.ts +0 -12
- package/dist/orchestrator/loop/learning-evidence.d.ts.map +0 -1
- package/dist/orchestrator/loop/learning-evidence.js +0 -37
- package/dist/orchestrator/loop/learning-evidence.js.map +0 -1
- package/dist/orchestrator/loop/loop-report-helper.d.ts +0 -14
- package/dist/orchestrator/loop/loop-report-helper.d.ts.map +0 -1
- package/dist/orchestrator/loop/loop-report-helper.js +0 -57
- package/dist/orchestrator/loop/loop-report-helper.js.map +0 -1
- package/dist/orchestrator/loop/loop-result-types.d.ts +0 -90
- package/dist/orchestrator/loop/loop-result-types.d.ts.map +0 -1
- package/dist/orchestrator/loop/loop-result-types.js +0 -27
- package/dist/orchestrator/loop/loop-result-types.js.map +0 -1
- package/dist/orchestrator/loop/parallel-dispatch.d.ts +0 -16
- package/dist/orchestrator/loop/parallel-dispatch.d.ts.map +0 -1
- package/dist/orchestrator/loop/parallel-dispatch.js +0 -103
- package/dist/orchestrator/loop/parallel-dispatch.js.map +0 -1
- package/dist/orchestrator/loop/post-loop-hooks.d.ts +0 -30
- package/dist/orchestrator/loop/post-loop-hooks.d.ts.map +0 -1
- package/dist/orchestrator/loop/post-loop-hooks.js +0 -138
- package/dist/orchestrator/loop/post-loop-hooks.js.map +0 -1
- package/dist/orchestrator/loop/stall-evidence.d.ts +0 -12
- package/dist/orchestrator/loop/stall-evidence.d.ts.map +0 -1
- package/dist/orchestrator/loop/stall-evidence.js +0 -33
- package/dist/orchestrator/loop/stall-evidence.js.map +0 -1
- package/dist/orchestrator/loop/state-diff.d.ts +0 -41
- package/dist/orchestrator/loop/state-diff.d.ts.map +0 -1
- package/dist/orchestrator/loop/state-diff.js +0 -86
- package/dist/orchestrator/loop/state-diff.js.map +0 -1
- package/dist/orchestrator/loop/tree-loop-runner.d.ts +0 -28
- package/dist/orchestrator/loop/tree-loop-runner.d.ts.map +0 -1
- package/dist/orchestrator/loop/tree-loop-runner.js +0 -225
- package/dist/orchestrator/loop/tree-loop-runner.js.map +0 -1
- package/dist/orchestrator/loop/verification-layer1.d.ts +0 -38
- package/dist/orchestrator/loop/verification-layer1.d.ts.map +0 -1
- package/dist/orchestrator/loop/verification-layer1.js +0 -81
- package/dist/orchestrator/loop/verification-layer1.js.map +0 -1
- package/dist/orchestrator/observation/capability-detector.d.ts +0 -2
- package/dist/orchestrator/observation/capability-detector.d.ts.map +0 -1
- package/dist/orchestrator/observation/capability-detector.js +0 -2
- package/dist/orchestrator/observation/capability-detector.js.map +0 -1
- package/dist/orchestrator/strategy/cross-goal-portfolio.d.ts +0 -115
- package/dist/orchestrator/strategy/cross-goal-portfolio.d.ts.map +0 -1
- package/dist/orchestrator/strategy/cross-goal-portfolio.js +0 -397
- package/dist/orchestrator/strategy/cross-goal-portfolio.js.map +0 -1
- package/dist/orchestrator/strategy/portfolio-allocation.d.ts +0 -70
- package/dist/orchestrator/strategy/portfolio-allocation.d.ts.map +0 -1
- package/dist/orchestrator/strategy/portfolio-allocation.js +0 -265
- package/dist/orchestrator/strategy/portfolio-allocation.js.map +0 -1
- package/dist/orchestrator/strategy/portfolio-manager.d.ts +0 -147
- package/dist/orchestrator/strategy/portfolio-manager.d.ts.map +0 -1
- package/dist/orchestrator/strategy/portfolio-manager.js +0 -344
- package/dist/orchestrator/strategy/portfolio-manager.js.map +0 -1
- package/dist/orchestrator/strategy/portfolio-momentum.d.ts +0 -11
- package/dist/orchestrator/strategy/portfolio-momentum.d.ts.map +0 -1
- package/dist/orchestrator/strategy/portfolio-momentum.js +0 -64
- package/dist/orchestrator/strategy/portfolio-momentum.js.map +0 -1
- package/dist/orchestrator/strategy/portfolio-rebalance.d.ts +0 -75
- package/dist/orchestrator/strategy/portfolio-rebalance.d.ts.map +0 -1
- package/dist/orchestrator/strategy/portfolio-rebalance.js +0 -261
- package/dist/orchestrator/strategy/portfolio-rebalance.js.map +0 -1
- package/dist/orchestrator/strategy/portfolio-scheduling.d.ts +0 -25
- package/dist/orchestrator/strategy/portfolio-scheduling.d.ts.map +0 -1
- package/dist/orchestrator/strategy/portfolio-scheduling.js +0 -133
- package/dist/orchestrator/strategy/portfolio-scheduling.js.map +0 -1
- package/dist/orchestrator/strategy/strategy-helpers.d.ts +0 -119
- package/dist/orchestrator/strategy/strategy-helpers.d.ts.map +0 -1
- package/dist/orchestrator/strategy/strategy-helpers.js +0 -178
- package/dist/orchestrator/strategy/strategy-helpers.js.map +0 -1
- package/dist/orchestrator/strategy/strategy-manager-base.d.ts +0 -133
- package/dist/orchestrator/strategy/strategy-manager-base.d.ts.map +0 -1
- package/dist/orchestrator/strategy/strategy-manager-base.js +0 -537
- package/dist/orchestrator/strategy/strategy-manager-base.js.map +0 -1
- package/dist/orchestrator/strategy/strategy-manager.d.ts +0 -81
- package/dist/orchestrator/strategy/strategy-manager.d.ts.map +0 -1
- package/dist/orchestrator/strategy/strategy-manager.js +0 -325
- package/dist/orchestrator/strategy/strategy-manager.js.map +0 -1
- package/dist/orchestrator/strategy/strategy-template-registry.d.ts +0 -84
- package/dist/orchestrator/strategy/strategy-template-registry.d.ts.map +0 -1
- package/dist/orchestrator/strategy/strategy-template-registry.js +0 -350
- package/dist/orchestrator/strategy/strategy-template-registry.js.map +0 -1
- package/dist/orchestrator/strategy/strategy-workspace.d.ts +0 -53
- package/dist/orchestrator/strategy/strategy-workspace.d.ts.map +0 -1
- package/dist/orchestrator/strategy/strategy-workspace.js +0 -121
- package/dist/orchestrator/strategy/strategy-workspace.js.map +0 -1
- package/dist/orchestrator/strategy/types/cross-portfolio.d.ts +0 -378
- package/dist/orchestrator/strategy/types/cross-portfolio.d.ts.map +0 -1
- package/dist/orchestrator/strategy/types/cross-portfolio.js +0 -155
- package/dist/orchestrator/strategy/types/cross-portfolio.js.map +0 -1
- package/dist/orchestrator/strategy/types/portfolio.d.ts +0 -146
- package/dist/orchestrator/strategy/types/portfolio.d.ts.map +0 -1
- package/dist/orchestrator/strategy/types/portfolio.js +0 -55
- package/dist/orchestrator/strategy/types/portfolio.js.map +0 -1
- package/dist/orchestrator/strategy/types/strategy.d.ts +0 -526
- package/dist/orchestrator/strategy/types/strategy.d.ts.map +0 -1
- package/dist/orchestrator/strategy/types/strategy.js +0 -77
- package/dist/orchestrator/strategy/types/strategy.js.map +0 -1
- package/dist/orchestrator/strategy-manager.d.ts +0 -2
- package/dist/orchestrator/strategy-manager.d.ts.map +0 -1
- package/dist/orchestrator/strategy-manager.js +0 -2
- package/dist/orchestrator/strategy-manager.js.map +0 -1
- package/dist/platform/dream/dream-activation-artifacts.d.ts +0 -5
- package/dist/platform/dream/dream-activation-artifacts.d.ts.map +0 -1
- package/dist/platform/dream/dream-activation-artifacts.js +0 -35
- package/dist/platform/dream/dream-activation-artifacts.js.map +0 -1
- package/dist/platform/dream/dream-activation.d.ts +0 -59
- package/dist/platform/dream/dream-activation.d.ts.map +0 -1
- package/dist/platform/dream/dream-activation.js +0 -240
- package/dist/platform/dream/dream-activation.js.map +0 -1
- package/dist/platform/dream/dream-analyzer.d.ts +0 -53
- package/dist/platform/dream/dream-analyzer.d.ts.map +0 -1
- package/dist/platform/dream/dream-analyzer.js +0 -489
- package/dist/platform/dream/dream-analyzer.js.map +0 -1
- package/dist/platform/dream/dream-config.d.ts +0 -6
- package/dist/platform/dream/dream-config.d.ts.map +0 -1
- package/dist/platform/dream/dream-config.js +0 -20
- package/dist/platform/dream/dream-config.js.map +0 -1
- package/dist/platform/dream/dream-consolidator.d.ts +0 -85
- package/dist/platform/dream/dream-consolidator.d.ts.map +0 -1
- package/dist/platform/dream/dream-consolidator.js +0 -655
- package/dist/platform/dream/dream-consolidator.js.map +0 -1
- package/dist/platform/dream/dream-event-workflows.d.ts +0 -115
- package/dist/platform/dream/dream-event-workflows.d.ts.map +0 -1
- package/dist/platform/dream/dream-event-workflows.js +0 -328
- package/dist/platform/dream/dream-event-workflows.js.map +0 -1
- package/dist/platform/dream/dream-importance.d.ts +0 -24
- package/dist/platform/dream/dream-importance.d.ts.map +0 -1
- package/dist/platform/dream/dream-importance.js +0 -71
- package/dist/platform/dream/dream-importance.js.map +0 -1
- package/dist/platform/dream/dream-log-collector.d.ts +0 -73
- package/dist/platform/dream/dream-log-collector.d.ts.map +0 -1
- package/dist/platform/dream/dream-log-collector.js +0 -256
- package/dist/platform/dream/dream-log-collector.js.map +0 -1
- package/dist/platform/dream/dream-log-store.d.ts +0 -22
- package/dist/platform/dream/dream-log-store.d.ts.map +0 -1
- package/dist/platform/dream/dream-log-store.js +0 -150
- package/dist/platform/dream/dream-log-store.js.map +0 -1
- package/dist/platform/dream/dream-schedule-suggestions.d.ts +0 -26
- package/dist/platform/dream/dream-schedule-suggestions.d.ts.map +0 -1
- package/dist/platform/dream/dream-schedule-suggestions.js +0 -195
- package/dist/platform/dream/dream-schedule-suggestions.js.map +0 -1
- package/dist/platform/dream/dream-soil-mutation.d.ts +0 -28
- package/dist/platform/dream/dream-soil-mutation.d.ts.map +0 -1
- package/dist/platform/dream/dream-soil-mutation.js +0 -605
- package/dist/platform/dream/dream-soil-mutation.js.map +0 -1
- package/dist/platform/dream/dream-soil-sync.d.ts +0 -32
- package/dist/platform/dream/dream-soil-sync.d.ts.map +0 -1
- package/dist/platform/dream/dream-soil-sync.js +0 -106
- package/dist/platform/dream/dream-soil-sync.js.map +0 -1
- package/dist/platform/dream/dream-types.d.ts +0 -3172
- package/dist/platform/dream/dream-types.d.ts.map +0 -1
- package/dist/platform/dream/dream-types.js +0 -335
- package/dist/platform/dream/dream-types.js.map +0 -1
- package/dist/platform/dream/index.d.ts +0 -10
- package/dist/platform/dream/index.d.ts.map +0 -1
- package/dist/platform/dream/index.js +0 -10
- package/dist/platform/dream/index.js.map +0 -1
- package/dist/platform/drive/drive-scorer.d.ts +0 -96
- package/dist/platform/drive/drive-scorer.d.ts.map +0 -1
- package/dist/platform/drive/drive-scorer.js +0 -243
- package/dist/platform/drive/drive-scorer.js.map +0 -1
- package/dist/platform/drive/drive-system.d.ts +0 -107
- package/dist/platform/drive/drive-system.d.ts.map +0 -1
- package/dist/platform/drive/drive-system.js +0 -371
- package/dist/platform/drive/drive-system.js.map +0 -1
- package/dist/platform/drive/gap-calculator-tools.d.ts +0 -29
- package/dist/platform/drive/gap-calculator-tools.d.ts.map +0 -1
- package/dist/platform/drive/gap-calculator-tools.js +0 -84
- package/dist/platform/drive/gap-calculator-tools.js.map +0 -1
- package/dist/platform/drive/gap-calculator.d.ts +0 -88
- package/dist/platform/drive/gap-calculator.d.ts.map +0 -1
- package/dist/platform/drive/gap-calculator.js +0 -243
- package/dist/platform/drive/gap-calculator.js.map +0 -1
- package/dist/platform/drive/progress-predictor.d.ts +0 -24
- package/dist/platform/drive/progress-predictor.d.ts.map +0 -1
- package/dist/platform/drive/progress-predictor.js +0 -93
- package/dist/platform/drive/progress-predictor.js.map +0 -1
- package/dist/platform/drive/reward-log.d.ts +0 -51
- package/dist/platform/drive/reward-log.d.ts.map +0 -1
- package/dist/platform/drive/reward-log.js +0 -48
- package/dist/platform/drive/reward-log.js.map +0 -1
- package/dist/platform/drive/satisficing-helpers.d.ts +0 -28
- package/dist/platform/drive/satisficing-helpers.d.ts.map +0 -1
- package/dist/platform/drive/satisficing-helpers.js +0 -111
- package/dist/platform/drive/satisficing-helpers.js.map +0 -1
- package/dist/platform/drive/satisficing-judge.d.ts +0 -140
- package/dist/platform/drive/satisficing-judge.d.ts.map +0 -1
- package/dist/platform/drive/satisficing-judge.js +0 -441
- package/dist/platform/drive/satisficing-judge.js.map +0 -1
- package/dist/platform/drive/satisficing-propagation.d.ts +0 -30
- package/dist/platform/drive/satisficing-propagation.d.ts.map +0 -1
- package/dist/platform/drive/satisficing-propagation.js +0 -196
- package/dist/platform/drive/satisficing-propagation.js.map +0 -1
- package/dist/platform/drive/stall-detector.d.ts +0 -143
- package/dist/platform/drive/stall-detector.d.ts.map +0 -1
- package/dist/platform/drive/stall-detector.js +0 -567
- package/dist/platform/drive/stall-detector.js.map +0 -1
- package/dist/platform/drive/types/drive.d.ts +0 -215
- package/dist/platform/drive/types/drive.d.ts.map +0 -1
- package/dist/platform/drive/types/drive.js +0 -82
- package/dist/platform/drive/types/drive.js.map +0 -1
- package/dist/platform/drive/types/gap.d.ts +0 -147
- package/dist/platform/drive/types/gap.d.ts.map +0 -1
- package/dist/platform/drive/types/gap.js +0 -41
- package/dist/platform/drive/types/gap.js.map +0 -1
- package/dist/platform/drive/types/satisficing.d.ts +0 -130
- package/dist/platform/drive/types/satisficing.d.ts.map +0 -1
- package/dist/platform/drive/types/satisficing.js +0 -54
- package/dist/platform/drive/types/satisficing.js.map +0 -1
- package/dist/platform/drive/types/stall.d.ts +0 -68
- package/dist/platform/drive/types/stall.d.ts.map +0 -1
- package/dist/platform/drive/types/stall.js +0 -28
- package/dist/platform/drive/types/stall.js.map +0 -1
- package/dist/platform/ethics-gate.d.ts +0 -2
- package/dist/platform/ethics-gate.d.ts.map +0 -1
- package/dist/platform/ethics-gate.js +0 -2
- package/dist/platform/ethics-gate.js.map +0 -1
- package/dist/platform/execution/task/task-lifecycle.d.ts +0 -2
- package/dist/platform/execution/task/task-lifecycle.d.ts.map +0 -1
- package/dist/platform/execution/task/task-lifecycle.js +0 -2
- package/dist/platform/execution/task/task-lifecycle.js.map +0 -1
- package/dist/platform/knowledge/drive-score-adapter.d.ts +0 -39
- package/dist/platform/knowledge/drive-score-adapter.d.ts.map +0 -1
- package/dist/platform/knowledge/drive-score-adapter.js +0 -32
- package/dist/platform/knowledge/drive-score-adapter.js.map +0 -1
- package/dist/platform/knowledge/embedding-client.d.ts +0 -49
- package/dist/platform/knowledge/embedding-client.d.ts.map +0 -1
- package/dist/platform/knowledge/embedding-client.js +0 -141
- package/dist/platform/knowledge/embedding-client.js.map +0 -1
- package/dist/platform/knowledge/knowledge-decisions.d.ts +0 -41
- package/dist/platform/knowledge/knowledge-decisions.d.ts.map +0 -1
- package/dist/platform/knowledge/knowledge-decisions.js +0 -223
- package/dist/platform/knowledge/knowledge-decisions.js.map +0 -1
- package/dist/platform/knowledge/knowledge-graph.d.ts +0 -74
- package/dist/platform/knowledge/knowledge-graph.d.ts.map +0 -1
- package/dist/platform/knowledge/knowledge-graph.js +0 -207
- package/dist/platform/knowledge/knowledge-graph.js.map +0 -1
- package/dist/platform/knowledge/knowledge-manager-lint.d.ts +0 -10
- package/dist/platform/knowledge/knowledge-manager-lint.d.ts.map +0 -1
- package/dist/platform/knowledge/knowledge-manager-lint.js +0 -137
- package/dist/platform/knowledge/knowledge-manager-lint.js.map +0 -1
- package/dist/platform/knowledge/knowledge-manager-query.d.ts +0 -87
- package/dist/platform/knowledge/knowledge-manager-query.d.ts.map +0 -1
- package/dist/platform/knowledge/knowledge-manager-query.js +0 -287
- package/dist/platform/knowledge/knowledge-manager-query.js.map +0 -1
- package/dist/platform/knowledge/knowledge-manager.d.ts +0 -215
- package/dist/platform/knowledge/knowledge-manager.d.ts.map +0 -1
- package/dist/platform/knowledge/knowledge-manager.js +0 -642
- package/dist/platform/knowledge/knowledge-manager.js.map +0 -1
- package/dist/platform/knowledge/knowledge-revalidation.d.ts +0 -27
- package/dist/platform/knowledge/knowledge-revalidation.d.ts.map +0 -1
- package/dist/platform/knowledge/knowledge-revalidation.js +0 -130
- package/dist/platform/knowledge/knowledge-revalidation.js.map +0 -1
- package/dist/platform/knowledge/knowledge-search.d.ts +0 -42
- package/dist/platform/knowledge/knowledge-search.d.ts.map +0 -1
- package/dist/platform/knowledge/knowledge-search.js +0 -108
- package/dist/platform/knowledge/knowledge-search.js.map +0 -1
- package/dist/platform/knowledge/learning/learning-cross-goal.d.ts +0 -19
- package/dist/platform/knowledge/learning/learning-cross-goal.d.ts.map +0 -1
- package/dist/platform/knowledge/learning/learning-cross-goal.js +0 -177
- package/dist/platform/knowledge/learning/learning-cross-goal.js.map +0 -1
- package/dist/platform/knowledge/learning/learning-exports.d.ts +0 -4
- package/dist/platform/knowledge/learning/learning-exports.d.ts.map +0 -1
- package/dist/platform/knowledge/learning/learning-exports.js +0 -3
- package/dist/platform/knowledge/learning/learning-exports.js.map +0 -1
- package/dist/platform/knowledge/learning/learning-feedback.d.ts +0 -26
- package/dist/platform/knowledge/learning/learning-feedback.d.ts.map +0 -1
- package/dist/platform/knowledge/learning/learning-feedback.js +0 -183
- package/dist/platform/knowledge/learning/learning-feedback.js.map +0 -1
- package/dist/platform/knowledge/learning/learning-pipeline-prompts.d.ts +0 -134
- package/dist/platform/knowledge/learning/learning-pipeline-prompts.d.ts.map +0 -1
- package/dist/platform/knowledge/learning/learning-pipeline-prompts.js +0 -103
- package/dist/platform/knowledge/learning/learning-pipeline-prompts.js.map +0 -1
- package/dist/platform/knowledge/learning/learning-pipeline.d.ts +0 -105
- package/dist/platform/knowledge/learning/learning-pipeline.d.ts.map +0 -1
- package/dist/platform/knowledge/learning/learning-pipeline.js +0 -465
- package/dist/platform/knowledge/learning/learning-pipeline.js.map +0 -1
- package/dist/platform/knowledge/memory/memory-compression.d.ts +0 -44
- package/dist/platform/knowledge/memory/memory-compression.d.ts.map +0 -1
- package/dist/platform/knowledge/memory/memory-compression.js +0 -291
- package/dist/platform/knowledge/memory/memory-compression.js.map +0 -1
- package/dist/platform/knowledge/memory/memory-distill.d.ts +0 -31
- package/dist/platform/knowledge/memory/memory-distill.d.ts.map +0 -1
- package/dist/platform/knowledge/memory/memory-distill.js +0 -170
- package/dist/platform/knowledge/memory/memory-distill.js.map +0 -1
- package/dist/platform/knowledge/memory/memory-exports.d.ts +0 -7
- package/dist/platform/knowledge/memory/memory-exports.d.ts.map +0 -1
- package/dist/platform/knowledge/memory/memory-exports.js +0 -6
- package/dist/platform/knowledge/memory/memory-exports.js.map +0 -1
- package/dist/platform/knowledge/memory/memory-index.d.ts +0 -11
- package/dist/platform/knowledge/memory/memory-index.d.ts.map +0 -1
- package/dist/platform/knowledge/memory/memory-index.js +0 -134
- package/dist/platform/knowledge/memory/memory-index.js.map +0 -1
- package/dist/platform/knowledge/memory/memory-lifecycle.d.ts +0 -169
- package/dist/platform/knowledge/memory/memory-lifecycle.d.ts.map +0 -1
- package/dist/platform/knowledge/memory/memory-lifecycle.js +0 -402
- package/dist/platform/knowledge/memory/memory-lifecycle.js.map +0 -1
- package/dist/platform/knowledge/memory/memory-persistence.d.ts +0 -30
- package/dist/platform/knowledge/memory/memory-persistence.d.ts.map +0 -1
- package/dist/platform/knowledge/memory/memory-persistence.js +0 -135
- package/dist/platform/knowledge/memory/memory-persistence.js.map +0 -1
- package/dist/platform/knowledge/memory/memory-query.d.ts +0 -4
- package/dist/platform/knowledge/memory/memory-query.d.ts.map +0 -1
- package/dist/platform/knowledge/memory/memory-query.js +0 -64
- package/dist/platform/knowledge/memory/memory-query.js.map +0 -1
- package/dist/platform/knowledge/memory/memory-selection.d.ts +0 -73
- package/dist/platform/knowledge/memory/memory-selection.d.ts.map +0 -1
- package/dist/platform/knowledge/memory/memory-selection.js +0 -328
- package/dist/platform/knowledge/memory/memory-selection.js.map +0 -1
- package/dist/platform/knowledge/memory/memory-stats.d.ts +0 -7
- package/dist/platform/knowledge/memory/memory-stats.d.ts.map +0 -1
- package/dist/platform/knowledge/memory/memory-stats.js +0 -162
- package/dist/platform/knowledge/memory/memory-stats.js.map +0 -1
- package/dist/platform/knowledge/memory/memory-tier.d.ts +0 -65
- package/dist/platform/knowledge/memory/memory-tier.d.ts.map +0 -1
- package/dist/platform/knowledge/memory/memory-tier.js +0 -243
- package/dist/platform/knowledge/memory/memory-tier.js.map +0 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer-apply.d.ts +0 -48
- package/dist/platform/knowledge/transfer/knowledge-transfer-apply.d.ts.map +0 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer-apply.js +0 -227
- package/dist/platform/knowledge/transfer/knowledge-transfer-apply.js.map +0 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer-detect.d.ts +0 -28
- package/dist/platform/knowledge/transfer/knowledge-transfer-detect.d.ts.map +0 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer-detect.js +0 -160
- package/dist/platform/knowledge/transfer/knowledge-transfer-detect.js.map +0 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer-evaluate.d.ts +0 -22
- package/dist/platform/knowledge/transfer/knowledge-transfer-evaluate.d.ts.map +0 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer-evaluate.js +0 -109
- package/dist/platform/knowledge/transfer/knowledge-transfer-evaluate.js.map +0 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer-meta.d.ts +0 -38
- package/dist/platform/knowledge/transfer/knowledge-transfer-meta.d.ts.map +0 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer-meta.js +0 -180
- package/dist/platform/knowledge/transfer/knowledge-transfer-meta.js.map +0 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer-prompts.d.ts +0 -46
- package/dist/platform/knowledge/transfer/knowledge-transfer-prompts.d.ts.map +0 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer-prompts.js +0 -75
- package/dist/platform/knowledge/transfer/knowledge-transfer-prompts.js.map +0 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer-types.d.ts +0 -20
- package/dist/platform/knowledge/transfer/knowledge-transfer-types.d.ts.map +0 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer-types.js +0 -25
- package/dist/platform/knowledge/transfer/knowledge-transfer-types.js.map +0 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer.d.ts +0 -100
- package/dist/platform/knowledge/transfer/knowledge-transfer.d.ts.map +0 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer.js +0 -269
- package/dist/platform/knowledge/transfer/knowledge-transfer.js.map +0 -1
- package/dist/platform/knowledge/transfer/transfer-trust.d.ts +0 -40
- package/dist/platform/knowledge/transfer/transfer-trust.d.ts.map +0 -1
- package/dist/platform/knowledge/transfer/transfer-trust.js +0 -137
- package/dist/platform/knowledge/transfer/transfer-trust.js.map +0 -1
- package/dist/platform/knowledge/types/agent-memory.d.ts +0 -218
- package/dist/platform/knowledge/types/agent-memory.d.ts.map +0 -1
- package/dist/platform/knowledge/types/agent-memory.js +0 -47
- package/dist/platform/knowledge/types/agent-memory.js.map +0 -1
- package/dist/platform/knowledge/types/embedding.d.ts +0 -59
- package/dist/platform/knowledge/types/embedding.d.ts.map +0 -1
- package/dist/platform/knowledge/types/embedding.js +0 -22
- package/dist/platform/knowledge/types/embedding.js.map +0 -1
- package/dist/platform/knowledge/types/knowledge.d.ts +0 -402
- package/dist/platform/knowledge/types/knowledge.d.ts.map +0 -1
- package/dist/platform/knowledge/types/knowledge.js +0 -116
- package/dist/platform/knowledge/types/knowledge.js.map +0 -1
- package/dist/platform/knowledge/types/learning.d.ts +0 -292
- package/dist/platform/knowledge/types/learning.d.ts.map +0 -1
- package/dist/platform/knowledge/types/learning.js +0 -117
- package/dist/platform/knowledge/types/learning.js.map +0 -1
- package/dist/platform/knowledge/types/memory-lifecycle.d.ts +0 -615
- package/dist/platform/knowledge/types/memory-lifecycle.d.ts.map +0 -1
- package/dist/platform/knowledge/types/memory-lifecycle.js +0 -159
- package/dist/platform/knowledge/types/memory-lifecycle.js.map +0 -1
- package/dist/platform/knowledge/vector-index.d.ts +0 -65
- package/dist/platform/knowledge/vector-index.d.ts.map +0 -1
- package/dist/platform/knowledge/vector-index.js +0 -158
- package/dist/platform/knowledge/vector-index.js.map +0 -1
- package/dist/platform/observation/capability-dependencies.d.ts +0 -45
- package/dist/platform/observation/capability-dependencies.d.ts.map +0 -1
- package/dist/platform/observation/capability-dependencies.js +0 -208
- package/dist/platform/observation/capability-dependencies.js.map +0 -1
- package/dist/platform/observation/capability-detector.d.ts +0 -80
- package/dist/platform/observation/capability-detector.d.ts.map +0 -1
- package/dist/platform/observation/capability-detector.js +0 -440
- package/dist/platform/observation/capability-detector.js.map +0 -1
- package/dist/platform/observation/capability-registry.d.ts +0 -48
- package/dist/platform/observation/capability-registry.d.ts.map +0 -1
- package/dist/platform/observation/capability-registry.js +0 -135
- package/dist/platform/observation/capability-registry.js.map +0 -1
- package/dist/platform/observation/context-provider.d.ts +0 -63
- package/dist/platform/observation/context-provider.d.ts.map +0 -1
- package/dist/platform/observation/context-provider.js +0 -400
- package/dist/platform/observation/context-provider.js.map +0 -1
- package/dist/platform/observation/data-source-adapter.d.ts +0 -62
- package/dist/platform/observation/data-source-adapter.d.ts.map +0 -1
- package/dist/platform/observation/data-source-adapter.js +0 -396
- package/dist/platform/observation/data-source-adapter.js.map +0 -1
- package/dist/platform/observation/dimension-pre-checker.d.ts +0 -26
- package/dist/platform/observation/dimension-pre-checker.d.ts.map +0 -1
- package/dist/platform/observation/dimension-pre-checker.js +0 -130
- package/dist/platform/observation/dimension-pre-checker.js.map +0 -1
- package/dist/platform/observation/engine/observe-context.d.ts +0 -4
- package/dist/platform/observation/engine/observe-context.d.ts.map +0 -1
- package/dist/platform/observation/engine/observe-context.js +0 -26
- package/dist/platform/observation/engine/observe-context.js.map +0 -1
- package/dist/platform/observation/engine/observe-datasource-stage.d.ts +0 -33
- package/dist/platform/observation/engine/observe-datasource-stage.d.ts.map +0 -1
- package/dist/platform/observation/engine/observe-datasource-stage.js +0 -66
- package/dist/platform/observation/engine/observe-datasource-stage.js.map +0 -1
- package/dist/platform/observation/engine/observe-llm-stage.d.ts +0 -25
- package/dist/platform/observation/engine/observe-llm-stage.d.ts.map +0 -1
- package/dist/platform/observation/engine/observe-llm-stage.js +0 -79
- package/dist/platform/observation/engine/observe-llm-stage.js.map +0 -1
- package/dist/platform/observation/engine/observe-precheck.d.ts +0 -21
- package/dist/platform/observation/engine/observe-precheck.d.ts.map +0 -1
- package/dist/platform/observation/engine/observe-precheck.js +0 -51
- package/dist/platform/observation/engine/observe-precheck.js.map +0 -1
- package/dist/platform/observation/engine/observe-self-report.d.ts +0 -18
- package/dist/platform/observation/engine/observe-self-report.d.ts.map +0 -1
- package/dist/platform/observation/engine/observe-self-report.js +0 -26
- package/dist/platform/observation/engine/observe-self-report.js.map +0 -1
- package/dist/platform/observation/engine/observe-tool-stage.d.ts +0 -21
- package/dist/platform/observation/engine/observe-tool-stage.d.ts.map +0 -1
- package/dist/platform/observation/engine/observe-tool-stage.js +0 -49
- package/dist/platform/observation/engine/observe-tool-stage.js.map +0 -1
- package/dist/platform/observation/observation-apply.d.ts +0 -18
- package/dist/platform/observation/observation-apply.d.ts.map +0 -1
- package/dist/platform/observation/observation-apply.js +0 -178
- package/dist/platform/observation/observation-apply.js.map +0 -1
- package/dist/platform/observation/observation-datasource.d.ts +0 -21
- package/dist/platform/observation/observation-datasource.d.ts.map +0 -1
- package/dist/platform/observation/observation-datasource.js +0 -103
- package/dist/platform/observation/observation-datasource.js.map +0 -1
- package/dist/platform/observation/observation-engine.d.ts +0 -171
- package/dist/platform/observation/observation-engine.d.ts.map +0 -1
- package/dist/platform/observation/observation-engine.js +0 -360
- package/dist/platform/observation/observation-engine.js.map +0 -1
- package/dist/platform/observation/observation-helpers.d.ts +0 -122
- package/dist/platform/observation/observation-helpers.d.ts.map +0 -1
- package/dist/platform/observation/observation-helpers.js +0 -175
- package/dist/platform/observation/observation-helpers.js.map +0 -1
- package/dist/platform/observation/observation-llm.d.ts +0 -64
- package/dist/platform/observation/observation-llm.d.ts.map +0 -1
- package/dist/platform/observation/observation-llm.js +0 -430
- package/dist/platform/observation/observation-llm.js.map +0 -1
- package/dist/platform/observation/observation-task.d.ts +0 -29
- package/dist/platform/observation/observation-task.d.ts.map +0 -1
- package/dist/platform/observation/observation-task.js +0 -51
- package/dist/platform/observation/observation-task.js.map +0 -1
- package/dist/platform/observation/observation-tools.d.ts +0 -22
- package/dist/platform/observation/observation-tools.d.ts.map +0 -1
- package/dist/platform/observation/observation-tools.js +0 -86
- package/dist/platform/observation/observation-tools.js.map +0 -1
- package/dist/platform/observation/types/capability.d.ts +0 -292
- package/dist/platform/observation/types/capability.d.ts.map +0 -1
- package/dist/platform/observation/types/capability.js +0 -53
- package/dist/platform/observation/types/capability.js.map +0 -1
- package/dist/platform/observation/types/data-source.d.ts +0 -323
- package/dist/platform/observation/types/data-source.d.ts.map +0 -1
- package/dist/platform/observation/types/data-source.js +0 -54
- package/dist/platform/observation/types/data-source.js.map +0 -1
- package/dist/platform/observation/workspace-context.d.ts +0 -9
- package/dist/platform/observation/workspace-context.d.ts.map +0 -1
- package/dist/platform/observation/workspace-context.js +0 -327
- package/dist/platform/observation/workspace-context.js.map +0 -1
- package/dist/platform/runtime/plugin-loader.d.ts +0 -2
- package/dist/platform/runtime/plugin-loader.d.ts.map +0 -1
- package/dist/platform/runtime/plugin-loader.js +0 -2
- package/dist/platform/runtime/plugin-loader.js.map +0 -1
- package/dist/platform/soil/checksum.d.ts +0 -2
- package/dist/platform/soil/checksum.d.ts.map +0 -1
- package/dist/platform/soil/checksum.js +0 -17
- package/dist/platform/soil/checksum.js.map +0 -1
- package/dist/platform/soil/compiled-memory-projections.d.ts +0 -12
- package/dist/platform/soil/compiled-memory-projections.d.ts.map +0 -1
- package/dist/platform/soil/compiled-memory-projections.js +0 -238
- package/dist/platform/soil/compiled-memory-projections.js.map +0 -1
- package/dist/platform/soil/compiler.d.ts +0 -27
- package/dist/platform/soil/compiler.d.ts.map +0 -1
- package/dist/platform/soil/compiler.js +0 -78
- package/dist/platform/soil/compiler.js.map +0 -1
- package/dist/platform/soil/config.d.ts +0 -16
- package/dist/platform/soil/config.d.ts.map +0 -1
- package/dist/platform/soil/config.js +0 -29
- package/dist/platform/soil/config.js.map +0 -1
- package/dist/platform/soil/content-projections.d.ts +0 -20
- package/dist/platform/soil/content-projections.d.ts.map +0 -1
- package/dist/platform/soil/content-projections.js +0 -451
- package/dist/platform/soil/content-projections.js.map +0 -1
- package/dist/platform/soil/context-compiler.d.ts +0 -34
- package/dist/platform/soil/context-compiler.d.ts.map +0 -1
- package/dist/platform/soil/context-compiler.js +0 -298
- package/dist/platform/soil/context-compiler.js.map +0 -1
- package/dist/platform/soil/context-evaluation.d.ts +0 -63
- package/dist/platform/soil/context-evaluation.d.ts.map +0 -1
- package/dist/platform/soil/context-evaluation.js +0 -90
- package/dist/platform/soil/context-evaluation.js.map +0 -1
- package/dist/platform/soil/contracts.d.ts +0 -1366
- package/dist/platform/soil/contracts.d.ts.map +0 -1
- package/dist/platform/soil/contracts.js +0 -281
- package/dist/platform/soil/contracts.js.map +0 -1
- package/dist/platform/soil/ddl.d.ts +0 -8
- package/dist/platform/soil/ddl.d.ts.map +0 -1
- package/dist/platform/soil/ddl.js +0 -150
- package/dist/platform/soil/ddl.js.map +0 -1
- package/dist/platform/soil/display/index.d.ts +0 -4
- package/dist/platform/soil/display/index.d.ts.map +0 -1
- package/dist/platform/soil/display/index.js +0 -4
- package/dist/platform/soil/display/index.js.map +0 -1
- package/dist/platform/soil/display/materialize.d.ts +0 -3
- package/dist/platform/soil/display/materialize.d.ts.map +0 -1
- package/dist/platform/soil/display/materialize.js +0 -381
- package/dist/platform/soil/display/materialize.js.map +0 -1
- package/dist/platform/soil/display/registry.d.ts +0 -4
- package/dist/platform/soil/display/registry.d.ts.map +0 -1
- package/dist/platform/soil/display/registry.js +0 -19
- package/dist/platform/soil/display/registry.js.map +0 -1
- package/dist/platform/soil/display/types.d.ts +0 -28
- package/dist/platform/soil/display/types.d.ts.map +0 -1
- package/dist/platform/soil/display/types.js +0 -2
- package/dist/platform/soil/display/types.js.map +0 -1
- package/dist/platform/soil/doctor.d.ts +0 -38
- package/dist/platform/soil/doctor.d.ts.map +0 -1
- package/dist/platform/soil/doctor.js +0 -473
- package/dist/platform/soil/doctor.js.map +0 -1
- package/dist/platform/soil/feedback-store.d.ts +0 -10
- package/dist/platform/soil/feedback-store.d.ts.map +0 -1
- package/dist/platform/soil/feedback-store.js +0 -38
- package/dist/platform/soil/feedback-store.js.map +0 -1
- package/dist/platform/soil/frontmatter.d.ts +0 -15
- package/dist/platform/soil/frontmatter.d.ts.map +0 -1
- package/dist/platform/soil/frontmatter.js +0 -82
- package/dist/platform/soil/frontmatter.js.map +0 -1
- package/dist/platform/soil/health.d.ts +0 -35
- package/dist/platform/soil/health.d.ts.map +0 -1
- package/dist/platform/soil/health.js +0 -126
- package/dist/platform/soil/health.js.map +0 -1
- package/dist/platform/soil/importer.d.ts +0 -118
- package/dist/platform/soil/importer.d.ts.map +0 -1
- package/dist/platform/soil/importer.js +0 -145
- package/dist/platform/soil/importer.js.map +0 -1
- package/dist/platform/soil/index-store.d.ts +0 -89
- package/dist/platform/soil/index-store.d.ts.map +0 -1
- package/dist/platform/soil/index-store.js +0 -408
- package/dist/platform/soil/index-store.js.map +0 -1
- package/dist/platform/soil/index.d.ts +0 -25
- package/dist/platform/soil/index.d.ts.map +0 -1
- package/dist/platform/soil/index.js +0 -25
- package/dist/platform/soil/index.js.map +0 -1
- package/dist/platform/soil/io.d.ts +0 -18
- package/dist/platform/soil/io.d.ts.map +0 -1
- package/dist/platform/soil/io.js +0 -56
- package/dist/platform/soil/io.js.map +0 -1
- package/dist/platform/soil/open.d.ts +0 -32
- package/dist/platform/soil/open.d.ts.map +0 -1
- package/dist/platform/soil/open.js +0 -80
- package/dist/platform/soil/open.js.map +0 -1
- package/dist/platform/soil/paths.d.ts +0 -9
- package/dist/platform/soil/paths.d.ts.map +0 -1
- package/dist/platform/soil/paths.js +0 -78
- package/dist/platform/soil/paths.js.map +0 -1
- package/dist/platform/soil/projection-support.d.ts +0 -48
- package/dist/platform/soil/projection-support.d.ts.map +0 -1
- package/dist/platform/soil/projection-support.js +0 -107
- package/dist/platform/soil/projection-support.js.map +0 -1
- package/dist/platform/soil/projections.d.ts +0 -16
- package/dist/platform/soil/projections.d.ts.map +0 -1
- package/dist/platform/soil/projections.js +0 -265
- package/dist/platform/soil/projections.js.map +0 -1
- package/dist/platform/soil/publish/apple-notes.d.ts +0 -15
- package/dist/platform/soil/publish/apple-notes.d.ts.map +0 -1
- package/dist/platform/soil/publish/apple-notes.js +0 -58
- package/dist/platform/soil/publish/apple-notes.js.map +0 -1
- package/dist/platform/soil/publish/config.d.ts +0 -14
- package/dist/platform/soil/publish/config.d.ts.map +0 -1
- package/dist/platform/soil/publish/config.js +0 -59
- package/dist/platform/soil/publish/config.js.map +0 -1
- package/dist/platform/soil/publish/index.d.ts +0 -7
- package/dist/platform/soil/publish/index.d.ts.map +0 -1
- package/dist/platform/soil/publish/index.js +0 -7
- package/dist/platform/soil/publish/index.js.map +0 -1
- package/dist/platform/soil/publish/notion.d.ts +0 -51
- package/dist/platform/soil/publish/notion.d.ts.map +0 -1
- package/dist/platform/soil/publish/notion.js +0 -201
- package/dist/platform/soil/publish/notion.js.map +0 -1
- package/dist/platform/soil/publish/publisher.d.ts +0 -13
- package/dist/platform/soil/publish/publisher.d.ts.map +0 -1
- package/dist/platform/soil/publish/publisher.js +0 -57
- package/dist/platform/soil/publish/publisher.js.map +0 -1
- package/dist/platform/soil/publish/snapshot.d.ts +0 -4
- package/dist/platform/soil/publish/snapshot.d.ts.map +0 -1
- package/dist/platform/soil/publish/snapshot.js +0 -40
- package/dist/platform/soil/publish/snapshot.js.map +0 -1
- package/dist/platform/soil/publish/types.d.ts +0 -169
- package/dist/platform/soil/publish/types.d.ts.map +0 -1
- package/dist/platform/soil/publish/types.js +0 -32
- package/dist/platform/soil/publish/types.js.map +0 -1
- package/dist/platform/soil/retriever.d.ts +0 -52
- package/dist/platform/soil/retriever.d.ts.map +0 -1
- package/dist/platform/soil/retriever.js +0 -262
- package/dist/platform/soil/retriever.js.map +0 -1
- package/dist/platform/soil/runtime-rebuild.d.ts +0 -33
- package/dist/platform/soil/runtime-rebuild.d.ts.map +0 -1
- package/dist/platform/soil/runtime-rebuild.js +0 -200
- package/dist/platform/soil/runtime-rebuild.js.map +0 -1
- package/dist/platform/soil/sqlite-repository.d.ts +0 -25
- package/dist/platform/soil/sqlite-repository.d.ts.map +0 -1
- package/dist/platform/soil/sqlite-repository.js +0 -929
- package/dist/platform/soil/sqlite-repository.js.map +0 -1
- package/dist/platform/soil/types.d.ts +0 -506
- package/dist/platform/soil/types.d.ts.map +0 -1
- package/dist/platform/soil/types.js +0 -146
- package/dist/platform/soil/types.js.map +0 -1
- package/dist/platform/time/effect-latency-estimator.d.ts +0 -15
- package/dist/platform/time/effect-latency-estimator.d.ts.map +0 -1
- package/dist/platform/time/effect-latency-estimator.js +0 -39
- package/dist/platform/time/effect-latency-estimator.js.map +0 -1
- package/dist/platform/time/time-horizon-engine.d.ts +0 -18
- package/dist/platform/time/time-horizon-engine.d.ts.map +0 -1
- package/dist/platform/time/time-horizon-engine.js +0 -215
- package/dist/platform/time/time-horizon-engine.js.map +0 -1
- package/dist/platform/tools/executor.d.ts +0 -2
- package/dist/platform/tools/executor.d.ts.map +0 -1
- package/dist/platform/tools/executor.js +0 -2
- package/dist/platform/tools/executor.js.map +0 -1
- package/dist/platform/traits/character-config.d.ts +0 -34
- package/dist/platform/traits/character-config.d.ts.map +0 -1
- package/dist/platform/traits/character-config.js +0 -53
- package/dist/platform/traits/character-config.js.map +0 -1
- package/dist/platform/traits/curiosity-engine.d.ts +0 -177
- package/dist/platform/traits/curiosity-engine.d.ts.map +0 -1
- package/dist/platform/traits/curiosity-engine.js +0 -523
- package/dist/platform/traits/curiosity-engine.js.map +0 -1
- package/dist/platform/traits/curiosity-proposals.d.ts +0 -38
- package/dist/platform/traits/curiosity-proposals.d.ts.map +0 -1
- package/dist/platform/traits/curiosity-proposals.js +0 -259
- package/dist/platform/traits/curiosity-proposals.js.map +0 -1
- package/dist/platform/traits/curiosity-transfer.d.ts +0 -27
- package/dist/platform/traits/curiosity-transfer.d.ts.map +0 -1
- package/dist/platform/traits/curiosity-transfer.js +0 -50
- package/dist/platform/traits/curiosity-transfer.js.map +0 -1
- package/dist/platform/traits/ethics-gate.d.ts +0 -77
- package/dist/platform/traits/ethics-gate.d.ts.map +0 -1
- package/dist/platform/traits/ethics-gate.js +0 -245
- package/dist/platform/traits/ethics-gate.js.map +0 -1
- package/dist/platform/traits/ethics-rules.d.ts +0 -10
- package/dist/platform/traits/ethics-rules.d.ts.map +0 -1
- package/dist/platform/traits/ethics-rules.js +0 -332
- package/dist/platform/traits/ethics-rules.js.map +0 -1
- package/dist/platform/traits/guardrail-runner.d.ts +0 -29
- package/dist/platform/traits/guardrail-runner.d.ts.map +0 -1
- package/dist/platform/traits/guardrail-runner.js +0 -81
- package/dist/platform/traits/guardrail-runner.js.map +0 -1
- package/dist/platform/traits/trust-manager.d.ts +0 -90
- package/dist/platform/traits/trust-manager.d.ts.map +0 -1
- package/dist/platform/traits/trust-manager.js +0 -276
- package/dist/platform/traits/trust-manager.js.map +0 -1
- package/dist/platform/traits/types/character.d.ts +0 -20
- package/dist/platform/traits/types/character.d.ts.map +0 -1
- package/dist/platform/traits/types/character.js +0 -10
- package/dist/platform/traits/types/character.js.map +0 -1
- package/dist/platform/traits/types/curiosity.d.ts +0 -443
- package/dist/platform/traits/types/curiosity.d.ts.map +0 -1
- package/dist/platform/traits/types/curiosity.js +0 -86
- package/dist/platform/traits/types/curiosity.js.map +0 -1
- package/dist/platform/traits/types/ethics.d.ts +0 -169
- package/dist/platform/traits/types/ethics.d.ts.map +0 -1
- package/dist/platform/traits/types/ethics.js +0 -47
- package/dist/platform/traits/types/ethics.js.map +0 -1
- package/dist/platform/traits/types/guardrail.d.ts +0 -104
- package/dist/platform/traits/types/guardrail.d.ts.map +0 -1
- package/dist/platform/traits/types/guardrail.js +0 -34
- package/dist/platform/traits/types/guardrail.js.map +0 -1
- package/dist/platform/traits/types/trust.d.ts +0 -126
- package/dist/platform/traits/types/trust.d.ts.map +0 -1
- package/dist/platform/traits/types/trust.js +0 -38
- package/dist/platform/traits/types/trust.js.map +0 -1
- package/dist/prompt/context-assembler.d.ts +0 -118
- package/dist/prompt/context-assembler.d.ts.map +0 -1
- package/dist/prompt/context-assembler.js +0 -371
- package/dist/prompt/context-assembler.js.map +0 -1
- package/dist/prompt/formatters.d.ts +0 -50
- package/dist/prompt/formatters.d.ts.map +0 -1
- package/dist/prompt/formatters.js +0 -135
- package/dist/prompt/formatters.js.map +0 -1
- package/dist/prompt/gateway.d.ts +0 -30
- package/dist/prompt/gateway.d.ts.map +0 -1
- package/dist/prompt/gateway.js +0 -110
- package/dist/prompt/gateway.js.map +0 -1
- package/dist/prompt/purposes/capability.d.ts +0 -64
- package/dist/prompt/purposes/capability.d.ts.map +0 -1
- package/dist/prompt/purposes/capability.js +0 -38
- package/dist/prompt/purposes/capability.js.map +0 -1
- package/dist/prompt/purposes/checkpoint.d.ts +0 -22
- package/dist/prompt/purposes/checkpoint.d.ts.map +0 -1
- package/dist/prompt/purposes/checkpoint.js +0 -17
- package/dist/prompt/purposes/checkpoint.js.map +0 -1
- package/dist/prompt/purposes/curiosity.d.ts +0 -41
- package/dist/prompt/purposes/curiosity.d.ts.map +0 -1
- package/dist/prompt/purposes/curiosity.js +0 -19
- package/dist/prompt/purposes/curiosity.js.map +0 -1
- package/dist/prompt/purposes/dependency.d.ts +0 -34
- package/dist/prompt/purposes/dependency.d.ts.map +0 -1
- package/dist/prompt/purposes/dependency.js +0 -21
- package/dist/prompt/purposes/dependency.js.map +0 -1
- package/dist/prompt/purposes/dream.d.ts +0 -9
- package/dist/prompt/purposes/dream.d.ts.map +0 -1
- package/dist/prompt/purposes/dream.js +0 -71
- package/dist/prompt/purposes/dream.js.map +0 -1
- package/dist/prompt/purposes/ethics.d.ts +0 -47
- package/dist/prompt/purposes/ethics.d.ts.map +0 -1
- package/dist/prompt/purposes/ethics.js +0 -89
- package/dist/prompt/purposes/ethics.js.map +0 -1
- package/dist/prompt/purposes/final-migration.d.ts +0 -15
- package/dist/prompt/purposes/final-migration.d.ts.map +0 -1
- package/dist/prompt/purposes/final-migration.js +0 -15
- package/dist/prompt/purposes/final-migration.js.map +0 -1
- package/dist/prompt/purposes/goal-decomposition.d.ts +0 -46
- package/dist/prompt/purposes/goal-decomposition.d.ts.map +0 -1
- package/dist/prompt/purposes/goal-decomposition.js +0 -20
- package/dist/prompt/purposes/goal-decomposition.js.map +0 -1
- package/dist/prompt/purposes/goal-quality.d.ts +0 -61
- package/dist/prompt/purposes/goal-quality.d.ts.map +0 -1
- package/dist/prompt/purposes/goal-quality.js +0 -37
- package/dist/prompt/purposes/goal-quality.js.map +0 -1
- package/dist/prompt/purposes/index.d.ts +0 -30
- package/dist/prompt/purposes/index.d.ts.map +0 -1
- package/dist/prompt/purposes/index.js +0 -321
- package/dist/prompt/purposes/index.js.map +0 -1
- package/dist/prompt/purposes/knowledge-transfer.d.ts +0 -81
- package/dist/prompt/purposes/knowledge-transfer.d.ts.map +0 -1
- package/dist/prompt/purposes/knowledge-transfer.js +0 -33
- package/dist/prompt/purposes/knowledge-transfer.js.map +0 -1
- package/dist/prompt/purposes/knowledge.d.ts +0 -88
- package/dist/prompt/purposes/knowledge.d.ts.map +0 -1
- package/dist/prompt/purposes/knowledge.js +0 -59
- package/dist/prompt/purposes/knowledge.js.map +0 -1
- package/dist/prompt/purposes/learning.d.ts +0 -70
- package/dist/prompt/purposes/learning.d.ts.map +0 -1
- package/dist/prompt/purposes/learning.js +0 -32
- package/dist/prompt/purposes/learning.js.map +0 -1
- package/dist/prompt/purposes/memory-distill.d.ts +0 -75
- package/dist/prompt/purposes/memory-distill.d.ts.map +0 -1
- package/dist/prompt/purposes/memory-distill.js +0 -27
- package/dist/prompt/purposes/memory-distill.js.map +0 -1
- package/dist/prompt/purposes/observation.d.ts +0 -25
- package/dist/prompt/purposes/observation.d.ts.map +0 -1
- package/dist/prompt/purposes/observation.js +0 -17
- package/dist/prompt/purposes/observation.js.map +0 -1
- package/dist/prompt/purposes/strategy-template.d.ts +0 -57
- package/dist/prompt/purposes/strategy-template.d.ts.map +0 -1
- package/dist/prompt/purposes/strategy-template.js +0 -31
- package/dist/prompt/purposes/strategy-template.js.map +0 -1
- package/dist/prompt/purposes/strategy.d.ts +0 -11
- package/dist/prompt/purposes/strategy.d.ts.map +0 -1
- package/dist/prompt/purposes/strategy.js +0 -29
- package/dist/prompt/purposes/strategy.js.map +0 -1
- package/dist/prompt/purposes/task-generation.d.ts +0 -26
- package/dist/prompt/purposes/task-generation.d.ts.map +0 -1
- package/dist/prompt/purposes/task-generation.js +0 -22
- package/dist/prompt/purposes/task-generation.js.map +0 -1
- package/dist/prompt/purposes/verification.d.ts +0 -25
- package/dist/prompt/purposes/verification.d.ts.map +0 -1
- package/dist/prompt/purposes/verification.js +0 -17
- package/dist/prompt/purposes/verification.js.map +0 -1
- package/dist/prompt/slot-definitions.d.ts +0 -33
- package/dist/prompt/slot-definitions.d.ts.map +0 -1
- package/dist/prompt/slot-definitions.js +0 -383
- package/dist/prompt/slot-definitions.js.map +0 -1
- package/dist/reflection/dream-consolidation.d.ts +0 -11
- package/dist/reflection/dream-consolidation.d.ts.map +0 -1
- package/dist/reflection/dream-consolidation.js +0 -61
- package/dist/reflection/dream-consolidation.js.map +0 -1
- package/dist/reflection/evening-catchup.d.ts +0 -13
- package/dist/reflection/evening-catchup.d.ts.map +0 -1
- package/dist/reflection/evening-catchup.js +0 -82
- package/dist/reflection/evening-catchup.js.map +0 -1
- package/dist/reflection/index.d.ts +0 -7
- package/dist/reflection/index.d.ts.map +0 -1
- package/dist/reflection/index.js +0 -6
- package/dist/reflection/index.js.map +0 -1
- package/dist/reflection/morning-planning.d.ts +0 -13
- package/dist/reflection/morning-planning.d.ts.map +0 -1
- package/dist/reflection/morning-planning.js +0 -68
- package/dist/reflection/morning-planning.js.map +0 -1
- package/dist/reflection/reflection-utils.d.ts +0 -16
- package/dist/reflection/reflection-utils.d.ts.map +0 -1
- package/dist/reflection/reflection-utils.js +0 -56
- package/dist/reflection/reflection-utils.js.map +0 -1
- package/dist/reflection/types/reflection.d.ts +0 -34
- package/dist/reflection/types/reflection.d.ts.map +0 -1
- package/dist/reflection/types/reflection.js +0 -14
- package/dist/reflection/types/reflection.js.map +0 -1
- package/dist/reflection/types.d.ts +0 -168
- package/dist/reflection/types.d.ts.map +0 -1
- package/dist/reflection/types.js +0 -58
- package/dist/reflection/types.js.map +0 -1
- package/dist/reflection/weekly-review.d.ts +0 -11
- package/dist/reflection/weekly-review.d.ts.map +0 -1
- package/dist/reflection/weekly-review.js +0 -106
- package/dist/reflection/weekly-review.js.map +0 -1
- package/dist/reporting/report-formatters.d.ts +0 -19
- package/dist/reporting/report-formatters.d.ts.map +0 -1
- package/dist/reporting/report-formatters.js +0 -155
- package/dist/reporting/report-formatters.js.map +0 -1
- package/dist/reporting/reporting-engine.d.ts +0 -37
- package/dist/reporting/reporting-engine.d.ts.map +0 -1
- package/dist/reporting/reporting-engine.js +0 -429
- package/dist/reporting/reporting-engine.js.map +0 -1
- package/dist/reporting/reporting-types.d.ts +0 -25
- package/dist/reporting/reporting-types.d.ts.map +0 -1
- package/dist/reporting/reporting-types.js +0 -2
- package/dist/reporting/reporting-types.js.map +0 -1
- package/dist/reporting/types/report.d.ts +0 -112
- package/dist/reporting/types/report.d.ts.map +0 -1
- package/dist/reporting/types/report.js +0 -34
- package/dist/reporting/types/report.js.map +0 -1
- package/dist/runtime/approval-broker.d.ts +0 -44
- package/dist/runtime/approval-broker.d.ts.map +0 -1
- package/dist/runtime/approval-broker.js +0 -164
- package/dist/runtime/approval-broker.js.map +0 -1
- package/dist/runtime/builtin-integrations.d.ts +0 -4
- package/dist/runtime/builtin-integrations.d.ts.map +0 -1
- package/dist/runtime/builtin-integrations.js +0 -45
- package/dist/runtime/builtin-integrations.js.map +0 -1
- package/dist/runtime/change-detector.d.ts +0 -6
- package/dist/runtime/change-detector.d.ts.map +0 -1
- package/dist/runtime/change-detector.js +0 -53
- package/dist/runtime/change-detector.js.map +0 -1
- package/dist/runtime/channels/email-channel.d.ts +0 -4
- package/dist/runtime/channels/email-channel.d.ts.map +0 -1
- package/dist/runtime/channels/email-channel.js +0 -65
- package/dist/runtime/channels/email-channel.js.map +0 -1
- package/dist/runtime/channels/http-post.d.ts +0 -6
- package/dist/runtime/channels/http-post.d.ts.map +0 -1
- package/dist/runtime/channels/http-post.js +0 -50
- package/dist/runtime/channels/http-post.js.map +0 -1
- package/dist/runtime/channels/slack-channel.d.ts +0 -4
- package/dist/runtime/channels/slack-channel.d.ts.map +0 -1
- package/dist/runtime/channels/slack-channel.js +0 -87
- package/dist/runtime/channels/slack-channel.js.map +0 -1
- package/dist/runtime/channels/webhook-channel.d.ts +0 -4
- package/dist/runtime/channels/webhook-channel.d.ts.map +0 -1
- package/dist/runtime/channels/webhook-channel.js +0 -47
- package/dist/runtime/channels/webhook-channel.js.map +0 -1
- package/dist/runtime/command-dispatcher.d.ts +0 -38
- package/dist/runtime/command-dispatcher.d.ts.map +0 -1
- package/dist/runtime/command-dispatcher.js +0 -165
- package/dist/runtime/command-dispatcher.js.map +0 -1
- package/dist/runtime/control/daemon-runtime-control-executor.d.ts +0 -13
- package/dist/runtime/control/daemon-runtime-control-executor.d.ts.map +0 -1
- package/dist/runtime/control/daemon-runtime-control-executor.js +0 -46
- package/dist/runtime/control/daemon-runtime-control-executor.js.map +0 -1
- package/dist/runtime/control/index.d.ts +0 -7
- package/dist/runtime/control/index.d.ts.map +0 -1
- package/dist/runtime/control/index.js +0 -4
- package/dist/runtime/control/index.js.map +0 -1
- package/dist/runtime/control/runtime-control-intent.d.ts +0 -7
- package/dist/runtime/control/runtime-control-intent.d.ts.map +0 -1
- package/dist/runtime/control/runtime-control-intent.js +0 -31
- package/dist/runtime/control/runtime-control-intent.js.map +0 -1
- package/dist/runtime/control/runtime-control-service.d.ts +0 -44
- package/dist/runtime/control/runtime-control-service.d.ts.map +0 -1
- package/dist/runtime/control/runtime-control-service.js +0 -143
- package/dist/runtime/control/runtime-control-service.js.map +0 -1
- package/dist/runtime/cron-scheduler.d.ts +0 -13
- package/dist/runtime/cron-scheduler.d.ts.map +0 -1
- package/dist/runtime/cron-scheduler.js +0 -90
- package/dist/runtime/cron-scheduler.js.map +0 -1
- package/dist/runtime/daemon/client.d.ts +0 -105
- package/dist/runtime/daemon/client.d.ts.map +0 -1
- package/dist/runtime/daemon/client.js +0 -403
- package/dist/runtime/daemon/client.js.map +0 -1
- package/dist/runtime/daemon/health.d.ts +0 -31
- package/dist/runtime/daemon/health.d.ts.map +0 -1
- package/dist/runtime/daemon/health.js +0 -113
- package/dist/runtime/daemon/health.js.map +0 -1
- package/dist/runtime/daemon/index.d.ts +0 -9
- package/dist/runtime/daemon/index.d.ts.map +0 -1
- package/dist/runtime/daemon/index.js +0 -8
- package/dist/runtime/daemon/index.js.map +0 -1
- package/dist/runtime/daemon/maintenance.d.ts +0 -105
- package/dist/runtime/daemon/maintenance.d.ts.map +0 -1
- package/dist/runtime/daemon/maintenance.js +0 -334
- package/dist/runtime/daemon/maintenance.js.map +0 -1
- package/dist/runtime/daemon/persistence.d.ts +0 -20
- package/dist/runtime/daemon/persistence.d.ts.map +0 -1
- package/dist/runtime/daemon/persistence.js +0 -125
- package/dist/runtime/daemon/persistence.js.map +0 -1
- package/dist/runtime/daemon/runner-errors.d.ts +0 -28
- package/dist/runtime/daemon/runner-errors.d.ts.map +0 -1
- package/dist/runtime/daemon/runner-errors.js +0 -41
- package/dist/runtime/daemon/runner-errors.js.map +0 -1
- package/dist/runtime/daemon/runner-lifecycle.d.ts +0 -29
- package/dist/runtime/daemon/runner-lifecycle.d.ts.map +0 -1
- package/dist/runtime/daemon/runner-lifecycle.js +0 -57
- package/dist/runtime/daemon/runner-lifecycle.js.map +0 -1
- package/dist/runtime/daemon/runner-recovery.d.ts +0 -12
- package/dist/runtime/daemon/runner-recovery.d.ts.map +0 -1
- package/dist/runtime/daemon/runner-recovery.js +0 -146
- package/dist/runtime/daemon/runner-recovery.js.map +0 -1
- package/dist/runtime/daemon/runner.d.ts +0 -292
- package/dist/runtime/daemon/runner.d.ts.map +0 -1
- package/dist/runtime/daemon/runner.js +0 -1666
- package/dist/runtime/daemon/runner.js.map +0 -1
- package/dist/runtime/daemon/runtime-ownership.d.ts +0 -40
- package/dist/runtime/daemon/runtime-ownership.d.ts.map +0 -1
- package/dist/runtime/daemon/runtime-ownership.js +0 -241
- package/dist/runtime/daemon/runtime-ownership.js.map +0 -1
- package/dist/runtime/daemon/signals.d.ts +0 -17
- package/dist/runtime/daemon/signals.d.ts.map +0 -1
- package/dist/runtime/daemon/signals.js +0 -31
- package/dist/runtime/daemon/signals.js.map +0 -1
- package/dist/runtime/daemon/types.d.ts +0 -8
- package/dist/runtime/daemon/types.d.ts.map +0 -1
- package/dist/runtime/daemon/types.js +0 -2
- package/dist/runtime/daemon/types.js.map +0 -1
- package/dist/runtime/daemon-client.d.ts +0 -2
- package/dist/runtime/daemon-client.d.ts.map +0 -1
- package/dist/runtime/daemon-client.js +0 -2
- package/dist/runtime/daemon-client.js.map +0 -1
- package/dist/runtime/daemon-runner.d.ts +0 -2
- package/dist/runtime/daemon-runner.d.ts.map +0 -1
- package/dist/runtime/daemon-runner.js +0 -2
- package/dist/runtime/daemon-runner.js.map +0 -1
- package/dist/runtime/event/dispatcher.d.ts +0 -34
- package/dist/runtime/event/dispatcher.d.ts.map +0 -1
- package/dist/runtime/event/dispatcher.js +0 -124
- package/dist/runtime/event/dispatcher.js.map +0 -1
- package/dist/runtime/event/index.d.ts +0 -5
- package/dist/runtime/event/index.d.ts.map +0 -1
- package/dist/runtime/event/index.js +0 -5
- package/dist/runtime/event/index.js.map +0 -1
- package/dist/runtime/event/server-snapshot-reader.d.ts +0 -31
- package/dist/runtime/event/server-snapshot-reader.d.ts.map +0 -1
- package/dist/runtime/event/server-snapshot-reader.js +0 -94
- package/dist/runtime/event/server-snapshot-reader.js.map +0 -1
- package/dist/runtime/event/server-sse.d.ts +0 -25
- package/dist/runtime/event/server-sse.d.ts.map +0 -1
- package/dist/runtime/event/server-sse.js +0 -148
- package/dist/runtime/event/server-sse.js.map +0 -1
- package/dist/runtime/event/server.d.ts +0 -148
- package/dist/runtime/event/server.d.ts.map +0 -1
- package/dist/runtime/event/server.js +0 -959
- package/dist/runtime/event/server.js.map +0 -1
- package/dist/runtime/event-server.d.ts +0 -2
- package/dist/runtime/event-server.d.ts.map +0 -1
- package/dist/runtime/event-server.js +0 -2
- package/dist/runtime/event-server.js.map +0 -1
- package/dist/runtime/executor/goal-worker.d.ts +0 -35
- package/dist/runtime/executor/goal-worker.d.ts.map +0 -1
- package/dist/runtime/executor/goal-worker.js +0 -90
- package/dist/runtime/executor/goal-worker.js.map +0 -1
- package/dist/runtime/executor/index.d.ts +0 -3
- package/dist/runtime/executor/index.d.ts.map +0 -1
- package/dist/runtime/executor/index.js +0 -3
- package/dist/runtime/executor/index.js.map +0 -1
- package/dist/runtime/executor/loop-supervisor.d.ts +0 -78
- package/dist/runtime/executor/loop-supervisor.d.ts.map +0 -1
- package/dist/runtime/executor/loop-supervisor.js +0 -404
- package/dist/runtime/executor/loop-supervisor.js.map +0 -1
- package/dist/runtime/foreign-plugins/compatibility.d.ts +0 -7
- package/dist/runtime/foreign-plugins/compatibility.d.ts.map +0 -1
- package/dist/runtime/foreign-plugins/compatibility.js +0 -175
- package/dist/runtime/foreign-plugins/compatibility.js.map +0 -1
- package/dist/runtime/foreign-plugins/index.d.ts +0 -3
- package/dist/runtime/foreign-plugins/index.d.ts.map +0 -1
- package/dist/runtime/foreign-plugins/index.js +0 -2
- package/dist/runtime/foreign-plugins/index.js.map +0 -1
- package/dist/runtime/foreign-plugins/types.d.ts +0 -25
- package/dist/runtime/foreign-plugins/types.d.ts.map +0 -1
- package/dist/runtime/foreign-plugins/types.js +0 -2
- package/dist/runtime/foreign-plugins/types.js.map +0 -1
- package/dist/runtime/gateway/channel-adapter.d.ts +0 -21
- package/dist/runtime/gateway/channel-adapter.d.ts.map +0 -1
- package/dist/runtime/gateway/channel-adapter.js +0 -2
- package/dist/runtime/gateway/channel-adapter.js.map +0 -1
- package/dist/runtime/gateway/channel-policy.d.ts +0 -40
- package/dist/runtime/gateway/channel-policy.d.ts.map +0 -1
- package/dist/runtime/gateway/channel-policy.js +0 -55
- package/dist/runtime/gateway/channel-policy.js.map +0 -1
- package/dist/runtime/gateway/http-channel-adapter.d.ts +0 -23
- package/dist/runtime/gateway/http-channel-adapter.d.ts.map +0 -1
- package/dist/runtime/gateway/http-channel-adapter.js +0 -51
- package/dist/runtime/gateway/http-channel-adapter.js.map +0 -1
- package/dist/runtime/gateway/index.d.ts +0 -8
- package/dist/runtime/gateway/index.d.ts.map +0 -1
- package/dist/runtime/gateway/index.js +0 -5
- package/dist/runtime/gateway/index.js.map +0 -1
- package/dist/runtime/gateway/ingress-gateway.d.ts +0 -39
- package/dist/runtime/gateway/ingress-gateway.d.ts.map +0 -1
- package/dist/runtime/gateway/ingress-gateway.js +0 -147
- package/dist/runtime/gateway/ingress-gateway.js.map +0 -1
- package/dist/runtime/gateway/slack-channel-adapter.d.ts +0 -48
- package/dist/runtime/gateway/slack-channel-adapter.d.ts.map +0 -1
- package/dist/runtime/gateway/slack-channel-adapter.js +0 -148
- package/dist/runtime/gateway/slack-channel-adapter.js.map +0 -1
- package/dist/runtime/gateway/ws-channel-adapter.d.ts +0 -40
- package/dist/runtime/gateway/ws-channel-adapter.d.ts.map +0 -1
- package/dist/runtime/gateway/ws-channel-adapter.js +0 -104
- package/dist/runtime/gateway/ws-channel-adapter.js.map +0 -1
- package/dist/runtime/goal-lease-manager.d.ts +0 -35
- package/dist/runtime/goal-lease-manager.d.ts.map +0 -1
- package/dist/runtime/goal-lease-manager.js +0 -191
- package/dist/runtime/goal-lease-manager.js.map +0 -1
- package/dist/runtime/hook-manager.d.ts +0 -45
- package/dist/runtime/hook-manager.d.ts.map +0 -1
- package/dist/runtime/hook-manager.js +0 -207
- package/dist/runtime/hook-manager.js.map +0 -1
- package/dist/runtime/leader-lock-manager.d.ts +0 -30
- package/dist/runtime/leader-lock-manager.d.ts.map +0 -1
- package/dist/runtime/leader-lock-manager.js +0 -161
- package/dist/runtime/leader-lock-manager.js.map +0 -1
- package/dist/runtime/logger.d.ts +0 -57
- package/dist/runtime/logger.d.ts.map +0 -1
- package/dist/runtime/logger.js +0 -254
- package/dist/runtime/logger.js.map +0 -1
- package/dist/runtime/notification-batcher.d.ts +0 -28
- package/dist/runtime/notification-batcher.d.ts.map +0 -1
- package/dist/runtime/notification-batcher.js +0 -100
- package/dist/runtime/notification-batcher.js.map +0 -1
- package/dist/runtime/notification-dispatcher.d.ts +0 -56
- package/dist/runtime/notification-dispatcher.d.ts.map +0 -1
- package/dist/runtime/notification-dispatcher.js +0 -280
- package/dist/runtime/notification-dispatcher.js.map +0 -1
- package/dist/runtime/notification-routing.d.ts +0 -16
- package/dist/runtime/notification-routing.d.ts.map +0 -1
- package/dist/runtime/notification-routing.js +0 -147
- package/dist/runtime/notification-routing.js.map +0 -1
- package/dist/runtime/notifier-registry.d.ts +0 -26
- package/dist/runtime/notifier-registry.d.ts.map +0 -1
- package/dist/runtime/notifier-registry.js +0 -36
- package/dist/runtime/notifier-registry.js.map +0 -1
- package/dist/runtime/pid-manager.d.ts +0 -68
- package/dist/runtime/pid-manager.d.ts.map +0 -1
- package/dist/runtime/pid-manager.js +0 -399
- package/dist/runtime/pid-manager.js.map +0 -1
- package/dist/runtime/plugin-loader.d.ts +0 -87
- package/dist/runtime/plugin-loader.d.ts.map +0 -1
- package/dist/runtime/plugin-loader.js +0 -389
- package/dist/runtime/plugin-loader.js.map +0 -1
- package/dist/runtime/port-utils.d.ts +0 -6
- package/dist/runtime/port-utils.d.ts.map +0 -1
- package/dist/runtime/port-utils.js +0 -37
- package/dist/runtime/port-utils.js.map +0 -1
- package/dist/runtime/queue/index.d.ts +0 -6
- package/dist/runtime/queue/index.d.ts.map +0 -1
- package/dist/runtime/queue/index.js +0 -4
- package/dist/runtime/queue/index.js.map +0 -1
- package/dist/runtime/queue/journal-backed-queue.d.ts +0 -80
- package/dist/runtime/queue/journal-backed-queue.d.ts.map +0 -1
- package/dist/runtime/queue/journal-backed-queue.js +0 -511
- package/dist/runtime/queue/journal-backed-queue.js.map +0 -1
- package/dist/runtime/queue/priority-queue.d.ts +0 -13
- package/dist/runtime/queue/priority-queue.d.ts.map +0 -1
- package/dist/runtime/queue/priority-queue.js +0 -56
- package/dist/runtime/queue/priority-queue.js.map +0 -1
- package/dist/runtime/queue/queue-claim-sweeper.d.ts +0 -15
- package/dist/runtime/queue/queue-claim-sweeper.d.ts.map +0 -1
- package/dist/runtime/queue/queue-claim-sweeper.js +0 -28
- package/dist/runtime/queue/queue-claim-sweeper.js.map +0 -1
- package/dist/runtime/schedule/engine-layers.d.ts +0 -44
- package/dist/runtime/schedule/engine-layers.d.ts.map +0 -1
- package/dist/runtime/schedule/engine-layers.js +0 -554
- package/dist/runtime/schedule/engine-layers.js.map +0 -1
- package/dist/runtime/schedule/engine.d.ts +0 -133
- package/dist/runtime/schedule/engine.d.ts.map +0 -1
- package/dist/runtime/schedule/engine.js +0 -1111
- package/dist/runtime/schedule/engine.js.map +0 -1
- package/dist/runtime/schedule/entry-resolver.d.ts +0 -6
- package/dist/runtime/schedule/entry-resolver.d.ts.map +0 -1
- package/dist/runtime/schedule/entry-resolver.js +0 -21
- package/dist/runtime/schedule/entry-resolver.js.map +0 -1
- package/dist/runtime/schedule/history.d.ts +0 -93
- package/dist/runtime/schedule/history.d.ts.map +0 -1
- package/dist/runtime/schedule/history.js +0 -69
- package/dist/runtime/schedule/history.js.map +0 -1
- package/dist/runtime/schedule/index.d.ts +0 -6
- package/dist/runtime/schedule/index.d.ts.map +0 -1
- package/dist/runtime/schedule/index.js +0 -6
- package/dist/runtime/schedule/index.js.map +0 -1
- package/dist/runtime/schedule/presets.d.ts +0 -649
- package/dist/runtime/schedule/presets.d.ts.map +0 -1
- package/dist/runtime/schedule/presets.js +0 -190
- package/dist/runtime/schedule/presets.js.map +0 -1
- package/dist/runtime/schedule/source.d.ts +0 -80
- package/dist/runtime/schedule/source.d.ts.map +0 -1
- package/dist/runtime/schedule/source.js +0 -21
- package/dist/runtime/schedule/source.js.map +0 -1
- package/dist/runtime/schedule-engine.d.ts +0 -2
- package/dist/runtime/schedule-engine.d.ts.map +0 -1
- package/dist/runtime/schedule-engine.js +0 -2
- package/dist/runtime/schedule-engine.js.map +0 -1
- package/dist/runtime/schedule-presets.d.ts +0 -2
- package/dist/runtime/schedule-presets.d.ts.map +0 -1
- package/dist/runtime/schedule-presets.js +0 -2
- package/dist/runtime/schedule-presets.js.map +0 -1
- package/dist/runtime/skills/skill-parser.d.ts +0 -13
- package/dist/runtime/skills/skill-parser.d.ts.map +0 -1
- package/dist/runtime/skills/skill-parser.js +0 -64
- package/dist/runtime/skills/skill-parser.js.map +0 -1
- package/dist/runtime/skills/skill-registry.d.ts +0 -31
- package/dist/runtime/skills/skill-registry.d.ts.map +0 -1
- package/dist/runtime/skills/skill-registry.js +0 -108
- package/dist/runtime/skills/skill-registry.js.map +0 -1
- package/dist/runtime/store/approval-store.d.ts +0 -33
- package/dist/runtime/store/approval-store.d.ts.map +0 -1
- package/dist/runtime/store/approval-store.js +0 -163
- package/dist/runtime/store/approval-store.js.map +0 -1
- package/dist/runtime/store/health-store.d.ts +0 -17
- package/dist/runtime/store/health-store.d.ts.map +0 -1
- package/dist/runtime/store/health-store.js +0 -188
- package/dist/runtime/store/health-store.js.map +0 -1
- package/dist/runtime/store/index.d.ts +0 -13
- package/dist/runtime/store/index.d.ts.map +0 -1
- package/dist/runtime/store/index.js +0 -9
- package/dist/runtime/store/index.js.map +0 -1
- package/dist/runtime/store/outbox-store.d.ts +0 -25
- package/dist/runtime/store/outbox-store.d.ts.map +0 -1
- package/dist/runtime/store/outbox-store.js +0 -116
- package/dist/runtime/store/outbox-store.js.map +0 -1
- package/dist/runtime/store/runtime-journal.d.ts +0 -19
- package/dist/runtime/store/runtime-journal.d.ts.map +0 -1
- package/dist/runtime/store/runtime-journal.js +0 -77
- package/dist/runtime/store/runtime-journal.js.map +0 -1
- package/dist/runtime/store/runtime-operation-schemas.d.ts +0 -213
- package/dist/runtime/store/runtime-operation-schemas.d.ts.map +0 -1
- package/dist/runtime/store/runtime-operation-schemas.js +0 -62
- package/dist/runtime/store/runtime-operation-schemas.js.map +0 -1
- package/dist/runtime/store/runtime-operation-store.d.ts +0 -17
- package/dist/runtime/store/runtime-operation-store.d.ts.map +0 -1
- package/dist/runtime/store/runtime-operation-store.js +0 -57
- package/dist/runtime/store/runtime-operation-store.js.map +0 -1
- package/dist/runtime/store/runtime-paths.d.ts +0 -35
- package/dist/runtime/store/runtime-paths.d.ts.map +0 -1
- package/dist/runtime/store/runtime-paths.js +0 -108
- package/dist/runtime/store/runtime-paths.js.map +0 -1
- package/dist/runtime/store/runtime-schemas.d.ts +0 -742
- package/dist/runtime/store/runtime-schemas.d.ts.map +0 -1
- package/dist/runtime/store/runtime-schemas.js +0 -170
- package/dist/runtime/store/runtime-schemas.js.map +0 -1
- package/dist/runtime/terminal/backend.d.ts +0 -25
- package/dist/runtime/terminal/backend.d.ts.map +0 -1
- package/dist/runtime/terminal/backend.js +0 -92
- package/dist/runtime/terminal/backend.js.map +0 -1
- package/dist/runtime/trigger-mapper.d.ts +0 -26
- package/dist/runtime/trigger-mapper.d.ts.map +0 -1
- package/dist/runtime/trigger-mapper.js +0 -89
- package/dist/runtime/trigger-mapper.js.map +0 -1
- package/dist/runtime/types/builtin-integration.d.ts +0 -13
- package/dist/runtime/types/builtin-integration.d.ts.map +0 -1
- package/dist/runtime/types/builtin-integration.js +0 -2
- package/dist/runtime/types/builtin-integration.js.map +0 -1
- package/dist/runtime/types/cron.d.ts +0 -59
- package/dist/runtime/types/cron.d.ts.map +0 -1
- package/dist/runtime/types/cron.js +0 -13
- package/dist/runtime/types/cron.js.map +0 -1
- package/dist/runtime/types/daemon.d.ts +0 -306
- package/dist/runtime/types/daemon.d.ts.map +0 -1
- package/dist/runtime/types/daemon.js +0 -84
- package/dist/runtime/types/daemon.js.map +0 -1
- package/dist/runtime/types/envelope.d.ts +0 -90
- package/dist/runtime/types/envelope.d.ts.map +0 -1
- package/dist/runtime/types/envelope.js +0 -41
- package/dist/runtime/types/envelope.js.map +0 -1
- package/dist/runtime/types/hook.d.ts +0 -142
- package/dist/runtime/types/hook.d.ts.map +0 -1
- package/dist/runtime/types/hook.js +0 -44
- package/dist/runtime/types/hook.js.map +0 -1
- package/dist/runtime/types/notification.d.ts +0 -1007
- package/dist/runtime/types/notification.d.ts.map +0 -1
- package/dist/runtime/types/notification.js +0 -92
- package/dist/runtime/types/notification.js.map +0 -1
- package/dist/runtime/types/plugin.d.ts +0 -335
- package/dist/runtime/types/plugin.d.ts.map +0 -1
- package/dist/runtime/types/plugin.js +0 -61
- package/dist/runtime/types/plugin.js.map +0 -1
- package/dist/runtime/types/schedule.d.ts +0 -1189
- package/dist/runtime/types/schedule.d.ts.map +0 -1
- package/dist/runtime/types/schedule.js +0 -134
- package/dist/runtime/types/schedule.js.map +0 -1
- package/dist/runtime/types/trigger.d.ts +0 -77
- package/dist/runtime/types/trigger.d.ts.map +0 -1
- package/dist/runtime/types/trigger.js +0 -21
- package/dist/runtime/types/trigger.js.map +0 -1
- package/dist/runtime/watchdog.d.ts +0 -73
- package/dist/runtime/watchdog.d.ts.map +0 -1
- package/dist/runtime/watchdog.js +0 -281
- package/dist/runtime/watchdog.js.map +0 -1
- package/dist/tools/builtin/index.d.ts +0 -105
- package/dist/tools/builtin/index.d.ts.map +0 -1
- package/dist/tools/builtin/index.js +0 -238
- package/dist/tools/builtin/index.js.map +0 -1
- package/dist/tools/concurrency.d.ts +0 -20
- package/dist/tools/concurrency.d.ts.map +0 -1
- package/dist/tools/concurrency.js +0 -58
- package/dist/tools/concurrency.js.map +0 -1
- package/dist/tools/execution/MemoryConsolidateTool/MemoryConsolidateTool.d.ts +0 -50
- package/dist/tools/execution/MemoryConsolidateTool/MemoryConsolidateTool.d.ts.map +0 -1
- package/dist/tools/execution/MemoryConsolidateTool/MemoryConsolidateTool.js +0 -84
- package/dist/tools/execution/MemoryConsolidateTool/MemoryConsolidateTool.js.map +0 -1
- package/dist/tools/execution/MemoryConsolidateTool/constants.d.ts +0 -7
- package/dist/tools/execution/MemoryConsolidateTool/constants.d.ts.map +0 -1
- package/dist/tools/execution/MemoryConsolidateTool/constants.js +0 -7
- package/dist/tools/execution/MemoryConsolidateTool/constants.js.map +0 -1
- package/dist/tools/execution/MemoryConsolidateTool/prompt.d.ts +0 -2
- package/dist/tools/execution/MemoryConsolidateTool/prompt.d.ts.map +0 -1
- package/dist/tools/execution/MemoryConsolidateTool/prompt.js +0 -2
- package/dist/tools/execution/MemoryConsolidateTool/prompt.js.map +0 -1
- package/dist/tools/execution/MemoryLintTool/MemoryLintTool.d.ts +0 -42
- package/dist/tools/execution/MemoryLintTool/MemoryLintTool.d.ts.map +0 -1
- package/dist/tools/execution/MemoryLintTool/MemoryLintTool.js +0 -84
- package/dist/tools/execution/MemoryLintTool/MemoryLintTool.js.map +0 -1
- package/dist/tools/execution/MemoryLintTool/constants.d.ts +0 -7
- package/dist/tools/execution/MemoryLintTool/constants.d.ts.map +0 -1
- package/dist/tools/execution/MemoryLintTool/constants.js +0 -7
- package/dist/tools/execution/MemoryLintTool/constants.js.map +0 -1
- package/dist/tools/execution/MemoryLintTool/prompt.d.ts +0 -2
- package/dist/tools/execution/MemoryLintTool/prompt.d.ts.map +0 -1
- package/dist/tools/execution/MemoryLintTool/prompt.js +0 -2
- package/dist/tools/execution/MemoryLintTool/prompt.js.map +0 -1
- package/dist/tools/execution/MemorySaveTool/MemorySaveTool.d.ts +0 -52
- package/dist/tools/execution/MemorySaveTool/MemorySaveTool.d.ts.map +0 -1
- package/dist/tools/execution/MemorySaveTool/MemorySaveTool.js +0 -70
- package/dist/tools/execution/MemorySaveTool/MemorySaveTool.js.map +0 -1
- package/dist/tools/execution/MemorySaveTool/constants.d.ts +0 -7
- package/dist/tools/execution/MemorySaveTool/constants.d.ts.map +0 -1
- package/dist/tools/execution/MemorySaveTool/constants.js +0 -7
- package/dist/tools/execution/MemorySaveTool/constants.js.map +0 -1
- package/dist/tools/execution/MemorySaveTool/prompt.d.ts +0 -2
- package/dist/tools/execution/MemorySaveTool/prompt.d.ts.map +0 -1
- package/dist/tools/execution/MemorySaveTool/prompt.js +0 -2
- package/dist/tools/execution/MemorySaveTool/prompt.js.map +0 -1
- package/dist/tools/execution/ObserveGoalTool/ObserveGoalTool.d.ts +0 -28
- package/dist/tools/execution/ObserveGoalTool/ObserveGoalTool.d.ts.map +0 -1
- package/dist/tools/execution/ObserveGoalTool/ObserveGoalTool.js +0 -56
- package/dist/tools/execution/ObserveGoalTool/ObserveGoalTool.js.map +0 -1
- package/dist/tools/execution/ObserveGoalTool/constants.d.ts +0 -5
- package/dist/tools/execution/ObserveGoalTool/constants.d.ts.map +0 -1
- package/dist/tools/execution/ObserveGoalTool/constants.js +0 -5
- package/dist/tools/execution/ObserveGoalTool/constants.js.map +0 -1
- package/dist/tools/execution/ObserveGoalTool/prompt.d.ts +0 -2
- package/dist/tools/execution/ObserveGoalTool/prompt.d.ts.map +0 -1
- package/dist/tools/execution/ObserveGoalTool/prompt.js +0 -2
- package/dist/tools/execution/ObserveGoalTool/prompt.js.map +0 -1
- package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.d.ts +0 -40
- package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.d.ts.map +0 -1
- package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.js +0 -58
- package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.js.map +0 -1
- package/dist/tools/execution/QueryDataSourceTool/constants.d.ts +0 -5
- package/dist/tools/execution/QueryDataSourceTool/constants.d.ts.map +0 -1
- package/dist/tools/execution/QueryDataSourceTool/constants.js +0 -5
- package/dist/tools/execution/QueryDataSourceTool/constants.js.map +0 -1
- package/dist/tools/execution/QueryDataSourceTool/prompt.d.ts +0 -2
- package/dist/tools/execution/QueryDataSourceTool/prompt.d.ts.map +0 -1
- package/dist/tools/execution/QueryDataSourceTool/prompt.js +0 -2
- package/dist/tools/execution/QueryDataSourceTool/prompt.js.map +0 -1
- package/dist/tools/execution/RunAdapterTool/RunAdapterTool.d.ts +0 -40
- package/dist/tools/execution/RunAdapterTool/RunAdapterTool.d.ts.map +0 -1
- package/dist/tools/execution/RunAdapterTool/RunAdapterTool.js +0 -87
- package/dist/tools/execution/RunAdapterTool/RunAdapterTool.js.map +0 -1
- package/dist/tools/execution/RunAdapterTool/constants.d.ts +0 -5
- package/dist/tools/execution/RunAdapterTool/constants.d.ts.map +0 -1
- package/dist/tools/execution/RunAdapterTool/constants.js +0 -5
- package/dist/tools/execution/RunAdapterTool/constants.js.map +0 -1
- package/dist/tools/execution/RunAdapterTool/prompt.d.ts +0 -2
- package/dist/tools/execution/RunAdapterTool/prompt.d.ts.map +0 -1
- package/dist/tools/execution/RunAdapterTool/prompt.js +0 -2
- package/dist/tools/execution/RunAdapterTool/prompt.js.map +0 -1
- package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.d.ts +0 -43
- package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.d.ts.map +0 -1
- package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.js +0 -83
- package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.js.map +0 -1
- package/dist/tools/execution/SoilDoctorTool/constants.d.ts +0 -8
- package/dist/tools/execution/SoilDoctorTool/constants.d.ts.map +0 -1
- package/dist/tools/execution/SoilDoctorTool/constants.js +0 -8
- package/dist/tools/execution/SoilDoctorTool/constants.js.map +0 -1
- package/dist/tools/execution/SoilDoctorTool/prompt.d.ts +0 -2
- package/dist/tools/execution/SoilDoctorTool/prompt.d.ts.map +0 -1
- package/dist/tools/execution/SoilDoctorTool/prompt.js +0 -2
- package/dist/tools/execution/SoilDoctorTool/prompt.js.map +0 -1
- package/dist/tools/execution/SoilImportTool/SoilImportTool.d.ts +0 -109
- package/dist/tools/execution/SoilImportTool/SoilImportTool.d.ts.map +0 -1
- package/dist/tools/execution/SoilImportTool/SoilImportTool.js +0 -72
- package/dist/tools/execution/SoilImportTool/SoilImportTool.js.map +0 -1
- package/dist/tools/execution/SoilImportTool/constants.d.ts +0 -6
- package/dist/tools/execution/SoilImportTool/constants.d.ts.map +0 -1
- package/dist/tools/execution/SoilImportTool/constants.js +0 -6
- package/dist/tools/execution/SoilImportTool/constants.js.map +0 -1
- package/dist/tools/execution/SoilImportTool/prompt.d.ts +0 -2
- package/dist/tools/execution/SoilImportTool/prompt.d.ts.map +0 -1
- package/dist/tools/execution/SoilImportTool/prompt.js +0 -2
- package/dist/tools/execution/SoilImportTool/prompt.js.map +0 -1
- package/dist/tools/execution/SoilOpenTool/SoilOpenTool.d.ts +0 -46
- package/dist/tools/execution/SoilOpenTool/SoilOpenTool.d.ts.map +0 -1
- package/dist/tools/execution/SoilOpenTool/SoilOpenTool.js +0 -64
- package/dist/tools/execution/SoilOpenTool/SoilOpenTool.js.map +0 -1
- package/dist/tools/execution/SoilOpenTool/constants.d.ts +0 -6
- package/dist/tools/execution/SoilOpenTool/constants.d.ts.map +0 -1
- package/dist/tools/execution/SoilOpenTool/constants.js +0 -6
- package/dist/tools/execution/SoilOpenTool/constants.js.map +0 -1
- package/dist/tools/execution/SoilOpenTool/prompt.d.ts +0 -2
- package/dist/tools/execution/SoilOpenTool/prompt.d.ts.map +0 -1
- package/dist/tools/execution/SoilOpenTool/prompt.js +0 -2
- package/dist/tools/execution/SoilOpenTool/prompt.js.map +0 -1
- package/dist/tools/execution/SoilPublishTool/SoilPublishTool.d.ts +0 -49
- package/dist/tools/execution/SoilPublishTool/SoilPublishTool.d.ts.map +0 -1
- package/dist/tools/execution/SoilPublishTool/SoilPublishTool.js +0 -71
- package/dist/tools/execution/SoilPublishTool/SoilPublishTool.js.map +0 -1
- package/dist/tools/execution/SoilPublishTool/constants.d.ts +0 -6
- package/dist/tools/execution/SoilPublishTool/constants.d.ts.map +0 -1
- package/dist/tools/execution/SoilPublishTool/constants.js +0 -6
- package/dist/tools/execution/SoilPublishTool/constants.js.map +0 -1
- package/dist/tools/execution/SoilPublishTool/prompt.d.ts +0 -2
- package/dist/tools/execution/SoilPublishTool/prompt.d.ts.map +0 -1
- package/dist/tools/execution/SoilPublishTool/prompt.js +0 -2
- package/dist/tools/execution/SoilPublishTool/prompt.js.map +0 -1
- package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.d.ts +0 -34
- package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.d.ts.map +0 -1
- package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.js +0 -66
- package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.js.map +0 -1
- package/dist/tools/execution/SoilRebuildTool/constants.d.ts +0 -6
- package/dist/tools/execution/SoilRebuildTool/constants.d.ts.map +0 -1
- package/dist/tools/execution/SoilRebuildTool/constants.js +0 -6
- package/dist/tools/execution/SoilRebuildTool/constants.js.map +0 -1
- package/dist/tools/execution/SoilRebuildTool/prompt.d.ts +0 -2
- package/dist/tools/execution/SoilRebuildTool/prompt.d.ts.map +0 -1
- package/dist/tools/execution/SoilRebuildTool/prompt.js +0 -2
- package/dist/tools/execution/SoilRebuildTool/prompt.js.map +0 -1
- package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.d.ts +0 -46
- package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.d.ts.map +0 -1
- package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.js +0 -60
- package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.js.map +0 -1
- package/dist/tools/execution/SpawnSessionTool/constants.d.ts +0 -5
- package/dist/tools/execution/SpawnSessionTool/constants.d.ts.map +0 -1
- package/dist/tools/execution/SpawnSessionTool/constants.js +0 -5
- package/dist/tools/execution/SpawnSessionTool/constants.js.map +0 -1
- package/dist/tools/execution/SpawnSessionTool/prompt.d.ts +0 -2
- package/dist/tools/execution/SpawnSessionTool/prompt.d.ts.map +0 -1
- package/dist/tools/execution/SpawnSessionTool/prompt.js +0 -2
- package/dist/tools/execution/SpawnSessionTool/prompt.js.map +0 -1
- package/dist/tools/execution/WriteKnowledgeTool/WriteKnowledgeTool.d.ts +0 -46
- package/dist/tools/execution/WriteKnowledgeTool/WriteKnowledgeTool.d.ts.map +0 -1
- package/dist/tools/execution/WriteKnowledgeTool/WriteKnowledgeTool.js +0 -73
- package/dist/tools/execution/WriteKnowledgeTool/WriteKnowledgeTool.js.map +0 -1
- package/dist/tools/execution/WriteKnowledgeTool/constants.d.ts +0 -5
- package/dist/tools/execution/WriteKnowledgeTool/constants.d.ts.map +0 -1
- package/dist/tools/execution/WriteKnowledgeTool/constants.js +0 -5
- package/dist/tools/execution/WriteKnowledgeTool/constants.js.map +0 -1
- package/dist/tools/execution/WriteKnowledgeTool/prompt.d.ts +0 -2
- package/dist/tools/execution/WriteKnowledgeTool/prompt.d.ts.map +0 -1
- package/dist/tools/execution/WriteKnowledgeTool/prompt.js +0 -2
- package/dist/tools/execution/WriteKnowledgeTool/prompt.js.map +0 -1
- package/dist/tools/executor.d.ts +0 -39
- package/dist/tools/executor.d.ts.map +0 -1
- package/dist/tools/executor.js +0 -222
- package/dist/tools/executor.js.map +0 -1
- package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.d.ts +0 -38
- package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.d.ts.map +0 -1
- package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.js +0 -247
- package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.js.map +0 -1
- package/dist/tools/fs/FileEditTool/FileEditTool.d.ts +0 -48
- package/dist/tools/fs/FileEditTool/FileEditTool.d.ts.map +0 -1
- package/dist/tools/fs/FileEditTool/FileEditTool.js +0 -126
- package/dist/tools/fs/FileEditTool/FileEditTool.js.map +0 -1
- package/dist/tools/fs/FileEditTool/constants.d.ts +0 -5
- package/dist/tools/fs/FileEditTool/constants.d.ts.map +0 -1
- package/dist/tools/fs/FileEditTool/constants.js +0 -5
- package/dist/tools/fs/FileEditTool/constants.js.map +0 -1
- package/dist/tools/fs/FileEditTool/prompt.d.ts +0 -2
- package/dist/tools/fs/FileEditTool/prompt.d.ts.map +0 -1
- package/dist/tools/fs/FileEditTool/prompt.js +0 -2
- package/dist/tools/fs/FileEditTool/prompt.js.map +0 -1
- package/dist/tools/fs/FileValidationTool/FileValidationTool.d.ts +0 -6
- package/dist/tools/fs/FileValidationTool/FileValidationTool.d.ts.map +0 -1
- package/dist/tools/fs/FileValidationTool/FileValidationTool.js +0 -18
- package/dist/tools/fs/FileValidationTool/FileValidationTool.js.map +0 -1
- package/dist/tools/fs/FileWriteTool/FileWriteTool.d.ts +0 -41
- package/dist/tools/fs/FileWriteTool/FileWriteTool.d.ts.map +0 -1
- package/dist/tools/fs/FileWriteTool/FileWriteTool.js +0 -85
- package/dist/tools/fs/FileWriteTool/FileWriteTool.js.map +0 -1
- package/dist/tools/fs/FileWriteTool/constants.d.ts +0 -5
- package/dist/tools/fs/FileWriteTool/constants.d.ts.map +0 -1
- package/dist/tools/fs/FileWriteTool/constants.js +0 -5
- package/dist/tools/fs/FileWriteTool/constants.js.map +0 -1
- package/dist/tools/fs/FileWriteTool/prompt.d.ts +0 -2
- package/dist/tools/fs/FileWriteTool/prompt.d.ts.map +0 -1
- package/dist/tools/fs/FileWriteTool/prompt.js +0 -2
- package/dist/tools/fs/FileWriteTool/prompt.js.map +0 -1
- package/dist/tools/fs/GlobTool/GlobTool.d.ts +0 -37
- package/dist/tools/fs/GlobTool/GlobTool.d.ts.map +0 -1
- package/dist/tools/fs/GlobTool/GlobTool.js +0 -70
- package/dist/tools/fs/GlobTool/GlobTool.js.map +0 -1
- package/dist/tools/fs/GlobTool/constants.d.ts +0 -6
- package/dist/tools/fs/GlobTool/constants.d.ts.map +0 -1
- package/dist/tools/fs/GlobTool/constants.js +0 -6
- package/dist/tools/fs/GlobTool/constants.js.map +0 -1
- package/dist/tools/fs/GlobTool/prompt.d.ts +0 -3
- package/dist/tools/fs/GlobTool/prompt.d.ts.map +0 -1
- package/dist/tools/fs/GlobTool/prompt.js +0 -3
- package/dist/tools/fs/GlobTool/prompt.js.map +0 -1
- package/dist/tools/fs/GrepTool/GrepTool.d.ts +0 -61
- package/dist/tools/fs/GrepTool/GrepTool.d.ts.map +0 -1
- package/dist/tools/fs/GrepTool/GrepTool.js +0 -95
- package/dist/tools/fs/GrepTool/GrepTool.js.map +0 -1
- package/dist/tools/fs/GrepTool/constants.d.ts +0 -6
- package/dist/tools/fs/GrepTool/constants.d.ts.map +0 -1
- package/dist/tools/fs/GrepTool/constants.js +0 -6
- package/dist/tools/fs/GrepTool/constants.js.map +0 -1
- package/dist/tools/fs/GrepTool/prompt.d.ts +0 -2
- package/dist/tools/fs/GrepTool/prompt.d.ts.map +0 -1
- package/dist/tools/fs/GrepTool/prompt.js +0 -2
- package/dist/tools/fs/GrepTool/prompt.js.map +0 -1
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.d.ts +0 -32
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.d.ts.map +0 -1
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.js +0 -67
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.js.map +0 -1
- package/dist/tools/fs/JsonQueryTool/constants.d.ts +0 -6
- package/dist/tools/fs/JsonQueryTool/constants.d.ts.map +0 -1
- package/dist/tools/fs/JsonQueryTool/constants.js +0 -6
- package/dist/tools/fs/JsonQueryTool/constants.js.map +0 -1
- package/dist/tools/fs/JsonQueryTool/prompt.d.ts +0 -2
- package/dist/tools/fs/JsonQueryTool/prompt.d.ts.map +0 -1
- package/dist/tools/fs/JsonQueryTool/prompt.js +0 -2
- package/dist/tools/fs/JsonQueryTool/prompt.js.map +0 -1
- package/dist/tools/fs/ListDirTool/ListDirTool.d.ts +0 -48
- package/dist/tools/fs/ListDirTool/ListDirTool.d.ts.map +0 -1
- package/dist/tools/fs/ListDirTool/ListDirTool.js +0 -99
- package/dist/tools/fs/ListDirTool/ListDirTool.js.map +0 -1
- package/dist/tools/fs/ListDirTool/constants.d.ts +0 -6
- package/dist/tools/fs/ListDirTool/constants.d.ts.map +0 -1
- package/dist/tools/fs/ListDirTool/constants.js +0 -6
- package/dist/tools/fs/ListDirTool/constants.js.map +0 -1
- package/dist/tools/fs/ListDirTool/prompt.d.ts +0 -2
- package/dist/tools/fs/ListDirTool/prompt.d.ts.map +0 -1
- package/dist/tools/fs/ListDirTool/prompt.js +0 -2
- package/dist/tools/fs/ListDirTool/prompt.js.map +0 -1
- package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.d.ts +0 -25
- package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.d.ts.map +0 -1
- package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.js +0 -90
- package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.js.map +0 -1
- package/dist/tools/fs/ReadPulseedFileTool/constants.d.ts +0 -6
- package/dist/tools/fs/ReadPulseedFileTool/constants.d.ts.map +0 -1
- package/dist/tools/fs/ReadPulseedFileTool/constants.js +0 -6
- package/dist/tools/fs/ReadPulseedFileTool/constants.js.map +0 -1
- package/dist/tools/fs/ReadPulseedFileTool/prompt.d.ts +0 -2
- package/dist/tools/fs/ReadPulseedFileTool/prompt.d.ts.map +0 -1
- package/dist/tools/fs/ReadPulseedFileTool/prompt.js +0 -2
- package/dist/tools/fs/ReadPulseedFileTool/prompt.js.map +0 -1
- package/dist/tools/fs/ReadTool/ReadTool.d.ts +0 -37
- package/dist/tools/fs/ReadTool/ReadTool.d.ts.map +0 -1
- package/dist/tools/fs/ReadTool/ReadTool.js +0 -77
- package/dist/tools/fs/ReadTool/ReadTool.js.map +0 -1
- package/dist/tools/fs/ReadTool/constants.d.ts +0 -6
- package/dist/tools/fs/ReadTool/constants.d.ts.map +0 -1
- package/dist/tools/fs/ReadTool/constants.js +0 -6
- package/dist/tools/fs/ReadTool/constants.js.map +0 -1
- package/dist/tools/fs/ReadTool/prompt.d.ts +0 -2
- package/dist/tools/fs/ReadTool/prompt.d.ts.map +0 -1
- package/dist/tools/fs/ReadTool/prompt.js +0 -2
- package/dist/tools/fs/ReadTool/prompt.js.map +0 -1
- package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.d.ts +0 -31
- package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.d.ts.map +0 -1
- package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.js +0 -135
- package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.js.map +0 -1
- package/dist/tools/fs/WritePulseedFileTool/constants.d.ts +0 -6
- package/dist/tools/fs/WritePulseedFileTool/constants.d.ts.map +0 -1
- package/dist/tools/fs/WritePulseedFileTool/constants.js +0 -6
- package/dist/tools/fs/WritePulseedFileTool/constants.js.map +0 -1
- package/dist/tools/fs/WritePulseedFileTool/prompt.d.ts +0 -2
- package/dist/tools/fs/WritePulseedFileTool/prompt.d.ts.map +0 -1
- package/dist/tools/fs/WritePulseedFileTool/prompt.js +0 -2
- package/dist/tools/fs/WritePulseedFileTool/prompt.js.map +0 -1
- package/dist/tools/index.d.ts +0 -13
- package/dist/tools/index.d.ts.map +0 -1
- package/dist/tools/index.js +0 -9
- package/dist/tools/index.js.map +0 -1
- package/dist/tools/interaction/AskHumanTool/AskHumanTool.d.ts +0 -31
- package/dist/tools/interaction/AskHumanTool/AskHumanTool.d.ts.map +0 -1
- package/dist/tools/interaction/AskHumanTool/AskHumanTool.js +0 -61
- package/dist/tools/interaction/AskHumanTool/AskHumanTool.js.map +0 -1
- package/dist/tools/interaction/AskHumanTool/constants.d.ts +0 -5
- package/dist/tools/interaction/AskHumanTool/constants.d.ts.map +0 -1
- package/dist/tools/interaction/AskHumanTool/constants.js +0 -5
- package/dist/tools/interaction/AskHumanTool/constants.js.map +0 -1
- package/dist/tools/interaction/AskHumanTool/prompt.d.ts +0 -2
- package/dist/tools/interaction/AskHumanTool/prompt.d.ts.map +0 -1
- package/dist/tools/interaction/AskHumanTool/prompt.js +0 -2
- package/dist/tools/interaction/AskHumanTool/prompt.js.map +0 -1
- package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.d.ts +0 -37
- package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.d.ts.map +0 -1
- package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.js +0 -63
- package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.js.map +0 -1
- package/dist/tools/interaction/CreatePlanTool/constants.d.ts +0 -5
- package/dist/tools/interaction/CreatePlanTool/constants.d.ts.map +0 -1
- package/dist/tools/interaction/CreatePlanTool/constants.js +0 -5
- package/dist/tools/interaction/CreatePlanTool/constants.js.map +0 -1
- package/dist/tools/interaction/CreatePlanTool/prompt.d.ts +0 -2
- package/dist/tools/interaction/CreatePlanTool/prompt.d.ts.map +0 -1
- package/dist/tools/interaction/CreatePlanTool/prompt.js +0 -2
- package/dist/tools/interaction/CreatePlanTool/prompt.js.map +0 -1
- package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.d.ts +0 -25
- package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.d.ts.map +0 -1
- package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.js +0 -69
- package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.js.map +0 -1
- package/dist/tools/interaction/ReadPlanTool/constants.d.ts +0 -5
- package/dist/tools/interaction/ReadPlanTool/constants.d.ts.map +0 -1
- package/dist/tools/interaction/ReadPlanTool/constants.js +0 -5
- package/dist/tools/interaction/ReadPlanTool/constants.js.map +0 -1
- package/dist/tools/interaction/ReadPlanTool/prompt.d.ts +0 -2
- package/dist/tools/interaction/ReadPlanTool/prompt.d.ts.map +0 -1
- package/dist/tools/interaction/ReadPlanTool/prompt.js +0 -2
- package/dist/tools/interaction/ReadPlanTool/prompt.js.map +0 -1
- package/dist/tools/interaction/plan-utils.d.ts +0 -3
- package/dist/tools/interaction/plan-utils.d.ts.map +0 -1
- package/dist/tools/interaction/plan-utils.js +0 -7
- package/dist/tools/interaction/plan-utils.js.map +0 -1
- package/dist/tools/media/ViewImageTool/ViewImageTool.d.ts +0 -31
- package/dist/tools/media/ViewImageTool/ViewImageTool.d.ts.map +0 -1
- package/dist/tools/media/ViewImageTool/ViewImageTool.js +0 -53
- package/dist/tools/media/ViewImageTool/ViewImageTool.js.map +0 -1
- package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.d.ts +0 -34
- package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.d.ts.map +0 -1
- package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.js +0 -87
- package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.js.map +0 -1
- package/dist/tools/mutation/ArchiveGoalTool/constants.d.ts +0 -5
- package/dist/tools/mutation/ArchiveGoalTool/constants.d.ts.map +0 -1
- package/dist/tools/mutation/ArchiveGoalTool/constants.js +0 -5
- package/dist/tools/mutation/ArchiveGoalTool/constants.js.map +0 -1
- package/dist/tools/mutation/ArchiveGoalTool/prompt.d.ts +0 -2
- package/dist/tools/mutation/ArchiveGoalTool/prompt.d.ts.map +0 -1
- package/dist/tools/mutation/ArchiveGoalTool/prompt.js +0 -2
- package/dist/tools/mutation/ArchiveGoalTool/prompt.js.map +0 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.d.ts +0 -25
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.d.ts.map +0 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.js +0 -59
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.js.map +0 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/constants.d.ts +0 -5
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/constants.d.ts.map +0 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/constants.js +0 -5
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/constants.js.map +0 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.d.ts +0 -2
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.d.ts.map +0 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.js +0 -5
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.js.map +0 -1
- package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.d.ts +0 -28
- package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.d.ts.map +0 -1
- package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.js +0 -89
- package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.js.map +0 -1
- package/dist/tools/mutation/DeleteGoalTool/constants.d.ts +0 -5
- package/dist/tools/mutation/DeleteGoalTool/constants.d.ts.map +0 -1
- package/dist/tools/mutation/DeleteGoalTool/constants.js +0 -5
- package/dist/tools/mutation/DeleteGoalTool/constants.js.map +0 -1
- package/dist/tools/mutation/DeleteGoalTool/prompt.d.ts +0 -2
- package/dist/tools/mutation/DeleteGoalTool/prompt.d.ts.map +0 -1
- package/dist/tools/mutation/DeleteGoalTool/prompt.js +0 -2
- package/dist/tools/mutation/DeleteGoalTool/prompt.js.map +0 -1
- package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.d.ts +0 -40
- package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.d.ts.map +0 -1
- package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.js +0 -84
- package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.js.map +0 -1
- package/dist/tools/mutation/ResetTrustTool/constants.d.ts +0 -5
- package/dist/tools/mutation/ResetTrustTool/constants.d.ts.map +0 -1
- package/dist/tools/mutation/ResetTrustTool/constants.js +0 -5
- package/dist/tools/mutation/ResetTrustTool/constants.js.map +0 -1
- package/dist/tools/mutation/ResetTrustTool/prompt.d.ts +0 -2
- package/dist/tools/mutation/ResetTrustTool/prompt.d.ts.map +0 -1
- package/dist/tools/mutation/ResetTrustTool/prompt.js +0 -2
- package/dist/tools/mutation/ResetTrustTool/prompt.js.map +0 -1
- package/dist/tools/mutation/SetGoalTool/SetGoalTool.d.ts +0 -28
- package/dist/tools/mutation/SetGoalTool/SetGoalTool.d.ts.map +0 -1
- package/dist/tools/mutation/SetGoalTool/SetGoalTool.js +0 -84
- package/dist/tools/mutation/SetGoalTool/SetGoalTool.js.map +0 -1
- package/dist/tools/mutation/SetGoalTool/constants.d.ts +0 -5
- package/dist/tools/mutation/SetGoalTool/constants.d.ts.map +0 -1
- package/dist/tools/mutation/SetGoalTool/constants.js +0 -5
- package/dist/tools/mutation/SetGoalTool/constants.js.map +0 -1
- package/dist/tools/mutation/SetGoalTool/prompt.d.ts +0 -2
- package/dist/tools/mutation/SetGoalTool/prompt.d.ts.map +0 -1
- package/dist/tools/mutation/SetGoalTool/prompt.js +0 -2
- package/dist/tools/mutation/SetGoalTool/prompt.js.map +0 -1
- package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.d.ts +0 -216
- package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.d.ts.map +0 -1
- package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.js +0 -104
- package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.js.map +0 -1
- package/dist/tools/mutation/TaskCreateTool/constants.d.ts +0 -5
- package/dist/tools/mutation/TaskCreateTool/constants.d.ts.map +0 -1
- package/dist/tools/mutation/TaskCreateTool/constants.js +0 -5
- package/dist/tools/mutation/TaskCreateTool/constants.js.map +0 -1
- package/dist/tools/mutation/TaskCreateTool/prompt.d.ts +0 -2
- package/dist/tools/mutation/TaskCreateTool/prompt.d.ts.map +0 -1
- package/dist/tools/mutation/TaskCreateTool/prompt.js +0 -2
- package/dist/tools/mutation/TaskCreateTool/prompt.js.map +0 -1
- package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.d.ts +0 -46
- package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.d.ts.map +0 -1
- package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.js +0 -95
- package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.js.map +0 -1
- package/dist/tools/mutation/TaskOutputTool/constants.d.ts +0 -5
- package/dist/tools/mutation/TaskOutputTool/constants.d.ts.map +0 -1
- package/dist/tools/mutation/TaskOutputTool/constants.js +0 -5
- package/dist/tools/mutation/TaskOutputTool/constants.js.map +0 -1
- package/dist/tools/mutation/TaskOutputTool/prompt.d.ts +0 -2
- package/dist/tools/mutation/TaskOutputTool/prompt.d.ts.map +0 -1
- package/dist/tools/mutation/TaskOutputTool/prompt.js +0 -2
- package/dist/tools/mutation/TaskOutputTool/prompt.js.map +0 -1
- package/dist/tools/mutation/TaskStopTool/TaskStopTool.d.ts +0 -40
- package/dist/tools/mutation/TaskStopTool/TaskStopTool.d.ts.map +0 -1
- package/dist/tools/mutation/TaskStopTool/TaskStopTool.js +0 -95
- package/dist/tools/mutation/TaskStopTool/TaskStopTool.js.map +0 -1
- package/dist/tools/mutation/TaskStopTool/constants.d.ts +0 -5
- package/dist/tools/mutation/TaskStopTool/constants.d.ts.map +0 -1
- package/dist/tools/mutation/TaskStopTool/constants.js +0 -5
- package/dist/tools/mutation/TaskStopTool/constants.js.map +0 -1
- package/dist/tools/mutation/TaskStopTool/prompt.d.ts +0 -2
- package/dist/tools/mutation/TaskStopTool/prompt.d.ts.map +0 -1
- package/dist/tools/mutation/TaskStopTool/prompt.js +0 -2
- package/dist/tools/mutation/TaskStopTool/prompt.js.map +0 -1
- package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.d.ts +0 -270
- package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.d.ts.map +0 -1
- package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.js +0 -137
- package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.js.map +0 -1
- package/dist/tools/mutation/TaskUpdateTool/constants.d.ts +0 -5
- package/dist/tools/mutation/TaskUpdateTool/constants.d.ts.map +0 -1
- package/dist/tools/mutation/TaskUpdateTool/constants.js +0 -5
- package/dist/tools/mutation/TaskUpdateTool/constants.js.map +0 -1
- package/dist/tools/mutation/TaskUpdateTool/prompt.d.ts +0 -2
- package/dist/tools/mutation/TaskUpdateTool/prompt.d.ts.map +0 -1
- package/dist/tools/mutation/TaskUpdateTool/prompt.js +0 -2
- package/dist/tools/mutation/TaskUpdateTool/prompt.js.map +0 -1
- package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.d.ts +0 -31
- package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.d.ts.map +0 -1
- package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.js +0 -55
- package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.js.map +0 -1
- package/dist/tools/mutation/TogglePluginTool/constants.d.ts +0 -5
- package/dist/tools/mutation/TogglePluginTool/constants.d.ts.map +0 -1
- package/dist/tools/mutation/TogglePluginTool/constants.js +0 -5
- package/dist/tools/mutation/TogglePluginTool/constants.js.map +0 -1
- package/dist/tools/mutation/TogglePluginTool/prompt.d.ts +0 -2
- package/dist/tools/mutation/TogglePluginTool/prompt.d.ts.map +0 -1
- package/dist/tools/mutation/TogglePluginTool/prompt.js +0 -2
- package/dist/tools/mutation/TogglePluginTool/prompt.js.map +0 -1
- package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.d.ts +0 -31
- package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.d.ts.map +0 -1
- package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.js +0 -77
- package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.js.map +0 -1
- package/dist/tools/mutation/UpdateConfigTool/constants.d.ts +0 -5
- package/dist/tools/mutation/UpdateConfigTool/constants.d.ts.map +0 -1
- package/dist/tools/mutation/UpdateConfigTool/constants.js +0 -5
- package/dist/tools/mutation/UpdateConfigTool/constants.js.map +0 -1
- package/dist/tools/mutation/UpdateConfigTool/prompt.d.ts +0 -2
- package/dist/tools/mutation/UpdateConfigTool/prompt.d.ts.map +0 -1
- package/dist/tools/mutation/UpdateConfigTool/prompt.js +0 -2
- package/dist/tools/mutation/UpdateConfigTool/prompt.js.map +0 -1
- package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.d.ts +0 -40
- package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.d.ts.map +0 -1
- package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.js +0 -73
- package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.js.map +0 -1
- package/dist/tools/mutation/UpdateGoalTool/constants.d.ts +0 -5
- package/dist/tools/mutation/UpdateGoalTool/constants.d.ts.map +0 -1
- package/dist/tools/mutation/UpdateGoalTool/constants.js +0 -5
- package/dist/tools/mutation/UpdateGoalTool/constants.js.map +0 -1
- package/dist/tools/mutation/UpdateGoalTool/prompt.d.ts +0 -2
- package/dist/tools/mutation/UpdateGoalTool/prompt.d.ts.map +0 -1
- package/dist/tools/mutation/UpdateGoalTool/prompt.js +0 -2
- package/dist/tools/mutation/UpdateGoalTool/prompt.js.map +0 -1
- package/dist/tools/mutation/task-history-utils.d.ts +0 -4
- package/dist/tools/mutation/task-history-utils.d.ts.map +0 -1
- package/dist/tools/mutation/task-history-utils.js +0 -32
- package/dist/tools/mutation/task-history-utils.js.map +0 -1
- package/dist/tools/network/GitHubCliTool/GitHubCliTool.d.ts +0 -144
- package/dist/tools/network/GitHubCliTool/GitHubCliTool.d.ts.map +0 -1
- package/dist/tools/network/GitHubCliTool/GitHubCliTool.js +0 -245
- package/dist/tools/network/GitHubCliTool/GitHubCliTool.js.map +0 -1
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.d.ts +0 -71
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.d.ts.map +0 -1
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.js +0 -295
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.js.map +0 -1
- package/dist/tools/network/HttpFetchTool/constants.d.ts +0 -6
- package/dist/tools/network/HttpFetchTool/constants.d.ts.map +0 -1
- package/dist/tools/network/HttpFetchTool/constants.js +0 -6
- package/dist/tools/network/HttpFetchTool/constants.js.map +0 -1
- package/dist/tools/network/HttpFetchTool/prompt.d.ts +0 -2
- package/dist/tools/network/HttpFetchTool/prompt.d.ts.map +0 -1
- package/dist/tools/network/HttpFetchTool/prompt.js +0 -2
- package/dist/tools/network/HttpFetchTool/prompt.js.map +0 -1
- package/dist/tools/network/McpStdioTool/McpStdioTool.d.ts +0 -109
- package/dist/tools/network/McpStdioTool/McpStdioTool.d.ts.map +0 -1
- package/dist/tools/network/McpStdioTool/McpStdioTool.js +0 -121
- package/dist/tools/network/McpStdioTool/McpStdioTool.js.map +0 -1
- package/dist/tools/network/WebSearchTool/WebSearchTool.d.ts +0 -49
- package/dist/tools/network/WebSearchTool/WebSearchTool.d.ts.map +0 -1
- package/dist/tools/network/WebSearchTool/WebSearchTool.js +0 -98
- package/dist/tools/network/WebSearchTool/WebSearchTool.js.map +0 -1
- package/dist/tools/network/WebSearchTool/constants.d.ts +0 -6
- package/dist/tools/network/WebSearchTool/constants.d.ts.map +0 -1
- package/dist/tools/network/WebSearchTool/constants.js +0 -6
- package/dist/tools/network/WebSearchTool/constants.js.map +0 -1
- package/dist/tools/network/WebSearchTool/prompt.d.ts +0 -2
- package/dist/tools/network/WebSearchTool/prompt.d.ts.map +0 -1
- package/dist/tools/network/WebSearchTool/prompt.js +0 -2
- package/dist/tools/network/WebSearchTool/prompt.js.map +0 -1
- package/dist/tools/permission.d.ts +0 -42
- package/dist/tools/permission.d.ts.map +0 -1
- package/dist/tools/permission.js +0 -101
- package/dist/tools/permission.js.map +0 -1
- package/dist/tools/query/ArchitectureTool/ArchitectureTool.d.ts +0 -25
- package/dist/tools/query/ArchitectureTool/ArchitectureTool.d.ts.map +0 -1
- package/dist/tools/query/ArchitectureTool/ArchitectureTool.js +0 -100
- package/dist/tools/query/ArchitectureTool/ArchitectureTool.js.map +0 -1
- package/dist/tools/query/ArchitectureTool/constants.d.ts +0 -6
- package/dist/tools/query/ArchitectureTool/constants.d.ts.map +0 -1
- package/dist/tools/query/ArchitectureTool/constants.js +0 -6
- package/dist/tools/query/ArchitectureTool/constants.js.map +0 -1
- package/dist/tools/query/ArchitectureTool/prompt.d.ts +0 -2
- package/dist/tools/query/ArchitectureTool/prompt.d.ts.map +0 -1
- package/dist/tools/query/ArchitectureTool/prompt.js +0 -2
- package/dist/tools/query/ArchitectureTool/prompt.js.map +0 -1
- package/dist/tools/query/ConfigTool/ConfigTool.d.ts +0 -25
- package/dist/tools/query/ConfigTool/ConfigTool.d.ts.map +0 -1
- package/dist/tools/query/ConfigTool/ConfigTool.js +0 -90
- package/dist/tools/query/ConfigTool/ConfigTool.js.map +0 -1
- package/dist/tools/query/ConfigTool/constants.d.ts +0 -6
- package/dist/tools/query/ConfigTool/constants.d.ts.map +0 -1
- package/dist/tools/query/ConfigTool/constants.js +0 -6
- package/dist/tools/query/ConfigTool/constants.js.map +0 -1
- package/dist/tools/query/ConfigTool/prompt.d.ts +0 -2
- package/dist/tools/query/ConfigTool/prompt.d.ts.map +0 -1
- package/dist/tools/query/ConfigTool/prompt.js +0 -2
- package/dist/tools/query/ConfigTool/prompt.js.map +0 -1
- package/dist/tools/query/GoalStateTool/GoalStateTool.d.ts +0 -36
- package/dist/tools/query/GoalStateTool/GoalStateTool.d.ts.map +0 -1
- package/dist/tools/query/GoalStateTool/GoalStateTool.js +0 -128
- package/dist/tools/query/GoalStateTool/GoalStateTool.js.map +0 -1
- package/dist/tools/query/GoalStateTool/constants.d.ts +0 -6
- package/dist/tools/query/GoalStateTool/constants.d.ts.map +0 -1
- package/dist/tools/query/GoalStateTool/constants.js +0 -6
- package/dist/tools/query/GoalStateTool/constants.js.map +0 -1
- package/dist/tools/query/GoalStateTool/prompt.d.ts +0 -2
- package/dist/tools/query/GoalStateTool/prompt.d.ts.map +0 -1
- package/dist/tools/query/GoalStateTool/prompt.js +0 -2
- package/dist/tools/query/GoalStateTool/prompt.js.map +0 -1
- package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.d.ts +0 -61
- package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.d.ts.map +0 -1
- package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.js +0 -118
- package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.js.map +0 -1
- package/dist/tools/query/KnowledgeQueryTool/constants.d.ts +0 -6
- package/dist/tools/query/KnowledgeQueryTool/constants.d.ts.map +0 -1
- package/dist/tools/query/KnowledgeQueryTool/constants.js +0 -6
- package/dist/tools/query/KnowledgeQueryTool/constants.js.map +0 -1
- package/dist/tools/query/KnowledgeQueryTool/prompt.d.ts +0 -2
- package/dist/tools/query/KnowledgeQueryTool/prompt.d.ts.map +0 -1
- package/dist/tools/query/KnowledgeQueryTool/prompt.js +0 -2
- package/dist/tools/query/KnowledgeQueryTool/prompt.js.map +0 -1
- package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.d.ts +0 -69
- package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.d.ts.map +0 -1
- package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.js +0 -98
- package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.js.map +0 -1
- package/dist/tools/query/MemoryRecallTool/constants.d.ts +0 -6
- package/dist/tools/query/MemoryRecallTool/constants.d.ts.map +0 -1
- package/dist/tools/query/MemoryRecallTool/constants.js +0 -6
- package/dist/tools/query/MemoryRecallTool/constants.js.map +0 -1
- package/dist/tools/query/MemoryRecallTool/prompt.d.ts +0 -2
- package/dist/tools/query/MemoryRecallTool/prompt.d.ts.map +0 -1
- package/dist/tools/query/MemoryRecallTool/prompt.js +0 -2
- package/dist/tools/query/MemoryRecallTool/prompt.js.map +0 -1
- package/dist/tools/query/PluginStateTool/PluginStateTool.d.ts +0 -28
- package/dist/tools/query/PluginStateTool/PluginStateTool.d.ts.map +0 -1
- package/dist/tools/query/PluginStateTool/PluginStateTool.js +0 -91
- package/dist/tools/query/PluginStateTool/PluginStateTool.js.map +0 -1
- package/dist/tools/query/PluginStateTool/constants.d.ts +0 -6
- package/dist/tools/query/PluginStateTool/constants.d.ts.map +0 -1
- package/dist/tools/query/PluginStateTool/constants.js +0 -6
- package/dist/tools/query/PluginStateTool/constants.js.map +0 -1
- package/dist/tools/query/PluginStateTool/prompt.d.ts +0 -2
- package/dist/tools/query/PluginStateTool/prompt.d.ts.map +0 -1
- package/dist/tools/query/PluginStateTool/prompt.js +0 -2
- package/dist/tools/query/PluginStateTool/prompt.js.map +0 -1
- package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.d.ts +0 -57
- package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.d.ts.map +0 -1
- package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.js +0 -143
- package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.js.map +0 -1
- package/dist/tools/query/ProgressHistoryTool/constants.d.ts +0 -6
- package/dist/tools/query/ProgressHistoryTool/constants.d.ts.map +0 -1
- package/dist/tools/query/ProgressHistoryTool/constants.js +0 -6
- package/dist/tools/query/ProgressHistoryTool/constants.js.map +0 -1
- package/dist/tools/query/ProgressHistoryTool/prompt.d.ts +0 -2
- package/dist/tools/query/ProgressHistoryTool/prompt.d.ts.map +0 -1
- package/dist/tools/query/ProgressHistoryTool/prompt.js +0 -2
- package/dist/tools/query/ProgressHistoryTool/prompt.js.map +0 -1
- package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.d.ts +0 -42
- package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.d.ts.map +0 -1
- package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.js +0 -118
- package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.js.map +0 -1
- package/dist/tools/query/SessionHistoryTool/constants.d.ts +0 -6
- package/dist/tools/query/SessionHistoryTool/constants.d.ts.map +0 -1
- package/dist/tools/query/SessionHistoryTool/constants.js +0 -6
- package/dist/tools/query/SessionHistoryTool/constants.js.map +0 -1
- package/dist/tools/query/SessionHistoryTool/prompt.d.ts +0 -2
- package/dist/tools/query/SessionHistoryTool/prompt.d.ts.map +0 -1
- package/dist/tools/query/SessionHistoryTool/prompt.js +0 -2
- package/dist/tools/query/SessionHistoryTool/prompt.js.map +0 -1
- package/dist/tools/query/SkillSearchTool/SkillSearchTool.d.ts +0 -28
- package/dist/tools/query/SkillSearchTool/SkillSearchTool.d.ts.map +0 -1
- package/dist/tools/query/SkillSearchTool/SkillSearchTool.js +0 -44
- package/dist/tools/query/SkillSearchTool/SkillSearchTool.js.map +0 -1
- package/dist/tools/query/SoilQueryTool/SoilQueryTool.d.ts +0 -118
- package/dist/tools/query/SoilQueryTool/SoilQueryTool.d.ts.map +0 -1
- package/dist/tools/query/SoilQueryTool/SoilQueryTool.js +0 -335
- package/dist/tools/query/SoilQueryTool/SoilQueryTool.js.map +0 -1
- package/dist/tools/query/SoilQueryTool/constants.d.ts +0 -8
- package/dist/tools/query/SoilQueryTool/constants.d.ts.map +0 -1
- package/dist/tools/query/SoilQueryTool/constants.js +0 -8
- package/dist/tools/query/SoilQueryTool/constants.js.map +0 -1
- package/dist/tools/query/SoilQueryTool/prompt.d.ts +0 -2
- package/dist/tools/query/SoilQueryTool/prompt.d.ts.map +0 -1
- package/dist/tools/query/SoilQueryTool/prompt.js +0 -2
- package/dist/tools/query/SoilQueryTool/prompt.js.map +0 -1
- package/dist/tools/query/TaskGetTool/TaskGetTool.d.ts +0 -34
- package/dist/tools/query/TaskGetTool/TaskGetTool.d.ts.map +0 -1
- package/dist/tools/query/TaskGetTool/TaskGetTool.js +0 -77
- package/dist/tools/query/TaskGetTool/TaskGetTool.js.map +0 -1
- package/dist/tools/query/TaskGetTool/constants.d.ts +0 -6
- package/dist/tools/query/TaskGetTool/constants.d.ts.map +0 -1
- package/dist/tools/query/TaskGetTool/constants.js +0 -6
- package/dist/tools/query/TaskGetTool/constants.js.map +0 -1
- package/dist/tools/query/TaskGetTool/prompt.d.ts +0 -2
- package/dist/tools/query/TaskGetTool/prompt.d.ts.map +0 -1
- package/dist/tools/query/TaskGetTool/prompt.js +0 -2
- package/dist/tools/query/TaskGetTool/prompt.js.map +0 -1
- package/dist/tools/query/TaskListTool/TaskListTool.d.ts +0 -58
- package/dist/tools/query/TaskListTool/TaskListTool.d.ts.map +0 -1
- package/dist/tools/query/TaskListTool/TaskListTool.js +0 -101
- package/dist/tools/query/TaskListTool/TaskListTool.js.map +0 -1
- package/dist/tools/query/TaskListTool/constants.d.ts +0 -6
- package/dist/tools/query/TaskListTool/constants.d.ts.map +0 -1
- package/dist/tools/query/TaskListTool/constants.js +0 -6
- package/dist/tools/query/TaskListTool/constants.js.map +0 -1
- package/dist/tools/query/TaskListTool/prompt.d.ts +0 -2
- package/dist/tools/query/TaskListTool/prompt.d.ts.map +0 -1
- package/dist/tools/query/TaskListTool/prompt.js +0 -2
- package/dist/tools/query/TaskListTool/prompt.js.map +0 -1
- package/dist/tools/query/ToolSearchTool/ToolSearchTool.d.ts +0 -40
- package/dist/tools/query/ToolSearchTool/ToolSearchTool.d.ts.map +0 -1
- package/dist/tools/query/ToolSearchTool/ToolSearchTool.js +0 -48
- package/dist/tools/query/ToolSearchTool/ToolSearchTool.js.map +0 -1
- package/dist/tools/query/ToolSearchTool/constants.d.ts +0 -6
- package/dist/tools/query/ToolSearchTool/constants.d.ts.map +0 -1
- package/dist/tools/query/ToolSearchTool/constants.js +0 -6
- package/dist/tools/query/ToolSearchTool/constants.js.map +0 -1
- package/dist/tools/query/ToolSearchTool/prompt.d.ts +0 -2
- package/dist/tools/query/ToolSearchTool/prompt.d.ts.map +0 -1
- package/dist/tools/query/ToolSearchTool/prompt.js +0 -2
- package/dist/tools/query/ToolSearchTool/prompt.js.map +0 -1
- package/dist/tools/query/TrustStateTool/TrustStateTool.d.ts +0 -30
- package/dist/tools/query/TrustStateTool/TrustStateTool.d.ts.map +0 -1
- package/dist/tools/query/TrustStateTool/TrustStateTool.js +0 -92
- package/dist/tools/query/TrustStateTool/TrustStateTool.js.map +0 -1
- package/dist/tools/query/TrustStateTool/constants.d.ts +0 -6
- package/dist/tools/query/TrustStateTool/constants.d.ts.map +0 -1
- package/dist/tools/query/TrustStateTool/constants.js +0 -6
- package/dist/tools/query/TrustStateTool/constants.js.map +0 -1
- package/dist/tools/query/TrustStateTool/prompt.d.ts +0 -2
- package/dist/tools/query/TrustStateTool/prompt.d.ts.map +0 -1
- package/dist/tools/query/TrustStateTool/prompt.js +0 -2
- package/dist/tools/query/TrustStateTool/prompt.js.map +0 -1
- package/dist/tools/registry.d.ts +0 -44
- package/dist/tools/registry.d.ts.map +0 -1
- package/dist/tools/registry.js +0 -132
- package/dist/tools/registry.js.map +0 -1
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts +0 -1790
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts.map +0 -1
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.js +0 -86
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.js.map +0 -1
- package/dist/tools/schedule/CreateScheduleTool/constants.d.ts +0 -5
- package/dist/tools/schedule/CreateScheduleTool/constants.d.ts.map +0 -1
- package/dist/tools/schedule/CreateScheduleTool/constants.js +0 -5
- package/dist/tools/schedule/CreateScheduleTool/constants.js.map +0 -1
- package/dist/tools/schedule/CreateScheduleTool/prompt.d.ts +0 -2
- package/dist/tools/schedule/CreateScheduleTool/prompt.d.ts.map +0 -1
- package/dist/tools/schedule/CreateScheduleTool/prompt.js +0 -2
- package/dist/tools/schedule/CreateScheduleTool/prompt.js.map +0 -1
- package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.d.ts +0 -28
- package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.d.ts.map +0 -1
- package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.js +0 -66
- package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.js.map +0 -1
- package/dist/tools/schedule/GetScheduleTool/constants.d.ts +0 -6
- package/dist/tools/schedule/GetScheduleTool/constants.d.ts.map +0 -1
- package/dist/tools/schedule/GetScheduleTool/constants.js +0 -6
- package/dist/tools/schedule/GetScheduleTool/constants.js.map +0 -1
- package/dist/tools/schedule/GetScheduleTool/prompt.d.ts +0 -2
- package/dist/tools/schedule/GetScheduleTool/prompt.d.ts.map +0 -1
- package/dist/tools/schedule/GetScheduleTool/prompt.js +0 -2
- package/dist/tools/schedule/GetScheduleTool/prompt.js.map +0 -1
- package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.d.ts +0 -40
- package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.d.ts.map +0 -1
- package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.js +0 -83
- package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.js.map +0 -1
- package/dist/tools/schedule/ListSchedulesTool/constants.d.ts +0 -6
- package/dist/tools/schedule/ListSchedulesTool/constants.d.ts.map +0 -1
- package/dist/tools/schedule/ListSchedulesTool/constants.js +0 -6
- package/dist/tools/schedule/ListSchedulesTool/constants.js.map +0 -1
- package/dist/tools/schedule/ListSchedulesTool/prompt.d.ts +0 -2
- package/dist/tools/schedule/ListSchedulesTool/prompt.d.ts.map +0 -1
- package/dist/tools/schedule/ListSchedulesTool/prompt.js +0 -2
- package/dist/tools/schedule/ListSchedulesTool/prompt.js.map +0 -1
- package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.d.ts +0 -32
- package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.d.ts.map +0 -1
- package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.js +0 -81
- package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.js.map +0 -1
- package/dist/tools/schedule/PauseScheduleTool/constants.d.ts +0 -5
- package/dist/tools/schedule/PauseScheduleTool/constants.d.ts.map +0 -1
- package/dist/tools/schedule/PauseScheduleTool/constants.js +0 -5
- package/dist/tools/schedule/PauseScheduleTool/constants.js.map +0 -1
- package/dist/tools/schedule/PauseScheduleTool/prompt.d.ts +0 -2
- package/dist/tools/schedule/PauseScheduleTool/prompt.d.ts.map +0 -1
- package/dist/tools/schedule/PauseScheduleTool/prompt.js +0 -2
- package/dist/tools/schedule/PauseScheduleTool/prompt.js.map +0 -1
- package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.d.ts +0 -35
- package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.d.ts.map +0 -1
- package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.js +0 -87
- package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.js.map +0 -1
- package/dist/tools/schedule/RemoveScheduleTool/constants.d.ts +0 -5
- package/dist/tools/schedule/RemoveScheduleTool/constants.d.ts.map +0 -1
- package/dist/tools/schedule/RemoveScheduleTool/constants.js +0 -5
- package/dist/tools/schedule/RemoveScheduleTool/constants.js.map +0 -1
- package/dist/tools/schedule/RemoveScheduleTool/prompt.d.ts +0 -2
- package/dist/tools/schedule/RemoveScheduleTool/prompt.d.ts.map +0 -1
- package/dist/tools/schedule/RemoveScheduleTool/prompt.js +0 -2
- package/dist/tools/schedule/RemoveScheduleTool/prompt.js.map +0 -1
- package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.d.ts +0 -32
- package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.d.ts.map +0 -1
- package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.js +0 -81
- package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.js.map +0 -1
- package/dist/tools/schedule/ResumeScheduleTool/constants.d.ts +0 -5
- package/dist/tools/schedule/ResumeScheduleTool/constants.d.ts.map +0 -1
- package/dist/tools/schedule/ResumeScheduleTool/constants.js +0 -5
- package/dist/tools/schedule/ResumeScheduleTool/constants.js.map +0 -1
- package/dist/tools/schedule/ResumeScheduleTool/prompt.d.ts +0 -2
- package/dist/tools/schedule/ResumeScheduleTool/prompt.d.ts.map +0 -1
- package/dist/tools/schedule/ResumeScheduleTool/prompt.js +0 -2
- package/dist/tools/schedule/ResumeScheduleTool/prompt.js.map +0 -1
- package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.d.ts +0 -40
- package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.d.ts.map +0 -1
- package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.js +0 -126
- package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.js.map +0 -1
- package/dist/tools/schedule/RunScheduleTool/constants.d.ts +0 -5
- package/dist/tools/schedule/RunScheduleTool/constants.d.ts.map +0 -1
- package/dist/tools/schedule/RunScheduleTool/constants.js +0 -5
- package/dist/tools/schedule/RunScheduleTool/constants.js.map +0 -1
- package/dist/tools/schedule/RunScheduleTool/prompt.d.ts +0 -2
- package/dist/tools/schedule/RunScheduleTool/prompt.d.ts.map +0 -1
- package/dist/tools/schedule/RunScheduleTool/prompt.js +0 -2
- package/dist/tools/schedule/RunScheduleTool/prompt.js.map +0 -1
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts +0 -784
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts.map +0 -1
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.js +0 -118
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.js.map +0 -1
- package/dist/tools/schedule/UpdateScheduleTool/constants.d.ts +0 -5
- package/dist/tools/schedule/UpdateScheduleTool/constants.d.ts.map +0 -1
- package/dist/tools/schedule/UpdateScheduleTool/constants.js +0 -5
- package/dist/tools/schedule/UpdateScheduleTool/constants.js.map +0 -1
- package/dist/tools/schedule/UpdateScheduleTool/prompt.d.ts +0 -2
- package/dist/tools/schedule/UpdateScheduleTool/prompt.d.ts.map +0 -1
- package/dist/tools/schedule/UpdateScheduleTool/prompt.js +0 -2
- package/dist/tools/schedule/UpdateScheduleTool/prompt.js.map +0 -1
- package/dist/tools/shared/parse-tool-output.d.ts +0 -18
- package/dist/tools/shared/parse-tool-output.d.ts.map +0 -1
- package/dist/tools/shared/parse-tool-output.js +0 -53
- package/dist/tools/shared/parse-tool-output.js.map +0 -1
- package/dist/tools/system/EnvTool/EnvTool.d.ts +0 -35
- package/dist/tools/system/EnvTool/EnvTool.d.ts.map +0 -1
- package/dist/tools/system/EnvTool/EnvTool.js +0 -127
- package/dist/tools/system/EnvTool/EnvTool.js.map +0 -1
- package/dist/tools/system/EnvTool/constants.d.ts +0 -6
- package/dist/tools/system/EnvTool/constants.d.ts.map +0 -1
- package/dist/tools/system/EnvTool/constants.js +0 -6
- package/dist/tools/system/EnvTool/constants.js.map +0 -1
- package/dist/tools/system/EnvTool/prompt.d.ts +0 -2
- package/dist/tools/system/EnvTool/prompt.d.ts.map +0 -1
- package/dist/tools/system/EnvTool/prompt.js +0 -2
- package/dist/tools/system/EnvTool/prompt.js.map +0 -1
- package/dist/tools/system/GitDiffTool/GitDiffTool.d.ts +0 -43
- package/dist/tools/system/GitDiffTool/GitDiffTool.d.ts.map +0 -1
- package/dist/tools/system/GitDiffTool/GitDiffTool.js +0 -133
- package/dist/tools/system/GitDiffTool/GitDiffTool.js.map +0 -1
- package/dist/tools/system/GitDiffTool/constants.d.ts +0 -6
- package/dist/tools/system/GitDiffTool/constants.d.ts.map +0 -1
- package/dist/tools/system/GitDiffTool/constants.js +0 -6
- package/dist/tools/system/GitDiffTool/constants.js.map +0 -1
- package/dist/tools/system/GitDiffTool/prompt.d.ts +0 -2
- package/dist/tools/system/GitDiffTool/prompt.d.ts.map +0 -1
- package/dist/tools/system/GitDiffTool/prompt.js +0 -2
- package/dist/tools/system/GitDiffTool/prompt.js.map +0 -1
- package/dist/tools/system/GitLogTool/GitLogTool.d.ts +0 -61
- package/dist/tools/system/GitLogTool/GitLogTool.d.ts.map +0 -1
- package/dist/tools/system/GitLogTool/GitLogTool.js +0 -111
- package/dist/tools/system/GitLogTool/GitLogTool.js.map +0 -1
- package/dist/tools/system/GitLogTool/constants.d.ts +0 -6
- package/dist/tools/system/GitLogTool/constants.d.ts.map +0 -1
- package/dist/tools/system/GitLogTool/constants.js +0 -6
- package/dist/tools/system/GitLogTool/constants.js.map +0 -1
- package/dist/tools/system/GitLogTool/prompt.d.ts +0 -2
- package/dist/tools/system/GitLogTool/prompt.d.ts.map +0 -1
- package/dist/tools/system/GitLogTool/prompt.js +0 -2
- package/dist/tools/system/GitLogTool/prompt.js.map +0 -1
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.d.ts +0 -220
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.d.ts.map +0 -1
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.js +0 -354
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.js.map +0 -1
- package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.d.ts +0 -61
- package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.d.ts.map +0 -1
- package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.js +0 -147
- package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.js.map +0 -1
- package/dist/tools/system/ProcessStatusTool/constants.d.ts +0 -6
- package/dist/tools/system/ProcessStatusTool/constants.d.ts.map +0 -1
- package/dist/tools/system/ProcessStatusTool/constants.js +0 -6
- package/dist/tools/system/ProcessStatusTool/constants.js.map +0 -1
- package/dist/tools/system/ProcessStatusTool/prompt.d.ts +0 -2
- package/dist/tools/system/ProcessStatusTool/prompt.d.ts.map +0 -1
- package/dist/tools/system/ProcessStatusTool/prompt.js +0 -2
- package/dist/tools/system/ProcessStatusTool/prompt.js.map +0 -1
- package/dist/tools/system/ShellCommandTool/ShellCommandTool.d.ts +0 -44
- package/dist/tools/system/ShellCommandTool/ShellCommandTool.d.ts.map +0 -1
- package/dist/tools/system/ShellCommandTool/ShellCommandTool.js +0 -40
- package/dist/tools/system/ShellCommandTool/ShellCommandTool.js.map +0 -1
- package/dist/tools/system/ShellTool/ShellTool.d.ts +0 -48
- package/dist/tools/system/ShellTool/ShellTool.d.ts.map +0 -1
- package/dist/tools/system/ShellTool/ShellTool.js +0 -108
- package/dist/tools/system/ShellTool/ShellTool.js.map +0 -1
- package/dist/tools/system/ShellTool/constants.d.ts +0 -5
- package/dist/tools/system/ShellTool/constants.d.ts.map +0 -1
- package/dist/tools/system/ShellTool/constants.js +0 -5
- package/dist/tools/system/ShellTool/constants.js.map +0 -1
- package/dist/tools/system/ShellTool/prompt.d.ts +0 -2
- package/dist/tools/system/ShellTool/prompt.d.ts.map +0 -1
- package/dist/tools/system/ShellTool/prompt.js +0 -2
- package/dist/tools/system/ShellTool/prompt.js.map +0 -1
- package/dist/tools/system/SleepTool/SleepTool.d.ts +0 -35
- package/dist/tools/system/SleepTool/SleepTool.d.ts.map +0 -1
- package/dist/tools/system/SleepTool/SleepTool.js +0 -50
- package/dist/tools/system/SleepTool/SleepTool.js.map +0 -1
- package/dist/tools/system/SleepTool/constants.d.ts +0 -6
- package/dist/tools/system/SleepTool/constants.d.ts.map +0 -1
- package/dist/tools/system/SleepTool/constants.js +0 -6
- package/dist/tools/system/SleepTool/constants.js.map +0 -1
- package/dist/tools/system/SleepTool/prompt.d.ts +0 -2
- package/dist/tools/system/SleepTool/prompt.d.ts.map +0 -1
- package/dist/tools/system/SleepTool/prompt.js +0 -2
- package/dist/tools/system/SleepTool/prompt.js.map +0 -1
- package/dist/tools/system/TestRunnerTool/TestRunnerTool.d.ts +0 -53
- package/dist/tools/system/TestRunnerTool/TestRunnerTool.d.ts.map +0 -1
- package/dist/tools/system/TestRunnerTool/TestRunnerTool.js +0 -183
- package/dist/tools/system/TestRunnerTool/TestRunnerTool.js.map +0 -1
- package/dist/tools/system/TestRunnerTool/constants.d.ts +0 -5
- package/dist/tools/system/TestRunnerTool/constants.d.ts.map +0 -1
- package/dist/tools/system/TestRunnerTool/constants.js +0 -5
- package/dist/tools/system/TestRunnerTool/constants.js.map +0 -1
- package/dist/tools/system/TestRunnerTool/prompt.d.ts +0 -2
- package/dist/tools/system/TestRunnerTool/prompt.d.ts.map +0 -1
- package/dist/tools/system/TestRunnerTool/prompt.js +0 -2
- package/dist/tools/system/TestRunnerTool/prompt.js.map +0 -1
- package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.d.ts +0 -61
- package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.d.ts.map +0 -1
- package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.js +0 -42
- package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.js.map +0 -1
- package/dist/tools/system/test-runner.d.ts +0 -3
- package/dist/tools/system/test-runner.d.ts.map +0 -1
- package/dist/tools/system/test-runner.js +0 -2
- package/dist/tools/system/test-runner.js.map +0 -1
- package/dist/tools/tool-definition-adapter.d.ts +0 -20
- package/dist/tools/tool-definition-adapter.d.ts.map +0 -1
- package/dist/tools/tool-definition-adapter.js +0 -52
- package/dist/tools/tool-definition-adapter.js.map +0 -1
- package/dist/tools/types.d.ts +0 -225
- package/dist/tools/types.d.ts.map +0 -1
- package/dist/tools/types.js +0 -71
- package/dist/tools/types.js.map +0 -1
|
@@ -1,1666 +0,0 @@
|
|
|
1
|
-
import * as fs from "node:fs";
|
|
2
|
-
import * as path from "node:path";
|
|
3
|
-
import { spawnSync } from "node:child_process";
|
|
4
|
-
import { getProviderRuntimeFingerprint } from "../../base/llm/provider-config.js";
|
|
5
|
-
import { EventServer } from "../event/server.js";
|
|
6
|
-
import { DaemonConfigSchema, DaemonStateSchema, ResidentActivitySchema } from "../../base/types/daemon.js";
|
|
7
|
-
import { resolveScheduleEntry } from "../schedule/entry-resolver.js";
|
|
8
|
-
import { lintAgentMemory } from "../../platform/knowledge/knowledge-manager-lint.js";
|
|
9
|
-
import { DreamAnalyzer } from "../../platform/dream/dream-analyzer.js";
|
|
10
|
-
import { DreamConsolidator } from "../../platform/dream/dream-consolidator.js";
|
|
11
|
-
import { DreamScheduleSuggestionStore } from "../../platform/dream/dream-schedule-suggestions.js";
|
|
12
|
-
import { createRuntimeDreamSoilSyncService } from "../../platform/dream/dream-soil-sync.js";
|
|
13
|
-
import { runDreamConsolidation } from "../../reflection/dream-consolidation.js";
|
|
14
|
-
import { generateCronEntry } from "./signals.js";
|
|
15
|
-
import { rotateDaemonLog, calculateAdaptiveInterval as calcAdaptiveInterval } from "./health.js";
|
|
16
|
-
import { HttpChannelAdapter } from "../gateway/index.js";
|
|
17
|
-
import { PulSeedEventSchema } from "../../base/types/drive.js";
|
|
18
|
-
import { LoopSupervisor } from "../executor/index.js";
|
|
19
|
-
import { ApprovalStore, OutboxStore, RuntimeHealthStore, RuntimeOperationStore, createRuntimeStorePaths, } from "../store/index.js";
|
|
20
|
-
import { LeaderLockManager } from "../leader-lock-manager.js";
|
|
21
|
-
import { GoalLeaseManager } from "../goal-lease-manager.js";
|
|
22
|
-
import { JournalBackedQueue } from "../queue/journal-backed-queue.js";
|
|
23
|
-
import { QueueClaimSweeper } from "../queue/queue-claim-sweeper.js";
|
|
24
|
-
import { ApprovalBroker } from "../approval-broker.js";
|
|
25
|
-
import { CommandDispatcher } from "../command-dispatcher.js";
|
|
26
|
-
import { EventDispatcher } from "../event/dispatcher.js";
|
|
27
|
-
import { RuntimeOwnershipCoordinator, } from "./runtime-ownership.js";
|
|
28
|
-
import { ProcessShutdownCoordinator, startDaemonStatusHeartbeat, } from "./runner-lifecycle.js";
|
|
29
|
-
import { handleCriticalDaemonError, handleDaemonLoopError, runCommandWithHealth as runCommandWithHealthFn, } from "./runner-errors.js";
|
|
30
|
-
import { reconcileInterruptedExecutions as reconcileInterruptedExecutionsFn } from "./runner-recovery.js";
|
|
31
|
-
import { checkCrashRecoveryMarker, cleanupDaemonRun, collectGoalCycleScheduleSnapshot, deleteShutdownMarkerFile, determineActiveGoalsForCycle, expireOldCronTasks, getMaxGapScoreForGoals, getNextIntervalForGoals, processCronTasksForDaemon, processScheduleEntriesForDaemon, runRuntimeStoreMaintenanceCycle, readShutdownMarkerFile, restoreInterruptedGoals, runProactiveMaintenance, runSupervisorMaintenanceCycleForDaemon, saveDaemonStateFile, writeChatMessageEvent, writeShutdownMarkerFile, } from "./index.js";
|
|
32
|
-
const RUNTIME_JOURNAL_MAX_ATTEMPTS = 1_000;
|
|
33
|
-
function resolveResidentWorkspaceDir(configuredPath) {
|
|
34
|
-
const trimmed = configuredPath?.trim();
|
|
35
|
-
return trimmed ? path.resolve(trimmed) : process.cwd();
|
|
36
|
-
}
|
|
37
|
-
function gatherResidentWorkspaceContext(workspaceDir, seedDescription) {
|
|
38
|
-
const parts = [`Workspace: ${workspaceDir}`];
|
|
39
|
-
const seed = seedDescription?.trim();
|
|
40
|
-
if (seed) {
|
|
41
|
-
parts.push(`Resident trigger hint: ${seed}`);
|
|
42
|
-
}
|
|
43
|
-
try {
|
|
44
|
-
const pkgPath = path.join(workspaceDir, "package.json");
|
|
45
|
-
const pkgRaw = fs.readFileSync(pkgPath, "utf-8");
|
|
46
|
-
const pkg = JSON.parse(pkgRaw);
|
|
47
|
-
const name = typeof pkg.name === "string" ? pkg.name : "";
|
|
48
|
-
const description = typeof pkg.description === "string" ? pkg.description : "";
|
|
49
|
-
const scripts = pkg.scripts && typeof pkg.scripts === "object"
|
|
50
|
-
? Object.keys(pkg.scripts).join(", ")
|
|
51
|
-
: "";
|
|
52
|
-
const prefix = name ? `Node.js project '${name}'` : "Node.js project";
|
|
53
|
-
const descPart = description ? `. ${description}` : "";
|
|
54
|
-
const scriptsPart = scripts ? `. Scripts: ${scripts}` : "";
|
|
55
|
-
parts.push(`${prefix}${descPart}${scriptsPart}`);
|
|
56
|
-
}
|
|
57
|
-
catch {
|
|
58
|
-
// No package metadata available.
|
|
59
|
-
}
|
|
60
|
-
try {
|
|
61
|
-
const entries = fs.readdirSync(workspaceDir);
|
|
62
|
-
const dirs = entries.filter((entry) => {
|
|
63
|
-
try {
|
|
64
|
-
return fs.statSync(path.join(workspaceDir, entry)).isDirectory();
|
|
65
|
-
}
|
|
66
|
-
catch {
|
|
67
|
-
return false;
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
const files = entries.filter((entry) => {
|
|
71
|
-
try {
|
|
72
|
-
return fs.statSync(path.join(workspaceDir, entry)).isFile();
|
|
73
|
-
}
|
|
74
|
-
catch {
|
|
75
|
-
return false;
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
const visibleEntries = [
|
|
79
|
-
dirs.slice(0, 10).map((entry) => `${entry}/`).join(", "),
|
|
80
|
-
files.slice(0, 5).join(", "),
|
|
81
|
-
].filter(Boolean).join(", ");
|
|
82
|
-
if (visibleEntries) {
|
|
83
|
-
parts.push(`Files: ${visibleEntries}`);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
catch {
|
|
87
|
-
// Workspace listing is best-effort.
|
|
88
|
-
}
|
|
89
|
-
const gitResult = spawnSync("git", ["log", "--oneline", "-5", "--format=%s"], {
|
|
90
|
-
cwd: workspaceDir,
|
|
91
|
-
encoding: "utf-8",
|
|
92
|
-
});
|
|
93
|
-
if (gitResult.status === 0 && gitResult.stdout.trim().length > 0) {
|
|
94
|
-
parts.push(`Recent changes: ${gitResult.stdout.trim().split("\n").join("; ")}`);
|
|
95
|
-
}
|
|
96
|
-
return parts.join(". ");
|
|
97
|
-
}
|
|
98
|
-
// Re-exports for callers that imported these from daemon-runner
|
|
99
|
-
export { generateCronEntry } from "./signals.js";
|
|
100
|
-
export { rotateDaemonLog, calculateAdaptiveInterval } from "./health.js";
|
|
101
|
-
const RUNTIME_LEADER_LEASE_MS = 30_000;
|
|
102
|
-
const RUNTIME_LEADER_HEARTBEAT_MS = 10_000;
|
|
103
|
-
const MAX_IDLE_SLEEP_MS = 5_000;
|
|
104
|
-
export class DaemonRunner {
|
|
105
|
-
coreLoop;
|
|
106
|
-
curiosityEngine;
|
|
107
|
-
goalNegotiator;
|
|
108
|
-
driveSystem;
|
|
109
|
-
stateManager;
|
|
110
|
-
pidManager;
|
|
111
|
-
logger;
|
|
112
|
-
config;
|
|
113
|
-
running = false;
|
|
114
|
-
shuttingDown = false;
|
|
115
|
-
state;
|
|
116
|
-
baseDir;
|
|
117
|
-
logDir;
|
|
118
|
-
logPath;
|
|
119
|
-
eventServer;
|
|
120
|
-
approvalFn;
|
|
121
|
-
sleepAbortController = null;
|
|
122
|
-
currentGoalIds = [];
|
|
123
|
-
currentLoopIndex = 0;
|
|
124
|
-
lastProactiveTickAt = 0;
|
|
125
|
-
llmClient;
|
|
126
|
-
reportingEngine;
|
|
127
|
-
cronScheduler;
|
|
128
|
-
scheduleEngine;
|
|
129
|
-
memoryLifecycle;
|
|
130
|
-
knowledgeManager;
|
|
131
|
-
consecutiveIdleCycles = 0;
|
|
132
|
-
gateway;
|
|
133
|
-
supervisor = null;
|
|
134
|
-
lastGoalReviewAt = Date.now();
|
|
135
|
-
cronScheduleInterval = null;
|
|
136
|
-
shutdownResolve = null;
|
|
137
|
-
shutdownCoordinator = null;
|
|
138
|
-
stopStatusHeartbeat = null;
|
|
139
|
-
lastRuntimeStoreMaintenanceAt = 0;
|
|
140
|
-
startupRuntimeStoreMaintenancePromise = null;
|
|
141
|
-
startupRuntimeStoreMaintenanceError = null;
|
|
142
|
-
deps;
|
|
143
|
-
runtimeRoot = null;
|
|
144
|
-
approvalStore = null;
|
|
145
|
-
outboxStore = null;
|
|
146
|
-
runtimeHealthStore = null;
|
|
147
|
-
leaderLockManager = null;
|
|
148
|
-
goalLeaseManager = null;
|
|
149
|
-
journalQueue = null;
|
|
150
|
-
queueClaimSweeper = null;
|
|
151
|
-
approvalBroker = null;
|
|
152
|
-
commandDispatcher = null;
|
|
153
|
-
eventDispatcher = null;
|
|
154
|
-
runtimeOwnership;
|
|
155
|
-
getProviderRuntimeFingerprintFn;
|
|
156
|
-
refreshResidentDeps;
|
|
157
|
-
providerRuntimeFingerprint = null;
|
|
158
|
-
constructor(deps) {
|
|
159
|
-
this.deps = deps;
|
|
160
|
-
this.coreLoop = deps.coreLoop;
|
|
161
|
-
this.curiosityEngine = deps.curiosityEngine;
|
|
162
|
-
this.goalNegotiator = deps.goalNegotiator;
|
|
163
|
-
this.driveSystem = deps.driveSystem;
|
|
164
|
-
this.stateManager = deps.stateManager;
|
|
165
|
-
this.pidManager = deps.pidManager;
|
|
166
|
-
this.logger = deps.logger;
|
|
167
|
-
this.eventServer = deps.eventServer;
|
|
168
|
-
this.llmClient = deps.llmClient;
|
|
169
|
-
this.reportingEngine = deps.reportingEngine;
|
|
170
|
-
this.cronScheduler = deps.cronScheduler;
|
|
171
|
-
this.scheduleEngine = deps.scheduleEngine;
|
|
172
|
-
this.memoryLifecycle = deps.memoryLifecycle;
|
|
173
|
-
this.knowledgeManager = deps.knowledgeManager;
|
|
174
|
-
this.gateway = deps.gateway;
|
|
175
|
-
this.supervisor = deps.supervisor ?? null;
|
|
176
|
-
this.lastProactiveTickAt = Date.now();
|
|
177
|
-
// Parse config with defaults via DaemonConfigSchema.parse()
|
|
178
|
-
this.config = DaemonConfigSchema.parse(deps.config ?? {});
|
|
179
|
-
// Resolve base directory from stateManager
|
|
180
|
-
this.baseDir = this.stateManager.getBaseDir();
|
|
181
|
-
// Pre-compute log paths used by rotateLog
|
|
182
|
-
this.logDir = path.join(this.baseDir, this.config.log_dir);
|
|
183
|
-
this.logPath = path.join(this.logDir, "pulseed.log");
|
|
184
|
-
this.runtimeRoot = this.resolveRuntimeRoot();
|
|
185
|
-
const runtimePaths = createRuntimeStorePaths(this.runtimeRoot);
|
|
186
|
-
this.approvalStore = new ApprovalStore(runtimePaths);
|
|
187
|
-
this.outboxStore = new OutboxStore(runtimePaths);
|
|
188
|
-
this.runtimeHealthStore = new RuntimeHealthStore(runtimePaths);
|
|
189
|
-
this.leaderLockManager = new LeaderLockManager(this.runtimeRoot);
|
|
190
|
-
this.goalLeaseManager = new GoalLeaseManager(this.runtimeRoot);
|
|
191
|
-
this.approvalBroker = new ApprovalBroker({
|
|
192
|
-
store: this.approvalStore,
|
|
193
|
-
logger: this.logger,
|
|
194
|
-
});
|
|
195
|
-
this.journalQueue = new JournalBackedQueue({
|
|
196
|
-
journalPath: path.join(this.runtimeRoot, "queue.json"),
|
|
197
|
-
maxAttempts: RUNTIME_JOURNAL_MAX_ATTEMPTS,
|
|
198
|
-
});
|
|
199
|
-
this.queueClaimSweeper = new QueueClaimSweeper({
|
|
200
|
-
queue: this.journalQueue,
|
|
201
|
-
});
|
|
202
|
-
this.runtimeOwnership = new RuntimeOwnershipCoordinator({
|
|
203
|
-
baseDir: this.baseDir,
|
|
204
|
-
runtimeRoot: this.runtimeRoot,
|
|
205
|
-
logger: this.logger,
|
|
206
|
-
approvalStore: this.approvalStore,
|
|
207
|
-
outboxStore: this.outboxStore,
|
|
208
|
-
runtimeHealthStore: this.runtimeHealthStore,
|
|
209
|
-
leaderLockManager: this.leaderLockManager,
|
|
210
|
-
onLeadershipLost: (reason) => this.failRuntimeLeadership(reason),
|
|
211
|
-
});
|
|
212
|
-
this.getProviderRuntimeFingerprintFn =
|
|
213
|
-
deps.getProviderRuntimeFingerprint ?? getProviderRuntimeFingerprint;
|
|
214
|
-
this.refreshResidentDeps = deps.refreshResidentDeps;
|
|
215
|
-
// Initialize daemon state
|
|
216
|
-
this.state = DaemonStateSchema.parse({
|
|
217
|
-
pid: process.pid,
|
|
218
|
-
started_at: new Date().toISOString(),
|
|
219
|
-
last_loop_at: null,
|
|
220
|
-
loop_count: 0,
|
|
221
|
-
active_goals: [],
|
|
222
|
-
status: "stopped",
|
|
223
|
-
crash_count: 0,
|
|
224
|
-
last_error: null,
|
|
225
|
-
last_resident_at: null,
|
|
226
|
-
resident_activity: null,
|
|
227
|
-
});
|
|
228
|
-
}
|
|
229
|
-
refreshOperationalState() {
|
|
230
|
-
this.state.active_goals = [...this.currentGoalIds];
|
|
231
|
-
if (this.state.status === "crashed" || this.state.status === "stopping") {
|
|
232
|
-
return;
|
|
233
|
-
}
|
|
234
|
-
this.state.status = this.currentGoalIds.length === 0 ? "idle" : "running";
|
|
235
|
-
}
|
|
236
|
-
resolveRuntimeRoot() {
|
|
237
|
-
const configuredRoot = this.config.runtime_root;
|
|
238
|
-
if (!configuredRoot || configuredRoot.trim() === "") {
|
|
239
|
-
return path.join(this.baseDir, "runtime");
|
|
240
|
-
}
|
|
241
|
-
return path.isAbsolute(configuredRoot)
|
|
242
|
-
? configuredRoot
|
|
243
|
-
: path.resolve(this.baseDir, configuredRoot);
|
|
244
|
-
}
|
|
245
|
-
// ─── Public API ───
|
|
246
|
-
/**
|
|
247
|
-
* Start daemon loop for given goals.
|
|
248
|
-
* Throws if daemon is already running.
|
|
249
|
-
*/
|
|
250
|
-
async start(goalIds) {
|
|
251
|
-
let startupReady = false;
|
|
252
|
-
try {
|
|
253
|
-
// 2. Rotate log if needed, then check for crash recovery marker
|
|
254
|
-
await this.rotateLog();
|
|
255
|
-
await this.checkCrashRecovery();
|
|
256
|
-
await this.initializeRuntimeFoundation();
|
|
257
|
-
await this.acquireRuntimeLeadership();
|
|
258
|
-
// 2c. Start EventServer (always-on) and file watcher
|
|
259
|
-
if (!this.eventServer) {
|
|
260
|
-
const esPort = this.config.event_server_port ?? 41700;
|
|
261
|
-
this.eventServer = new EventServer(this.driveSystem, {
|
|
262
|
-
port: esPort,
|
|
263
|
-
stateManager: this.stateManager,
|
|
264
|
-
outboxStore: this.outboxStore ?? undefined,
|
|
265
|
-
}, this.logger);
|
|
266
|
-
}
|
|
267
|
-
if (this.outboxStore) {
|
|
268
|
-
this.eventServer.setOutboxStore?.(this.outboxStore);
|
|
269
|
-
}
|
|
270
|
-
this.eventServer.setActiveWorkersProvider?.(() => {
|
|
271
|
-
const workers = this.supervisor?.getState().workers ?? [];
|
|
272
|
-
return workers
|
|
273
|
-
.filter((worker) => worker.goalId !== null)
|
|
274
|
-
.map((worker) => ({
|
|
275
|
-
worker_id: worker.workerId,
|
|
276
|
-
goal_id: worker.goalId,
|
|
277
|
-
started_at: worker.startedAt,
|
|
278
|
-
iterations: worker.iterations,
|
|
279
|
-
}));
|
|
280
|
-
});
|
|
281
|
-
if (this.approvalBroker) {
|
|
282
|
-
this.approvalBroker.setBroadcast((eventType, data) => {
|
|
283
|
-
void this.eventServer?.broadcast?.(eventType, data);
|
|
284
|
-
});
|
|
285
|
-
this.eventServer.setApprovalBroker?.(this.approvalBroker);
|
|
286
|
-
}
|
|
287
|
-
this.eventServer.setCommandEnvelopeHook?.(async (envelope) => this.handleInboundEnvelope(envelope));
|
|
288
|
-
if (this.gateway) {
|
|
289
|
-
// Phase A: Route through Gateway → Envelope → writeEvent
|
|
290
|
-
const httpAdapter = new HttpChannelAdapter(this.eventServer);
|
|
291
|
-
this.gateway.registerAdapter(httpAdapter);
|
|
292
|
-
this.gateway.onEnvelope(async (envelope) => this.handleInboundEnvelope(envelope));
|
|
293
|
-
// Wire onHighPriority to abort sleep — done via the abortSleep() public method.
|
|
294
|
-
// Callers who construct buses should pass: onHighPriority: () => daemon.abortSleep()
|
|
295
|
-
// The daemon provides abortSleep() below for this purpose.
|
|
296
|
-
await this.gateway.start();
|
|
297
|
-
this.logger.info("Gateway started with HTTP adapter", { port: this.eventServer.getPort() });
|
|
298
|
-
}
|
|
299
|
-
else {
|
|
300
|
-
await this.eventServer.start();
|
|
301
|
-
this.eventServer.startFileWatcher();
|
|
302
|
-
this.logger.info("EventServer started", { port: this.eventServer.getPort() });
|
|
303
|
-
}
|
|
304
|
-
// Wire approval bridge if not already provided
|
|
305
|
-
if (!this.approvalFn && this.eventServer) {
|
|
306
|
-
const es = this.eventServer;
|
|
307
|
-
this.approvalFn = async (task) => {
|
|
308
|
-
const goalId = String(task["goal_id"] ?? "unknown");
|
|
309
|
-
const description = String(task["description"] ?? "");
|
|
310
|
-
const action = String(task["action"] ?? "");
|
|
311
|
-
const taskId = String(task["id"] ?? "");
|
|
312
|
-
if (this.reportingEngine) {
|
|
313
|
-
try {
|
|
314
|
-
await this.reportingEngine.generateNotification("approval_required", {
|
|
315
|
-
goalId,
|
|
316
|
-
message: description || action || taskId || "Task approval required",
|
|
317
|
-
details: [`task_id: ${taskId || "(none)"}`, `action: ${action || "(none)"}`].join("\n"),
|
|
318
|
-
});
|
|
319
|
-
}
|
|
320
|
-
catch (err) {
|
|
321
|
-
this.logger.warn("Approval notification dispatch failed", {
|
|
322
|
-
goalId,
|
|
323
|
-
error: err instanceof Error ? err.message : String(err),
|
|
324
|
-
});
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
return es.requestApproval(goalId, {
|
|
328
|
-
id: taskId,
|
|
329
|
-
description,
|
|
330
|
-
action,
|
|
331
|
-
});
|
|
332
|
-
};
|
|
333
|
-
}
|
|
334
|
-
this.stopStatusHeartbeat = startDaemonStatusHeartbeat({
|
|
335
|
-
eventServer: this.eventServer,
|
|
336
|
-
getSnapshot: () => ({
|
|
337
|
-
status: this.state.status,
|
|
338
|
-
activeGoals: this.state.active_goals,
|
|
339
|
-
loopCount: this.state.loop_count,
|
|
340
|
-
startedAt: this.state.started_at,
|
|
341
|
-
}),
|
|
342
|
-
});
|
|
343
|
-
this.driveSystem.startWatcher((event) => this.onEventReceived(event));
|
|
344
|
-
this.shuttingDown = false;
|
|
345
|
-
const shutdownTimeout = this.config.crash_recovery.graceful_shutdown_timeout_ms ?? 30_000;
|
|
346
|
-
this.shutdownCoordinator = new ProcessShutdownCoordinator({
|
|
347
|
-
logger: this.logger,
|
|
348
|
-
gracefulShutdownTimeoutMs: shutdownTimeout,
|
|
349
|
-
onShutdown: () => this.beginGracefulShutdown(),
|
|
350
|
-
onForceStop: () => {
|
|
351
|
-
this.running = false;
|
|
352
|
-
},
|
|
353
|
-
});
|
|
354
|
-
this.shutdownCoordinator.activate();
|
|
355
|
-
// 4. Restore state from previous interrupted run
|
|
356
|
-
const restoredGoalIds = await this.restoreState(goalIds);
|
|
357
|
-
const reconciledGoalIds = await this.reconcileInterruptedExecutions();
|
|
358
|
-
const mergedGoalIds = Array.from(new Set([...restoredGoalIds, ...reconciledGoalIds]));
|
|
359
|
-
// 5. Save initial daemon state
|
|
360
|
-
this.running = true;
|
|
361
|
-
this.currentGoalIds = mergedGoalIds;
|
|
362
|
-
this.currentLoopIndex = 0;
|
|
363
|
-
this.state = DaemonStateSchema.parse({
|
|
364
|
-
pid: process.pid,
|
|
365
|
-
started_at: new Date().toISOString(),
|
|
366
|
-
last_loop_at: null,
|
|
367
|
-
loop_count: 0,
|
|
368
|
-
active_goals: mergedGoalIds,
|
|
369
|
-
status: mergedGoalIds.length === 0 ? "idle" : "running",
|
|
370
|
-
crash_count: 0,
|
|
371
|
-
last_error: null,
|
|
372
|
-
last_resident_at: null,
|
|
373
|
-
resident_activity: null,
|
|
374
|
-
});
|
|
375
|
-
this.providerRuntimeFingerprint = await this.captureProviderRuntimeFingerprint();
|
|
376
|
-
await this.saveDaemonState();
|
|
377
|
-
// 5b. Write "running" shutdown marker (crash detection on next startup)
|
|
378
|
-
await this.writeShutdownMarker({
|
|
379
|
-
goal_ids: mergedGoalIds,
|
|
380
|
-
loop_index: 0,
|
|
381
|
-
timestamp: new Date().toISOString(),
|
|
382
|
-
reason: "startup",
|
|
383
|
-
state: "running",
|
|
384
|
-
});
|
|
385
|
-
// 6. Log start
|
|
386
|
-
this.logger.info("Daemon started", {
|
|
387
|
-
pid: process.pid,
|
|
388
|
-
goals: mergedGoalIds,
|
|
389
|
-
check_interval_ms: this.config.check_interval_ms,
|
|
390
|
-
});
|
|
391
|
-
const sweepResult = this.queueClaimSweeper?.sweep();
|
|
392
|
-
if (sweepResult && (sweepResult.reclaimed > 0 || sweepResult.deadlettered > 0)) {
|
|
393
|
-
this.logger.info("Recovered stale runtime claims on startup", {
|
|
394
|
-
reclaimed: sweepResult.reclaimed,
|
|
395
|
-
deadlettered: sweepResult.deadlettered,
|
|
396
|
-
expiredClaimTokens: sweepResult.expiredClaimTokens,
|
|
397
|
-
});
|
|
398
|
-
}
|
|
399
|
-
this.queueClaimSweeper?.start();
|
|
400
|
-
// 7. Create supervisor if not already provided.
|
|
401
|
-
if (!this.supervisor) {
|
|
402
|
-
const factory = this.deps.coreLoopFactory ?? (() => this.coreLoop);
|
|
403
|
-
this.supervisor = new LoopSupervisor({
|
|
404
|
-
coreLoopFactory: factory,
|
|
405
|
-
journalQueue: this.journalQueue,
|
|
406
|
-
goalLeaseManager: this.goalLeaseManager,
|
|
407
|
-
driveSystem: this.driveSystem,
|
|
408
|
-
stateManager: this.stateManager,
|
|
409
|
-
logger: this.logger,
|
|
410
|
-
onGoalComplete: async (goalId, result) => this.handleGoalCompletion(goalId, result),
|
|
411
|
-
onEscalation: (goalId, crashCount, lastError) => {
|
|
412
|
-
this.logger.error(`Goal ${goalId} suspended after ${crashCount} crashes: ${lastError}`);
|
|
413
|
-
},
|
|
414
|
-
}, {
|
|
415
|
-
concurrency: this.config.max_concurrent_goals,
|
|
416
|
-
iterationsPerCycle: this.config.iterations_per_cycle,
|
|
417
|
-
stateFilePath: path.join(this.runtimeRoot, "supervisor-state.json"),
|
|
418
|
-
});
|
|
419
|
-
}
|
|
420
|
-
if (!this.eventDispatcher) {
|
|
421
|
-
this.eventDispatcher = new EventDispatcher({
|
|
422
|
-
journalQueue: this.journalQueue,
|
|
423
|
-
logger: this.logger,
|
|
424
|
-
onGoalActivate: async (goalId) => this.handleGoalStartCommand(goalId),
|
|
425
|
-
onExternalEvent: async (event) => this.driveSystem.writeEvent(PulSeedEventSchema.parse(event)),
|
|
426
|
-
onCronTaskDue: async (task) => this.handleCronTaskDue(task.id),
|
|
427
|
-
});
|
|
428
|
-
}
|
|
429
|
-
if (!this.commandDispatcher) {
|
|
430
|
-
this.commandDispatcher = new CommandDispatcher({
|
|
431
|
-
journalQueue: this.journalQueue,
|
|
432
|
-
logger: this.logger,
|
|
433
|
-
onGoalStart: async (goalId) => this.runCommandWithHealth("goal_start", () => this.handleGoalStartCommand(goalId)),
|
|
434
|
-
onGoalStop: async (goalId) => this.runCommandWithHealth("goal_stop", () => this.handleGoalStopCommand(goalId)),
|
|
435
|
-
onChatMessage: async (goalId, message) => this.runCommandWithHealth("chat_message", () => this.handleChatMessageCommand(goalId, message)),
|
|
436
|
-
onApprovalResponse: async (goalId, requestId, approved) => this.runCommandWithHealth("approval_response", () => this.handleApprovalResponseCommand(goalId, requestId, approved)),
|
|
437
|
-
onRuntimeControl: async (operationId, kind) => this.runCommandWithHealth("runtime_control", () => this.handleRuntimeControlCommand(operationId, kind)),
|
|
438
|
-
onScheduleRunNow: async (scheduleId, allowEscalation) => this.runCommandWithHealth("schedule_run_now", () => this.handleScheduleRunNowCommand(scheduleId, allowEscalation)),
|
|
439
|
-
});
|
|
440
|
-
}
|
|
441
|
-
await this.saveRuntimeHealthSnapshot(this.supervisor
|
|
442
|
-
? "execution_ownership_durable"
|
|
443
|
-
: "foundation_only", {
|
|
444
|
-
gateway: this.gateway || this.eventServer ? "ok" : "degraded",
|
|
445
|
-
queue: "ok",
|
|
446
|
-
leases: "ok",
|
|
447
|
-
approval: "ok",
|
|
448
|
-
outbox: "ok",
|
|
449
|
-
supervisor: this.supervisor ? "ok" : "degraded",
|
|
450
|
-
});
|
|
451
|
-
this.startStartupRuntimeStoreMaintenance();
|
|
452
|
-
// 8. Run main loop — supervisor mode when supervisor is injected via deps,
|
|
453
|
-
// fallback to sequential runLoop otherwise.
|
|
454
|
-
startupReady = true;
|
|
455
|
-
let cleanupHandled = false;
|
|
456
|
-
try {
|
|
457
|
-
await this.eventDispatcher?.start();
|
|
458
|
-
await this.commandDispatcher?.start();
|
|
459
|
-
if (this.supervisor) {
|
|
460
|
-
// Supervisor handles goal execution; cron/schedule must also run in this mode.
|
|
461
|
-
await this.supervisor.start(mergedGoalIds);
|
|
462
|
-
const maintenanceIntervalMs = this.config.check_interval_ms;
|
|
463
|
-
await this.runSupervisorMaintenanceCycle();
|
|
464
|
-
await this.reconcileRuntimeControlOperationsAfterStartup();
|
|
465
|
-
this.cronScheduleInterval = setInterval(async () => {
|
|
466
|
-
if (this.shuttingDown)
|
|
467
|
-
return;
|
|
468
|
-
await this.runSupervisorMaintenanceCycle();
|
|
469
|
-
}, maintenanceIntervalMs);
|
|
470
|
-
// Block until stop() is called.
|
|
471
|
-
await new Promise((resolve) => {
|
|
472
|
-
this.shutdownResolve = resolve;
|
|
473
|
-
// If already stopped before we get here, resolve immediately.
|
|
474
|
-
if (!this.running)
|
|
475
|
-
resolve();
|
|
476
|
-
});
|
|
477
|
-
}
|
|
478
|
-
else {
|
|
479
|
-
// Fallback: sequential mode
|
|
480
|
-
await this.reconcileRuntimeControlOperationsAfterStartup();
|
|
481
|
-
await this.runLoop();
|
|
482
|
-
cleanupHandled = true;
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
finally {
|
|
486
|
-
this.queueClaimSweeper?.stop();
|
|
487
|
-
this.shutdownCoordinator?.dispose();
|
|
488
|
-
this.shutdownCoordinator = null;
|
|
489
|
-
this.stopStatusHeartbeat?.();
|
|
490
|
-
this.stopStatusHeartbeat = null;
|
|
491
|
-
if (this.cronScheduleInterval !== null) {
|
|
492
|
-
clearInterval(this.cronScheduleInterval);
|
|
493
|
-
this.cronScheduleInterval = null;
|
|
494
|
-
}
|
|
495
|
-
await this.supervisor?.shutdown();
|
|
496
|
-
await this.eventDispatcher?.shutdown();
|
|
497
|
-
await this.commandDispatcher?.shutdown();
|
|
498
|
-
this.driveSystem.stopWatcher();
|
|
499
|
-
if (this.gateway) {
|
|
500
|
-
await this.gateway.stop();
|
|
501
|
-
this.logger.info("Gateway stopped");
|
|
502
|
-
}
|
|
503
|
-
else if (this.eventServer) {
|
|
504
|
-
this.eventServer.stopFileWatcher();
|
|
505
|
-
await this.eventServer.stop();
|
|
506
|
-
this.logger.info("EventServer stopped");
|
|
507
|
-
}
|
|
508
|
-
if (!cleanupHandled) {
|
|
509
|
-
await this.cleanup();
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
catch (err) {
|
|
514
|
-
if (!startupReady) {
|
|
515
|
-
try {
|
|
516
|
-
await this.drainStartupRuntimeStoreMaintenance();
|
|
517
|
-
}
|
|
518
|
-
finally {
|
|
519
|
-
await this.releaseStartupOwnership();
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
throw err;
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
async initializeRuntimeFoundation() {
|
|
526
|
-
await this.runtimeOwnership.initializeFoundation();
|
|
527
|
-
}
|
|
528
|
-
async saveRuntimeHealthSnapshot(phase, components) {
|
|
529
|
-
await this.runtimeOwnership.saveRuntimeHealthSnapshot(phase, components);
|
|
530
|
-
}
|
|
531
|
-
async acquireRuntimeLeadership() {
|
|
532
|
-
await this.runtimeOwnership.acquireLeadership(RUNTIME_LEADER_LEASE_MS, RUNTIME_LEADER_HEARTBEAT_MS);
|
|
533
|
-
}
|
|
534
|
-
failRuntimeLeadership(reason) {
|
|
535
|
-
if (this.state.status === "crashed") {
|
|
536
|
-
return;
|
|
537
|
-
}
|
|
538
|
-
this.logger.error("Lost runtime leadership; stopping daemon", {
|
|
539
|
-
error: reason,
|
|
540
|
-
});
|
|
541
|
-
this.state.status = "crashed";
|
|
542
|
-
this.state.last_error = reason;
|
|
543
|
-
this.state.interrupted_goals = [...this.state.active_goals];
|
|
544
|
-
this.running = false;
|
|
545
|
-
this.shuttingDown = true;
|
|
546
|
-
this.shutdownResolve?.();
|
|
547
|
-
this.sleepAbortController?.abort();
|
|
548
|
-
void this.saveDaemonState();
|
|
549
|
-
}
|
|
550
|
-
async releaseStartupOwnership() {
|
|
551
|
-
await this.runtimeOwnership.releaseLeadership();
|
|
552
|
-
}
|
|
553
|
-
/** Expose approvalFn for callers (e.g. cmdStart) to wire into TaskLifecycle */
|
|
554
|
-
getApprovalFn() {
|
|
555
|
-
return this.approvalFn;
|
|
556
|
-
}
|
|
557
|
-
/**
|
|
558
|
-
* Abort the current sleep cycle immediately.
|
|
559
|
-
*/
|
|
560
|
-
abortSleep() {
|
|
561
|
-
this.sleepAbortController?.abort();
|
|
562
|
-
}
|
|
563
|
-
/**
|
|
564
|
-
* Signal daemon to stop after current iteration completes.
|
|
565
|
-
* Saves interrupted_goals so they can be restored on next start.
|
|
566
|
-
*/
|
|
567
|
-
stop() {
|
|
568
|
-
this.running = false;
|
|
569
|
-
this.shutdownResolve?.();
|
|
570
|
-
this.sleepAbortController?.abort();
|
|
571
|
-
this.state.status = "stopping";
|
|
572
|
-
// Save current active_goals as interrupted_goals for state restoration
|
|
573
|
-
this.state.interrupted_goals = [...this.state.active_goals];
|
|
574
|
-
// Do NOT persist here — cleanup() will save the final state after the loop exits.
|
|
575
|
-
// Calling saveDaemonState() here would race with cleanup()'s save and corrupt the file.
|
|
576
|
-
this.logger.info("Stop requested — daemon will stop after current iteration");
|
|
577
|
-
}
|
|
578
|
-
// ─── Private: Main Loop ───
|
|
579
|
-
/**
|
|
580
|
-
* Main daemon loop. Runs until this.running is false or a critical error occurs.
|
|
581
|
-
*/
|
|
582
|
-
async runLoop() {
|
|
583
|
-
while (this.running && !this.shuttingDown) {
|
|
584
|
-
try {
|
|
585
|
-
const goalIds = [...this.currentGoalIds];
|
|
586
|
-
this.refreshOperationalState();
|
|
587
|
-
const cycleSnapshot = await this.collectGoalCycleSnapshot(goalIds);
|
|
588
|
-
// 1. Determine which goals need activation
|
|
589
|
-
const activeGoals = await this.determineActiveGoals(goalIds, cycleSnapshot);
|
|
590
|
-
await this.maybeRefreshProviderRuntime(activeGoals.length);
|
|
591
|
-
if (activeGoals.length === 0) {
|
|
592
|
-
this.logger.info("No goals need activation this cycle", {
|
|
593
|
-
checked: goalIds.length,
|
|
594
|
-
});
|
|
595
|
-
}
|
|
596
|
-
// 2. Execute loop for each active goal
|
|
597
|
-
for (const goalId of activeGoals) {
|
|
598
|
-
if (!this.running)
|
|
599
|
-
break;
|
|
600
|
-
this.logger.info(`Running loop for goal: ${goalId}`);
|
|
601
|
-
try {
|
|
602
|
-
const iterationsPerCycle = this.config.iterations_per_cycle ?? 1;
|
|
603
|
-
const result = await this.coreLoop.run(goalId, { maxIterations: iterationsPerCycle });
|
|
604
|
-
this.state.loop_count++;
|
|
605
|
-
this.currentLoopIndex = this.state.loop_count;
|
|
606
|
-
this.state.last_loop_at = new Date().toISOString();
|
|
607
|
-
this.logger.info(`Loop completed for goal: ${goalId}`, {
|
|
608
|
-
status: result.finalStatus,
|
|
609
|
-
iterations: result.totalIterations,
|
|
610
|
-
});
|
|
611
|
-
if (this.eventServer) {
|
|
612
|
-
const goal = await this.stateManager.loadGoal(goalId).catch(() => null);
|
|
613
|
-
void this.eventServer.broadcast?.("iteration_complete", {
|
|
614
|
-
goalId,
|
|
615
|
-
loopCount: this.state.loop_count,
|
|
616
|
-
status: goal?.status ?? "unknown",
|
|
617
|
-
});
|
|
618
|
-
}
|
|
619
|
-
await this.broadcastGoalUpdated(goalId, result.finalStatus);
|
|
620
|
-
}
|
|
621
|
-
catch (err) {
|
|
622
|
-
this.handleLoopError(goalId, err);
|
|
623
|
-
}
|
|
624
|
-
// Bail out of goal iteration if crash limit exceeded
|
|
625
|
-
if (!this.running)
|
|
626
|
-
break;
|
|
627
|
-
}
|
|
628
|
-
// 3. Save state
|
|
629
|
-
this.refreshOperationalState();
|
|
630
|
-
await this.saveDaemonState();
|
|
631
|
-
if (this.eventServer) {
|
|
632
|
-
void this.eventServer.broadcast?.("daemon_status", {
|
|
633
|
-
status: this.state.status,
|
|
634
|
-
activeGoals: this.state.active_goals,
|
|
635
|
-
loopCount: this.state.loop_count,
|
|
636
|
-
lastLoopAt: this.state.last_loop_at,
|
|
637
|
-
});
|
|
638
|
-
}
|
|
639
|
-
// 3b. Process due cron-scheduled tasks
|
|
640
|
-
await this.processCronTasks();
|
|
641
|
-
// 3b2. Process schedule engine entries
|
|
642
|
-
await this.processScheduleEntries();
|
|
643
|
-
// 3c. Expire old cron tasks periodically (every 100 cycles)
|
|
644
|
-
if (this.state.loop_count > 0 && this.state.loop_count % 100 === 0) {
|
|
645
|
-
await this.expireCronTasks();
|
|
646
|
-
}
|
|
647
|
-
// 4. Proactive tick: fire every cycle (not only when idle) so long-running goals
|
|
648
|
-
// do not block proactive actions indefinitely.
|
|
649
|
-
if (this.running) {
|
|
650
|
-
await this.proactiveTick();
|
|
651
|
-
}
|
|
652
|
-
if (this.running) {
|
|
653
|
-
await this.runRuntimeStoreMaintenance();
|
|
654
|
-
}
|
|
655
|
-
// 5. Track idle cycles for adaptive sleep
|
|
656
|
-
if (activeGoals.length > 0) {
|
|
657
|
-
this.consecutiveIdleCycles = 0;
|
|
658
|
-
}
|
|
659
|
-
else {
|
|
660
|
-
this.consecutiveIdleCycles++;
|
|
661
|
-
}
|
|
662
|
-
// 6. Wait for next check interval
|
|
663
|
-
if (this.running) {
|
|
664
|
-
const baseIntervalMs = this.getNextInterval(goalIds);
|
|
665
|
-
const maxGapScore = await this.getMaxGapScore(goalIds, cycleSnapshot);
|
|
666
|
-
const intervalMs = this.calculateAdaptiveInterval(baseIntervalMs, activeGoals.length, maxGapScore, this.consecutiveIdleCycles);
|
|
667
|
-
const sleepIntervalMs = activeGoals.length === 0 ? Math.min(intervalMs, MAX_IDLE_SLEEP_MS) : intervalMs;
|
|
668
|
-
this.logger.info(`Sleeping for ${sleepIntervalMs}ms until next check`);
|
|
669
|
-
await this.sleep(sleepIntervalMs);
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
catch (err) {
|
|
673
|
-
await this.handleCriticalError(err);
|
|
674
|
-
}
|
|
675
|
-
}
|
|
676
|
-
// Cleanup after loop exits
|
|
677
|
-
await this.cleanup();
|
|
678
|
-
}
|
|
679
|
-
// ─── Private: Goal Activation ───
|
|
680
|
-
/**
|
|
681
|
-
* Determine which goals should be activated this cycle.
|
|
682
|
-
* Uses DriveSystem.shouldActivate() for each goal, then sorts by priority.
|
|
683
|
-
*/
|
|
684
|
-
async determineActiveGoals(goalIds, snapshot) {
|
|
685
|
-
return determineActiveGoalsForCycle(this.driveSystem, goalIds, snapshot);
|
|
686
|
-
}
|
|
687
|
-
async collectGoalCycleSnapshot(goalIds) {
|
|
688
|
-
return collectGoalCycleScheduleSnapshot(this.driveSystem, goalIds);
|
|
689
|
-
}
|
|
690
|
-
// ─── Private: Interval Calculation ───
|
|
691
|
-
/**
|
|
692
|
-
* Calculate the next check interval in milliseconds.
|
|
693
|
-
* Uses per-goal override from config.goal_intervals if configured,
|
|
694
|
-
* otherwise falls back to config.check_interval_ms.
|
|
695
|
-
* Returns the minimum interval across all goals (so the daemon checks
|
|
696
|
-
* as soon as the earliest goal is due).
|
|
697
|
-
*/
|
|
698
|
-
getNextInterval(goalIds) {
|
|
699
|
-
return getNextIntervalForGoals(this.config, goalIds);
|
|
700
|
-
}
|
|
701
|
-
// ─── Private: Error Handling ───
|
|
702
|
-
/**
|
|
703
|
-
* Handle a non-critical loop error for a single goal.
|
|
704
|
-
* Increments crash_count and stops daemon if max_retries exceeded.
|
|
705
|
-
*/
|
|
706
|
-
handleLoopError(goalId, err) {
|
|
707
|
-
const { shouldStop } = handleDaemonLoopError({
|
|
708
|
-
goalId,
|
|
709
|
-
error: err,
|
|
710
|
-
state: this.state,
|
|
711
|
-
maxRetries: this.config.crash_recovery.max_retries,
|
|
712
|
-
logger: this.logger,
|
|
713
|
-
observeTaskExecution: (status, reason) => this.runtimeOwnership.observeTaskExecution(status, reason),
|
|
714
|
-
});
|
|
715
|
-
if (shouldStop) {
|
|
716
|
-
this.running = false;
|
|
717
|
-
}
|
|
718
|
-
}
|
|
719
|
-
/**
|
|
720
|
-
* Handle a critical daemon-level error (outer loop catch).
|
|
721
|
-
* Marks state as crashed and stops the loop.
|
|
722
|
-
*/
|
|
723
|
-
async handleCriticalError(err) {
|
|
724
|
-
await handleCriticalDaemonError({
|
|
725
|
-
error: err,
|
|
726
|
-
state: this.state,
|
|
727
|
-
logger: this.logger,
|
|
728
|
-
observeTaskExecution: (status, reason) => this.runtimeOwnership.observeTaskExecution(status, reason),
|
|
729
|
-
saveDaemonState: () => this.saveDaemonState(),
|
|
730
|
-
});
|
|
731
|
-
this.running = false;
|
|
732
|
-
}
|
|
733
|
-
// ─── Private: State Persistence ───
|
|
734
|
-
/**
|
|
735
|
-
* Save daemon state to {baseDir}/daemon-state.json atomically.
|
|
736
|
-
*/
|
|
737
|
-
async saveDaemonState() {
|
|
738
|
-
await saveDaemonStateFile(this.baseDir, this.state, this.logger);
|
|
739
|
-
}
|
|
740
|
-
/**
|
|
741
|
-
* Restore state from a previous interrupted run.
|
|
742
|
-
* Merges interrupted_goals from daemon-state.json with the given goalIds (deduped).
|
|
743
|
-
* Returns the merged goal ID array.
|
|
744
|
-
*/
|
|
745
|
-
async restoreState(goalIds) {
|
|
746
|
-
return restoreInterruptedGoals(this.baseDir, goalIds, this.logger);
|
|
747
|
-
}
|
|
748
|
-
async reconcileInterruptedExecutions() {
|
|
749
|
-
return reconcileInterruptedExecutionsFn({
|
|
750
|
-
baseDir: this.baseDir,
|
|
751
|
-
stateManager: this.stateManager,
|
|
752
|
-
logger: this.logger,
|
|
753
|
-
});
|
|
754
|
-
}
|
|
755
|
-
async reconcileRuntimeControlOperationsAfterStartup() {
|
|
756
|
-
const operationStore = new RuntimeOperationStore(this.runtimeRoot ?? undefined);
|
|
757
|
-
const pending = await operationStore.listPending();
|
|
758
|
-
const now = new Date().toISOString();
|
|
759
|
-
for (const operation of pending) {
|
|
760
|
-
if (operation.state !== "restarting" ||
|
|
761
|
-
(operation.kind !== "restart_daemon" && operation.kind !== "restart_gateway")) {
|
|
762
|
-
continue;
|
|
763
|
-
}
|
|
764
|
-
await operationStore.save({
|
|
765
|
-
...operation,
|
|
766
|
-
state: "verified",
|
|
767
|
-
updated_at: now,
|
|
768
|
-
completed_at: now,
|
|
769
|
-
result: {
|
|
770
|
-
ok: true,
|
|
771
|
-
message: operation.kind === "restart_gateway"
|
|
772
|
-
? "gateway restart verified after daemon startup."
|
|
773
|
-
: "daemon restart verified after startup.",
|
|
774
|
-
daemon_status: this.state.status,
|
|
775
|
-
},
|
|
776
|
-
});
|
|
777
|
-
this.logger.info("Runtime control restart operation verified after startup", {
|
|
778
|
-
operation_id: operation.operation_id,
|
|
779
|
-
kind: operation.kind,
|
|
780
|
-
});
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
// ─── Private: Cleanup ───
|
|
784
|
-
/**
|
|
785
|
-
* Perform cleanup after the loop exits and write the final runtime health snapshot.
|
|
786
|
-
* Also writes "clean_shutdown" marker to enable crash-vs-clean detection on next startup.
|
|
787
|
-
*/
|
|
788
|
-
async cleanup() {
|
|
789
|
-
let startupMaintenanceError = null;
|
|
790
|
-
try {
|
|
791
|
-
await this.drainStartupRuntimeStoreMaintenance();
|
|
792
|
-
}
|
|
793
|
-
catch (err) {
|
|
794
|
-
startupMaintenanceError = err;
|
|
795
|
-
}
|
|
796
|
-
await cleanupDaemonRun({
|
|
797
|
-
baseDir: this.baseDir,
|
|
798
|
-
state: this.state,
|
|
799
|
-
currentGoalIds: this.currentGoalIds,
|
|
800
|
-
currentLoopIndex: this.currentLoopIndex,
|
|
801
|
-
runtimeOwnership: this.runtimeOwnership,
|
|
802
|
-
logger: this.logger,
|
|
803
|
-
});
|
|
804
|
-
if (startupMaintenanceError) {
|
|
805
|
-
throw startupMaintenanceError;
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
beginGracefulShutdown() {
|
|
809
|
-
if (this.shuttingDown) {
|
|
810
|
-
return;
|
|
811
|
-
}
|
|
812
|
-
this.shuttingDown = true;
|
|
813
|
-
this.logger.info("Shutting down gracefully...");
|
|
814
|
-
this.running = false;
|
|
815
|
-
this.state.status = "stopping";
|
|
816
|
-
this.state.interrupted_goals = [...this.state.active_goals];
|
|
817
|
-
this.shutdownResolve?.();
|
|
818
|
-
this.sleepAbortController?.abort();
|
|
819
|
-
}
|
|
820
|
-
// ─── Private: Cron Scheduler ───
|
|
821
|
-
/**
|
|
822
|
-
* Process due cron-scheduled tasks.
|
|
823
|
-
* Logs each task, executes based on type, and marks as fired.
|
|
824
|
-
*/
|
|
825
|
-
async processCronTasks() {
|
|
826
|
-
await processCronTasksForDaemon({
|
|
827
|
-
cronScheduler: this.cronScheduler,
|
|
828
|
-
logger: this.logger,
|
|
829
|
-
acceptRuntimeEnvelope: (envelope) => this.acceptRuntimeEnvelope(envelope),
|
|
830
|
-
});
|
|
831
|
-
}
|
|
832
|
-
/**
|
|
833
|
-
* Process due schedule engine entries.
|
|
834
|
-
*/
|
|
835
|
-
async processScheduleEntries() {
|
|
836
|
-
await processScheduleEntriesForDaemon({
|
|
837
|
-
scheduleEngine: this.scheduleEngine,
|
|
838
|
-
logger: this.logger,
|
|
839
|
-
acceptRuntimeEnvelope: (envelope) => this.acceptRuntimeEnvelope(envelope),
|
|
840
|
-
});
|
|
841
|
-
}
|
|
842
|
-
async broadcastGoalUpdated(goalId, fallbackStatus) {
|
|
843
|
-
if (!this.eventServer) {
|
|
844
|
-
return;
|
|
845
|
-
}
|
|
846
|
-
const goal = await this.stateManager.loadGoal(goalId).catch(() => null);
|
|
847
|
-
await this.eventServer.broadcast?.("goal_updated", {
|
|
848
|
-
goalId,
|
|
849
|
-
status: goal?.status ?? fallbackStatus ?? "unknown",
|
|
850
|
-
loopStatus: goal?.loop_status ?? null,
|
|
851
|
-
progress: null,
|
|
852
|
-
});
|
|
853
|
-
}
|
|
854
|
-
async broadcastChatResponse(goalId, message) {
|
|
855
|
-
if (!this.eventServer) {
|
|
856
|
-
return;
|
|
857
|
-
}
|
|
858
|
-
await this.eventServer.broadcast?.("chat_response", {
|
|
859
|
-
goalId,
|
|
860
|
-
message,
|
|
861
|
-
status: "queued",
|
|
862
|
-
});
|
|
863
|
-
}
|
|
864
|
-
/**
|
|
865
|
-
* Expire old non-permanent cron tasks.
|
|
866
|
-
*/
|
|
867
|
-
async expireCronTasks() {
|
|
868
|
-
await expireOldCronTasks(this.cronScheduler, this.logger);
|
|
869
|
-
}
|
|
870
|
-
// ─── Private: Sleep ───
|
|
871
|
-
/**
|
|
872
|
-
* Sleep for the given number of milliseconds.
|
|
873
|
-
* Can be aborted early via sleepAbortController (e.g. when an event arrives).
|
|
874
|
-
*/
|
|
875
|
-
sleep(ms) {
|
|
876
|
-
this.sleepAbortController = new AbortController();
|
|
877
|
-
const abortController = this.sleepAbortController;
|
|
878
|
-
return new Promise((resolve) => {
|
|
879
|
-
const timer = setTimeout(resolve, ms);
|
|
880
|
-
abortController.signal.addEventListener("abort", () => {
|
|
881
|
-
clearTimeout(timer);
|
|
882
|
-
resolve();
|
|
883
|
-
});
|
|
884
|
-
}).finally(() => {
|
|
885
|
-
this.sleepAbortController = null;
|
|
886
|
-
});
|
|
887
|
-
}
|
|
888
|
-
// ─── Private: Event Handling ───
|
|
889
|
-
/**
|
|
890
|
-
* Called when a file-watcher event arrives from DriveSystem.
|
|
891
|
-
* Aborts the current sleep so the loop runs immediately.
|
|
892
|
-
*/
|
|
893
|
-
onEventReceived(event) {
|
|
894
|
-
this.logger.info("Event received, triggering immediate loop", {
|
|
895
|
-
event_type: event.type,
|
|
896
|
-
});
|
|
897
|
-
this.sleepAbortController?.abort();
|
|
898
|
-
}
|
|
899
|
-
acceptRuntimeEnvelope(envelope) {
|
|
900
|
-
if (!this.journalQueue)
|
|
901
|
-
return true;
|
|
902
|
-
const result = this.journalQueue.accept(envelope);
|
|
903
|
-
if (result.accepted) {
|
|
904
|
-
return true;
|
|
905
|
-
}
|
|
906
|
-
this.logger.info("Runtime journal skipped envelope", {
|
|
907
|
-
id: envelope.id,
|
|
908
|
-
name: envelope.name,
|
|
909
|
-
type: envelope.type,
|
|
910
|
-
duplicate: result.duplicate,
|
|
911
|
-
runtime_root: this.runtimeRoot,
|
|
912
|
-
});
|
|
913
|
-
return false;
|
|
914
|
-
}
|
|
915
|
-
async handleInboundEnvelope(envelope) {
|
|
916
|
-
if (!this.acceptRuntimeEnvelope(envelope)) {
|
|
917
|
-
return;
|
|
918
|
-
}
|
|
919
|
-
}
|
|
920
|
-
async handleGoalStartCommand(goalId) {
|
|
921
|
-
if (!this.currentGoalIds.includes(goalId)) {
|
|
922
|
-
this.currentGoalIds.push(goalId);
|
|
923
|
-
}
|
|
924
|
-
this.refreshOperationalState();
|
|
925
|
-
await this.saveDaemonState();
|
|
926
|
-
this.supervisor?.activateGoal(goalId);
|
|
927
|
-
this.abortSleep();
|
|
928
|
-
await this.broadcastGoalUpdated(goalId, "active");
|
|
929
|
-
}
|
|
930
|
-
async handleGoalStopCommand(goalId) {
|
|
931
|
-
this.currentGoalIds = this.currentGoalIds.filter((id) => id !== goalId);
|
|
932
|
-
this.refreshOperationalState();
|
|
933
|
-
if (this.state.interrupted_goals) {
|
|
934
|
-
this.state.interrupted_goals = this.state.interrupted_goals.filter((id) => id !== goalId);
|
|
935
|
-
}
|
|
936
|
-
await this.saveDaemonState();
|
|
937
|
-
this.supervisor?.deactivateGoal(goalId);
|
|
938
|
-
this.abortSleep();
|
|
939
|
-
await this.broadcastGoalUpdated(goalId, "stopped");
|
|
940
|
-
}
|
|
941
|
-
async handleRuntimeControlCommand(operationId, kind) {
|
|
942
|
-
const operationStore = new RuntimeOperationStore(this.runtimeRoot ?? undefined);
|
|
943
|
-
const operation = await operationStore.load(operationId);
|
|
944
|
-
if (!operation) {
|
|
945
|
-
this.logger.warn("Runtime control operation not found", { operation_id: operationId, kind });
|
|
946
|
-
return;
|
|
947
|
-
}
|
|
948
|
-
if (kind !== "restart_daemon" && kind !== "restart_gateway") {
|
|
949
|
-
const now = new Date().toISOString();
|
|
950
|
-
await operationStore.save({
|
|
951
|
-
...operation,
|
|
952
|
-
state: "failed",
|
|
953
|
-
updated_at: now,
|
|
954
|
-
completed_at: now,
|
|
955
|
-
result: {
|
|
956
|
-
ok: false,
|
|
957
|
-
message: `Runtime control operation ${kind} is not implemented yet.`,
|
|
958
|
-
},
|
|
959
|
-
});
|
|
960
|
-
return;
|
|
961
|
-
}
|
|
962
|
-
const now = new Date().toISOString();
|
|
963
|
-
await operationStore.save({
|
|
964
|
-
...operation,
|
|
965
|
-
state: "restarting",
|
|
966
|
-
started_at: operation.started_at ?? now,
|
|
967
|
-
updated_at: now,
|
|
968
|
-
result: {
|
|
969
|
-
ok: true,
|
|
970
|
-
message: kind === "restart_gateway"
|
|
971
|
-
? "gateway restart is being handled by a daemon restart because the gateway runs in-process."
|
|
972
|
-
: "daemon restart was accepted by the runtime command dispatcher.",
|
|
973
|
-
},
|
|
974
|
-
});
|
|
975
|
-
this.logger.info("Runtime control requested daemon restart", { operation_id: operationId, kind });
|
|
976
|
-
setTimeout(() => {
|
|
977
|
-
this.beginGracefulShutdown();
|
|
978
|
-
}, 25).unref?.();
|
|
979
|
-
}
|
|
980
|
-
async handleScheduleRunNowCommand(scheduleId, allowEscalation) {
|
|
981
|
-
if (!this.scheduleEngine) {
|
|
982
|
-
throw new Error("ScheduleEngine is not configured");
|
|
983
|
-
}
|
|
984
|
-
await this.scheduleEngine.loadEntries();
|
|
985
|
-
const entry = resolveScheduleEntry(this.scheduleEngine.getEntries(), scheduleId);
|
|
986
|
-
if (!entry) {
|
|
987
|
-
throw new Error(`Schedule not found: ${scheduleId}`);
|
|
988
|
-
}
|
|
989
|
-
const run = await this.scheduleEngine.runEntryNow(entry.id, {
|
|
990
|
-
allowEscalation,
|
|
991
|
-
preserveEnabled: true,
|
|
992
|
-
});
|
|
993
|
-
if (!run) {
|
|
994
|
-
throw new Error(`Schedule not found: ${scheduleId}`);
|
|
995
|
-
}
|
|
996
|
-
this.logger.info("Schedule run-now completed", {
|
|
997
|
-
schedule_id: entry.id,
|
|
998
|
-
schedule_name: entry.name,
|
|
999
|
-
status: run.result.status,
|
|
1000
|
-
reason: run.reason,
|
|
1001
|
-
allow_escalation: allowEscalation,
|
|
1002
|
-
});
|
|
1003
|
-
}
|
|
1004
|
-
async handleGoalCompletion(goalId, result) {
|
|
1005
|
-
this.state.loop_count++;
|
|
1006
|
-
this.currentLoopIndex = this.state.loop_count;
|
|
1007
|
-
this.state.last_loop_at = new Date().toISOString();
|
|
1008
|
-
await this.saveDaemonState();
|
|
1009
|
-
await this.runtimeOwnership.observeTaskExecution(result.status === "error"
|
|
1010
|
-
? "failed"
|
|
1011
|
-
: result.status === "stalled"
|
|
1012
|
-
? "degraded"
|
|
1013
|
-
: "ok", result.status === "error"
|
|
1014
|
-
? `goal ${goalId} execution failed`
|
|
1015
|
-
: result.status === "stalled"
|
|
1016
|
-
? `goal ${goalId} stalled`
|
|
1017
|
-
: undefined);
|
|
1018
|
-
if (this.eventServer) {
|
|
1019
|
-
const goal = await this.stateManager.loadGoal(goalId).catch(() => null);
|
|
1020
|
-
void this.eventServer.broadcast?.("iteration_complete", {
|
|
1021
|
-
goalId,
|
|
1022
|
-
loopCount: this.state.loop_count,
|
|
1023
|
-
status: goal?.status ?? result.status,
|
|
1024
|
-
iterations: result.totalIterations,
|
|
1025
|
-
});
|
|
1026
|
-
void this.eventServer.broadcast?.("daemon_status", {
|
|
1027
|
-
status: this.state.status,
|
|
1028
|
-
activeGoals: this.state.active_goals,
|
|
1029
|
-
loopCount: this.state.loop_count,
|
|
1030
|
-
lastLoopAt: this.state.last_loop_at,
|
|
1031
|
-
});
|
|
1032
|
-
}
|
|
1033
|
-
await this.broadcastGoalUpdated(goalId, result.status);
|
|
1034
|
-
}
|
|
1035
|
-
async loadExistingGoalTitles() {
|
|
1036
|
-
const goalIds = await this.stateManager.listGoalIds().catch(() => []);
|
|
1037
|
-
const titles = [];
|
|
1038
|
-
for (const goalId of goalIds) {
|
|
1039
|
-
const goal = await this.stateManager.loadGoal(goalId).catch(() => null);
|
|
1040
|
-
if (goal?.title) {
|
|
1041
|
-
titles.push(goal.title);
|
|
1042
|
-
}
|
|
1043
|
-
}
|
|
1044
|
-
return titles;
|
|
1045
|
-
}
|
|
1046
|
-
async loadKnownGoals() {
|
|
1047
|
-
const goalIds = await this.stateManager.listGoalIds().catch(() => []);
|
|
1048
|
-
const goals = [];
|
|
1049
|
-
for (const goalId of goalIds) {
|
|
1050
|
-
const goal = await this.stateManager.loadGoal(goalId).catch(() => null);
|
|
1051
|
-
if (goal) {
|
|
1052
|
-
goals.push(goal);
|
|
1053
|
-
}
|
|
1054
|
-
}
|
|
1055
|
-
return goals;
|
|
1056
|
-
}
|
|
1057
|
-
async persistResidentActivity(activity) {
|
|
1058
|
-
const residentActivity = ResidentActivitySchema.parse({
|
|
1059
|
-
...activity,
|
|
1060
|
-
recorded_at: activity.recorded_at ?? new Date().toISOString(),
|
|
1061
|
-
});
|
|
1062
|
-
this.state.last_resident_at = residentActivity.recorded_at;
|
|
1063
|
-
this.state.resident_activity = residentActivity;
|
|
1064
|
-
await this.saveDaemonState();
|
|
1065
|
-
}
|
|
1066
|
-
async triggerResidentGoalDiscovery(details) {
|
|
1067
|
-
if (!this.goalNegotiator) {
|
|
1068
|
-
await this.persistResidentActivity({
|
|
1069
|
-
kind: "skipped",
|
|
1070
|
-
trigger: "proactive_tick",
|
|
1071
|
-
summary: "Resident discovery skipped because goal negotiation is unavailable.",
|
|
1072
|
-
});
|
|
1073
|
-
return;
|
|
1074
|
-
}
|
|
1075
|
-
if (this.currentGoalIds.length > 0) {
|
|
1076
|
-
await this.persistResidentActivity({
|
|
1077
|
-
kind: "skipped",
|
|
1078
|
-
trigger: "proactive_tick",
|
|
1079
|
-
summary: "Resident discovery skipped because active goals are already running.",
|
|
1080
|
-
});
|
|
1081
|
-
return;
|
|
1082
|
-
}
|
|
1083
|
-
const hintedDescription = typeof details?.["description"] === "string" ? details["description"].trim() : "";
|
|
1084
|
-
const hintedTitle = typeof details?.["title"] === "string" ? details["title"].trim() : "";
|
|
1085
|
-
try {
|
|
1086
|
-
const workspaceDir = resolveResidentWorkspaceDir(this.config.workspace_path);
|
|
1087
|
-
const workspaceContext = gatherResidentWorkspaceContext(workspaceDir, hintedDescription);
|
|
1088
|
-
const existingTitles = await this.loadExistingGoalTitles();
|
|
1089
|
-
const suggestions = await this.goalNegotiator.suggestGoals(workspaceContext, {
|
|
1090
|
-
maxSuggestions: 1,
|
|
1091
|
-
existingGoals: existingTitles,
|
|
1092
|
-
repoPath: workspaceDir,
|
|
1093
|
-
});
|
|
1094
|
-
const suggestion = suggestions[0];
|
|
1095
|
-
const suggestionTitle = suggestion?.title ?? hintedTitle;
|
|
1096
|
-
const negotiationDescription = suggestion?.description ?? hintedDescription;
|
|
1097
|
-
if (!negotiationDescription) {
|
|
1098
|
-
await this.persistResidentActivity({
|
|
1099
|
-
kind: "suggestion",
|
|
1100
|
-
trigger: "proactive_tick",
|
|
1101
|
-
summary: "Resident discovery ran but found no actionable goal to negotiate.",
|
|
1102
|
-
suggestion_title: suggestionTitle || undefined,
|
|
1103
|
-
});
|
|
1104
|
-
return;
|
|
1105
|
-
}
|
|
1106
|
-
const { goal } = await this.goalNegotiator.negotiate(negotiationDescription, {
|
|
1107
|
-
workspaceContext,
|
|
1108
|
-
timeoutMs: 30_000,
|
|
1109
|
-
});
|
|
1110
|
-
if (!this.currentGoalIds.includes(goal.id)) {
|
|
1111
|
-
this.currentGoalIds.push(goal.id);
|
|
1112
|
-
}
|
|
1113
|
-
this.refreshOperationalState();
|
|
1114
|
-
await this.persistResidentActivity({
|
|
1115
|
-
kind: "negotiation",
|
|
1116
|
-
trigger: "proactive_tick",
|
|
1117
|
-
summary: `Resident discovery negotiated a new goal: ${suggestionTitle || goal.title}`,
|
|
1118
|
-
suggestion_title: suggestionTitle || goal.title,
|
|
1119
|
-
goal_id: goal.id,
|
|
1120
|
-
});
|
|
1121
|
-
this.supervisor?.activateGoal(goal.id);
|
|
1122
|
-
this.abortSleep();
|
|
1123
|
-
}
|
|
1124
|
-
catch (err) {
|
|
1125
|
-
const message = err instanceof Error ? err.message : String(err);
|
|
1126
|
-
this.logger.warn("Resident discovery failed", { error: message });
|
|
1127
|
-
await this.persistResidentActivity({
|
|
1128
|
-
kind: "error",
|
|
1129
|
-
trigger: "proactive_tick",
|
|
1130
|
-
summary: `Resident discovery failed: ${message}`,
|
|
1131
|
-
});
|
|
1132
|
-
}
|
|
1133
|
-
}
|
|
1134
|
-
async runResidentCuriosityCycle(options) {
|
|
1135
|
-
if (!this.curiosityEngine) {
|
|
1136
|
-
if (options?.skipWhenNoTriggers) {
|
|
1137
|
-
return false;
|
|
1138
|
-
}
|
|
1139
|
-
await this.persistResidentActivity({
|
|
1140
|
-
kind: "skipped",
|
|
1141
|
-
trigger: options?.activityTrigger ?? "proactive_tick",
|
|
1142
|
-
summary: "Resident investigation skipped because curiosity wiring is unavailable.",
|
|
1143
|
-
});
|
|
1144
|
-
return true;
|
|
1145
|
-
}
|
|
1146
|
-
try {
|
|
1147
|
-
const goals = await this.loadKnownGoals();
|
|
1148
|
-
const triggers = await this.curiosityEngine.evaluateTriggers(goals);
|
|
1149
|
-
const focus = options?.focus?.trim() ?? "";
|
|
1150
|
-
if (triggers.length === 0) {
|
|
1151
|
-
if (options?.skipWhenNoTriggers) {
|
|
1152
|
-
return false;
|
|
1153
|
-
}
|
|
1154
|
-
await this.persistResidentActivity({
|
|
1155
|
-
kind: "curiosity",
|
|
1156
|
-
trigger: options?.activityTrigger ?? "proactive_tick",
|
|
1157
|
-
summary: options?.reviewLabel
|
|
1158
|
-
? `Resident ${options.reviewLabel} ran and found no curiosity triggers.`
|
|
1159
|
-
: `Resident investigation ran${focus ? ` for ${focus}` : ""} and found nothing actionable.`,
|
|
1160
|
-
});
|
|
1161
|
-
return true;
|
|
1162
|
-
}
|
|
1163
|
-
const proposals = await this.curiosityEngine.generateProposals(triggers, goals);
|
|
1164
|
-
if (proposals.length === 0) {
|
|
1165
|
-
await this.persistResidentActivity({
|
|
1166
|
-
kind: "curiosity",
|
|
1167
|
-
trigger: options?.activityTrigger ?? "proactive_tick",
|
|
1168
|
-
summary: options?.reviewLabel
|
|
1169
|
-
? `Resident ${options.reviewLabel} ran but produced no curiosity proposals.`
|
|
1170
|
-
: `Resident investigation ran${focus ? ` for ${focus}` : ""} but produced no curiosity proposals.`,
|
|
1171
|
-
});
|
|
1172
|
-
return true;
|
|
1173
|
-
}
|
|
1174
|
-
const proposal = proposals[0];
|
|
1175
|
-
await this.persistResidentActivity({
|
|
1176
|
-
kind: "curiosity",
|
|
1177
|
-
trigger: options?.activityTrigger ?? "proactive_tick",
|
|
1178
|
-
summary: options?.reviewLabel
|
|
1179
|
-
? `Resident ${options.reviewLabel} created ${proposals.length} curiosity proposal(s); next focus: ${proposal.proposed_goal.description}`
|
|
1180
|
-
: `Resident investigation created ${proposals.length} curiosity proposal(s); next focus: ${proposal.proposed_goal.description}`,
|
|
1181
|
-
suggestion_title: proposal.proposed_goal.description,
|
|
1182
|
-
});
|
|
1183
|
-
return true;
|
|
1184
|
-
}
|
|
1185
|
-
catch (err) {
|
|
1186
|
-
const message = err instanceof Error ? err.message : String(err);
|
|
1187
|
-
this.logger.warn("Resident investigation failed", { error: message });
|
|
1188
|
-
await this.persistResidentActivity({
|
|
1189
|
-
kind: "error",
|
|
1190
|
-
trigger: options?.activityTrigger ?? "proactive_tick",
|
|
1191
|
-
summary: `Resident investigation failed: ${message}`,
|
|
1192
|
-
});
|
|
1193
|
-
return true;
|
|
1194
|
-
}
|
|
1195
|
-
}
|
|
1196
|
-
async triggerResidentInvestigation(details) {
|
|
1197
|
-
const focus = typeof details?.["what"] === "string" ? details["what"].trim() : "";
|
|
1198
|
-
await this.runResidentCuriosityCycle({
|
|
1199
|
-
activityTrigger: "proactive_tick",
|
|
1200
|
-
focus,
|
|
1201
|
-
skipWhenNoTriggers: false,
|
|
1202
|
-
});
|
|
1203
|
-
}
|
|
1204
|
-
async runScheduledGoalReview() {
|
|
1205
|
-
if (!this.curiosityEngine || !this.config.proactive_mode) {
|
|
1206
|
-
return false;
|
|
1207
|
-
}
|
|
1208
|
-
const now = Date.now();
|
|
1209
|
-
if (now - this.lastGoalReviewAt < this.config.goal_review_interval_ms) {
|
|
1210
|
-
return false;
|
|
1211
|
-
}
|
|
1212
|
-
this.lastGoalReviewAt = now;
|
|
1213
|
-
return this.runResidentCuriosityCycle({
|
|
1214
|
-
activityTrigger: "schedule",
|
|
1215
|
-
reviewLabel: "goal review",
|
|
1216
|
-
skipWhenNoTriggers: false,
|
|
1217
|
-
});
|
|
1218
|
-
}
|
|
1219
|
-
async tryApplyPendingDreamSuggestion() {
|
|
1220
|
-
const dreamStore = new DreamScheduleSuggestionStore(this.baseDir);
|
|
1221
|
-
const pendingSuggestion = (await dreamStore.list()).find((suggestion) => suggestion.status === "pending");
|
|
1222
|
-
if (!pendingSuggestion || !this.scheduleEngine) {
|
|
1223
|
-
return null;
|
|
1224
|
-
}
|
|
1225
|
-
return dreamStore.applySuggestion(pendingSuggestion.id, this.scheduleEngine);
|
|
1226
|
-
}
|
|
1227
|
-
async runDreamAnalysis(tier) {
|
|
1228
|
-
const analyzer = new DreamAnalyzer({
|
|
1229
|
-
baseDir: this.baseDir,
|
|
1230
|
-
llmClient: this.llmClient,
|
|
1231
|
-
logger: this.logger,
|
|
1232
|
-
});
|
|
1233
|
-
return analyzer.run({ tier });
|
|
1234
|
-
}
|
|
1235
|
-
async runPlatformDreamConsolidation(tier) {
|
|
1236
|
-
try {
|
|
1237
|
-
const knowledgeManager = this.knowledgeManager;
|
|
1238
|
-
const llmClient = this.llmClient;
|
|
1239
|
-
const consolidator = new DreamConsolidator({
|
|
1240
|
-
baseDir: this.baseDir,
|
|
1241
|
-
logger: this.logger,
|
|
1242
|
-
syncService: createRuntimeDreamSoilSyncService(),
|
|
1243
|
-
memoryQualityService: knowledgeManager && llmClient
|
|
1244
|
-
? {
|
|
1245
|
-
run: async (input) => {
|
|
1246
|
-
const result = await lintAgentMemory({
|
|
1247
|
-
km: knowledgeManager,
|
|
1248
|
-
llmCall: async (prompt) => {
|
|
1249
|
-
const response = await llmClient.sendMessage([{ role: "user", content: prompt }], { max_tokens: 2000, model_tier: "light" });
|
|
1250
|
-
return response.content;
|
|
1251
|
-
},
|
|
1252
|
-
autoRepair: input.autoRepair,
|
|
1253
|
-
minAutoRepairConfidence: input.minAutoRepairConfidence,
|
|
1254
|
-
});
|
|
1255
|
-
return {
|
|
1256
|
-
findings: result.findings.length,
|
|
1257
|
-
contradictionsFound: result.findings.filter((finding) => finding.type === "contradiction").length,
|
|
1258
|
-
stalenessFound: result.findings.filter((finding) => finding.type === "staleness").length,
|
|
1259
|
-
redundancyFound: result.findings.filter((finding) => finding.type === "redundancy").length,
|
|
1260
|
-
repairsApplied: result.repairs_applied,
|
|
1261
|
-
entriesFlagged: result.entries_flagged,
|
|
1262
|
-
};
|
|
1263
|
-
},
|
|
1264
|
-
}
|
|
1265
|
-
: undefined,
|
|
1266
|
-
legacyConsolidationService: tier === "deep"
|
|
1267
|
-
? {
|
|
1268
|
-
run: () => runDreamConsolidation({
|
|
1269
|
-
stateManager: this.stateManager,
|
|
1270
|
-
memoryLifecycle: this.memoryLifecycle,
|
|
1271
|
-
knowledgeManager: this.knowledgeManager,
|
|
1272
|
-
baseDir: this.baseDir,
|
|
1273
|
-
}),
|
|
1274
|
-
}
|
|
1275
|
-
: undefined,
|
|
1276
|
-
});
|
|
1277
|
-
return await consolidator.run({ tier });
|
|
1278
|
-
}
|
|
1279
|
-
catch (error) {
|
|
1280
|
-
this.logger.warn("Platform Dream consolidation failed", {
|
|
1281
|
-
error: error instanceof Error ? error.message : String(error),
|
|
1282
|
-
});
|
|
1283
|
-
return null;
|
|
1284
|
-
}
|
|
1285
|
-
}
|
|
1286
|
-
legacyReportFromPlatformDream(report) {
|
|
1287
|
-
const category = report?.categories.find((result) => result.category === "legacyReflectionCompatibility");
|
|
1288
|
-
if (!category || category.status !== "completed") {
|
|
1289
|
-
return null;
|
|
1290
|
-
}
|
|
1291
|
-
const legacy = report?.operational?.legacy_reflection;
|
|
1292
|
-
return legacy
|
|
1293
|
-
? {
|
|
1294
|
-
goals_consolidated: legacy.goals_consolidated,
|
|
1295
|
-
entries_compressed: legacy.entries_compressed,
|
|
1296
|
-
stale_entries_found: legacy.stale_entries_found,
|
|
1297
|
-
revalidation_tasks_created: legacy.revalidation_tasks_created,
|
|
1298
|
-
}
|
|
1299
|
-
: null;
|
|
1300
|
-
}
|
|
1301
|
-
async triggerResidentDreamMaintenance(details, tier = "deep") {
|
|
1302
|
-
try {
|
|
1303
|
-
const appliedBeforeAnalysis = await this.tryApplyPendingDreamSuggestion();
|
|
1304
|
-
if (appliedBeforeAnalysis) {
|
|
1305
|
-
await this.persistResidentActivity({
|
|
1306
|
-
kind: "dream",
|
|
1307
|
-
trigger: "proactive_tick",
|
|
1308
|
-
summary: appliedBeforeAnalysis.duplicate
|
|
1309
|
-
? `Resident dream linked pending suggestion "${appliedBeforeAnalysis.suggestion.name ?? appliedBeforeAnalysis.suggestion.id}" to existing schedule ${appliedBeforeAnalysis.entry.id}.`
|
|
1310
|
-
: `Resident dream applied pending suggestion "${appliedBeforeAnalysis.suggestion.name ?? appliedBeforeAnalysis.suggestion.id}" into schedule ${appliedBeforeAnalysis.entry.id}.`,
|
|
1311
|
-
suggestion_title: appliedBeforeAnalysis.suggestion.name ?? appliedBeforeAnalysis.suggestion.reason,
|
|
1312
|
-
});
|
|
1313
|
-
return;
|
|
1314
|
-
}
|
|
1315
|
-
const analysisReport = await this.runDreamAnalysis(tier);
|
|
1316
|
-
const appliedAfterAnalysis = tier === "deep" ? await this.tryApplyPendingDreamSuggestion() : null;
|
|
1317
|
-
const platformReport = await this.runPlatformDreamConsolidation(tier);
|
|
1318
|
-
const consolidationReport = tier === "deep"
|
|
1319
|
-
? this.legacyReportFromPlatformDream(platformReport) ?? await runDreamConsolidation({
|
|
1320
|
-
stateManager: this.stateManager,
|
|
1321
|
-
memoryLifecycle: this.memoryLifecycle,
|
|
1322
|
-
knowledgeManager: this.knowledgeManager,
|
|
1323
|
-
baseDir: this.baseDir,
|
|
1324
|
-
})
|
|
1325
|
-
: null;
|
|
1326
|
-
const requestedGoalId = typeof details?.["goal_id"] === "string" ? details["goal_id"].trim() : "";
|
|
1327
|
-
const goalHint = requestedGoalId ? ` for ${requestedGoalId}` : "";
|
|
1328
|
-
await this.persistResidentActivity({
|
|
1329
|
-
kind: "dream",
|
|
1330
|
-
trigger: "proactive_tick",
|
|
1331
|
-
summary: tier === "light"
|
|
1332
|
-
? `Resident dream light analysis ran${goalHint}; processed ${analysisReport.goalsProcessed.length} goals, persisted ${analysisReport.patternsPersisted} patterns, and generated ${analysisReport.scheduleSuggestions} schedule suggestion(s).`
|
|
1333
|
-
: `Resident dream deep analysis ran${goalHint}; processed ${analysisReport.goalsProcessed.length} goals, persisted ${analysisReport.patternsPersisted} patterns, generated ${analysisReport.scheduleSuggestions} schedule suggestion(s), compressed ${consolidationReport?.entries_compressed ?? 0} entries, and created ${consolidationReport?.revalidation_tasks_created ?? 0} revalidation tasks${appliedAfterAnalysis ? ` while applying "${appliedAfterAnalysis.suggestion.name ?? appliedAfterAnalysis.suggestion.id}"` : ""}.`,
|
|
1334
|
-
});
|
|
1335
|
-
}
|
|
1336
|
-
catch (err) {
|
|
1337
|
-
const message = err instanceof Error ? err.message : String(err);
|
|
1338
|
-
this.logger.warn("Resident dream maintenance failed", { error: message });
|
|
1339
|
-
await this.persistResidentActivity({
|
|
1340
|
-
kind: "error",
|
|
1341
|
-
trigger: "proactive_tick",
|
|
1342
|
-
summary: `Resident dream maintenance failed: ${message}`,
|
|
1343
|
-
});
|
|
1344
|
-
}
|
|
1345
|
-
}
|
|
1346
|
-
async triggerResidentPreemptiveCheck(details) {
|
|
1347
|
-
const goalId = typeof details?.["goal_id"] === "string" ? details["goal_id"].trim() : "";
|
|
1348
|
-
if (!goalId) {
|
|
1349
|
-
await this.persistResidentActivity({
|
|
1350
|
-
kind: "skipped",
|
|
1351
|
-
trigger: "proactive_tick",
|
|
1352
|
-
summary: "Resident preemptive check skipped because no goal_id was provided.",
|
|
1353
|
-
});
|
|
1354
|
-
return;
|
|
1355
|
-
}
|
|
1356
|
-
try {
|
|
1357
|
-
const goal = await this.stateManager.loadGoal(goalId).catch(() => null);
|
|
1358
|
-
if (!goal) {
|
|
1359
|
-
await this.persistResidentActivity({
|
|
1360
|
-
kind: "skipped",
|
|
1361
|
-
trigger: "proactive_tick",
|
|
1362
|
-
summary: `Resident preemptive check skipped because goal "${goalId}" was not found.`,
|
|
1363
|
-
goal_id: goalId,
|
|
1364
|
-
});
|
|
1365
|
-
return;
|
|
1366
|
-
}
|
|
1367
|
-
await this.driveSystem.writeEvent(PulSeedEventSchema.parse({
|
|
1368
|
-
type: "external",
|
|
1369
|
-
source: "resident-proactive",
|
|
1370
|
-
timestamp: new Date().toISOString(),
|
|
1371
|
-
data: {
|
|
1372
|
-
event_type: "preemptive_check",
|
|
1373
|
-
goal_id: goalId,
|
|
1374
|
-
requested_by: "resident-daemon",
|
|
1375
|
-
},
|
|
1376
|
-
}));
|
|
1377
|
-
if (!this.currentGoalIds.includes(goalId)) {
|
|
1378
|
-
this.currentGoalIds.push(goalId);
|
|
1379
|
-
}
|
|
1380
|
-
this.refreshOperationalState();
|
|
1381
|
-
this.supervisor?.activateGoal(goalId);
|
|
1382
|
-
this.abortSleep();
|
|
1383
|
-
await this.persistResidentActivity({
|
|
1384
|
-
kind: "observation",
|
|
1385
|
-
trigger: "proactive_tick",
|
|
1386
|
-
summary: `Resident preemptive check queued an observation wake-up for goal "${goalId}".`,
|
|
1387
|
-
goal_id: goalId,
|
|
1388
|
-
});
|
|
1389
|
-
}
|
|
1390
|
-
catch (err) {
|
|
1391
|
-
const message = err instanceof Error ? err.message : String(err);
|
|
1392
|
-
this.logger.warn("Resident preemptive check failed", { error: message, goal_id: goalId });
|
|
1393
|
-
await this.persistResidentActivity({
|
|
1394
|
-
kind: "error",
|
|
1395
|
-
trigger: "proactive_tick",
|
|
1396
|
-
summary: `Resident preemptive check failed: ${message}`,
|
|
1397
|
-
goal_id: goalId || undefined,
|
|
1398
|
-
});
|
|
1399
|
-
}
|
|
1400
|
-
}
|
|
1401
|
-
async triggerIdleResidentMaintenance() {
|
|
1402
|
-
if (this.currentGoalIds.length > 0) {
|
|
1403
|
-
return;
|
|
1404
|
-
}
|
|
1405
|
-
const dreamSuggestionPath = path.join(this.baseDir, "dream", "schedule-suggestions.json");
|
|
1406
|
-
const hasDreamSuggestionFile = fs.existsSync(dreamSuggestionPath);
|
|
1407
|
-
if (!hasDreamSuggestionFile && !this.memoryLifecycle && !this.knowledgeManager && !this.llmClient) {
|
|
1408
|
-
return;
|
|
1409
|
-
}
|
|
1410
|
-
await this.triggerResidentDreamMaintenance(undefined, "light");
|
|
1411
|
-
}
|
|
1412
|
-
async runSupervisorMaintenanceCycle() {
|
|
1413
|
-
this.refreshOperationalState();
|
|
1414
|
-
await this.maybeRefreshProviderRuntime((this.supervisor?.getState().workers ?? []).filter((worker) => worker.goalId !== null).length);
|
|
1415
|
-
await runSupervisorMaintenanceCycleForDaemon({
|
|
1416
|
-
currentGoalIds: this.currentGoalIds,
|
|
1417
|
-
driveSystem: this.driveSystem,
|
|
1418
|
-
supervisor: this.supervisor,
|
|
1419
|
-
processCronTasks: () => this.processCronTasks(),
|
|
1420
|
-
processScheduleEntries: () => this.processScheduleEntries(),
|
|
1421
|
-
proactiveTick: () => this.proactiveTick(),
|
|
1422
|
-
saveDaemonState: () => this.saveDaemonState(),
|
|
1423
|
-
eventServer: this.eventServer,
|
|
1424
|
-
state: this.state,
|
|
1425
|
-
runRuntimeStoreMaintenance: () => this.runRuntimeStoreMaintenance(),
|
|
1426
|
-
});
|
|
1427
|
-
}
|
|
1428
|
-
async captureProviderRuntimeFingerprint() {
|
|
1429
|
-
try {
|
|
1430
|
-
return await this.getProviderRuntimeFingerprintFn();
|
|
1431
|
-
}
|
|
1432
|
-
catch (error) {
|
|
1433
|
-
this.logger.warn("Failed to capture provider runtime fingerprint", {
|
|
1434
|
-
error: error instanceof Error ? error.message : String(error),
|
|
1435
|
-
});
|
|
1436
|
-
return null;
|
|
1437
|
-
}
|
|
1438
|
-
}
|
|
1439
|
-
async maybeRefreshProviderRuntime(activeGoalCount) {
|
|
1440
|
-
if (!this.refreshResidentDeps || activeGoalCount > 0) {
|
|
1441
|
-
return;
|
|
1442
|
-
}
|
|
1443
|
-
const currentFingerprint = await this.captureProviderRuntimeFingerprint();
|
|
1444
|
-
if (!currentFingerprint || currentFingerprint === this.providerRuntimeFingerprint) {
|
|
1445
|
-
return;
|
|
1446
|
-
}
|
|
1447
|
-
try {
|
|
1448
|
-
const freshDeps = await this.refreshResidentDeps();
|
|
1449
|
-
this.coreLoop = freshDeps.coreLoop;
|
|
1450
|
-
this.curiosityEngine = freshDeps.curiosityEngine;
|
|
1451
|
-
this.goalNegotiator = freshDeps.goalNegotiator;
|
|
1452
|
-
this.llmClient = freshDeps.llmClient;
|
|
1453
|
-
this.reportingEngine = freshDeps.reportingEngine;
|
|
1454
|
-
this.scheduleEngine = freshDeps.scheduleEngine;
|
|
1455
|
-
this.memoryLifecycle = freshDeps.memoryLifecycle;
|
|
1456
|
-
this.knowledgeManager = freshDeps.knowledgeManager;
|
|
1457
|
-
this.supervisor?.replaceIdleWorkers(() => this.coreLoop);
|
|
1458
|
-
this.providerRuntimeFingerprint = currentFingerprint;
|
|
1459
|
-
this.logger.info("Refreshed resident daemon dependencies after provider drift", {
|
|
1460
|
-
fingerprint_changed: true,
|
|
1461
|
-
});
|
|
1462
|
-
}
|
|
1463
|
-
catch (error) {
|
|
1464
|
-
this.logger.warn("Failed to refresh resident daemon dependencies after provider drift", {
|
|
1465
|
-
error: error instanceof Error ? error.message : String(error),
|
|
1466
|
-
});
|
|
1467
|
-
}
|
|
1468
|
-
}
|
|
1469
|
-
async handleChatMessageCommand(goalId, message) {
|
|
1470
|
-
await writeChatMessageEvent(this.driveSystem, goalId, message);
|
|
1471
|
-
await this.broadcastChatResponse(goalId, message);
|
|
1472
|
-
this.abortSleep();
|
|
1473
|
-
}
|
|
1474
|
-
async runCommandWithHealth(commandName, fn) {
|
|
1475
|
-
return runCommandWithHealthFn(commandName, fn, (status, reason) => this.runtimeOwnership.observeCommandAcceptance(status, reason));
|
|
1476
|
-
}
|
|
1477
|
-
async handleApprovalResponseCommand(goalId, requestId, approved) {
|
|
1478
|
-
if (this.approvalBroker) {
|
|
1479
|
-
await this.approvalBroker.resolveApproval(requestId, approved, "dispatcher");
|
|
1480
|
-
return;
|
|
1481
|
-
}
|
|
1482
|
-
if (goalId && this.eventServer) {
|
|
1483
|
-
await this.eventServer.resolveApproval(requestId, approved);
|
|
1484
|
-
}
|
|
1485
|
-
}
|
|
1486
|
-
async handleCronTaskDue(taskId) {
|
|
1487
|
-
if (!this.cronScheduler) {
|
|
1488
|
-
return;
|
|
1489
|
-
}
|
|
1490
|
-
try {
|
|
1491
|
-
await this.cronScheduler.markFired(taskId);
|
|
1492
|
-
this.logger.info(`Cron task fired: ${taskId}`);
|
|
1493
|
-
}
|
|
1494
|
-
catch (err) {
|
|
1495
|
-
this.logger.warn(`Cron task ${taskId} failed`, {
|
|
1496
|
-
error: err instanceof Error ? err.message : String(err),
|
|
1497
|
-
});
|
|
1498
|
-
await this.cronScheduler.markFired(taskId);
|
|
1499
|
-
}
|
|
1500
|
-
}
|
|
1501
|
-
async runRuntimeStoreMaintenance(force = false) {
|
|
1502
|
-
if (!this.runtimeRoot) {
|
|
1503
|
-
return;
|
|
1504
|
-
}
|
|
1505
|
-
const now = Date.now();
|
|
1506
|
-
if (!force && now - this.lastRuntimeStoreMaintenanceAt < this.config.check_interval_ms) {
|
|
1507
|
-
return;
|
|
1508
|
-
}
|
|
1509
|
-
this.lastRuntimeStoreMaintenanceAt = now;
|
|
1510
|
-
await runRuntimeStoreMaintenanceCycle({
|
|
1511
|
-
runtimeRoot: this.runtimeRoot,
|
|
1512
|
-
approvalStore: this.approvalStore ?? undefined,
|
|
1513
|
-
outboxStore: this.outboxStore ?? undefined,
|
|
1514
|
-
runtimeHealthStore: this.runtimeHealthStore ?? undefined,
|
|
1515
|
-
logger: this.logger,
|
|
1516
|
-
now,
|
|
1517
|
-
});
|
|
1518
|
-
}
|
|
1519
|
-
startStartupRuntimeStoreMaintenance() {
|
|
1520
|
-
if (this.startupRuntimeStoreMaintenancePromise) {
|
|
1521
|
-
return;
|
|
1522
|
-
}
|
|
1523
|
-
this.startupRuntimeStoreMaintenanceError = null;
|
|
1524
|
-
this.startupRuntimeStoreMaintenancePromise = this.runRuntimeStoreMaintenance(true)
|
|
1525
|
-
.catch((err) => {
|
|
1526
|
-
this.startupRuntimeStoreMaintenanceError = err;
|
|
1527
|
-
this.logger.error("Startup runtime store maintenance failed", {
|
|
1528
|
-
error: err instanceof Error ? err.message : String(err),
|
|
1529
|
-
});
|
|
1530
|
-
});
|
|
1531
|
-
}
|
|
1532
|
-
async drainStartupRuntimeStoreMaintenance() {
|
|
1533
|
-
const maintenancePromise = this.startupRuntimeStoreMaintenancePromise;
|
|
1534
|
-
if (!maintenancePromise) {
|
|
1535
|
-
return;
|
|
1536
|
-
}
|
|
1537
|
-
await maintenancePromise;
|
|
1538
|
-
this.startupRuntimeStoreMaintenancePromise = null;
|
|
1539
|
-
const maintenanceError = this.startupRuntimeStoreMaintenanceError;
|
|
1540
|
-
this.startupRuntimeStoreMaintenanceError = null;
|
|
1541
|
-
if (maintenanceError) {
|
|
1542
|
-
throw maintenanceError;
|
|
1543
|
-
}
|
|
1544
|
-
}
|
|
1545
|
-
// ─── Private: Proactive Tick ───
|
|
1546
|
-
/**
|
|
1547
|
-
* Ask the LLM for a proactive action when no goals were activated this cycle.
|
|
1548
|
-
* Fires only if proactive_mode is enabled and enough time has passed since last tick.
|
|
1549
|
-
* Errors are caught and logged — they never affect the daemon loop.
|
|
1550
|
-
*/
|
|
1551
|
-
async proactiveTick() {
|
|
1552
|
-
if (!this.config.proactive_mode) {
|
|
1553
|
-
return;
|
|
1554
|
-
}
|
|
1555
|
-
if (await this.runScheduledGoalReview()) {
|
|
1556
|
-
return;
|
|
1557
|
-
}
|
|
1558
|
-
const curiosityTriggered = await this.runResidentCuriosityCycle({
|
|
1559
|
-
activityTrigger: "proactive_tick",
|
|
1560
|
-
skipWhenNoTriggers: true,
|
|
1561
|
-
});
|
|
1562
|
-
if (curiosityTriggered) {
|
|
1563
|
-
return;
|
|
1564
|
-
}
|
|
1565
|
-
const result = await runProactiveMaintenance({
|
|
1566
|
-
config: this.config,
|
|
1567
|
-
llmClient: this.llmClient,
|
|
1568
|
-
state: this.state,
|
|
1569
|
-
lastProactiveTickAt: this.lastProactiveTickAt,
|
|
1570
|
-
logger: this.logger,
|
|
1571
|
-
});
|
|
1572
|
-
this.lastProactiveTickAt = result.lastProactiveTickAt;
|
|
1573
|
-
if (!result.decision) {
|
|
1574
|
-
return;
|
|
1575
|
-
}
|
|
1576
|
-
if (result.decision.action === "sleep") {
|
|
1577
|
-
await this.persistResidentActivity({
|
|
1578
|
-
kind: "sleep",
|
|
1579
|
-
trigger: "proactive_tick",
|
|
1580
|
-
summary: "Resident proactive tick stayed idle.",
|
|
1581
|
-
});
|
|
1582
|
-
await this.triggerIdleResidentMaintenance();
|
|
1583
|
-
return;
|
|
1584
|
-
}
|
|
1585
|
-
if (result.decision.action === "suggest_goal") {
|
|
1586
|
-
await this.triggerResidentGoalDiscovery(result.decision.details);
|
|
1587
|
-
return;
|
|
1588
|
-
}
|
|
1589
|
-
if (result.decision.action === "investigate") {
|
|
1590
|
-
await this.triggerResidentInvestigation(result.decision.details);
|
|
1591
|
-
return;
|
|
1592
|
-
}
|
|
1593
|
-
if (result.decision.action === "preemptive_check") {
|
|
1594
|
-
await this.triggerResidentPreemptiveCheck(result.decision.details);
|
|
1595
|
-
return;
|
|
1596
|
-
}
|
|
1597
|
-
await this.persistResidentActivity({
|
|
1598
|
-
kind: "skipped",
|
|
1599
|
-
trigger: "proactive_tick",
|
|
1600
|
-
summary: `Resident proactive tick requested ${result.decision.action}, but no resident executor is wired for it yet.`,
|
|
1601
|
-
});
|
|
1602
|
-
}
|
|
1603
|
-
// ─── Private: Adaptive Sleep ───
|
|
1604
|
-
/**
|
|
1605
|
-
* Get the highest gap score across all active goals.
|
|
1606
|
-
* Falls back to 0 if no gap data is available.
|
|
1607
|
-
*/
|
|
1608
|
-
async getMaxGapScore(goalIds, snapshot) {
|
|
1609
|
-
return getMaxGapScoreForGoals(this.driveSystem, goalIds, snapshot);
|
|
1610
|
-
}
|
|
1611
|
-
/**
|
|
1612
|
-
* Thin wrapper delegating to the standalone calculateAdaptiveInterval function.
|
|
1613
|
-
* Passes this.config.adaptive_sleep as the config parameter.
|
|
1614
|
-
* Kept as a class method so tests can call daemon.calculateAdaptiveInterval(...).
|
|
1615
|
-
*/
|
|
1616
|
-
calculateAdaptiveInterval(baseInterval, goalsActivatedThisCycle, maxGapScore, consecutiveIdleCycles) {
|
|
1617
|
-
return calcAdaptiveInterval(baseInterval, goalsActivatedThisCycle, maxGapScore, consecutiveIdleCycles, this.config.adaptive_sleep);
|
|
1618
|
-
}
|
|
1619
|
-
// ─── Private: Shutdown Marker ───
|
|
1620
|
-
/**
|
|
1621
|
-
* Write shutdown-state.json to baseDir (async, atomic).
|
|
1622
|
-
*/
|
|
1623
|
-
async writeShutdownMarker(marker) {
|
|
1624
|
-
await writeShutdownMarkerFile(this.baseDir, marker, this.logger);
|
|
1625
|
-
}
|
|
1626
|
-
/**
|
|
1627
|
-
* Read shutdown-state.json from baseDir.
|
|
1628
|
-
* Returns null if file doesn't exist or fails to parse.
|
|
1629
|
-
*/
|
|
1630
|
-
async readShutdownMarker() {
|
|
1631
|
-
return readShutdownMarkerFile(this.baseDir);
|
|
1632
|
-
}
|
|
1633
|
-
/**
|
|
1634
|
-
* Delete shutdown-state.json (after successful resume).
|
|
1635
|
-
*/
|
|
1636
|
-
async deleteShutdownMarker() {
|
|
1637
|
-
await deleteShutdownMarkerFile(this.baseDir);
|
|
1638
|
-
}
|
|
1639
|
-
/**
|
|
1640
|
-
* Check for a previous shutdown marker and log recovery information.
|
|
1641
|
-
* Called at startup before the main loop begins.
|
|
1642
|
-
*/
|
|
1643
|
-
async checkCrashRecovery() {
|
|
1644
|
-
await checkCrashRecoveryMarker(this.baseDir, this.logger);
|
|
1645
|
-
}
|
|
1646
|
-
// ─── Log Rotation (delegates to daemon-health) ───
|
|
1647
|
-
/**
|
|
1648
|
-
* Rotate the main log file if it exceeds the configured size limit.
|
|
1649
|
-
* Delegates to rotateDaemonLog() with explicit config params.
|
|
1650
|
-
* Called at daemon startup.
|
|
1651
|
-
*/
|
|
1652
|
-
async rotateLog() {
|
|
1653
|
-
const maxSizeBytes = this.config.log_rotation.max_size_mb * 1024 * 1024;
|
|
1654
|
-
const maxFiles = this.config.log_rotation.max_files;
|
|
1655
|
-
await rotateDaemonLog(this.logPath, this.logDir, maxSizeBytes, maxFiles, this.logger);
|
|
1656
|
-
}
|
|
1657
|
-
// ─── Static Utilities (delegates to daemon-signals) ───
|
|
1658
|
-
/**
|
|
1659
|
-
* Generate a crontab entry that runs `pulseed run --goal <goalId>` on a schedule.
|
|
1660
|
-
* Delegates to the standalone generateCronEntry() function in daemon-signals.ts.
|
|
1661
|
-
*/
|
|
1662
|
-
static generateCronEntry(goalId, intervalMinutes = 60) {
|
|
1663
|
-
return generateCronEntry(goalId, intervalMinutes);
|
|
1664
|
-
}
|
|
1665
|
-
}
|
|
1666
|
-
//# sourceMappingURL=runner.js.map
|