Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/steady-shell-expansion.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"kilo-code": patch
---

Prevent large highlighted shell outputs from blanking the VS Code webview when expanded.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion packages/kilo-ui/src/components/message-part.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2235,7 +2235,6 @@ ToolRegistry.register({
defaultOpen={props.defaultOpen ?? true}
onOpenChange={setOpen}
allowPendingToggle
animated
trigger={
<div data-slot="basic-tool-tool-info-structured">
<div data-slot="basic-tool-tool-info-main">
Expand Down
5 changes: 3 additions & 2 deletions packages/kilo-vscode/tests/unit/kilo-ui-contract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,9 @@ describe("Bash tool static terminal preview (source)", () => {
expect(block).toContain("BashHighlightedOutput")
})

it("animates expanded bash details", () => {
expect(block).toMatch(/allowPendingToggle\s+animated\s+trigger=/)
it("does not animate expanded bash details", () => {
expect(block).toMatch(/allowPendingToggle\s+trigger=/)
expect(block).not.toMatch(/allowPendingToggle\s+animated/)
})

it("BashHighlightedOutput syntax highlights the command next to the prompt", () => {
Expand Down
Loading