* Codex: show view_image as a file read
Codex reports every view_image call as an `imageView` thread item. The
normalizer had no arm for it, so the model saw the image while the
transcript showed nothing between its messages (#962). Map it to a
ReadFile call, like Claude's Read of an image: the chip opens the file
and previews it through the existing tool-preview path.
* Browser: say where local files open instead of loading a host
The address bar sent anything without a scheme through the web parser:
`/Users/me/page.html` loaded `https://users/me/page.html` and
`\\server\share\page.html` loaded `https://server/share/page.html`.
Absolute, home and relative paths, drive and `\\` paths, and `file:`
URLs now say that local files open from Files or a file link in the
chat (#962).
* Browser fixture: a local path keeps the page and captures the notice
Captures browser-local-file-light/dark after typing an absolute path,
and checks the page did not navigate.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>
---------
Co-authored-by: Wing <44917547+wingleeio@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>
* Terminal: no added latency, direct P2P to other devices, predictive echo
Typing no longer waits on timers: keys are written the moment they land
(one write in flight per tab keeps them ordered), PTY output after a quiet
spell is sent as soon as it is read (floods are paced at 4ms), and the
local IPC socket runs with TCP_NODELAY.
Terminals on another device now stream over a direct WebRTC link (the
preview peers' DataChannel, service `terminal/{id}`) instead of the
device-room relay. The relay remains the fallback when the devices can't
reach each other; a session moves between paths mid-stream with no gap,
and input is numbered and acknowledged so a path change neither drops nor
repeats a keystroke. Cloud peers can't attach to this device's terminals
over the direct link. On slow links the viewer predicts the echo of typed
text, and only paints once the host has proven it echoes.
The terminal itself gains platform text input (IME, dead keys, layout
symbols, Option as Meta where it would type non-ASCII), mouse and focus
reporting, alternate-screen wheel scrolling, DECSCUSR cursors with a
typing-aware blink that rests when idle, synchronized output with a
deadline, a contrast floor for program colors, rounded selection with a
copy flash, edge backgrounds carried into the padding, and pixel-smooth
scrollback.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Terminal: answer queries on the host; send the real size once open
Programs query the terminal at startup (device attributes, cursor
position, keyboard modes) and wait briefly for the answer. The viewer's
emulator answered them, so for a terminal on another device the answer
crossed the network twice, arrived after the program stopped waiting and
read as typed keys: an agent CLI saw stray Escapes, opened /resume,
cancelled it and quit. The host now runs a grid-only emulator beside each
PTY and answers at once. `TerminalSession::host_replies` tells viewers to
stay silent, and a viewer subscribing without `hostReplies` (an app from
before this) keeps the host quiet instead, so nothing is answered twice.
A remote open also outlasted the 80 ms resize debounce, which had no
terminal to address yet and dropped the resize: the PTY kept 80 columns
while the grid was narrower, leaving zsh's `%` end-of-line marker on
screen. The size on screen is now sent as soon as the open completes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat(pi): add native RPC transport and compatibility contracts
* feat(pi): implement native harness and event normalization
* feat(pi): resume native and legacy ACP sessions
* feat(pi): support native steering and reliable cancellation
* feat(pi): expose native models commands and skills
* feat(pi): bridge extension dialogs to desktop and mobile input
* feat(pi): preserve Zeron MCP delegation in native sessions
* feat(pi): activate native RPC driver and CLI discovery
* refactor(pi): retire ACP adapter and verify native lifecycle parity
* fix(pi): preserve switched sessions empty resumes and composer drafts
* docs(pi): translate RPC migration research into English
* style(ios): trim whitespace in updated question bindings
* test(acp): wait for scenario progress before steering
* test(pi): compare canonical session paths on Windows
* fix(pi): deliver steering bursts in the same model step
* fix(ios): preserve generated Swift binding whitespace
* fix(pi): scrub nested-agent env and keep dropped-resolver semantics
Pi's native launch skipped owned::configure, so CLAUDECODE and the other
nested-agent variables the ACP launch removed leaked into pi. The engine's
new input-cancellation task also turned a dropped resolver into an empty
answer; keep it an error for harnesses (opencode rejects on error).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* ci: run the native Pi RPC driver tests
pi_rpc needs the native-fixture feature and pi_resume is an engine test;
neither ran in any workflow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(pi): never overwrite a configured Pi steering mode
set_steering_mode persists to Pi's global settings.json. Selecting `all` on
every session start silently rewrote the user's standalone Pi preference and
undid any `/steering` choice on the next run. Select `all` only while neither
the global nor the project settings configure a mode.
PiHarness::with_agent_dir lets tests (and callers) pin PI_CODING_AGENT_DIR for
both the child and Zeron's own reads, so fixture tests never consult the
developer's real Pi settings.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(ios): don't trap on duplicate question ids when prefilling answers
Dictionary(uniqueKeysWithValues:) crashes on a repeated key; question ids come
from agents and synced docs, so keep the first instead.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* style(pi): rustfmt the steering-mode guard and its tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(pi): start fresh with a notice when a session can't be restored
The native driver hard-failed a resume whose Pi session file was missing.
The engine injects the chat's stored session id on every dispatch, so one
unwritten or deleted session file left the chat failing every message for
good. The ACP adapter and the Codex driver start a new session and announce
the lost context instead; do the same. Proven-empty sessions still keep
their UUID via --session-id.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(pi): never fail a turn over an attachment Pi can't inline
Composer uploads include SVG, HEIC, BMP, TIFF and AVIF. The native driver
errored the whole run on any of those (or an unreadable path), while the
Claude driver skips them and the retired adapter ignored attachments: the
path refs already ride the prompt text. Load images best-effort instead.
Also give native startup the 120s budget the ACP handshake gave Pi, since
extensions can start cold.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* style(pi): rustfmt the lost-session live test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Wing <contact@winglee.io>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Resolves conflicts with the opencode native driver (#202): the
SubagentObserver enum keeps only Devin + Grok, and devin_spec drops
the retired http_sidecar field. Refreshes the fallback model rows to
the ids CLI 3000.6.14 advertises (swe-1-7-medium is the server default).
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Ctrl+Tab selects the next session in the sidebar, Ctrl+Shift+Tab the
previous one. Both wrap at the ends, and both appear in
Settings -> Shortcuts, so they can be rebound or reset like the
existing shortcuts.
The default is stored per platform: "ctrl-tab" on macOS, "mod-tab"
elsewhere. Both mean the same physical key. "mod" is Cmd on macOS and
Cmd+Tab belongs to the OS, so macOS has to store ctrl literally.
Storing it literally everywhere would break conflict detection on
Linux, where "mod" and "ctrl" are the same key but compare as
different strings.
Registers Cognition's Devin CLI as a harness through the shared
AcpHarness spec: native ACP server, turn-boundary steering, no effort
ladder (effort rides the advertised model ids), and the `bypass` mode
value added to the generic no-prompts preference list. Brand mark,
settings row, picker icon, iOS catalog entries, and docs included.
Live-verified against devin CLI 3000.4.25: model discovery (177 wire
models) and a real prompt turn settled cleanly.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Attachments already travel device-to-device (UploadChunk/UploadCommit to
the chat's host, ReadAttachmentChunk for read-back); the R2 copy was
never read — the sha was discarded after the PUT, so the objects were
unaddressable. Drop the durable mirror outbox + drain worker from the
engine and the /attachments/:sha256 routes from the edge.
The edge keeps a 200 stub for PUT /attachments/* so deployed clients
(≤0.1.62) drain their outboxes once instead of retrying a 404 forever.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- binary/CLI `comet` -> `zeron`; crates comet-* -> zeron-*; COMET_* -> ZERON_*
- data dir ~/.comet-native -> ~/.zeron, with a one-shot rename migration
- services: comet-native.service -> zeron.service; launchd sh.zeron.comet ->
sh.zeron.app; macOS bundle id dev.comet.native -> sh.zeron.app
- release artifacts comet-<ver>-* -> zeron-<ver>-*; drop the Comet.app
tarball-path compat hack in package-macos.sh
- iOS: Comet -> Zeron targets/dirs, bundle id sh.zeron.Zeron, zeron:// scheme
- clients default to https://edge.zeron.sh; installer + landing on zeron.sh
- kept on purpose: repo name, worker names (comet-native-edge/comet-landing;
DO storage is bound to the script name), R2 bucket names, and legacy
comet.zeron.sh routes so 0.1.x clients keep working
zeron-<ver>-* artifacts don't exist until the next release, so curl-install
and landing downloads 404 between this deploy and the 0.2.0 tag.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Wire cursor-agent as a Comet harness with ask_question / create_plan /
update_todos extension methods and the parameterized model picker.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Add Hermes and Pi agents over ACP
Two new AcpAgentSpec entries on the shared harness: Hermes Agent (Nous
Research, native `hermes acp` server) and the pi coding agent (pi.dev,
community pi-acp adapter pinned 0.0.33 with npx fallback). Registry slots
mirror the specs (turn-boundary steering; pi's minimal->max thinking
ladder, no effort surface on Hermes yet), brand marks land in the picker
rail/tabs/sidebar/settings, and COMET_HARNESS gains grok/hermes/pi arms
(grok was a latent gap). Wire coverage rides the existing table-driven
fake-ACP tests plus descriptor and login-shell-resolution mirrors.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* ACP as source of truth for models; separate Traits dropdown
models() now runs a short-lived probe (the discover_commands pattern) and
reads the session/new response's first-class SessionModelState, falling
back to the model config option's choices — paseo's preference order. The
static catalogs survive as enrichment for matched ids and as the answer
when an agent advertises nothing (per-model effort ladders don't exist on
the ACP wire; discovered models inherit the probe session's thought_level
ladder unless a curated entry supplies one). Successful discovery caches
per harness instance; failures retry on the next picker open.
The traits picker un-merges from the harness/model popover into its own
composer chip + dropdown (t3code TraitsPicker arrangement): traits are
properties of the selected model, so they follow the pick instead of
sharing the browse surface. The chip hides entirely when a model has
neither a ladder nor options. Media re-captured: discovered Hermes list
(provider-tagged entries), the traits dropdown, both runs.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* Traits dropdown: t3code menu rows with Default badges
Replace the segmented-chip grid with t3code's TraitsPicker arrangement:
headed sections of menu rows (reasoning ladder + each model option),
hairline separators between sections, a Default badge on the section's
default choice, and the trailing check on the selected row — all reusing
the existing popover menu primitives. Menu stays open for multi-adjust.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* Drop selected checkmarks; right-align the Default badge
Selected menu rows across the app (models, branches, spaces, traits,
account switcher) now carry the active wash alone — the trailing check
duplicated what the highlight already said. The traits Default badge
moves to the row end.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* Ghost Default badge: bare muted text, no border or fill
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: wing-anara <wing@anara.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
The core of comet login/logout/status and comet daemon landed (swept into
45d160b): sign-in persists session.json and exits, headless off-TTY fails
fast with "run comet login first", and login/logout hold the data-dir lock
so they never rotate the single-use refresh token under a running engine.
This finishes the surface: comet daemon manages the SAME
comet-native.service the curl|sh installer writes (not a competing unit),
installed binaries point ExecStart at the app/current symlink so upgrades
aren't pinned to one version, both units get restart limits that actually
trip on the signed-out fail-fast exit (on-failure, 5x5s inside a 60s
window), and the installer + README + PARITY now document the
login-then-start flow.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Port of comet's attachment pipeline (feature-inventory §1.7/§1.8):
staging strip with per-chat stash and failure hand-back, 60KB idempotent
chunked upload to the chat's host device, `withAttachments` path refs in
the persisted prompt text, transcript thumbnails read back from the
owning device (2s→15s retry ladder, seeded cache), click-to-expand
lightbox, and image-only sends. Beyond the original: the Claude harness
inlines ≤5MB png/jpeg/gif/webp as base64 image blocks (verified against
the real CLI end-to-end), and every attachment RPC races a deadline so a
stalled relay link can't hang the send. Dropzone covers the whole
conversation column, not just the composer pill.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Engine emits proto AuthState shape; LocalDevice RPC served; accounts param
aliases. scripts/e2e-smoke.sh + rpc examples (e2e_driver, rpc_probe): edge
under wrangler dev, two headless engines, chat created on A, run queued from
B through the doc command queue, host-executed on A, transcript + status
synced back to B — ALL STEPS PASS LIVE. dist/ packaging (Linux .desktop +
icon + package-linux.sh, macOS Info.plist template + docs), release profile
(thin LTO, strip). Clippy/fmt clean; docs/PARITY.md honest feature ledger;
README + ARCHITECTURE status refresh. Workspace: 311 tests green.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>