fix: allow null parentAgentId in agent schemas and projections
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -12,5 +12,5 @@ export interface AgentDirectoryEntry {
|
||||
requiresAttention?: boolean;
|
||||
attentionReason?: "finished" | "error" | "permission" | null;
|
||||
attentionTimestamp?: Date | null;
|
||||
parentAgentId?: string;
|
||||
parentAgentId?: string | null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user