claude-ws 0.3.97 → 0.3.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/lib/agent-manager.ts +1 -1
package/package.json
CHANGED
package/src/lib/agent-manager.ts
CHANGED
|
@@ -573,7 +573,7 @@ Your task is INCOMPLETE until:\n1. File exists with valid content\n2. You have R
|
|
|
573
573
|
// Track subagent workflow (from assistant messages with Task tool)
|
|
574
574
|
// Also track Bash tool_uses to correlate with BGPID results
|
|
575
575
|
if (message.type === 'assistant' && 'message' in message) {
|
|
576
|
-
const assistantMsg = message as { message: { content: Array<{ type: string; id?: string; name?: string; input?: unknown }> }; parent_tool_use_id: string | null };
|
|
576
|
+
const assistantMsg = message as unknown as { message: { content: Array<{ type: string; id?: string; name?: string; input?: unknown }> }; parent_tool_use_id: string | null };
|
|
577
577
|
for (const block of assistantMsg.message.content) {
|
|
578
578
|
if (block.type === 'tool_use' && block.name === 'Task' && block.id) {
|
|
579
579
|
const taskInput = (block as { input?: { subagent_type?: string } }).input;
|