singularity-forge/tsconfig.extensions.json
Mikael Hugo 64ddbd950f refactor(extensions): consolidate duplicate code into canonical modules
- Delete ghost package packages/pi-agent-core (no dist, no consumers,
  TS build errors; JS source sf-db.js had 3 commits not mirrored in TS)
- Remove build:pi-agent-core from root package.json build:pi pipeline
- Merge all models from MODEL_COST_PER_1K_INPUT into BUNDLED_COST_TABLE
  (model-cost-table.js is now the single canonical cost source)
- Remove duplicate MODEL_COST_PER_1K_INPUT object and getModelCost()
  from model-router.js; use lookupModelCost() from model-cost-table.js
- Replace hand-rolled isTransientNetworkError in preferences-models.js
  with delegation to classifyError() in error-classifier.js

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-11 08:28:49 +02:00

32 lines
1 KiB
JSON

{
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": true,
"allowImportingTsExtensions": true,
"allowJs": true,
"checkJs": false,
"ignoreDeprecations": "6.0",
"target": "ES2024",
"lib": ["ES2024", "DOM", "DOM.Iterable"],
"rootDir": ".",
"paths": {
"@singularity-forge/coding-agent": [
"./packages/coding-agent/src/index.ts"
],
"@singularity-forge/ai": ["./packages/ai/src/index.ts"],
"@singularity-forge/ai/*": ["./packages/ai/src/*.ts"],
"@singularity-forge/agent-core": ["./packages/agent-core/src/index.ts"],
"@singularity-forge/tui": ["./packages/tui/src/index.ts"],
"@singularity-forge/native": ["./packages/native/src/index.ts"],
"@singularity-forge/native/*": ["./packages/rust-engine/src/*/index.ts"],
"@singularity-forge/rpc-client": ["./packages/rpc-client/src/index.ts"]
}
},
"include": ["src/resources/extensions", "src/types.d.ts"],
"exclude": [
"src/resources/extensions/**/tests/**/*.ts",
"src/resources/extensions/**/tests/**/*.mjs",
"src/tests/**/*.ts",
"src/tests/**/*.mjs"
]
}