Repository navigation
Releases
v0.6.0
[0.6.0] - 2026-12-02
Added
widgetmode:auto(default),always,off. Inautothe 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.offremoves the widget and the status line;
alwayskeeps the old "mounted whenever there is a run" behaviour./orchestra hideand/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(aliasclean). Asks for confirmation, stops the
session's workers, copiesstate.jsontostate.<ts>.bak.jsonand clears runs,
tasks, dispatches and gates. Logs, prompts and mail stay on disk forprune.
The tool actionresetnow shares the same code path.staleRunHours(default12). A run whose workers are all terminal (an
orphanedprocess 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.0restores the
previous behaviour.state.uiinstate.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 statusin 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.
refreshUIrenders 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>(andoin the browser) pins the run it switches to, and
creating a new run releases the pin.- The staleness window also applies to
runOf(), sotask_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 wasactiveRun()always falling back to the newest run, plus terminal
timeoutrows that the widget never collapsed, so it could not unmount. state.uisurvives a reset: hiding the widget is a choice about the terminal,
not about the data. Theusepin does not survive it.
v0.5.0
[0.5.0] - 2026-11-30
Added
-
Published to npm.
@loka1/pi-orchestra@0.5.0is on the registry
(pi install npm:@loka1/pi-orchestra), withrepository/homepage/bugs
metadata linking it back to this repo and the docs site. Tagged releases publish
themselves: the release workflow usesNPM_TOKENwith--provenanceand 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/) bydocs.ymlon every change:
scripts/wiki-site.mjsrewrites GitHub-wiki[[Page]]links to plain markdown
and turnsHome.mdinto the landing page. The GitHub wiki mirror still exists,
but GitHub only creates<repo>.wiki.gitafter a page is saved once in the web
UI, so the site is the surface that always publishes. -
Joined worker chat.
/orchestra join <dispatch>(orjin 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+ttoggles thinking,ctrl+oexpands tool output,
ctrl+eopens the editor,escreturns to the browser andctrl+gto your own
session./stop,/retry,/resume,/diff,/open,/back,/exitand
/helpwork 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.tsmaps the worker event stream into conversation blocks
(brief, assistant, thinking, tool, result, error), folding the dispatch
preamble down to its task. -
/orchestra runsand/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_usetool actions. -
/orchestraargument completion. Tab after/orchestracompletes 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 fortimeoutMs
is.timeoutMs: 0removes the limit, andworker_start timeoutMs=/
timeoutMode=override it per dispatch (repairs and resumes inherit it).
Changed
- The coordinator is told to end its turn after
worker_startinstead of
blocking inorchestra_wait: it is woken on settle or question, so the user can
keep working in the same session.waitstays for "nothing else can proceed". jjoins the highlighted worker in the browser;k/jno longer move the
cursor (arrows, page keys,Home/Endandg/Gdo).
Fixed
- Page, home/end and top/bottom keys now work in the browser. Page keys were
forwarded toSelectListand 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
acceptPgUp/PgDnin every common encoding,Home/End,g/Gand
ctrl+d/ctrl+u.
v0.4.0
[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>andDin 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 andworker_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 withworker_stopvia SIGTERM, resumable) and
only dead ones arelost. - 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:andturns:terms with comparisons, shared by the browser
search,task_list/worker_listand/orchestra find.
Changed
task_create/task_updatevalidate 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 -> Auntil fixed.task_updatecan now replacedepsas well as set a status.
v0.3.0
[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 hardtimeoutMs. - Stall watchdog.
stallMs(default 10 min) flags a worker that produced no
events — distinct from a timeout — as⚠ stalled 12min the widget and status
line, with a message;stallAction: "abort"stops it. worker_resume. WithsessionMode: "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.
spacemarks rows,x/r/cact on the mark set
(stop, retry, copy ids into the editor),s/tsort by cost/time, anddopens
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 (ftoggles). - Stopping a worker from the browser and
worker_stopshare one path, so the task
returns topendingand its budget timers are cleared either way. worker_showreports the last event time,⚠ stalled since …and the budgets.
v0.2.0
[0.2.0] - 2026-11-30
Added
/orchestra browse— an interactive list of tasks, workers and runs:
fuzzy search,tabto switch scope,enterfor a detail view with the
worker report and transcript tail,mto message,xto stop,fto
follow,oto switch the active run./orchestraopens 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_listandworker_listtakefilter,limit(default 20) and
offset, and end withshowing 1–20 of 24 — offset=20instead of dumping
every row into the model's context.widgetMaxLines(default 8) andwidgetShowSettled(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 15mwith 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 topendingdeterministically.
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 runningwhile two tasks showed◌ready).
v0.1.1
[0.1.1] - 2026-11-29
Changed
- Docs and examples now configure the reviewer agent with
deepseek/deepseek-v4.1-flashatthinking: high(providercommandcode),
read-only tools (read,grep,find,ls,bash), in line with the
recommended review setup. - Documented that model ids should use pi's
defaultModelform, and that under
workerIsolationthe bare id is the right choice because workers do not load
provider extensions.
Fixed
- The release workflow no longer references
secretsin a stepif, which made
GitHub reject the workflow file before running any job.