@integrity-labs/agt-cli 0.28.1028 → 0.28.1030

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.
@@ -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-GLBUMVU3.js");
269
+ const { resolveClaudeBinary } = await import("./persistent-session-BCEKKB2Y.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-VUTIGBWZ.js.map
737
+ //# sourceMappingURL=claude-pair-runtime-3LB2CNFQ.js.map
@@ -66,7 +66,7 @@ import {
66
66
  safeWriteJsonAtomic,
67
67
  setConfigHash,
68
68
  tripClass
69
- } from "../chunk-EMSM4BRU.js";
69
+ } from "../chunk-TBCJ5NNP.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-SGX577WT.js";
152
+ } from "../chunk-4KNUH4DQ.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-3V43FBP4.js";
257
+ } from "../chunk-VUC5XNUP.js";
258
258
  import {
259
259
  classifyUnanswerablePane,
260
260
  paneRemedy
@@ -13927,7 +13927,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
13927
13927
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
13928
13928
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
13929
13929
  async function channelInboundActivityAgeSecondsFor(codeName) {
13930
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-IYDBUCIP.js");
13930
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-6S6ZELJG.js");
13931
13931
  const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
13932
13932
  if (newest === null) return null;
13933
13933
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -14673,7 +14673,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
14673
14673
  var lastVersionCheckAt = 0;
14674
14674
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
14675
14675
  var lastResponsivenessProbeAt = 0;
14676
- var agtCliVersion = true ? "0.28.1028" : "dev";
14676
+ var agtCliVersion = true ? "0.28.1030" : "dev";
14677
14677
  function resolveBrewPath(execFileSync3) {
14678
14678
  try {
14679
14679
  const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -16308,7 +16308,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
16308
16308
  if (codeNames.length === 0) return;
16309
16309
  void (async () => {
16310
16310
  try {
16311
- const { collectDiagnostics } = await import("../persistent-session-GLBUMVU3.js");
16311
+ const { collectDiagnostics } = await import("../persistent-session-BCEKKB2Y.js");
16312
16312
  await api.post("/host/heartbeat", {
16313
16313
  host_id: hostId,
16314
16314
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
@@ -16450,7 +16450,7 @@ async function pollCycleInner() {
16450
16450
  }
16451
16451
  try {
16452
16452
  const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
16453
- const { collectDiagnostics } = await import("../persistent-session-GLBUMVU3.js");
16453
+ const { collectDiagnostics } = await import("../persistent-session-BCEKKB2Y.js");
16454
16454
  const diagCodeNames = [...agentState.persistentSessionAgents];
16455
16455
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor) : void 0;
16456
16456
  let tailscaleHostname;
@@ -16626,7 +16626,7 @@ async function pollCycleInner() {
16626
16626
  collectPanelessActivityProbes,
16627
16627
  getResponsivenessIntervalMs,
16628
16628
  occupancyQualificationClassifications
16629
- } = await import("../responsiveness-probe-IYDBUCIP.js");
16629
+ } = await import("../responsiveness-probe-6S6ZELJG.js");
16630
16630
  const probeIntervalMs = getResponsivenessIntervalMs();
16631
16631
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
16632
16632
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -16743,7 +16743,7 @@ async function pollCycleInner() {
16743
16743
  collectResponsivenessProbes,
16744
16744
  livePendingInboundOldestAgeSeconds,
16745
16745
  parkPendingInbound
16746
- } = await import("../responsiveness-probe-IYDBUCIP.js");
16746
+ } = await import("../responsiveness-probe-6S6ZELJG.js");
16747
16747
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-M6AFZWNU.js");
16748
16748
  const wedgeNow = /* @__PURE__ */ new Date();
16749
16749
  const liveAgents = agentState.persistentSessionAgents;
@@ -16899,7 +16899,7 @@ async function pollCycleInner() {
16899
16899
  }
16900
16900
  try {
16901
16901
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
16902
- const { probeSessionAuth } = await import("../session-auth-dead-PZGGUZWK.js");
16902
+ const { probeSessionAuth } = await import("../session-auth-dead-M43W63XW.js");
16903
16903
  const observations = [];
16904
16904
  const pendingCacheCommits = [];
16905
16905
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -21442,7 +21442,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
21442
21442
  try {
21443
21443
  const freshId = rotateSessionForWedge(codeName);
21444
21444
  consecutiveWedgeCycles.delete(codeName);
21445
- const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-IYDBUCIP.js");
21445
+ const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-6S6ZELJG.js");
21446
21446
  const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
21447
21447
  const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
21448
21448
  const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
@@ -21485,7 +21485,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
21485
21485
  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
21486
  void (async () => {
21487
21487
  try {
21488
- const { collectDiagnostics } = await import("../persistent-session-GLBUMVU3.js");
21488
+ const { collectDiagnostics } = await import("../persistent-session-BCEKKB2Y.js");
21489
21489
  await api.post("/host/heartbeat", {
21490
21490
  host_id: hostId,
21491
21491
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
@@ -21536,7 +21536,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
21536
21536
  }
21537
21537
  try {
21538
21538
  const hostId = await getHostId();
21539
- const { collectDiagnostics } = await import("../persistent-session-GLBUMVU3.js");
21539
+ const { collectDiagnostics } = await import("../persistent-session-BCEKKB2Y.js");
21540
21540
  await api.post("/host/heartbeat", {
21541
21541
  host_id: hostId,
21542
21542
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
@@ -22208,7 +22208,7 @@ async function processClaudePairSessions(agents) {
22208
22208
  // cannot take it for itself — by the time it runs, the write it is looking
22209
22209
  // for may already have happened.
22210
22210
  snapshotPairConfig
22211
- } = await import("../claude-pair-runtime-VUTIGBWZ.js");
22211
+ } = await import("../claude-pair-runtime-3LB2CNFQ.js");
22212
22212
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
22213
22213
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
22214
22214
  const killed = await killPairSession(pairTmuxSession(pairId));
@@ -30718,7 +30718,10 @@ function isTelegramDeclineAddressed(input) {
30718
30718
  if (input.botId !== null && input.replyToFromId !== null && input.replyToFromId !== void 0 && input.replyToFromId === input.botId) {
30719
30719
  return true;
30720
30720
  }
30721
- return !!input.botUsername && typeof input.text === "string" && input.text.toLowerCase().includes(`@${input.botUsername.toLowerCase()}`);
30721
+ if (!input.botUsername)
30722
+ return false;
30723
+ const mention = `@${input.botUsername.toLowerCase()}`;
30724
+ return [input.text, input.caption].some((body) => typeof body === "string" && body.toLowerCase().includes(mention));
30722
30725
  }
30723
30726
  function decideDeclineReply(input) {
30724
30727
  const last = input.cache.get(input.key);
@@ -46757,6 +46760,8 @@ async function pollLoop() {
46757
46760
  if (access.decline !== void 0 && msg.from?.id != null && selfIdentity !== null && isTelegramDeclineAddressed({
46758
46761
  chatType: msg.chat?.type,
46759
46762
  text: msg.text,
46763
+ // Obi Wan `89b7a96d4f60`: a photo/document mention lives in the caption.
46764
+ caption: msg.caption,
46760
46765
  botUsername: selfIdentity.bot_username,
46761
46766
  botId: selfIdentity.bot_id,
46762
46767
  replyToFromId: msg.reply_to_message?.from?.id ?? null,
@@ -65,8 +65,8 @@ import {
65
65
  writeDirectChatSessionState,
66
66
  writeEgressAllowlist,
67
67
  writePersistentClaudeWrapper
68
- } from "./chunk-SGX577WT.js";
69
- import "./chunk-3V43FBP4.js";
68
+ } from "./chunk-4KNUH4DQ.js";
69
+ import "./chunk-VUC5XNUP.js";
70
70
  import "./chunk-TQDIIS3X.js";
71
71
  import "./chunk-XWVM4KPK.js";
72
72
  import "./chunk-EL5MWGGH.js";
@@ -139,4 +139,4 @@ export {
139
139
  writeEgressAllowlist,
140
140
  writePersistentClaudeWrapper
141
141
  };
142
- //# sourceMappingURL=persistent-session-GLBUMVU3.js.map
142
+ //# sourceMappingURL=persistent-session-BCEKKB2Y.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-SGX577WT.js";
4
- import "./chunk-3V43FBP4.js";
3
+ } from "./chunk-4KNUH4DQ.js";
4
+ import "./chunk-VUC5XNUP.js";
5
5
  import "./chunk-TQDIIS3X.js";
6
6
  import "./chunk-XWVM4KPK.js";
7
7
  import "./chunk-EL5MWGGH.js";
@@ -802,4 +802,4 @@ export {
802
802
  readAndResetSlackReplyBindingClassifications,
803
803
  readAndResetSlackReplyTargetClassifications
804
804
  };
805
- //# sourceMappingURL=responsiveness-probe-IYDBUCIP.js.map
805
+ //# sourceMappingURL=responsiveness-probe-6S6ZELJG.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-3V43FBP4.js";
3
+ } from "./chunk-VUC5XNUP.js";
4
4
  import "./chunk-DGUM43GV.js";
5
5
 
6
6
  // src/lib/session-auth-dead.ts
@@ -204,4 +204,4 @@ export {
204
204
  decideSessionAuthState,
205
205
  probeSessionAuth
206
206
  };
207
- //# sourceMappingURL=session-auth-dead-PZGGUZWK.js.map
207
+ //# sourceMappingURL=session-auth-dead-M43W63XW.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.1028",
3
+ "version": "0.28.1030",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {