Commit Graph
100 Commits
Author SHA1 Message Date
fish 8a01705e6f feat(panel): add Antigravity host UI localization and language packs
- Add standalone host-i18n language pack manager with GitHub/jsDelivr
  download, SHA-256 integrity checks, offline light/deep tier switching,
  and lossless DOM translation over the CDP window bridge
- Add Settings -> General host interface language controls, untranslated
  UI string collector, and loopback-only /api/host-i18n endpoints
- Include zh-CN layered language pack assets and source/audit/build scripts
  under host-i18n/ while keeping the Release ZIP runtime whitelist isolated
2026-11-25 13:38:23 +09:00
fish 5565133710 fix(panel): align floating task panel font and spacing with sidebar
- Mirror host --font-sans/--font-mono onto portalHost before native theme
  early-return so Shadow DOM overlays inherit host fonts instead of falling
  back to narrower system defaults
- Reset font-weight, font-stretch, font-variation-settings,
  font-feature-settings, and letter-spacing on portalHost and panel root,
  and enable :host([data-font-scale]) token scaling
- Align multi-session floating panel width (522px), card row gap (7px),
  header baseline, Modern UI last-child bottom padding, and right-side
  elapsed spacing with the sidebar task card
2026-11-25 13:18:21 +09:00
fish fd9948f9ac fix(panel): parallelize IDE chat route probing and deduplicate DOM probe
- Probe multiple IDE chat iframes concurrently with a 1s timeout cap and AbortSignal early-abort once a focused visible view resolves, preventing hanging iframes from stalling window sync
- Deduplicate DOM route extraction across probeExpr and ideChatRouteProbeExpr via buildDomRouteCascadeIdSnippet and enforce Node-side UUID validation before syncing host routes
2026-11-25 03:56:27 +09:00
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 b6fafcd9f5 feat(panel): refine session picker, summary cards, and curve dots
- Declutter session dropdown rows by moving workspace tags to search and hover tooltips, compacting inline UUIDs and multi-agent step counts, separating the auto-follow option, and aligning right-hand step columns
- Align StepsDetailView model summary cards with ConsumptionView breakdown rows using share pills and right-aligned call counts, and restyle the session anomaly strip with a status dot and neutral pill tags
- Replace baseline anomaly rug ticks in SessionLineChart with borderless on-curve spline dots backed by anomaly-aware downsampling and exact cubic y-evaluation
- Compact the second row of ConsumptionView overview metrics by removing redundant sub-captions and matching the top-row label-over-hero-number hierarchy
2026-11-25 03:42:34 +09:00
fish 7a3e71a0e4 fix(panel): adapt dense step splines and animate multi-model switches
- Add peak-preserving width-adaptive step spline downsampling (~2.1px/vertex, 128-256 points) with crisp 1.45px dense strokes so multi-thousand-step sessions remain readable while retaining exact summary stats, peaks, and anomaly ticks
- Preserve the full union of source and target knots during cubic-Bezier morphing and align multi-series spline tension so curves >96 segments never skip peaks or jump on completion
- Hand off morph state across single-model, pooled-all, and multi-model comparison modes and animate newly checked models rising smoothly from the baseline in both step line and LOESS fit charts
2026-11-25 03:42:34 +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
fish b9dc2b960c feat(panel): add 4-mode LED matrix switcher to usage heatmap
- Replace the static daily hint on >90d usage heatmaps with a Day / Week / Month / Total segmented switcher while keeping the 7xW grid geometry fixed in-place
- Render bottom-up proportional LED bars for weekly, monthly, and cumulative views with aggregated per-model breakdown tooltips and click-to-drill-down
2026-11-24 20:14:32 +09: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 1692599fd8 fix(panel): remove range-switch font flicker and simplify rate popover
- Drop transparent-container opacity animations on ConsumptionView and TrendAreaChart range switches that forced DirectWrite grayscale AA transitions, and pool trend X-axis ticks, grid lines, and heatmap cells in-place
- Remove the redundant weekly quota summary row, internal hairlines, and bottom note from the QuotaPoolsWidget empirical burn-rate popover
2026-11-24 19:23:38 +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 4da6420ac1 fix(panel): restore missing i18n keys and localize en-US trend/CSV dates
- Add header.scopeAll and header.scopeAllShort in zh-CN and en-US and align StepTableWidget cost width estimation with formatUsd
- Format trend chart hover titles, x-axis tick tooltips, and CSV summary/trend rows per active locale instead of hardcoded Chinese date labels
- Add static t(...) key completeness and bilingual trend/CSV regression checks
2026-11-24 15:25:07 +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 49fe0b3457 fix(panel): disable click-to-jump on project ranking rows 2026-11-24 03:05:10 +09:00
fish 49e346c0ca fix(panel): eliminate hover flicker in monthly chart and breakdown rows
- Replace the 3px .monthly-grid column gap with zero-gap column padding and hand off hover across adjacent active months without hiding or restarting the popover fade-in
- Wrap the progress bar and model-name footer inside a single .cons-source-hover-zone across client sources, project ranking, and session ranking so crossing the vertical gap keeps the popover and highlight steady
2026-11-24 02:59:32 +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 b76a5889ca fix(panel): eliminate virtual-scroll column jitter in step table
- Lock measured thead column widths with table-layout: fixed once virtualized rows mount, preserving horizontal scroll min-width on narrow viewports and unlocking automatically on layout, sort, locale, font-scale, or sizer changes
- Fix buildColumnSizerSpec tokPerSec scoring bug and improve proportional width estimation across badges, models, timing, pending pricing, and bold first-column rows
- Enable tabular-nums on .data-table cells to prevent sub-pixel width drift between digits
2026-11-24 02:12:28 +09:00
fish f7ed2e0aa8 fix(panel): refine context risk warning layout and prevent settings header status overlap
- Collapse locked context controls out of flow so the initial risk notice fits cleanly without extra vertical void or blur bleed, and soften the Modern UI notice and danger-confirm button surfaces
- Lock settings panel header titles to flex: 0 0 auto and single-line truncate long status feedback (such as exported JSON paths) with hover tooltips
2026-11-24 01:52:35 +09:00
fish b57c5d5987 feat(panel): filter family-group and external usage from quota reservation 2026-11-24 01:34:39 +09:00
fish 942a09ab8e docs(readme): refresh v1.5.4 screenshots and feature overview 2026-11-23 20:28:19 +09:00
fish be200ba8ab fix(panel): remove parenthetical reservation and remaining text from quota rows 2026-11-23 18:41:15 +09:00
fish f2fe19f8c3 Merge pull request #37 from yuhuan-dev/release/v1.5.4
feat(panel): cross-client session migration, CLI statusLine upgrades, project cost attribution, and Excel report export (v1.5.4)
2026-11-23 18:27:02 +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 fccc0dceee refactor(panel): remove step table row-click diagnostic drawer 2026-11-23 17:55:48 +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
fish 8b9fe3d92f fix(panel): format boundary 0.0% and 100.0% percentages as 0% and 100% 2026-11-22 21:51:55 +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 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 95a3c0c355 feat(panel): upgrade topbar quota ring indicators, unify structure previews, and polish quota panel 2026-11-22 17:39:00 +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 6da4d3479c feat(panel): add live step search, danger-tier diagnostic chips, and click-to-inspect step drawer 2026-11-22 11:44:56 +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 62037cb7de chore: ignore local engineering docs directory 2026-11-22 11:41:33 +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 0308c7bac7 style(panel): align session migration card with modern borderless UI and bespoke controls 2026-11-22 01:41:09 +09:00
fish 175768eaa8 fix(cli): align statusLine context percentage with compaction limit 2026-11-22 00:34:57 +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 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
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
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