astrocode-workflow 0.1.41 → 0.1.42
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.
|
@@ -155,6 +155,8 @@ export function createContinuationEnforcer(opts) {
|
|
|
155
155
|
return;
|
|
156
156
|
if (!config.continuation.inject_on_tool_done_if_run_active)
|
|
157
157
|
return;
|
|
158
|
+
// Inject continuation immediately after any tool execution
|
|
159
|
+
void maybeInjectContinue(sessionId, "tool_execution");
|
|
158
160
|
scheduleIdleInjection(sessionId);
|
|
159
161
|
},
|
|
160
162
|
async onChatMessage(_input) {
|
package/package.json
CHANGED
|
@@ -208,6 +208,9 @@ export function createContinuationEnforcer(opts: {
|
|
|
208
208
|
if (!sessionId) return;
|
|
209
209
|
if (!config.continuation.inject_on_tool_done_if_run_active) return;
|
|
210
210
|
|
|
211
|
+
// Inject continuation immediately after any tool execution
|
|
212
|
+
void maybeInjectContinue(sessionId, "tool_execution");
|
|
213
|
+
|
|
211
214
|
scheduleIdleInjection(sessionId);
|
|
212
215
|
},
|
|
213
216
|
|