Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(types): make AgentTrigger.config nullable to match API reality

Jiang Bohan0c92fb267477
diff --git a/apps/web/shared/types/agent.ts b/apps/web/shared/types/agent.ts
index 9f596ab4df..b478d10108 100644
--- a/apps/web/shared/types/agent.ts
+++ b/apps/web/shared/types/agent.ts
@@ -36,7 +36,7 @@ export interface AgentTrigger {
id: string;
type: AgentTriggerType;
enabled: boolean;
- config: Record<string, unknown>;
+ config: Record<string, unknown> | null;
}
export interface AgentTask {