@integrity-labs/agt-cli 0.28.787 → 0.28.788

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-IEBDDVAG.js";
43
+ } from "../chunk-3YXKR5EE.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-EXCWZPDJ.js";
48
+ } from "../chunk-FHIBQZEN.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-LLDK74IY.js";
82
+ } from "../chunk-I6NTKEXA.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.787" : "dev";
5470
+ var cliVersion = true ? "0.28.788" : "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.787" : "dev";
6661
+ var cliVersion2 = true ? "0.28.788" : "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) => {
@@ -14,7 +14,7 @@ import {
14
14
  parseEnvFileEntries,
15
15
  parseEnvIntegrations,
16
16
  shellQuote
17
- } from "./chunk-EXCWZPDJ.js";
17
+ } from "./chunk-FHIBQZEN.js";
18
18
  import {
19
19
  BIND_FAILURE_QUARANTINE_THRESHOLD,
20
20
  INTEGRATIONS_SECTION_END,
@@ -66,7 +66,7 @@ import {
66
66
  sessionTranscriptDir,
67
67
  worseConnectivityOutcome,
68
68
  wrapScheduledTaskPrompt
69
- } from "./chunk-LLDK74IY.js";
69
+ } from "./chunk-I6NTKEXA.js";
70
70
  import {
71
71
  parsePsRows
72
72
  } from "./chunk-XWVM4KPK.js";
@@ -6518,7 +6518,7 @@ function exchangeFailureKind(err) {
6518
6518
  }
6519
6519
 
6520
6520
  // src/lib/api-client.ts
6521
- var agtCliVersion = true ? "0.28.787" : "dev";
6521
+ var agtCliVersion = true ? "0.28.788" : "dev";
6522
6522
  var lastConfigHash = null;
6523
6523
  function setConfigHash(hash) {
6524
6524
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -10755,4 +10755,4 @@ export {
10755
10755
  managerInstallSystemUnitCommand,
10756
10756
  managerUninstallSystemUnitCommand
10757
10757
  };
10758
- //# sourceMappingURL=chunk-IEBDDVAG.js.map
10758
+ //# sourceMappingURL=chunk-3YXKR5EE.js.map
@@ -18,7 +18,7 @@ import {
18
18
  rotateDailySession,
19
19
  sessionFileExists,
20
20
  todayLocalIso
21
- } from "./chunk-LLDK74IY.js";
21
+ } from "./chunk-I6NTKEXA.js";
22
22
  import {
23
23
  reapOrphanChannelMcps
24
24
  } from "./chunk-XWVM4KPK.js";
@@ -5141,4 +5141,4 @@ export {
5141
5141
  stopAllSessionsAndWait,
5142
5142
  getProjectDir
5143
5143
  };
5144
- //# sourceMappingURL=chunk-EXCWZPDJ.js.map
5144
+ //# sourceMappingURL=chunk-FHIBQZEN.js.map
@@ -13527,4 +13527,4 @@ export {
13527
13527
  peekCurrentSession,
13528
13528
  readDailySessionPin
13529
13529
  };
13530
- //# sourceMappingURL=chunk-LLDK74IY.js.map
13530
+ //# sourceMappingURL=chunk-I6NTKEXA.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-5OCP47I3.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-HA6QLZF4.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-ML7KET4B.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-TRBLGFOG.js.map
@@ -58,7 +58,7 @@ import {
58
58
  safeWriteJsonAtomic,
59
59
  setConfigHash,
60
60
  tripClass
61
- } from "../chunk-IEBDDVAG.js";
61
+ } from "../chunk-3YXKR5EE.js";
62
62
  import {
63
63
  getProjectDir as getProjectDir2,
64
64
  getReadyTasks,
@@ -120,7 +120,7 @@ import {
120
120
  takeZombieDetection,
121
121
  toOpencodeModel,
122
122
  writeEgressAllowlist
123
- } from "../chunk-EXCWZPDJ.js";
123
+ } from "../chunk-FHIBQZEN.js";
124
124
  import {
125
125
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
126
126
  AnchorSessionClient,
@@ -212,7 +212,7 @@ import {
212
212
  subagentActivityAgeSeconds,
213
213
  sumTranscriptUsageInWindow,
214
214
  transcriptActivityAgeSeconds
215
- } from "../chunk-LLDK74IY.js";
215
+ } from "../chunk-I6NTKEXA.js";
216
216
  import {
217
217
  reapOrphanChannelMcps
218
218
  } from "../chunk-XWVM4KPK.js";
@@ -12915,7 +12915,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
12915
12915
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
12916
12916
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
12917
12917
  async function channelInboundActivityAgeSecondsFor(codeName) {
12918
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-QYSMGG5E.js");
12918
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-4GIUJE5E.js");
12919
12919
  const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
12920
12920
  if (newest === null) return null;
12921
12921
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -13575,7 +13575,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
13575
13575
  var lastVersionCheckAt = 0;
13576
13576
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
13577
13577
  var lastResponsivenessProbeAt = 0;
13578
- var agtCliVersion = true ? "0.28.787" : "dev";
13578
+ var agtCliVersion = true ? "0.28.788" : "dev";
13579
13579
  function resolveBrewPath(execFileSync2) {
13580
13580
  try {
13581
13581
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -15122,7 +15122,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
15122
15122
  if (codeNames.length === 0) return;
15123
15123
  void (async () => {
15124
15124
  try {
15125
- const { collectDiagnostics } = await import("../persistent-session-5OCP47I3.js");
15125
+ const { collectDiagnostics } = await import("../persistent-session-HA6QLZF4.js");
15126
15126
  await api.post("/host/heartbeat", {
15127
15127
  host_id: hostId,
15128
15128
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -15263,7 +15263,7 @@ async function pollCycleInner() {
15263
15263
  }
15264
15264
  try {
15265
15265
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
15266
- const { collectDiagnostics } = await import("../persistent-session-5OCP47I3.js");
15266
+ const { collectDiagnostics } = await import("../persistent-session-HA6QLZF4.js");
15267
15267
  const diagCodeNames = [...agentState.persistentSessionAgents];
15268
15268
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
15269
15269
  let tailscaleHostname;
@@ -15432,7 +15432,7 @@ async function pollCycleInner() {
15432
15432
  collectPanelessActivityProbes,
15433
15433
  getResponsivenessIntervalMs,
15434
15434
  occupancyQualificationClassifications
15435
- } = await import("../responsiveness-probe-QYSMGG5E.js");
15435
+ } = await import("../responsiveness-probe-4GIUJE5E.js");
15436
15436
  const probeIntervalMs = getResponsivenessIntervalMs();
15437
15437
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
15438
15438
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -15542,7 +15542,7 @@ async function pollCycleInner() {
15542
15542
  collectResponsivenessProbes,
15543
15543
  livePendingInboundOldestAgeSeconds,
15544
15544
  parkPendingInbound
15545
- } = await import("../responsiveness-probe-QYSMGG5E.js");
15545
+ } = await import("../responsiveness-probe-4GIUJE5E.js");
15546
15546
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
15547
15547
  const wedgeNow = /* @__PURE__ */ new Date();
15548
15548
  const liveAgents = agentState.persistentSessionAgents;
@@ -15698,7 +15698,7 @@ async function pollCycleInner() {
15698
15698
  }
15699
15699
  try {
15700
15700
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
15701
- const { probeSessionAuth } = await import("../session-auth-dead-WFXDJQ5L.js");
15701
+ const { probeSessionAuth } = await import("../session-auth-dead-NI2RI3P4.js");
15702
15702
  const observations = [];
15703
15703
  const pendingCacheCommits = [];
15704
15704
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -19799,7 +19799,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
19799
19799
  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}`));
19800
19800
  void (async () => {
19801
19801
  try {
19802
- const { collectDiagnostics } = await import("../persistent-session-5OCP47I3.js");
19802
+ const { collectDiagnostics } = await import("../persistent-session-HA6QLZF4.js");
19803
19803
  await api.post("/host/heartbeat", {
19804
19804
  host_id: hostId,
19805
19805
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -19845,7 +19845,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
19845
19845
  }
19846
19846
  try {
19847
19847
  const hostId = await getHostId();
19848
- const { collectDiagnostics } = await import("../persistent-session-5OCP47I3.js");
19848
+ const { collectDiagnostics } = await import("../persistent-session-HA6QLZF4.js");
19849
19849
  await api.post("/host/heartbeat", {
19850
19850
  host_id: hostId,
19851
19851
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -20481,7 +20481,7 @@ async function processClaudePairSessions(agents) {
20481
20481
  killPairSession,
20482
20482
  pairTmuxSession,
20483
20483
  finalizeClaudePairOnboarding
20484
- } = await import("../claude-pair-runtime-ML7KET4B.js");
20484
+ } = await import("../claude-pair-runtime-TRBLGFOG.js");
20485
20485
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
20486
20486
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
20487
20487
  const killed = await killPairSession(pairTmuxSession(pairId));
@@ -49,8 +49,8 @@ import {
49
49
  writeDirectChatSessionState,
50
50
  writeEgressAllowlist,
51
51
  writePersistentClaudeWrapper
52
- } from "./chunk-EXCWZPDJ.js";
53
- import "./chunk-LLDK74IY.js";
52
+ } from "./chunk-FHIBQZEN.js";
53
+ import "./chunk-I6NTKEXA.js";
54
54
  import "./chunk-XWVM4KPK.js";
55
55
  export {
56
56
  EGRESS_BASELINE_DOMAINS,
@@ -104,4 +104,4 @@ export {
104
104
  writeEgressAllowlist,
105
105
  writePersistentClaudeWrapper
106
106
  };
107
- //# sourceMappingURL=persistent-session-5OCP47I3.js.map
107
+ //# sourceMappingURL=persistent-session-HA6QLZF4.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-EXCWZPDJ.js";
4
- import "./chunk-LLDK74IY.js";
3
+ } from "./chunk-FHIBQZEN.js";
4
+ import "./chunk-I6NTKEXA.js";
5
5
  import "./chunk-XWVM4KPK.js";
6
6
 
7
7
  // src/lib/responsiveness-probe.ts
@@ -745,4 +745,4 @@ export {
745
745
  readAndResetSlackReplyBindingClassifications,
746
746
  readAndResetSlackReplyTargetClassifications
747
747
  };
748
- //# sourceMappingURL=responsiveness-probe-QYSMGG5E.js.map
748
+ //# sourceMappingURL=responsiveness-probe-4GIUJE5E.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-LLDK74IY.js";
3
+ } from "./chunk-I6NTKEXA.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-WFXDJQ5L.js.map
206
+ //# sourceMappingURL=session-auth-dead-NI2RI3P4.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.787",
3
+ "version": "0.28.788",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {