Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
feat(web): reject content transfer in agent cap workflow
Richie McIlroy68200286c7de
diff --git a/apps/web/workflows/agent-cap-operation.ts b/apps/web/workflows/agent-cap-operation.tsindex 02e6253e2..917321b98 100644--- a/apps/web/workflows/agent-cap-operation.ts+++ b/apps/web/workflows/agent-cap-operation.ts@@ -546,6 +546,11 @@ export async function agentCapOperationWorkflow(input: {if (operation.kind === "import_loom") {throw new FatalError("Loom imports use the Loom import workflow");}+ if (operation.kind === "transfer_org_content") {+ throw new FatalError(+ "Content transfers use the content transfer workflow",+ );+ }const payload = operation.payload as OrganizationOperationPayload;if (operation.kind === "delete_organization") {await deleteOrganization(input.operationId, payload);