0
Fork 0
mirror of https://github.com/zeronsh/comet.git synced 2026-11-16 18:57:19 +00:00
Commit graph

7 commits

Author SHA1 Message Date
Chance
6973500bc0
Sync: update loro to 1.17 so streaming chats stop leaking memory (#1116)
* 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>
2026-10-31 11:55:18 -07:00
Wing
1b3e335c36
Edge: profile routes (#1115) 2026-10-30 16:42:51 -07:00
Wing
cc7da5c2aa
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
wing-anara
b0be3dea2f 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:49:19 +00:00
wing-anara
ca8a6ba656 edge tests: split unit/workerd tiers via vitest-pool-workers
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>
2026-08-09 22:09:16 +00:00
Wing
56e19819e8 Mac feedback: scroll spring, traffic-light chrome, picker polish, own ports
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>
2026-07-20 16:08:52 +00:00
Wing
240b008bd3 Foundation: architecture, research, Rust workspace scaffold, TS edge port
- ARCHITECTURE.md: full design — Loro docs (session + per-org workspace) through
  Durable Objects, TS edge / Rust everything-else split, gpui UI plan with
  mugen/pretext techniques, headed+headless single binary, milestones M0-M6
- docs/research/: feature-parity inventory, gpui guide, mugen/pretext techniques,
  loro Rust ecosystem, DO-language decision (TS, evidence-backed), harness
  integration (claude stream-json / codex app-server)
- Cargo workspace (proto, doc, sync, harness, engine, rpc, ui + comet binary):
  builds green incl. gpui pinned to zed@f14fea9b; comet-proto wire types and
  comet-doc command-ledger rules 1-3, event->parts fold, render-parts privacy
  policy, continuation splitting all ported with tests (15 passing)
- edge/: comet's Worker + DOs ported standalone (session room w/ hibernation +
  two-level compaction + alarms + R2 backups, device room relay, attachments),
  vendored session-doc modules, NEW workspace rooms (ws/{orgId}, org-claim authz),
  absorbed WorkOS auth routes; tsc clean, wrangler dry-run bundles

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-19 18:04:51 +00:00