You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turn-done notification: a terminal bell plus a toast (3 files changed · 2m14s) when a turn
that ran 5 seconds or longer finishes while the terminal is unfocused, for agent turns and for
/test, /fix and the other background workers. Safe-off on terminals that never report focus,
toggled and persisted with /notify on|off (new workspace settings file .agnostic/settings.json via StateManager.get_setting/set_setting).
/diff: a turn browser over the automatic per-turn checkpoints — bare /diff in the TUI
opens a picker (newest turn first, each row saying how many files it changed) and prints a
unified diff per file from the write snapshots, /diff <turn> skips the picker, and the
legacy CLI lists the checkpoint names. Read-only, and usable while a turn is running
(agent/tui_diff.py, UndoManager.changed_since).
Multi-line composer: the TUI prompt is a TextArea (agent/tui_composer.py) instead of a
single-line Input — Enter sends, Shift+Enter / Alt+Enter / Ctrl+J insert a newline, the box
grows to 8 lines then scrolls, and a pasted block keeps every line (Input kept only the
first one and silently threw away the rest of a stack trace).
/memory: a picker over the saved memories (bare /memory in the TUI, ↑/↓, Space/Enter to
print one in full), plus /memory show|save|forget <name> in both shells — the store was
writable only by the model until now (agent/tui_memory.py, docs/memory.md).
Headless mode: agnostic -p "..." (aliases --prompt, --print, - reads stdin) now runs
one turn with no TUI through agent/headless.py — the answer alone on stdout (or one object
with --output-format json), tool/system/error chatter on stderr, exit 1 when the turn
errored, and hard stops denied unless --yes is passed (docs/configuration.md).
Persistent auto-memory: workspace store in .agnostic/memory/ (MEMORY.md index +
one markdown file per memory), injected into the system prompt as
"## Memory (auto-recalled)", with save_memory / recall_memory tools (agent/governance/memory.py).
MCP client (zero-dependency, stdio JSON-RPC): servers from .agnostic/mcp.json,
.mcp.json (Claude Code format) or ~/.agnostic/mcp.json register as
mcp____ and run through the governed execute() path;
registry.mcp_status() reports state (agent/tools/mcp.py).
/mcp: a Server / State / Tools / Error table of the configured MCP servers, /mcp reload
to restart them and re-read the config files without leaving the session, and a red !mcp badge in the TUI status bar while any server is in the error state — a
misconfigured server used to fail silently into the log.
Subscription bridges rewritten: every fenced tool call parsed (not just one),
claude -p session continuity via --session-id/--resume with delta sends,
--output-format json preferred, codex resume when supported, usage surfaced
for cost tracking (docs/subscriptions.md).
Usage / cost / latency log: .agnostic/usage.jsonl with p50/p95 and cost
summaries; agent/llm/pricing.json ships with explicit nulls for the user to
fill in — costs are never invented (agent/llm/usage.py, docs/usage.md).
Every LLM call is now journalled: LLMClient.chat_completion writes one .agnostic/usage.jsonl entry per call on every path (API, streaming,
subscription bridge; success and failure), streamed turns keep the usage chunk
that arrives with an empty choices list, and the numbers surface as a dim $ 0.42 - p50 12.3s segment in the TUI status bar and a p50 12.3s | $0.42 today column in the /model picker.
A bare /session in the TUI opens an arrow-key resume picker of this
workspace's saved sessions (newest first, with turn count, timestamp and
notes) and loads the chosen one; /session save|load|list <name> is
unchanged, so the flat list stays greppable.
Double-Esc rewind in the TUI: every turn is checkpointed silently, and pressing
Esc twice while idle opens a two-step picker — which turn, then whether to
restore the files, the conversation, or both. The generic half of the /model
picker moved to agent/tui_picker.py::PickerScreen, which the rewind screen
subclasses.
TUI tool cards now carry the tool name, how long it ran and how many lines the
fold hid (⚙️ run_command · 3.4s · +812 lines hidden — ctrl+o), clipped on a
line boundary instead of mid-line, and Ctrl+O prints the last tool's output
in full — the escape hatch ships with the fold.
A ! prefix in the TUI runs a shell command locally without spending a turn: !git status, !ls tests. It goes through the same run_command tool the
model uses, so core/safety/guards.json stays the single policy source and a
hard-stop command still asks, and it appends nothing to the conversation —
zero context, zero LLM calls.
The TUI status bar carries a CTX ███░░░░░░░ 31% (620k/2.0M) gauge — bar,
exact percentage and colour (green/yellow/red), fixed width so it never
shifts — and warns once, before the cliff, naming the auto-compaction
threshold and the remediation. /compact now prints what the distillation
kept, and /compact undo restores the pre-compaction messages.
Typing ahead during a governance hard-stop no longer revokes it: text that is
not a y/n answer is queued as a prompt and the confirm stays pending (Esc is
the explicit deny, so a worker can never block forever). A verdict can carry a
reason — n: too risky, patch the test instead denies and prepends the reason
to the next turn.
Shift+Tab in the TUI cycles the trust tier (strict → trust-reads → trust-tests → trust-all → strict), and the status bar carries a 🛡
badge read live from SafetyGuard on every repaint — red on trust-all — so
the displayed tier can never drift from the one being enforced.
Ctrl+C in the TUI escalates instead of scolding: while a turn runs it cancels
it, and a second press within 1.5s force-exits (idle, two presses quit). Ctrl+L
asks twice before clearing the log. Both share one _double_tap timer.
Live busy indicator in the TUI status bar: ∴ Percolating… 47s · esc to cancel,
ticking once a second while a turn or background worker runs, with the verb
chosen once per turn (override the pool with AGNOSTIC_SPINNER_VERBS). The
status bar is now built as a rich.text.Text, so a cwd or model name
containing [ can no longer be parsed as markup.
/model in the TUI is an interactive picker (agent/tui_model_picker.py):
arrow keys move, Space/Enter select, Esc steps back. Preset → (subscription
presets only) concrete model → effort, the last step skipped when the model
ignores it.
Subscription presets can pin the model their CLI runs: pick Claude Code
Monthly Subscription, then claude-fable-5, and the bridge passes --model claude-fable-5 to claude (-m for codex, --model for agy). LLMConfig.sub_model, LLMConfig.sub_models(key), switch_model(sub_model=...); text form /model 2 claude-fable-5 high (any
order after the key, legacy CLI included). Status bar shows preset › model.
Changed
agent/tui.py (1352 lines) split: the slash-command dispatcher and /commit
workflow moved verbatim into agent/tui_commands.py as SlashCommandMixin
(~450 lines). No behaviour change; AgnosticTUI inherits the mixin. The
background-dispatch test now parses the method's own source file.