* Sync: update loro to 1.17 so streaming chats stop leaking memory
loro before 1.17 left another copy of a doc's text in its string arena on
every snapshot export (fixed in loro-dev/loro 089a4e6). chat_persistence
exports a dirty chat each second, so a chat with a streaming agent grew
quadratically until the arena passed 4 GiB and export panicked (#905).
* Sync: upgrade edge Loro and guard snapshot memory growth
Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>
---------
Co-authored-by: gratenes <claude@storage.gay>
Co-authored-by: Wing <44917547+wingleeio@users.noreply.github.com>
Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>
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.
- 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>
Two tiers: pure-logic unit tests stay on Node+FakeSql; a new workerd tier
runs against a real SQLite-backed DO so platform limits (the ~2MB
SQLITE_TOOBIG row cap behind the 2026-08-05 whale sync freeze) are the
runtime's own. Extends whale-check with a fold-backpressure phase and the
unit tier with a real-LoroDoc fold-cycle test over chunked rows.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Streaming: FollowMode::Tail + per-splice scroll_to_end hard-snapped growth
(one 56px jump/commit). Replaced with an owned pin + per-frame StickSpring
(mugen/use-stick-to-bottom constants: damping .7 stiffness .05 mass 1.25,
growth-EMA feed-forward, catch-up, teleport guard); splice-glue anchors the
offset so layout holds and the spring glides. Frame evidence: 2,13,13,10,6,
4,2,2,1,0 px/frame ramp vs a single 56px step. Doc->render path verified
O(changed) already.
Traffic lights: intended macOS inset was dead (.pl overwritten by .px).
TitlebarOptions (transparent, lights at 14,15, title None); animated 200ms
spacer 88px<->12px on fullscreen (per window-controls.tsx); all titlebar
strips are drag regions (start_window_move) w/ double-click zoom.
Pickers: double-highlight fixed (selected wash vs keyboard cursor wash),
search-input inset, w-72 widths, section separators, traits max-height,
skeleton sizes — all per harness-model-picker.tsx. Model description line
deferred (proto lacks the field).
Ports: comet-native defaults moved to 27654 (IPC) / 27640 (edge dev) so it
never conflicts with the original comet (26634/26638/26640/26654) running
on the same machine. 192 UI tests green.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>