chore: remove unused code and suppress noisy Claude Code logs
- Delete unused files: retry.js, app-init.js, model-manager.js - Remove duplicate error helpers from helpers.js (exist in errors.js) - Remove unused exports from signature-cache.js, logger.js - Remove unused frontend code: ErrorHandler methods, validators, canDelete, destroy - Make internal functions private in thinking-utils.js - Remove commented-out code from constants.js - Remove deprecated .glass-panel CSS class - Add silent handler for Claude Code event logging (/api/event_logging/batch) - Suppress logging for /v1/messages/count_tokens (501 responses) - Fix catch-all to use originalUrl (wildcard strips req.path) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -111,7 +111,7 @@ src/
|
||||
│ └── signature-cache.js # Signature cache (tool_use + thinking signatures)
|
||||
│
|
||||
└── utils/ # Utilities
|
||||
├── helpers.js # formatDuration, sleep
|
||||
├── helpers.js # formatDuration, sleep, isNetworkError
|
||||
├── logger.js # Structured logging
|
||||
└── native-module-helper.js # Auto-rebuild for native modules
|
||||
```
|
||||
@@ -137,7 +137,6 @@ public/
|
||||
│ │ ├── account-manager.js # Account list & OAuth handling
|
||||
│ │ ├── logs-viewer.js # Live log streaming
|
||||
│ │ ├── claude-config.js # CLI settings editor
|
||||
│ │ ├── model-manager.js # Model configuration UI
|
||||
│ │ ├── server-config.js # Server settings UI
|
||||
│ │ └── dashboard/ # Dashboard sub-modules
|
||||
│ │ ├── stats.js # Account statistics calculation
|
||||
|
||||
Reference in New Issue
Block a user