pulseed 0.3.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base/config/config-metadata.d.ts +1 -1
- package/dist/base/config/config-metadata.d.ts.map +1 -1
- package/dist/base/config/config-metadata.js +1 -1
- package/dist/base/config/config-metadata.js.map +1 -1
- package/dist/base/config/identity-loader.d.ts +1 -1
- package/dist/base/config/identity-loader.d.ts.map +1 -1
- package/dist/base/config/identity-loader.js +4 -3
- package/dist/base/config/identity-loader.js.map +1 -1
- package/dist/base/config/tool-metadata.d.ts +2 -0
- package/dist/base/config/tool-metadata.d.ts.map +1 -1
- package/dist/base/config/tool-metadata.js +30 -6
- package/dist/base/config/tool-metadata.js.map +1 -1
- package/dist/base/llm/llm-client.d.ts +12 -1
- package/dist/base/llm/llm-client.d.ts.map +1 -1
- package/dist/base/llm/llm-client.js +78 -2
- package/dist/base/llm/llm-client.js.map +1 -1
- package/dist/base/llm/ollama-client.d.ts +1 -0
- package/dist/base/llm/ollama-client.d.ts.map +1 -1
- package/dist/base/llm/ollama-client.js +1 -0
- package/dist/base/llm/ollama-client.js.map +1 -1
- package/dist/base/llm/openai-client.d.ts +3 -1
- package/dist/base/llm/openai-client.d.ts.map +1 -1
- package/dist/base/llm/openai-client.js +131 -41
- package/dist/base/llm/openai-client.js.map +1 -1
- package/dist/base/llm/provider-config.d.ts +1 -1
- package/dist/base/llm/provider-config.d.ts.map +1 -1
- package/dist/base/llm/provider-factory.d.ts.map +1 -1
- package/dist/base/llm/provider-factory.js +22 -3
- package/dist/base/llm/provider-factory.js.map +1 -1
- package/dist/base/state/checkpoint-trust-port.d.ts +4 -0
- package/dist/base/state/checkpoint-trust-port.d.ts.map +1 -0
- package/dist/base/state/checkpoint-trust-port.js +2 -0
- package/dist/base/state/checkpoint-trust-port.js.map +1 -0
- package/dist/base/state/state-manager-goal-write.d.ts +22 -0
- package/dist/base/state/state-manager-goal-write.d.ts.map +1 -0
- package/dist/base/state/state-manager-goal-write.js +74 -0
- package/dist/base/state/state-manager-goal-write.js.map +1 -0
- package/dist/base/state/state-manager-wal.d.ts +11 -0
- package/dist/base/state/state-manager-wal.d.ts.map +1 -0
- package/dist/base/state/state-manager-wal.js +89 -0
- package/dist/base/state/state-manager-wal.js.map +1 -0
- package/dist/base/state/state-manager.d.ts +12 -5
- package/dist/base/state/state-manager.d.ts.map +1 -1
- package/dist/base/state/state-manager.js +24 -118
- package/dist/base/state/state-manager.js.map +1 -1
- package/dist/base/utils/errors.d.ts +4 -0
- package/dist/base/utils/errors.d.ts.map +1 -1
- package/dist/base/utils/errors.js +8 -0
- package/dist/base/utils/errors.js.map +1 -1
- package/dist/base/utils/pulseed-meta.d.ts +4 -0
- package/dist/base/utils/pulseed-meta.d.ts.map +1 -0
- package/dist/base/utils/pulseed-meta.js +32 -0
- package/dist/base/utils/pulseed-meta.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/interface/chat/chat-event-state.d.ts +10 -0
- package/dist/interface/chat/chat-event-state.d.ts.map +1 -0
- package/dist/interface/chat/chat-event-state.js +75 -0
- package/dist/interface/chat/chat-event-state.js.map +1 -0
- package/dist/interface/chat/chat-events.d.ts +59 -0
- package/dist/interface/chat/chat-events.d.ts.map +1 -0
- package/dist/interface/chat/chat-events.js +2 -0
- package/dist/interface/chat/chat-events.js.map +1 -0
- package/dist/interface/chat/chat-history.d.ts +4 -4
- package/dist/interface/chat/chat-history.d.ts.map +1 -1
- package/dist/interface/chat/chat-history.js +3 -3
- package/dist/interface/chat/chat-history.js.map +1 -1
- package/dist/interface/chat/chat-runner.d.ts +15 -4
- package/dist/interface/chat/chat-runner.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner.js +241 -27
- package/dist/interface/chat/chat-runner.js.map +1 -1
- package/dist/interface/chat/event-subscriber.d.ts +7 -1
- package/dist/interface/chat/event-subscriber.d.ts.map +1 -1
- package/dist/interface/chat/event-subscriber.js +88 -2
- package/dist/interface/chat/event-subscriber.js.map +1 -1
- package/dist/interface/chat/grounding.d.ts +2 -0
- package/dist/interface/chat/grounding.d.ts.map +1 -1
- package/dist/interface/chat/grounding.js +95 -42
- package/dist/interface/chat/grounding.js.map +1 -1
- package/dist/interface/chat/mutation-tool-defs.js +1 -1
- package/dist/interface/chat/mutation-tool-defs.js.map +1 -1
- package/dist/interface/chat/self-knowledge-mutation-tools.d.ts.map +1 -1
- package/dist/interface/chat/self-knowledge-mutation-tools.js +20 -3
- package/dist/interface/chat/self-knowledge-mutation-tools.js.map +1 -1
- package/dist/interface/chat/self-knowledge-tools.js +2 -2
- package/dist/interface/chat/self-knowledge-tools.js.map +1 -1
- package/dist/interface/chat/tend-command.d.ts +1 -1
- package/dist/interface/cli/cli-command-registry.js +1 -1
- package/dist/interface/cli/cli-command-registry.js.map +1 -1
- package/dist/interface/cli/commands/chat.d.ts.map +1 -1
- package/dist/interface/cli/commands/chat.js +46 -13
- package/dist/interface/cli/commands/chat.js.map +1 -1
- package/dist/interface/cli/commands/config.d.ts.map +1 -1
- package/dist/interface/cli/commands/config.js +37 -6
- package/dist/interface/cli/commands/config.js.map +1 -1
- package/dist/interface/cli/commands/daemon.d.ts.map +1 -1
- package/dist/interface/cli/commands/daemon.js +105 -50
- package/dist/interface/cli/commands/daemon.js.map +1 -1
- package/dist/interface/cli/commands/doctor.d.ts +1 -1
- package/dist/interface/cli/commands/doctor.d.ts.map +1 -1
- package/dist/interface/cli/commands/doctor.js +5 -7
- package/dist/interface/cli/commands/doctor.js.map +1 -1
- package/dist/interface/cli/commands/presets/root-presets.d.ts +3 -3
- package/dist/interface/cli/commands/presets/root-presets.d.ts.map +1 -1
- package/dist/interface/cli/commands/presets/root-presets.js +8 -5
- package/dist/interface/cli/commands/presets/root-presets.js.map +1 -1
- package/dist/interface/cli/commands/schedule.d.ts.map +1 -1
- package/dist/interface/cli/commands/schedule.js +166 -13
- package/dist/interface/cli/commands/schedule.js.map +1 -1
- package/dist/interface/cli/commands/setup/steps-runtime.js +1 -1
- package/dist/interface/cli/ensure-api-key.d.ts +4 -1
- package/dist/interface/cli/ensure-api-key.d.ts.map +1 -1
- package/dist/interface/cli/ensure-api-key.js +52 -15
- package/dist/interface/cli/ensure-api-key.js.map +1 -1
- package/dist/interface/cli/setup.d.ts +9 -0
- package/dist/interface/cli/setup.d.ts.map +1 -1
- package/dist/interface/cli/setup.js +43 -20
- package/dist/interface/cli/setup.js.map +1 -1
- package/dist/interface/cli/utils.d.ts.map +1 -1
- package/dist/interface/cli/utils.js +5 -1
- package/dist/interface/cli/utils.js.map +1 -1
- package/dist/interface/tui/app.d.ts +1 -1
- package/dist/interface/tui/app.d.ts.map +1 -1
- package/dist/interface/tui/app.js +8 -12
- package/dist/interface/tui/app.js.map +1 -1
- package/dist/interface/tui/chat/scroll.d.ts +14 -0
- package/dist/interface/tui/chat/scroll.d.ts.map +1 -0
- package/dist/interface/tui/chat/scroll.js +46 -0
- package/dist/interface/tui/chat/scroll.js.map +1 -0
- package/dist/interface/tui/chat/suggestions.d.ts +8 -0
- package/dist/interface/tui/chat/suggestions.d.ts.map +1 -0
- package/dist/interface/tui/chat/suggestions.js +112 -0
- package/dist/interface/tui/chat/suggestions.js.map +1 -0
- package/dist/interface/tui/chat/types.d.ts +31 -0
- package/dist/interface/tui/chat/types.d.ts.map +1 -0
- package/dist/interface/tui/chat/types.js +2 -0
- package/dist/interface/tui/chat/types.js.map +1 -0
- package/dist/interface/tui/chat/viewport.d.ts +3 -0
- package/dist/interface/tui/chat/viewport.d.ts.map +1 -0
- package/dist/interface/tui/chat/viewport.js +78 -0
- package/dist/interface/tui/chat/viewport.js.map +1 -0
- package/dist/interface/tui/chat.d.ts +5 -49
- package/dist/interface/tui/chat.d.ts.map +1 -1
- package/dist/interface/tui/chat.js +9 -238
- package/dist/interface/tui/chat.js.map +1 -1
- package/dist/interface/tui/checkerboard-spinner.d.ts +3 -0
- package/dist/interface/tui/checkerboard-spinner.d.ts.map +1 -0
- package/dist/interface/tui/checkerboard-spinner.js +20 -0
- package/dist/interface/tui/checkerboard-spinner.js.map +1 -0
- package/dist/interface/tui/dashboard.js +2 -2
- package/dist/interface/tui/dashboard.js.map +1 -1
- package/dist/interface/tui/entry.d.ts.map +1 -1
- package/dist/interface/tui/entry.js +51 -7
- package/dist/interface/tui/entry.js.map +1 -1
- package/dist/interface/tui/use-loop.d.ts +1 -1
- package/dist/orchestrator/ethics-gate.d.ts +3 -0
- package/dist/orchestrator/ethics-gate.d.ts.map +1 -0
- package/dist/orchestrator/ethics-gate.js +2 -0
- package/dist/orchestrator/ethics-gate.js.map +1 -0
- package/dist/orchestrator/execution/context/context-builder.d.ts +8 -0
- package/dist/orchestrator/execution/context/context-builder.d.ts.map +1 -1
- package/dist/orchestrator/execution/context/context-builder.js +38 -0
- package/dist/orchestrator/execution/context/context-builder.js.map +1 -1
- package/dist/orchestrator/execution/parallel-execution-types.d.ts +7 -0
- package/dist/orchestrator/execution/parallel-execution-types.d.ts.map +1 -0
- package/dist/orchestrator/execution/parallel-execution-types.js +2 -0
- package/dist/orchestrator/execution/parallel-execution-types.js.map +1 -0
- package/dist/orchestrator/execution/parallel-executor.d.ts +2 -6
- package/dist/orchestrator/execution/parallel-executor.d.ts.map +1 -1
- package/dist/orchestrator/execution/parallel-executor.js.map +1 -1
- package/dist/orchestrator/execution/result-reconciler.d.ts +1 -1
- package/dist/orchestrator/execution/result-reconciler.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle.d.ts +8 -10
- package/dist/orchestrator/execution/task/task-lifecycle.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle.js +28 -1
- package/dist/orchestrator/execution/task/task-lifecycle.js.map +1 -1
- package/dist/orchestrator/execution/task/task-pipeline-cycle.d.ts +5 -35
- package/dist/orchestrator/execution/task/task-pipeline-cycle.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-pipeline-cycle.js.map +1 -1
- package/dist/orchestrator/execution/task/task-pipeline-types.d.ts +39 -0
- package/dist/orchestrator/execution/task/task-pipeline-types.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-pipeline-types.js +2 -0
- package/dist/orchestrator/execution/task/task-pipeline-types.js.map +1 -0
- package/dist/orchestrator/execution/task/task-verifier-rules.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-rules.js +34 -2
- package/dist/orchestrator/execution/task/task-verifier-rules.js.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-types.d.ts +2 -0
- package/dist/orchestrator/execution/task/task-verifier-types.d.ts.map +1 -1
- package/dist/orchestrator/goal/goal-negotiator.d.ts.map +1 -1
- package/dist/orchestrator/goal/goal-negotiator.js +2 -1
- package/dist/orchestrator/goal/goal-negotiator.js.map +1 -1
- package/dist/orchestrator/goal/goal-refiner.d.ts.map +1 -1
- package/dist/orchestrator/goal/goal-refiner.js +1 -1
- package/dist/orchestrator/goal/goal-refiner.js.map +1 -1
- package/dist/orchestrator/goal/goal-tree-manager.d.ts +2 -2
- package/dist/orchestrator/goal/goal-tree-manager.d.ts.map +1 -1
- package/dist/orchestrator/goal/goal-tree-manager.js.map +1 -1
- package/dist/orchestrator/goal/negotiator-feasibility.d.ts +10 -0
- package/dist/orchestrator/goal/negotiator-feasibility.d.ts.map +1 -0
- package/dist/orchestrator/goal/negotiator-feasibility.js +55 -0
- package/dist/orchestrator/goal/negotiator-feasibility.js.map +1 -0
- package/dist/orchestrator/goal/negotiator-steps.d.ts +1 -6
- package/dist/orchestrator/goal/negotiator-steps.d.ts.map +1 -1
- package/dist/orchestrator/goal/negotiator-steps.js +4 -56
- package/dist/orchestrator/goal/negotiator-steps.js.map +1 -1
- package/dist/orchestrator/knowledge/knowledge-manager.d.ts +2 -0
- package/dist/orchestrator/knowledge/knowledge-manager.d.ts.map +1 -0
- package/dist/orchestrator/knowledge/knowledge-manager.js +2 -0
- package/dist/orchestrator/knowledge/knowledge-manager.js.map +1 -0
- package/dist/orchestrator/knowledge/memory/memory-lifecycle.d.ts +2 -0
- package/dist/orchestrator/knowledge/memory/memory-lifecycle.d.ts.map +1 -0
- package/dist/orchestrator/knowledge/memory/memory-lifecycle.js +2 -0
- package/dist/orchestrator/knowledge/memory/memory-lifecycle.js.map +1 -0
- package/dist/orchestrator/knowledge/transfer/knowledge-transfer.d.ts +2 -0
- package/dist/orchestrator/knowledge/transfer/knowledge-transfer.d.ts.map +1 -0
- package/dist/orchestrator/knowledge/transfer/knowledge-transfer.js +2 -0
- package/dist/orchestrator/knowledge/transfer/knowledge-transfer.js.map +1 -0
- package/dist/orchestrator/loop/checkpoint-manager-loop.d.ts +1 -1
- package/dist/orchestrator/loop/checkpoint-manager-loop.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/capability.d.ts +22 -0
- package/dist/orchestrator/loop/core-loop/capability.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/capability.js +151 -0
- package/dist/orchestrator/loop/core-loop/capability.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/contracts.d.ts +245 -0
- package/dist/orchestrator/loop/core-loop/contracts.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/contracts.js +40 -0
- package/dist/orchestrator/loop/core-loop/contracts.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/control.d.ts +27 -0
- package/dist/orchestrator/loop/core-loop/control.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/control.js +72 -0
- package/dist/orchestrator/loop/core-loop/control.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/learning.d.ts +31 -0
- package/dist/orchestrator/loop/core-loop/learning.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/learning.js +92 -0
- package/dist/orchestrator/loop/core-loop/learning.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/preparation.d.ts +63 -0
- package/dist/orchestrator/loop/core-loop/preparation.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/preparation.js +362 -0
- package/dist/orchestrator/loop/core-loop/preparation.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/task-cycle.d.ts +29 -0
- package/dist/orchestrator/loop/core-loop/task-cycle.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/task-cycle.js +674 -0
- package/dist/orchestrator/loop/core-loop/task-cycle.js.map +1 -0
- package/dist/orchestrator/loop/core-loop-capability.d.ts +1 -18
- package/dist/orchestrator/loop/core-loop-capability.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop-capability.js +1 -106
- package/dist/orchestrator/loop/core-loop-capability.js.map +1 -1
- package/dist/orchestrator/loop/core-loop-learning.d.ts +1 -34
- package/dist/orchestrator/loop/core-loop-learning.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop-learning.js +1 -95
- package/dist/orchestrator/loop/core-loop-learning.js.map +1 -1
- package/dist/orchestrator/loop/core-loop-phases-b.d.ts +1 -30
- package/dist/orchestrator/loop/core-loop-phases-b.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop-phases-b.js +1 -590
- package/dist/orchestrator/loop/core-loop-phases-b.js.map +1 -1
- package/dist/orchestrator/loop/core-loop-phases-c.d.ts +1 -26
- package/dist/orchestrator/loop/core-loop-phases-c.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop-phases-c.js +1 -71
- package/dist/orchestrator/loop/core-loop-phases-c.js.map +1 -1
- package/dist/orchestrator/loop/core-loop-phases.d.ts +1 -68
- package/dist/orchestrator/loop/core-loop-phases.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop-phases.js +1 -367
- package/dist/orchestrator/loop/core-loop-phases.js.map +1 -1
- package/dist/orchestrator/loop/core-loop-types.d.ts +1 -307
- package/dist/orchestrator/loop/core-loop-types.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop-types.js +1 -64
- package/dist/orchestrator/loop/core-loop-types.js.map +1 -1
- package/dist/orchestrator/loop/core-loop.d.ts +6 -3
- package/dist/orchestrator/loop/core-loop.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop.js +92 -8
- package/dist/orchestrator/loop/core-loop.js.map +1 -1
- package/dist/orchestrator/loop/loop-report-helper.d.ts +1 -1
- package/dist/orchestrator/loop/loop-report-helper.d.ts.map +1 -1
- package/dist/orchestrator/loop/loop-result-types.d.ts +67 -0
- package/dist/orchestrator/loop/loop-result-types.d.ts.map +1 -0
- package/dist/orchestrator/loop/loop-result-types.js +27 -0
- package/dist/orchestrator/loop/loop-result-types.js.map +1 -0
- package/dist/orchestrator/loop/parallel-dispatch.d.ts +2 -2
- package/dist/orchestrator/loop/parallel-dispatch.d.ts.map +1 -1
- package/dist/orchestrator/loop/post-loop-hooks.d.ts +4 -1
- package/dist/orchestrator/loop/post-loop-hooks.d.ts.map +1 -1
- package/dist/orchestrator/loop/post-loop-hooks.js +19 -1
- package/dist/orchestrator/loop/post-loop-hooks.js.map +1 -1
- package/dist/orchestrator/loop/tree-loop-runner.d.ts +1 -1
- package/dist/orchestrator/loop/tree-loop-runner.d.ts.map +1 -1
- package/dist/orchestrator/loop/tree-loop-runner.js +1 -1
- package/dist/orchestrator/loop/tree-loop-runner.js.map +1 -1
- package/dist/orchestrator/observation/capability-detector.d.ts +2 -0
- package/dist/orchestrator/observation/capability-detector.d.ts.map +1 -0
- package/dist/orchestrator/observation/capability-detector.js +2 -0
- package/dist/orchestrator/observation/capability-detector.js.map +1 -0
- package/dist/orchestrator/strategy/strategy-manager-base.d.ts +1 -0
- package/dist/orchestrator/strategy/strategy-manager-base.d.ts.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager-base.js +48 -4
- package/dist/orchestrator/strategy/strategy-manager-base.js.map +1 -1
- package/dist/orchestrator/strategy-manager.d.ts +2 -0
- package/dist/orchestrator/strategy-manager.d.ts.map +1 -0
- package/dist/orchestrator/strategy-manager.js +2 -0
- package/dist/orchestrator/strategy-manager.js.map +1 -0
- package/dist/platform/dream/dream-activation.d.ts +52 -0
- package/dist/platform/dream/dream-activation.d.ts.map +1 -0
- package/dist/platform/dream/dream-activation.js +199 -0
- package/dist/platform/dream/dream-activation.js.map +1 -0
- package/dist/platform/dream/dream-analyzer.d.ts +53 -0
- package/dist/platform/dream/dream-analyzer.d.ts.map +1 -0
- package/dist/platform/dream/dream-analyzer.js +489 -0
- package/dist/platform/dream/dream-analyzer.js.map +1 -0
- package/dist/platform/dream/dream-config.d.ts +6 -0
- package/dist/platform/dream/dream-config.d.ts.map +1 -0
- package/dist/platform/dream/dream-config.js +20 -0
- package/dist/platform/dream/dream-config.js.map +1 -0
- package/dist/platform/dream/dream-consolidator.d.ts +35 -0
- package/dist/platform/dream/dream-consolidator.d.ts.map +1 -0
- package/dist/platform/dream/dream-consolidator.js +304 -0
- package/dist/platform/dream/dream-consolidator.js.map +1 -0
- package/dist/platform/dream/dream-importance.d.ts +24 -0
- package/dist/platform/dream/dream-importance.d.ts.map +1 -0
- package/dist/platform/dream/dream-importance.js +71 -0
- package/dist/platform/dream/dream-importance.js.map +1 -0
- package/dist/platform/dream/dream-log-collector.d.ts +73 -0
- package/dist/platform/dream/dream-log-collector.d.ts.map +1 -0
- package/dist/platform/dream/dream-log-collector.js +256 -0
- package/dist/platform/dream/dream-log-collector.js.map +1 -0
- package/dist/platform/dream/dream-log-store.d.ts +22 -0
- package/dist/platform/dream/dream-log-store.d.ts.map +1 -0
- package/dist/platform/dream/dream-log-store.js +150 -0
- package/dist/platform/dream/dream-log-store.js.map +1 -0
- package/dist/platform/dream/dream-schedule-suggestions.d.ts +26 -0
- package/dist/platform/dream/dream-schedule-suggestions.d.ts.map +1 -0
- package/dist/platform/dream/dream-schedule-suggestions.js +195 -0
- package/dist/platform/dream/dream-schedule-suggestions.js.map +1 -0
- package/dist/platform/dream/dream-types.d.ts +2587 -0
- package/dist/platform/dream/dream-types.d.ts.map +1 -0
- package/dist/platform/dream/dream-types.js +265 -0
- package/dist/platform/dream/dream-types.js.map +1 -0
- package/dist/platform/dream/index.d.ts +6 -0
- package/dist/platform/dream/index.d.ts.map +1 -0
- package/dist/platform/dream/index.js +6 -0
- package/dist/platform/dream/index.js.map +1 -0
- package/dist/platform/drive/drive-system.d.ts +8 -0
- package/dist/platform/drive/drive-system.d.ts.map +1 -1
- package/dist/platform/drive/drive-system.js +39 -22
- package/dist/platform/drive/drive-system.js.map +1 -1
- package/dist/platform/ethics-gate.d.ts +2 -0
- package/dist/platform/ethics-gate.d.ts.map +1 -0
- package/dist/platform/ethics-gate.js +2 -0
- package/dist/platform/ethics-gate.js.map +1 -0
- package/dist/platform/execution/task/task-lifecycle.d.ts +2 -0
- package/dist/platform/execution/task/task-lifecycle.d.ts.map +1 -0
- package/dist/platform/execution/task/task-lifecycle.js +2 -0
- package/dist/platform/execution/task/task-lifecycle.js.map +1 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-apply.d.ts.map +1 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer-apply.js +6 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-apply.js.map +1 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer-detect.d.ts.map +1 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer-detect.js +32 -0
- package/dist/platform/knowledge/transfer/knowledge-transfer-detect.js.map +1 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer.d.ts +18 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer.d.ts.map +1 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer.js +121 -6
- package/dist/platform/knowledge/transfer/knowledge-transfer.js.map +1 -1
- package/dist/platform/observation/capability-detector.d.ts +8 -0
- package/dist/platform/observation/capability-detector.d.ts.map +1 -1
- package/dist/platform/observation/capability-detector.js +71 -4
- package/dist/platform/observation/capability-detector.js.map +1 -1
- package/dist/platform/observation/data-source-adapter.d.ts +19 -0
- package/dist/platform/observation/data-source-adapter.d.ts.map +1 -1
- package/dist/platform/observation/data-source-adapter.js +166 -0
- package/dist/platform/observation/data-source-adapter.js.map +1 -1
- package/dist/platform/observation/engine/observe-context.d.ts +4 -0
- package/dist/platform/observation/engine/observe-context.d.ts.map +1 -0
- package/dist/platform/observation/engine/observe-context.js +26 -0
- package/dist/platform/observation/engine/observe-context.js.map +1 -0
- package/dist/platform/observation/engine/observe-datasource-stage.d.ts +33 -0
- package/dist/platform/observation/engine/observe-datasource-stage.d.ts.map +1 -0
- package/dist/platform/observation/engine/observe-datasource-stage.js +66 -0
- package/dist/platform/observation/engine/observe-datasource-stage.js.map +1 -0
- package/dist/platform/observation/engine/observe-llm-stage.d.ts +25 -0
- package/dist/platform/observation/engine/observe-llm-stage.d.ts.map +1 -0
- package/dist/platform/observation/engine/observe-llm-stage.js +79 -0
- package/dist/platform/observation/engine/observe-llm-stage.js.map +1 -0
- package/dist/platform/observation/engine/observe-precheck.d.ts +21 -0
- package/dist/platform/observation/engine/observe-precheck.d.ts.map +1 -0
- package/dist/platform/observation/engine/observe-precheck.js +51 -0
- package/dist/platform/observation/engine/observe-precheck.js.map +1 -0
- package/dist/platform/observation/engine/observe-self-report.d.ts +18 -0
- package/dist/platform/observation/engine/observe-self-report.d.ts.map +1 -0
- package/dist/platform/observation/engine/observe-self-report.js +26 -0
- package/dist/platform/observation/engine/observe-self-report.js.map +1 -0
- package/dist/platform/observation/engine/observe-tool-stage.d.ts +21 -0
- package/dist/platform/observation/engine/observe-tool-stage.d.ts.map +1 -0
- package/dist/platform/observation/engine/observe-tool-stage.js +49 -0
- package/dist/platform/observation/engine/observe-tool-stage.js.map +1 -0
- package/dist/platform/observation/observation-engine.d.ts.map +1 -1
- package/dist/platform/observation/observation-engine.js +67 -246
- package/dist/platform/observation/observation-engine.js.map +1 -1
- package/dist/platform/observation/observation-helpers.d.ts +6 -0
- package/dist/platform/observation/observation-helpers.d.ts.map +1 -1
- package/dist/platform/observation/observation-helpers.js +2 -0
- package/dist/platform/observation/observation-helpers.js.map +1 -1
- package/dist/platform/observation/types/data-source.d.ts +12 -0
- package/dist/platform/observation/types/data-source.d.ts.map +1 -1
- package/dist/platform/observation/types/data-source.js +1 -0
- package/dist/platform/observation/types/data-source.js.map +1 -1
- package/dist/platform/runtime/plugin-loader.d.ts +2 -0
- package/dist/platform/runtime/plugin-loader.d.ts.map +1 -0
- package/dist/platform/runtime/plugin-loader.js +2 -0
- package/dist/platform/runtime/plugin-loader.js.map +1 -0
- package/dist/platform/tools/executor.d.ts +2 -0
- package/dist/platform/tools/executor.d.ts.map +1 -0
- package/dist/platform/tools/executor.js +2 -0
- package/dist/platform/tools/executor.js.map +1 -0
- package/dist/prompt/context-assembler.d.ts +61 -13
- package/dist/prompt/context-assembler.d.ts.map +1 -1
- package/dist/prompt/context-assembler.js +18 -3
- package/dist/prompt/context-assembler.js.map +1 -1
- package/dist/prompt/purposes/dream.d.ts +9 -0
- package/dist/prompt/purposes/dream.d.ts.map +1 -0
- package/dist/prompt/purposes/dream.js +71 -0
- package/dist/prompt/purposes/dream.js.map +1 -0
- package/dist/prompt/purposes/index.d.ts +1 -0
- package/dist/prompt/purposes/index.d.ts.map +1 -1
- package/dist/prompt/purposes/index.js +1 -0
- package/dist/prompt/purposes/index.js.map +1 -1
- package/dist/reporting/report-formatters.d.ts +1 -1
- package/dist/reporting/report-formatters.d.ts.map +1 -1
- package/dist/reporting/reporting-engine.d.ts +2 -24
- package/dist/reporting/reporting-engine.d.ts.map +1 -1
- package/dist/reporting/reporting-engine.js +0 -1
- package/dist/reporting/reporting-engine.js.map +1 -1
- package/dist/reporting/reporting-types.d.ts +25 -0
- package/dist/reporting/reporting-types.d.ts.map +1 -0
- package/dist/reporting/reporting-types.js +2 -0
- package/dist/reporting/reporting-types.js.map +1 -0
- package/dist/runtime/approval-broker.d.ts +44 -0
- package/dist/runtime/approval-broker.d.ts.map +1 -0
- package/dist/runtime/approval-broker.js +141 -0
- package/dist/runtime/approval-broker.js.map +1 -0
- package/dist/runtime/command-dispatcher.d.ts +35 -0
- package/dist/runtime/command-dispatcher.d.ts.map +1 -0
- package/dist/runtime/command-dispatcher.js +145 -0
- package/dist/runtime/command-dispatcher.js.map +1 -0
- package/dist/runtime/daemon/client.d.ts +67 -0
- package/dist/runtime/daemon/client.d.ts.map +1 -0
- package/dist/runtime/daemon/client.js +330 -0
- package/dist/runtime/daemon/client.js.map +1 -0
- package/dist/runtime/daemon/health.d.ts +31 -0
- package/dist/runtime/daemon/health.d.ts.map +1 -0
- package/dist/runtime/daemon/health.js +113 -0
- package/dist/runtime/daemon/health.js.map +1 -0
- package/dist/runtime/daemon/index.d.ts +9 -0
- package/dist/runtime/daemon/index.d.ts.map +1 -0
- package/dist/runtime/daemon/index.js +8 -0
- package/dist/runtime/daemon/index.js.map +1 -0
- package/dist/runtime/daemon/maintenance.d.ts +47 -0
- package/dist/runtime/daemon/maintenance.d.ts.map +1 -0
- package/dist/runtime/daemon/maintenance.js +230 -0
- package/dist/runtime/daemon/maintenance.js.map +1 -0
- package/dist/runtime/daemon/persistence.d.ts +20 -0
- package/dist/runtime/daemon/persistence.d.ts.map +1 -0
- package/dist/runtime/daemon/persistence.js +112 -0
- package/dist/runtime/daemon/persistence.js.map +1 -0
- package/dist/runtime/daemon/runner-lifecycle.d.ts +29 -0
- package/dist/runtime/daemon/runner-lifecycle.d.ts.map +1 -0
- package/dist/runtime/daemon/runner-lifecycle.js +56 -0
- package/dist/runtime/daemon/runner-lifecycle.js.map +1 -0
- package/dist/runtime/daemon/runner.d.ts +229 -0
- package/dist/runtime/daemon/runner.d.ts.map +1 -0
- package/dist/runtime/daemon/runner.js +875 -0
- package/dist/runtime/daemon/runner.js.map +1 -0
- package/dist/runtime/daemon/runtime-ownership.d.ts +30 -0
- package/dist/runtime/daemon/runtime-ownership.d.ts.map +1 -0
- package/dist/runtime/daemon/runtime-ownership.js +132 -0
- package/dist/runtime/daemon/runtime-ownership.js.map +1 -0
- package/dist/runtime/daemon/signals.d.ts +17 -0
- package/dist/runtime/daemon/signals.d.ts.map +1 -0
- package/dist/runtime/daemon/signals.js +31 -0
- package/dist/runtime/daemon/signals.js.map +1 -0
- package/dist/runtime/daemon/types.d.ts +8 -0
- package/dist/runtime/daemon/types.d.ts.map +1 -0
- package/dist/runtime/daemon/types.js +2 -0
- package/dist/runtime/daemon/types.js.map +1 -0
- package/dist/runtime/daemon-client.d.ts +1 -55
- package/dist/runtime/daemon-client.d.ts.map +1 -1
- package/dist/runtime/daemon-client.js +1 -297
- package/dist/runtime/daemon-client.js.map +1 -1
- package/dist/runtime/daemon-health.d.ts +1 -30
- package/dist/runtime/daemon-health.d.ts.map +1 -1
- package/dist/runtime/daemon-health.js +1 -112
- package/dist/runtime/daemon-health.js.map +1 -1
- package/dist/runtime/daemon-runner-lifecycle.d.ts +2 -0
- package/dist/runtime/daemon-runner-lifecycle.d.ts.map +1 -0
- package/dist/runtime/daemon-runner-lifecycle.js +2 -0
- package/dist/runtime/daemon-runner-lifecycle.js.map +1 -0
- package/dist/runtime/daemon-runner.d.ts +1 -209
- package/dist/runtime/daemon-runner.d.ts.map +1 -1
- package/dist/runtime/daemon-runner.js +1 -874
- package/dist/runtime/daemon-runner.js.map +1 -1
- package/dist/runtime/daemon-runtime-ownership.d.ts +2 -0
- package/dist/runtime/daemon-runtime-ownership.d.ts.map +1 -0
- package/dist/runtime/daemon-runtime-ownership.js +2 -0
- package/dist/runtime/daemon-runtime-ownership.js.map +1 -0
- package/dist/runtime/daemon-signals.d.ts +1 -16
- package/dist/runtime/daemon-signals.d.ts.map +1 -1
- package/dist/runtime/daemon-signals.js +1 -30
- package/dist/runtime/daemon-signals.js.map +1 -1
- package/dist/runtime/event/dispatcher.d.ts +34 -0
- package/dist/runtime/event/dispatcher.d.ts.map +1 -0
- package/dist/runtime/event/dispatcher.js +124 -0
- package/dist/runtime/event/dispatcher.js.map +1 -0
- package/dist/runtime/event/index.d.ts +5 -0
- package/dist/runtime/event/index.d.ts.map +1 -0
- package/dist/runtime/event/index.js +5 -0
- package/dist/runtime/event/index.js.map +1 -0
- package/dist/runtime/event/server-snapshot-reader.d.ts +31 -0
- package/dist/runtime/event/server-snapshot-reader.d.ts.map +1 -0
- package/dist/runtime/event/server-snapshot-reader.js +94 -0
- package/dist/runtime/event/server-snapshot-reader.js.map +1 -0
- package/dist/runtime/event/server-sse.d.ts +25 -0
- package/dist/runtime/event/server-sse.d.ts.map +1 -0
- package/dist/runtime/event/server-sse.js +149 -0
- package/dist/runtime/event/server-sse.js.map +1 -0
- package/dist/runtime/event/server.d.ts +114 -0
- package/dist/runtime/event/server.d.ts.map +1 -0
- package/dist/runtime/event/server.js +651 -0
- package/dist/runtime/event/server.js.map +1 -0
- package/dist/runtime/event-dispatcher.d.ts +2 -0
- package/dist/runtime/event-dispatcher.d.ts.map +1 -0
- package/dist/runtime/event-dispatcher.js +2 -0
- package/dist/runtime/event-dispatcher.js.map +1 -0
- package/dist/runtime/event-server-snapshot-reader.d.ts +2 -0
- package/dist/runtime/event-server-snapshot-reader.d.ts.map +1 -0
- package/dist/runtime/event-server-snapshot-reader.js +2 -0
- package/dist/runtime/event-server-snapshot-reader.js.map +1 -0
- package/dist/runtime/event-server-sse.d.ts +2 -0
- package/dist/runtime/event-server-sse.d.ts.map +1 -0
- package/dist/runtime/event-server-sse.js +2 -0
- package/dist/runtime/event-server-sse.js.map +1 -0
- package/dist/runtime/event-server.d.ts +1 -81
- package/dist/runtime/event-server.d.ts.map +1 -1
- package/dist/runtime/event-server.js +1 -599
- package/dist/runtime/event-server.js.map +1 -1
- package/dist/runtime/executor/loop-supervisor.d.ts +25 -2
- package/dist/runtime/executor/loop-supervisor.d.ts.map +1 -1
- package/dist/runtime/executor/loop-supervisor.js +249 -57
- package/dist/runtime/executor/loop-supervisor.js.map +1 -1
- package/dist/runtime/gateway/http-channel-adapter.d.ts +1 -1
- package/dist/runtime/gateway/http-channel-adapter.js +2 -2
- package/dist/runtime/gateway/http-channel-adapter.js.map +1 -1
- package/dist/runtime/gateway/ingress-gateway.js +1 -1
- package/dist/runtime/gateway/ingress-gateway.js.map +1 -1
- package/dist/runtime/goal-lease-manager.d.ts +35 -0
- package/dist/runtime/goal-lease-manager.d.ts.map +1 -0
- package/dist/runtime/goal-lease-manager.js +191 -0
- package/dist/runtime/goal-lease-manager.js.map +1 -0
- package/dist/runtime/hook-manager.d.ts +4 -0
- package/dist/runtime/hook-manager.d.ts.map +1 -1
- package/dist/runtime/hook-manager.js +33 -0
- package/dist/runtime/hook-manager.js.map +1 -1
- package/dist/runtime/leader-lock-manager.d.ts +30 -0
- package/dist/runtime/leader-lock-manager.d.ts.map +1 -0
- package/dist/runtime/leader-lock-manager.js +160 -0
- package/dist/runtime/leader-lock-manager.js.map +1 -0
- package/dist/runtime/notification-dispatcher.d.ts +2 -0
- package/dist/runtime/notification-dispatcher.d.ts.map +1 -1
- package/dist/runtime/notification-dispatcher.js +12 -0
- package/dist/runtime/notification-dispatcher.js.map +1 -1
- package/dist/runtime/plugin-loader.d.ts +1 -1
- package/dist/runtime/queue/index.d.ts +4 -4
- package/dist/runtime/queue/index.d.ts.map +1 -1
- package/dist/runtime/queue/index.js +2 -2
- package/dist/runtime/queue/index.js.map +1 -1
- package/dist/runtime/queue/journal-backed-queue.d.ts +80 -0
- package/dist/runtime/queue/journal-backed-queue.d.ts.map +1 -0
- package/dist/runtime/queue/journal-backed-queue.js +511 -0
- package/dist/runtime/queue/journal-backed-queue.js.map +1 -0
- package/dist/runtime/queue/queue-claim-sweeper.d.ts +15 -0
- package/dist/runtime/queue/queue-claim-sweeper.d.ts.map +1 -0
- package/dist/runtime/queue/queue-claim-sweeper.js +28 -0
- package/dist/runtime/queue/queue-claim-sweeper.js.map +1 -0
- package/dist/runtime/schedule/engine-layers.d.ts +44 -0
- package/dist/runtime/schedule/engine-layers.d.ts.map +1 -0
- package/dist/runtime/schedule/engine-layers.js +433 -0
- package/dist/runtime/schedule/engine-layers.js.map +1 -0
- package/dist/runtime/schedule/engine.d.ts +82 -0
- package/dist/runtime/schedule/engine.d.ts.map +1 -0
- package/dist/runtime/schedule/engine.js +480 -0
- package/dist/runtime/schedule/engine.js.map +1 -0
- package/dist/runtime/schedule/index.d.ts +5 -0
- package/dist/runtime/schedule/index.d.ts.map +1 -0
- package/dist/runtime/schedule/index.js +5 -0
- package/dist/runtime/schedule/index.js.map +1 -0
- package/dist/runtime/schedule/presets.d.ts +536 -0
- package/dist/runtime/schedule/presets.d.ts.map +1 -0
- package/dist/runtime/schedule/presets.js +166 -0
- package/dist/runtime/schedule/presets.js.map +1 -0
- package/dist/runtime/schedule/source.d.ts +65 -0
- package/dist/runtime/schedule/source.d.ts.map +1 -0
- package/dist/runtime/schedule/source.js +16 -0
- package/dist/runtime/schedule/source.js.map +1 -0
- package/dist/runtime/schedule-engine-layers.d.ts +1 -37
- package/dist/runtime/schedule-engine-layers.d.ts.map +1 -1
- package/dist/runtime/schedule-engine-layers.js +1 -301
- package/dist/runtime/schedule-engine-layers.js.map +1 -1
- package/dist/runtime/schedule-engine.d.ts +1 -61
- package/dist/runtime/schedule-engine.d.ts.map +1 -1
- package/dist/runtime/schedule-engine.js +1 -397
- package/dist/runtime/schedule-engine.js.map +1 -1
- package/dist/runtime/schedule-presets.d.ts +2 -0
- package/dist/runtime/schedule-presets.d.ts.map +1 -0
- package/dist/runtime/schedule-presets.js +2 -0
- package/dist/runtime/schedule-presets.js.map +1 -0
- package/dist/runtime/schedule-source.d.ts +1 -64
- package/dist/runtime/schedule-source.d.ts.map +1 -1
- package/dist/runtime/schedule-source.js +1 -15
- package/dist/runtime/schedule-source.js.map +1 -1
- package/dist/runtime/store/approval-store.d.ts +26 -0
- package/dist/runtime/store/approval-store.d.ts.map +1 -0
- package/dist/runtime/store/approval-store.js +119 -0
- package/dist/runtime/store/approval-store.js.map +1 -0
- package/dist/runtime/store/health-store.d.ts +16 -0
- package/dist/runtime/store/health-store.d.ts.map +1 -0
- package/dist/runtime/store/health-store.js +68 -0
- package/dist/runtime/store/health-store.js.map +1 -0
- package/dist/runtime/store/index.d.ts +10 -0
- package/dist/runtime/store/index.d.ts.map +1 -0
- package/dist/runtime/store/index.js +7 -0
- package/dist/runtime/store/index.js.map +1 -0
- package/dist/runtime/store/outbox-store.d.ts +16 -0
- package/dist/runtime/store/outbox-store.d.ts.map +1 -0
- package/dist/runtime/store/outbox-store.js +92 -0
- package/dist/runtime/store/outbox-store.js.map +1 -0
- package/dist/runtime/store/runtime-journal.d.ts +19 -0
- package/dist/runtime/store/runtime-journal.d.ts.map +1 -0
- package/dist/runtime/store/runtime-journal.js +77 -0
- package/dist/runtime/store/runtime-journal.js.map +1 -0
- package/dist/runtime/store/runtime-paths.d.ts +35 -0
- package/dist/runtime/store/runtime-paths.d.ts.map +1 -0
- package/dist/runtime/store/runtime-paths.js +108 -0
- package/dist/runtime/store/runtime-paths.js.map +1 -0
- package/dist/runtime/store/runtime-schemas.d.ts +218 -0
- package/dist/runtime/store/runtime-schemas.d.ts.map +1 -0
- package/dist/runtime/store/runtime-schemas.js +94 -0
- package/dist/runtime/store/runtime-schemas.js.map +1 -0
- package/dist/runtime/types/daemon.d.ts +6 -0
- package/dist/runtime/types/daemon.d.ts.map +1 -1
- package/dist/runtime/types/daemon.js +3 -0
- package/dist/runtime/types/daemon.js.map +1 -1
- package/dist/runtime/types/hook.d.ts +12 -12
- package/dist/runtime/types/hook.d.ts.map +1 -1
- package/dist/runtime/types/hook.js +1 -0
- package/dist/runtime/types/hook.js.map +1 -1
- package/dist/runtime/types/schedule.d.ts +204 -27
- package/dist/runtime/types/schedule.d.ts.map +1 -1
- package/dist/runtime/types/schedule.js +25 -0
- package/dist/runtime/types/schedule.js.map +1 -1
- package/dist/runtime/watchdog.d.ts +44 -0
- package/dist/runtime/watchdog.d.ts.map +1 -0
- package/dist/runtime/watchdog.js +185 -0
- package/dist/runtime/watchdog.js.map +1 -0
- package/dist/tools/builtin/index.d.ts +15 -0
- package/dist/tools/builtin/index.d.ts.map +1 -1
- package/dist/tools/builtin/index.js +31 -2
- package/dist/tools/builtin/index.js.map +1 -1
- package/dist/tools/execution/MemoryConsolidateTool/MemoryConsolidateTool.d.ts +1 -1
- package/dist/tools/execution/MemoryConsolidateTool/MemoryConsolidateTool.d.ts.map +1 -1
- package/dist/tools/execution/MemoryConsolidateTool/MemoryConsolidateTool.js +6 -5
- package/dist/tools/execution/MemoryConsolidateTool/MemoryConsolidateTool.js.map +1 -1
- package/dist/tools/fs/FileEditTool/FileEditTool.d.ts +1 -1
- package/dist/tools/fs/FileEditTool/FileEditTool.d.ts.map +1 -1
- package/dist/tools/fs/FileEditTool/FileEditTool.js +1 -1
- package/dist/tools/fs/FileEditTool/FileEditTool.js.map +1 -1
- package/dist/tools/fs/FileWriteTool/FileWriteTool.d.ts +1 -1
- package/dist/tools/fs/FileWriteTool/FileWriteTool.d.ts.map +1 -1
- package/dist/tools/fs/FileWriteTool/FileWriteTool.js +1 -1
- package/dist/tools/fs/FileWriteTool/FileWriteTool.js.map +1 -1
- package/dist/tools/fs/GlobTool/GlobTool.d.ts +2 -2
- package/dist/tools/fs/GlobTool/GlobTool.d.ts.map +1 -1
- package/dist/tools/fs/GlobTool/GlobTool.js +2 -2
- package/dist/tools/fs/GlobTool/GlobTool.js.map +1 -1
- package/dist/tools/fs/GrepTool/GrepTool.d.ts +2 -2
- package/dist/tools/fs/GrepTool/GrepTool.d.ts.map +1 -1
- package/dist/tools/fs/GrepTool/GrepTool.js +9 -3
- package/dist/tools/fs/GrepTool/GrepTool.js.map +1 -1
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.d.ts +2 -2
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.d.ts.map +1 -1
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.js +6 -2
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.js.map +1 -1
- package/dist/tools/fs/ListDirTool/ListDirTool.d.ts +2 -2
- package/dist/tools/fs/ListDirTool/ListDirTool.d.ts.map +1 -1
- package/dist/tools/fs/ListDirTool/ListDirTool.js +2 -2
- package/dist/tools/fs/ListDirTool/ListDirTool.js.map +1 -1
- package/dist/tools/fs/ReadTool/ReadTool.d.ts +1 -1
- package/dist/tools/fs/ReadTool/ReadTool.d.ts.map +1 -1
- package/dist/tools/fs/ReadTool/ReadTool.js +1 -1
- package/dist/tools/fs/ReadTool/ReadTool.js.map +1 -1
- package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.d.ts +1 -1
- package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.d.ts.map +1 -1
- package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.js +1 -1
- package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.js.map +1 -1
- package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.d.ts +1 -1
- package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.d.ts.map +1 -1
- package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.js +1 -1
- package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.js.map +1 -1
- package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.d.ts +1 -1
- package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.d.ts.map +1 -1
- package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.js +1 -1
- package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.js.map +1 -1
- package/dist/tools/mutation/SetGoalTool/SetGoalTool.d.ts +2 -2
- package/dist/tools/mutation/SetGoalTool/SetGoalTool.d.ts.map +1 -1
- package/dist/tools/mutation/SetGoalTool/SetGoalTool.js +2 -2
- package/dist/tools/mutation/SetGoalTool/SetGoalTool.js.map +1 -1
- package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.d.ts +216 -0
- package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.d.ts.map +1 -0
- package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.js +104 -0
- package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.js.map +1 -0
- package/dist/tools/mutation/TaskCreateTool/constants.d.ts +5 -0
- package/dist/tools/mutation/TaskCreateTool/constants.d.ts.map +1 -0
- package/dist/tools/mutation/TaskCreateTool/constants.js +5 -0
- package/dist/tools/mutation/TaskCreateTool/constants.js.map +1 -0
- package/dist/tools/mutation/TaskCreateTool/prompt.d.ts +2 -0
- package/dist/tools/mutation/TaskCreateTool/prompt.d.ts.map +1 -0
- package/dist/tools/mutation/TaskCreateTool/prompt.js +2 -0
- package/dist/tools/mutation/TaskCreateTool/prompt.js.map +1 -0
- package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.d.ts +46 -0
- package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.d.ts.map +1 -0
- package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.js +95 -0
- package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.js.map +1 -0
- package/dist/tools/mutation/TaskOutputTool/constants.d.ts +5 -0
- package/dist/tools/mutation/TaskOutputTool/constants.d.ts.map +1 -0
- package/dist/tools/mutation/TaskOutputTool/constants.js +5 -0
- package/dist/tools/mutation/TaskOutputTool/constants.js.map +1 -0
- package/dist/tools/mutation/TaskOutputTool/prompt.d.ts +2 -0
- package/dist/tools/mutation/TaskOutputTool/prompt.d.ts.map +1 -0
- package/dist/tools/mutation/TaskOutputTool/prompt.js +2 -0
- package/dist/tools/mutation/TaskOutputTool/prompt.js.map +1 -0
- package/dist/tools/mutation/TaskStopTool/TaskStopTool.d.ts +40 -0
- package/dist/tools/mutation/TaskStopTool/TaskStopTool.d.ts.map +1 -0
- package/dist/tools/mutation/TaskStopTool/TaskStopTool.js +95 -0
- package/dist/tools/mutation/TaskStopTool/TaskStopTool.js.map +1 -0
- package/dist/tools/mutation/TaskStopTool/constants.d.ts +5 -0
- package/dist/tools/mutation/TaskStopTool/constants.d.ts.map +1 -0
- package/dist/tools/mutation/TaskStopTool/constants.js +5 -0
- package/dist/tools/mutation/TaskStopTool/constants.js.map +1 -0
- package/dist/tools/mutation/TaskStopTool/prompt.d.ts +2 -0
- package/dist/tools/mutation/TaskStopTool/prompt.d.ts.map +1 -0
- package/dist/tools/mutation/TaskStopTool/prompt.js +2 -0
- package/dist/tools/mutation/TaskStopTool/prompt.js.map +1 -0
- package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.d.ts +270 -0
- package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.d.ts.map +1 -0
- package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.js +137 -0
- package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.js.map +1 -0
- package/dist/tools/mutation/TaskUpdateTool/constants.d.ts +5 -0
- package/dist/tools/mutation/TaskUpdateTool/constants.d.ts.map +1 -0
- package/dist/tools/mutation/TaskUpdateTool/constants.js +5 -0
- package/dist/tools/mutation/TaskUpdateTool/constants.js.map +1 -0
- package/dist/tools/mutation/TaskUpdateTool/prompt.d.ts +2 -0
- package/dist/tools/mutation/TaskUpdateTool/prompt.d.ts.map +1 -0
- package/dist/tools/mutation/TaskUpdateTool/prompt.js +2 -0
- package/dist/tools/mutation/TaskUpdateTool/prompt.js.map +1 -0
- package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.d.ts +1 -1
- package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.d.ts.map +1 -1
- package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.js +1 -1
- package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.js.map +1 -1
- package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.d.ts +2 -2
- package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.d.ts.map +1 -1
- package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.js +11 -2
- package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.js.map +1 -1
- package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.d.ts +2 -2
- package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.d.ts.map +1 -1
- package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.js +2 -2
- package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.js.map +1 -1
- package/dist/tools/mutation/task-history-utils.d.ts +4 -0
- package/dist/tools/mutation/task-history-utils.d.ts.map +1 -0
- package/dist/tools/mutation/task-history-utils.js +30 -0
- package/dist/tools/mutation/task-history-utils.js.map +1 -0
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.d.ts +1 -1
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.d.ts.map +1 -1
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.js +1 -1
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.js.map +1 -1
- package/dist/tools/query/ArchitectureTool/ArchitectureTool.d.ts +2 -2
- package/dist/tools/query/ArchitectureTool/ArchitectureTool.d.ts.map +1 -1
- package/dist/tools/query/ArchitectureTool/ArchitectureTool.js +2 -2
- package/dist/tools/query/ArchitectureTool/ArchitectureTool.js.map +1 -1
- package/dist/tools/query/ConfigTool/ConfigTool.d.ts +2 -2
- package/dist/tools/query/ConfigTool/ConfigTool.d.ts.map +1 -1
- package/dist/tools/query/ConfigTool/ConfigTool.js +2 -2
- package/dist/tools/query/ConfigTool/ConfigTool.js.map +1 -1
- package/dist/tools/query/GoalStateTool/GoalStateTool.d.ts +2 -2
- package/dist/tools/query/GoalStateTool/GoalStateTool.d.ts.map +1 -1
- package/dist/tools/query/GoalStateTool/GoalStateTool.js +2 -2
- package/dist/tools/query/GoalStateTool/GoalStateTool.js.map +1 -1
- package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.d.ts +2 -2
- package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.d.ts.map +1 -1
- package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.js +2 -2
- package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.js.map +1 -1
- package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.d.ts +7 -7
- package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.d.ts.map +1 -1
- package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.js +11 -10
- package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.js.map +1 -1
- package/dist/tools/query/PluginStateTool/PluginStateTool.d.ts +2 -2
- package/dist/tools/query/PluginStateTool/PluginStateTool.d.ts.map +1 -1
- package/dist/tools/query/PluginStateTool/PluginStateTool.js +2 -2
- package/dist/tools/query/PluginStateTool/PluginStateTool.js.map +1 -1
- package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.d.ts +4 -4
- package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.d.ts.map +1 -1
- package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.js +2 -2
- package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.js.map +1 -1
- package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.d.ts +2 -2
- package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.d.ts.map +1 -1
- package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.js +2 -2
- package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.js.map +1 -1
- package/dist/tools/query/TaskGetTool/TaskGetTool.d.ts +34 -0
- package/dist/tools/query/TaskGetTool/TaskGetTool.d.ts.map +1 -0
- package/dist/tools/query/TaskGetTool/TaskGetTool.js +77 -0
- package/dist/tools/query/TaskGetTool/TaskGetTool.js.map +1 -0
- package/dist/tools/query/TaskGetTool/constants.d.ts +6 -0
- package/dist/tools/query/TaskGetTool/constants.d.ts.map +1 -0
- package/dist/tools/query/TaskGetTool/constants.js +6 -0
- package/dist/tools/query/TaskGetTool/constants.js.map +1 -0
- package/dist/tools/query/TaskGetTool/prompt.d.ts +2 -0
- package/dist/tools/query/TaskGetTool/prompt.d.ts.map +1 -0
- package/dist/tools/query/TaskGetTool/prompt.js +2 -0
- package/dist/tools/query/TaskGetTool/prompt.js.map +1 -0
- package/dist/tools/query/TaskListTool/TaskListTool.d.ts +58 -0
- package/dist/tools/query/TaskListTool/TaskListTool.d.ts.map +1 -0
- package/dist/tools/query/TaskListTool/TaskListTool.js +101 -0
- package/dist/tools/query/TaskListTool/TaskListTool.js.map +1 -0
- package/dist/tools/query/TaskListTool/constants.d.ts +6 -0
- package/dist/tools/query/TaskListTool/constants.d.ts.map +1 -0
- package/dist/tools/query/TaskListTool/constants.js +6 -0
- package/dist/tools/query/TaskListTool/constants.js.map +1 -0
- package/dist/tools/query/TaskListTool/prompt.d.ts +2 -0
- package/dist/tools/query/TaskListTool/prompt.d.ts.map +1 -0
- package/dist/tools/query/TaskListTool/prompt.js +2 -0
- package/dist/tools/query/TaskListTool/prompt.js.map +1 -0
- package/dist/tools/query/TrustStateTool/TrustStateTool.d.ts +2 -2
- package/dist/tools/query/TrustStateTool/TrustStateTool.d.ts.map +1 -1
- package/dist/tools/query/TrustStateTool/TrustStateTool.js +2 -2
- package/dist/tools/query/TrustStateTool/TrustStateTool.js.map +1 -1
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts +1638 -0
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts.map +1 -0
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.js +86 -0
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.js.map +1 -0
- package/dist/tools/schedule/CreateScheduleTool/constants.d.ts +5 -0
- package/dist/tools/schedule/CreateScheduleTool/constants.d.ts.map +1 -0
- package/dist/tools/schedule/CreateScheduleTool/constants.js +5 -0
- package/dist/tools/schedule/CreateScheduleTool/constants.js.map +1 -0
- package/dist/tools/schedule/CreateScheduleTool/prompt.d.ts +2 -0
- package/dist/tools/schedule/CreateScheduleTool/prompt.d.ts.map +1 -0
- package/dist/tools/schedule/CreateScheduleTool/prompt.js +2 -0
- package/dist/tools/schedule/CreateScheduleTool/prompt.js.map +1 -0
- package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.d.ts +28 -0
- package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.d.ts.map +1 -0
- package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.js +79 -0
- package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.js.map +1 -0
- package/dist/tools/schedule/GetScheduleTool/constants.d.ts +6 -0
- package/dist/tools/schedule/GetScheduleTool/constants.d.ts.map +1 -0
- package/dist/tools/schedule/GetScheduleTool/constants.js +6 -0
- package/dist/tools/schedule/GetScheduleTool/constants.js.map +1 -0
- package/dist/tools/schedule/GetScheduleTool/prompt.d.ts +2 -0
- package/dist/tools/schedule/GetScheduleTool/prompt.d.ts.map +1 -0
- package/dist/tools/schedule/GetScheduleTool/prompt.js +2 -0
- package/dist/tools/schedule/GetScheduleTool/prompt.js.map +1 -0
- package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.d.ts +40 -0
- package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.d.ts.map +1 -0
- package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.js +83 -0
- package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.js.map +1 -0
- package/dist/tools/schedule/ListSchedulesTool/constants.d.ts +6 -0
- package/dist/tools/schedule/ListSchedulesTool/constants.d.ts.map +1 -0
- package/dist/tools/schedule/ListSchedulesTool/constants.js +6 -0
- package/dist/tools/schedule/ListSchedulesTool/constants.js.map +1 -0
- package/dist/tools/schedule/ListSchedulesTool/prompt.d.ts +2 -0
- package/dist/tools/schedule/ListSchedulesTool/prompt.d.ts.map +1 -0
- package/dist/tools/schedule/ListSchedulesTool/prompt.js +2 -0
- package/dist/tools/schedule/ListSchedulesTool/prompt.js.map +1 -0
- package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.d.ts +32 -0
- package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.d.ts.map +1 -0
- package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.js +94 -0
- package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.js.map +1 -0
- package/dist/tools/schedule/PauseScheduleTool/constants.d.ts +5 -0
- package/dist/tools/schedule/PauseScheduleTool/constants.d.ts.map +1 -0
- package/dist/tools/schedule/PauseScheduleTool/constants.js +5 -0
- package/dist/tools/schedule/PauseScheduleTool/constants.js.map +1 -0
- package/dist/tools/schedule/PauseScheduleTool/prompt.d.ts +2 -0
- package/dist/tools/schedule/PauseScheduleTool/prompt.d.ts.map +1 -0
- package/dist/tools/schedule/PauseScheduleTool/prompt.js +2 -0
- package/dist/tools/schedule/PauseScheduleTool/prompt.js.map +1 -0
- package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.d.ts +35 -0
- package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.d.ts.map +1 -0
- package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.js +100 -0
- package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.js.map +1 -0
- package/dist/tools/schedule/RemoveScheduleTool/constants.d.ts +5 -0
- package/dist/tools/schedule/RemoveScheduleTool/constants.d.ts.map +1 -0
- package/dist/tools/schedule/RemoveScheduleTool/constants.js +5 -0
- package/dist/tools/schedule/RemoveScheduleTool/constants.js.map +1 -0
- package/dist/tools/schedule/RemoveScheduleTool/prompt.d.ts +2 -0
- package/dist/tools/schedule/RemoveScheduleTool/prompt.d.ts.map +1 -0
- package/dist/tools/schedule/RemoveScheduleTool/prompt.js +2 -0
- package/dist/tools/schedule/RemoveScheduleTool/prompt.js.map +1 -0
- package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.d.ts +32 -0
- package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.d.ts.map +1 -0
- package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.js +94 -0
- package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.js.map +1 -0
- package/dist/tools/schedule/ResumeScheduleTool/constants.d.ts +5 -0
- package/dist/tools/schedule/ResumeScheduleTool/constants.d.ts.map +1 -0
- package/dist/tools/schedule/ResumeScheduleTool/constants.js +5 -0
- package/dist/tools/schedule/ResumeScheduleTool/constants.js.map +1 -0
- package/dist/tools/schedule/ResumeScheduleTool/prompt.d.ts +2 -0
- package/dist/tools/schedule/ResumeScheduleTool/prompt.d.ts.map +1 -0
- package/dist/tools/schedule/ResumeScheduleTool/prompt.js +2 -0
- package/dist/tools/schedule/ResumeScheduleTool/prompt.js.map +1 -0
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts +770 -0
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts.map +1 -0
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.js +131 -0
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.js.map +1 -0
- package/dist/tools/schedule/UpdateScheduleTool/constants.d.ts +5 -0
- package/dist/tools/schedule/UpdateScheduleTool/constants.d.ts.map +1 -0
- package/dist/tools/schedule/UpdateScheduleTool/constants.js +5 -0
- package/dist/tools/schedule/UpdateScheduleTool/constants.js.map +1 -0
- package/dist/tools/schedule/UpdateScheduleTool/prompt.d.ts +2 -0
- package/dist/tools/schedule/UpdateScheduleTool/prompt.d.ts.map +1 -0
- package/dist/tools/schedule/UpdateScheduleTool/prompt.js +2 -0
- package/dist/tools/schedule/UpdateScheduleTool/prompt.js.map +1 -0
- package/dist/tools/system/EnvTool/EnvTool.d.ts +2 -2
- package/dist/tools/system/EnvTool/EnvTool.d.ts.map +1 -1
- package/dist/tools/system/EnvTool/EnvTool.js +2 -2
- package/dist/tools/system/EnvTool/EnvTool.js.map +1 -1
- package/dist/tools/system/GitDiffTool/GitDiffTool.d.ts +2 -2
- package/dist/tools/system/GitDiffTool/GitDiffTool.d.ts.map +1 -1
- package/dist/tools/system/GitDiffTool/GitDiffTool.js +2 -2
- package/dist/tools/system/GitDiffTool/GitDiffTool.js.map +1 -1
- package/dist/tools/system/GitLogTool/GitLogTool.d.ts +2 -2
- package/dist/tools/system/GitLogTool/GitLogTool.d.ts.map +1 -1
- package/dist/tools/system/GitLogTool/GitLogTool.js +2 -2
- package/dist/tools/system/GitLogTool/GitLogTool.js.map +1 -1
- package/dist/tools/system/SleepTool/SleepTool.d.ts +2 -2
- package/dist/tools/system/SleepTool/SleepTool.d.ts.map +1 -1
- package/dist/tools/system/SleepTool/SleepTool.js +2 -2
- package/dist/tools/system/SleepTool/SleepTool.js.map +1 -1
- package/dist/tools/system/test-runner.d.ts +2 -52
- package/dist/tools/system/test-runner.d.ts.map +1 -1
- package/dist/tools/system/test-runner.js +1 -180
- package/dist/tools/system/test-runner.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,308 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import type { IterationBudget } from "./iteration-budget.js";
|
|
3
|
-
import type { Logger } from "../../runtime/logger.js";
|
|
4
|
-
import type { StrategyTemplateRegistry } from "../strategy/strategy-template-registry.js";
|
|
5
|
-
import type { TrustManager } from "../../platform/traits/trust-manager.js";
|
|
6
|
-
import type { KnowledgeTransfer } from "../../platform/knowledge/transfer/knowledge-transfer.js";
|
|
7
|
-
import type { TransferCandidate } from "../../base/types/cross-portfolio.js";
|
|
8
|
-
import type { CrossGoalPortfolio } from "../strategy/cross-goal-portfolio.js";
|
|
9
|
-
import type { GoalTreeManager } from "../goal/goal-tree-manager.js";
|
|
10
|
-
import type { StateAggregator } from "../goal/state-aggregator.js";
|
|
11
|
-
import type { TreeLoopOrchestrator } from "../goal/tree-loop-orchestrator.js";
|
|
12
|
-
import type { StateManager } from "../../base/state/state-manager.js";
|
|
13
|
-
import type { ObservationEngine } from "../../platform/observation/observation-engine.js";
|
|
14
|
-
import type { TaskLifecycle, TaskCycleResult } from "../execution/task/task-lifecycle.js";
|
|
15
|
-
import type { SatisficingJudge } from "../../platform/drive/satisficing-judge.js";
|
|
16
|
-
import type { StallDetector } from "../../platform/drive/stall-detector.js";
|
|
17
|
-
import type { StrategyManager } from "../strategy/strategy-manager.js";
|
|
18
|
-
import type { DriveSystem } from "../../platform/drive/drive-system.js";
|
|
19
|
-
import type { AdapterRegistry } from "../execution/adapter-layer.js";
|
|
20
|
-
import type { KnowledgeManager } from "../../platform/knowledge/knowledge-manager.js";
|
|
21
|
-
import type { CapabilityDetector } from "../../platform/observation/capability-detector.js";
|
|
22
|
-
import type { PortfolioManager } from "../strategy/portfolio-manager.js";
|
|
23
|
-
import type { GoalDependencyGraph } from "../goal/goal-dependency-graph.js";
|
|
24
|
-
import type { LearningPipeline } from "../../platform/knowledge/learning/learning-pipeline.js";
|
|
25
|
-
import { DriveScoreAdapter } from "../../platform/knowledge/memory/memory-lifecycle.js";
|
|
26
|
-
import type { MemoryLifecycleManager } from "../../platform/knowledge/memory/memory-lifecycle.js";
|
|
27
|
-
import type { ParallelExecutor } from "../execution/parallel-executor.js";
|
|
28
|
-
import type { GoalRefiner } from "../goal/goal-refiner.js";
|
|
29
|
-
import type { Goal } from "../../base/types/goal.js";
|
|
30
|
-
import type { GapVector } from "../../base/types/gap.js";
|
|
31
|
-
import type { DriveContext, DriveScore } from "../../base/types/drive.js";
|
|
32
|
-
import type { CompletionJudgment } from "../../base/types/satisficing.js";
|
|
33
|
-
import type { StallReport, StallAnalysis } from "../../base/types/stall.js";
|
|
34
|
-
import type { ToolExecutor } from "../../tools/executor.js";
|
|
35
|
-
import type { ToolRegistry } from "../../tools/registry.js";
|
|
36
|
-
import type { VerificationLayer1Result } from "./verification-layer1.js";
|
|
37
|
-
export interface GapCalculatorModule {
|
|
38
|
-
calculateGapVector: (goalId: string, dimensions: Goal["dimensions"], globalUncertaintyWeight?: number) => GapVector;
|
|
39
|
-
aggregateGaps: (childGaps: number[], method?: "max" | "weighted_avg" | "sum", weights?: number[]) => number;
|
|
40
|
-
}
|
|
41
|
-
export interface DriveScorerModule {
|
|
42
|
-
scoreAllDimensions: (gapVector: GapVector, context: DriveContext, config?: unknown) => DriveScore[];
|
|
43
|
-
rankDimensions: (scores: DriveScore[]) => DriveScore[];
|
|
44
|
-
}
|
|
45
|
-
export interface ExecutionSummaryParams {
|
|
46
|
-
goalId: string;
|
|
47
|
-
loopIndex: number;
|
|
48
|
-
observation: {
|
|
49
|
-
dimensionName: string;
|
|
50
|
-
progress: number;
|
|
51
|
-
confidence: number;
|
|
52
|
-
}[];
|
|
53
|
-
gapAggregate: number;
|
|
54
|
-
taskResult: {
|
|
55
|
-
taskId: string;
|
|
56
|
-
action: string;
|
|
57
|
-
dimension: string;
|
|
58
|
-
} | null;
|
|
59
|
-
stallDetected: boolean;
|
|
60
|
-
pivotOccurred: boolean;
|
|
61
|
-
elapsedMs: number;
|
|
62
|
-
}
|
|
63
|
-
export interface ReportingEngine {
|
|
64
|
-
generateExecutionSummary(params: ExecutionSummaryParams): unknown;
|
|
65
|
-
saveReport(report: unknown): void;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* LoopConfig with all required fields resolved (except iterationBudget which remains optional).
|
|
69
|
-
* Used as the internal config type throughout CoreLoop and its sub-modules.
|
|
70
|
-
*/
|
|
71
|
-
export type ResolvedLoopConfig = Required<Omit<LoopConfig, "iterationBudget">> & Pick<LoopConfig, "iterationBudget">;
|
|
72
|
-
export interface LoopConfig {
|
|
73
|
-
maxIterations?: number;
|
|
74
|
-
maxConsecutiveErrors?: number;
|
|
75
|
-
delayBetweenLoopsMs?: number;
|
|
76
|
-
adapterType?: string;
|
|
77
|
-
treeMode?: boolean;
|
|
78
|
-
multiGoalMode?: boolean;
|
|
79
|
-
goalIds?: string[];
|
|
80
|
-
/**
|
|
81
|
-
* Minimum number of iterations to run before the loop can exit on completion.
|
|
82
|
-
* Default: 1 (at least one full task cycle always runs before declaring complete).
|
|
83
|
-
* Setting to 2 forces two full iterations even if the goal is already satisfied after iteration 1.
|
|
84
|
-
*/
|
|
85
|
-
minIterations?: number;
|
|
86
|
-
/**
|
|
87
|
-
* Whether to automatically archive a completed goal at the end of run().
|
|
88
|
-
* Default: false — archiving is an irreversible action and should be triggered explicitly
|
|
89
|
-
* (e.g. via `pulseed goal archive <id>` CLI command or by setting this flag intentionally).
|
|
90
|
-
*/
|
|
91
|
-
autoArchive?: boolean;
|
|
92
|
-
/**
|
|
93
|
-
* When true, suppress loop-level persistence side effects: checkpoint writes,
|
|
94
|
-
* final goal status updates, and archive operations.
|
|
95
|
-
*/
|
|
96
|
-
dryRun?: boolean;
|
|
97
|
-
/**
|
|
98
|
-
* Maximum number of consecutive iterations that can be skipped due to no state change
|
|
99
|
-
* (Pillar 2: State Diff + Loop Skip). After this many consecutive skips, the full loop
|
|
100
|
-
* runs regardless so stall detection can fire. Default: 5.
|
|
101
|
-
*/
|
|
102
|
-
maxConsecutiveSkips?: number;
|
|
103
|
-
/**
|
|
104
|
-
* When true (default), automatically decompose an abstract goal into sub-goals
|
|
105
|
-
* using TreeLoopOrchestrator.ensureGoalRefined() before the first iteration.
|
|
106
|
-
* Set to false to disable auto-decomposition.
|
|
107
|
-
*/
|
|
108
|
-
autoDecompose?: boolean;
|
|
109
|
-
/**
|
|
110
|
-
* Shared iteration budget for parent-child agent trees.
|
|
111
|
-
* When set, all iterations (including child node iterations in tree mode) consume
|
|
112
|
-
* from this budget. Prevents runaway recursion across hierarchical agent invocations.
|
|
113
|
-
* If not set, maxIterations acts as the sole upper bound.
|
|
114
|
-
*/
|
|
115
|
-
iterationBudget?: IterationBudget;
|
|
116
|
-
/**
|
|
117
|
-
* When true (default), automatically consolidate agent memory when a goal completes
|
|
118
|
-
* and raw entry count exceeds consolidationRawThreshold.
|
|
119
|
-
*/
|
|
120
|
-
autoConsolidateOnComplete?: boolean;
|
|
121
|
-
/**
|
|
122
|
-
* Minimum number of raw agent memory entries required to trigger auto-consolidation.
|
|
123
|
-
* Default: 20.
|
|
124
|
-
*/
|
|
125
|
-
consolidationRawThreshold?: number;
|
|
126
|
-
}
|
|
127
|
-
export interface LoopIterationResult {
|
|
128
|
-
loopIndex: number;
|
|
129
|
-
goalId: string;
|
|
130
|
-
gapAggregate: number;
|
|
131
|
-
driveScores: DriveScore[];
|
|
132
|
-
taskResult: TaskCycleResult | null;
|
|
133
|
-
stallDetected: boolean;
|
|
134
|
-
stallReport: StallReport | null;
|
|
135
|
-
/** M14-S2: cause analysis result when a stall is detected */
|
|
136
|
-
stallAnalysis?: StallAnalysis;
|
|
137
|
-
pivotOccurred: boolean;
|
|
138
|
-
completionJudgment: CompletionJudgment;
|
|
139
|
-
elapsedMs: number;
|
|
140
|
-
error: string | null;
|
|
141
|
-
/** Alerts for milestones that are at_risk or behind (optional) */
|
|
142
|
-
milestoneAlerts?: Array<{
|
|
143
|
-
goalId: string;
|
|
144
|
-
status: string;
|
|
145
|
-
pace_ratio: number;
|
|
146
|
-
}>;
|
|
147
|
-
/** Transfer candidates detected from cross-goal knowledge (suggestion-only, Phase 1) */
|
|
148
|
-
transfer_candidates?: TransferCandidate[];
|
|
149
|
-
/** Total tokens consumed by LLM calls during this iteration (task generation + verification). */
|
|
150
|
-
tokensUsed?: number;
|
|
151
|
-
/**
|
|
152
|
-
* When true, this iteration was skipped because no meaningful state change was
|
|
153
|
-
* detected (Pillar 2: State Diff + Loop Skip). Only observation ran; gap
|
|
154
|
-
* calculation, task generation, execution, and verification were bypassed.
|
|
155
|
-
*/
|
|
156
|
-
skipped?: boolean;
|
|
157
|
-
/** Reason for the skip, when skipped=true. */
|
|
158
|
-
skipReason?: string;
|
|
159
|
-
/** Result from Phase 7 tool-based verification (Layer 1). Present when toolExecutor is set and task has success_criteria. */
|
|
160
|
-
toolVerification?: VerificationLayer1Result;
|
|
161
|
-
/** Tool-based workspace evidence gathered during stall detection (Phase 6). */
|
|
162
|
-
toolStallEvidence?: import("./stall-evidence.js").StallEvidence;
|
|
163
|
-
/** True when stall detection was suppressed by an active WaitStrategy plateau_until. */
|
|
164
|
-
waitSuppressed?: boolean;
|
|
165
|
-
/** True when a WaitStrategy reached its wait_until expiry this iteration. */
|
|
166
|
-
waitExpired?: boolean;
|
|
167
|
-
/** Strategy ID of the active WaitStrategy, if any. */
|
|
168
|
-
waitStrategyId?: string;
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
* Factory that returns a zeroed-out LoopIterationResult for the given goalId
|
|
172
|
-
* and loopIndex. Accepts optional overrides for fields that vary per call-site.
|
|
173
|
-
*/
|
|
174
|
-
export declare function makeEmptyIterationResult(goalId: string, loopIndex: number, overrides?: Partial<LoopIterationResult>): LoopIterationResult;
|
|
175
|
-
export interface LoopResult {
|
|
176
|
-
goalId: string;
|
|
177
|
-
totalIterations: number;
|
|
178
|
-
finalStatus: "completed" | "stalled" | "max_iterations" | "error" | "stopped";
|
|
179
|
-
iterations: LoopIterationResult[];
|
|
180
|
-
startedAt: string;
|
|
181
|
-
completedAt: string;
|
|
182
|
-
/** Human-readable explanation when finalStatus is "error" */
|
|
183
|
-
errorMessage?: string;
|
|
184
|
-
/** Total tokens consumed across all iterations */
|
|
185
|
-
tokensUsed?: number;
|
|
186
|
-
}
|
|
187
|
-
/** Deps needed for observation phase */
|
|
188
|
-
export interface ObservationDeps {
|
|
189
|
-
observationEngine: ObservationEngine;
|
|
190
|
-
stateManager: StateManager;
|
|
191
|
-
}
|
|
192
|
-
/** Deps needed for tree iteration */
|
|
193
|
-
export interface TreeDeps {
|
|
194
|
-
stateManager: StateManager;
|
|
195
|
-
treeLoopOrchestrator?: TreeLoopOrchestrator;
|
|
196
|
-
satisficingJudge: SatisficingJudge;
|
|
197
|
-
goalRefiner?: GoalRefiner;
|
|
198
|
-
goalTreeManager?: GoalTreeManager;
|
|
199
|
-
stateAggregator?: StateAggregator;
|
|
200
|
-
}
|
|
201
|
-
/** Deps needed for stall detection and recovery */
|
|
202
|
-
export interface StallDeps {
|
|
203
|
-
stallDetector: StallDetector;
|
|
204
|
-
strategyManager: StrategyManager;
|
|
205
|
-
knowledgeManager?: KnowledgeManager;
|
|
206
|
-
learningPipeline?: LearningPipeline;
|
|
207
|
-
goalRefiner?: GoalRefiner;
|
|
208
|
-
}
|
|
209
|
-
/** Deps needed for task execution cycle */
|
|
210
|
-
export interface TaskCycleDeps {
|
|
211
|
-
taskLifecycle: TaskLifecycle;
|
|
212
|
-
adapterRegistry: AdapterRegistry;
|
|
213
|
-
portfolioManager?: PortfolioManager;
|
|
214
|
-
knowledgeManager?: KnowledgeManager;
|
|
215
|
-
contextProvider?: (goalId: string, dimensionName: string) => Promise<string>;
|
|
216
|
-
}
|
|
217
|
-
export interface CoreLoopDeps extends ObservationDeps, TreeDeps, StallDeps, TaskCycleDeps {
|
|
218
|
-
gapCalculator: GapCalculatorModule;
|
|
219
|
-
driveScorer: DriveScorerModule;
|
|
220
|
-
reportingEngine: ReportingEngine;
|
|
221
|
-
driveSystem: DriveSystem;
|
|
222
|
-
capabilityDetector?: CapabilityDetector;
|
|
223
|
-
curiosityEngine?: CuriosityEngine;
|
|
224
|
-
goalDependencyGraph?: GoalDependencyGraph;
|
|
225
|
-
crossGoalPortfolio?: CrossGoalPortfolio;
|
|
226
|
-
knowledgeTransfer?: KnowledgeTransfer;
|
|
227
|
-
memoryLifecycleManager?: MemoryLifecycleManager;
|
|
228
|
-
/**
|
|
229
|
-
* Optional adapter that bridges DriveScorer output to MemoryLifecycleManager.
|
|
230
|
-
* When provided, CoreLoop calls adapter.update(driveScores) after each drive
|
|
231
|
-
* scoring step so MemoryLifecycleManager can use live dissatisfaction values
|
|
232
|
-
* for compression delay and relevance scoring.
|
|
233
|
-
*
|
|
234
|
-
* Typical setup (in CLIRunner):
|
|
235
|
-
* const adapter = new DriveScoreAdapter();
|
|
236
|
-
* const mlm = new MemoryLifecycleManager(baseDir, llm, config, emb, vec, adapter);
|
|
237
|
-
* const loop = new CoreLoop({ ..., memoryLifecycleManager: mlm, driveScoreAdapter: adapter });
|
|
238
|
-
*/
|
|
239
|
-
driveScoreAdapter?: DriveScoreAdapter;
|
|
240
|
-
/**
|
|
241
|
-
* Optional TrustManager for including per-adapter trust balance in reward logs.
|
|
242
|
-
* When provided, CoreLoop reads the balance for the configured adapterType and
|
|
243
|
-
* includes it in logRewardComputation calls (PULSEED_REWARD_LOG=1).
|
|
244
|
-
*/
|
|
245
|
-
trustManager?: TrustManager;
|
|
246
|
-
/**
|
|
247
|
-
* Optional ParallelExecutor for TaskGroup execution (M15 Phase 2).
|
|
248
|
-
* When provided, tasks evaluated as "large" complexity will be decomposed
|
|
249
|
-
* into a TaskGroup and executed in parallel waves.
|
|
250
|
-
* If not provided, all tasks fall through to the normal single-task flow.
|
|
251
|
-
*/
|
|
252
|
-
parallelExecutor?: ParallelExecutor;
|
|
253
|
-
/**
|
|
254
|
-
* Optional factory function to generate a TaskGroup for a large task.
|
|
255
|
-
* Provided as a callback so the caller owns the llmClient dependency.
|
|
256
|
-
* If not provided (or returns null), the normal single-task flow is used.
|
|
257
|
-
*/
|
|
258
|
-
generateTaskGroupFn?: (context: {
|
|
259
|
-
goalDescription: string;
|
|
260
|
-
targetDimension: string;
|
|
261
|
-
currentState: string;
|
|
262
|
-
gap: number;
|
|
263
|
-
availableAdapters: string[];
|
|
264
|
-
contextBlock?: string;
|
|
265
|
-
}) => Promise<import("../../base/types/index.js").TaskGroup | null>;
|
|
266
|
-
logger?: Logger;
|
|
267
|
-
/**
|
|
268
|
-
* Optional progress callback. Called at key phases during each iteration so
|
|
269
|
-
* callers (e.g. CLIRunner) can print user-friendly progress lines.
|
|
270
|
-
*/
|
|
271
|
-
onProgress?: (event: ProgressEvent) => void;
|
|
272
|
-
/**
|
|
273
|
-
* Optional StrategyTemplateRegistry. When provided, CoreLoop wires it into
|
|
274
|
-
* StrategyManager so that strategies completing with effectiveness_score >= 0.5
|
|
275
|
-
* are automatically registered as reusable templates.
|
|
276
|
-
*/
|
|
277
|
-
strategyTemplateRegistry?: StrategyTemplateRegistry;
|
|
278
|
-
/** Optional HookManager for lifecycle hook events. */
|
|
279
|
-
hookManager?: import("../../runtime/hook-manager.js").HookManager;
|
|
280
|
-
/** Optional ToolExecutor for direct tool-based operations (observation, verification, knowledge). */
|
|
281
|
-
toolExecutor?: ToolExecutor;
|
|
282
|
-
/** Optional ToolRegistry for context-aware tool assembly. */
|
|
283
|
-
toolRegistry?: ToolRegistry;
|
|
284
|
-
}
|
|
285
|
-
export type ProgressPhase = "Observing..." | "Generating task..." | "Executing task..." | "Verifying result..." | "Skipped" | "Skipped (no state change)";
|
|
286
|
-
export interface ProgressEvent {
|
|
287
|
-
/** 1-based iteration number */
|
|
288
|
-
iteration: number;
|
|
289
|
-
/** Maximum iterations configured */
|
|
290
|
-
maxIterations: number;
|
|
291
|
-
/** Current phase label */
|
|
292
|
-
phase: ProgressPhase;
|
|
293
|
-
/** Gap aggregate from latest gap calculation (undefined before first gap calc) */
|
|
294
|
-
gap?: number;
|
|
295
|
-
/** Average confidence across gap dimensions (undefined before first gap calc) */
|
|
296
|
-
confidence?: number;
|
|
297
|
-
/** Short description of the task being executed (undefined outside execute phase) */
|
|
298
|
-
taskDescription?: string;
|
|
299
|
-
/** Reason this iteration was skipped (undefined when not skipped) */
|
|
300
|
-
skipReason?: string;
|
|
301
|
-
}
|
|
302
|
-
/**
|
|
303
|
-
* Build DriveContext from goal state.
|
|
304
|
-
* For each dimension, compute hours since last update.
|
|
305
|
-
* Deadline comes from goal.deadline if set.
|
|
306
|
-
*/
|
|
307
|
-
export declare function buildDriveContext(goal: Goal): DriveContext;
|
|
1
|
+
export * from "./core-loop/contracts.js";
|
|
308
2
|
//# sourceMappingURL=core-loop-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core-loop-types.d.ts","sourceRoot":"","sources":["../../../src/orchestrator/loop/core-loop-types.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"core-loop-types.d.ts","sourceRoot":"","sources":["../../../src/orchestrator/loop/core-loop-types.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC"}
|
|
@@ -1,65 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
* Factory that returns a zeroed-out LoopIterationResult for the given goalId
|
|
3
|
-
* and loopIndex. Accepts optional overrides for fields that vary per call-site.
|
|
4
|
-
*/
|
|
5
|
-
export function makeEmptyIterationResult(goalId, loopIndex, overrides) {
|
|
6
|
-
return {
|
|
7
|
-
loopIndex,
|
|
8
|
-
goalId,
|
|
9
|
-
gapAggregate: 0,
|
|
10
|
-
driveScores: [],
|
|
11
|
-
taskResult: null,
|
|
12
|
-
stallDetected: false,
|
|
13
|
-
stallReport: null,
|
|
14
|
-
pivotOccurred: false,
|
|
15
|
-
completionJudgment: {
|
|
16
|
-
is_complete: false,
|
|
17
|
-
blocking_dimensions: [],
|
|
18
|
-
low_confidence_dimensions: [],
|
|
19
|
-
needs_verification_task: false,
|
|
20
|
-
checked_at: new Date().toISOString(),
|
|
21
|
-
},
|
|
22
|
-
elapsedMs: 0,
|
|
23
|
-
error: null,
|
|
24
|
-
...overrides,
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
// ─── Helpers ───
|
|
28
|
-
/**
|
|
29
|
-
* Build DriveContext from goal state.
|
|
30
|
-
* For each dimension, compute hours since last update.
|
|
31
|
-
* Deadline comes from goal.deadline if set.
|
|
32
|
-
*/
|
|
33
|
-
export function buildDriveContext(goal) {
|
|
34
|
-
const timeSinceLastAttempt = {};
|
|
35
|
-
const deadlines = {};
|
|
36
|
-
const opportunities = {};
|
|
37
|
-
const now = Date.now();
|
|
38
|
-
const deadlineTime = goal.deadline ? new Date(goal.deadline).getTime() : null;
|
|
39
|
-
for (const dim of goal.dimensions) {
|
|
40
|
-
// Calculate hours since last update
|
|
41
|
-
if (dim.last_updated) {
|
|
42
|
-
const lastUpdated = new Date(dim.last_updated).getTime();
|
|
43
|
-
timeSinceLastAttempt[dim.name] = (now - lastUpdated) / (1000 * 60 * 60);
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
// No previous attempt — use a large number to indicate high staleness
|
|
47
|
-
timeSinceLastAttempt[dim.name] = 168; // 1 week default
|
|
48
|
-
}
|
|
49
|
-
// Deadline: compute hours remaining from goal.deadline
|
|
50
|
-
if (deadlineTime !== null) {
|
|
51
|
-
const hoursRemaining = (deadlineTime - now) / (1000 * 60 * 60);
|
|
52
|
-
deadlines[dim.name] = hoursRemaining;
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
deadlines[dim.name] = null;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
return {
|
|
59
|
-
time_since_last_attempt: timeSinceLastAttempt,
|
|
60
|
-
deadlines,
|
|
61
|
-
opportunities,
|
|
62
|
-
pacing: {},
|
|
63
|
-
};
|
|
64
|
-
}
|
|
1
|
+
export * from "./core-loop/contracts.js";
|
|
65
2
|
//# sourceMappingURL=core-loop-types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core-loop-types.js","sourceRoot":"","sources":["../../../src/orchestrator/loop/core-loop-types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"core-loop-types.js","sourceRoot":"","sources":["../../../src/orchestrator/loop/core-loop-types.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import type { StateDiffCalculator } from "./state-diff.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { LoopIterationResult, LoopResult } from "./loop-result-types.js";
|
|
3
|
+
import type { LoopConfig, CoreLoopDeps } from "./core-loop/contracts.js";
|
|
3
4
|
import type { ITimeHorizonEngine } from "../../platform/time/time-horizon-engine.js";
|
|
4
|
-
export type { GapCalculatorModule, DriveScorerModule, ExecutionSummaryParams, ReportingEngine, LoopConfig, ResolvedLoopConfig,
|
|
5
|
-
export {
|
|
5
|
+
export type { GapCalculatorModule, DriveScorerModule, ExecutionSummaryParams, ReportingEngine, LoopConfig, ResolvedLoopConfig, CoreLoopDeps, ProgressEvent, ProgressPhase, } from "./core-loop/contracts.js";
|
|
6
|
+
export type { LoopIterationResult, LoopResult, } from "./loop-result-types.js";
|
|
7
|
+
export { buildDriveContext } from "./core-loop/contracts.js";
|
|
8
|
+
export { makeEmptyIterationResult } from "./loop-result-types.js";
|
|
6
9
|
/**
|
|
7
10
|
* CoreLoop is the heart of PulSeed — it orchestrates one full iteration of the
|
|
8
11
|
* task discovery loop: observe → gap → score → completion check → stall check → task → report.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core-loop.d.ts","sourceRoot":"","sources":["../../../src/orchestrator/loop/core-loop.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAO3D,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"core-loop.d.ts","sourceRoot":"","sources":["../../../src/orchestrator/loop/core-loop.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAO3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAC9E,OAAO,KAAK,EACV,UAAU,EAEV,YAAY,EACb,MAAM,0BAA0B,CAAC;AA0BlC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAMrF,YAAY,EACV,mBAAmB,EACnB,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,EACf,UAAU,EACV,kBAAkB,EAClB,YAAY,EACZ,aAAa,EACb,aAAa,GACd,MAAM,0BAA0B,CAAC;AAClC,YAAY,EACV,mBAAmB,EACnB,UAAU,GACX,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAqBlE;;;;;;GAMG;AACH,qBAAa,QAAQ;IACnB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAe;IACpC,2FAA2F;IAC3F,OAAO,CAAC,MAAM,CAAqB;IACnC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAS;IACjC,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA4C;IACrE,+DAA+D;IAC/D,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAsB;IACjD,OAAO,CAAC,cAAc,CAAqC;IAC3D,2EAA2E;IAC3E,OAAO,CAAC,eAAe,CAAqB;IAC5C,4EAA4E;IAC5E,OAAO,CAAC,iBAAiB,CAAC,CAAqB;IAC/C,4EAA4E;IAC5E,OAAO,CAAC,gBAAgB,CAAC,CAAe;gBAE5B,IAAI,EAAE,YAAY,EAAE,MAAM,CAAC,EAAE,UAAU,EAAE,SAAS,CAAC,EAAE,mBAAmB;IAcpF;;;OAGG;IACG,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QAAE,aAAa,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,UAAU,CAAC;IA6QpF;;OAEG;IACG,eAAe,CACnB,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,gBAAgB,CAAC,EAAE,OAAO,GACzB,OAAO,CAAC,mBAAmB,CAAC;IAsL/B;;;OAGG;IACG,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAK7H;;OAEG;IACG,qBAAqB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAK5E;;OAEG;IACH,IAAI,IAAI,IAAI;IAIZ;;;;OAIG;IACH,oBAAoB,CAAC,MAAM,EAAE,kBAAkB,GAAG,IAAI;IAItD;;OAEG;IACH,SAAS,IAAI,OAAO;CAIrB"}
|
|
@@ -3,14 +3,16 @@ import { IterationBudget } from "./iteration-budget.js";
|
|
|
3
3
|
import { saveLoopCheckpoint, restoreLoopCheckpoint } from "./checkpoint-manager-loop.js";
|
|
4
4
|
import { runPostLoopHooks } from "./post-loop-hooks.js";
|
|
5
5
|
import { generateLoopReport } from "./loop-report-helper.js";
|
|
6
|
-
import { makeEmptyIterationResult } from "./
|
|
6
|
+
import { makeEmptyIterationResult } from "./loop-result-types.js";
|
|
7
7
|
import { runTreeIteration as runTreeIterationImpl, runMultiGoalIteration as runMultiGoalIterationImpl, } from "./tree-loop-runner.js";
|
|
8
|
-
import { loadGoalWithAggregation, observeAndReload, calculateGapOrComplete, scoreDrivesAndCheckKnowledge, phaseAutoDecompose, } from "./core-loop
|
|
9
|
-
import { checkCompletionAndMilestones, detectStallsAndRebalance, checkDependencyBlock, runTaskCycleWithContext, } from "./core-loop-
|
|
10
|
-
import { runStateDiffCheck, tryParallelExecution, } from "./core-loop
|
|
11
|
-
import { handleCapabilityAcquisition } from "./core-loop
|
|
12
|
-
import { CoreLoopLearning } from "./core-loop
|
|
13
|
-
|
|
8
|
+
import { loadGoalWithAggregation, observeAndReload, calculateGapOrComplete, scoreDrivesAndCheckKnowledge, phaseAutoDecompose, } from "./core-loop/preparation.js";
|
|
9
|
+
import { checkCompletionAndMilestones, detectStallsAndRebalance, checkDependencyBlock, runTaskCycleWithContext, } from "./core-loop/task-cycle.js";
|
|
10
|
+
import { runStateDiffCheck, tryParallelExecution, } from "./core-loop/control.js";
|
|
11
|
+
import { handleCapabilityAcquisition } from "./core-loop/capability.js";
|
|
12
|
+
import { CoreLoopLearning } from "./core-loop/learning.js";
|
|
13
|
+
import { loadDreamActivationState } from "../../platform/dream/dream-activation.js";
|
|
14
|
+
export { buildDriveContext } from "./core-loop/contracts.js";
|
|
15
|
+
export { makeEmptyIterationResult } from "./loop-result-types.js";
|
|
14
16
|
const DEFAULT_CONFIG = {
|
|
15
17
|
maxIterations: 100,
|
|
16
18
|
maxConsecutiveErrors: 3,
|
|
@@ -68,6 +70,8 @@ export class CoreLoop {
|
|
|
68
70
|
*/
|
|
69
71
|
async run(goalId, options) {
|
|
70
72
|
const startedAt = new Date().toISOString();
|
|
73
|
+
const dreamCollector = this.deps.hookManager?.getDreamCollector();
|
|
74
|
+
const sessionId = dreamCollector?.buildSessionId(goalId, startedAt) ?? `${goalId}:${startedAt}`;
|
|
71
75
|
this.stopped = false;
|
|
72
76
|
// Reset state diff tracking for each run (snapshots are in-memory only)
|
|
73
77
|
this.stateDiffState.clear();
|
|
@@ -163,6 +167,22 @@ export class CoreLoop {
|
|
|
163
167
|
iterations.push(iterationResult);
|
|
164
168
|
// Accumulate token usage from iteration.
|
|
165
169
|
totalTokens += iterationResult.tokensUsed ?? 0;
|
|
170
|
+
if (!this.config.dryRun && dreamCollector) {
|
|
171
|
+
try {
|
|
172
|
+
await dreamCollector.appendIterationResult({
|
|
173
|
+
goalId,
|
|
174
|
+
sessionId,
|
|
175
|
+
iterationResult,
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
catch (err) {
|
|
179
|
+
this.logger?.warn("CoreLoop: failed to persist dream iteration log", {
|
|
180
|
+
goalId,
|
|
181
|
+
loopIndex,
|
|
182
|
+
error: err instanceof Error ? err.message : String(err),
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
}
|
|
166
186
|
// Save checkpoint after each successful verify step (§4.8)
|
|
167
187
|
if (!this.config.dryRun && iterationResult.error === null && iterationResult.taskResult !== null) {
|
|
168
188
|
await saveLoopCheckpoint(this.deps.stateManager, goalId, loopIndex, iterationResult, this.config.adapterType, this.deps.trustManager, this.logger);
|
|
@@ -247,8 +267,12 @@ export class CoreLoop {
|
|
|
247
267
|
}
|
|
248
268
|
}
|
|
249
269
|
// Run post-loop hooks (curiosity, memory lifecycle, archive, final report)
|
|
270
|
+
const completedAt = new Date().toISOString();
|
|
250
271
|
await runPostLoopHooks({
|
|
251
272
|
goalId,
|
|
273
|
+
sessionId,
|
|
274
|
+
completedAt,
|
|
275
|
+
totalTokensUsed: totalTokens,
|
|
252
276
|
finalStatus,
|
|
253
277
|
iterations,
|
|
254
278
|
deps: this.deps,
|
|
@@ -265,7 +289,7 @@ export class CoreLoop {
|
|
|
265
289
|
finalStatus,
|
|
266
290
|
iterations,
|
|
267
291
|
startedAt,
|
|
268
|
-
completedAt
|
|
292
|
+
completedAt,
|
|
269
293
|
tokensUsed: totalTokens,
|
|
270
294
|
};
|
|
271
295
|
}
|
|
@@ -327,6 +351,66 @@ export class CoreLoop {
|
|
|
327
351
|
await detectStallsAndRebalance(ctx, goalId, goal, result);
|
|
328
352
|
if (result.stallDetected && result.stallReport) {
|
|
329
353
|
this.logger?.warn(`[iter ${loopIndex}] stall detected: ${result.stallReport.stall_type}`, { escalation: result.stallReport.escalation_level });
|
|
354
|
+
void this.deps.hookManager?.emit("StallDetected", {
|
|
355
|
+
goal_id: goalId,
|
|
356
|
+
dimension: result.stallReport.dimension_name ?? undefined,
|
|
357
|
+
data: {
|
|
358
|
+
stall_type: result.stallReport.stall_type,
|
|
359
|
+
escalation_level: result.stallReport.escalation_level,
|
|
360
|
+
suggested_cause: result.stallReport.suggested_cause,
|
|
361
|
+
task_id: result.stallReport.task_id ?? undefined,
|
|
362
|
+
},
|
|
363
|
+
});
|
|
364
|
+
}
|
|
365
|
+
if (result.stallDetected &&
|
|
366
|
+
this.deps.knowledgeManager &&
|
|
367
|
+
this.deps.toolExecutor) {
|
|
368
|
+
try {
|
|
369
|
+
const activation = await loadDreamActivationState(this.deps.stateManager.getBaseDir());
|
|
370
|
+
if (activation.flags.autoAcquireKnowledge) {
|
|
371
|
+
const portfolio = await Promise.resolve(this.deps.strategyManager.getPortfolio(goalId)).catch(() => null);
|
|
372
|
+
const observationContext = {
|
|
373
|
+
observations: goal.dimensions.map((dimension) => ({
|
|
374
|
+
name: dimension.name,
|
|
375
|
+
current_value: dimension.current_value,
|
|
376
|
+
confidence: dimension.confidence,
|
|
377
|
+
})),
|
|
378
|
+
strategies: portfolio?.strategies ?? null,
|
|
379
|
+
confidence: gapVector.gaps.reduce((sum, gap) => sum + gap.confidence, 0) /
|
|
380
|
+
Math.max(gapVector.gaps.length, 1),
|
|
381
|
+
};
|
|
382
|
+
const gapSignal = await this.deps.knowledgeManager.detectKnowledgeGap(observationContext);
|
|
383
|
+
if (gapSignal) {
|
|
384
|
+
const acquired = await this.deps.knowledgeManager.acquireWithTools(gapSignal.missing_knowledge, goalId, this.deps.toolExecutor, {
|
|
385
|
+
cwd: process.cwd(),
|
|
386
|
+
goalId,
|
|
387
|
+
trustBalance: 0,
|
|
388
|
+
preApproved: true,
|
|
389
|
+
approvalFn: async () => false,
|
|
390
|
+
});
|
|
391
|
+
for (const entry of acquired) {
|
|
392
|
+
await this.deps.knowledgeManager.saveKnowledge(goalId, entry);
|
|
393
|
+
}
|
|
394
|
+
if (acquired.length > 0) {
|
|
395
|
+
this.logger?.info("CoreLoop: dream auto-acquired knowledge and skipped execution for context refresh", {
|
|
396
|
+
goalId,
|
|
397
|
+
acquiredCount: acquired.length,
|
|
398
|
+
});
|
|
399
|
+
await generateLoopReport(goalId, loopIndex, result, goal, this.deps.reportingEngine, this.logger);
|
|
400
|
+
result.skipped = true;
|
|
401
|
+
result.skipReason = "dream_auto_acquire_knowledge";
|
|
402
|
+
result.elapsedMs = Date.now() - startTime;
|
|
403
|
+
return result;
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
catch (err) {
|
|
409
|
+
this.logger?.warn("CoreLoop: autoAcquireKnowledge failed (non-fatal)", {
|
|
410
|
+
goalId,
|
|
411
|
+
error: err instanceof Error ? err.message : String(err),
|
|
412
|
+
});
|
|
413
|
+
}
|
|
330
414
|
}
|
|
331
415
|
if (skipTaskGeneration) {
|
|
332
416
|
await generateLoopReport(goalId, loopIndex, result, goal, this.deps.reportingEngine, this.logger);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core-loop.js","sourceRoot":"","sources":["../../../src/orchestrator/loop/core-loop.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAGlD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACzF,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAA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