fix: allow null parentAgentId in agent schemas and projections

This commit is contained in:
Mohamed Boudra
2025-12-25 18:51:18 +07:00
parent 7b8d032bbc
commit ab9c133d0e
7 changed files with 154 additions and 1220 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ export interface Agent {
requiresAttention?: boolean;
attentionReason?: "finished" | "error" | "permission" | null;
attentionTimestamp?: Date | null;
parentAgentId?: string;
parentAgentId?: string | null;
}
export interface Command {
+1 -1
View File
@@ -12,5 +12,5 @@ export interface AgentDirectoryEntry {
requiresAttention?: boolean;
attentionReason?: "finished" | "error" | "permission" | null;
attentionTimestamp?: Date | null;
parentAgentId?: string;
parentAgentId?: string | null;
}