feat(runtimes): add Runtimes tab with usage tracking and connection test

Add a new "Runtimes" sidebar tab to manage local agent runtimes with three
main capabilities: runtime status overview, token usage tracking (reading
Claude Code and Codex CLI local JSONL logs via daemon), and an interactive
connection test that sends a ping through the daemon to verify end-to-end
agent CLI connectivity.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jiayuan 2026-03-26 18:28:36 +08:00
parent 6fd0e2b319
commit 903fbee55d
24 changed files with 1773 additions and 9 deletions

View file

@ -0,0 +1 @@
DROP TABLE IF EXISTS runtime_usage;