Skip to content

Releases

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 07:31
4097ab3

[0.6.0] - 2026-12-02

Added

  • widget mode: auto (default), always, off. In auto the always-on
    widget body is mounted only while a worker is starting, running, waiting on a
    question or orphaned, and is unmounted as soon as the last one settles — the
    one-line status bar stays. off removes the widget and the status line;
    always keeps the old "mounted whenever there is a run" behaviour.
  • /orchestra hide and /orchestra show [auto|always|off]. The choice is
    stored per project (state.json → ui.widget) and wins over the config key, so
    a new session in that directory stays quiet without editing any file.
  • /orchestra reset (alias clean). Asks for confirmation, stops the
    session's workers, copies state.json to state.<ts>.bak.json and clears runs,
    tasks, dispatches and gates. Logs, prompts and mail stay on disk for prune.
    The tool action reset now shares the same code path.
  • staleRunHours (default 12). A run whose workers are all terminal (an
    orphaned process is not terminal) and whose last activity is older than the
    window stops being the current run, so a fresh session starts with no run and
    new work creates a new one instead of appending to yesterday's. 0 restores the
    previous behaviour.
  • state.ui in state.json: widget (the hide/show preference) and
    pinnedRunId (set by /orchestra use, so reopening an old run on purpose does
    not get hidden again).
  • /orchestra status in a session with no current run points at the earlier runs
    that are kept on disk.

Changed

  • The widget no longer shows another session's work. refreshUI renders the
    current run only: with no run (a new directory, or only stale/older runs) the
    status line and the widget are both cleared instead of counting every dispatch
    in the store. The widget's animation timer keeps its 500 ms dirty-check.
  • /orchestra use <run> (and o in the browser) pins the run it switches to, and
    creating a new run releases the pin.
  • The staleness window also applies to runOf(), so task_create / worker_start
    in a new session never attach to a finished run from days ago.

Fixed

  • A run that ended days ago no longer reappears on screen in a new session — the
    cause was activeRun() always falling back to the newest run, plus terminal
    timeout rows that the widget never collapsed, so it could not unmount.
  • state.ui survives a reset: hiding the widget is a choice about the terminal,
    not about the data. The use pin does not survive it.

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 19:51

[0.5.0] - 2026-11-30

Added

  • Published to npm. @loka1/pi-orchestra@0.5.0 is on the registry
    (pi install npm:@loka1/pi-orchestra), with repository/homepage/bugs
    metadata linking it back to this repo and the docs site. Tagged releases publish
    themselves: the release workflow uses NPM_TOKEN with --provenance and falls
    back to OIDC trusted publishing when no token is set.

  • Docs site. wiki/ is built into a GitHub Pages site
    (https://loka1.github.io/pi-orchestra/) by docs.yml on every change:
    scripts/wiki-site.mjs rewrites GitHub-wiki [[Page]] links to plain markdown
    and turns Home.md into the landing page. The GitHub wiki mirror still exists,
    but GitHub only creates <repo>.wiki.git after a page is saved once in the web
    UI, so the site is the surface that always publishes.

  • Joined worker chat. /orchestra join <dispatch> (or j in the browser)
    opens one worker's conversation full-screen and lets you type into it: a steer
    while it runs, a follow-up turn once it has settled. Header shows status, model,
    turns, spend vs budget; ctrl+t toggles thinking, ctrl+o expands tool output,
    ctrl+e opens the editor, esc returns to the browser and ctrl+g to your own
    session. /stop, /retry, /resume, /diff, /open, /back, /exit and
    /help work from the composer.

  • action=chat dispatch=<id> [includeThinking=true] and /orchestra chat <id>
    render the same conversation as text, for print/RPC modes.

  • extensions/lib/chat.ts maps the worker event stream into conversation blocks
    (brief, assistant, thinking, tool, result, error), folding the dispatch
    preamble down to its task.

  • /orchestra runs and /orchestra use <run>. List runs newest-first (the
    active one is marked) and switch the active run from the prompt, matching the
    run_list / run_use tool actions.

  • /orchestra argument completion. Tab after /orchestra completes the
    subcommand (with a one-line description), and a second tab completes live
    dispatch, task, run and template ids where a command takes one.

  • timeoutMode. "idle" restarts the worker's wall-clock timer on every
    event, so a busy worker is never stopped mid-job — only silence for timeoutMs
    is. timeoutMs: 0 removes the limit, and worker_start timeoutMs= /
    timeoutMode= override it per dispatch (repairs and resumes inherit it).

Changed

  • The coordinator is told to end its turn after worker_start instead of
    blocking in orchestra_wait: it is woken on settle or question, so the user can
    keep working in the same session. wait stays for "nothing else can proceed".
  • j joins the highlighted worker in the browser; k/j no longer move the
    cursor (arrows, page keys, Home/End and g/G do).

Fixed

  • Page, home/end and top/bottom keys now work in the browser. Page keys were
    forwarded to SelectList and only matched the default binding, home/end
    were documented but never implemented, and terminals sending modifier variants
    (\x1b[5;2~, \x1b[6;5~) did nothing. Both the list and the detail pane now
    accept PgUp/PgDn in every common encoding, Home/End, g/G and
    ctrl+d/ctrl+u.

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 18:52

[0.4.0] - 2026-11-30

The review-and-recovery release: a run can now be inspected, repaired and
cleaned up without leaving the session.

Added

  • Diff review. Every dispatch records the git commit it started from;
    action=diff dispatch=<id> and D in the browser show the base, stat,
    untracked files and patch of what that worker changed.
  • Markdown run report. action=report (and /orchestra report) writes
    exports/<runId>.md: goal, task table, each report, failures with errors,
    diff stats, cost totals and the regression line.
  • Cost regression. Runs keep the template they came from, and metrics/report
    compare against the previous run of the same template or name: cost, turns,
    tool calls and wall time deltas.
  • Automatic retries. retries/retryBackoffMs (config and worker_start)
    queue a repair dispatch on failure with exponential backoff, attempt tracking
    and no retry for deliberate stops, resumed sessions or exhausted budgets.
  • Orphan recovery. A coordinator restart probes the pid: live processes
    become ⚡ orphaned (stoppable with worker_stop via SIGTERM, resumable) and
    only dead ones are lost.
  • Budget pause. budgetAction: "ask" pauses a run at its ceiling instead of
    killing workers; action=budget budgetUsd=<n> raises it and resumes.
  • Retention. action=prune days=<n> dryRun=<bool> deletes archived runs and
    orphaned logs/prompts/mail/exports by age, never touching live state.
  • Structured filters. status:, agent:, kind:, run:, id:, task:,
    model:, cost: and turns: terms with comparisons, shared by the browser
    search, task_list/worker_list and /orchestra find.

Changed

  • task_create/task_update validate dependencies: unknown ids, self-deps and
    cycles are refused with the path, and a cycle already on disk is shown as
    ⊘ blocked · dependency cycle: A -> C -> B -> A until fixed.
  • task_update can now replace deps as well as set a status.

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 17:27

[0.3.0] - 2026-11-30

The toolbox release: a run can now be bounded, repaired, searched and audited
without leaving the session.

Added

  • Budgets. budgetUsdPerWorker, budgetUsdPerRun, budgetMsPerWorker,
    budgetGraceMs, overridable per dispatch (worker_start budgetUsd=/budgetMs=)
    and per run (run_create budgetUsd=). Cost is checked on every event; a run
    over its ceiling stops its workers and refuses new ones. A time budget asks the
    worker to wrap up first and only then stops it, unlike the hard timeoutMs.
  • Stall watchdog. stallMs (default 10 min) flags a worker that produced no
    events — distinct from a timeout — as ⚠ stalled 12m in the widget and status
    line, with a message; stallAction: "abort" stops it.
  • worker_resume. With sessionMode: "session", a dispatch keeps its pi
    session id and can be reopened later on the same session (linked with
    resumedFrom, continuation prompt only). /orchestra resume <id> [msg].
  • Repair dispatch. worker_start retryOf=<id> reuses the failed attempt's
    spec, agent, tools and model, and leads the prompt with its status, error, last
    tool and report. /orchestra retry <id>.
  • Broadcast. orchestra_send dispatch="*" and /orchestra broadcast <msg>
    deliver one message to every live worker and report per-worker results.
  • Transcript search. action=search filter=… and /orchestra grep <text> over
    every .pi/orchestra/logs/*.jsonl, with dispatch, line numbers and redacted text.
  • Metrics and export. action=metrics / the run detail pane show cost, turns,
    tool calls, tokens, duration and a spend sparkline per worker; action=export
    writes .pi/orchestra/exports/<runId>.jsonl (run header, worker rows, timeline
    points with cumulative cost and turns).
  • Browser: bulk and sort. space marks rows, x/r/c act on the mark set
    (stop, retry, copy ids into the editor), s/t sort by cost/time, and d opens
    the full transcript.

Changed

  • The detail pane tails live: a log pager opens at the end, follows new events and
    stops following as soon as you scroll (f toggles).
  • Stopping a worker from the browser and worker_stop share one path, so the task
    returns to pending and its budget timers are cleared either way.
  • worker_show reports the last event time, ⚠ stalled since … and the budgets.

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 16:28

[0.2.0] - 2026-11-30

Added

  • /orchestra browse — an interactive list of tasks, workers and runs:
    fuzzy search, tab to switch scope, enter for a detail view with the
    worker report and transcript tail, m to message, x to stop, f to
    follow, o to switch the active run. /orchestra opens it in TUI mode;
    print and RPC modes print the same data as text.
  • /orchestra open <id> and /orchestra find <query> for scripted use.
  • task_list and worker_list take filter, limit (default 20) and
    offset, and end with showing 1–20 of 24 — offset=20 instead of dumping
    every row into the model's context.
  • widgetMaxLines (default 8) and widgetShowSettled (default false) config
    keys.

Changed

  • The widget is a component now, so it knows the viewport width: rows are
    truncated with … instead of being clipped by pi, they are ordered by
    urgency (question → running → timeout/failed → ready → settled)
    and capped with +N more · /orchestra browse. Settled rows collapse into a
    counter.
  • Timeouts render as ⏱ timeout 15m with their age instead of looking like a
    generic failure, and the widget reports how many workers timed out.
  • Task status now defers to its dispatch, on write and again when state is
    reloaded. A task whose worker settled can no longer keep a ✗ glyph, and a
    stopped worker returns its task to pending deterministically.

Fixed

  • Widget rows were emitted in creation order with no width awareness, so long
    titles were cut mid-word and pi printed ... (widget truncated).
  • statusLine/widget counters disagreed with the worker rows after a restart
    (e.g. 0 running while two tasks showed ◌ ready).

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 29 Nov 20:47

[0.1.1] - 2026-11-29

Changed

  • Docs and examples now configure the reviewer agent with
    deepseek/deepseek-v4.1-flash at thinking: high
    (provider commandcode),
    read-only tools (read, grep, find, ls, bash), in line with the
    recommended review setup.
  • Documented that model ids should use pi's defaultModel form, and that under
    workerIsolation the bare id is the right choice because workers do not load
    provider extensions.

Fixed

  • The release workflow no longer references secrets in a step if, which made
    GitHub reject the workflow file before running any job.