Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

chore(ts): make the path aliases self-sufficient without baseUrl

enesf5c4a71dd22d
diff --git a/tsconfig.node.json b/tsconfig.node.json
index 0083908c5..b0e1807c0 100644
--- a/tsconfig.node.json
+++ b/tsconfig.node.json
@@ -8,9 +8,11 @@
"strict": true,
"skipLibCheck": true,
"types": ["node", "electron-vite/node"],
- "baseUrl": ".",
+ // Path values are relative to this file's own directory, so no "baseUrl" is
+ // needed to anchor them. TypeScript 7 drops "baseUrl" entirely; this form
+ // resolves identically on 5.x and 7.x.
"paths": {
- "@shared/*": ["src/shared/*"]
+ "@shared/*": ["./src/shared/*"]
}
},
"include": [
diff --git a/tsconfig.web.json b/tsconfig.web.json
index 26a5cd6b0..f7a5c516f 100644
--- a/tsconfig.web.json
+++ b/tsconfig.web.json
@@ -10,10 +10,12 @@
"strict": true,
"skipLibCheck": true,
"types": ["node"],
- "baseUrl": ".",
+ // Path values are relative to this file's own directory, so no "baseUrl" is
+ // needed to anchor them. TypeScript 7 drops "baseUrl" entirely; this form
+ // resolves identically on 5.x and 7.x.
"paths": {
- "@renderer/*": ["src/renderer/*"],
- "@shared/*": ["src/shared/*"]
+ "@renderer/*": ["./src/renderer/*"],
+ "@shared/*": ["./src/shared/*"]
}
},
"include": [