@integrity-labs/agt-cli 0.28.496 → 0.28.497

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.
@@ -100,7 +100,7 @@ async function spawnPairSession(session) {
100
100
  return { ok: true };
101
101
  } catch {
102
102
  }
103
- const { resolveClaudeBinary } = await import("./persistent-session-O7YXPCRX.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-NRNYTSZA.js");
104
104
  const claudeBin = resolveClaudeBinary();
105
105
  const pairEnv = {
106
106
  ...process.env,
@@ -373,4 +373,4 @@ export {
373
373
  startClaudePair,
374
374
  submitClaudePairCode
375
375
  };
376
- //# sourceMappingURL=claude-pair-runtime-C2O3QBAT.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-2RXUQNV7.js.map
@@ -45,7 +45,7 @@ import {
45
45
  resolveEffectivePinRaw,
46
46
  safeWriteJsonAtomic,
47
47
  setConfigHash
48
- } from "../chunk-DZSS6TA3.js";
48
+ } from "../chunk-I5RQJEM7.js";
49
49
  import {
50
50
  getProjectDir as getProjectDir2,
51
51
  getReadyTasks,
@@ -166,7 +166,7 @@ import {
166
166
  toOpencodeModel,
167
167
  transcriptActivityAgeSeconds,
168
168
  writeEgressAllowlist
169
- } from "../chunk-JWR5FP7S.js";
169
+ } from "../chunk-UNAP4CMY.js";
170
170
  import {
171
171
  reapOrphanChannelMcps
172
172
  } from "../chunk-XWVM4KPK.js";
@@ -10246,7 +10246,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
10246
10246
  var lastVersionCheckAt = 0;
10247
10247
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
10248
10248
  var lastResponsivenessProbeAt = 0;
10249
- var agtCliVersion = true ? "0.28.496" : "dev";
10249
+ var agtCliVersion = true ? "0.28.497" : "dev";
10250
10250
  function resolveBrewPath(execFileSync2) {
10251
10251
  try {
10252
10252
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -11409,7 +11409,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
11409
11409
  if (codeNames.length === 0) return;
11410
11410
  void (async () => {
11411
11411
  try {
11412
- const { collectDiagnostics } = await import("../persistent-session-O7YXPCRX.js");
11412
+ const { collectDiagnostics } = await import("../persistent-session-NRNYTSZA.js");
11413
11413
  await api.post("/host/heartbeat", {
11414
11414
  host_id: hostId,
11415
11415
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor)
@@ -11516,7 +11516,7 @@ async function pollCycle() {
11516
11516
  }
11517
11517
  try {
11518
11518
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
11519
- const { collectDiagnostics } = await import("../persistent-session-O7YXPCRX.js");
11519
+ const { collectDiagnostics } = await import("../persistent-session-NRNYTSZA.js");
11520
11520
  const diagCodeNames = [...agentState.persistentSessionAgents];
11521
11521
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor) : void 0;
11522
11522
  let tailscaleHostname;
@@ -11631,7 +11631,7 @@ async function pollCycle() {
11631
11631
  collectResponsivenessProbes,
11632
11632
  collectPanelessActivityProbes,
11633
11633
  getResponsivenessIntervalMs
11634
- } = await import("../responsiveness-probe-Z4L2CZNA.js");
11634
+ } = await import("../responsiveness-probe-LIXS2WDP.js");
11635
11635
  const probeIntervalMs = getResponsivenessIntervalMs();
11636
11636
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
11637
11637
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -11695,7 +11695,7 @@ async function pollCycle() {
11695
11695
  collectResponsivenessProbes,
11696
11696
  livePendingInboundOldestAgeSeconds,
11697
11697
  parkPendingInbound
11698
- } = await import("../responsiveness-probe-Z4L2CZNA.js");
11698
+ } = await import("../responsiveness-probe-LIXS2WDP.js");
11699
11699
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
11700
11700
  const wedgeNow = /* @__PURE__ */ new Date();
11701
11701
  const liveAgents = agentState.persistentSessionAgents;
@@ -15184,7 +15184,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
15184
15184
  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}`));
15185
15185
  void (async () => {
15186
15186
  try {
15187
- const { collectDiagnostics } = await import("../persistent-session-O7YXPCRX.js");
15187
+ const { collectDiagnostics } = await import("../persistent-session-NRNYTSZA.js");
15188
15188
  await api.post("/host/heartbeat", {
15189
15189
  host_id: hostId,
15190
15190
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
@@ -15234,7 +15234,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
15234
15234
  }
15235
15235
  try {
15236
15236
  const hostId = await getHostId();
15237
- const { collectDiagnostics } = await import("../persistent-session-O7YXPCRX.js");
15237
+ const { collectDiagnostics } = await import("../persistent-session-NRNYTSZA.js");
15238
15238
  await api.post("/host/heartbeat", {
15239
15239
  host_id: hostId,
15240
15240
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
@@ -15722,7 +15722,7 @@ async function processClaudePairSessions(agents) {
15722
15722
  killPairSession,
15723
15723
  pairTmuxSession,
15724
15724
  finalizeClaudePairOnboarding
15725
- } = await import("../claude-pair-runtime-C2O3QBAT.js");
15725
+ } = await import("../claude-pair-runtime-2RXUQNV7.js");
15726
15726
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
15727
15727
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
15728
15728
  const killed = await killPairSession(pairTmuxSession(pairId));
@@ -21700,7 +21700,7 @@ server.tool(
21700
21700
  );
21701
21701
  server.tool(
21702
21702
  "debug_query_logs",
21703
- 'Read an agent\'s HOST logs OVER A TIME WINDOW, spanning rotated files \u2014 the historical counterpart to debug_tail_logs. Where tail only shows the live tail of the current file (minutes, and gone once it rotates), this reads the active log AND its logrotate siblings (manager.log.1, manager.log.2.gz, \u2026 14 kept) and filters lines to [since, until]. This is the read path for "did it restart at 4pm YESTERDAY?" \u2014 use it when the answer is older than the live tail or spans a rotation. Returns { agent_id, code_name, host, log, since, until, time_filtered, content, log_present, lines_requested, truncated, ssm_status }. Time filtering applies to `manager` (its lines carry an ISO8601 prefix); `pane`/`slack-stderr`/`telegram-stderr`/`direct-chat-stderr`/`manager-state`/`channel-quarantine` return their byte-capped tail unfiltered (time_filtered:false \u2014 the last two are JSON, not line-oriented). Only operational logs are reachable \u2014 secret files (.mcp.json, .env.integrations) are NOT. Pass { agent_id, log?, since?, until?, lines? } (since/until ISO8601 UTC e.g. 2026-06-14T16:00:00Z, default unbounded; lines default 1000, max 5000; output ~20 KB-capped, newest kept \u2014 narrow the window if truncated). Fails closed for an unauthorized org; every call is audited as a cross-org host access.',
21703
+ 'Read an agent\'s HOST logs OVER A TIME WINDOW, spanning rotated files \u2014 the historical counterpart to debug_tail_logs. Where tail only shows the live tail of the current file (minutes, and gone once it rotates), this reads the active log AND its logrotate siblings (manager.log-YYYYMMDD, manager.log-YYYYMMDD.gz, \u2026 7 days kept on-host) and filters lines to [since, until]. Windows older than 7 days return nothing: those rotations have been archived to S3, and hosts are write-only to that bucket by design, so an older window needs an operator S3 fetch rather than this tool (ENG-8330). Seven days is the ONE local-retention window for everything the host archives, Claude session transcripts included. This is the read path for "did it restart at 4pm YESTERDAY?" \u2014 use it when the answer is older than the live tail or spans a rotation. Returns { agent_id, code_name, host, log, since, until, time_filtered, content, log_present, lines_requested, truncated, ssm_status }. Time filtering applies to `manager` (its lines carry an ISO8601 prefix); `pane`/`slack-stderr`/`telegram-stderr`/`direct-chat-stderr`/`manager-state`/`channel-quarantine` return their byte-capped tail unfiltered (time_filtered:false \u2014 the last two are JSON, not line-oriented). Only operational logs are reachable \u2014 secret files (.mcp.json, .env.integrations) are NOT. Pass { agent_id, log?, since?, until?, lines? } (since/until ISO8601 UTC e.g. 2026-06-14T16:00:00Z, default unbounded; lines default 1000, max 5000; output ~20 KB-capped, newest kept \u2014 narrow the window if truncated). Fails closed for an unauthorized org; every call is audited as a cross-org host access.',
21704
21704
  queryLogsSchema.shape,
21705
21705
  async (args) => {
21706
21706
  try {
@@ -36,7 +36,7 @@ import {
36
36
  writeDirectChatSessionState,
37
37
  writeEgressAllowlist,
38
38
  writePersistentClaudeWrapper
39
- } from "./chunk-JWR5FP7S.js";
39
+ } from "./chunk-UNAP4CMY.js";
40
40
  import "./chunk-XWVM4KPK.js";
41
41
  export {
42
42
  EGRESS_BASELINE_DOMAINS,
@@ -77,4 +77,4 @@ export {
77
77
  writeEgressAllowlist,
78
78
  writePersistentClaudeWrapper
79
79
  };
80
- //# sourceMappingURL=persistent-session-O7YXPCRX.js.map
80
+ //# sourceMappingURL=persistent-session-NRNYTSZA.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-JWR5FP7S.js";
3
+ } from "./chunk-UNAP4CMY.js";
4
4
  import "./chunk-XWVM4KPK.js";
5
5
 
6
6
  // src/lib/responsiveness-probe.ts
@@ -658,4 +658,4 @@ export {
658
658
  readAndResetSlackReplyBindingClassifications,
659
659
  readAndResetSlackReplyTargetClassifications
660
660
  };
661
- //# sourceMappingURL=responsiveness-probe-Z4L2CZNA.js.map
661
+ //# sourceMappingURL=responsiveness-probe-LIXS2WDP.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.496",
3
+ "version": "0.28.497",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {