Add Claude Ultracode with setting-change notices (#1625)

* Add Claude Ultracode mode notices

* Share provider notice definitions

* Test Claude Ultracode through public turn API
This commit is contained in:
Mohamed Boudra
2026-06-20 04:15:04 +00:00
committed by GitHub
parent 7af92120fe
commit 2b0740ff84
20 changed files with 310 additions and 53 deletions
@@ -0,0 +1,19 @@
import type { AgentProviderNotice } from "@getpaseo/protocol/agent-types";
import type { ToastApi } from "@/components/toast-host";
export function showProviderNoticeToast(
toast: ToastApi,
notice: AgentProviderNotice | null | undefined,
): void {
if (!notice) {
return;
}
if (notice.type === "error") {
toast.error(notice.message);
return;
}
toast.show(notice.message, {
variant: "default",
durationMs: notice.type === "warning" ? 3200 : undefined,
});
}