mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 13:03:42 +00:00
Fixed rendering artifact where duplicate bottom borders appeared when components dynamically shifted positions (e.g., Ctrl+C in agent clearing status container). Root cause: Container wasn't reporting as "changed" when cleared (0 children), causing differential renderer to skip re-rendering that area. Solution: Container now tracks previousChildCount and reports changed when child count changes, ensuring proper re-rendering when containers are cleared. - Added comprehensive test reproducing the layout shift artifact - Fixed Container to track and report child count changes - All tests pass including new layout shift artifact test
12 lines
341 B
JSON
12 lines
341 B
JSON
{
|
|
"extends": "./tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"noEmit": true,
|
|
"paths": {
|
|
"@mariozechner/pi-tui": ["./packages/tui/src/index.ts"],
|
|
"@mariozechner/pi-agent": ["./packages/agent/src/index.ts"],
|
|
"@mariozechner/pi": ["./packages/pods/src/index.ts"]
|
|
}
|
|
},
|
|
"include": ["packages/*/src/**/*", "packages/*/test/**/*"]
|
|
}
|