refactor: move default CLAUDE.md template to bundled case-template.md

Replaces the ~400-line inline template string in claude-md.ts with a
file read from src/templates/case-template.md. Removes the hardcoded
/home/arkon/default/CLAUDE.md path from server.ts. The build script
now copies the template to dist/templates/ for production use.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-22 22:43:09 +01:00
co-authored by Claude Opus 4.5
parent 0ff0dcac82
commit afaa1d3adb
5 changed files with 480 additions and 444 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
"claudeman": "./dist/index.js"
},
"scripts": {
"build": "tsc && mkdir -p dist/web && cp -r src/web/public dist/web/",
"build": "tsc && mkdir -p dist/web dist/templates && cp -r src/web/public dist/web/ && cp src/templates/case-template.md dist/templates/",
"start": "node dist/index.js",
"dev": "tsx src/index.ts",
"web": "node dist/index.js web",