Commit Graph
86 Commits
Author SHA1 Message Date
fish 4a4bad28ef Merge pull request #42 from Ya6e/fix/ide-dual-mode-route-sync
fix(panel): probe live IDE chat iframe DOM route in dual mount mode
2026-11-25 03:50:55 +09:00
fish de35e54589 refactor(panel): extract overlay anchors and consumption row builders
- Extract host anchor discovery, 4-stage capsule layout hysteresis, and ShadowRoot stylesheet mounting from WindowOverlayShell into overlayHostAnchors
- Extract reusable model, client-source, workspace, and top-conversation breakdown row builders from ConsumptionView into ConsumptionBreakdownRows
- Add root CHANGELOG.md and regression coverage for extracted P3 modules and export header documentation
2026-11-25 03:42:34 +09:00
fish e8616ab0c3 feat(panel): unify chart motion and preserve pending TTFT reel roll
- Extract shared chartMotion and stepChartMath modules to bring GPU 2D pointer-following tooltips, cached tooltip geometry, cubic curve/band morphing, and quantized hover hit-testing to Summary step/fit charts and AccountQuotaTrendCard
- Hide chart peak pills whenever all plotted values are zero and keep them hidden across hover and mouseleave transitions
- Hold the active conversation's last valid TTFT and mounted odometer digit reels while a new step's TTFT is still pending, and add @starting-style reel entry transitions
2026-11-25 03:42:33 +09:00
fish e520efe84e feat(account): add quota trend chart and multi-account risk gate
- Gate multi-account login, import, switch, backup quota polling, and vault controls behind explicit risk consent (accountSwitchRiskAccepted), restricting unaccepted sessions to active-account quota viewing
- Add collinear-compressed per-account quota history tracking and a full-bleed 184px AccountQuotaTrendCard supporting cycle, preset, all-time, and custom ranges with cycle-boundary pre-reset filtering and isolated impulse spike sanitization
- Unify Account tab controls onto shared SegmentedControl, CustomSelect, CustomDateTimePicker, .ctx-risk-mask, and global status/button primitives while removing bespoke .account-* CSS and balancing card padding
2026-11-25 03:42:33 +09:00
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
Ya6e 20bd48d363 fix(panel): probe live IDE chat iframe DOM route in dual mount mode 2026-11-25 01:04:43 +08:00
fish 02237692f7 feat(panel): add per-pool cycle filter and harden weekly reset anchors
- Add a compact inline quota-pool selector on ConsumptionView when Cycle is active, pre-bundling per-pool cycle slices for instant switching and scoping range labels in exports
- Classify >6h clientModelConfigs resetTime fallbacks as weekly anchors and advance usageRevision when official reset windows arrive or shift
- Deduplicate same-day and same-month date span badges (e.g. Nov 24, Nov 24 ~ 25)
2026-11-24 19:30:53 +09:00
fish 0b700d1f9f fix(panel): align bridge export body limits and cap Excel cell text
- Raise BRIDGE_MAX_EXPORT_BODY_BYTES to 12 MiB so 8 MiB Base64-encoded exports and verified __exportFileAction /api/settings fallbacks are not rejected with 413.
- Cap xlsxBuilder inline string cells at Excel's 32,767 UTF-16 code unit limit without splitting surrogate pairs and replace lone surrogates.
2026-11-24 16:13:42 +09:00
fish a5f9068f89 fix(panel): filter summaryless subagent DBs by real metadata tags
- Decode parentConversationId (fn 5), subagentSpec (fn 8), and nestingDepth (fn 17) in migratorDecodeMetaBlobLight instead of reading fn 9, and filter CORTEX_TRAJECTORY_SOURCE_SUBAGENT (source === 16) across summary and DB-fallback paths.
- Reject non-root subagent and side-question sessions (non_root_session) at the migrateSessions execution boundary and drop obsolete fn 8 string UUID replacement branches.
2026-11-24 15:48:18 +09:00
fish 173e21c607 fix(panel): harden SQLite ledger concurrency, LRU sizing, and recovery
- Preserve step detail_json and peer-appended rows during cold metadata flushes, slim-step spreads, and mixed-case UUID re-keying without triggering case-insensitive self-deletion
- Raise default hot session LRU limit to 64 and prime stepSigs during on-demand hydration to avoid cyclic read thrashing across 30-session quick stats plus active subagents
- Quarantine corrupt SQLite images to .corrupt.<ts> with automatic .json.bak recovery and defer latching loadedOnce until initial hydration succeeds
- Flush pending throttled endpoint caches on worker/standalone stop, isolate unscoped node --test runs from live user data, and transitively retain nested subagents and side questions on cache rebuilds
2026-11-24 15:04:14 +09:00
fish 030d894988 fix(panel): harden CloudCode proxy tunnels, pooling, and crash recovery
- Support SOCKS5/SOCKS5h (RFC 1928/1929 auth + IPv4/domain/IPv6 targets), authenticated HTTP/HTTPS CONNECT proxies, tunnel timeouts, and Windows <local>/wildcard NO_PROXY rules without mangling non-HTTP schemes
- Pool upstream TLS tunnels via a Keep-Alive HTTPS agent with explicit http/1.1 ALPN and hop-by-hop header stripping instead of re-handshaking per request
- Attach upfront stream and socket error guards across passthrough and rewrite paths and tear down active upstream requests immediately on client disconnect
- Persist sticky local proxy port and switched state in cloudcode-proxy-state.json to reuse ports across reloads and self-heal orphaned SetCloudCodeURL after unexpected exits
2026-11-24 14:37:49 +09:00
fish e4e597931d fix(panel): use native browser downloads for standalone web exports
- Gate /api/export-file and /api/reveal-file calls behind isHostEmbeddedWebview so standalone browser sessions invoke showSaveFilePicker or Blob downloads directly without expiring user activation
- Reject /api/export-file, /api/reveal-file, and __exportFileAction requests in standalone-server.mjs so ssh -L tunnels and local reverse proxies never write files or spawn xdg-open on the server host
2026-11-24 13:53:12 +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 8b025a969c feat(panel): detect and price built-in AI image generation steps
- Decode SQLite step_payload 140.2.6 (GenerateImage) and inspect 32KB PNG/JPEG/WebP headers across SQLite and ConnectRPC trajectories, auto-upgrading cached image-generator subagent entries
- Map Gemini 3.1 Flash Image, 3 Pro Image, and 2.5 Flash Image resolution tiers (0.5K/1K/2K/4K) and reference image inputs to Google AI Studio token counts and dedicated imageOutput rates
- Surface generate_image steps with true startedAt-to-completedAt duration and localized live activity labels while isolating text LLM TPS, TTFT, context window gauges, compaction inference, and exported report averages
2026-11-24 12:46:39 +09:00
fish 4fb7ec4958 feat(panel): add 3-tier weekly quota capacity and token estimates
- Add a 3-tier pool burn-rate estimator (rolling median calibration, Theil-Sen net-burn slope, and solo cycle ratio) with cross-reset priced token density tracking to derive full-pool USD and token capacities plus account-wide weeklyCapacityEstimate
- Render the Est. Weekly Quota summary banner, preliminary/partial badges, full-pool token equivalents, supplementary weekly fallback rows, and pool header capacity tooltips in QuotaPoolsWidget
- Coalesce multi-pool state persistence across 5h/weekly buckets, suppress post-refund idle replica rebounds, and clamp externalUsedPct to physical local-spend bounds
2026-11-24 11:24:45 +09:00
fish 7e6d11d7aa feat(panel): add sub-hour trend bucketing and smooth range switches
- Enforce strict window bounds on usage trends without 6-hour out-of-window padding, subdividing sub-2h intraday spans into 1m, 5m, and 15m slots with stepMs cache invalidation and minute export labels
- Morph SVG trend curves and areas continuously across varying slot counts via De Casteljau cubic Bezier knot subdivision, synchronized with peak pill glides, axis fades, and heatmap stage transitions
- Coordinate consumption range, tab, and sort switches with opacity crossfades and @starting-style progress bar width transitions while respecting prefers-reduced-motion
2026-11-24 04:41:26 +09:00
fish 2e1126a88f fix(panel): preserve context window breakdown after conversation undo
- Anchor unindexed (stepIndices: []) trailing generatorMetadata breakdowns to the prior generator watermark and backfill pre-compaction anchor steps without leaking onto compaction checkpoints
- Preserve matching historical step contextBreakdown entries and a compact 5-channel static baseline across trajectory rescans so deleting the tail generatorMetadata on undo no longer zeroes out channels
- Reconstruct missing context channels from step token deltas and the cached static baseline when no breakdown payload remains, with estimatedContextTokens fallback for zero-usage tail steps
2026-11-24 02:45:31 +09:00
fish b57c5d5987 feat(panel): filter family-group and external usage from quota reservation 2026-11-24 01:34:39 +09:00
fish 7c090d12fa fix(panel): composite breakdown popovers via GPU transform to prevent vertical jitter 2026-11-23 18:18:45 +09:00
fish 3db7312cda fix(panel): enforce remote RPC deadline/poll budget, cap Stage 2/3 fetches, and migrate empty-WAL signatures in-place 2026-11-23 17:40:29 +09:00
fish df72845071 feat(panel): add account-isolated per-model quota burn-rate estimator and hover popover 2026-11-23 16:21:40 +09:00
fish 39128de274 fix(panel): buffer lease reporting lag, extend lease residency TTL, and clear recovered pendingDrop 2026-11-23 16:21:39 +09:00
fish 424ac73489 perf(panel): optimize P1 hot paths and consolidate P2 shared primitives 2026-11-23 16:21:39 +09:00
fish 3a40bacc9d fix(panel): resolve P0 step inspector, V4 timing projection, harmonic speed merge, and UI cleanup bugs 2026-11-23 16:21:39 +09:00
fish c38869f8bd Merge pull request #38 from shis23/fix/remote-rescan-loop-and-empty-wal-sig
fix(panel): prevent empty .db-wal cache thrash and remote SSH timeout rescan loop
2026-11-23 11:58:00 +09:00
ss 615a387de8 fix(panel): ignore empty .db-wal mtime churn and throttle remote SSH trajectory rescan 2026-11-22 22:24:01 +08: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 6da6c75390 feat(panel): refine quota reservation estimator, tier 5x/20x badge, conditional argon_weekly slot, and chart markers 2026-11-22 20:59:02 +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 1b61ae0258 feat(panel): gate step search/filter toolbar behind default-off setting in Step Columns 2026-11-22 12:56:35 +09:00
fish eb8424d899 feat(panel): upgrade tabular exports to styled multi-sheet localized xlsx workbooks 2026-11-22 12:17:20 +09:00
fish a98fda8b44 feat(panel): add formula-safe CSV/Markdown export, compact vertical action menus, and local file export with reveal toast 2026-11-22 11:54:20 +09:00
fish 806d824b82 feat(panel): add project/workspace cost attribution, Projects ranking tab, and session project tags 2026-11-22 11:43:05 +09:00
fish 5aabbfb1fe feat(cli): add statusLine --style pill|bar|compact gauge modes and --json snapshot output 2026-11-22 11:41:34 +09:00
fish 7df9108692 fix(panel): allocate isolated UUIDs in session full-move mode to prevent cross-client mirror deletion 2026-11-22 03:24:10 +09:00
fish c6025704c1 feat(cli): upgrade statusLine context and quota gauges to 24-bit background pills 2026-11-22 03:23:07 +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 112566aa76 feat(panel): support Opus 5.5 Orchestrator and Neon/multi-model execution workers 2026-11-21 14:40:07 +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 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 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
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 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 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