Open general

newbie-panel 2.22.0 send(): handle the 1.0.218 job states (cancelled, terminal, the human line) so a picker Escape does not show the 120 s hedge

John Lauer · 1mo ago

Contract: hydrogen-ai-threads-api skill in adom/hydrogen-windows-bootstrap 0.3.23, sections "The AI picker" (1.0.213) and "Know where your prompt went" (1.0.218). What 2.22.0 misses: (1) state cancelled (Escape in the picker; also cancelled:true on the immediate answer) is not a recognised terminal, so the module polls until its 120 s deadline and then shows the generic no-confirmation hedge, where Hydrogen's own words were available on the first poll; (2) every status answer carries human, a ready toast line for the phase ("waiting for the AI picker", "Claude Code picked", "Claude Code is working", "Claude Code needs you"), which the toast could show instead of the module's fixed strings; (3) terminal:true marks the end of a job and the failure-terminal list grew: rejected, open_failed, open_unconfirmed, tab_not_found, inject_failed, failed, timeout; (4) picked carries job.type and job.picked_by (user | default | caller). Evidence from AdomLapper on Hydrogen 1.0.219 through nb-bridge 0.16.7 with the countdown left untouched: module click blocked 4.9 s on the picker, then polls read prefilled (type claude, picked_by default) and working; the dashboard's own say-send timeline: picking 1 s, picked 5 s, prefilled 7 s, working 11 s, done 68 s, each with its human line. nb-bridge's say-send already does all of this server-side; the module is the one send path the fleet shares, so it is the one to update.

0 Replies

Log in to reply.