feat: add parentAgentId field to server types

Add parentAgentId field to enable agent parent/child hierarchy:
- ManagedAgentBase in agent-manager.ts
- AgentSessionConfig in agent-sdk-types.ts
- AgentSnapshotPayloadSchema in messages.ts
- toAgentPayload() in agent-projections.ts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Mohamed Boudra
2025-12-21 17:15:29 +00:00
co-authored by Claude Opus 4.5
parent 978a544f19
commit a574429a7b
5 changed files with 6 additions and 1 deletions
@@ -94,6 +94,7 @@ type ManagedAgentBase = {
lastUsage?: AgentUsage;
lastError?: string;
attention: AttentionState;
parentAgentId?: string;
};
type ManagedAgentWithSession = ManagedAgentBase & {