Commit Graph
33 Commits
Author SHA1 Message Date
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 935eb001ca fix(panel): auto-provision Desktop argv.json and surface CDP bridge diagnostics for 2.33.0+ (Refs #26) 2026-11-18 20:11:31 +09:00
fish 1602897178 fix(panel): remove 0.9x zoom distortion on structure previews and align capsule font/mock schema 2026-11-18 13:13:00 +09:00
fish c948126c96 fix(panel): prevent top pill nav overflow in narrow sidebar via minmax(0, 1fr) and @container stages 2026-11-18 12:56:51 +09:00
fish 336f9ddd55 style(panel): remove redundant window control dots from capsule preview bar 2026-11-18 12:50:33 +09:00
fish 6a7a338e17 fix(panel): preserve post-compaction context breakdown, fit 100% capsule slot, and align compact badge accent 2026-11-18 12:41:32 +09:00
fishandSwei d4d359bc89 feat(panel): refine macOS overlay geometry, port discovery, font tokens, and LF bundling
Co-authored-by: Swei <sweilo@qq.com>
2026-11-17 22:30:01 +09:00
fish 96bf0c049f fix(panel): eliminate tooltip and highlight flicker across heatmap cell gaps 2026-11-17 21:31:18 +09:00
fish b9cd1225e7 fix(panel): make font-scale visibly resize all tables/charts and raise readable base sizes
- Raise base typography tokens (data tables to 12.5px, body/titles to 13px) above CJK 12px floor and widen lg (1.14x) / xl (1.28x) scale steps
- Replace 19 hardcoded px font-size rules across tables, charts, tooltips, heatmaps, and monthly bars with scalable --fs-* tokens
- Bind [data-font-scale] directly in CSS and mirror onto Shadow DOM overlay panels without colliding with :host defaults
- Convert rigid control/row pixel heights to scalable min-heights and scale floating panel base widths on lg/xl
2026-11-17 20:55:06 +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
fish 4670dd0a0e fix(panel): replace native width input, fix select menu open reflow, and gate context window settings behind risk consent
- Replace native <input type="number"> in popover width settings with CustomNumberInput stepper and hide native number spinbuttons globally
- Eliminate single/multi-select option reflow on open by removing scale(0.985) GPU layer teardown in anim-popover-in, floating .scrollbar-rail without flex width squeeze, and reconciling options before unhiding .select-menu
- Gate Model Context Settings behind a persistent risk consent mask (contextWindowRiskAccepted, default false and re-locked on factory reset)
2026-11-16 18:10:31 +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 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 73f637a3e6 feat(panel): add 3rd-level structure menu, real-UI live previews, drag reorder, and unified capsule tones 2026-11-15 20:01:57 +09:00
fish 6517ee434e fix(panel): add semantic speed/cache color tiers and clean up overview metric subtexts 2026-11-15 18:53:43 +09:00
fishandSwei 228031e335 feat(panel): add conversation turn rail, prompt preview, and decoupled step toggles
- Track user input turn boundaries and prompt previews in extractModelSteps while stripping compaction summary headers
- Align interleaved main and subagent steps onto unified rootTurnIndex in telemetry-builder and scope lazy cache refresh to the active session family
- Render dynamic left-edge turn rail and viewport-clamped prompt tooltip in StepsDetailView across arbitrary custom column orders
- Decouple [主]/[子] agent badges from step index and add independent switches for Turn Rail and Agent Badge under Preferences -> Structure

Co-authored-by: Swei <sweilo@qq.com>
2026-11-15 16:55:26 +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
fish 8ac5da8d11 feat(panel): live task cards, interactive usage trend chart, and Gemini 4 Carbon support (v1.4.2) 2026-11-11 01:06:31 +09:00
yuhuan2498281558 4b3b745598 feat(panel): subagent monitoring and 10-channel context window (v1.4.1) 2026-11-07 23:24:32 +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 10a002afbe feat(panel): upgrade modular dashboard UI, 6-segment context meter, and consumption analytics 2026-10-15 19:02:53 +09:00
yuhuan2498281558 04467b97ad fix(metrics): unify request TPS and reject unreliable timing 2026-10-15 04:26:32 +08:00
yuhuan2498281558 33c7b88a49 fix(metrics): separate answer estimates from request throughput 2026-10-15 03:39:58 +08:00
yuhuan2498281558 44386f38d8 fix(panel): eliminate buffered tool-call speed spikes, add per-step cost column and full step history scroll 2026-10-14 15:42:19 +08:00
yuhuan2498281558 e02ddccc70 feat: add session & account total consumption cards with time filtering and full history discovery 2026-10-14 13:04:55 +08:00
yuhuan2498281558 25276f47ba feat(ui): add interactive spinning & status feedback for refresh button and add release zip guide 2026-10-14 03:54:43 +08:00
yuhuan2498281558 40c4ea9f1b feat: real-time tok/s speed & official 5h/weekly quota monitor plugin 2026-10-14 03:39:01 +08:00