- s/sh: add -e VAR1,VAR2 flag to inject named vars from frontend env
into session spec as env.NAME=VALUE lines
- s/sh: remove $MOUNT/env export loop (global env file removed)
- Bump core and 9p submodules
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add explicit handlers for all session ctl commands (/stop, /kill,
/compact, /clear, /rn, /cwd) and session file r/w commands (/agent,
/model, /backend) and read-only queries (/models, /backends, /usage,
/ctxsz). Ctl commands now continue past the drain loop. /rn updates
local $id/$S after rename. Unknown slash commands print an error
instead of writing garbage to ctl.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Generates N candidate optimized prompts in parallel, then judges and
returns the best. Accepts -cb/-cm for candidate model and -jb/-jm for
judge model, defaulting to OLLIE_BACKEND/OLLIE_MODEL for both stages.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Install scripts to ~/.config/ollie/scripts/ (not ~/bin/) so they are
served via the 9p mount without PATH changes. Add thin wrappers oq-q
(s/q, foreground one-shot) and oq-schedule (s/sched, background with
b/ path output). Switch osh and oq from OLLIE_9MOUNT to OLLIE.
Update mkfile, docs, and submodule pointer.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
-bg submits the job and exits immediately, printing session id(s) for
later retrieval via b/<id>/result; implicitly enables -keep.
A trailing newline is printed on all exit paths via an EXIT trap.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Brace group exit code was the last [ -n ] test, which returns 1 when
the variable is empty, triggering || die even on success. Adding true
as the final statement ensures a clean exit.
Replace write to defunct /ctl with s/new spec format. Add -name flag
so named sessions skip the post-write poll. Fix /kill to write to
s/{id}/ctl instead of the removed top-level ctl file.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>