feat(panel): add hybrid SQLite+WAL reader, side-question dedup, and cache throttling

- Read local conversation_summaries.db and <id>.db (+ .db-wal composite signatures) first while falling back to RPC when local DBs are absent
- Deduplicate cloned parent steps and gen_metadata across forks and Side Questions, render zh/en Side Question badges, and protect mainline context watermarks
- Throttle trajectory_usage_cache.json writes to 30s during RUNNING sessions and flush immediately on IDLE or exit
- Add phased pricing for gemini-4-argon-b and gemini-4-argon-trial, and suppress false upstream update prompts on custom GitHub forks

Co-authored-by: orbitoo <elbertoo001@gmail.com>
This commit is contained in:
fish
2026-11-17 17:37:19 +09:00
co-authored by orbitoo
parent 64e13f5cfe
commit dba3473494
19 changed files with 3406 additions and 656 deletions
@@ -10,6 +10,7 @@ import { i18nStore, t } from '../../i18n/index.js';
import { createSvgIcon, patchSvgIcon } from '../../icons/SvgIcon.js';
import {
fetchTelemetry,
formatAgentBadgeText,
normalizeClientUpdateMode,
telemetryStore,
triggerPluginUpdate,
@@ -240,7 +241,7 @@ export const TopSessionHeader = defineComponent({
} else if (isRunning) {
const runningAgent = (telemetry?.activeConversation?.agents || []).find((a) => a.isRunning);
const runSuffix =
hasSubagents && runningAgent ? ` · ${runningAgent.badgeText || runningAgent.shortLabel}` : '';
hasSubagents && runningAgent ? ` · ${formatAgentBadgeText(runningAgent)}` : '';
patchSvgIcon(statusIcon, 'bolt');
patchText(statusText, t('header.statusGenerating', { suffix: runSuffix }));
patchClasses(statusTag, {