15 Commits
Author SHA1 Message Date
musistudio b0d59afe08 Refactor routing configuration and improve provider support 2026-09-09 19:43:16 +08:00
musistudio a8d7038778 Add account filtering and range-aware tray activity widgets 2026-08-25 19:06:24 +08:00
musistudio f2360ac046 Merge branch 'main' into dev/3.1 2026-08-24 20:02:57 +08:00
musistudio 3ba195f893 Improve Claude Code router configuration and provider support 2026-08-19 17:19:07 +08:00
Burlesque1 cfb6aae248 fix(ui): truncate over-large JSON bodies in preview to avoid formatter worker crash
Large (>=256KB) JSON request bodies were fully JSON.parse'd and pretty-printed
in the body formatter Web Worker, which then crashed (memory/CPU) on huge object
graphs - surfacing "Body formatter worker failed." and sticking at
"Loading body...". Preview truncation only applied to non-JSON bodies.

Now, in preview mode, an over-length text body is truncated to a plain-text
preview (createLogBodyPreviewText) instead of being parsed/pretty-printed, so the
worker never chokes. Full formatting still runs in "full" mode.

The judge is the real body.text length, not sizeBytes (which may be inflated
metadata and should still render its JSON tree when lightweight).

Fixes #1694
2026-08-19 08:55:14 +00:00
musistudio 4344a2d6a7 Refactor routing configuration and improve provider support 2026-08-18 11:45:39 +08:00
musistudio 2a7aa9286b Update router configuration and provider handling 2026-08-11 16:15:53 +08:00
musi 8f0b2d91e5 Refactor routing architecture and update project structure 2026-07-29 09:30:04 +08:00
jesieleo 8ea1cd6e19 fix(electron): 避免运行状态轮询阻塞界面 2026-07-27 14:09:02 +08:00
camjac251 97d37fad04 fix(ui): preserve local usage bucket dates
Daily usage buckets represent local calendar dates, but standard date parsing
interprets their ISO-like form as UTC and shifts them in non-UTC time zones.
Parse date-only buckets directly in local time so heatmap totals stay on the
reported day.
2026-07-20 14:37:19 -04:00
musistudio ea35ed2eaa Add model summaries to request logs 2026-07-20 15:57:13 +08:00
musistudio 9fb8a89831 Update routing workflows and supporting configuration 2026-07-19 20:07:40 +08:00
musi 5b8f64160e Refactor router internals and update related integrations 2026-07-16 09:29:48 +08:00
musistudio adadb1679f Cache parsed request bodies and simplify routing traces 2026-07-15 15:31:38 +08:00
musi 2aa3529449 Refactor router internals and remove obsolete code 2026-07-15 06:39:29 +08:00