Agent behavior improvements: - Add project context detection (tsconfig.json, pom.xml, etc.) - Enforce validation after changes (tsc --noEmit, mvn compile, etc.) - Run tests automatically - never ask "do you want me to run tests" - Complete full loop: create → type-check → test → confirm - Add command detection for direct execution (run tree, run ls) Diff view improvements: - Use darker backgrounds for added/removed lines - Add diffLineBgAdded, diffLineBgRemoved, diffLineText theme colors - Improve text visibility with white text on dark backgrounds - Update both React/Ink and SolidJS diff components Streaming fixes: - Fix tool call argument accumulation using OpenAI index field - Fix streaming content display after tool calls - Add consecutive error tracking to prevent token waste Other changes: - ESC to abort operations, Ctrl+C to exit - Fix model selection when provider changes in cascade mode - Add debug logging for troubleshooting - Move tests to root tests/ folder - Fix banner test GRADIENT_COLORS reference
49 lines
1.5 KiB
JSON
49 lines
1.5 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"noEmit": true,
|
|
"lib": ["ES2022"],
|
|
"outDir": "./dist",
|
|
"rootDir": "./src",
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["src/*"],
|
|
"@api/*": ["src/api/*"],
|
|
"@commands/*": ["src/commands/*"],
|
|
"@constants/*": ["src/constants/*"],
|
|
"@interfaces/*": ["src/interfaces/*"],
|
|
"@prompts/*": ["src/prompts/*"],
|
|
"@services/*": ["src/services/*"],
|
|
"@stores/*": ["src/stores/*"],
|
|
"@providers/*": ["src/providers/*"],
|
|
"@tools/*": ["src/tools/*"],
|
|
"@tui/*": ["src/tui/*"],
|
|
"@tui-solid/*": ["src/tui-solid/*"],
|
|
"@ui/*": ["src/ui/*"],
|
|
"@utils/*": ["src/utils/*"],
|
|
"@types/*": ["src/types/*"]
|
|
},
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"removeComments": false,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"jsx": "preserve",
|
|
"jsxImportSource": "@opentui/solid"
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "dist", "**/*.test.ts", "src/tui/App.tsx", "src/tui/components", "src/tui/hooks", "src/tui/store.ts"]
|
|
}
|