Files
oh-my-pi/tsconfig.base.json
T
can1357 9b78a6fa85 refactor(natives): migrated native bindings to NAPI-RS with auto-generated types
- Migrated native bindings from TypeScript wrappers to NAPI-RS generated modules with auto-generated type definitions and runtime enums.
- Replaced chunk tree API with stateful ChunkState class supporting render, edit, and resolve operations with improved error handling.
- Converted callback signatures to error-first pattern (error, result) for shell, PTY, glob, and grep operations.
- Introduced type-safe enums for MacOSAppearance, GrepOutputMode, KeyEventType, ImageFormat, and AstMatchStrictness replacing string literals.
- Refactored chunk tree implementation with dedicated modules for edit, indent, resolve, and state management with comprehensive validation.
- Moved clipboard utilities from native bindings to coding-agent package with improved OSC 52 and Termux compatibility.
2026-04-07 02:00:59 +02:00

47 lines
1.9 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/native"],
"@oh-my-pi/omp-stats": ["./packages/stats/src/index.ts"],
"@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/typescript-edit-benchmark": ["./packages/typescript-edit-benchmark/src/index.ts"],
"@oh-my-pi/typescript-edit-benchmark/*": ["./packages/typescript-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"]
}