Skip to content

Releases: javimosch/debri

v1.2.0 — don't kill a working devin; capture buffered response

Choose a tag to compare

@javimosch javimosch released this 11 Jul 15:50

Fixes two linked bugs in devin -p (print mode) that surfaced running long automation on large repos — agents ran ~10 min, went "stable", and were killed with zero commits and empty content.

Fixed

  • Premature stable-timeout kill. devin buffers its whole response and shows no incremental pane output during long operations (a big model turn, or a long tool call like running a test suite). The old stable-timeout treated that quiet-but-working state as idle and tore down the tmux session before devin committed. Now stability is gated on the pane returning to a shell — process-exit is the reliable completion signal for print mode; the thinking-timeout + 60-min maxPolls remain as hang backstops.
  • Empty captured content. The final buffered summary lands only at exit and was dropped by the pane line-diff. devin's stdout (clean plain text when not a TTY) is now redirected to a file and read on completion; the pane is used only for liveness. Falls back to scraped lines if the file is empty.

Adds executor_test.go (first tests in the repo) covering the stdout redirect. README install now uses releases/latest/download.

Practical effect: long, silent devin sessions run to completion instead of being killed mid-task, and callers get devin's real response instead of an empty string. Downstream tools (e.g. roam's --provider debri) no longer need to crank a large stable-timeout to avoid the premature kill.

Install

```bash
curl -fsSL https://github.com/javimosch/debri/releases/latest/download/debri -o /usr/local/bin/debri && chmod +x /usr/local/bin/debri
```

v1.1.0 - a2a reliability fixes

Choose a tag to compare

@javimosch javimosch released this 09 Jul 09:46

Fresh devin session invoker — reliability release for a2a multi-agent coordination.

What changed since v1.0.0

  • Process-exit completion detection (primary signal). devin runs one prompt in -p mode and exits when done, handing the pane back to the shell. debri now detects that directly instead of relying only on a silence timer — the old approach couldn't distinguish an agent genuinely blocked on a2a recv --wait from one that had actually finished.
  • --done-marker <str> fast path. Optional: finish the instant the agent prints an exact sentinel line, for interactive/persistent modes where devin doesn't exit.
  • Collision-proof tmux session names. Session names now include the PID (devin-debri-<ms>-<pid>) plus a retry — the old <ms>-only name collided under concurrent spawns (a spawned a2a team, or parallel batch runs), previously exiting instantly with "cannot create tmux session".
  • Crash/kill mid-task now reported as a real error, not a false {"event":"done"} — a session disappearing externally (crash, OOM, killed) is never a legitimate completion path.
  • tmux session cleanup on SIGTERM/SIGINT. Killing debri externally while it's still working (e.g. an a2a team's teardown) used to leak the tmux session forever; debri now traps the signal and cleans up its own session before exiting.
  • Dead code removed (found via debri auditing its own source in a dogfood test).

Installation

curl -fsSL https://github.com/javimosch/debri/releases/download/v1.1.0/debri -o /usr/local/bin/debri && chmod +x /usr/local/bin/debri
debri --version

Validation

24+ live tasks across solo code generation and multi-agent a2a teams (debates, relays, crash-recovery, lease green-path) on two separate hosts. See javimosch/a2a-skill for the a2a-debri integration runbook.

v1.0.0 - Initial Release

Choose a tag to compare

@javimosch javimosch released this 11 Jun 23:54

v1.0.0 - Initial Release

Fresh devin session invoker with streaming JSONL output.

Features

  • Fresh sessions per prompt execution
  • Streaming JSONL events (init, chunk, done, error)
  • TUI chrome stripping (braille logos, status bars, thinking indicators)
  • Single binary (~2.2MB), no runtime dependencies
  • Model support: SWE-1.6, Kimi K2.6, and other devin-supported models
  • Auto-confirm workspace trust dialogs
  • Configurable stability timeout
  • Prompt file support via --file flag

Installation

curl -fsSL https://github.com/javimosch/debri/releases/download/v1.0.0/debri -o /usr/local/bin/debri && chmod +x /usr/local/bin/debri

Usage

debri "say hi"
debri --stream "analyze code"
debri --json "summarize this"
debri --file prompt.txt

See README for full documentation.