You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Logic**: CLIProxyAPI injects token via `auth_index` for target `chatgpt.com/backend-api/wham/usage`.
32
+
-**Debugging**: Verify both Wails debug events and CLIProxyAPI token resolution.
33
+
-**Time**: Relative reset countdown must use raw unix seconds (`resetAtUnix`). Do not re-parse `resetLabel` for countdown logic, because display labels lose seconds and drift into false `0s`.
34
+
35
+
## 4. UI System & Visual Thesis
36
+
-**Aesthetic**: Swiss-industrial (black/white/gray, thick borders, hard shadows, monospace).
37
+
-**Themes**: Support `system`, `light`, and `dark`. Ensure `--bg-main` and `--bg-surface` are distinct in dark mode.
38
+
-**l10n**: Add new copy to both `zh.json` and `en.json`. Default is Chinese.
39
+
-**Controls**: Use segmented controls for discrete settings.
40
+
41
+
## 5. Frontend Debugging & Inspection
42
+
-**Tools**: Use `@linhey/react-debug-inspector` in `main.tsx` (dev-only).
43
+
-**Config**: Use `createViteDebugInspectorPlugin()` in `vite.config.js` for stable JSX metadata.
44
+
-**Workflow**: Prove handler -> bridge call -> backend response. Use `data-collaboration-id` for markers.
0 commit comments