mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-04-22 21:41:29 +00:00
* feat: introduce opus 4.7 - Bump claude-agent-sdk from 0.2.59 to 0.2.116 - Forward process.env to SDK subprocess so ANTHROPIC_BASE_URL and other env vars work - Add claude-opus-4-6 as a distinct mode * feat: add "claude" as fallback in the cli path * fix: base url config
37 lines
1.5 KiB
JSON
37 lines
1.5 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "NodeNext",
|
|
"moduleResolution": "NodeNext",
|
|
"lib": ["ES2022"],
|
|
// baseUrl is the project root (one level above this config file) so that tsc-alias
|
|
// resolves @/ imports relative to the compiled output structure in dist-server/server/.
|
|
// With rootDir ".." tsc emits server files under dist-server/server/, so paths must
|
|
// include the "server/" prefix to match that layout.
|
|
"baseUrl": "..",
|
|
"paths": {
|
|
"@/*": ["server/*"]
|
|
},
|
|
// The backend is still mostly JavaScript today, so allowJs lets us add a real
|
|
// TypeScript build without forcing a large rename before the tooling is usable.
|
|
"allowJs": true,
|
|
// Keep the migration incremental: existing JS keeps building, while any new TS files
|
|
// still go through the normal TypeScript pipeline and strict checks.
|
|
"checkJs": false,
|
|
"strict": true,
|
|
"noEmitOnError": true,
|
|
// The backend build emits both /server and /shared into dist-server, so rootDir must
|
|
// stay one level above this file even though the config itself now lives in /server.
|
|
"rootDir": "..",
|
|
"outDir": "../dist-server",
|
|
"sourceMap": true,
|
|
"resolveJsonModule": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"skipLibCheck": true,
|
|
"types": ["node"]
|
|
},
|
|
"include": ["./**/*.js", "./**/*.ts", "../shared/**/*.js", "../shared/**/*.ts"],
|
|
"exclude": ["../dist", "../dist-server", "../node_modules", "../src"]
|
|
}
|