Files
paseo/packages
paseo-bot[bot] 5c9f767d51 Notify the caller when a blocking send_agent_prompt outlasts its 30s wait (#5347)
* fix(server): notify the caller when a blocking send_agent_prompt outlasts its wait

An agent-scoped send_agent_prompt with background: false only armed the
finish notification for background sends. When the 30s wait timed out,
the tool returned "still running" and nothing was armed, so the child's
result never reached the caller. The wait now reports whether it timed
out, and a timed-out wait on a still-running agent arms the same
notification a background send gets and says so in guidance. A blocking
send that finishes inside the wait still returns its result without a
notification.

* refactor(server): declare the finish-notification helper as a function

---------

Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>
2026-09-25 05:00:12 +02:00
..
2026-09-24 12:05:08 +02:00
2026-09-24 12:05:08 +02:00
2026-09-24 12:05:08 +02:00
2026-09-24 12:05:08 +02:00
2026-09-24 12:05:08 +02:00
2026-09-24 12:05:08 +02:00
2026-09-24 12:05:08 +02:00
2026-09-24 12:05:08 +02:00