feat(app): extract prompt state and add composer model selection (#36227)

This commit is contained in:
Brendan Allan
2026-07-10 15:49:05 +08:00
committed by GitHub
parent d0ba538924
commit 8a03fc265b
19 changed files with 729 additions and 293 deletions
+2
View File
@@ -22,6 +22,8 @@ describe("tab memory", () => {
})
expect(memory.ensure("tab", "prompt", () => ({ value: "other" }))).toBe(first)
expect(memory.get<typeof first>("tab", "prompt")).toBe(first)
expect(memory.get("missing", "prompt")).toBeUndefined()
expect(memory.ensure("other", "prompt", () => ({ value: "other" }))).not.toBe(first)
memory.remove("tab")