12 Commits
Author SHA1 Message Date
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 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 424ac73489 perf(panel): optimize P1 hot paths and consolidate P2 shared primitives 2026-11-23 16:21:39 +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 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 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
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 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 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 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 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
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