feat(webui): debug panel — action tester + live stream (Wave A3)
New Settings → 调试 tab (DebugPanel): an action tester (account picker + schema-driven form from /api/debug/actions, with a raw-JSON escape hatch for legacy actions, real-side-effect warning) and a live merged SSE view of OneBot events + action calls (pause / clear / kind filter, expandable JSON, drop marker). Typed debug API client domain (actions/invoke/stream over EventSource with ?token=). View layer — verified by tsc + vite build.
This commit is contained in:
6 files changed
+324
-2
No files matched your search
@@ -65,7 +65,7 @@ const logsRoute = createRoute({
|
||||
});
|
||||
|
||||
/** Settings sub-tabs — also the contract for the `?tab=` deep link. */
|
||||
export const SETTINGS_TABS = ['appearance', 'data', 'advanced', 'account', 'system', 'notifications', 'about'] as const;
|
||||
export const SETTINGS_TABS = ['appearance', 'data', 'advanced', 'account', 'system', 'debug', 'notifications', 'about'] as const;
|
||||
export type SettingsTab = (typeof SETTINGS_TABS)[number];
|
||||
|
||||
export const settingsRoute = createRoute({
|
||||
|
||||
Reference in new issue
Block a user