Commit Graph
128 Commits
Author SHA1 Message Date
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 71fc7d5279 feat(panel): add timing breakdown hover tooltip on TTFT and duration cells 2026-11-21 16:02:43 +09:00
fish 112566aa76 feat(panel): support Opus 5.5 Orchestrator and Neon/multi-model execution workers 2026-11-21 14:40:07 +09:00
fish 112599ec55 chore(release): bump version to v1.5.4 2026-11-21 13:47:06 +09:00
fish 328e8cd74e feat(panel): upgrade consumption rankings, pointer-following breakdown popovers, full session search, sortable steps, and settings backup 2026-11-21 13:45:29 +09:00
fish 0401868be0 Merge pull request #34 from yuhuan-dev/release/v1.5.3
feat(panel): SSH remote windows support, Orchestrator (Neon) recognition, and panel UI polish (v1.5.3)
2026-11-21 01:03:24 +09:00
fish b87541e560 chore(release): bump version to v1.5.3 2026-11-21 00:44:12 +09:00
fish 6411e49ac4 feat(panel): unify token breakdown order and flatten tooltip cards 2026-11-21 00:41:53 +09:00
fish 55320df9b7 feat(panel): graduate Modern UI as default, default language to system, and fix 5h quota boundary 2026-11-20 23:29:56 +09:00
fish ab4caf39a6 Merge pull request #33 from juju812/fix/macos-relaunch-pgrep-ancestors
fix(panel): include ancestor processes in macOS relaunch pgrep/pkill
2026-11-20 19:53:10 +09:00
fish 481f383763 feat(panel): polish compaction row popover, pill selects, steps header, scrollbar, and chart tooltips
# Conflicts:
#	sidecars/panel/index.html
2026-11-20 16:35:18 +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
juju812 f1222be4b3 fix(panel): include ancestor processes in macOS relaunch pgrep/pkill
On macOS, BSD pgrep and pkill exclude ancestor processes by default unless
-a is passed. Because the detached relaunch shell is spawned from the
sidecar under Antigravity, pgrep -x and pkill -x silently missed the
running host process, causing open -a --args --remote-debugging-port=0 to
fire before the old instance exited (or while it was still running).

Use pgrep -ax and pkill -{TERM,KILL} -ax, and add a brief 0.4s pause after
process exit so LaunchServices finishes deregistering before relaunch.
2026-11-20 15:30:06 +08:00
fish 168c2b1536 Merge pull request #29 from juju812/main
feat(panel): support SSH remote windows with per-endpoint isolation a…
2026-11-20 16:19:26 +09:00
hejun01 a12de91bb1 feat(panel): extract Swarm title, kill state, and parked status via pure RPC for SSH windows 2026-11-20 12:05:17 +08: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 d371dc1ed5 chore(github): add bilingual issue forms and focused PR template 2026-11-20 01:44:36 +09:00
fish f53f27927f Merge pull request #28 from yuhuan-dev/release/v1.5.2
feat(panel): Native Swarm mode, experimental modern UI, proportional consumption charts, and virtualized step table (v1.5.2)
2026-11-19 23:59:25 +09:00
fish 4f37b6e2d0 chore(release): add runtime-only whitelist ZIP packager, harden Windows ZIP extraction, and update install docs 2026-11-19 23:54:33 +09:00
fish 88abdaf56e fix(panel): drop decimals at >=100s, round segmented context bar, and suppress card title over anomaly tip 2026-11-19 23:29:56 +09:00
fish e93f1bc0ad feat(panel): add single-line top models to client sources and fast scope=conversation session switching 2026-11-19 23:16:01 +09:00
fish 4a4e483209 feat(panel): add step anomaly diagnostics, >=100 tok/s integer speed formatting, and capsule alignment fix 2026-11-19 22:28:39 +09:00
fish dfba5ead7b fix(panel): add popup collision clamping and modern-ui capsule odometer 2026-11-19 20:37:48 +09:00
fish c998a81330 perf(panel): instant consumption time-range switching via pruned scope API and client preset cache 2026-11-19 20:03:05 +09:00
fish 5c37e40822 fix(bridge): harden Windows UAC/HKLM, Linux desktop/AppImage, and macOS relaunch for 2.33.0+ 2026-11-19 18:43:33 +09:00
fish 56844550f0 perf(panel): virtualize large step tables and optimize steps view switching and LOESS fit 2026-11-19 16:40:04 +09:00
fish 809bf0413b fix(panel): prevent stale telemetry polls from reverting saved settings and avoid blocking forced reload 2026-11-19 15:18:42 +09:00
fish 367ca0cd6d feat(panel): add experimental modern UI, sliding switchers, cycle range, and fluid animations 2026-11-19 15:05:27 +09:00
fish 70629dcd74 feat(panel): scale consumption bars by share percentage and unify 20-color deterministic model palette
- Scale Top Models and Client Sources horizontal bars by actual share percentage instead of always filling 100%, keeping Overview at 100%
- Add zero-hardcode deterministic 20-stop perceptual color ring (FNV-1a + Murmur3 with natural-slot reservation) so identical models receive consistent distinct colors across machines and sections
- Aggregate per-model breakdowns across Client Sources, Monthly Breakdown, and active Usage Trend buckets, folding <1.5% long-tail models into neutral 'Others (N)'
- Add per-model color dots after Top Models names, expand Usage Trend SVG height to 184px (and heatmap cell floor to 11px), and render unified model breakdown hover popovers across Usage Trend, Client Sources, and Monthly Breakdown
2026-11-19 10:43:31 +09:00
fish 88b7182906 chore(release): bump version to v1.5.2 2026-11-19 09:37:42 +09: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 352d6bdfef fix(panel): harden cross-environment 2.33.0+ launcher coverage with zero-subprocess fast path and on-demand UAC
- Add pure Node.js [MS-SHLLINK] raw-byte fast probe (`probeWindowsShortcutsFast`) so steady-state startups and 15-minute background rechecks run in <20ms with zero subprocesses, zero COM calls, and zero recursive folder traversal into Desktop subdirectories or unrelated Start Menu vendor folders
- Restrict Windows shortcut scanning to top-level Desktop / OneDrive Desktop / Taskbar / Startup `.lnk` files and `Programs\Antigravity*`, pre-filtering raw bytes before lazily instantiating `WScript.Shell` COM
- Patch exact O(1) user-space `HKCU\Software\Classes` launch keys (`antigravity` protocol, `Applications\Antigravity.exe`, `AntigravitySourceFile`) via `.NET` `Registry.CurrentUser` with `--remote-debugging-port=0` placed before `-- "%1"`, resolve `%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe` explicitly, and tolerate inaccessible folders without aborting
- Support All-Users read-only public shortcuts (`readOnlyPaths`) and elevated old host processes via user-consented `-Verb RunAs` on 1-click relaunch while preserving WMI `Win32_Process.Create` when already elevated and de-elevating via `Shell.Application` when the original host ran unelevated (preserving Explorer drag-and-drop)
- Generalize Linux `.desktop` `Exec=` patching for `env` prefixes and `Antigravity-*.AppImage`, add pure `node:fs` `/proc` executable discovery, gate launcher checks behind leader lease acquisition, and differentiate macOS / read-only shortcut notices honestly in `BridgeStatusNotice`
2026-11-19 09:36:05 +09:00
fish 4efdd0a4ce chore(pricing): add Gemini 4 Neon pricing catalog entries 2026-11-19 09:24:49 +09:00
fish 3579e53a6e Merge pull request #25 from yuhuan-dev/release/v1.5.1
feat(panel): hybrid SQLite+WAL trajectory reader, side-question views, time-phased promo pricing, and architecture cleanup (v1.5.1)
2026-11-18 22:24:32 +09:00
fish d665fb0c34 fix(panel): harden 2.33.0+ context window override injection and pending-restart status
- Inject backend pre-resolved MODEL_* fallback rules into syncHostContextWindows so
  context window overrides remain active even when window.__APP_CONFIG__.csrfToken is
  omitted, and extend request interception to cover StartCascade, URL inputs, Uint8Array
  JSON bodies, and application/connect+json 5-byte envelopes
- Trigger shortcut/launcher provisioning on modelContextWindows updates and surface the
  context-mode BridgeStatusNotice banner in App.js even when windowMountMode is 'sidebar'
- Show explicit '待重启生效' / 'Pending Restart' meta badge in SettingsOtherTab model
  dropdown and reveal ctxBridgeNotice immediately upon unlocking when CDP is inactive

Closes #27
2026-11-18 22:08:39 +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 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 612f57fbcb fix(panel): preserve sessions and global usage on account switch while isolating quota pools per step 2026-11-18 13:52:16 +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 dca767e8ad feat(context): add 384k (384,000 token) context window preset option
Closes #24
2026-11-17 20:21:56 +09:00