fix(settings): harden config directory replace and consolidate upload plumbing

Validate the config before any filesystem work and persist the default row
only after the directory swap succeeds; reject oversize uploads before
buffering and stream parts to staging; re-ensure AGENTS.md after a replace.
Consolidate the upload contract in shared, unify the default-config upsert,
single-own the browser directory-upload and restart state, and drop dead code.
This commit is contained in:
Chris Scott committed 2026-08-25 10:11:46 -04:00
1 parent b1bccb3dd5
commit 39d2b98370
36 files changed
+1098 -510

No files matched your search

-1
View File
@@ -25,7 +25,6 @@
"croner": "^10.0.1",
"eventsource": "^4.1.0",
"hono": "^4.11.7",
"jsonc-parser": "^3.3.1",
"web-push": "^3.6.7",
"zod": "^4.1.12"
},