mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
03159d2f4b
CustomToolContext now has: - isIdle() - check if agent is streaming - hasQueuedMessages() - check if user has queued messages - abort() - abort current operation (fire-and-forget) Changed abort() signature from Promise<void> to void in both HookContext and CustomToolContext. The abort is fire-and-forget: it calls session.abort() without awaiting, so the abort signal is set immediately while waitForIdle() runs in the background. Fixes #388
03159d2f4b
ยท
2026-01-02 00:31:23 +01:00
History