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
@@ -313,7 +313,9 @@ export const ContextWindowWidget = defineComponent({
const activeBadgeText = isEnglishLocale()
? rawActiveBadge === '主'
? t('fmt.mainBadge')
: rawActiveBadge.replace(/^子(\d+)$/, (_, n) => t('fmt.subBadge', { index: n }))
: rawActiveBadge
.replace(/^子(\d+)$/, (_, n) => t('fmt.subBadge', { index: n }))
.replace(/^旁(\d+)$/, (_, n) => t('fmt.sideBadge', { index: n }))
: rawActiveBadge;
const pillItems = [