@integrity-labs/agt-cli 0.28.809 → 0.28.810

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-2Z5SJMME.js";
43
+ } from "../chunk-2D242AQK.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-5TXNXEOF.js";
48
+ } from "../chunk-SBRKT2AV.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-JNHL4KS4.js";
82
+ } from "../chunk-GBSP65E7.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.809" : "dev";
5470
+ var cliVersion = true ? "0.28.810" : "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.809" : "dev";
6661
+ var cliVersion2 = true ? "0.28.810" : "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) => {
@@ -16,7 +16,7 @@ import {
16
16
  parseEnvIntegrations,
17
17
  shellQuote,
18
18
  summarizeUnanswerablePane
19
- } from "./chunk-5TXNXEOF.js";
19
+ } from "./chunk-SBRKT2AV.js";
20
20
  import {
21
21
  BIND_FAILURE_QUARANTINE_THRESHOLD,
22
22
  INTEGRATIONS_SECTION_END,
@@ -71,7 +71,7 @@ import {
71
71
  sessionTranscriptDir,
72
72
  worseConnectivityOutcome,
73
73
  wrapScheduledTaskPrompt
74
- } from "./chunk-JNHL4KS4.js";
74
+ } from "./chunk-GBSP65E7.js";
75
75
  import {
76
76
  parsePsRows
77
77
  } from "./chunk-XWVM4KPK.js";
@@ -6523,7 +6523,7 @@ function exchangeFailureKind(err) {
6523
6523
  }
6524
6524
 
6525
6525
  // src/lib/api-client.ts
6526
- var agtCliVersion = true ? "0.28.809" : "dev";
6526
+ var agtCliVersion = true ? "0.28.810" : "dev";
6527
6527
  var lastConfigHash = null;
6528
6528
  function setConfigHash(hash) {
6529
6529
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -10818,4 +10818,4 @@ export {
10818
10818
  managerInstallSystemUnitCommand,
10819
10819
  managerUninstallSystemUnitCommand
10820
10820
  };
10821
- //# sourceMappingURL=chunk-2Z5SJMME.js.map
10821
+ //# sourceMappingURL=chunk-2D242AQK.js.map
@@ -13772,4 +13772,4 @@ export {
13772
13772
  peekCurrentSession,
13773
13773
  readDailySessionPin
13774
13774
  };
13775
- //# sourceMappingURL=chunk-JNHL4KS4.js.map
13775
+ //# sourceMappingURL=chunk-GBSP65E7.js.map
@@ -18,7 +18,7 @@ import {
18
18
  rotateDailySession,
19
19
  sessionFileExists,
20
20
  todayLocalIso
21
- } from "./chunk-JNHL4KS4.js";
21
+ } from "./chunk-GBSP65E7.js";
22
22
  import {
23
23
  reapOrphanChannelMcps
24
24
  } from "./chunk-XWVM4KPK.js";
@@ -5209,4 +5209,4 @@ export {
5209
5209
  stopAllSessionsAndWait,
5210
5210
  getProjectDir
5211
5211
  };
5212
- //# sourceMappingURL=chunk-5TXNXEOF.js.map
5212
+ //# sourceMappingURL=chunk-SBRKT2AV.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-QYP6FYFI.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-LYJCGKH3.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-P4R5WMUQ.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-WAXQINIW.js.map
@@ -58,7 +58,7 @@ import {
58
58
  safeWriteJsonAtomic,
59
59
  setConfigHash,
60
60
  tripClass
61
- } from "../chunk-2Z5SJMME.js";
61
+ } from "../chunk-2D242AQK.js";
62
62
  import {
63
63
  getProjectDir as getProjectDir2,
64
64
  getReadyTasks,
@@ -123,7 +123,7 @@ import {
123
123
  takeZombieDetection,
124
124
  toOpencodeModel,
125
125
  writeEgressAllowlist
126
- } from "../chunk-5TXNXEOF.js";
126
+ } from "../chunk-SBRKT2AV.js";
127
127
  import {
128
128
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
129
129
  AnchorSessionClient,
@@ -215,7 +215,7 @@ import {
215
215
  subagentActivityAgeSeconds,
216
216
  sumTranscriptUsageInWindow,
217
217
  transcriptActivityAgeSeconds
218
- } from "../chunk-JNHL4KS4.js";
218
+ } from "../chunk-GBSP65E7.js";
219
219
  import {
220
220
  reapOrphanChannelMcps
221
221
  } from "../chunk-XWVM4KPK.js";
@@ -12918,7 +12918,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
12918
12918
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
12919
12919
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
12920
12920
  async function channelInboundActivityAgeSecondsFor(codeName) {
12921
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-SL2MZ3WT.js");
12921
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-XRSACVMN.js");
12922
12922
  const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
12923
12923
  if (newest === null) return null;
12924
12924
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -13578,7 +13578,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
13578
13578
  var lastVersionCheckAt = 0;
13579
13579
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
13580
13580
  var lastResponsivenessProbeAt = 0;
13581
- var agtCliVersion = true ? "0.28.809" : "dev";
13581
+ var agtCliVersion = true ? "0.28.810" : "dev";
13582
13582
  function resolveBrewPath(execFileSync2) {
13583
13583
  try {
13584
13584
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -15125,7 +15125,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
15125
15125
  if (codeNames.length === 0) return;
15126
15126
  void (async () => {
15127
15127
  try {
15128
- const { collectDiagnostics } = await import("../persistent-session-QYP6FYFI.js");
15128
+ const { collectDiagnostics } = await import("../persistent-session-LYJCGKH3.js");
15129
15129
  await api.post("/host/heartbeat", {
15130
15130
  host_id: hostId,
15131
15131
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -15266,7 +15266,7 @@ async function pollCycleInner() {
15266
15266
  }
15267
15267
  try {
15268
15268
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
15269
- const { collectDiagnostics } = await import("../persistent-session-QYP6FYFI.js");
15269
+ const { collectDiagnostics } = await import("../persistent-session-LYJCGKH3.js");
15270
15270
  const diagCodeNames = [...agentState.persistentSessionAgents];
15271
15271
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
15272
15272
  let tailscaleHostname;
@@ -15435,7 +15435,7 @@ async function pollCycleInner() {
15435
15435
  collectPanelessActivityProbes,
15436
15436
  getResponsivenessIntervalMs,
15437
15437
  occupancyQualificationClassifications
15438
- } = await import("../responsiveness-probe-SL2MZ3WT.js");
15438
+ } = await import("../responsiveness-probe-XRSACVMN.js");
15439
15439
  const probeIntervalMs = getResponsivenessIntervalMs();
15440
15440
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
15441
15441
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -15552,7 +15552,7 @@ async function pollCycleInner() {
15552
15552
  collectResponsivenessProbes,
15553
15553
  livePendingInboundOldestAgeSeconds,
15554
15554
  parkPendingInbound
15555
- } = await import("../responsiveness-probe-SL2MZ3WT.js");
15555
+ } = await import("../responsiveness-probe-XRSACVMN.js");
15556
15556
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
15557
15557
  const wedgeNow = /* @__PURE__ */ new Date();
15558
15558
  const liveAgents = agentState.persistentSessionAgents;
@@ -15708,7 +15708,7 @@ async function pollCycleInner() {
15708
15708
  }
15709
15709
  try {
15710
15710
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
15711
- const { probeSessionAuth } = await import("../session-auth-dead-VZWGAV5K.js");
15711
+ const { probeSessionAuth } = await import("../session-auth-dead-Y6MASYWN.js");
15712
15712
  const observations = [];
15713
15713
  const pendingCacheCommits = [];
15714
15714
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -19868,7 +19868,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
19868
19868
  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}`));
19869
19869
  void (async () => {
19870
19870
  try {
19871
- const { collectDiagnostics } = await import("../persistent-session-QYP6FYFI.js");
19871
+ const { collectDiagnostics } = await import("../persistent-session-LYJCGKH3.js");
19872
19872
  await api.post("/host/heartbeat", {
19873
19873
  host_id: hostId,
19874
19874
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -19914,7 +19914,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
19914
19914
  }
19915
19915
  try {
19916
19916
  const hostId = await getHostId();
19917
- const { collectDiagnostics } = await import("../persistent-session-QYP6FYFI.js");
19917
+ const { collectDiagnostics } = await import("../persistent-session-LYJCGKH3.js");
19918
19918
  await api.post("/host/heartbeat", {
19919
19919
  host_id: hostId,
19920
19920
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -20550,7 +20550,7 @@ async function processClaudePairSessions(agents) {
20550
20550
  killPairSession,
20551
20551
  pairTmuxSession,
20552
20552
  finalizeClaudePairOnboarding
20553
- } = await import("../claude-pair-runtime-P4R5WMUQ.js");
20553
+ } = await import("../claude-pair-runtime-WAXQINIW.js");
20554
20554
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
20555
20555
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
20556
20556
  const killed = await killPairSession(pairTmuxSession(pairId));