@integrity-labs/agt-cli 0.28.1274 → 0.28.1275

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.
Files changed (31) hide show
  1. package/dist/{api-client-GIY2I6DY.js → api-client-5S4JHNCY.js} +3 -3
  2. package/dist/bin/agt.js +7 -7
  3. package/dist/{chunk-UTWVB3MI.js → chunk-4UXZAUEY.js} +2 -2
  4. package/dist/{chunk-6ZGAF4SD.js → chunk-7D6EMIHG.js} +17 -10
  5. package/dist/chunk-7D6EMIHG.js.map +1 -0
  6. package/dist/{chunk-HG46MG2F.js → chunk-7PIMV2ID.js} +5 -5
  7. package/dist/{chunk-END74F3P.js → chunk-BSVQWPBC.js} +3 -3
  8. package/dist/{chunk-YHTQMJE3.js → chunk-GRWU34ID.js} +2 -2
  9. package/dist/{chunk-MXCJUNEP.js → chunk-V2BS3IN3.js} +1 -1
  10. package/dist/{chunk-MXCJUNEP.js.map → chunk-V2BS3IN3.js.map} +1 -1
  11. package/dist/{claude-code-updater-U6ESCPIL.js → claude-code-updater-EC3JMSNJ.js} +3 -3
  12. package/dist/{claude-pair-runtime-GZHUPW2V.js → claude-pair-runtime-NPBFKJSQ.js} +3 -3
  13. package/dist/lib/manager-worker.js +21 -21
  14. package/dist/mcp/direct-chat-channel.js +1 -1
  15. package/dist/mcp/slack-channel.js +1 -1
  16. package/dist/mcp/telegram-channel.js +1 -1
  17. package/dist/{persistent-session-C62TH4M6.js → persistent-session-EJUOBWXJ.js} +6 -4
  18. package/dist/{responsiveness-probe-FMFTIMHU.js → responsiveness-probe-GBYZCGXX.js} +4 -4
  19. package/dist/{session-auth-dead-B6UDTSKE.js → session-auth-dead-4U6NDCWN.js} +3 -3
  20. package/package.json +1 -1
  21. package/dist/chunk-6ZGAF4SD.js.map +0 -1
  22. /package/dist/{api-client-GIY2I6DY.js.map → api-client-5S4JHNCY.js.map} +0 -0
  23. /package/dist/{chunk-UTWVB3MI.js.map → chunk-4UXZAUEY.js.map} +0 -0
  24. /package/dist/{chunk-HG46MG2F.js.map → chunk-7PIMV2ID.js.map} +0 -0
  25. /package/dist/{chunk-END74F3P.js.map → chunk-BSVQWPBC.js.map} +0 -0
  26. /package/dist/{chunk-YHTQMJE3.js.map → chunk-GRWU34ID.js.map} +0 -0
  27. /package/dist/{claude-code-updater-U6ESCPIL.js.map → claude-code-updater-EC3JMSNJ.js.map} +0 -0
  28. /package/dist/{claude-pair-runtime-GZHUPW2V.js.map → claude-pair-runtime-NPBFKJSQ.js.map} +0 -0
  29. /package/dist/{persistent-session-C62TH4M6.js.map → persistent-session-EJUOBWXJ.js.map} +0 -0
  30. /package/dist/{responsiveness-probe-FMFTIMHU.js.map → responsiveness-probe-GBYZCGXX.js.map} +0 -0
  31. /package/dist/{session-auth-dead-B6UDTSKE.js.map → session-auth-dead-4U6NDCWN.js.map} +0 -0
@@ -13,9 +13,9 @@ import {
13
13
  probeClaudeInstalls,
14
14
  readsAsNativeInstall,
15
15
  shouldRunClaudeCodeUpdater
16
- } from "./chunk-UTWVB3MI.js";
16
+ } from "./chunk-4UXZAUEY.js";
17
17
  import "./chunk-XWVM4KPK.js";
18
- import "./chunk-MXCJUNEP.js";
18
+ import "./chunk-V2BS3IN3.js";
19
19
  import "./chunk-AIUIMEUS.js";
20
20
  import "./chunk-DGUM43GV.js";
21
21
  export {
@@ -34,4 +34,4 @@ export {
34
34
  readsAsNativeInstall,
35
35
  shouldRunClaudeCodeUpdater
36
36
  };
37
- //# sourceMappingURL=claude-code-updater-U6ESCPIL.js.map
37
+ //# sourceMappingURL=claude-code-updater-EC3JMSNJ.js.map
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  redactPaneFrame,
12
12
  sanitizeTerminalFrame
13
- } from "./chunk-MXCJUNEP.js";
13
+ } from "./chunk-V2BS3IN3.js";
14
14
  import {
15
15
  CLAUDE_CONFIG_DIR_ENV,
16
16
  claudeConfigDirFor,
@@ -323,7 +323,7 @@ async function spawnPairSession(session) {
323
323
  return { ok: true };
324
324
  } catch {
325
325
  }
326
- const { resolveClaudeBinary } = await import("./persistent-session-C62TH4M6.js");
326
+ const { resolveClaudeBinary } = await import("./persistent-session-EJUOBWXJ.js");
327
327
  const claudeBin = resolveClaudeBinary();
328
328
  const pairEnv = {
329
329
  ...process.env,
@@ -838,4 +838,4 @@ export {
838
838
  startClaudePair,
839
839
  submitClaudePairCode
840
840
  };
841
- //# sourceMappingURL=claude-pair-runtime-GZHUPW2V.js.map
841
+ //# sourceMappingURL=claude-pair-runtime-NPBFKJSQ.js.map
@@ -70,7 +70,7 @@ import {
70
70
  tripClass,
71
71
  writeEtcEnvironment,
72
72
  writeProfileDScript
73
- } from "../chunk-HG46MG2F.js";
73
+ } from "../chunk-7PIMV2ID.js";
74
74
  import {
75
75
  ApiError,
76
76
  adoptHostKeyInProcess,
@@ -88,7 +88,7 @@ import {
88
88
  probeHostKey,
89
89
  requireHost,
90
90
  setConfigHash
91
- } from "../chunk-END74F3P.js";
91
+ } from "../chunk-BSVQWPBC.js";
92
92
  import {
93
93
  BLOCKED_ON_PROMPT_DECISION,
94
94
  CHANNEL_SECRET_ENV_KEYS,
@@ -179,7 +179,7 @@ import {
179
179
  webFetchBaselineValue,
180
180
  webFetchRestartNeeded,
181
181
  writeEgressAllowlist
182
- } from "../chunk-6ZGAF4SD.js";
182
+ } from "../chunk-7D6EMIHG.js";
183
183
  import {
184
184
  isAgentIdle,
185
185
  isStaleForToday,
@@ -190,7 +190,7 @@ import {
190
190
  subagentActivityAgeSeconds,
191
191
  subagentTranscriptDir,
192
192
  transcriptActivityAgeSeconds
193
- } from "../chunk-YHTQMJE3.js";
193
+ } from "../chunk-GRWU34ID.js";
194
194
  import {
195
195
  classifyUnanswerablePane,
196
196
  focusedConfirmDialogBlock,
@@ -216,7 +216,7 @@ import {
216
216
  runSafeCleanup,
217
217
  tightestDiskStat,
218
218
  withPackageCacheLock
219
- } from "../chunk-UTWVB3MI.js";
219
+ } from "../chunk-4UXZAUEY.js";
220
220
  import {
221
221
  parsePsRows,
222
222
  reapOrphanChannelMcps
@@ -345,7 +345,7 @@ import {
345
345
  stabiliseResetInstant,
346
346
  sumTranscriptUsageInWindow,
347
347
  summarizeTranscriptActivity
348
- } from "../chunk-MXCJUNEP.js";
348
+ } from "../chunk-V2BS3IN3.js";
349
349
  import {
350
350
  CLAUDE_CONFIG_DIR_ENV,
351
351
  claudeConfigDirFor,
@@ -15143,7 +15143,7 @@ function createFileMigrationReportIO(codeName, log2) {
15143
15143
  };
15144
15144
  }
15145
15145
  var managerHostPost = async (path, body) => {
15146
- const { api: api2, ApiError: ApiError3 } = await import("../api-client-GIY2I6DY.js");
15146
+ const { api: api2, ApiError: ApiError3 } = await import("../api-client-5S4JHNCY.js");
15147
15147
  try {
15148
15148
  const json = await api2.post(path, body);
15149
15149
  return { status: 200, json };
@@ -17194,7 +17194,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
17194
17194
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
17195
17195
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
17196
17196
  async function channelInboundActivityAgeSecondsFor(codeName) {
17197
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-FMFTIMHU.js");
17197
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-GBYZCGXX.js");
17198
17198
  const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
17199
17199
  if (newest === null) return null;
17200
17200
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -18075,7 +18075,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
18075
18075
  var lastVersionCheckAt = 0;
18076
18076
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
18077
18077
  var lastResponsivenessProbeAt = 0;
18078
- var agtCliVersion = true ? "0.28.1274" : "dev";
18078
+ var agtCliVersion = true ? "0.28.1275" : "dev";
18079
18079
  function resolveBrewPath(execFileSync5) {
18080
18080
  try {
18081
18081
  const out = execFileSync5("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -20084,7 +20084,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
20084
20084
  if (codeNames.length === 0) return;
20085
20085
  void (async () => {
20086
20086
  try {
20087
- const { collectDiagnostics } = await import("../persistent-session-C62TH4M6.js");
20087
+ const { collectDiagnostics } = await import("../persistent-session-EJUOBWXJ.js");
20088
20088
  await api.post("/host/heartbeat", {
20089
20089
  host_id: hostId,
20090
20090
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
@@ -20227,7 +20227,7 @@ async function pollCycleInner() {
20227
20227
  }
20228
20228
  try {
20229
20229
  const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
20230
- const { collectDiagnostics } = await import("../persistent-session-C62TH4M6.js");
20230
+ const { collectDiagnostics } = await import("../persistent-session-EJUOBWXJ.js");
20231
20231
  const diagCodeNames = [...agentState.persistentSessionAgents];
20232
20232
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor) : void 0;
20233
20233
  let tailscaleHostname;
@@ -20498,7 +20498,7 @@ async function pollCycleInner() {
20498
20498
  }
20499
20499
  try {
20500
20500
  const desiredClaudeCodeVersion = hbResp?.desired_claude_code_version?.trim();
20501
- const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-U6ESCPIL.js");
20501
+ const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-EC3JMSNJ.js");
20502
20502
  const securityFloor = currentSecurityFloor();
20503
20503
  claudeUpdaterInFlight = true;
20504
20504
  if (desiredClaudeCodeVersion && (claudePairLoop.busy || claudePairingInProgress())) {
@@ -20533,7 +20533,7 @@ async function pollCycleInner() {
20533
20533
  collectPanelessActivityProbes,
20534
20534
  getResponsivenessIntervalMs,
20535
20535
  occupancyQualificationClassifications
20536
- } = await import("../responsiveness-probe-FMFTIMHU.js");
20536
+ } = await import("../responsiveness-probe-GBYZCGXX.js");
20537
20537
  const probeIntervalMs = getResponsivenessIntervalMs();
20538
20538
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
20539
20539
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -20650,7 +20650,7 @@ async function pollCycleInner() {
20650
20650
  collectResponsivenessProbes,
20651
20651
  livePendingInboundOldestAgeSeconds,
20652
20652
  parkPendingInbound
20653
- } = await import("../responsiveness-probe-FMFTIMHU.js");
20653
+ } = await import("../responsiveness-probe-GBYZCGXX.js");
20654
20654
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-5PCBGRNY.js");
20655
20655
  const wedgeNow = /* @__PURE__ */ new Date();
20656
20656
  const liveAgents = agentState.persistentSessionAgents;
@@ -20936,7 +20936,7 @@ async function pollCycleInner() {
20936
20936
  }
20937
20937
  }
20938
20938
  );
20939
- const { parkPendingInbound } = await import("../responsiveness-probe-FMFTIMHU.js");
20939
+ const { parkPendingInbound } = await import("../responsiveness-probe-GBYZCGXX.js");
20940
20940
  const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
20941
20941
  paneFatalStreak.delete(codeName);
20942
20942
  paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
@@ -20967,7 +20967,7 @@ async function pollCycleInner() {
20967
20967
  TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
20968
20968
  bindSourceEscalations
20969
20969
  } = await import("../transcript-mount-health-OHE6IVJV.js");
20970
- const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-C62TH4M6.js");
20970
+ const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-EJUOBWXJ.js");
20971
20971
  const mountConfig = resolveTranscriptMountConfig();
20972
20972
  const liveAgents = agentState.persistentSessionAgents;
20973
20973
  for (const tracked of [
@@ -21132,7 +21132,7 @@ async function pollCycleInner() {
21132
21132
  }
21133
21133
  try {
21134
21134
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
21135
- const { probeSessionAuth } = await import("../session-auth-dead-B6UDTSKE.js");
21135
+ const { probeSessionAuth } = await import("../session-auth-dead-4U6NDCWN.js");
21136
21136
  const observations = [];
21137
21137
  const pendingCacheCommits = [];
21138
21138
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -26200,7 +26200,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
26200
26200
  if (!refreshData) return;
26201
26201
  const framework = refreshData.agent?.framework ?? agentFrameworkCache.get(codeName) ?? DEFAULT_FRAMEWORK;
26202
26202
  const hostId = await getHostId();
26203
- const parkForRestart = await import("../responsiveness-probe-FMFTIMHU.js").then(
26203
+ const parkForRestart = await import("../responsiveness-probe-GBYZCGXX.js").then(
26204
26204
  (m) => m.parkPendingInbound,
26205
26205
  (err) => err
26206
26206
  );
@@ -26277,7 +26277,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
26277
26277
  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}`));
26278
26278
  void (async () => {
26279
26279
  try {
26280
- const { collectDiagnostics } = await import("../persistent-session-C62TH4M6.js");
26280
+ const { collectDiagnostics } = await import("../persistent-session-EJUOBWXJ.js");
26281
26281
  await api.post("/host/heartbeat", {
26282
26282
  host_id: hostId,
26283
26283
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
@@ -26330,7 +26330,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
26330
26330
  }
26331
26331
  try {
26332
26332
  const hostId = await getHostId();
26333
- const { collectDiagnostics } = await import("../persistent-session-C62TH4M6.js");
26333
+ const { collectDiagnostics } = await import("../persistent-session-EJUOBWXJ.js");
26334
26334
  await api.post("/host/heartbeat", {
26335
26335
  host_id: hostId,
26336
26336
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
@@ -27057,7 +27057,7 @@ async function processClaudePairSessions(agents) {
27057
27057
  snapshotPairConfig,
27058
27058
  // ENG-11659: result -> report body + the manager.log line that records it.
27059
27059
  planPairStartReport
27060
- } = await import("../claude-pair-runtime-GZHUPW2V.js");
27060
+ } = await import("../claude-pair-runtime-NPBFKJSQ.js");
27061
27061
  const { resetClaudeSignin, describeSigninResetForLog, describeSigninResetFailure } = await import("../claude-signin-reset-6IJMMVYG.js");
27062
27062
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
27063
27063
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
@@ -49182,7 +49182,7 @@ function tmuxSessionTarget(session) {
49182
49182
  if (n.endsWith(":")) n = n.slice(0, -1);
49183
49183
  return `=${n}`;
49184
49184
  }
49185
- var TMUX_SESSION_ABSENT = /can't find session|no server running|error connecting to .* \(No such file or directory\)/i;
49185
+ var TMUX_SESSION_ABSENT = /can't find session|no server running/i;
49186
49186
  function probeTmuxSession(tmuxSession) {
49187
49187
  try {
49188
49188
  execFileSync("tmux", ["has-session", "-t", tmuxSessionTarget(tmuxSession)], {
@@ -42757,7 +42757,7 @@ function tmuxSessionTarget(session) {
42757
42757
  if (n.endsWith(":")) n = n.slice(0, -1);
42758
42758
  return `=${n}`;
42759
42759
  }
42760
- var TMUX_SESSION_ABSENT = /can't find session|no server running|error connecting to .* \(No such file or directory\)/i;
42760
+ var TMUX_SESSION_ABSENT = /can't find session|no server running/i;
42761
42761
  function probeTmuxSession(tmuxSession) {
42762
42762
  try {
42763
42763
  execFileSync("tmux", ["has-session", "-t", tmuxSessionTarget(tmuxSession)], {
@@ -43665,7 +43665,7 @@ function tmuxSessionTarget(session) {
43665
43665
  if (n.endsWith(":")) n = n.slice(0, -1);
43666
43666
  return `=${n}`;
43667
43667
  }
43668
- var TMUX_SESSION_ABSENT = /can't find session|no server running|error connecting to .* \(No such file or directory\)/i;
43668
+ var TMUX_SESSION_ABSENT = /can't find session|no server running/i;
43669
43669
  function probeTmuxSession(tmuxSession) {
43670
43670
  try {
43671
43671
  execFileSync("tmux", ["has-session", "-t", tmuxSessionTarget(tmuxSession)], {
@@ -22,6 +22,7 @@ import {
22
22
  claudeStateDirFor,
23
23
  collectDiagnostics,
24
24
  configDirIsIsolationSafe,
25
+ crashRespawnDeferred,
25
26
  describePaneAgentIdMismatch,
26
27
  detectFailureSignature,
27
28
  directChatSessionStatePath,
@@ -82,12 +83,12 @@ import {
82
83
  writeDirectChatSessionState,
83
84
  writeEgressAllowlist,
84
85
  writePersistentClaudeWrapper
85
- } from "./chunk-6ZGAF4SD.js";
86
- import "./chunk-YHTQMJE3.js";
86
+ } from "./chunk-7D6EMIHG.js";
87
+ import "./chunk-GRWU34ID.js";
87
88
  import "./chunk-XL2HPM67.js";
88
89
  import "./chunk-6HBXEJHO.js";
89
90
  import "./chunk-XWVM4KPK.js";
90
- import "./chunk-MXCJUNEP.js";
91
+ import "./chunk-V2BS3IN3.js";
91
92
  import "./chunk-AIUIMEUS.js";
92
93
  import "./chunk-DGUM43GV.js";
93
94
  export {
@@ -114,6 +115,7 @@ export {
114
115
  claudeStateDirFor,
115
116
  collectDiagnostics,
116
117
  configDirIsIsolationSafe,
118
+ crashRespawnDeferred,
117
119
  describePaneAgentIdMismatch,
118
120
  detectFailureSignature,
119
121
  directChatSessionStatePath,
@@ -175,4 +177,4 @@ export {
175
177
  writeEgressAllowlist,
176
178
  writePersistentClaudeWrapper
177
179
  };
178
- //# sourceMappingURL=persistent-session-C62TH4M6.js.map
180
+ //# sourceMappingURL=persistent-session-EJUOBWXJ.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-6ZGAF4SD.js";
4
- import "./chunk-YHTQMJE3.js";
3
+ } from "./chunk-7D6EMIHG.js";
4
+ import "./chunk-GRWU34ID.js";
5
5
  import "./chunk-XL2HPM67.js";
6
6
  import "./chunk-6HBXEJHO.js";
7
7
  import "./chunk-XWVM4KPK.js";
8
- import "./chunk-MXCJUNEP.js";
8
+ import "./chunk-V2BS3IN3.js";
9
9
  import "./chunk-AIUIMEUS.js";
10
10
  import "./chunk-DGUM43GV.js";
11
11
 
@@ -804,4 +804,4 @@ export {
804
804
  readAndResetSlackReplyBindingClassifications,
805
805
  readAndResetSlackReplyTargetClassifications
806
806
  };
807
- //# sourceMappingURL=responsiveness-probe-FMFTIMHU.js.map
807
+ //# sourceMappingURL=responsiveness-probe-GBYZCGXX.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-YHTQMJE3.js";
4
- import "./chunk-MXCJUNEP.js";
3
+ } from "./chunk-GRWU34ID.js";
4
+ import "./chunk-V2BS3IN3.js";
5
5
  import "./chunk-DGUM43GV.js";
6
6
 
7
7
  // src/lib/session-auth-dead.ts
@@ -205,4 +205,4 @@ export {
205
205
  decideSessionAuthState,
206
206
  probeSessionAuth
207
207
  };
208
- //# sourceMappingURL=session-auth-dead-B6UDTSKE.js.map
208
+ //# sourceMappingURL=session-auth-dead-4U6NDCWN.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.1274",
3
+ "version": "0.28.1275",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {