@oni.bot/core 1.0.0 → 1.0.2
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/CHANGELOG.md +20 -0
- package/SECURITY.md +2 -2
- package/dist/agents/context.d.ts +0 -2
- package/dist/agents/context.d.ts.map +1 -1
- package/dist/agents/context.js +1 -3
- package/dist/agents/context.js.map +1 -1
- package/dist/agents/define-agent.d.ts.map +1 -1
- package/dist/agents/define-agent.js +92 -39
- package/dist/agents/define-agent.js.map +1 -1
- package/dist/agents/functional-agent.d.ts.map +1 -1
- package/dist/agents/functional-agent.js +0 -7
- package/dist/agents/functional-agent.js.map +1 -1
- package/dist/agents/types.d.ts +0 -2
- package/dist/agents/types.d.ts.map +1 -1
- package/dist/checkpointers/postgres.js +4 -4
- package/dist/checkpointers/postgres.js.map +1 -1
- package/dist/checkpointers/sqlite.js +4 -4
- package/dist/checkpointers/sqlite.js.map +1 -1
- package/dist/cli/router.js +1 -1
- package/dist/config/loader.d.ts.map +1 -1
- package/dist/config/loader.js +23 -1
- package/dist/config/loader.js.map +1 -1
- package/dist/context.d.ts +20 -0
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js.map +1 -1
- package/dist/coordination/request-reply.d.ts +1 -0
- package/dist/coordination/request-reply.d.ts.map +1 -1
- package/dist/coordination/request-reply.js +13 -1
- package/dist/coordination/request-reply.js.map +1 -1
- package/dist/graph.d.ts.map +1 -1
- package/dist/graph.js +17 -2
- package/dist/graph.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp/client.js +1 -1
- package/dist/pregel.d.ts +2 -0
- package/dist/pregel.d.ts.map +1 -1
- package/dist/pregel.js +415 -341
- package/dist/pregel.js.map +1 -1
- package/dist/store/index.d.ts +1 -1
- package/dist/store/index.d.ts.map +1 -1
- package/dist/store/index.js +28 -5
- package/dist/store/index.js.map +1 -1
- package/dist/streaming.d.ts +5 -2
- package/dist/streaming.d.ts.map +1 -1
- package/dist/streaming.js +9 -8
- package/dist/streaming.js.map +1 -1
- package/dist/swarm/graph.d.ts +1 -0
- package/dist/swarm/graph.d.ts.map +1 -1
- package/dist/swarm/graph.js +162 -40
- package/dist/swarm/graph.js.map +1 -1
- package/dist/swarm/pool.d.ts.map +1 -1
- package/dist/swarm/pool.js +12 -4
- package/dist/swarm/pool.js.map +1 -1
- package/dist/tools/define.d.ts.map +1 -1
- package/dist/tools/define.js +1 -0
- package/dist/tools/define.js.map +1 -1
- package/dist/tools/types.d.ts +2 -0
- package/dist/tools/types.d.ts.map +1 -1
- package/package.json +7 -1
- package/dist/oni-code/agent-registry.d.ts +0 -73
- package/dist/oni-code/agent-registry.d.ts.map +0 -1
- package/dist/oni-code/agent-registry.js +0 -151
- package/dist/oni-code/agent-registry.js.map +0 -1
- package/dist/oni-code/bin.d.ts +0 -18
- package/dist/oni-code/bin.d.ts.map +0 -1
- package/dist/oni-code/bin.js +0 -78
- package/dist/oni-code/bin.js.map +0 -1
- package/dist/oni-code/change-tracking.d.ts +0 -28
- package/dist/oni-code/change-tracking.d.ts.map +0 -1
- package/dist/oni-code/change-tracking.js +0 -77
- package/dist/oni-code/change-tracking.js.map +0 -1
- package/dist/oni-code/cli.d.ts +0 -6
- package/dist/oni-code/cli.d.ts.map +0 -1
- package/dist/oni-code/cli.js +0 -30
- package/dist/oni-code/cli.js.map +0 -1
- package/dist/oni-code/conductor.d.ts +0 -203
- package/dist/oni-code/conductor.d.ts.map +0 -1
- package/dist/oni-code/conductor.js +0 -1547
- package/dist/oni-code/conductor.js.map +0 -1
- package/dist/oni-code/config.d.ts +0 -130
- package/dist/oni-code/config.d.ts.map +0 -1
- package/dist/oni-code/config.js +0 -264
- package/dist/oni-code/config.js.map +0 -1
- package/dist/oni-code/context-files.d.ts +0 -22
- package/dist/oni-code/context-files.d.ts.map +0 -1
- package/dist/oni-code/context-files.js +0 -156
- package/dist/oni-code/context-files.js.map +0 -1
- package/dist/oni-code/cron/humanize.d.ts +0 -26
- package/dist/oni-code/cron/humanize.d.ts.map +0 -1
- package/dist/oni-code/cron/humanize.js +0 -83
- package/dist/oni-code/cron/humanize.js.map +0 -1
- package/dist/oni-code/cron/index.d.ts +0 -10
- package/dist/oni-code/cron/index.d.ts.map +0 -1
- package/dist/oni-code/cron/index.js +0 -7
- package/dist/oni-code/cron/index.js.map +0 -1
- package/dist/oni-code/cron/matcher.d.ts +0 -29
- package/dist/oni-code/cron/matcher.d.ts.map +0 -1
- package/dist/oni-code/cron/matcher.js +0 -73
- package/dist/oni-code/cron/matcher.js.map +0 -1
- package/dist/oni-code/cron/parser.d.ts +0 -27
- package/dist/oni-code/cron/parser.d.ts.map +0 -1
- package/dist/oni-code/cron/parser.js +0 -149
- package/dist/oni-code/cron/parser.js.map +0 -1
- package/dist/oni-code/cron/persistence.d.ts +0 -21
- package/dist/oni-code/cron/persistence.d.ts.map +0 -1
- package/dist/oni-code/cron/persistence.js +0 -58
- package/dist/oni-code/cron/persistence.js.map +0 -1
- package/dist/oni-code/cron/scheduler.d.ts +0 -64
- package/dist/oni-code/cron/scheduler.d.ts.map +0 -1
- package/dist/oni-code/cron/scheduler.js +0 -188
- package/dist/oni-code/cron/scheduler.js.map +0 -1
- package/dist/oni-code/cron/store.d.ts +0 -46
- package/dist/oni-code/cron/store.d.ts.map +0 -1
- package/dist/oni-code/cron/store.js +0 -68
- package/dist/oni-code/cron/store.js.map +0 -1
- package/dist/oni-code/env.d.ts +0 -17
- package/dist/oni-code/env.d.ts.map +0 -1
- package/dist/oni-code/env.js +0 -51
- package/dist/oni-code/env.js.map +0 -1
- package/dist/oni-code/file-reader.d.ts +0 -28
- package/dist/oni-code/file-reader.d.ts.map +0 -1
- package/dist/oni-code/file-reader.js +0 -368
- package/dist/oni-code/file-reader.js.map +0 -1
- package/dist/oni-code/file-watcher.d.ts +0 -66
- package/dist/oni-code/file-watcher.d.ts.map +0 -1
- package/dist/oni-code/file-watcher.js +0 -167
- package/dist/oni-code/file-watcher.js.map +0 -1
- package/dist/oni-code/loop-detector.d.ts +0 -64
- package/dist/oni-code/loop-detector.d.ts.map +0 -1
- package/dist/oni-code/loop-detector.js +0 -163
- package/dist/oni-code/loop-detector.js.map +0 -1
- package/dist/oni-code/permissions.d.ts +0 -43
- package/dist/oni-code/permissions.d.ts.map +0 -1
- package/dist/oni-code/permissions.js +0 -98
- package/dist/oni-code/permissions.js.map +0 -1
- package/dist/oni-code/planner.d.ts +0 -26
- package/dist/oni-code/planner.d.ts.map +0 -1
- package/dist/oni-code/planner.js +0 -86
- package/dist/oni-code/planner.js.map +0 -1
- package/dist/oni-code/plugin-loader.d.ts +0 -103
- package/dist/oni-code/plugin-loader.d.ts.map +0 -1
- package/dist/oni-code/plugin-loader.js +0 -171
- package/dist/oni-code/plugin-loader.js.map +0 -1
- package/dist/oni-code/process-tree.d.ts +0 -44
- package/dist/oni-code/process-tree.d.ts.map +0 -1
- package/dist/oni-code/process-tree.js +0 -107
- package/dist/oni-code/process-tree.js.map +0 -1
- package/dist/oni-code/progress-tracker.d.ts +0 -40
- package/dist/oni-code/progress-tracker.d.ts.map +0 -1
- package/dist/oni-code/progress-tracker.js +0 -375
- package/dist/oni-code/progress-tracker.js.map +0 -1
- package/dist/oni-code/scheduler.d.ts +0 -56
- package/dist/oni-code/scheduler.d.ts.map +0 -1
- package/dist/oni-code/scheduler.js +0 -105
- package/dist/oni-code/scheduler.js.map +0 -1
- package/dist/oni-code/session-fork.d.ts +0 -146
- package/dist/oni-code/session-fork.d.ts.map +0 -1
- package/dist/oni-code/session-fork.js +0 -238
- package/dist/oni-code/session-fork.js.map +0 -1
- package/dist/oni-code/session-stats.d.ts +0 -72
- package/dist/oni-code/session-stats.d.ts.map +0 -1
- package/dist/oni-code/session-stats.js +0 -141
- package/dist/oni-code/session-stats.js.map +0 -1
- package/dist/oni-code/session-title.d.ts +0 -25
- package/dist/oni-code/session-title.d.ts.map +0 -1
- package/dist/oni-code/session-title.js +0 -67
- package/dist/oni-code/session-title.js.map +0 -1
- package/dist/oni-code/shell-parser.d.ts +0 -112
- package/dist/oni-code/shell-parser.d.ts.map +0 -1
- package/dist/oni-code/shell-parser.js +0 -657
- package/dist/oni-code/shell-parser.js.map +0 -1
- package/dist/oni-code/summarizer.d.ts +0 -27
- package/dist/oni-code/summarizer.d.ts.map +0 -1
- package/dist/oni-code/summarizer.js +0 -70
- package/dist/oni-code/summarizer.js.map +0 -1
- package/dist/oni-code/swarm-checkpoint.d.ts +0 -52
- package/dist/oni-code/swarm-checkpoint.d.ts.map +0 -1
- package/dist/oni-code/swarm-checkpoint.js +0 -71
- package/dist/oni-code/swarm-checkpoint.js.map +0 -1
- package/dist/oni-code/swarm-runner.d.ts +0 -173
- package/dist/oni-code/swarm-runner.d.ts.map +0 -1
- package/dist/oni-code/swarm-runner.js +0 -873
- package/dist/oni-code/swarm-runner.js.map +0 -1
- package/dist/oni-code/system-prompt.d.ts +0 -13
- package/dist/oni-code/system-prompt.d.ts.map +0 -1
- package/dist/oni-code/system-prompt.js +0 -64
- package/dist/oni-code/system-prompt.js.map +0 -1
- package/dist/oni-code/task-evaluator.d.ts +0 -73
- package/dist/oni-code/task-evaluator.d.ts.map +0 -1
- package/dist/oni-code/task-evaluator.js +0 -172
- package/dist/oni-code/task-evaluator.js.map +0 -1
- package/dist/oni-code/tools/batch.d.ts +0 -12
- package/dist/oni-code/tools/batch.d.ts.map +0 -1
- package/dist/oni-code/tools/batch.js +0 -116
- package/dist/oni-code/tools/batch.js.map +0 -1
- package/dist/oni-code/tools/coding.d.ts +0 -10
- package/dist/oni-code/tools/coding.d.ts.map +0 -1
- package/dist/oni-code/tools/coding.js +0 -557
- package/dist/oni-code/tools/coding.js.map +0 -1
- package/dist/oni-code/tools/cron.d.ts +0 -4
- package/dist/oni-code/tools/cron.d.ts.map +0 -1
- package/dist/oni-code/tools/cron.js +0 -120
- package/dist/oni-code/tools/cron.js.map +0 -1
- package/dist/oni-code/tools/custom.d.ts +0 -43
- package/dist/oni-code/tools/custom.d.ts.map +0 -1
- package/dist/oni-code/tools/custom.js +0 -115
- package/dist/oni-code/tools/custom.js.map +0 -1
- package/dist/oni-code/tools/patch.d.ts +0 -58
- package/dist/oni-code/tools/patch.d.ts.map +0 -1
- package/dist/oni-code/tools/patch.js +0 -247
- package/dist/oni-code/tools/patch.js.map +0 -1
- package/dist/oni-code/tools/plan.d.ts +0 -17
- package/dist/oni-code/tools/plan.d.ts.map +0 -1
- package/dist/oni-code/tools/plan.js +0 -48
- package/dist/oni-code/tools/plan.js.map +0 -1
- package/dist/oni-code/tools/question.d.ts +0 -17
- package/dist/oni-code/tools/question.d.ts.map +0 -1
- package/dist/oni-code/tools/question.js +0 -46
- package/dist/oni-code/tools/question.js.map +0 -1
- package/dist/oni-code/tools/skill.d.ts +0 -36
- package/dist/oni-code/tools/skill.d.ts.map +0 -1
- package/dist/oni-code/tools/skill.js +0 -132
- package/dist/oni-code/tools/skill.js.map +0 -1
- package/dist/oni-code/tools/spawn-agents.d.ts +0 -37
- package/dist/oni-code/tools/spawn-agents.d.ts.map +0 -1
- package/dist/oni-code/tools/spawn-agents.js +0 -91
- package/dist/oni-code/tools/spawn-agents.js.map +0 -1
- package/dist/oni-code/tools/spawn-swarm.d.ts +0 -70
- package/dist/oni-code/tools/spawn-swarm.d.ts.map +0 -1
- package/dist/oni-code/tools/spawn-swarm.js +0 -129
- package/dist/oni-code/tools/spawn-swarm.js.map +0 -1
- package/dist/oni-code/tools/web.d.ts +0 -11
- package/dist/oni-code/tools/web.d.ts.map +0 -1
- package/dist/oni-code/tools/web.js +0 -375
- package/dist/oni-code/tools/web.js.map +0 -1
- package/dist/oni-code/topology-agent-builder.d.ts +0 -22
- package/dist/oni-code/topology-agent-builder.d.ts.map +0 -1
- package/dist/oni-code/topology-agent-builder.js +0 -220
- package/dist/oni-code/topology-agent-builder.js.map +0 -1
- package/dist/oni-code/topology-selector.d.ts +0 -85
- package/dist/oni-code/topology-selector.d.ts.map +0 -1
- package/dist/oni-code/topology-selector.js +0 -338
- package/dist/oni-code/topology-selector.js.map +0 -1
- package/dist/oni-code/ui/App.d.ts +0 -10
- package/dist/oni-code/ui/App.d.ts.map +0 -1
- package/dist/oni-code/ui/App.js +0 -395
- package/dist/oni-code/ui/App.js.map +0 -1
- package/dist/oni-code/ui/FooterPanel.d.ts +0 -16
- package/dist/oni-code/ui/FooterPanel.d.ts.map +0 -1
- package/dist/oni-code/ui/FooterPanel.js +0 -56
- package/dist/oni-code/ui/FooterPanel.js.map +0 -1
- package/dist/oni-code/ui/Header.d.ts +0 -21
- package/dist/oni-code/ui/Header.d.ts.map +0 -1
- package/dist/oni-code/ui/Header.js +0 -105
- package/dist/oni-code/ui/Header.js.map +0 -1
- package/dist/oni-code/ui/InputArea.d.ts +0 -11
- package/dist/oni-code/ui/InputArea.d.ts.map +0 -1
- package/dist/oni-code/ui/InputArea.js +0 -82
- package/dist/oni-code/ui/InputArea.js.map +0 -1
- package/dist/oni-code/ui/MessageBlock.d.ts +0 -11
- package/dist/oni-code/ui/MessageBlock.d.ts.map +0 -1
- package/dist/oni-code/ui/MessageBlock.js +0 -103
- package/dist/oni-code/ui/MessageBlock.js.map +0 -1
- package/dist/oni-code/ui/OutputPane.d.ts +0 -12
- package/dist/oni-code/ui/OutputPane.d.ts.map +0 -1
- package/dist/oni-code/ui/OutputPane.js +0 -8
- package/dist/oni-code/ui/OutputPane.js.map +0 -1
- package/dist/oni-code/ui/PermissionPrompt.d.ts +0 -11
- package/dist/oni-code/ui/PermissionPrompt.d.ts.map +0 -1
- package/dist/oni-code/ui/PermissionPrompt.js +0 -48
- package/dist/oni-code/ui/PermissionPrompt.js.map +0 -1
- package/dist/oni-code/ui/QuestionPrompt.d.ts +0 -8
- package/dist/oni-code/ui/QuestionPrompt.d.ts.map +0 -1
- package/dist/oni-code/ui/QuestionPrompt.js +0 -9
- package/dist/oni-code/ui/QuestionPrompt.js.map +0 -1
- package/dist/oni-code/ui/StatusLine.d.ts +0 -14
- package/dist/oni-code/ui/StatusLine.d.ts.map +0 -1
- package/dist/oni-code/ui/StatusLine.js +0 -23
- package/dist/oni-code/ui/StatusLine.js.map +0 -1
- package/dist/oni-code/ui/SwarmPanel.d.ts +0 -9
- package/dist/oni-code/ui/SwarmPanel.d.ts.map +0 -1
- package/dist/oni-code/ui/SwarmPanel.js +0 -52
- package/dist/oni-code/ui/SwarmPanel.js.map +0 -1
- package/dist/oni-code/ui/ToolCallBlock.d.ts +0 -10
- package/dist/oni-code/ui/ToolCallBlock.d.ts.map +0 -1
- package/dist/oni-code/ui/ToolCallBlock.js +0 -21
- package/dist/oni-code/ui/ToolCallBlock.js.map +0 -1
- package/dist/oni-code/ui/Toolbar.d.ts +0 -8
- package/dist/oni-code/ui/Toolbar.d.ts.map +0 -1
- package/dist/oni-code/ui/Toolbar.js +0 -11
- package/dist/oni-code/ui/Toolbar.js.map +0 -1
- package/dist/oni-code/ui/WelcomeBanner.d.ts +0 -12
- package/dist/oni-code/ui/WelcomeBanner.d.ts.map +0 -1
- package/dist/oni-code/ui/WelcomeBanner.js +0 -24
- package/dist/oni-code/ui/WelcomeBanner.js.map +0 -1
- package/dist/oni-code/ui/activity.d.ts +0 -15
- package/dist/oni-code/ui/activity.d.ts.map +0 -1
- package/dist/oni-code/ui/activity.js +0 -252
- package/dist/oni-code/ui/activity.js.map +0 -1
- package/dist/oni-code/ui/banner.d.ts +0 -16
- package/dist/oni-code/ui/banner.d.ts.map +0 -1
- package/dist/oni-code/ui/banner.js +0 -132
- package/dist/oni-code/ui/banner.js.map +0 -1
- package/dist/oni-code/ui/command-menu.d.ts +0 -7
- package/dist/oni-code/ui/command-menu.d.ts.map +0 -1
- package/dist/oni-code/ui/command-menu.js +0 -20
- package/dist/oni-code/ui/command-menu.js.map +0 -1
- package/dist/oni-code/ui/diff.d.ts +0 -17
- package/dist/oni-code/ui/diff.d.ts.map +0 -1
- package/dist/oni-code/ui/diff.js +0 -37
- package/dist/oni-code/ui/diff.js.map +0 -1
- package/dist/oni-code/ui/format.d.ts +0 -41
- package/dist/oni-code/ui/format.d.ts.map +0 -1
- package/dist/oni-code/ui/format.js +0 -223
- package/dist/oni-code/ui/format.js.map +0 -1
- package/dist/oni-code/ui/input.d.ts +0 -28
- package/dist/oni-code/ui/input.d.ts.map +0 -1
- package/dist/oni-code/ui/input.js +0 -216
- package/dist/oni-code/ui/input.js.map +0 -1
- package/dist/oni-code/ui/insights.d.ts +0 -39
- package/dist/oni-code/ui/insights.d.ts.map +0 -1
- package/dist/oni-code/ui/insights.js +0 -193
- package/dist/oni-code/ui/insights.js.map +0 -1
- package/dist/oni-code/ui/markdown.d.ts +0 -9
- package/dist/oni-code/ui/markdown.d.ts.map +0 -1
- package/dist/oni-code/ui/markdown.js +0 -44
- package/dist/oni-code/ui/markdown.js.map +0 -1
- package/dist/oni-code/ui/panels.d.ts +0 -39
- package/dist/oni-code/ui/panels.d.ts.map +0 -1
- package/dist/oni-code/ui/panels.js +0 -209
- package/dist/oni-code/ui/panels.js.map +0 -1
- package/dist/oni-code/ui/paste.d.ts +0 -17
- package/dist/oni-code/ui/paste.d.ts.map +0 -1
- package/dist/oni-code/ui/paste.js +0 -45
- package/dist/oni-code/ui/paste.js.map +0 -1
- package/dist/oni-code/ui/raw-spinner.d.ts +0 -37
- package/dist/oni-code/ui/raw-spinner.d.ts.map +0 -1
- package/dist/oni-code/ui/raw-spinner.js +0 -121
- package/dist/oni-code/ui/raw-spinner.js.map +0 -1
- package/dist/oni-code/ui/session.d.ts +0 -44
- package/dist/oni-code/ui/session.d.ts.map +0 -1
- package/dist/oni-code/ui/session.js +0 -93
- package/dist/oni-code/ui/session.js.map +0 -1
- package/dist/oni-code/ui/spinner.d.ts +0 -7
- package/dist/oni-code/ui/spinner.d.ts.map +0 -1
- package/dist/oni-code/ui/spinner.js +0 -20
- package/dist/oni-code/ui/spinner.js.map +0 -1
- package/dist/oni-code/ui/swarm-activity.d.ts +0 -50
- package/dist/oni-code/ui/swarm-activity.d.ts.map +0 -1
- package/dist/oni-code/ui/swarm-activity.js +0 -233
- package/dist/oni-code/ui/swarm-activity.js.map +0 -1
- package/dist/oni-code/ui/terminal-size.d.ts +0 -18
- package/dist/oni-code/ui/terminal-size.d.ts.map +0 -1
- package/dist/oni-code/ui/terminal-size.js +0 -45
- package/dist/oni-code/ui/terminal-size.js.map +0 -1
- package/dist/oni-code/ui/theme.d.ts +0 -82
- package/dist/oni-code/ui/theme.d.ts.map +0 -1
- package/dist/oni-code/ui/theme.js +0 -101
- package/dist/oni-code/ui/theme.js.map +0 -1
- package/dist/oni-code/ui/tool-utils.d.ts +0 -10
- package/dist/oni-code/ui/tool-utils.d.ts.map +0 -1
- package/dist/oni-code/ui/tool-utils.js +0 -82
- package/dist/oni-code/ui/tool-utils.js.map +0 -1
- package/dist/oni-code/ui/useTerminalSize.d.ts +0 -3
- package/dist/oni-code/ui/useTerminalSize.d.ts.map +0 -1
- package/dist/oni-code/ui/useTerminalSize.js +0 -16
- package/dist/oni-code/ui/useTerminalSize.js.map +0 -1
- package/dist/oni-code/workspace/change-tracker.d.ts +0 -18
- package/dist/oni-code/workspace/change-tracker.d.ts.map +0 -1
- package/dist/oni-code/workspace/change-tracker.js +0 -67
- package/dist/oni-code/workspace/change-tracker.js.map +0 -1
- package/dist/oni-code/workspace/conflict-detector.d.ts +0 -12
- package/dist/oni-code/workspace/conflict-detector.d.ts.map +0 -1
- package/dist/oni-code/workspace/conflict-detector.js +0 -24
- package/dist/oni-code/workspace/conflict-detector.js.map +0 -1
- package/dist/oni-code/workspace/file-snapshots.d.ts +0 -39
- package/dist/oni-code/workspace/file-snapshots.d.ts.map +0 -1
- package/dist/oni-code/workspace/file-snapshots.js +0 -77
- package/dist/oni-code/workspace/file-snapshots.js.map +0 -1
- package/dist/oni-code/workspace/index.d.ts +0 -5
- package/dist/oni-code/workspace/index.d.ts.map +0 -1
- package/dist/oni-code/workspace/index.js +0 -5
- package/dist/oni-code/workspace/index.js.map +0 -1
- package/dist/oni-code/workspace/project-map.d.ts +0 -14
- package/dist/oni-code/workspace/project-map.d.ts.map +0 -1
- package/dist/oni-code/workspace/project-map.js +0 -91
- package/dist/oni-code/workspace/project-map.js.map +0 -1
- package/dist/sentinel/config/index.d.ts +0 -2
- package/dist/sentinel/config/index.d.ts.map +0 -1
- package/dist/sentinel/config/index.js +0 -2
- package/dist/sentinel/config/index.js.map +0 -1
- package/dist/sentinel/config/schema.d.ts +0 -4
- package/dist/sentinel/config/schema.d.ts.map +0 -1
- package/dist/sentinel/config/schema.js +0 -42
- package/dist/sentinel/config/schema.js.map +0 -1
- package/dist/sentinel/debate/index.d.ts +0 -6
- package/dist/sentinel/debate/index.d.ts.map +0 -1
- package/dist/sentinel/debate/index.js +0 -64
- package/dist/sentinel/debate/index.js.map +0 -1
- package/dist/sentinel/debate/prompts.d.ts +0 -4
- package/dist/sentinel/debate/prompts.d.ts.map +0 -1
- package/dist/sentinel/debate/prompts.js +0 -13
- package/dist/sentinel/debate/prompts.js.map +0 -1
- package/dist/sentinel/fix/index.d.ts +0 -6
- package/dist/sentinel/fix/index.d.ts.map +0 -1
- package/dist/sentinel/fix/index.js +0 -27
- package/dist/sentinel/fix/index.js.map +0 -1
- package/dist/sentinel/fix/strategies.d.ts +0 -9
- package/dist/sentinel/fix/strategies.d.ts.map +0 -1
- package/dist/sentinel/fix/strategies.js +0 -40
- package/dist/sentinel/fix/strategies.js.map +0 -1
- package/dist/sentinel/index.d.ts +0 -14
- package/dist/sentinel/index.d.ts.map +0 -1
- package/dist/sentinel/index.js +0 -22
- package/dist/sentinel/index.js.map +0 -1
- package/dist/sentinel/integrations/cli.d.ts +0 -10
- package/dist/sentinel/integrations/cli.d.ts.map +0 -1
- package/dist/sentinel/integrations/cli.js +0 -24
- package/dist/sentinel/integrations/cli.js.map +0 -1
- package/dist/sentinel/integrations/index.d.ts +0 -2
- package/dist/sentinel/integrations/index.d.ts.map +0 -1
- package/dist/sentinel/integrations/index.js +0 -2
- package/dist/sentinel/integrations/index.js.map +0 -1
- package/dist/sentinel/memory/index.d.ts +0 -16
- package/dist/sentinel/memory/index.d.ts.map +0 -1
- package/dist/sentinel/memory/index.js +0 -60
- package/dist/sentinel/memory/index.js.map +0 -1
- package/dist/sentinel/report/console.d.ts +0 -3
- package/dist/sentinel/report/console.d.ts.map +0 -1
- package/dist/sentinel/report/console.js +0 -27
- package/dist/sentinel/report/console.js.map +0 -1
- package/dist/sentinel/report/github.d.ts +0 -3
- package/dist/sentinel/report/github.d.ts.map +0 -1
- package/dist/sentinel/report/github.js +0 -36
- package/dist/sentinel/report/github.js.map +0 -1
- package/dist/sentinel/report/index.d.ts +0 -6
- package/dist/sentinel/report/index.d.ts.map +0 -1
- package/dist/sentinel/report/index.js +0 -15
- package/dist/sentinel/report/index.js.map +0 -1
- package/dist/sentinel/report/sarif.d.ts +0 -3
- package/dist/sentinel/report/sarif.d.ts.map +0 -1
- package/dist/sentinel/report/sarif.js +0 -29
- package/dist/sentinel/report/sarif.js.map +0 -1
- package/dist/sentinel/sentinel.d.ts +0 -17
- package/dist/sentinel/sentinel.d.ts.map +0 -1
- package/dist/sentinel/sentinel.js +0 -111
- package/dist/sentinel/sentinel.js.map +0 -1
- package/dist/sentinel/swarm/agents.d.ts +0 -6
- package/dist/sentinel/swarm/agents.d.ts.map +0 -1
- package/dist/sentinel/swarm/agents.js +0 -36
- package/dist/sentinel/swarm/agents.js.map +0 -1
- package/dist/sentinel/swarm/index.d.ts +0 -8
- package/dist/sentinel/swarm/index.d.ts.map +0 -1
- package/dist/sentinel/swarm/index.js +0 -74
- package/dist/sentinel/swarm/index.js.map +0 -1
- package/dist/sentinel/swarm/prompts.d.ts +0 -2
- package/dist/sentinel/swarm/prompts.d.ts.map +0 -1
- package/dist/sentinel/swarm/prompts.js +0 -24
- package/dist/sentinel/swarm/prompts.js.map +0 -1
- package/dist/sentinel/swarm/topology.d.ts +0 -10
- package/dist/sentinel/swarm/topology.d.ts.map +0 -1
- package/dist/sentinel/swarm/topology.js +0 -38
- package/dist/sentinel/swarm/topology.js.map +0 -1
- package/dist/sentinel/triage/analyzers/complexity-analyzer.d.ts +0 -7
- package/dist/sentinel/triage/analyzers/complexity-analyzer.d.ts.map +0 -1
- package/dist/sentinel/triage/analyzers/complexity-analyzer.js +0 -94
- package/dist/sentinel/triage/analyzers/complexity-analyzer.js.map +0 -1
- package/dist/sentinel/triage/analyzers/custom-analyzer.d.ts +0 -19
- package/dist/sentinel/triage/analyzers/custom-analyzer.d.ts.map +0 -1
- package/dist/sentinel/triage/analyzers/custom-analyzer.js +0 -268
- package/dist/sentinel/triage/analyzers/custom-analyzer.js.map +0 -1
- package/dist/sentinel/triage/analyzers/dependency-analyzer.d.ts +0 -26
- package/dist/sentinel/triage/analyzers/dependency-analyzer.d.ts.map +0 -1
- package/dist/sentinel/triage/analyzers/dependency-analyzer.js +0 -220
- package/dist/sentinel/triage/analyzers/dependency-analyzer.js.map +0 -1
- package/dist/sentinel/triage/analyzers/diff-analyzer.d.ts +0 -12
- package/dist/sentinel/triage/analyzers/diff-analyzer.d.ts.map +0 -1
- package/dist/sentinel/triage/analyzers/diff-analyzer.js +0 -19
- package/dist/sentinel/triage/analyzers/diff-analyzer.js.map +0 -1
- package/dist/sentinel/triage/analyzers/index.d.ts +0 -14
- package/dist/sentinel/triage/analyzers/index.d.ts.map +0 -1
- package/dist/sentinel/triage/analyzers/index.js +0 -25
- package/dist/sentinel/triage/analyzers/index.js.map +0 -1
- package/dist/sentinel/triage/analyzers/pattern-analyzer.d.ts +0 -7
- package/dist/sentinel/triage/analyzers/pattern-analyzer.d.ts.map +0 -1
- package/dist/sentinel/triage/analyzers/pattern-analyzer.js +0 -180
- package/dist/sentinel/triage/analyzers/pattern-analyzer.js.map +0 -1
- package/dist/sentinel/triage/analyzers/security-analyzer.d.ts +0 -7
- package/dist/sentinel/triage/analyzers/security-analyzer.d.ts.map +0 -1
- package/dist/sentinel/triage/analyzers/security-analyzer.js +0 -96
- package/dist/sentinel/triage/analyzers/security-analyzer.js.map +0 -1
- package/dist/sentinel/triage/analyzers/ts-parser.d.ts +0 -71
- package/dist/sentinel/triage/analyzers/ts-parser.d.ts.map +0 -1
- package/dist/sentinel/triage/analyzers/ts-parser.js +0 -323
- package/dist/sentinel/triage/analyzers/ts-parser.js.map +0 -1
- package/dist/sentinel/triage/analyzers/typescript-analyzer.d.ts +0 -7
- package/dist/sentinel/triage/analyzers/typescript-analyzer.d.ts.map +0 -1
- package/dist/sentinel/triage/analyzers/typescript-analyzer.js +0 -68
- package/dist/sentinel/triage/analyzers/typescript-analyzer.js.map +0 -1
- package/dist/sentinel/triage/index.d.ts +0 -10
- package/dist/sentinel/triage/index.d.ts.map +0 -1
- package/dist/sentinel/triage/index.js +0 -39
- package/dist/sentinel/triage/index.js.map +0 -1
- package/dist/sentinel/triage/scorer.d.ts +0 -9
- package/dist/sentinel/triage/scorer.d.ts.map +0 -1
- package/dist/sentinel/triage/scorer.js +0 -28
- package/dist/sentinel/triage/scorer.js.map +0 -1
- package/dist/sentinel/types.d.ts +0 -125
- package/dist/sentinel/types.d.ts.map +0 -1
- package/dist/sentinel/types.js +0 -6
- package/dist/sentinel/types.js.map +0 -1
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Output Summarizer — compresses agent and swarm results into concise
|
|
3
|
-
* summaries for the conductor agent's context window.
|
|
4
|
-
*
|
|
5
|
-
* Context isolation: only summaries flow back, never full transcripts.
|
|
6
|
-
*/
|
|
7
|
-
export interface AgentResultInput {
|
|
8
|
-
task: string;
|
|
9
|
-
result: string;
|
|
10
|
-
filesModified: string[];
|
|
11
|
-
errors: string[];
|
|
12
|
-
duration: number;
|
|
13
|
-
}
|
|
14
|
-
export interface SwarmResultInput {
|
|
15
|
-
topology: string;
|
|
16
|
-
task: string;
|
|
17
|
-
outcome: string;
|
|
18
|
-
agentSummaries: Array<{
|
|
19
|
-
id: string;
|
|
20
|
-
summary: string;
|
|
21
|
-
}>;
|
|
22
|
-
filesModified: string[];
|
|
23
|
-
duration: number;
|
|
24
|
-
}
|
|
25
|
-
export declare function summarizeAgentResult(input: AgentResultInput): string;
|
|
26
|
-
export declare function summarizeSwarmResult(input: SwarmResultInput): string;
|
|
27
|
-
//# sourceMappingURL=summarizer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"summarizer.d.ts","sourceRoot":"","sources":["../../src/oni-code/summarizer.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACvD,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAqBD,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,gBAAgB,GAAG,MAAM,CA+BpE;AAID,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,gBAAgB,GAAG,MAAM,CA8BpE"}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Output Summarizer — compresses agent and swarm results into concise
|
|
3
|
-
* summaries for the conductor agent's context window.
|
|
4
|
-
*
|
|
5
|
-
* Context isolation: only summaries flow back, never full transcripts.
|
|
6
|
-
*/
|
|
7
|
-
// ── Constants ─────────────────────────────────────────────────
|
|
8
|
-
const AGENT_MAX_CHARS = 500;
|
|
9
|
-
const SWARM_MAX_CHARS = 1000;
|
|
10
|
-
const RESULT_TRUNCATE = 300;
|
|
11
|
-
// ── Helpers ───────────────────────────────────────────────────
|
|
12
|
-
function truncate(text, maxLen) {
|
|
13
|
-
if (text.length <= maxLen)
|
|
14
|
-
return text;
|
|
15
|
-
return text.slice(0, maxLen - 3) + "...";
|
|
16
|
-
}
|
|
17
|
-
function formatDuration(seconds) {
|
|
18
|
-
return `${Math.round(seconds * 10) / 10}s`;
|
|
19
|
-
}
|
|
20
|
-
// ── Agent result summarizer ───────────────────────────────────
|
|
21
|
-
export function summarizeAgentResult(input) {
|
|
22
|
-
const lines = [];
|
|
23
|
-
lines.push(`Task: ${input.task}`);
|
|
24
|
-
if (input.errors.length > 0) {
|
|
25
|
-
lines.push(`Errors (${input.errors.length}):`);
|
|
26
|
-
for (const err of input.errors) {
|
|
27
|
-
lines.push(` - ${err}`);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
lines.push(`Result: ${truncate(input.result, RESULT_TRUNCATE)}`);
|
|
31
|
-
if (input.filesModified.length > 0) {
|
|
32
|
-
lines.push(`Files changed (${input.filesModified.length}):`);
|
|
33
|
-
for (const file of input.filesModified) {
|
|
34
|
-
lines.push(` - ${file}`);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
lines.push(`Duration: ${formatDuration(input.duration)}`);
|
|
38
|
-
let summary = lines.join("\n");
|
|
39
|
-
// Hard cap to stay under budget
|
|
40
|
-
if (summary.length > AGENT_MAX_CHARS) {
|
|
41
|
-
summary = summary.slice(0, AGENT_MAX_CHARS - 3) + "...";
|
|
42
|
-
}
|
|
43
|
-
return summary;
|
|
44
|
-
}
|
|
45
|
-
// ── Swarm result summarizer ───────────────────────────────────
|
|
46
|
-
export function summarizeSwarmResult(input) {
|
|
47
|
-
const lines = [];
|
|
48
|
-
lines.push(`Swarm [${input.topology}]: ${input.task}`);
|
|
49
|
-
lines.push(`Outcome: ${input.outcome}`);
|
|
50
|
-
if (input.agentSummaries.length > 0) {
|
|
51
|
-
lines.push("Agents:");
|
|
52
|
-
for (const agent of input.agentSummaries) {
|
|
53
|
-
lines.push(` [${agent.id}] ${agent.summary}`);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
if (input.filesModified.length > 0) {
|
|
57
|
-
lines.push(`Files changed (${input.filesModified.length}):`);
|
|
58
|
-
for (const file of input.filesModified) {
|
|
59
|
-
lines.push(` - ${file}`);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
lines.push(`Duration: ${formatDuration(input.duration)}`);
|
|
63
|
-
let summary = lines.join("\n");
|
|
64
|
-
// Hard cap to stay under budget
|
|
65
|
-
if (summary.length > SWARM_MAX_CHARS) {
|
|
66
|
-
summary = summary.slice(0, SWARM_MAX_CHARS - 3) + "...";
|
|
67
|
-
}
|
|
68
|
-
return summary;
|
|
69
|
-
}
|
|
70
|
-
//# sourceMappingURL=summarizer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"summarizer.js","sourceRoot":"","sources":["../../src/oni-code/summarizer.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAqBH,iEAAiE;AAEjE,MAAM,eAAe,GAAG,GAAG,CAAC;AAC5B,MAAM,eAAe,GAAG,IAAI,CAAC;AAC7B,MAAM,eAAe,GAAG,GAAG,CAAC;AAE5B,iEAAiE;AAEjE,SAAS,QAAQ,CAAC,IAAY,EAAE,MAAc;IAC5C,IAAI,IAAI,CAAC,MAAM,IAAI,MAAM;QAAE,OAAO,IAAI,CAAC;IACvC,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,GAAG,KAAK,CAAC;AAC3C,CAAC;AAED,SAAS,cAAc,CAAC,OAAe;IACrC,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;AAC7C,CAAC;AAED,iEAAiE;AAEjE,MAAM,UAAU,oBAAoB,CAAC,KAAuB;IAC1D,MAAM,KAAK,GAAa,EAAE,CAAC;IAE3B,KAAK,CAAC,IAAI,CAAC,S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or times out, its partial state (completed agent results,
|
|
5
|
-
* pending agents, original config) is stored here. The conductor can then
|
|
6
|
-
* resume the swarm from the checkpoint, skipping already-completed work.
|
|
7
|
-
*
|
|
8
|
-
* Checkpoints have a configurable TTL (default 30 minutes) and are
|
|
9
|
-
* automatically expired on access and via explicit prune().
|
|
10
|
-
*/
|
|
11
|
-
import type { SwarmAgentInput, SwarmConfig } from "./tools/spawn-swarm.js";
|
|
12
|
-
export interface SwarmCheckpoint {
|
|
13
|
-
/** Unique checkpoint ID (UUID-like) */
|
|
14
|
-
id: string;
|
|
15
|
-
/** The topology that was being executed */
|
|
16
|
-
topology: string;
|
|
17
|
-
/** The original task description */
|
|
18
|
-
task: string;
|
|
19
|
-
/** Results from agents that completed successfully before the failure */
|
|
20
|
-
completedResults: Record<string, unknown>;
|
|
21
|
-
/** Agent configs that still need to run */
|
|
22
|
-
pendingAgents: SwarmAgentInput[];
|
|
23
|
-
/** When the checkpoint was created (epoch ms) */
|
|
24
|
-
timestamp: number;
|
|
25
|
-
/** The full original SwarmConfig for replay */
|
|
26
|
-
config: SwarmConfig;
|
|
27
|
-
}
|
|
28
|
-
export declare class SwarmCheckpointStore {
|
|
29
|
-
private readonly store;
|
|
30
|
-
private readonly ttlMs;
|
|
31
|
-
/**
|
|
32
|
-
* @param ttlMs — Time-to-live for checkpoints in milliseconds.
|
|
33
|
-
* Defaults to 30 minutes. Set to 0 to disable expiry.
|
|
34
|
-
*/
|
|
35
|
-
constructor(ttlMs?: number);
|
|
36
|
-
/** Save a checkpoint. Overwrites any existing checkpoint with the same ID. */
|
|
37
|
-
save(checkpoint: SwarmCheckpoint): void;
|
|
38
|
-
/**
|
|
39
|
-
* Retrieve a checkpoint by ID.
|
|
40
|
-
* Returns undefined if not found or expired.
|
|
41
|
-
*/
|
|
42
|
-
get(id: string): SwarmCheckpoint | undefined;
|
|
43
|
-
/** Delete a checkpoint by ID. */
|
|
44
|
-
delete(id: string): void;
|
|
45
|
-
/** Remove all expired checkpoints. */
|
|
46
|
-
prune(): void;
|
|
47
|
-
/** Number of stored checkpoints (including potentially expired ones). */
|
|
48
|
-
get size(): number;
|
|
49
|
-
}
|
|
50
|
-
/** Generate a unique checkpoint ID */
|
|
51
|
-
export declare function generateCheckpointId(): string;
|
|
52
|
-
//# sourceMappingURL=swarm-checkpoint.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"swarm-checkpoint.d.ts","sourceRoot":"","sources":["../../src/oni-code/swarm-checkpoint.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAI3E,MAAM,WAAW,eAAe;IAC9B,uCAAuC;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,2CAA2C;IAC3C,QAAQ,EAAE,MAAM,CAAC;IACjB,oCAAoC;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,yEAAyE;IACzE,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1C,2CAA2C;IAC3C,aAAa,EAAE,eAAe,EAAE,CAAC;IACjC,iDAAiD;IACjD,SAAS,EAAE,MAAM,CAAC;IAClB,+CAA+C;IAC/C,MAAM,EAAE,WAAW,CAAC;CACrB;AASD,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAsC;IAC5D,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAS;IAE/B;;;OAGG;gBACS,KAAK,GAAE,MAAkC;IAIrD,8EAA8E;IAC9E,IAAI,CAAC,UAAU,EAAE,eAAe,GAAG,IAAI;IAIvC;;;OAGG;IACH,GAAG,CAAC,EAAE,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS;IAa5C,iCAAiC;IACjC,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAIxB,sCAAsC;IACtC,KAAK,IAAI,IAAI;IAWb,yEAAyE;IACzE,IAAI,IAAI,IAAI,MAAM,CAEjB;CACF;AAID,sCAAsC;AACtC,wBAAgB,oBAAoB,IAAI,MAAM,CAI7C"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SwarmCheckpointStore — in-memory storage for partial swarm state.
|
|
3
|
-
*
|
|
4
|
-
* When a swarm fails or times out, its partial state (completed agent results,
|
|
5
|
-
* pending agents, original config) is stored here. The conductor can then
|
|
6
|
-
* resume the swarm from the checkpoint, skipping already-completed work.
|
|
7
|
-
*
|
|
8
|
-
* Checkpoints have a configurable TTL (default 30 minutes) and are
|
|
9
|
-
* automatically expired on access and via explicit prune().
|
|
10
|
-
*/
|
|
11
|
-
// ── Default TTL ─────────────────────────────────────────────────
|
|
12
|
-
/** Default checkpoint TTL: 30 minutes */
|
|
13
|
-
const DEFAULT_CHECKPOINT_TTL_MS = 30 * 60 * 1000;
|
|
14
|
-
// ── SwarmCheckpointStore ─────────────────────────────────────────
|
|
15
|
-
export class SwarmCheckpointStore {
|
|
16
|
-
store = new Map();
|
|
17
|
-
ttlMs;
|
|
18
|
-
/**
|
|
19
|
-
* @param ttlMs — Time-to-live for checkpoints in milliseconds.
|
|
20
|
-
* Defaults to 30 minutes. Set to 0 to disable expiry.
|
|
21
|
-
*/
|
|
22
|
-
constructor(ttlMs = DEFAULT_CHECKPOINT_TTL_MS) {
|
|
23
|
-
this.ttlMs = ttlMs;
|
|
24
|
-
}
|
|
25
|
-
/** Save a checkpoint. Overwrites any existing checkpoint with the same ID. */
|
|
26
|
-
save(checkpoint) {
|
|
27
|
-
this.store.set(checkpoint.id, checkpoint);
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Retrieve a checkpoint by ID.
|
|
31
|
-
* Returns undefined if not found or expired.
|
|
32
|
-
*/
|
|
33
|
-
get(id) {
|
|
34
|
-
const checkpoint = this.store.get(id);
|
|
35
|
-
if (!checkpoint)
|
|
36
|
-
return undefined;
|
|
37
|
-
// Check TTL expiry
|
|
38
|
-
if (this.ttlMs > 0 && Date.now() - checkpoint.timestamp > this.ttlMs) {
|
|
39
|
-
this.store.delete(id);
|
|
40
|
-
return undefined;
|
|
41
|
-
}
|
|
42
|
-
return checkpoint;
|
|
43
|
-
}
|
|
44
|
-
/** Delete a checkpoint by ID. */
|
|
45
|
-
delete(id) {
|
|
46
|
-
this.store.delete(id);
|
|
47
|
-
}
|
|
48
|
-
/** Remove all expired checkpoints. */
|
|
49
|
-
prune() {
|
|
50
|
-
if (this.ttlMs <= 0)
|
|
51
|
-
return;
|
|
52
|
-
const now = Date.now();
|
|
53
|
-
for (const [id, checkpoint] of this.store) {
|
|
54
|
-
if (now - checkpoint.timestamp > this.ttlMs) {
|
|
55
|
-
this.store.delete(id);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
/** Number of stored checkpoints (including potentially expired ones). */
|
|
60
|
-
get size() {
|
|
61
|
-
return this.store.size;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
// ── ID generation ────────────────────────────────────────────────
|
|
65
|
-
/** Generate a unique checkpoint ID */
|
|
66
|
-
export function generateCheckpointId() {
|
|
67
|
-
const timestamp = Date.now().toString(36);
|
|
68
|
-
const random = Math.random().toString(36).slice(2, 8);
|
|
69
|
-
return `swarm-ckpt-${timestamp}-${random}`;
|
|
70
|
-
}
|
|
71
|
-
//# sourceMappingURL=swarm-checkpoint.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"swarm-checkpoint.js","sourceRoot":"","sources":["../../src/oni-code/swarm-checkpoint.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAuBH,mEAAmE;AAEnE,yCAAyC;AACzC,MAAM,yBAAyB,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AAEjD,oEAAoE;AAEpE,MAAM,OAAO,oBAAoB;IACd,KAAK,GAAG,IAAI,GAAG,EAA2B,CAAC;IAC3C,KAAK,CAAS;IAE/B;;;OAGG;IACH,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C;IACzB,CAAC;CACF;AAED,oEAAoE;AAEpE,sCAAsC;AACtC,MAAM,UAAU,oBAAoB;IAClC,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC1C,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACtD,OAAO,cAAc,SAAS,IAAI,MAAM,EAAE,CAAC;AAC7C,CAAC"}
|
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DefaultSwarmRunner — bridges the oni-code Conductor to ONI swarm primitives.
|
|
3
|
-
*
|
|
4
|
-
* Replaces NOOP_SWARM_RUNNER to make spawn_swarm actually dispatch real
|
|
5
|
-
* multi-agent work. Uses SwarmGraph topology factories, ONIHarness for
|
|
6
|
-
* agent creation, and returns summarized results to the conductor.
|
|
7
|
-
*/
|
|
8
|
-
import type { ONIModel } from "../models/types.js";
|
|
9
|
-
import type { SwarmRunner, SwarmConfig, SwarmRunnerOpts, SwarmProgressCallback as PerCallProgressCallback } from "./tools/spawn-swarm.js";
|
|
10
|
-
import { ChangeTracker } from "./workspace/change-tracker.js";
|
|
11
|
-
import { SwarmCheckpointStore } from "./swarm-checkpoint.js";
|
|
12
|
-
export interface SwarmProgressEvent {
|
|
13
|
-
type: "swarm:start" | "swarm:topology-resolved" | "swarm:agents-built" | "swarm:complete" | "swarm:error" | "swarm:checkpoint-created" | "agent:start" | "agent:complete" | "agent:error";
|
|
14
|
-
timestamp: number;
|
|
15
|
-
swarmId?: string;
|
|
16
|
-
topology?: string;
|
|
17
|
-
agentCount?: number;
|
|
18
|
-
agentIds?: string[];
|
|
19
|
-
duration?: number;
|
|
20
|
-
detail?: string;
|
|
21
|
-
/** Agent ID — set for agent-level events (agent:start, agent:complete, agent:error) */
|
|
22
|
-
agentId?: string;
|
|
23
|
-
/** Agent role label — set for agent-level events */
|
|
24
|
-
agentRole?: string;
|
|
25
|
-
}
|
|
26
|
-
export type SwarmProgressCallback = (event: SwarmProgressEvent) => void;
|
|
27
|
-
export interface DefaultSwarmRunnerConfig {
|
|
28
|
-
/** Primary model for swarm agents */
|
|
29
|
-
model: ONIModel;
|
|
30
|
-
/** Fast model for summarization/safety (optional) */
|
|
31
|
-
fastModel?: ONIModel;
|
|
32
|
-
/** Workspace root for coding tools */
|
|
33
|
-
rootDir: string;
|
|
34
|
-
/** Conductor's change tracker — swarm file changes are merged into this */
|
|
35
|
-
changeTracker?: ChangeTracker;
|
|
36
|
-
/** Total token budget for the swarm — divided equally among agents (default 65536) */
|
|
37
|
-
maxTokens?: number;
|
|
38
|
-
/** Optional callback for streaming progress events during swarm execution */
|
|
39
|
-
onProgress?: SwarmProgressCallback;
|
|
40
|
-
/** Cache TTL in milliseconds. If > 0, identical topology+task results are cached.
|
|
41
|
-
* Default 0 (caching disabled). Error results are never cached. */
|
|
42
|
-
cacheTtlMs?: number;
|
|
43
|
-
/** Maximum nesting depth for swarms. Default 1 (no nesting).
|
|
44
|
-
* Set to 2+ to allow agents to dispatch sub-swarms. */
|
|
45
|
-
maxDepth?: number;
|
|
46
|
-
/** Current depth in the nesting hierarchy. Default 0 (top-level). */
|
|
47
|
-
currentDepth?: number;
|
|
48
|
-
/** Optional checkpoint store for swarm resumption.
|
|
49
|
-
* When provided, failed/timed-out swarms store their partial state
|
|
50
|
-
* so they can be resumed via resume(checkpointId). */
|
|
51
|
-
checkpointStore?: SwarmCheckpointStore;
|
|
52
|
-
/** Maximum turns per individual swarm agent. Default 5.
|
|
53
|
-
* Higher values let agents do more work but increase swarm duration.
|
|
54
|
-
* The step budget system forces a graceful summary on the last turn. */
|
|
55
|
-
perAgentMaxTurns?: number;
|
|
56
|
-
/** Timeout (ms) for the entire swarm execution. Default 300000 (5 min).
|
|
57
|
-
* When exceeded, skeleton.invoke is aborted and partial results returned. */
|
|
58
|
-
agentTimeout?: number;
|
|
59
|
-
/** Max agents running concurrently in fan-out topology. Default: unlimited.
|
|
60
|
-
* When set, agents run in batches instead of all at once. */
|
|
61
|
-
maxConcurrency?: number;
|
|
62
|
-
/** Optional EventBus — when provided, swarm agent lifecycle events
|
|
63
|
-
* (swarm.agent.started, swarm.agent.completed, swarm.agent.failed)
|
|
64
|
-
* are emitted alongside the onProgress callback. */
|
|
65
|
-
eventBus?: import("../events/bus.js").EventBus;
|
|
66
|
-
}
|
|
67
|
-
export declare class DefaultSwarmRunner implements SwarmRunner {
|
|
68
|
-
private readonly model;
|
|
69
|
-
private readonly fastModel;
|
|
70
|
-
private readonly rootDir;
|
|
71
|
-
private readonly conductorTracker;
|
|
72
|
-
private readonly maxTokens;
|
|
73
|
-
private onProgress;
|
|
74
|
-
private readonly cacheTtlMs;
|
|
75
|
-
private readonly maxDepth;
|
|
76
|
-
private readonly currentDepth;
|
|
77
|
-
private readonly cache;
|
|
78
|
-
private readonly checkpointStore;
|
|
79
|
-
private readonly perAgentMaxTurns;
|
|
80
|
-
private readonly agentTimeout;
|
|
81
|
-
private readonly maxConcurrency;
|
|
82
|
-
private readonly eventBus;
|
|
83
|
-
/** Cached base tools — built once in constructor, reused across all run() calls */
|
|
84
|
-
private readonly baseTools;
|
|
85
|
-
private swarmIdCounter;
|
|
86
|
-
constructor(config: DefaultSwarmRunnerConfig);
|
|
87
|
-
/**
|
|
88
|
-
* Returns the tool names that agents in this runner would receive.
|
|
89
|
-
* Useful for testing nesting configuration.
|
|
90
|
-
* @param _index — reserved for future per-agent scoping (currently unused)
|
|
91
|
-
*/
|
|
92
|
-
getAgentToolNames(_index?: number): string[];
|
|
93
|
-
/** Emit a progress event if a listener is registered, and bridge to EventBus */
|
|
94
|
-
private emit;
|
|
95
|
-
/** Build a deterministic cache key from topology + task + agent IDs */
|
|
96
|
-
private cacheKey;
|
|
97
|
-
/** Look up a cached result. Returns undefined on miss or expiry. */
|
|
98
|
-
private getCached;
|
|
99
|
-
run(config: SwarmConfig, perCallProgress?: PerCallProgressCallback, opts?: SwarmRunnerOpts): Promise<{
|
|
100
|
-
outcome: string;
|
|
101
|
-
agentSummaries: Array<{
|
|
102
|
-
id: string;
|
|
103
|
-
summary: string;
|
|
104
|
-
}>;
|
|
105
|
-
filesModified: string[];
|
|
106
|
-
duration: number;
|
|
107
|
-
checkpointId?: string;
|
|
108
|
-
}>;
|
|
109
|
-
private _runImpl;
|
|
110
|
-
/**
|
|
111
|
-
* Resume a previously failed swarm from its checkpoint.
|
|
112
|
-
* Re-runs the swarm using the stored config. On success, the checkpoint
|
|
113
|
-
* is deleted. On failure, a new checkpoint is stored (or the existing
|
|
114
|
-
* one is preserved).
|
|
115
|
-
*
|
|
116
|
-
* @param checkpointId — the ID returned in the failed run's result
|
|
117
|
-
* @throws if no checkpoint store is configured or the checkpoint is not found
|
|
118
|
-
*/
|
|
119
|
-
resume(checkpointId: string): Promise<{
|
|
120
|
-
outcome: string;
|
|
121
|
-
agentSummaries: Array<{
|
|
122
|
-
id: string;
|
|
123
|
-
summary: string;
|
|
124
|
-
}>;
|
|
125
|
-
filesModified: string[];
|
|
126
|
-
duration: number;
|
|
127
|
-
checkpointId?: string;
|
|
128
|
-
}>;
|
|
129
|
-
private buildAgentDef;
|
|
130
|
-
/**
|
|
131
|
-
* Create AgentLifecycleHooks that emit agent-level progress events
|
|
132
|
-
* (agent:start, agent:complete, agent:error) through the onProgress callback.
|
|
133
|
-
*/
|
|
134
|
-
private buildAgentHooks;
|
|
135
|
-
/**
|
|
136
|
-
* Check if an agent result is empty/error.
|
|
137
|
-
* The harness catches model errors internally and returns an empty string
|
|
138
|
-
* as the agent result, so we detect that condition here.
|
|
139
|
-
*/
|
|
140
|
-
private isAgentResultEmpty;
|
|
141
|
-
private buildTopology;
|
|
142
|
-
private buildDebate;
|
|
143
|
-
private buildFanOut;
|
|
144
|
-
private buildPipeline;
|
|
145
|
-
private buildHierarchical;
|
|
146
|
-
private buildMapReduce;
|
|
147
|
-
private detectConflicts;
|
|
148
|
-
private mergeIntoConductorTracker;
|
|
149
|
-
/**
|
|
150
|
-
* Extract meaningful text from an agent result.
|
|
151
|
-
* Agent results can be strings (simple), or full BaseSwarmState objects
|
|
152
|
-
* (pipeline/hierarchical), which contain nested agentResults, messages, etc.
|
|
153
|
-
* We dig through the layers to find actual text content.
|
|
154
|
-
*/
|
|
155
|
-
private extractAgentText;
|
|
156
|
-
private extractResults;
|
|
157
|
-
/**
|
|
158
|
-
* Detect whether a run result contains error indicators.
|
|
159
|
-
* Used to decide whether to cache (no) and whether to checkpoint (yes).
|
|
160
|
-
*/
|
|
161
|
-
private resultHasErrors;
|
|
162
|
-
/**
|
|
163
|
-
* Extract completed agent results from a (possibly partial) swarm result.
|
|
164
|
-
* Agents with non-trivial summaries are considered "completed".
|
|
165
|
-
*/
|
|
166
|
-
private extractCompletedResults;
|
|
167
|
-
/**
|
|
168
|
-
* Determine which agents still need to run based on their result summaries.
|
|
169
|
-
* Agents with "No output" or empty summaries are considered pending.
|
|
170
|
-
*/
|
|
171
|
-
private extractPendingAgents;
|
|
172
|
-
}
|
|
173
|
-
//# sourceMappingURL=swarm-runner.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"swarm-runner.d.ts","sourceRoot":"","sources":["../../src/oni-code/swarm-runner.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AASnD,OAAO,KAAK,EACV,WAAW,EACX,WAAW,EAEX,eAAe,EACf,qBAAqB,IAAI,uBAAuB,EACjD,MAAM,wBAAwB,CAAC;AAIhC,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAG9D,OAAO,EACL,oBAAoB,EAGrB,MAAM,uBAAuB,CAAC;AAS/B,MAAM,WAAW,kBAAkB;IACjC,IAAI,EACA,aAAa,GACb,yBAAyB,GACzB,oBAAoB,GACpB,gBAAgB,GAChB,aAAa,GACb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