(q,K)
| 2468 | <${FT}>${O}</${FT}> |
| 2469 | <${wj}>${_}</${wj}> |
| 2470 | <${gw}>Remote task "${K}" ${$}</${gw}> |
| 2471 | </${XA}>`;IO({value:w,mode:"task-notification"})}function vo1(q,K){let _=!1;return A3(q,K,(z)=>{if(z.notified)return z;return _=!0,{...z,notified:!0}}),_}function Pdz(q){for(let Y=q.length-1;Y>=0;Y--){let $=q[Y];if($?.type==="system"&&($.subtype==="hook_progress"||$.subtype==="hook_response")){let A=o4($.stdout,z_6);if(A?.trim())return A.trim()}}for(let Y=q.length-1;Y>=0;Y--){let $=q[Y];if($?.type!=="assistant")continue;let A=L3($.message.content,` |
| 2472 | `),O=o4(A,z_6);if(O?.trim())return O.trim()}let K=q.filter((Y)=>Y.type==="system"&&(Y.subtype==="hook_progress"||Y.subtype==="hook_response")).map((Y)=>Y.stdout).join(""),_=o4(K,z_6);if(_?.trim())return _.trim();return q.filter((Y)=>Y.type==="assistant").map((Y)=>L3(Y.message.content,` |
| 2473 | `)).join(` |