Repository navigation
Releases
v1.2.0 — Persistent OMO session continuity
Highlights
- Restore persistent OMO sessions for Telegram delegation.
- Each Telegram chat gets an isolated resumable session under
~/.omo/agent/sessions/prabu-telegram. - OMO context now carries across turns within a chat, matching direct PC usage.
- Native tool calls remain forced for provider compatibility.
Prebuilt binaries: darwin/amd64, darwin/arm64, linux/amd64, linux/arm64. Windows remains unsupported because setup requires Linux systemd.
v1.1.0
Release binaries now embed the version via main.version ldflags: prabu version reports the build version (for example prabu v1.1.0) instead of the hardcoded "prabu dev". Prebuilt binaries for darwin/arm64, darwin/amd64, linux/arm64, and linux/amd64. Homebrew: brew install itokun99/prabu/prabu.
v1.0.0 — Prabu bootstrap CLI
prabu v1.0.0
First public release of prabu as a bootstrap CLI. This is a ground-up rewrite of the earlier omotg Telegram→OpenCode bridge: prabu no longer runs a bot, webhook, OpenCode server, or MCP bridge.
What prabu is
A Go standard-library-only CLI that bootstraps a homelab AI assistant on a Linux host. One command installs and configures the whole stack:
- ZeroClaw — the Telegram-facing assistant that owns polling, authorization, chat sessions, and forum-topic reply routing.
- OMO Native — the delegated executor ZeroClaw calls through its shell tool (
omo -p).
You in Telegram ──DM or mention──> ZeroClaw ──shell: omo -p──> OMO Native
└──────── final result ────────> You
What setup does
- Installs ZeroClaw and OMO Native via their official installers.
- Configures ZeroClaw with a model provider, a Telegram channel, and a managed agent instruction that delegates execution to OMO via
omo -p --approve --no-session. - Keeps the shell tool restricted to the single
omoexecutable, with a bounded 30-minute timeout. - Installs and starts the user-scoped systemd service, adds OMO's install path to it, and enables systemd lingering.
- Stores the Telegram token through ZeroClaw's secret-aware config interface — never written to
config.toml, argv, or logs.
Commands
prabu setup— install + configure ZeroClaw/OMO, configure Telegram, start the service.prabu doctor— readiness checks against the manifest and live files.prabu update— refresh ZeroClaw/OMO via their updaters and restart the service.prabu uninstall— remove only the managed service and binaries; preserves~/.zeroclaw,~/.omo, credentials, agent workspaces, and memory.
Safety posture
- The agent's managed
SOUL.mdkeeps ZeroClaw an orchestrator: execution goes throughomoonly, never direct commands. - Shell allowlist contains only
omo; delegation is auto-approved so the Telegram assistant can wait for OMO without an extra approval round-trip. - Telegram uses Bot API long-polling — outbound only, no inbound port, reverse proxy, or webhook.
Requirements
- Linux with a systemd user service and
sudoaccess forloginctl enable-linger. - Go 1.26+ to build (or use a release binary).
- A Telegram bot token from @Botfather.
- OMO Native model authentication configured on the host (
omo login).
Install
git clone https://github.com/itokun99/prabu.git
cd prabu
go build -o prabu .
export PRABU_TELEGRAM_BOT_TOKEN='your-bot-token'
./prabu setup --provider ollama --model llama3.1 --yesA prebuilt linux/amd64 binary is attached below. See the README for full provider and lifecycle docs.
v0.6.0 — Session persistence & agent completion fixes
[v0.6.0] — 2026-06-24
Added
- Session persistence across restarts —
SessionMapnow persists
chatCurrentandtopicBindmappings to~/.config/omotg/sessions_<bot>.json.
Chat and topic session bindings survive server restarts, so conversations
continue with the same OpenCode session (and its full history) instead of
creating a new blank session. - Dynamic child timeout — child agent timeout timer resets on every SSE
event, so long-running sub-agents are only interrupted when truly idle (60s),
not when they are actively producing output. - Completion reason logging — every exit path from
processMessagelogs
a structuredreasonfield (completed,session_timeout,child_timeout,
send_message_error,sse_unavailable) for observability.
Fixed
- Agent completion reports missing — 5 root causes fixed where agent output
never reached Telegram: SSE stream death + slow POST response now retries and
notifies user; successful responses append completion marker; child and session
timeouts send explicit Telegram messages instead of silently returning;
handleMsgResultnow correctly sets*mainTextSent. - MCP endpoint URL —
opencode.jsonURL corrected from/mcp(404) to
/mcp/sse(200), enabling agents to callsend_telegram_messageand
send_telegram_notificationtools. - Rate limiting —
sendTelegramenforces 500ms minimum gap between sends
to avoid Telegram "Too Many Requests" errors from burst tool notifications.
v0.5.0 — Multi-Bot Multi-Agent
v0.5.0 — Multi-Bot Multi-Agent
Added
- Multi-bot multi-agent — one binary runs N Telegram bots, each routing to a specific OMO agent
SendMessageWithAgent()—agentfield injection in OpenCode message APIBotAgentConfig— structured config for auxiliary bot-agent pairs- N-bot startup loop with per-bot SessionMap/TopicClient
OMO_PROMETHEUS_BOT_TOKEN,OMO_ATLAS_BOT_TOKEN,OMO_HEPHAESTUS_BOT_TOKENenv vars- Per-bot webhook paths:
/webhook(primary),/webhook/<key>(auxiliaries)
Fixed
- Event loop 30s hang on sub-agent SSE death (3 Oracle-reviewed fixes)
Changed
- Module path:
omotg→github.com/itokun99/omotg(enablesgo install)
v0.3.0
v0.3.0
Changes
- Prompt format: Metadata block now follows OpenCode environment format (plain header, leading-space key-value pairs — no brackets/markdown)
- Ack messages:
⏳ Lanjut sessiononly shown for new sessions/deploy, not every chat - Typing indicator: Telegram
sendChatAction(typing)while agent processes - No noise: Removed
✅ Selesai!from all code paths - Verbose SSE tools: Tool events now show arguments —
📂 glob: **/*.tsinstead of⚙️ glob... - formatVerboseTool(): Extracts common tool input fields for display
Fixes
ctx/cancelundefined in HandleWebhook scope- SSE
type:"text"events no longer forwarded (was echoing user input)