mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-08-22 15:05:16 +00:00
Two more surfaces adopt the resident-serve pattern the desktop app got: - Web dashboard: every period tab is prefetched sequentially right after startup, so the first click on 7d/30d/Month answers from the payload cache instead of paying a full parse; stale-while-revalidate rebuilds behind a served payload past 75% of the TTL so expiry never lands its multi-second parse on a user's click. Lifetime prefetches last. - Menubar: ServeConnection (Swift actor) holds one codeburn serve --stdio child; status payload fetches route through it once warm, with the same contract as the app client — cold start and every failure keep the spawn path, three child deaths disable serve for the run, requests time out by killing the child, app termination shuts it down, and a pre-serve CLI (0.9.19) simply dies into permanent spawn fallback, so mixed-version installs degrade gracefully. swift build clean, swift test 156/156, CLI tsc clean; verified live with both the Electron app's and the menubar's serve children resident and answering. |
||
|---|---|---|
| .. | ||
| Data | ||
| Security | ||
| Theme | ||
| Views | ||
| AppStore.swift | ||
| AppVersion.swift | ||
| CodeBurnApp.swift | ||
| CurrencyState.swift | ||
| MenubarScope.swift | ||
| RefreshCadence.swift | ||
| StatusItemContextMenuPolicy.swift | ||