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

6 commits

Author SHA1 Message Date
Wing
d898f936ed
zgx: Zeron's interface on zgx (app, design system, plugins, beta channel) (#1137)
* zgx: Zeron's interface on zgx (app, design system, plugins, onboarding, Zeron Preview)

A new desktop app in apps/zgx: Zeron's interface written in Luau on zgx,
its design system, built-in plugins (Git, GitHub, Parallax scenes) and
theme templates, plus the engine and edge work it needs (plugin services
and agent tools, the agent registry, project icons, profile, organisation
admin, onboarding, plugin signing keys) and a separate Zeron Preview
package and workflow (preview-v* tags, off until enabled).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Fix Linux and Windows builds: Listener's signing_in, Command::as_std on Windows

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Engine: plugin watchers ignore reads (inotify loop), per-component snapshot paths, Windows create-over-folder is DestinationExists

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* zgx as a beta channel of Zeron.app; shared CLI, launch and notify crates; update channels

- Update channels (stable/beta) with semver prereleases, cross-channel installs, ZeronEngineVersion and a macOS 13 floor for beta; "Get beta updates" in the current app's Check for Updates.
- The command line moves into crates/cli and engine start-up into crates/launch, shared by the current app, zeron-engine and zgx; zgx hands engine commands to the bundle's Zeron Engine helper.
- zgx beta packaging and .github/workflows/zgx-beta.yml (beta-v* tags, gated by ZGX_BETA_ENABLED); the separate Preview packaging is removed.
- Templates install from links with updates, an Unverified badge for unknown authors, the Archived settings page, the Cloud repository picker, palette sub-steps without scope tabs.
- Git plugin refreshes on file changes; GitHub plugin batches, tiers and throttles its polling; failed PR watches retry with backoff.
- zgx f81d5e99.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* zgx: registry agents' sign-in state, methods and icons; PR badges isolated per session

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Harness: registry sign-in uses the crate's Child (Windows build)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 03:21:42 -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
José Gurruchaga
5918248811
Session card: side chats and subagents (#895)
* Session card: side chats and subagents ride a lanes card under it

The explorer's Subagents / Chats footer moves into a card of its own,
stacked under the session card and shown with it. It lists the open
chat's side chats and subagents in session-card rows, each lane's status
marks joined by one thin track. New side chat and Fork chat close the
side-chat lane; settled subagents fold into one "finished" row.

- The two cards share the height below the titlebar, each scrolling
  inside what it gets.
- Renaming a side chat in place now shows the card and pages its lane
  to the row, instead of needing the explorer open.
- Running subagents badge the session card's toggle while the card is
  closed, with no breathing glow, in place of the explorer button's mark.
- The explorer footer, its `FilesEvent` variants and the rename handoff
  to the files surface are gone.

* Session card: drop the running pill from the Subagents heading

The lane's own spinners show what runs, and the session card's toggle
keeps the count while the card is closed.

* Session card: badge the toggle while side chats or subagents run

The count now adds working side chats to running subagents, and stays on
the toggle with the card open or closed until nothing runs.

* Fix side chat rename opening the file explorer

* Session card: cap the lanes card at half the window's height

However much runs, the lanes card stops at half the window and scrolls
past it. The session card above keeps its height; only the lanes give.

* Scroll side chat rename fields into view

* Session card: a click on a side chat only opens it

Renaming a side chat goes through its context menu; a second click no
longer turns its row into a title field.

* Demo: a session fanning out 40 subagents for the lanes card

The mock harness answers a `/fanout [N]` prompt (40 when bare, at most
200) by spawning N subagents at once and settling them one by one,
oldest first, every seventh failing — the only data-side way to fill the
session card's subagent lane, scroll it, and watch it drain into its
finished fold. They settle `ZERON_MOCK_DELAY_MS` apart, 2.5s by default.

scripts/dev-demo.sh seeds "Fan Out Forty Scouts" with three side chats
and fans it out again on each launch. It also lists each demo folder
once (a second space on the same folder was never created, so seeding
failed with "no such space") and falls back to /tmp/zeron-demo-projects
when ~/github is missing.

* Session card: side chats wear their harness mark

Each side chat leads its title with its harness's brand mark, as the
sidebar's session rows do.

* Session card: the lanes card scrolls with the floating rail

Once the lanes outgrow the card and scroll, the card shows the file
tree's floating scrollbar: it appears on scroll, lingers, fades, holds
under the pointer, and drags. `popover::rail_for` gives a view that
already hosts a rail through `ScrollRailHost` (the shell, for the
projects menu) the same treatment for another scroller.

Subagents now list plainly, with no track between their marks; side
chats keep theirs.

* Demo: let a second demo pick its own state and port

ZERON_DEMO_DIR and ZERON_DEMO_PORT run the demo beside one already open
from another worktree; unset, it keeps /tmp/zeron-demo-* and :27921.

* Session card: drop the side chats' track

Side chats list plainly too; no line runs between any lane's marks.

* Session card: side chat starters move to the heading once branches exist

* Session card: subagent rows carry the session's harness mark

* Session card: drop the failed count from the finished fold

* Session card: the branch row shows the checkout's uncommitted +/- totals

* Session card: leave takeover to rename a side chat; stop the diff watch while hidden

Renaming a side chat from a tab menu in takeover focused an editor in the
zero-width transcript column, so keystrokes went to an unseen field. Leave
takeover before revealing the lane. The branch row's checkout-diff stream
also ran for as long as the app lived; drop it while the card is hidden.

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>
2026-10-17 11:54:12 -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
0b6558512b Spaces: device+folder pairs replace device switching
A space is a synced (device, folder) pair in the workspace doc — the
app's new unit of organization. Destructive break (fresh workspace2 doc,
ws2/{org} room); no migration by design.

Data/engine:
- spaces container (id, deviceId, path, name?, gitDetected, checkoutId)
  + chat spaceId/lastSeenAt; delete_space cascades chats+sessions in one
  commit; seen marker is synced LWW with a monotonic guard
- Mutate ops createSpace/renameSpace/deleteSpace; createChat resolves
  device+cwd from the space; markChatSeen is real now; WatchSpaces stream
- SpacesSync (new): owner-only git-presence stamping with an fs watcher
  (catches git init later), 2-min repair tick, orphan-chat sweep
- claim_chat auto-creates a space so raw-command traffic keeps working

UI:
- sidebar: spaces list (folder + device subline, rename/remove) and a
  global attention-sorted Active list (awaiting > errored > working >
  completed-unseen) on the FLIP glide
- session tab strip replaces the chat header: terminal-tab styling,
  agent brand icon, status dot <-> close-on-hover, middle-click close,
  + opens the new-session canvas; titlebar duties inherited
- add-space picker: device step -> remote-capable folder browser
  (ListFolders relay-forwarded); duplicate device+path reuses the row
- diff pane, branch chip, and worktree toggle gate on the synced
  gitDetected bool; composer mints chats onto the space's device
- repo picker deleted; onboarding card when no spaces exist

Verified: 449 workspace tests, clippy, edge tsc, and the two-device e2e
smoke (space + chat sync A->edge->B, cross-device run, status round-trip).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-22 13:57:35 +00:00
Wing
1b807d8137 macOS chrome + one-command demo for hands-on judging
TitlebarOptions: hiddenInset-style transparent titlebar w/ traffic lights at
(14,15) matching the Electron app (deliberately opaque bg, no vibrancy — same
as the original); sidebar control strip clears the traffic-light inset on
macOS. scripts/dev-demo.sh: builds, boots a seeded offline daemon (grouped
sidebar demo data incl. live run), opens the app; --slow paces mock streams
for judging the fade/stability by hand.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-20 12:41:32 +00:00