v2.9.1 — Config centralization, settings route extraction, web-ui split
- tools/*.ts: Replace fs.readFileSync config reads with getConfig() + resolveSecret() (pubmed, legal, scholar, weather, email, web, files — 7 files) - tools: Remove direct getVault() calls in email.ts and weather.ts, use resolveSecret() - gateway: Extract 21 /api/settings/* routes from server-v2.ts into routes/settings.ts (server-v2.ts reduced by ~375 lines) - types: Add missing config fields (legal, semantic_scholar, openweather, weather, email, search.pubmed_api_key) - web-ui: Split index.html (13,879 lines) into index.html (1,934) + styles.css (2,530) + app.js (9,416) - web-ui: Allow static assets to bypass auth middleware - Remove empty index2.html template stub Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
+9416
File diff suppressed because it is too large
Load Diff
+2
-11946
File diff suppressed because it is too large
Load Diff
@@ -1,5 +0,0 @@
|
||||
<?python
|
||||
import sys
|
||||
with open('/home/claude/index.html', 'r', encoding='utf-8') as f:
|
||||
print(f.read(), end='')
|
||||
?>
|
||||
+2530
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user