8c05a5284e
- Migrated from Node.js to Bun runtime by replacing @types/node with @types/bun and bun-types dependencies. - Downgraded @types/diff from ^8.0.0 to ^7.0.2 in coding-agent package. - Updated tsconfig.base.json to include DOM.AsyncIterable in lib configuration for async iterable DOM API support. - Simplified stream handling in update-cli.ts by removing Readable.fromWeb() conversions and using response.body directly with pipeline(). - Simplified TextDecoderStream instantiation in stream.ts to use default parameters instead of explicit UTF-8 encoding configuration. - Added defensive null/undefined handling in agent-loop.ts result assignment using nullish coalescing operator.
49 lines
2.0 KiB
JSON
49 lines
2.0 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2024",
|
|
"module": "ESNext",
|
|
"lib": ["ES2024", "DOM.AsyncIterable"],
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"inlineSources": true,
|
|
"inlineSourceMap": false,
|
|
"moduleResolution": "Bundler",
|
|
"resolveJsonModule": true,
|
|
"allowArbitraryExtensions": true,
|
|
"allowImportingTsExtensions": false,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"useDefineForClassFields": false,
|
|
"types": ["bun", "node", "assets"],
|
|
"typeRoots": ["./types", "./node_modules/@types"],
|
|
"paths": {
|
|
"@oh-my-pi/pi-ai": ["./packages/ai/src/index.ts"],
|
|
"@oh-my-pi/pi-ai/*": ["./packages/ai/src/*"],
|
|
"@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/utils/src/index.ts"],
|
|
"@oh-my-pi/pi-utils/*": ["./packages/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/extensibility/hooks/index.ts"],
|
|
"@oh-my-pi/pi-coding-agent/*": ["./packages/coding-agent/src/*"],
|
|
"@oh-my-pi/pi-natives": ["./packages/natives/src/index.ts"],
|
|
"@oh-my-pi/pi-natives/*": ["./packages/natives/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/*"],
|
|
"@oh-my-pi/pi-tui": ["./packages/tui/src/index.ts"],
|
|
"@oh-my-pi/pi-tui/*": ["./packages/tui/src/*"],
|
|
"@oh-my-pi/react-edit-benchmark": ["./packages/react-edit-benchmark/src/index.ts"],
|
|
"@oh-my-pi/react-edit-benchmark/*": ["./packages/react-edit-benchmark/src/*"],
|
|
"@sinclair/typebox": ["./node_modules/@sinclair/typebox/build/esm/index.d.mts"],
|
|
"@sinclair/typebox/*": ["./node_modules/@sinclair/typebox/build/esm/*"]
|
|
}
|
|
},
|
|
"files": ["./types/assets/index.d.ts"]
|
|
}
|