fix: harden assistant authoring and UI

This commit is contained in:
ajnart committed 2026-08-14 11:32:10 +02:00
1 parent 3cef3cbdbd
commit d80e883479
45 files changed
+3848 -895

No files matched your search

@@ -65,6 +65,7 @@ export const managementQueryProcedures = {
if (!definition) throw new TRPCError({ code: "NOT_FOUND", message: "Legacy custom widget not found" });
return {
id: definition.id,
managementPath: "/manage/custom-widgets",
version: 1 as const,
prompt: buildLegacyCustomWidgetMigrationPrompt(
definition,
@@ -85,6 +86,7 @@ export const managementQueryProcedures = {
if (!definition) throw new TRPCError({ code: "NOT_FOUND", message: "Custom widget definition not found" });
return {
id: definition.id,
managementPath: `/manage/custom-widgets/edit/${definition.id}`,
...parseStoredCustomWidgetDefinition(definition),
enabled: definition.enabled,
createdAt: definition.createdAt,