fix: match subagents to sessions by claudeSessionId instead of newest heuristic

When multiple Claudeman sessions share the same workingDir, subagents were
incorrectly attaching to the newest session instead of the actual parent.
Now uses direct claudeSessionId matching for reliable parent detection.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-29 11:39:12 +01:00
co-authored by Claude Opus 4.5
parent ed2a2323f8
commit c667e0baac
4 changed files with 128 additions and 41 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "claudeman",
"version": "0.1422",
"version": "0.1423",
"description": "The missing control plane for Claude Code - run 20 autonomous agents with real-time monitoring and session persistence",
"type": "module",
"main": "dist/index.js",