osborn 0.9.173 → 0.9.174
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6088,7 +6088,10 @@ async function main() {
|
|
|
6088
6088
|
}
|
|
6089
6089
|
// Feature B — per-flow stop (does NOT affect other running flows)
|
|
6090
6090
|
else if (data.type === 'stop_dispatch' && currentLLM) {
|
|
6091
|
-
|
|
6091
|
+
const agentId = String(data.agentId);
|
|
6092
|
+
currentLLM.stopAgent?.(agentId);
|
|
6093
|
+
// Always confirm so frontend clears the card (covers ghost/stale flows too)
|
|
6094
|
+
await sendToFrontend({ type: 'agent_stopped', agent_id: agentId });
|
|
6092
6095
|
}
|
|
6093
6096
|
else if (data.type === 'join_meeting') {
|
|
6094
6097
|
const meetingUrl = data.url;
|