refactor: consolidated module import paths

- Removed custom TypeScript path aliases and the associated transformation script.
- Replaced aliased imports with direct `@oh-my-pi` package imports for improved clarity.
- Simplified internal module references by removing explicit `/index` suffixes.
This commit is contained in:
can1357
2026-01-23 12:48:06 +00:00
parent 0cab1fbce9
commit fcbfab765b
159 changed files with 307 additions and 406 deletions
+3 -8
View File
@@ -3,11 +3,6 @@
"compilerOptions": {
"noEmit": true,
"paths": {
"$c/*": ["./packages/coding-agent/src/*"],
"$ai/*": ["./packages/ai/src/*"],
"$tui/*": ["./packages/tui/src/*"],
"$agent/*": ["./packages/agent/src/*"],
"$stats/*": ["./packages/omp-stats/src/*"],
"*": ["./*"],
"@oh-my-pi/pi-ai": ["./packages/ai/src/index.ts"],
"@oh-my-pi/pi-ai/*": ["./packages/ai/src/*"],
@@ -18,9 +13,9 @@
"@oh-my-pi/pi-coding-agent": ["./packages/coding-agent/src/index.ts"],
"@oh-my-pi/pi-coding-agent/hooks": ["./packages/coding-agent/src/extensibility/hooks/index.ts"],
"@oh-my-pi/pi-coding-agent/*": ["./packages/coding-agent/src/*"],
"@oh-my-pi/omp-stats": ["./packages/omp-stats/src/index.ts"],
"@oh-my-pi/omp-stats/src/*": ["./packages/omp-stats/src/*"],
"@oh-my-pi/omp-stats/*": ["./packages/omp-stats/src/*"],
"@oh-my-pi/omp-stats": ["./packages/stats/src/index.ts"],
"@oh-my-pi/omp-stats/src/*": ["./packages/stats/src/*"],
"@oh-my-pi/omp-stats/*": ["./packages/stats/src/*"],
"@sinclair/typebox": ["./node_modules/@sinclair/typebox"],
"@oh-my-pi/pi-tui": ["./packages/tui/src/index.ts"],
"@oh-my-pi/pi-tui/*": ["./packages/tui/src/*"]