osborn 0.9.140 → 0.9.141

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.
Files changed (2) hide show
  1. package/dist/claude-llm.js +32 -0
  2. package/package.json +1 -1
@@ -1306,6 +1306,10 @@ class ClaudeLLMStream extends llm.LLMStream {
1306
1306
  const toolResponse = input?.tool_response; // Capture actual tool output for fast brain processing
1307
1307
  const agentTypePost = input?.agent_type || null;
1308
1308
  console.log(`✅ Done: ${toolName}`);
1309
+ if (toolName === 'Task' || toolName === 'Agent') {
1310
+ const agentId = input?.tool_input?.agent_id ?? input?.tool_input?.id ?? undefined;
1311
+ console.log('[LIFECYCLE-PROBE] PostToolUse on', toolName, 'agent_id=', agentId, 'ts=', Date.now());
1312
+ }
1309
1313
  this.#eventEmitter.emit('tool_result', { name: toolName, input: toolInput, response: toolResponse, agentRole: agentTypePost || 'main' });
1310
1314
  return {};
1311
1315
  }]
@@ -1513,6 +1517,34 @@ class ClaudeLLMStream extends llm.LLMStream {
1513
1517
  }
1514
1518
  return {};
1515
1519
  }]
1520
+ }],
1521
+ SubagentStart: [{
1522
+ matcher: '.*',
1523
+ hooks: [async (input) => {
1524
+ console.log('[LIFECYCLE-PROBE] SubagentStart', JSON.stringify(input));
1525
+ return {};
1526
+ }]
1527
+ }],
1528
+ SubagentStop: [{
1529
+ matcher: '.*',
1530
+ hooks: [async (input) => {
1531
+ console.log('[LIFECYCLE-PROBE] SubagentStop', JSON.stringify(input));
1532
+ return {};
1533
+ }]
1534
+ }],
1535
+ TaskCreated: [{
1536
+ matcher: '.*',
1537
+ hooks: [async (input) => {
1538
+ console.log('[LIFECYCLE-PROBE] TaskCreated', JSON.stringify(input));
1539
+ return {};
1540
+ }]
1541
+ }],
1542
+ TaskCompleted: [{
1543
+ matcher: '.*',
1544
+ hooks: [async (input) => {
1545
+ console.log('[LIFECYCLE-PROBE] TaskCompleted', JSON.stringify(input));
1546
+ return {};
1547
+ }]
1516
1548
  }]
1517
1549
  },
1518
1550
  // Named sub-agents — the orchestrator delegates to these specialists.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "osborn",
3
- "version": "0.9.140",
3
+ "version": "0.9.141",
4
4
  "description": "Voice AI coding assistant - local agent that connects to Osborn frontend",
5
5
  "type": "module",
6
6
  "bin": {