Files
oh-my-pi/tsconfig.base.json
T
can1357 1f7c4f6f90 refactor(stream-parsing): restructured stream utilities to use Web standard APIs and generic SSE parsing
- Refactored SSE stream parsing to use generic `readSseJson` utility instead of domain-specific handlers across multiple packages.
- Migrated from Node.js Buffer API to Web standard APIs (Uint8Array, TextDecoder, DataView) for cross-platform compatibility.
- Simplified stream transformation pipeline by consolidating multiple stream operations into unified `createTextLineSplitter` utility.
- Refactored `ptree.ts` to remove complex stream pumping infrastructure and simplify stderr handling with direct async iteration.
- Rewrote stream utilities to operate at binary level with byte-level parsing for improved efficiency and reduced string allocations.
- Updated TypeScript configuration to include DOM.AsyncIterable type definitions for async iterable DOM API support.
2026-02-05 10:59:47 +01:00

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", "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"]
}