Skip to content

Releases

v1.2.0 — Persistent OMO session continuity

Choose a tag to compare

@itokun99 itokun99 released this 28 Nov 00:26
13f9389

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

Choose a tag to compare

@itokun99 itokun99 released this 27 Nov 16:30

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

Choose a tag to compare

@itokun99 itokun99 released this 27 Nov 13:40

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 omo executable, 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.md keeps ZeroClaw an orchestrator: execution goes through omo only, 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 sudo access for loginctl 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 --yes

A prebuilt linux/amd64 binary is attached below. See the README for full provider and lifecycle docs.

v0.6.0 — Session persistence & agent completion fixes

Choose a tag to compare

@itokun99 itokun99 released this 23 Jun 23:18

[v0.6.0] — 2026-06-24

Added

  • Session persistence across restarts — SessionMap now persists
    chatCurrent and topicBind mappings 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 processMessage logs
    a structured reason field (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;
    handleMsgResult now correctly sets *mainTextSent.
  • MCP endpoint URL — opencode.json URL corrected from /mcp (404) to
    /mcp/sse (200), enabling agents to call send_telegram_message and
    send_telegram_notification tools.
  • Rate limiting — sendTelegram enforces 500ms minimum gap between sends
    to avoid Telegram "Too Many Requests" errors from burst tool notifications.

v0.5.0 — Multi-Bot Multi-Agent

Choose a tag to compare

@itokun99 itokun99 released this 22 Jun 17:09

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() — agent field injection in OpenCode message API
  • BotAgentConfig — 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_TOKEN env 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 (enables go install)

v0.3.0

Choose a tag to compare

@itokun99 itokun99 released this 21 Jun 11:07

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 session only 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: **/*.ts instead of ⚙️ glob...
  • formatVerboseTool(): Extracts common tool input fields for display

Fixes

  • ctx/cancel undefined in HandleWebhook scope
  • SSE type:"text" events no longer forwarded (was echoing user input)