Skip to content

v0.2.13

Choose a tag to compare

@ymadd ymadd released this 09 Aug 07:00
· 12 commits to main since this release

Highlights

Prime Agent backend

  • New prime-agent backend: dispatched over its JSON event stream (--mode json), with model/thinking flags, canonical provider/model selectors in the dashboard picker, and subscription logins (ChatGPT / GitHub Copilot) recognized by auth preflight.
  • Provider failures inside an exit-0 stream are now real dispatch errors, never recorded answers; cancellation interrupts before killing so the daemon-side worker shuts down in order.

Session persistence

  • Durable conversations: an append-only JSONL session log per session with branching, forking, compaction and crash-evidence journaling — torn tails (even mid-multibyte) are tolerated and sealed on the next append.
  • Daemon + workers: agentpit daemon, per-session detached workers over unix sockets, attach/detach from the CLI and TUI, lazy crash recovery, idle eviction, and strict kill-identity checks (a reused pid never eats a stray SIGKILL).
  • Native continuation: claude/codex sessions resume with their own ids; composed context windows cover the rest. The newest result decides the resume ref, so a composed fallback is never silently dropped from the backend's view.
  • /cwd is journaled and resume returns to the session's directory.

Orchestration REPL

  • agentpit orchestrate: TypeScript cells in a sandboxed Deno sidecar (no net / run / env, --no-remote), with dispatch/store/session host calls, typecheck gating and a runaway-cell idle timeout.

TUI

  • Fullscreen ratatui front end with live streaming, session tree/agents overlays, CJK-correct wrapping, and same-connection Ctrl-C that actually cancels the running turn.

Learning

  • Relative labels: aggregator grades are compared within a run and only meaningful margins become routing evidence; the dashboard learning view shows the new source mix.

CI

  • The similarity (ONNX) suite moved to its own lint+build job after runner-starvation incidents; execution remains a local release gate.