@blockrun/runcode 2.2.6 → 2.2.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.
@@ -238,7 +238,7 @@ export async function interactiveSession(config, getUserInput, onEvent, onAbortR
238
238
  let loopCount = 0;
239
239
  let recoveryAttempts = 0;
240
240
  let maxTokensOverride;
241
- const lastActivity = Date.now();
241
+ let lastActivity = Date.now();
242
242
  // Agent loop for this user message
243
243
  while (loopCount < maxTurns) {
244
244
  loopCount++;
@@ -418,6 +418,8 @@ export async function interactiveSession(config, getUserInput, onEvent, onAbortR
418
418
  for (const [inv, result] of results) {
419
419
  onEvent({ kind: 'capability_done', id: inv.id, result });
420
420
  }
421
+ // Refresh activity timestamp after tool execution
422
+ lastActivity = Date.now();
421
423
  // Append outcomes
422
424
  const outcomeContent = results.map(([inv, result]) => ({
423
425
  type: 'tool_result',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockrun/runcode",
3
- "version": "2.2.6",
3
+ "version": "2.2.7",
4
4
  "description": "RunCode — AI coding agent powered by 41+ models. Pay per use with USDC.",
5
5
  "type": "module",
6
6
  "bin": {