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
154 changes: 71 additions & 83 deletions apps/ade-cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/ade-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"test": "vitest run"
},
"dependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.3.207",
"@anthropic-ai/claude-agent-sdk": "^0.3.211",
"@anthropic-ai/sdk": "^0.103.0",
"@cursor/sdk": "^1.0.23",
"@factory/droid-sdk": "^0.2.0",
Expand Down
36 changes: 36 additions & 0 deletions apps/ade-cli/src/tuiClient/__tests__/ChatView.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,42 @@ describe("ChatView", () => {
expect(frame).not.toContain("model working");
});

it("renders conversation reset with the completed-compaction divider style", () => {
const frame = renderEvents([
{
sessionId: "s1",
timestamp: "2026-01-01T12:00:00.000Z",
sequence: 1,
event: { type: "conversation_reset", newConversationId: "conversation-2" },
},
], { width: 80 });

expect(frame).toContain("✓ conversation reset");
expect(frame).not.toContain("Context compacted");
expect(frame).not.toContain("[conversation_reset]");
});

it("shows a mapped terminal reason on the visible failed status row", () => {
const frame = renderEvents([
{
sessionId: "s1",
timestamp: "2026-01-01T12:00:00.000Z",
sequence: 1,
event: { type: "status", turnStatus: "failed", turnId: "turn-1" },
},
{
sessionId: "s1",
timestamp: "2026-01-01T12:00:01.000Z",
sequence: 2,
event: { type: "done", status: "failed", turnId: "turn-1", terminalReason: "prompt_too_long" },
},
], { width: 80 });

expect(frame).toContain("[status] failed · context window overflow");
expect(frame).not.toContain("[done]");
expect(frame).not.toContain("prompt_too_long");
});

it("renders queued steer messages as staged instead of normal sent bubbles", () => {
const frame = renderEvents([
{
Expand Down
Loading