@integrity-labs/agt-cli 0.28.1033 → 0.28.1035

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.
@@ -23,7 +23,7 @@ import {
23
23
  rotateDailySession,
24
24
  sessionFileExists,
25
25
  todayLocalIso
26
- } from "./chunk-XP4TNPGF.js";
26
+ } from "./chunk-H54FYWAK.js";
27
27
  import {
28
28
  classifyUnanswerablePane,
29
29
  findUsageLimitResetHint,
@@ -5930,4 +5930,4 @@ export {
5930
5930
  stopAllSessionsAndWait,
5931
5931
  getProjectDir
5932
5932
  };
5933
- //# sourceMappingURL=chunk-X2YAGXVQ.js.map
5933
+ //# sourceMappingURL=chunk-V74YKGXU.js.map
@@ -266,7 +266,7 @@ async function spawnPairSession(session) {
266
266
  return { ok: true };
267
267
  } catch {
268
268
  }
269
- const { resolveClaudeBinary } = await import("./persistent-session-AZQGN35Q.js");
269
+ const { resolveClaudeBinary } = await import("./persistent-session-MUY7PVLJ.js");
270
270
  const claudeBin = resolveClaudeBinary();
271
271
  const pairEnv = {
272
272
  ...process.env,
@@ -734,4 +734,4 @@ export {
734
734
  startClaudePair,
735
735
  submitClaudePairCode
736
736
  };
737
- //# sourceMappingURL=claude-pair-runtime-Y35IP7YV.js.map
737
+ //# sourceMappingURL=claude-pair-runtime-I4XYDZWO.js.map
@@ -66,7 +66,7 @@ import {
66
66
  safeWriteJsonAtomic,
67
67
  setConfigHash,
68
68
  tripClass
69
- } from "../chunk-OOTJBM4Z.js";
69
+ } from "../chunk-D6T6GIXC.js";
70
70
  import {
71
71
  getProjectDir as getProjectDir2,
72
72
  getReadyTasks,
@@ -149,7 +149,7 @@ import {
149
149
  takeZombieDetection,
150
150
  toOpencodeModel,
151
151
  writeEgressAllowlist
152
- } from "../chunk-X2YAGXVQ.js";
152
+ } from "../chunk-V74YKGXU.js";
153
153
  import {
154
154
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
155
155
  AnchorSessionClient,
@@ -254,7 +254,7 @@ import {
254
254
  subagentActivityAgeSeconds,
255
255
  sumTranscriptUsageInWindow,
256
256
  transcriptActivityAgeSeconds
257
- } from "../chunk-XP4TNPGF.js";
257
+ } from "../chunk-H54FYWAK.js";
258
258
  import {
259
259
  classifyUnanswerablePane,
260
260
  paneRemedy
@@ -9022,7 +9022,11 @@ function clearScheduledTurnMarkerForTask(codeName, taskId) {
9022
9022
  }
9023
9023
  async function routeScheduledTaskViaKanban(codeName, agentId, task, prompt, durableDelivery = false) {
9024
9024
  const priorRuns = await fetchPriorScheduledRuns(agentId, task.taskId);
9025
- const contextBlocks = buildScheduledTaskContextBlocks({ priorRuns, timezone: task.timezone });
9025
+ const contextBlocks = buildScheduledTaskContextBlocks({
9026
+ priorRuns,
9027
+ timezone: task.timezone,
9028
+ firedAt: /* @__PURE__ */ new Date()
9029
+ });
9026
9030
  const cardDescription = contextBlocks + (TOOL_DELIVERED_TEMPLATES.has(task.templateId) ? prompt + SCHEDULED_CARD_TOOL_DELIVERY_INSTRUCTION : PLAN_TEMPLATES.has(task.templateId) ? prompt + SCHEDULED_CARD_PLAN_INSTRUCTION : prompt + SCHEDULED_CARD_DELIVERY_CONTRACT);
9027
9031
  const { run_id, kanban_item_id, deduped, existing_kanban_item_id } = await startRun({
9028
9032
  agent_id: agentId,
@@ -13927,7 +13931,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
13927
13931
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
13928
13932
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
13929
13933
  async function channelInboundActivityAgeSecondsFor(codeName) {
13930
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-GPKEUHXN.js");
13934
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-MPL5PM33.js");
13931
13935
  const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
13932
13936
  if (newest === null) return null;
13933
13937
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -14673,7 +14677,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
14673
14677
  var lastVersionCheckAt = 0;
14674
14678
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
14675
14679
  var lastResponsivenessProbeAt = 0;
14676
- var agtCliVersion = true ? "0.28.1033" : "dev";
14680
+ var agtCliVersion = true ? "0.28.1035" : "dev";
14677
14681
  function resolveBrewPath(execFileSync3) {
14678
14682
  try {
14679
14683
  const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -16308,7 +16312,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
16308
16312
  if (codeNames.length === 0) return;
16309
16313
  void (async () => {
16310
16314
  try {
16311
- const { collectDiagnostics } = await import("../persistent-session-AZQGN35Q.js");
16315
+ const { collectDiagnostics } = await import("../persistent-session-MUY7PVLJ.js");
16312
16316
  await api.post("/host/heartbeat", {
16313
16317
  host_id: hostId,
16314
16318
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
@@ -16450,7 +16454,7 @@ async function pollCycleInner() {
16450
16454
  }
16451
16455
  try {
16452
16456
  const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
16453
- const { collectDiagnostics } = await import("../persistent-session-AZQGN35Q.js");
16457
+ const { collectDiagnostics } = await import("../persistent-session-MUY7PVLJ.js");
16454
16458
  const diagCodeNames = [...agentState.persistentSessionAgents];
16455
16459
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor) : void 0;
16456
16460
  let tailscaleHostname;
@@ -16626,7 +16630,7 @@ async function pollCycleInner() {
16626
16630
  collectPanelessActivityProbes,
16627
16631
  getResponsivenessIntervalMs,
16628
16632
  occupancyQualificationClassifications
16629
- } = await import("../responsiveness-probe-GPKEUHXN.js");
16633
+ } = await import("../responsiveness-probe-MPL5PM33.js");
16630
16634
  const probeIntervalMs = getResponsivenessIntervalMs();
16631
16635
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
16632
16636
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -16743,7 +16747,7 @@ async function pollCycleInner() {
16743
16747
  collectResponsivenessProbes,
16744
16748
  livePendingInboundOldestAgeSeconds,
16745
16749
  parkPendingInbound
16746
- } = await import("../responsiveness-probe-GPKEUHXN.js");
16750
+ } = await import("../responsiveness-probe-MPL5PM33.js");
16747
16751
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-M6AFZWNU.js");
16748
16752
  const wedgeNow = /* @__PURE__ */ new Date();
16749
16753
  const liveAgents = agentState.persistentSessionAgents;
@@ -16899,7 +16903,7 @@ async function pollCycleInner() {
16899
16903
  }
16900
16904
  try {
16901
16905
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
16902
- const { probeSessionAuth } = await import("../session-auth-dead-NLOUEO37.js");
16906
+ const { probeSessionAuth } = await import("../session-auth-dead-5ECPRU2V.js");
16903
16907
  const observations = [];
16904
16908
  const pendingCacheCommits = [];
16905
16909
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -21442,7 +21446,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
21442
21446
  try {
21443
21447
  const freshId = rotateSessionForWedge(codeName);
21444
21448
  consecutiveWedgeCycles.delete(codeName);
21445
- const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-GPKEUHXN.js");
21449
+ const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-MPL5PM33.js");
21446
21450
  const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
21447
21451
  const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
21448
21452
  const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
@@ -21485,7 +21489,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
21485
21489
  void api.post("/host/restart-ack", { host_id: hostId, agent_id: agentId, restart_requested_at: requestedAt }).catch((err) => log(`[restart-lane] ack failed for '${codeName}': ${err.message}`));
21486
21490
  void (async () => {
21487
21491
  try {
21488
- const { collectDiagnostics } = await import("../persistent-session-AZQGN35Q.js");
21492
+ const { collectDiagnostics } = await import("../persistent-session-MUY7PVLJ.js");
21489
21493
  await api.post("/host/heartbeat", {
21490
21494
  host_id: hostId,
21491
21495
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
@@ -21536,7 +21540,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
21536
21540
  }
21537
21541
  try {
21538
21542
  const hostId = await getHostId();
21539
- const { collectDiagnostics } = await import("../persistent-session-AZQGN35Q.js");
21543
+ const { collectDiagnostics } = await import("../persistent-session-MUY7PVLJ.js");
21540
21544
  await api.post("/host/heartbeat", {
21541
21545
  host_id: hostId,
21542
21546
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
@@ -22208,7 +22212,7 @@ async function processClaudePairSessions(agents) {
22208
22212
  // cannot take it for itself — by the time it runs, the write it is looking
22209
22213
  // for may already have happened.
22210
22214
  snapshotPairConfig
22211
- } = await import("../claude-pair-runtime-Y35IP7YV.js");
22215
+ } = await import("../claude-pair-runtime-I4XYDZWO.js");
22212
22216
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
22213
22217
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
22214
22218
  const killed = await killPairSession(pairTmuxSession(pairId));