Require Cursor API key for provider checks

- Switch Cursor provider status and model discovery to the SDK catalog
- Improve chat content lane alignment and provider secret handling
This commit is contained in:
Julius Marminge authored and maria-rcks committed 2026-08-03 11:45:07 -04:00
1 parent 022452d02e
commit 60dc48a413
21 files changed
+633 -340

No files matched your search

+3 -3
View File
@@ -5,12 +5,12 @@ import { resolveThreadPanelPresentation } from "./rightPanelLayout";
describe("resolveThreadPanelPresentation", () => {
it("uses the stable workspace width minus the real right panel width", () => {
expect(resolveThreadPanelPresentation(null, 0, false)).toBe("inline");
expect(resolveThreadPanelPresentation(960, 0, false)).toBe("inline");
expect(resolveThreadPanelPresentation(959, 0, false)).toBe("popover");
expect(resolveThreadPanelPresentation(1_104, 0, false)).toBe("inline");
expect(resolveThreadPanelPresentation(1_103, 0, false)).toBe("popover");
expect(resolveThreadPanelPresentation(1_400, 0, false)).toBe("inline");
expect(resolveThreadPanelPresentation(1_400, 540, false)).toBe("popover");
expect(resolveThreadPanelPresentation(1_500, 540, false)).toBe("inline");
expect(resolveThreadPanelPresentation(1_644, 540, false)).toBe("inline");
});
it("uses a popover while the real right panel is maximized", () => {