Repository navigation
Added
-
Image generation with your ChatGPT sign-in, whatever model you use.
Signed in with ChatGPT Codex (/login), every session is offered the
imagegentool, Codex's built-in image tool. It makes or edits an image
with OpenAI'sgpt-image-2on your ChatGPT plan, so a Claude, OpenRouter
or local model can make one with no OpenAI API key.- Each image is saved to
~/.alter-zero/generated_images/<session>/and
drawn under its cell. - It is shown to the model, so a follow-up edit can see what it is
changing. An edit names the images to change by their paths. A picture
too large for the model's provider to take is sent as a smaller copy,
kept beside it, so a resumed conversation still works. - A new built-in
imagegenskill, Codex's own, teaches the model when a
bitmap is the right answer, how to prompt for one, and where the file
belongs in your project. It is listed only while the tool is offered. - A
/settingsImage generation row turns both off for a directory.
Without a ChatGPT sign-in it is unavailable and says how to sign in.
Signing in mid-session turns both on at once, and
ALTER_ZERO_IMAGEGEN=0starts a run with the row off
(docs/imagegen.md).
- Each image is saved to
-
Built-in skills and agent types update with each release. The
built-in skills (skill-creator,jina-reader,web-search,yt-dlp,
flaredantic,imagegen) and agent types (general-purpose,explore) are written
into~/.alter-zeroas files you can edit, and until now a file already
there was never touched again: a release that improved one reached new
installs only, unless you deleted the folder. Each launch now brings a
built-in you have not edited up to this release's version — the binary
carries the hash of every version it has ever shipped, so a copy one of
them wrote is told apart from yours — and says so in one line. A file you
edited is never written over: when a release changes it, its new version
is saved beside yours as<file>.new, once, and a card under the banner
names it, so you can merge what you want or delete your copy to take the
new one. A.newyou have started merging into is never written over, and
the offer waits for a launch that can show you the card: a-prun makes
none, and a launch that opens on the/resumepicker shows it once the
conversation is loaded. A file a release stops shipping is removed, unless
you edited a file of that skill. Installs from earlier releases are
recognised on their first launch of this one (docs/builtin-updates.md). -
Skills in
.agents/skills, where Codex keeps them. Skills are now
found in~/.agents/skillsand in a project's.agents/skills, beside
.alter-zero/skillsand.claude/skills, so a repository or a home folder
set up for Codex offers its skills here unchanged. Every directory from the
working directory up to the project root is now searched, nearest first,
for all three skill directories and for agent definitions in
.alter-zero/agents. A session started deep inside a monorepo package
therefore still finds the package's skills and agents, where before only
the starting directory and the repository root were read. Within one
directory.alter-zero/skillscomes first, then.agents/skills, then
.claude/skills, and a project's skill still shadows a personal one of the
same name. Started in your home folder,/skillsno longer lists each
directory twice. The built-inskill-creatorskill names the new folders,
and a copy you have not edited is brought up to date like every other
built-in (docs/agents-dir.md,docs/skills.md,docs/subagents.md). -
Plugin marketplaces found in
.agents/plugins, as Codex finds them.
/pluginsnow lists a marketplace you never added when its catalog is in
~/.agents/plugins/marketplace.json(where Codex keeps your personal
marketplace) or in your project: the working directory's
.agents/plugins/marketplace.json, or the project root's when the working
directory has none. Claude Code's.claude-plugin/marketplace.jsonis found
in the same places. Each gets a tab of its own after the marketplaces you
added, saying where it was found, andalter-zero plugin list --available
andplugin marketplace listshow it too. Nothing it offers is installed
until you install it. Installing a plugin adds the marketplace, as
plugin marketplace addwould, so the plugin keeps loading from the
project's directory. A marketplace you added keeps its name over one found
in your home folder, and that one over the project's, so a checkout can
never take over a marketplace you installed from. A found catalog that
can't be used (it will not parse, or its name is taken or reserved) still
shows under "this project" with the reason (docs/agents-dir.md,
docs/plugins.md). -
/mcpasks for an OAuth client when a sign-in needs one. Some
sign-in providers register no apps by themselves — Google's, for its MCP
servers — so signing in takes an OAuth client you create with the
provider. That client could only be written intomcp.jsonor passed to
alter-zero mcp add --client-id … --client-secret, and pressing
Authenticate without one ended on a one-line error naming config keys.
The page now turns into a form of facts and fields: the issuer, as the
server's metadata names it, the server's own documentation link when its
metadata gives one, and the redirect URI to register with the client (it
follows the callback port as you change it), over
the client ID and its secret, which is only ever drawn as dots. The same
form appears when a provider refuses to register the app. What you enter
is kept with the server's tokens — owner-only, never written to a config
file, and only ever presented to the provider it was entered for — so it
works alike for a server from your own file, a project's or a plugin's,
and it outranks a client the server's entry names (oauth.clientId): a
client shipped in a project's or a plugin's file can be replaced without
editing that file. If the provider turns the client away, the form comes
back with what you entered and the provider's own reason, rather than an
error to start over from, and no longer offers the refused secret as
kept. A server's page names the client it signs in with and offers
Change OAuth client and, for a client entered there, Forget OAuth
client. Change looks up the server's sign-in provider before its form
opens, works over an entry's own client too, and always shows the
redirect URI the next sign-in sends: left as it was, the entry's client
and its registered callback URL stay in effect. Saving a different
client removes the login made as the old one, and the ID and port
fields edit anywhere along the line.
alter-zero mcp getnames the client in effect and where it comes from,
andalter-zero mcp add --client-idforgets a client entered in/mcp
for the same address and says so (docs/mcp.md,docs/mcp-cli.md). -
MCP entries written the way codex writes them. An entry's
oauth
block is read under codex's snake_case keys too (client_id,
client_secret,callback_port,callback_url),scopesmay sit at the
top of the entry, and"type": "streamable_http"ishttp— in your own
mcp.json, a project's and a plugin's alike. A client ID or secret left
as a template slot such as<GMAIL_PUBLIC_CLIENT_ID>counts as not given,
so a codex plugin's Gmail, Calendar or Drive server asks for an OAuth
client in/mcpon the entry's callback port and signs in with the
entry's scopes.callbackUrlnames the exact redirect URI an entry's own
client registered; it is sent as written and the callback is answered on
its path. A server you already approved in the startup review whose entry
carries any of these keys is asked about once more, since the keys now
change what it signs in with (docs/mcp.md). -
Plugins:
/pluginsandalter-zero plugin. Add a marketplace — a
GitHubowner/repo, any git URL, or a directory — and install the plugins
it lists: Agent Plugins (agent-plugins.org), Claude Code plugins and Codex
plugins all install the same way. A plugin's skills and commands become
skills namedplugin:skill(a$plugin:skillmention loads one), its
agents become subagent types, and its hooks and MCP servers join yours — its
servers under Claude Code's names,mcp__plugin_<plugin>_<server>__…, so a
plugin written for Claude Code finds its own tools. Hooks and servers are
code that runs, so nothing of them runs until you have trusted it:
installing one opens the same review the startup review shows for a
project's hooks and servers, with the commands on screen first. The page is
Codex's: tabs for every plugin, the installed ones, each marketplace and
+ Add, where Claude Code's and Codex's official marketplaces are one Enter
away andAdd a marketplace…takes any owner/repo, git URL or directory; a
search; a page per plugin saying first whether it is on and then exactly
what it adds, warning before you install one that may run code; and Space
to turn a plugin on or off for the directory you are in. The page never
moves under you: it says nothing about what went right — the rows show it —
neither a toggle nor moving through the list resizes it, and a narrow
terminal cuts a long name before a description. A marketplace kept in a
directory has its plugins load in place, so editing one needs no reinstall.
Updates are something you ask for:Updateon a plugin's page, Ctrl+U on a
marketplace's tab, oralter-zero plugin update, which reinstalls the
plugins their marketplace has a newer copy of. Everything is kept under
~/.alter-zero/plugins/andplugins.json;ALTER_ZERO_PLUGINS=0loads no
plugin for a run (docs/plugins.md). -
--system-promptand--append-system-promptset the system prompt
for a run.alter-zero --append-system-prompt "Answer in French."
keeps the built-in prompt and adds to it, and--system-prompt "…"
replaces it. Each has a-fileform that reads the text from a file
(--system-prompt-file,--append-system-prompt-file), and all four
work in the interface and with-p. A replaced prompt still gets the
environment block, so the agent knows the date, the system, the user and
the directory it runs in. Until now the only way in was the
ALTER_ZERO_SYSTEM_PROMPTvariable, which replaces the prompt and cannot
add to it; the new flag outranks it (docs/system-prompt.md). -
/modelopens on the lists it already has, and Ctrl+R refreshes
them. The picker used to ask every configured provider for its model
list on every open, so each one began onLoading models…, for a second
or more with a few providers configured. Each provider's list is now kept
in~/.alter-zero/model-cache/and shown at once. A list under an hour
old is used as it is, with no request at all. An older list is still
shown at once while it is fetched again behind the rows (refreshing…).
A server you run yourself (Ollama, LM Studio) is always asked again, so a
model you just pulled still appears. Ctrl+R in the picker asks every
provider again (not a plainr, which still types into the search, as in
deepseek-r1). The counter says how old the lists on screen are
(updated 2h ago), keeping itself current while the picker sits open,
and a refresh that fails keeps the rows it could not refresh, noted in
amber asnot refreshedrather thanunavailable. A list still arriving
when you close the picker is kept when it lands, and reopening the picker
meanwhile waits for it rather than asking again. Saving a key or signing
in again through/logindrops that provider's kept list, and any list
still being fetched with the old key, since another account can list
other models (docs/model-cache.md). -
/sponsorshows where to sponsor the developer. The page lists the
GitHub Sponsors link and a contact email, each in a box you can click
where your terminal follows links, or copy with Enter (docs/sponsor.md). -
/discordshows the invite to the community server. The page offers
the Alter Zero Discord invite in a box you can click where your terminal
follows links, or copy with Enter. The invite is built into the app, so
nothing on disk can change where it points (docs/discord.md). -
Ctrl+O keeps the command you are reading on screen. The transcript
shows every tool call's whole output, so one longcargo testor file
read runs to hundreds of rows, and halfway down nothing said which
command printed them. Scrolled into a cell, the transcript now pins that
cell's header over its top rows, the way Ctrl+D pins the message you are
reading:● Bash(cargo test …)above a test run,! seq 1 500above a
shell command's output,● Agent(…)above an agent's prompt and answer.
A command that wraps keeps both rows, and a longer one is cut with….
While a command is still running, the pin names it above its live output.
←/→ now step to the previous or next entry, opening it at the top, as in
Ctrl+D. During Esc-Esc's message preview they still step between your
messages. Inside an agent's session view the title names the agent
(docs/transcript-navigation.md). -
The banner mascot moves while the conversation is empty. On a fresh
screen — at launch, and again after/clear— the mascot is alive: a
light sweeps it as the screen opens, it shows its own move, and it
blinks; from there it does something every few seconds, in an order that
differs every session. Each of the six knows thirty moves and more: it
blinks, glances, winks, stares, crosses its eyes and daydreams; it
bounces, wiggles, dances and peeks to one side, the whole creature moving
half a cell; it waves and winks, cheers with its arms (petals, ears)
thrown up, and pumps them one after the other; it does tricks —
ducks out of sight below its block and peeks back over the edge, turns a
somersault or a cartwheel; it catches the light — a glint from either
side, a glow that swells through it and fades, a glitter of twinkling
cells; and it has moves of its own — the crest
flares, ripples and ducks its frill, the bloom flutters, swells and
wobbles, the sprout sways and unfurls its leaves, the twin flicks, splays
and droops its ears, the skiter skitters, stretches its six legs and
puffs itself up to the edges of its block,
and the gem, which has no eyes, sparkles at every corner, turns its facet,
spins edge-on, flashes, and sets like a sun to rise glowing. The moves
are dealt like a deck rather than rolled, so the mascot
gets through everything it knows before it repeats itself and never does
the same thing twice running. While the first message is typed it
watches: its eyes turn to the text — to its right, where the line
runs, never to the screen's left edge —
and a few seconds after the last keystroke it goes back to its own moves.
Leave it alone for three quarters of a minute and it naps: its eyes
grow heavy and close to two thin lines, its head goes down, and it
sleeps there, still — az, then aZ, beside it is all that moves.
It wakes by itself after the better
part of a minute, stretches, and plays again — and after five minutes
alone it sleeps until you are back. Any key wakes it with a start — a
!, and it is wide awake — before it turns to what you are typing.
It stops the moment the first message is
sent: the banner above a conversation always stands still, and so does
the one in the Ctrl+O transcript and in an export. The/mascotpicker's
preview moves too, each mascot greeting as the highlight lands on it, so
one can be chosen for how it behaves — and the one you choose greets from
the banner.
An idle screen stays cheap: a blink rewrites two cells, nothing is
written between moves, and the app's memory is what it was — the same
with the animation off and once a conversation starts, a few pages more
while the mascot moves. Turn it off with the new Animate mascot row in
/settings(saved per directory) orALTER_ZERO_MASCOT_ANIMATION=0.
Changed
-
A session at rest takes about 40% less memory on Linux. Most of
what an idle session kept in memory was the app's own code, and it ran
only a small part of it: the rest was resident because the linker had
scattered the functions a session runs across the whole binary, and
memory is held by the page. Release builds now place the functions an
idle session runs side by side. The installed binary, signed in to a
provider and sitting at its prompt, takes about 8.02 MB where
the same binary laid out the old way takes 13.96 MB
(8.90 MB against 15.86 MB once it has been read
back from disk, as after a reboot), and the figure no longer moves by a
megabyte when unrelated code is added. Nothing else about the binary
changes: the same code, in a different order. macOS builds are laid out
as before. Building from source,ALTER_ZERO_TEXT_LAYOUT=0turns it off
(docs/text-layout.md). The plugin system adds nothing to a session that
has no plugin on: nothing about plugins is read at startup, and the
/pluginspage reads its catalog only while it is open
(docs/plugins.md). -
A failed MCP sign-in stays on its page. When Authenticate in
/mcpfailed, the page closed and the reason rode a one-row notice above
the composer, cut off at the terminal's width — and these reasons are
long: the provider's own sentence, an error code, sometimes a link. The
page now stays, with the whole reason wrapped on it and any link in it
clickable. Enter tries again; Esc goes back. -
Signing in to an MCP server no longer opens a browser by itself.
The/mcpAuthenticate page used to launchxdg-open(openon
macOS) on the authorize URL, which over SSH, in a container or on a
headless machine failed silently or opened a browser somewhere else.
The page now shows the URL withOpen this URL in your browser to authenticate (c to copy); click it, or presscand paste it. The
callback and the paste-the-redirect fallback work as before
(docs/mcp.md). -
Auto mode's safety check answers in JSON, and a reply that is not
exactly a verdict is never acted on. The classifier that reviews a
command in your place used to answer<block>yes</block>or
<block>no</block>, and the app took the first such tag it found anywhere
in the reply. Two things could then allow a command nobody had judged
safe. A small model asked aboutrm -rf ~/answered
<block>no</block><reason>… I cannot allow this action.</reason>: it read
noas "do not run it", and the app ran it. And a model that echoed the
command back instead of judging it handed over whatever tags the command
itself carried. The verdict is now one JSON object,{"verdict": "allow"}
or{"verdict": "block", "reason": "…"}, whose words say what happens. An
allow counts only when it is the whole reply and gives no reason; anything
else is asked about once more, and after that the command comes to you.
The object is asked for in the prompt rather than through a provider's
structured output, which was measured and refused: on small models it
produced a well-formed allow for six of sixteen actions that should have
been blocked, and some routes reject the parameter outright
(docs/permissions.md). -
The startup review's hint names the arrow keys. The page that asks
you to trust new or changed hooks, and which of a project's MCP servers
to enable, now starts its hint with↑/↓ to navigate, as/mcpand
/themedo, since Space and Enter act on the highlighted row. On a
terminal too narrow for the hint on one row, it now breaks between keys
rather than in the middle of one (docs/config-review.md). -
A link in a reply is shown as its label, with the address behind it.
A reply that cites its sources used to print every address in full —
Source: FIDE (https://www.fide.com/geneva-to-host-…/)— which spent a
row or more per link and stretched a table to the width of its URLs.
Where your terminal opens hyperlinks (kitty, Ghostty, WezTerm, iTerm2, VS
Code, Alacritty, foot, GNOME Terminal and the other VTE terminals, Windows
Terminal, a herdr pane) the label is now the link: underlined in the link
colour, and a click opens the address. The terminal is recognised by the
variables it sets, and overssh, where those stay behind, by the name
it gives when asked at startup (kitty, Ghostty, WezTerm, foot, iTerm2).
Under tmux or screen, inside an editor's terminal, and in a terminal the
app cannot name, the address stays on screen as before, since hidden
there it would be lost;ALTER_ZERO_LINK_TARGETS=hideor=showdecides
for any terminal. A link to a file or an anchor always shows its target,
and so does a label that spells a different address than the one it
opens, however the label is written. On every terminal a link whose
label is its own target is no longer printed twice — a file named by its
path,[`src/links.rs`](src/links.rs), or an address written out —
a link with no target is just its label, and a label of several words is
one link rather than one per word./exportkeeps every address in the
text it writes, and nothing renders slower: a reply full of links draws
in about a third less time as labels, and one with no link in it in
slightly less than before (docs/links.md).
Fixed
-
A signed-in MCP server whose address uses a
${VAR}keeps its sign-in
actions. Once such a server connected,/mcplooked for its login under
the address as written in the config, found none, and stopped offering
Re-authenticate and Clear authentication for a server that was
signed in. The login is now looked up under the address the entry expands
to, where it is kept. -
MCP servers behind a gateway that refuses unnamed clients now connect.
Requests to a remote MCP server carried noUser-Agent, and a gateway's
stock firewall rules turn such a request away before the server sees it.
A server behind one read✘ failedin/mcp, withHTTP 403and a web
page as its error, and Authenticate failed the same way, since the
sign-in's own requests met the same gateway. Every request to a server,
and every request of a sign-in to one, now names the app
(alter-zero/{version}). An entry whoseheadersset aUser-Agent
sends that one instead. -
An MCP server having a bad moment at startup still connects. One
failed request — the connection dropped, or a gateway's502/503for a
server that was still starting — left the server✘ failed, and its
tools out of the session, until Reconnect was pressed in/mcp. The
handshake and the tool listing are now tried up to three times, a moment
apart. A tool call is never sent twice. -
A failed MCP request says why. A refusal that is a web page (a
gateway's, a firewall's) is named by its title, as inHTTP 403: a web page titled "403 Forbidden", where the page's HTML used to be printed as
the server's error. A request that got no answer names its cause (the
connection refused, no such host, a certificate that isn't trusted)
rather than onlyerror sending request for url (…). -
Signing in to an MCP server registers the scopes it asks for. Some
authorization servers keep an app to the scopes it registered with, and
refused the sign-in (invalid_scope) after the browser had opened,
because the registration named none. -
Signing in finds an authorization server that publishes its metadata
only at the site's root. For a sign-in address with a path, the
metadata was looked for under that path alone, so such a server ended
withcould not discover the authorization server. The root document is
read last, and used only when it names that same address. -
Auto mode reviews your commands on Google Antigravity's Gemini models.
On a model whose thinking level is part of its id, such as
gemini-3.8-flash, every safety check asked for a model the account's
catalog does not list and got a 404, so each command auto mode should have
reviewed came to you as a prompt instead. Commands that only read were
never checked and still ran, which made it look like the check failed
only sometimes. The check now asks under the id your session uses
(docs/antigravity.md). -
A provider that is busy for a moment no longer costs you a prompt. The
safety check made one request and gave up on any failure, so a rate limit
that cleared in half a second or a reply cut short became a prompt where
the turn around it would have retried. The check now retries what the
turn retries, on the same Error retry setting, and a reply it cannot
read is asked for one more time (docs/permissions.md). -
The prompt says why when auto mode's safety check failed. A prompt
raised because the check itself failed looked the same as any other, so
there was nothing to tell a wrong model from a rate limit. It now reads
Auto mode's safety check failed:followed by what the check said, where
This command requires approvalwould have been, and a headless run
writes the same reason under the refused call (docs/permissions.md,
docs/headless.md). -
Every ←/→ press in the Ctrl+O transcript and the Ctrl+D view takes a
step. Keys that reached the view between two redraws, over a slow link
or on a busy machine, collapsed into the last one, so pressing → three
times could move one entry, and a PageDown pressed right after a → scrolled
before the step instead of after it. Each press now moves the view in the
order it was pressed (docs/transcript-navigation.md). -
Typing stays instant while a reply streams. A key typed under a
streaming reply waited for the stream's next frame, 4 to 5 ms on average
and up to 10, and behind a burst of the stream's own events on top of
that. A key press, and a paste, now gets a frame of its own, ahead of
anything the stream is doing: under a streaming reply a typed character is
on screen in under a millisecond, as it is on an idle composer, where it
used to take two (docs/input-latency.md). -
The app no longer stops reading keys when a long reply or a big file
read lands. Every finished reply and tool call was rendered for the
Ctrl+O transcript on the spot, between two keystrokes: 200 ms for a
2000-lineread, most of a second at the end of a long code reply, and
the whole history at once after/resume. That rendering now happens on a
thread of its own. Ctrl+O still opens at once, and now does so after a
resize too, where it used to rebuild the whole conversation first. -
Typing under a command that prints a lot is no longer sluggish. While a
command printed thousands of lines, each frame measured everything it had
printed, several times over, to show its last four rows and say how many
sit above them, so the longer a verbose build or test run went on the
slower each frame got: a key took 40 ms to show, over 100 ms under a
command printing long lines as fast as it could, and the app held most of
a CPU core. Each line is now measured once, as it scrolls past, and the
cell is built once a frame: the same key appears in about a millisecond.
A grouped search's(12s · 34 lines)count works the same way
(docs/tool-streaming.md). -
Typing stays instant while a model thinks at length. The thinking
block re-wrapped the model's newest paragraph on every frame to show its
last three rows, and a model that thinks in one long paragraph made that
the whole thought, so typing slowed the longer it thought: twenty seconds
into a fast model's think, a typed key took a median of 21 ms to appear,
with a core fully busy. Rows that can no longer change are kept now, and
a frame wraps only what arrived since the last one
(docs/thinking-stream.md). -
Scrolling Ctrl+O while a reply streams is smooth. The transcript
re-rendered the whole reply so far on every frame, so under a long code
reply each scroll key took about 150 ms. It renders each line once now,
and not again when the reply ends, where the open transcript used to stop
for a tenth of a second. -
More than a kilobyte typed in one go all arrives. Text pasted into a
terminal without bracketed paste, typed by a dictation tool, or delivered
in one piece by a connection that had stalled showed its first 1024 bytes;
the rest appeared a kilobyte per further key press. The terminal library
is patched to read all of it (vendor/README.md). -
A frame reaches the terminal in one write. It was meant to and did
not: a frame went out in three pieces on average, a frame that scrolled
sent the scroll ahead of the repaint, and a long commit was one write per
row. A terminal without synchronized updates could paint in between.
Security
- A command and its description can no longer write lines of the question
auto mode's safety check is asked. The reviewing model was shown the
agent's description as written and the command inside a three-backtick
code block. A description with line breaks could add a command block of
its own, naming something harmless, above the real one. A command
containing a line of three backticks (a heredoc makes that valid shell)
could end its block and carry on as the request. Shown
rm -rf ~/.ssh ~/.awsdressed in one of those two ways, Gemini 3.8 Flash
allowed it 9 times in 24; it now refuses all 24. The block's fence is
always longer than anything inside it, and each description is kept to
one line. Many models can still be talked round by what a command says
about itself, which no quoting changes, so auto mode's reviewer needs to
be a model that resists it (docs/permissions.mdsays how to check one).
Full changelog: v0.19.0...v0.20.0