feat: add sqlite storage and terminal ui

This commit is contained in:
Mohamed Boudra
2026-03-29 23:20:18 +07:00
parent e5fd61f131
commit 7d02e24d84
189 changed files with 17868 additions and 4663 deletions
@@ -50,4 +50,18 @@ describe("terminal-list", () => {
{ id: "term-2", name: "Renamed Terminal" },
]);
});
it("preserves terminal titles from create responses", () => {
const result = upsertTerminalListEntry({
terminals: [],
terminal: {
id: "term-3",
name: "Terminal 3",
title: "Build Output",
cwd: "/tmp/project",
},
});
expect(result).toEqual([{ id: "term-3", name: "Terminal 3", title: "Build Output" }]);
});
});