Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(orchestration-v2): add subagent observability data model (1/5) #4768

Mergedshivamhwp(GitHub profile, opens in a new tab)merged 1 commit intot3code/codex-turn-mapping fromsubagent-obs/01-contractsmerged by shivamhwp(GitHub profile, opens in a new tab) View on GitHub

Showing 29 changed files with 32 additions and 2 deletions (loading 26).

x
0 of 29 viewed, 29 left
8 additions and 0 deletionsapps/server/src/orchestration-v2/Adapters/AcpAdapterV2.tsModified
View file
@@ -1963,6 +1963,14 @@
prompt: update.prompt,
title: update.title,
model: update.model,
+ kind: "subagent",
+ role: { name: "general-purpose", source: "app_default" },
+ usage: null,
+ currentActivationId: null,
+ activationCount: 1,
+ workflow: null,
+ workflowMembership: null,
+ recentActivity: [],
result: null,
startedAt: now,
8 additions and 0 deletionsapps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.tsModified
View file
@@ -2321,6 +2321,14 @@
prompt: input.prompt ?? "",
title: input.title ?? null,
model: input.context.input.modelSelection.model,
+ kind: "subagent" as const,
+ role: { name: "general-purpose", source: "app_default" as const },
+ usage: null,
+ currentActivationId: null,
+ activationCount: 1,
+ workflow: null,
+ workflowMembership: null,