fix(vscode): thread task id into hook runner creation so execution telemetry fires (#13547)
The SDK hooks adapter created every hook runner without a task id, and StdioHookRunner gates all captureHookExecution calls on one being set — so the next variant emitted zero hooks.execution events while discovery telemetry fired normally. Pass the task id (and tool name for the tool hooks) at all five factory.create call sites, and pin the threading with a regression test.
M
Mikołaj Kondratek committed
48d63852745460ff0fa3dfcc0457bbe2493841de
Parent: cea134b
Committed by GitHub <noreply@github.com>
on 8/29/2026, 3:04:00 PM