Updates
Rolling release / release (push) Successful in 8m31s

This commit is contained in:
2026-09-13 15:08:05 -04:00
parent b56171da9b
commit c5ccaa490b
29 changed files with 933 additions and 146 deletions
+2 -1
View File
@@ -38,6 +38,7 @@ const pendingCustom = new Map();
const pendingAsks = new Map();
const pendingPlans = new Map();
const MAX_TURNS = 24;
const CU_FREE_ROUNDS = new Set(['todo_write', 'update_goal', 'cu_observe', 'cu_find', 'cu_tree', 'cu_status', 'cu_zoom']);
const SUBAGENT_TURNS = 8;
const CUSTOM_TOOL_TIMEOUT_MS = 60000;
const ASK_TIMEOUT_MS = 10 * 60 * 1000;
@@ -877,7 +878,7 @@ async function runTurn(ctx) {
}
if (stopEarly) break;
}
if (prepared.some((item) => item.name !== 'todo_write' && item.name !== 'update_goal')) {
if (prepared.some((item) => !CU_FREE_ROUNDS.has(item.name))) {
toolBudget.markToolRound(budget);
}
if (stopEarly) {