fix: stabilize custom widget authoring

This commit is contained in:
ajnart committed 2026-08-13 19:56:57 +02:00
1 parent 11b941285b
commit f01969b9fc
11 files changed
+796 -27

No files matched your search

@@ -30,6 +30,8 @@ describe("withAssistantToolPolicy", () => {
describe("customWidgetAssistantInstructions", () => {
test("requires the complete skill and real preview-query data before creation", () => {
expect(customWidgetAssistantInstructions).toContain("when they are preloaded below");
expect(customWidgetAssistantInstructions).toContain("do not call customWidget_getSkill or customWidget_schema");
expect(customWidgetAssistantInstructions).toContain("first call customWidget_getSkill");
expect(customWidgetAssistantInstructions).toContain("customWidget_schema");
expect(customWidgetAssistantInstructions).toContain("customWidget_getComponentCatalog");