@integrity-labs/agt-cli 0.28.871 → 0.28.873

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.
package/dist/bin/agt.js CHANGED
@@ -40,12 +40,12 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-74PZNNGN.js";
43
+ } from "../chunk-X64424TS.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-QYI3M3WC.js";
48
+ } from "../chunk-XXX4XCOG.js";
49
49
  import {
50
50
  AnchorSessionClient,
51
51
  CHANNEL_REGISTRY,
@@ -79,7 +79,7 @@ import {
79
79
  serializeManifestForSlackCli,
80
80
  sessionFileExists,
81
81
  sessionTranscriptDir
82
- } from "../chunk-XK54CUEP.js";
82
+ } from "../chunk-KFRKCRKK.js";
83
83
  import "../chunk-XWVM4KPK.js";
84
84
 
85
85
  // src/bin/agt.ts
@@ -5467,7 +5467,7 @@ import { execFileSync, execSync } from "child_process";
5467
5467
  import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
5468
5468
  import chalk18 from "chalk";
5469
5469
  import ora16 from "ora";
5470
- var cliVersion = true ? "0.28.871" : "dev";
5470
+ var cliVersion = true ? "0.28.873" : "dev";
5471
5471
  async function fetchLatestVersion() {
5472
5472
  const host2 = getHost();
5473
5473
  if (!host2) return null;
@@ -6658,7 +6658,7 @@ function handleError(err) {
6658
6658
  }
6659
6659
 
6660
6660
  // src/bin/agt.ts
6661
- var cliVersion2 = true ? "0.28.871" : "dev";
6661
+ var cliVersion2 = true ? "0.28.873" : "dev";
6662
6662
  var program = new Command();
6663
6663
  program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
6664
6664
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -14303,4 +14303,4 @@ export {
14303
14303
  peekCurrentSession,
14304
14304
  readDailySessionPin
14305
14305
  };
14306
- //# sourceMappingURL=chunk-XK54CUEP.js.map
14306
+ //# sourceMappingURL=chunk-KFRKCRKK.js.map
@@ -16,7 +16,7 @@ import {
16
16
  parseEnvIntegrations,
17
17
  shellQuote,
18
18
  summarizeUnanswerablePane
19
- } from "./chunk-QYI3M3WC.js";
19
+ } from "./chunk-XXX4XCOG.js";
20
20
  import {
21
21
  BIND_FAILURE_QUARANTINE_THRESHOLD,
22
22
  INTEGRATIONS_SECTION_END,
@@ -76,7 +76,7 @@ import {
76
76
  sessionTranscriptDir,
77
77
  worseConnectivityOutcome,
78
78
  wrapScheduledTaskPrompt
79
- } from "./chunk-XK54CUEP.js";
79
+ } from "./chunk-KFRKCRKK.js";
80
80
  import {
81
81
  parsePsRows
82
82
  } from "./chunk-XWVM4KPK.js";
@@ -6771,7 +6771,7 @@ function exchangeFailureKind(err) {
6771
6771
  }
6772
6772
 
6773
6773
  // src/lib/api-client.ts
6774
- var agtCliVersion = true ? "0.28.871" : "dev";
6774
+ var agtCliVersion = true ? "0.28.873" : "dev";
6775
6775
  var lastConfigHash = null;
6776
6776
  function setConfigHash(hash) {
6777
6777
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -11381,4 +11381,4 @@ export {
11381
11381
  managerInstallSystemUnitCommand,
11382
11382
  managerUninstallSystemUnitCommand
11383
11383
  };
11384
- //# sourceMappingURL=chunk-74PZNNGN.js.map
11384
+ //# sourceMappingURL=chunk-X64424TS.js.map
@@ -18,7 +18,7 @@ import {
18
18
  rotateDailySession,
19
19
  sessionFileExists,
20
20
  todayLocalIso
21
- } from "./chunk-XK54CUEP.js";
21
+ } from "./chunk-KFRKCRKK.js";
22
22
  import {
23
23
  reapOrphanChannelMcps
24
24
  } from "./chunk-XWVM4KPK.js";
@@ -5431,4 +5431,4 @@ export {
5431
5431
  stopAllSessionsAndWait,
5432
5432
  getProjectDir
5433
5433
  };
5434
- //# sourceMappingURL=chunk-QYI3M3WC.js.map
5434
+ //# sourceMappingURL=chunk-XXX4XCOG.js.map
@@ -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-YTDIYOGS.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-TESZPF4A.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-NMZMSOS2.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-4GNMMUKL.js.map
@@ -63,7 +63,7 @@ import {
63
63
  safeWriteJsonAtomic,
64
64
  setConfigHash,
65
65
  tripClass
66
- } from "../chunk-74PZNNGN.js";
66
+ } from "../chunk-X64424TS.js";
67
67
  import {
68
68
  getProjectDir as getProjectDir2,
69
69
  getReadyTasks,
@@ -129,7 +129,7 @@ import {
129
129
  takeZombieDetection,
130
130
  toOpencodeModel,
131
131
  writeEgressAllowlist
132
- } from "../chunk-QYI3M3WC.js";
132
+ } from "../chunk-XXX4XCOG.js";
133
133
  import {
134
134
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
135
135
  AnchorSessionClient,
@@ -224,7 +224,7 @@ import {
224
224
  subagentActivityAgeSeconds,
225
225
  sumTranscriptUsageInWindow,
226
226
  transcriptActivityAgeSeconds
227
- } from "../chunk-XK54CUEP.js";
227
+ } from "../chunk-KFRKCRKK.js";
228
228
  import {
229
229
  reapOrphanChannelMcps
230
230
  } from "../chunk-XWVM4KPK.js";
@@ -13010,7 +13010,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
13010
13010
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
13011
13011
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
13012
13012
  async function channelInboundActivityAgeSecondsFor(codeName) {
13013
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-KDXJEZEI.js");
13013
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-CZY4TVK7.js");
13014
13014
  const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
13015
13015
  if (newest === null) return null;
13016
13016
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -13678,7 +13678,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
13678
13678
  var lastVersionCheckAt = 0;
13679
13679
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
13680
13680
  var lastResponsivenessProbeAt = 0;
13681
- var agtCliVersion = true ? "0.28.871" : "dev";
13681
+ var agtCliVersion = true ? "0.28.873" : "dev";
13682
13682
  function resolveBrewPath(execFileSync2) {
13683
13683
  try {
13684
13684
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -15268,7 +15268,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
15268
15268
  if (codeNames.length === 0) return;
15269
15269
  void (async () => {
15270
15270
  try {
15271
- const { collectDiagnostics } = await import("../persistent-session-YTDIYOGS.js");
15271
+ const { collectDiagnostics } = await import("../persistent-session-TESZPF4A.js");
15272
15272
  await api.post("/host/heartbeat", {
15273
15273
  host_id: hostId,
15274
15274
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -15410,7 +15410,7 @@ async function pollCycleInner() {
15410
15410
  }
15411
15411
  try {
15412
15412
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
15413
- const { collectDiagnostics } = await import("../persistent-session-YTDIYOGS.js");
15413
+ const { collectDiagnostics } = await import("../persistent-session-TESZPF4A.js");
15414
15414
  const diagCodeNames = [...agentState.persistentSessionAgents];
15415
15415
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
15416
15416
  let tailscaleHostname;
@@ -15579,7 +15579,7 @@ async function pollCycleInner() {
15579
15579
  collectPanelessActivityProbes,
15580
15580
  getResponsivenessIntervalMs,
15581
15581
  occupancyQualificationClassifications
15582
- } = await import("../responsiveness-probe-KDXJEZEI.js");
15582
+ } = await import("../responsiveness-probe-CZY4TVK7.js");
15583
15583
  const probeIntervalMs = getResponsivenessIntervalMs();
15584
15584
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
15585
15585
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -15696,7 +15696,7 @@ async function pollCycleInner() {
15696
15696
  collectResponsivenessProbes,
15697
15697
  livePendingInboundOldestAgeSeconds,
15698
15698
  parkPendingInbound
15699
- } = await import("../responsiveness-probe-KDXJEZEI.js");
15699
+ } = await import("../responsiveness-probe-CZY4TVK7.js");
15700
15700
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
15701
15701
  const wedgeNow = /* @__PURE__ */ new Date();
15702
15702
  const liveAgents = agentState.persistentSessionAgents;
@@ -15852,7 +15852,7 @@ async function pollCycleInner() {
15852
15852
  }
15853
15853
  try {
15854
15854
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
15855
- const { probeSessionAuth } = await import("../session-auth-dead-T5N23QSQ.js");
15855
+ const { probeSessionAuth } = await import("../session-auth-dead-ANDVMNLE.js");
15856
15856
  const observations = [];
15857
15857
  const pendingCacheCommits = [];
15858
15858
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -20097,7 +20097,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
20097
20097
  try {
20098
20098
  const freshId = rotateSessionForWedge(codeName);
20099
20099
  consecutiveWedgeCycles.delete(codeName);
20100
- const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-KDXJEZEI.js");
20100
+ const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-CZY4TVK7.js");
20101
20101
  const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
20102
20102
  const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
20103
20103
  const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
@@ -20135,7 +20135,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
20135
20135
  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}`));
20136
20136
  void (async () => {
20137
20137
  try {
20138
- const { collectDiagnostics } = await import("../persistent-session-YTDIYOGS.js");
20138
+ const { collectDiagnostics } = await import("../persistent-session-TESZPF4A.js");
20139
20139
  await api.post("/host/heartbeat", {
20140
20140
  host_id: hostId,
20141
20141
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -20181,7 +20181,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
20181
20181
  }
20182
20182
  try {
20183
20183
  const hostId = await getHostId();
20184
- const { collectDiagnostics } = await import("../persistent-session-YTDIYOGS.js");
20184
+ const { collectDiagnostics } = await import("../persistent-session-TESZPF4A.js");
20185
20185
  await api.post("/host/heartbeat", {
20186
20186
  host_id: hostId,
20187
20187
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -20817,7 +20817,7 @@ async function processClaudePairSessions(agents) {
20817
20817
  killPairSession,
20818
20818
  pairTmuxSession,
20819
20819
  finalizeClaudePairOnboarding
20820
- } = await import("../claude-pair-runtime-NMZMSOS2.js");
20820
+ } = await import("../claude-pair-runtime-4GNMMUKL.js");
20821
20821
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
20822
20822
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
20823
20823
  const killed = await killPairSession(pairTmuxSession(pairId));
@@ -54,8 +54,8 @@ import {
54
54
  writeDirectChatSessionState,
55
55
  writeEgressAllowlist,
56
56
  writePersistentClaudeWrapper
57
- } from "./chunk-QYI3M3WC.js";
58
- import "./chunk-XK54CUEP.js";
57
+ } from "./chunk-XXX4XCOG.js";
58
+ import "./chunk-KFRKCRKK.js";
59
59
  import "./chunk-XWVM4KPK.js";
60
60
  export {
61
61
  EGRESS_BASELINE_DOMAINS,
@@ -114,4 +114,4 @@ export {
114
114
  writeEgressAllowlist,
115
115
  writePersistentClaudeWrapper
116
116
  };
117
- //# sourceMappingURL=persistent-session-YTDIYOGS.js.map
117
+ //# sourceMappingURL=persistent-session-TESZPF4A.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-QYI3M3WC.js";
4
- import "./chunk-XK54CUEP.js";
3
+ } from "./chunk-XXX4XCOG.js";
4
+ import "./chunk-KFRKCRKK.js";
5
5
  import "./chunk-XWVM4KPK.js";
6
6
 
7
7
  // src/lib/responsiveness-probe.ts
@@ -764,4 +764,4 @@ export {
764
764
  readAndResetSlackReplyBindingClassifications,
765
765
  readAndResetSlackReplyTargetClassifications
766
766
  };
767
- //# sourceMappingURL=responsiveness-probe-KDXJEZEI.js.map
767
+ //# sourceMappingURL=responsiveness-probe-CZY4TVK7.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-XK54CUEP.js";
3
+ } from "./chunk-KFRKCRKK.js";
4
4
 
5
5
  // src/lib/session-auth-dead.ts
6
6
  import { closeSync, openSync, readSync, readdirSync, statSync } from "fs";
@@ -203,4 +203,4 @@ export {
203
203
  decideSessionAuthState,
204
204
  probeSessionAuth
205
205
  };
206
- //# sourceMappingURL=session-auth-dead-T5N23QSQ.js.map
206
+ //# sourceMappingURL=session-auth-dead-ANDVMNLE.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.871",
3
+ "version": "0.28.873",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {