@rivus/agent 0.12.6 → 0.12.7
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 +2 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3638,14 +3638,10 @@ function createCoalescingFeishuPublisher(options) {
|
|
|
3638
3638
|
pendingTextByRun.set(action.runId, action.text);
|
|
3639
3639
|
});
|
|
3640
3640
|
case "handoff": return options.publisher.publish(action);
|
|
3641
|
-
case "finish":
|
|
3642
|
-
pendingTextByRun.set(action.runId, action.text);
|
|
3643
|
-
yield* flushRun(action.runId);
|
|
3644
|
-
yield* options.publisher.publish(action);
|
|
3645
|
-
});
|
|
3641
|
+
case "finish":
|
|
3646
3642
|
case "fail":
|
|
3647
3643
|
case "cancel": return Effect.gen(function* () {
|
|
3648
|
-
yield*
|
|
3644
|
+
yield* Effect.sync(() => pendingTextByRun.delete(action.runId));
|
|
3649
3645
|
yield* options.publisher.publish(action);
|
|
3650
3646
|
});
|
|
3651
3647
|
}
|