bosun 0.27.6 → 0.28.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/.env.example +15 -1
- package/README.md +4 -1
- package/agent-event-bus.mjs +821 -0
- package/agent-pool.mjs +205 -3
- package/agent-supervisor.mjs +1236 -0
- package/agent-work-analyzer.mjs +419 -0
- package/anomaly-detector.mjs +32 -14
- package/claude-shell.mjs +12 -2
- package/config-doctor.mjs +88 -0
- package/desktop/main.mjs +81 -4
- package/error-detector.mjs +371 -2
- package/monitor.mjs +303 -34
- package/package.json +5 -2
- package/postinstall.mjs +169 -5
- package/primary-agent.mjs +154 -2
- package/review-agent.mjs +22 -0
- package/setup.mjs +606 -60
- package/task-executor.mjs +561 -23
- package/telegram-bot.mjs +315 -7
- package/ui/app.js +14 -9
- package/ui/components/agent-selector.js +637 -0
- package/ui/components/chat-view.js +276 -16
- package/ui/components/session-list.js +38 -72
- package/ui/components/shared.js +102 -4
- package/ui/demo.html +175 -72
- package/ui/favicon.png +0 -0
- package/ui/index.html +22 -17
- package/ui/logo.png +0 -0
- package/ui/logo.svg +31 -0
- package/ui/modules/agent-events.js +434 -0
- package/ui/modules/settings-schema.js +2 -1
- package/ui/modules/streaming.js +640 -0
- package/ui/styles/base.css +1 -0
- package/ui/styles/components.css +317 -12
- package/ui/styles/kanban.css +15 -15
- package/ui/styles/layout.css +131 -5
- package/ui/styles/sessions.css +555 -74
- package/ui/styles/variables.css +50 -50
- package/ui/styles/workspace-switcher.css +13 -13
- package/ui/styles.monolith.css +2 -2
- package/ui/tabs/chat.js +316 -68
- package/ui/tabs/control.js +1 -1
- package/ui/tabs/settings.js +15 -2
- package/ui/tabs/tasks.js +324 -204
- package/ui-server.mjs +312 -3
- package/workspace-manager.mjs +45 -1
package/.env.example
CHANGED
|
@@ -77,7 +77,21 @@ TELEGRAM_MINIAPP_ENABLED=false
|
|
|
77
77
|
# Full public URL override (takes precedence over host/port auto-detection).
|
|
78
78
|
# Use when you have a reverse proxy or tunnel with HTTPS.
|
|
79
79
|
# TELEGRAM_UI_BASE_URL=https://your-public-ui.example.com
|
|
80
|
-
#
|
|
80
|
+
# ╔══════════════════════════════════════════════════════════════════════╗
|
|
81
|
+
# ║ ⛔ DANGER — SECURITY CRITICAL ║
|
|
82
|
+
# ║ ║
|
|
83
|
+
# ║ Setting ALLOW_UNSAFE=true disables ALL authentication on the UI. ║
|
|
84
|
+
# ║ Anyone who discovers your URL can: ║
|
|
85
|
+
# ║ • Read/modify your tasks and settings ║
|
|
86
|
+
# ║ • Send commands to agents that execute code on YOUR machine ║
|
|
87
|
+
# ║ • Access secrets, API keys, and environment variables ║
|
|
88
|
+
# ║ ║
|
|
89
|
+
# ║ Combined with TELEGRAM_UI_TUNNEL=auto (Cloudflare tunnel), your UI ║
|
|
90
|
+
# ║ gets a PUBLIC internet URL — meaning ANYONE ON THE INTERNET can ║
|
|
91
|
+
# ║ find and control your machine. ║
|
|
92
|
+
# ║ ║
|
|
93
|
+
# ║ ONLY enable this for localhost-only debugging with tunnel DISABLED. ║
|
|
94
|
+
# ╚══════════════════════════════════════════════════════════════════════╝
|
|
81
95
|
# TELEGRAM_UI_ALLOW_UNSAFE=false
|
|
82
96
|
# Max age in seconds for initData auth tokens (default: 86400 = 24h)
|
|
83
97
|
# TELEGRAM_UI_AUTH_MAX_AGE_SEC=86400
|
package/README.md
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="site/logo.png" alt="virtengine bosun ai agent" width="150" />
|
|
3
|
+
</p>
|
|
4
|
+
<h1 align="center">bosun</h1>
|
|
2
5
|
|
|
3
6
|
Bosun is a production-grade supervisor for AI coding agents. It routes tasks across executors, automates PR lifecycles, and keeps operators in control through Telegram, the Mini App dashboard, and optional WhatsApp notifications.
|
|
4
7
|
|