The Ink bridge added today was a misguided gradual-migration wrapper: - Components still rendered via the old string-line protocol (no Ink layout) - Key decodes were re-encoded to escape sequences → keys.ts decoded again (double round-trip bug) - The _useInk / _inkHandle path blocked TTY start unconditionally via process.stdout.isTTY check Removed: ink-bridge.tsx, ink-bridge.test.ts, useInk() method, _useInk/_inkHandle fields, startInkRenderer import/export, Ink branch in start()/stop()/requestRender(). Removed ink and react from packages/tui dependencies and peerDependencies. Reverted tsconfig.extensions.json jsx settings (only needed for the .tsx bridge file). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
35 lines
1.1 KiB
JSON
35 lines
1.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/vectordrive/tests/**/*.ts",
|
|
"src/resources/extensions/**/tests/**/*.ts",
|
|
"src/resources/extensions/**/tests/**/*.mjs",
|
|
"src/tests/**/*.ts",
|
|
"src/tests/**/*.mjs"
|
|
]
|
|
}
|