b2c94bef1a
- Created new @oh-my-pi/pi-utils workspace package with shared utilities for logging, process management, stream handling, and temporary directory management. - Migrated all packages to use centralized logger from @oh-my-pi/pi-utils instead of local winston implementations. - Replaced custom process spawning and stream reading implementations with standardized cspawn and readLines utilities across all modules. - Converted synchronous file operations and process spawning to async patterns using Bun shell syntax and fs/promises. - Added streaming edit abort functionality with configurable setting to abort on patch preview failures. - Updated test framework from vitest to bun:test across all test suites.
30 lines
1.4 KiB
JSON
30 lines
1.4 KiB
JSON
{
|
|
"extends": "./tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"noEmit": true,
|
|
"paths": {
|
|
"*": ["./*"],
|
|
"@oh-my-pi/pi-agent-core": ["./packages/agent/src/index.ts"],
|
|
"@oh-my-pi/pi-agent-core/*": ["./packages/agent/src/*"],
|
|
"@oh-my-pi/pi-utils": ["./packages/pi-utils/src/index.ts"],
|
|
"@oh-my-pi/pi-utils/*": ["./packages/pi-utils/src/*"],
|
|
"@oh-my-pi/pi-coding-agent": ["./packages/coding-agent/src/index.ts"],
|
|
"@oh-my-pi/pi-coding-agent/hooks": ["./packages/coding-agent/src/core/hooks/index.ts"],
|
|
"@oh-my-pi/pi-coding-agent/*": ["./packages/coding-agent/src/*"],
|
|
"@oh-my-pi/pi-git-tool": ["./packages/git-tool/src/index.ts"],
|
|
"@oh-my-pi/pi-git-tool/*": ["./packages/git-tool/src/*"],
|
|
"@sinclair/typebox": ["./node_modules/@sinclair/typebox"],
|
|
"@oh-my-pi/pi-mom": ["./packages/mom/src/index.ts"],
|
|
"@oh-my-pi/pi-mom/*": ["./packages/mom/src/*"],
|
|
"@oh-my-pi/pi-tui": ["./packages/tui/src/index.ts"],
|
|
"@oh-my-pi/pi-tui/*": ["./packages/tui/src/*"],
|
|
"@oh-my-pi/pi-web-ui": ["./packages/web-ui/src/index.ts"],
|
|
"@oh-my-pi/pi-web-ui/*": ["./packages/web-ui/src/*"],
|
|
"@oh-my-pi/pi-agent-old": ["./packages/agent-old/src/index.ts"],
|
|
"@oh-my-pi/pi-agent-old/*": ["./packages/agent-old/src/*"]
|
|
}
|
|
},
|
|
"include": ["packages/*/src/**/*", "packages/*/test/**/*", "packages/coding-agent/examples/**/*"],
|
|
"exclude": ["packages/web-ui/**/*", "**/dist/**"]
|
|
}
|