2026-08-09 14:55:51 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A command's output keeps a short tail in the chat, with its exit code (#1168)
* A command's output keeps a short tail in the chat, with its exit code
Tool rows have been one-liners since the 2026-08-10 call: the doc fold
dropped every tool's output, and the Claude Code and Codex adapters never
sent any. A command's row could not say how it ended.
Now a command (Exec: Claude Code's Bash, Codex's command execution, an ACP
agent's shell call) keeps the end of its output in its tool part: its last
50 lines or 4 KB, whichever is less, with `outputBytes` (the size it came
at), `outputTruncated` when earlier output was let go, and `exitCode`.
Every other tool's output (file reads, searches, fetches, MCP results) is
still dropped, as before.
- Claude Code: a Bash result's text is its output; a leading `Exit code N`
line (`Exit code 137 [killed]` too) becomes the exit code, and a result
without one exited 0, unless the command went to the background. Calls
are recognised by id from their tool_use (parent, subagent and typed-fork
transcripts).
- Codex: a command's `aggregatedOutput` and `exitCode` ride its result.
- Both send only the output's last 32 KB, bounding the run journal.
- The tail is redacted before it is cut (tokens, keys, credentials in urls,
terminal escapes), with the redactor the sign-in flows use, moved from
zeron-harness to zeron-proto so the doc fold can call it; zeron-harness
re-exports it.
The output is not streamed while a command runs: the doc is a Loro doc
that keeps its history, so rewriting a 4 KB tail a few times a second would
grow a chat by megabytes over one long build.
* Command output tails: hardened redaction, no output from secret printers
A command's output tail persists in the chat's doc, which syncs to the
person's other devices and the cloud, so its redaction goes further than
the sign-in redactor's (`redact_command_output`, beside `redact_output`):
- private key blocks (PEM and OpenSSH, BEGIN through END, or to the end
when cut) are dropped for one `[private key redacted]` line;
- an env-style assignment (`AWS_SECRET_ACCESS_KEY=…`, `export X=…`) hides
its value whatever the key;
- keys naming a password, private key or webhook (`DB_PASS`, `pwd`,
`private_key`, `slack_webhook`) are secret labels too, while `passed`
and `compass` stay readable.
Everywhere, a webhook url (Slack, Discord, Telegram bot, Teams, Zapier, …)
now keeps only its host.
A command that prints secrets by nature keeps none of its output, only
"(output not kept: may contain secrets)": env, printenv, export -p, set,
cat/head/tail of .env*, *credentials*, *.pem, *.key, id_*, .netrc,
base64 -d, gpg -d, security find-*-password, pass show, op read,
aws configure get, gcloud auth print-access-token, gh auth token, az
account get-access-token. Pipelines, `&&`/`;` chains, sudo and shell
wrappers (Codex's `zsh -lc '…'`) are looked through.
* Command output tails: 10 lines / 1 KB in the chat
The doc keeps a command's last 10 lines or 1 KB, whichever is less (was
50 lines / 4 KB), with its exit code, size and truncated flag as before.
Redaction before the cut, line-boundary cuts, the single-long-line case
and the secret-command withholding are unchanged. The parts.rs decision
comment and docs/chat2-sync.md (A1) now describe this exception to the
2026-08-10 strip.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Wing <44917547+wingleeio@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 14:00:21 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Engine: ReadToolOutput serves a command's whole output from its host (#1190)
The chat keeps a command's last 10 lines; expanding it now asks the
device that ran it for the rest, read from that host's run journal.
- `ReadToolOutput {chatId, toolId, offset}` -> `ToolOutputChunk`
`{text, nextOffset, done, bytes, lines, trimmed, exitCode?}`: the last
1 MB, 48 KB per chunk, each ending on a character.
- The same safety as the doc's tail: `zeron_doc::command_output_end`
(shared with `command_output_tail`) withholds secret-printing commands'
output and redacts before it cuts.
- Commands (Exec) only; another tool's output is refused.
- `RunJournal::tool_exchange` finds a tool's call and result newest-first,
parsing only the lines that name it; a subagent's doc reads its root
chat's journal.
- Relay-forwardable, answered only by the chat's host; not on the agent
token's allow-list (an agent reads a chat as its doc keeps it).
- A missing journal or record answers `tool_output.unavailable`, a call
with no result `tool_output.not_finished` (capability error codes).
- The doc part gains `outputLines` (only with `outputTruncated`), so the
app can say "Show all N lines" before fetching.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 18:12:43 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-08-09 14:55:51 -07:00
|
|
|
|
2026-08-10 06:43:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-08-09 14:55:51 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-11-06 12:38:26 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-08-09 14:55:51 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-11-06 11:39:03 -07:00
|
|
|
|
2026-08-09 14:55:51 -07:00
|
|
|
|
2026-11-06 11:39:03 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-08-09 14:55:51 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Zeron Cloud, provider switching, and the phone model picker (#966)
Cloud chats on machines of their own (delegation, sleep/wake, durable delete), a credential vault, Stripe billing with Cloud's own portal, per-account Cloud availability, the edge's Cloud model list, provider switching between turns, the phone's tabbed model picker, and desktop/phone/engine polish.
2026-10-22 03:18:13 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-08-09 14:55:51 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rename: comet -> zeron everywhere (binary, crates, env, data dir, iOS)
- 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>
2026-08-14 10:45:35 +00:00
|
|
|
|
2026-08-09 14:55:51 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rename: comet -> zeron everywhere (binary, crates, env, data dir, iOS)
- 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>
2026-08-14 10:45:35 +00:00
|
|
|
|
2026-08-09 14:55:51 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|