@integrity-labs/agt-cli 0.28.414 → 0.28.416
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.
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
resolveEffectivePinRaw,
|
|
46
46
|
safeWriteJsonAtomic,
|
|
47
47
|
setConfigHash
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-73XZ5UZO.js";
|
|
49
49
|
import {
|
|
50
50
|
getProjectDir as getProjectDir2,
|
|
51
51
|
getReadyTasks,
|
|
@@ -5642,7 +5642,7 @@ function unregisterClaudeSpawn(pid) {
|
|
|
5642
5642
|
} catch {
|
|
5643
5643
|
}
|
|
5644
5644
|
}
|
|
5645
|
-
async function syncAndCheckClaudeScheduler(agent, tasks, boardItems, refreshData) {
|
|
5645
|
+
async function syncAndCheckClaudeScheduler(agent, tasks, boardItems, refreshData, durableScheduledNudge = false) {
|
|
5646
5646
|
const codeName = agent.code_name;
|
|
5647
5647
|
const stableTasksHash = createHash11("sha256").update(JSON.stringify(tasks)).digest("hex").slice(0, 16);
|
|
5648
5648
|
const boardHash = boardItems.length > 0 ? createHash11("sha256").update(JSON.stringify(boardItems.map((b) => ({ id: b.id, title: b.title, status: b.status, priority: b.priority, deliverable: b.deliverable })))).digest("hex").slice(0, 16) : "empty";
|
|
@@ -5678,7 +5678,7 @@ async function syncAndCheckClaudeScheduler(agent, tasks, boardItems, refreshData
|
|
|
5678
5678
|
}
|
|
5679
5679
|
inFlightClaudeTasks.add(task.taskId);
|
|
5680
5680
|
claudeTaskConcurrency.set(codeName, (claudeTaskConcurrency.get(codeName) ?? 0) + 1);
|
|
5681
|
-
await fireScheduledTaskViaKanban(codeName, agent.agent_id, task, prompt);
|
|
5681
|
+
await fireScheduledTaskViaKanban(codeName, agent.agent_id, task, prompt, durableScheduledNudge);
|
|
5682
5682
|
inFlightClaudeTasks.delete(task.taskId);
|
|
5683
5683
|
claudeTaskConcurrency.set(codeName, Math.max(0, (claudeTaskConcurrency.get(codeName) ?? 1) - 1));
|
|
5684
5684
|
}
|
|
@@ -9456,7 +9456,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
9456
9456
|
var lastVersionCheckAt = 0;
|
|
9457
9457
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
9458
9458
|
var lastResponsivenessProbeAt = 0;
|
|
9459
|
-
var agtCliVersion = true ? "0.28.
|
|
9459
|
+
var agtCliVersion = true ? "0.28.416" : "dev";
|
|
9460
9460
|
function resolveBrewPath(execFileSync2) {
|
|
9461
9461
|
try {
|
|
9462
9462
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -13283,7 +13283,13 @@ async function processAgent(agent, agentStates) {
|
|
|
13283
13283
|
await syncAndCheckOpencodeScheduler(agent, tasks, refreshData);
|
|
13284
13284
|
}
|
|
13285
13285
|
} else if (agentFw === "claude-code" && tasks.length > 0) {
|
|
13286
|
-
await syncAndCheckClaudeScheduler(
|
|
13286
|
+
await syncAndCheckClaudeScheduler(
|
|
13287
|
+
agent,
|
|
13288
|
+
tasks,
|
|
13289
|
+
boardItems,
|
|
13290
|
+
refreshData,
|
|
13291
|
+
hostFlagStore().getBoolean("scheduled-task-nudge-durable")
|
|
13292
|
+
);
|
|
13287
13293
|
}
|
|
13288
13294
|
{
|
|
13289
13295
|
const triggerAt = refreshData.agent.work_trigger_at;
|