Commit Graph
34 Commits
Author SHA1 Message Date
fish 1330b31ef7 feat(account): add multi-account switcher and passphrase vault
- Enable Windows multi-account sign-in via loopback PKCE OAuth and unified borderless quota cards with Ultra 5x/20x tier detection and instant cached-list preloading
- Keep active-account quota strictly on live host telemetry while supporting configurable background OAuth refresh intervals (10m-24h, default 1h) for saved backup accounts
- Add optional scrypt + AES-256-GCM secondary passphrase encryption with per-email AAD binding, unlock backoff, key zeroing, at-rest token minimization, and OAuth client_id allowlisting
- Harden account mutations with inline two-step switch/remove confirmations, HMAC action nonces, Webview context checks, standalone web 403 isolation, and user-only vault directory ACLs
2026-11-25 03:42:06 +09:00
fish 275955c37f feat(panel): migrate trajectory cache to incremental SQLite ledger
- Add short-connection WAL trajectory_store.sqlite (and remote ssh-*.sqlite) with transactional .json-to-.bak migration, O(delta) step UPSERTs, undo tail truncation, and ledger_epoch/write_seq cross-process sync
- Split steps into string-interned compact accounting tuples (retaining anomaly and step account owners) and lazy detail_json with an explicit 24-session hot LRU and precomputed O(1) cold metadata flags
- Archive deleted source conversations permanently across cache rebuilds and skip redundant 404 trajectory RPCs while un-archiving automatically if sources reappear
2026-11-24 13:36:24 +09:00
fish 424ac73489 perf(panel): optimize P1 hot paths and consolidate P2 shared primitives 2026-11-23 16:21:39 +09:00
fish 743bdfa24d feat(panel): add local CloudCode proxy sync and independent Main/Subagent-Swarm context window toggles (#36) 2026-11-22 21:19:25 +09:00
fish 4d6d676e56 feat(panel): add experimental quota reservation estimator, violet bar indicator, and clipboard log export 2026-11-22 18:34:58 +09:00
fish 97ef8b5ea5 feat(panel): default-lock topbar capsule and hover context to main agent with toggle (#35) 2026-11-22 17:09:00 +09:00
fish 0769a88796 feat(panel): add opt-in cross-client session migration for CLI, Desktop App, and Legacy IDE 2026-11-21 23:19:15 +09:00
fish 3eb9e0e2a5 feat(cli): upgrade statusLine with Braille progress bars, instant waiting sync, /statusline flags, and CLI-gated settings 2026-11-21 21:44:32 +09:00
fish e1c3134e72 fix(panel): support Orchestrator (Neon) and prevent future variants from falling back to Carbon
# Conflicts:
#	sidecars/panel/index.html
#	sidecars/panel/test/backend-harness.mjs
2026-11-20 16:30:37 +09:00
hejun01 253da45607 feat(panel): support SSH remote windows with per-endpoint isolation and context window overrides
- Add per-endpoint registry and isolated caches (endpoint-registry.mjs, multi-path trajectory-cache-file.mjs) so local and SSH remote windows maintain independent conversations, telemetry, quotas, and consumption analytics (Antigravity SSH) without remote plugin installation
- Classify local vs. SSH Desktop targets via two-pass hub port and metadata probing in window-bridge.mjs and ls-discovery.mjs, routing HTTP/CDP requests with authoritative X-Usage-Monitor-Endpoint headers and preventing local data leaks or 503-triggered CDP downgrades
- Implement two-tier read-only remote LS RPC transport in ls-rpc.mjs (loopback HTTP/HTTPS with size/wall-clock limits and 60s circuit breaker falling back to stateless same-origin window.fetch / connect-websocket via CDP)
- Enable per-endpoint verified context window overrides in SSH Desktop windows (context-windows.mjs, window-bridge.mjs, api-actions.mjs) without double-wrapping window.fetch
- Surface an SSH badge in TopSessionHeader, cleanly flush stale requests/queues on endpoint rebind, rebuild app.js/styles.css, and add 13 unit/E2E tests in test/ssh-remote-endpoints.test.mjs (157/157 passing)
2026-11-20 11:41:39 +08:00
fish 2c211f67cc feat(panel): add Native Swarm mode compatibility and distinct worker telemetry
- Guard conversation_parents against forked Swarm Workers (subagentSpec or trajectoryType != 22) and selectively decode CORTEX_STEP_TYPE_SYSTEM_MESSAGE (step_type = 101) for child trajectories only
- Parse swarm, post_message, read_board, and swarm_wait tool calls, split zero-human-turn worker trajectories on initial brief / @mention / cron wakeup boundaries, and downgrade swarm_wait parked workers from RUNNING to IDLE ('waiting') while surfacing killed workers ('killed')
- Scan brain/<id>/.system_generated/swarm/members.json with mtime+size memoization, sort workers chronologically, assign independent swarm_worker ordinals (蜂k / Wk) separate from standard subagents (子k / Sk) and side questions (问k / Qk), and preserve 100% of worker token/USD billing
- Render Swarm counts, titles, scrollable sorted live worker lists, and one-shot auto-focus when navigating host routes to /c/<worker-uuid>, backed by E2E and binary SQLite tests
2026-11-19 09:36:05 +09:00
fish 955dfeebb7 fix(panel): auto-provision Desktop shortcuts and add out-of-job 1-click host relaunch for 2.33.0+
- Add cross-platform desktop launcher manager (backend/desktop-launcher-config.mjs):
  automatically appends --remote-debugging-port=0 to user Desktop (including OneDrive),
  Start Menu, Taskbar pinned, and Startup Antigravity.lnk shortcuts plus existing
  HKCU Run entries on Windows and XDG .desktop launchers on Linux, with clean rollback
  when switching back to Sidebar Only mode
- Remove ineffective Desktop argv.json provisioning (Electron Desktop 2.33.0 does not
  read argv.json) while retaining ~/.antigravity-ide/argv.json for Antigravity IDE
- Add POST /api/bridge/relaunch (with hot-reload POST /api/settings fallback) using
  Shell.Application (-Sta + UTF-8 BOM .ps1) on Windows to break out of the host Job
  Object, exit tray instances, clean up stale DevToolsActivePort files, sanitize host
  environment variables, and relaunch with --remote-debugging-port=0 (plus open -a /
  nohup support on macOS and Linux, and live running-process path discovery across drives)
- Surface dismissible BridgeStatusNotice banner directly at the top of App.js alongside
  Settings tabs so users can activate topbar/composer mounting in one click

Closes #26
2026-11-18 21:42:21 +09:00
fish a954a98080 refactor(panel): extract sqlite/wire primitives, localize charts & structured status, and unify overlay/mock-dom (P2) 2026-11-18 18:46:53 +09:00
fish 1459240751 refactor(panel): complete shared single-source rules, isolate per-module bundle scopes, and purify scoped selector 2026-11-18 17:05:47 +09:00
fish 67e2f047dd perf(panel): isolate host main.mjs startup, fix standalone CLI args, and close P0 audit bugs 2026-11-18 15:01:43 +09:00
fish 1ff1c128a8 refactor(panel): unify settings and bridge contracts, prune dead code, and rename trajectory metrics
- Share settings normalization and window-bridge protocol contracts across frontend and backend
- Encapsulate trajectory cache accessors inside config.mjs and validate bundle imports/syntax before writing
- Remove dead selectors, unused symbols, duplicate re-export imports, and unmounted account tab instantiation
- Rename speed-metrics.mjs to trajectory-metrics.mjs and audit-fixes.test.mjs to cross-module-regressions.test.mjs
2026-11-17 20:00:50 +09:00
fishandorbitoo dba3473494 feat(panel): add hybrid SQLite+WAL reader, side-question dedup, and cache throttling
- Read local conversation_summaries.db and <id>.db (+ .db-wal composite signatures) first while falling back to RPC when local DBs are absent
- Deduplicate cloned parent steps and gen_metadata across forks and Side Questions, render zh/en Side Question badges, and protect mainline context watermarks
- Throttle trajectory_usage_cache.json writes to 30s during RUNNING sessions and flush immediately on IDLE or exit
- Add phased pricing for gemini-4-argon-b and gemini-4-argon-trial, and suppress false upstream update prompts on custom GitHub forks

Co-authored-by: orbitoo <elbertoo001@gmail.com>
2026-11-17 17:37:19 +09:00
fish 64e13f5cfe feat(pricing): support time-phased model pricing for promotional periods 2026-11-17 16:41:02 +09:00
fish 3b36ade911 feat(panel): add worker hot-reload, sticky bridge lease, custom token combos, trimmed model IDs, and adaptive popover width
- Isolate SidecarApp /api/* backend runtime inside a hot-swappable Worker thread (sidecar-worker.mjs) with 3s disk-drift detection and queued request handoff so live plugin updates never drop the host-assigned SidecarApp port
- Persist and reuse sticky loopback bridge port/token leases across bridge-daemon and worker reloads, pre-bind the bridge server on boot, allow /api/cache/rebuild on the bridge, and self-heal poisoned CDP fallback states back to HTTP
- Add billing-aligned In / Out / Cache (tokens_io_cache) preset with per-segment USD hover breakdown and custom format DSL (tokens_custom + stepTokenComboFormat, e.g. context:new:cache, in:out:cache)
- Add 3-way model name format (short / upstream / upstream_compact) stripping gemini-, claude-, and gpt- prefixes while protecting compaction suffixes from ellipsis truncation
- Add adaptive content-fit popover width (auto up to viewport bounds on wide step tables) alongside custom fixed width (440-1080 px)
2026-11-16 16:55:56 +09:00
fish cd841b55cf feat(panel): add inline CLI statusLine capsule, step speed color toggle, and refined defaults
- Auto-provision native Antigravity CLI `statusLine` (`stack_with_default: false`) in `~/.gemini/antigravity-cli/settings.json` while strictly preserving custom third-party `statusLine.command` scripts, using zero-double-quote Windows commands compatible with Go `syscall.EscapeArg` under `cmd /c`
- Add `cli-statusline.mjs` and `cli-statusline-config.mjs` to render a single-line transparent 24-bit ANSI footer (`? for shortcuts` left, live multi-session & 1..5 capsule metrics centered, deduplicated `mode · model · effort` right) with responsive narrow-terminal fallbacks and `stdin` quota fallback
- Persist `cli-status-snapshot.json` during telemetry builds and self-heal sidecar restarts inside `executeTelemetryAction` error paths when `computeRuntimeCodeVersion()` advances
- Add `enableCliStatusLine` and `showStepSpeedColor` preferences in Settings -> Structure, rename the mount sub-tab/section label in `zh-CN` to `挂载胶囊`, set default `topbarCapsuleSlots` to `['tps', 'ttft', 'context']`, and default `showStepTurnRail` and `showStepSpeedColor` to `false`
- Add unit and end-to-end tests across `backend.test.mjs` and `window-bridge.test.mjs`, and update `README.md` / `README.zh-CN.md`
2026-11-16 14:00:05 +09:00
fish 76669d5cc7 feat(panel): add standalone Web monitor mode and full Antigravity CLI 1.5.9 telemetry support
- Add zero-SDK standalone HTTP server (`standalone.mjs` / `standalone-server.mjs`) with responsive centered Web shell, `127.0.0.1` default loopback guard, mandatory `--token` enforcement on non-loopback binds (`HttpOnly; SameSite=Strict` cookie + `Bearer` auth), and optional background auto-hosting via `standalonePort` / `USAGE_MONITOR_STANDALONE_PORT`.
- Extend multi-root data discovery across `~/.gemini/antigravity` and `~/.gemini/antigravity-cli`, plus `daemon/hub_*.json` and `/proc` + `ss` Language Server endpoint discovery on minimal headless Linux hosts without `lsof`.
- Add read-only `node:sqlite` + lightweight protobuf wire reader (`cli-sqlite-reader.mjs`) to recover CLI session titles (`annotations/*.pbtxt` & `conversation_summaries.db`), nanosecond request duration/TPS, native TTFT, thinking/response token split, 10-channel context breakdown, and `Antigravity CLI` source attribution.
- Add regression tests (124 passing) and bilingual CLI / SSH tunnel / `--token` documentation in `README.zh-CN.md` and `README.md`.

Closes #18
2026-11-16 02:28:34 +09:00
fish 8968e03adb perf(panel): add incremental step transport, memoized aggregation, atomic cache writes, and hidden-view gating
- Project display-only step fields in /api/telemetry, skip unchanged step payloads via stepRevision, coalesce identical client refreshes, and share in-flight backend trajectory scans across same-account requests
- Reuse normalized step values and memoize up to two range aggregations in usage-aggregator gated by step timestamps, pricing revision, model overrides, timezone, and source identity; cache per-trajectory model facts and single-agent step preparation via WeakMap/WeakRef
- Persist trajectory checkpoints atomically in trajectory-cache-file.mjs via chunked writevSync + renameSync while reusing serialized step byte slices for unchanged conversations
- Render step turn-rail lines/dots via CSS pseudo-elements, allocate speed-reason nodes on demand, short-circuit unchanged table reconciliations, and cache per-series LOESS publication fits in SessionStepCharts
- Gate DOM updates and timers across closed overlay panels, hover popups, inactive settings tabs, and unchanged ConsumptionView payloads
- Distinguish canceled steps (CORTEX_STEP_STATUS_CANCELED) and untimed compaction steps from generic incomplete timing in speed-metrics and bilingual i18n labels
2026-11-15 23:33:08 +09:00
fish ff2470481f feat(panel): Antigravity IDE & composer mount, modular preferences, session charts, and per-model context windows (v1.5.0) 2026-11-15 15:25:45 +09:00
fish 18c608ae63 feat(panel): modularize 3-tab preferences, add model context windows, and optimize telemetry
- Refactor Preferences into decoupled General, Structure, and Other tabs with unified settings schema, factory reset, and trajectory cache rebuild endpoints
- Extract standalone widget, metric, and step-table column registries to customize topbar/composer slots, hover popup modules, live overview layout, and step detail columns
- Add bilingual zh-CN/en-US i18n dictionaries, theme accent presets, and font scale controls across Shadow DOM overlay and sidebar views
- Support per-model host-advertised context window rules across App and IDE transports
- Preserve CLEARED step generation timings, memoize per-poll model resolution, optimize LOESS sorted-x fitting, and update bilingual READMEs and test suites
2026-11-15 01:18:29 +09:00
fish ad33e9cc62 feat(panel): restore IDE mount compatibility, add composer dock mode, and refine chart tooltips 2026-11-14 20:49:00 +09:00
fish 3b2f19150e feat(panel): 3-tier update modes, topbar update prompt, and Gemini Hydrogen & Helix support (v1.4.4) 2026-11-11 23:41:45 +09:00
fish e1da514515 feat(panel): dual-mount topbar capsule, live multi-session HUD, and customizable topbar metrics (v1.4.3) 2026-11-11 17:31:42 +09:00
yuhuan2498281558 551eeb35c3 feat(release): v1.4.0 cloud pricing sync, one-click plugin update, and UI copy refresh 2026-11-03 14:28:56 +09:00
yuhuan2498281558 9e69227beb feat(panel): support independent Gemini 4 Argon quota pool for Pro accounts 2026-10-30 21:39:58 +09:00
yuhuan2498281558 9af5fc7446 fix: preserve unknown model identity and pending costs 2026-10-16 18:30:59 +08:00
yuhuan2498281558 10a002afbe feat(panel): upgrade modular dashboard UI, 6-segment context meter, and consumption analytics 2026-10-15 19:02:53 +09:00
yuhuan2498281558 20df69b73b feat(metrics): add guarded response-phase estimates and scoped averages 2026-10-15 05:25:19 +08:00
yuhuan2498281558 d811a995ad feat(diagnostics): observe live state updates without changing TPS 2026-10-15 05:00:20 +08:00
yuhuan2498281558 33c7b88a49 fix(metrics): separate answer estimates from request throughput 2026-10-15 03:39:58 +08:00