bosun 0.41.8 → 0.41.10

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.
Files changed (58) hide show
  1. package/.env.example +1 -1
  2. package/README.md +23 -1
  3. package/agent/agent-event-bus.mjs +31 -2
  4. package/agent/agent-pool.mjs +275 -40
  5. package/agent/agent-prompts.mjs +9 -1
  6. package/agent/agent-supervisor.mjs +22 -0
  7. package/agent/autofix.mjs +1 -1
  8. package/agent/primary-agent.mjs +115 -5
  9. package/cli.mjs +3 -2
  10. package/config/config.mjs +47 -33
  11. package/config/context-shredding-config.mjs +1 -1
  12. package/config/repo-root.mjs +41 -33
  13. package/desktop/main.mjs +350 -25
  14. package/desktop/preload.cjs +8 -0
  15. package/desktop/preload.mjs +19 -0
  16. package/entrypoint.mjs +332 -0
  17. package/git/sdk-conflict-resolver.mjs +1 -1
  18. package/infra/health-status.mjs +72 -0
  19. package/infra/library-manager.mjs +58 -1
  20. package/infra/maintenance.mjs +1 -2
  21. package/infra/monitor.mjs +26 -8
  22. package/infra/session-tracker.mjs +30 -3
  23. package/package.json +12 -4
  24. package/server/bosun-mcp-server.mjs +1004 -0
  25. package/server/setup-web-server.mjs +288 -259
  26. package/server/ui-server.mjs +1323 -26
  27. package/shell/claude-shell.mjs +14 -1
  28. package/shell/codex-config.mjs +1 -1
  29. package/shell/codex-model-profiles.mjs +170 -30
  30. package/shell/codex-shell.mjs +63 -18
  31. package/shell/opencode-providers.mjs +20 -8
  32. package/task/task-executor.mjs +28 -0
  33. package/task/task-store.mjs +13 -4
  34. package/telegram/telegram-sentinel.mjs +54 -3
  35. package/tools/list-todos.mjs +7 -1
  36. package/ui/app.js +3 -2
  37. package/ui/components/agent-selector.js +127 -0
  38. package/ui/components/session-list.js +15 -10
  39. package/ui/demo-defaults.js +334 -336
  40. package/ui/modules/router.js +2 -0
  41. package/ui/modules/state.js +13 -5
  42. package/ui/tabs/chat.js +3 -0
  43. package/ui/tabs/library.js +284 -52
  44. package/ui/tabs/tasks.js +5 -13
  45. package/ui/tabs/workflows.js +766 -3
  46. package/workflow/workflow-engine.mjs +246 -5
  47. package/workflow/workflow-nodes/definitions.mjs +37 -0
  48. package/workflow/workflow-nodes.mjs +1014 -184
  49. package/workflow/workflow-templates.mjs +0 -5
  50. package/workflow-templates/_helpers.mjs +253 -0
  51. package/workflow-templates/agents.mjs +199 -226
  52. package/workflow-templates/github.mjs +106 -16
  53. package/workflow-templates/sub-workflows.mjs +233 -0
  54. package/workflow-templates/task-execution.mjs +125 -471
  55. package/workflow-templates/task-lifecycle.mjs +11 -48
  56. package/workspace/command-diagnostics.mjs +460 -0
  57. package/workspace/context-cache.mjs +396 -28
  58. package/workspace/worktree-manager.mjs +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bosun",
3
- "version": "0.41.8",
3
+ "version": "0.41.10",
4
4
  "description": "Bosun Autonomous Engineering — manages AI agent executors with failover, extremely powerful workflow builder, and a massive amount of included default workflow templates for autonomous engineering, creates PRs via Vibe-Kanban API, and sends Telegram notifications. Supports N executors with weighted distribution, multi-repo projects, and auto-setup.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -45,6 +45,7 @@
45
45
  "./maintenance": "./infra/maintenance.mjs",
46
46
  "./mcp-workflow-adapter": "./workflow/mcp-workflow-adapter.mjs",
47
47
  "./telegram-bot": "./telegram/telegram-bot.mjs",
48
+ "./mcp-server": "./server/bosun-mcp-server.mjs",
48
49
  "./ui-server": "./server/ui-server.mjs",
49
50
  "./workspace-manager": "./workspace/workspace-manager.mjs",
50
51
  "./github-app-auth": "./github/github-app-auth.mjs",
@@ -81,10 +82,13 @@
81
82
  "./context-indexer": "./workspace/context-indexer.mjs",
82
83
  "./msg-hub": "./workflow/msg-hub.mjs",
83
84
  "./declarative-workflows": "./workflow/declarative-workflows.mjs",
84
- "./pipeline": "./workflow/pipeline.mjs"
85
+ "./pipeline": "./workflow/pipeline.mjs",
86
+ "./entrypoint": "./entrypoint.mjs"
85
87
  },
86
88
  "bin": {
87
89
  "bosun": "cli.mjs",
90
+ "bosun-entrypoint": "entrypoint.mjs",
91
+ "bosun-mcp": "server/bosun-mcp-server.mjs",
88
92
  "bosun-task": "task/task-cli-bin.mjs",
89
93
  "bosun-setup": "setup.mjs",
90
94
  "bosun-chat-id": "telegram/get-telegram-chat-id.mjs",
@@ -186,6 +190,7 @@
186
190
  "config/workspace-health.mjs",
187
191
  "git/conflict-resolver.mjs",
188
192
  "workspace/context-cache.mjs",
193
+ "workspace/command-diagnostics.mjs",
189
194
  "workspace/context-indexer.mjs",
190
195
  "config/context-shredding-config.mjs",
191
196
  "shell/copilot-shell.mjs",
@@ -214,7 +219,6 @@
214
219
  "lib/codebase-audit-manifests.mjs",
215
220
  "lib/logger.mjs",
216
221
  "lib/codebase-audit.mjs",
217
- "lib/codebase-audit-warnings.mjs",
218
222
  "lib/session-insights.mjs",
219
223
  "infra/library-manager.mjs",
220
224
  "infra/library-manager-utils.mjs",
@@ -247,6 +251,7 @@
247
251
  "infra/session-tracker.mjs",
248
252
  "infra/test-runtime.mjs",
249
253
  "setup.mjs",
254
+ "server/bosun-mcp-server.mjs",
250
255
  "server/setup-web-server.mjs",
251
256
  "shell/pwsh-runtime.mjs",
252
257
  "workspace/shared-knowledge.mjs",
@@ -326,6 +331,7 @@
326
331
  "workflow/pipeline.mjs",
327
332
  "workflow-templates/_helpers.mjs",
328
333
  "workflow-templates/agents.mjs",
334
+ "workflow-templates/sub-workflows.mjs",
329
335
  "workflow-templates/ci-cd.mjs",
330
336
  "workflow-templates/coverage.mjs",
331
337
  "workflow-templates/github.mjs",
@@ -346,7 +352,9 @@
346
352
  "tools/",
347
353
  "ui/vendor/",
348
354
  "workflow/msg-hub.mjs",
349
- "workflow/declarative-workflows.mjs"
355
+ "workflow/declarative-workflows.mjs",
356
+ "entrypoint.mjs",
357
+ "infra/health-status.mjs"
350
358
  ],
351
359
  "dependencies": {
352
360
  "@anthropic-ai/claude-agent-sdk": "latest",