mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-03 10:10:22 +00:00
fix(regression): preserve subagent session ownership metadata
This commit is contained in:
@@ -1194,6 +1194,11 @@ export function buildGatewaySessionRow(params: {
|
||||
return {
|
||||
key,
|
||||
spawnedBy: subagentOwner || entry?.spawnedBy,
|
||||
spawnedWorkspaceDir: entry?.spawnedWorkspaceDir,
|
||||
forkedFromParent: entry?.forkedFromParent,
|
||||
spawnDepth: entry?.spawnDepth,
|
||||
subagentRole: entry?.subagentRole,
|
||||
subagentControlScope: entry?.subagentControlScope,
|
||||
kind: classifySessionKey(key, entry),
|
||||
label: entry?.label,
|
||||
displayName,
|
||||
|
||||
Reference in New Issue
Block a user