taskplane 0.24.6 → 0.24.7

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.
@@ -641,7 +641,9 @@ export function spawnAgent(
641
641
  contextUsage = event.data.contextUsage;
642
642
  emitEvent("context_usage", { ...event.data.contextUsage });
643
643
  // Emit telemetry immediately so context % is live in dashboard
644
- onTelemetry({ inputTokens, outputTokens, cacheReadTokens, cacheWriteTokens, costUsd, toolCalls, lastTool, contextUsage });
644
+ if (onTelemetry) {
645
+ onTelemetry({ inputTokens, outputTokens, cacheReadTokens, cacheWriteTokens, costUsd, toolCalls, lastTool, contextUsage });
646
+ }
645
647
  }
646
648
  break;
647
649
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taskplane",
3
- "version": "0.24.6",
3
+ "version": "0.24.7",
4
4
  "description": "AI agent orchestration for pi — parallel task execution with checkpoint discipline",
5
5
  "keywords": [
6
6
  "pi-package",