@integrity-labs/agt-cli 0.28.1058 → 0.28.1059

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-F3J3YAY3.js";
43
+ } from "../chunk-EWJ6A7AO.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-GSCJBZLQ.js";
48
+ } from "../chunk-E3XTUL7S.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-RWO2YG5B.js";
82
+ } from "../chunk-VQITKTZU.js";
83
83
  import "../chunk-OCMJ5E6J.js";
84
84
  import "../chunk-XWVM4KPK.js";
85
85
  import "../chunk-EL5MWGGH.js";
@@ -5474,7 +5474,7 @@ import { execFileSync, execSync } from "child_process";
5474
5474
  import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
5475
5475
  import chalk18 from "chalk";
5476
5476
  import ora16 from "ora";
5477
- var cliVersion = true ? "0.28.1058" : "dev";
5477
+ var cliVersion = true ? "0.28.1059" : "dev";
5478
5478
  async function fetchLatestVersion() {
5479
5479
  const host2 = getHost();
5480
5480
  if (!host2) return null;
@@ -6734,7 +6734,7 @@ function handleError(err) {
6734
6734
  }
6735
6735
 
6736
6736
  // src/bin/agt.ts
6737
- var cliVersion2 = true ? "0.28.1058" : "dev";
6737
+ var cliVersion2 = true ? "0.28.1059" : "dev";
6738
6738
  var program = new Command();
6739
6739
  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");
6740
6740
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -24,7 +24,7 @@ import {
24
24
  rotateDailySession,
25
25
  sessionFileExists,
26
26
  todayLocalIso
27
- } from "./chunk-RWO2YG5B.js";
27
+ } from "./chunk-VQITKTZU.js";
28
28
  import {
29
29
  classifyUnanswerablePane,
30
30
  findUsageLimitResetHint,
@@ -6011,4 +6011,4 @@ export {
6011
6011
  stopAllSessionsAndWait,
6012
6012
  getProjectDir
6013
6013
  };
6014
- //# sourceMappingURL=chunk-GSCJBZLQ.js.map
6014
+ //# sourceMappingURL=chunk-E3XTUL7S.js.map
@@ -16,7 +16,7 @@ import {
16
16
  parseEnvFileEntries,
17
17
  parseEnvIntegrations,
18
18
  shellQuote
19
- } from "./chunk-GSCJBZLQ.js";
19
+ } from "./chunk-E3XTUL7S.js";
20
20
  import {
21
21
  BIND_FAILURE_QUARANTINE_THRESHOLD,
22
22
  INTEGRATIONS_SECTION_END,
@@ -79,7 +79,7 @@ import {
79
79
  sessionTranscriptDir,
80
80
  worseConnectivityOutcome,
81
81
  wrapScheduledTaskPrompt
82
- } from "./chunk-RWO2YG5B.js";
82
+ } from "./chunk-VQITKTZU.js";
83
83
  import {
84
84
  classifyUnanswerablePane,
85
85
  isConsumerTermsDialogVisible,
@@ -7122,7 +7122,7 @@ function exchangeFailureKind(err) {
7122
7122
  }
7123
7123
 
7124
7124
  // src/lib/api-client.ts
7125
- var agtCliVersion = true ? "0.28.1058" : "dev";
7125
+ var agtCliVersion = true ? "0.28.1059" : "dev";
7126
7126
  var lastConfigHash = null;
7127
7127
  function setConfigHash(hash) {
7128
7128
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -12089,4 +12089,4 @@ export {
12089
12089
  managerInstallSystemUnitCommand,
12090
12090
  managerUninstallSystemUnitCommand
12091
12091
  };
12092
- //# sourceMappingURL=chunk-F3J3YAY3.js.map
12092
+ //# sourceMappingURL=chunk-EWJ6A7AO.js.map
@@ -16006,4 +16006,4 @@ export {
16006
16006
  peekCurrentSession,
16007
16007
  readDailySessionPin
16008
16008
  };
16009
- //# sourceMappingURL=chunk-RWO2YG5B.js.map
16009
+ //# sourceMappingURL=chunk-VQITKTZU.js.map
@@ -266,7 +266,7 @@ async function spawnPairSession(session) {
266
266
  return { ok: true };
267
267
  } catch {
268
268
  }
269
- const { resolveClaudeBinary } = await import("./persistent-session-JKAO4GT7.js");
269
+ const { resolveClaudeBinary } = await import("./persistent-session-3YXKX45E.js");
270
270
  const claudeBin = resolveClaudeBinary();
271
271
  const pairEnv = {
272
272
  ...process.env,
@@ -734,4 +734,4 @@ export {
734
734
  startClaudePair,
735
735
  submitClaudePairCode
736
736
  };
737
- //# sourceMappingURL=claude-pair-runtime-SHXYOS5I.js.map
737
+ //# sourceMappingURL=claude-pair-runtime-SRFW7LK5.js.map
@@ -67,7 +67,7 @@ import {
67
67
  safeWriteJsonAtomic,
68
68
  setConfigHash,
69
69
  tripClass
70
- } from "../chunk-F3J3YAY3.js";
70
+ } from "../chunk-EWJ6A7AO.js";
71
71
  import {
72
72
  getProjectDir as getProjectDir2,
73
73
  getReadyTasks,
@@ -154,7 +154,7 @@ import {
154
154
  webFetchBaselineValue,
155
155
  webFetchRestartNeeded,
156
156
  writeEgressAllowlist
157
- } from "../chunk-GSCJBZLQ.js";
157
+ } from "../chunk-E3XTUL7S.js";
158
158
  import {
159
159
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
160
160
  AnchorSessionClient,
@@ -263,7 +263,7 @@ import {
263
263
  subagentActivityAgeSeconds,
264
264
  sumTranscriptUsageInWindow,
265
265
  transcriptActivityAgeSeconds
266
- } from "../chunk-RWO2YG5B.js";
266
+ } from "../chunk-VQITKTZU.js";
267
267
  import {
268
268
  classifyUnanswerablePane,
269
269
  paneRemedy
@@ -14123,7 +14123,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
14123
14123
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
14124
14124
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
14125
14125
  async function channelInboundActivityAgeSecondsFor(codeName) {
14126
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-5BYHCZJS.js");
14126
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-CJ4Y5IS2.js");
14127
14127
  const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
14128
14128
  if (newest === null) return null;
14129
14129
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -14871,7 +14871,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
14871
14871
  var lastVersionCheckAt = 0;
14872
14872
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
14873
14873
  var lastResponsivenessProbeAt = 0;
14874
- var agtCliVersion = true ? "0.28.1058" : "dev";
14874
+ var agtCliVersion = true ? "0.28.1059" : "dev";
14875
14875
  function resolveBrewPath(execFileSync3) {
14876
14876
  try {
14877
14877
  const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -16506,7 +16506,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
16506
16506
  if (codeNames.length === 0) return;
16507
16507
  void (async () => {
16508
16508
  try {
16509
- const { collectDiagnostics } = await import("../persistent-session-JKAO4GT7.js");
16509
+ const { collectDiagnostics } = await import("../persistent-session-3YXKX45E.js");
16510
16510
  await api.post("/host/heartbeat", {
16511
16511
  host_id: hostId,
16512
16512
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
@@ -16648,7 +16648,7 @@ async function pollCycleInner() {
16648
16648
  }
16649
16649
  try {
16650
16650
  const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
16651
- const { collectDiagnostics } = await import("../persistent-session-JKAO4GT7.js");
16651
+ const { collectDiagnostics } = await import("../persistent-session-3YXKX45E.js");
16652
16652
  const diagCodeNames = [...agentState.persistentSessionAgents];
16653
16653
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor) : void 0;
16654
16654
  let tailscaleHostname;
@@ -16856,7 +16856,7 @@ async function pollCycleInner() {
16856
16856
  collectPanelessActivityProbes,
16857
16857
  getResponsivenessIntervalMs,
16858
16858
  occupancyQualificationClassifications
16859
- } = await import("../responsiveness-probe-5BYHCZJS.js");
16859
+ } = await import("../responsiveness-probe-CJ4Y5IS2.js");
16860
16860
  const probeIntervalMs = getResponsivenessIntervalMs();
16861
16861
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
16862
16862
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -16973,7 +16973,7 @@ async function pollCycleInner() {
16973
16973
  collectResponsivenessProbes,
16974
16974
  livePendingInboundOldestAgeSeconds,
16975
16975
  parkPendingInbound
16976
- } = await import("../responsiveness-probe-5BYHCZJS.js");
16976
+ } = await import("../responsiveness-probe-CJ4Y5IS2.js");
16977
16977
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-M6AFZWNU.js");
16978
16978
  const wedgeNow = /* @__PURE__ */ new Date();
16979
16979
  const liveAgents = agentState.persistentSessionAgents;
@@ -17129,7 +17129,7 @@ async function pollCycleInner() {
17129
17129
  }
17130
17130
  try {
17131
17131
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
17132
- const { probeSessionAuth } = await import("../session-auth-dead-E6V22R4W.js");
17132
+ const { probeSessionAuth } = await import("../session-auth-dead-MKVXSMXZ.js");
17133
17133
  const observations = [];
17134
17134
  const pendingCacheCommits = [];
17135
17135
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -21694,7 +21694,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
21694
21694
  try {
21695
21695
  const freshId = rotateSessionForWedge(codeName);
21696
21696
  consecutiveWedgeCycles.delete(codeName);
21697
- const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-5BYHCZJS.js");
21697
+ const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-CJ4Y5IS2.js");
21698
21698
  const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
21699
21699
  const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
21700
21700
  const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
@@ -21737,7 +21737,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
21737
21737
  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}`));
21738
21738
  void (async () => {
21739
21739
  try {
21740
- const { collectDiagnostics } = await import("../persistent-session-JKAO4GT7.js");
21740
+ const { collectDiagnostics } = await import("../persistent-session-3YXKX45E.js");
21741
21741
  await api.post("/host/heartbeat", {
21742
21742
  host_id: hostId,
21743
21743
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
@@ -21788,7 +21788,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
21788
21788
  }
21789
21789
  try {
21790
21790
  const hostId = await getHostId();
21791
- const { collectDiagnostics } = await import("../persistent-session-JKAO4GT7.js");
21791
+ const { collectDiagnostics } = await import("../persistent-session-3YXKX45E.js");
21792
21792
  await api.post("/host/heartbeat", {
21793
21793
  host_id: hostId,
21794
21794
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
@@ -22460,7 +22460,7 @@ async function processClaudePairSessions(agents) {
22460
22460
  // cannot take it for itself — by the time it runs, the write it is looking
22461
22461
  // for may already have happened.
22462
22462
  snapshotPairConfig
22463
- } = await import("../claude-pair-runtime-SHXYOS5I.js");
22463
+ } = await import("../claude-pair-runtime-SRFW7LK5.js");
22464
22464
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
22465
22465
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
22466
22466
  const killed = await killPairSession(pairTmuxSession(pairId));
@@ -65,8 +65,8 @@ import {
65
65
  writeDirectChatSessionState,
66
66
  writeEgressAllowlist,
67
67
  writePersistentClaudeWrapper
68
- } from "./chunk-GSCJBZLQ.js";
69
- import "./chunk-RWO2YG5B.js";
68
+ } from "./chunk-E3XTUL7S.js";
69
+ import "./chunk-VQITKTZU.js";
70
70
  import "./chunk-OCMJ5E6J.js";
71
71
  import "./chunk-XWVM4KPK.js";
72
72
  import "./chunk-EL5MWGGH.js";
@@ -139,4 +139,4 @@ export {
139
139
  writeEgressAllowlist,
140
140
  writePersistentClaudeWrapper
141
141
  };
142
- //# sourceMappingURL=persistent-session-JKAO4GT7.js.map
142
+ //# sourceMappingURL=persistent-session-3YXKX45E.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-GSCJBZLQ.js";
4
- import "./chunk-RWO2YG5B.js";
3
+ } from "./chunk-E3XTUL7S.js";
4
+ import "./chunk-VQITKTZU.js";
5
5
  import "./chunk-OCMJ5E6J.js";
6
6
  import "./chunk-XWVM4KPK.js";
7
7
  import "./chunk-EL5MWGGH.js";
@@ -802,4 +802,4 @@ export {
802
802
  readAndResetSlackReplyBindingClassifications,
803
803
  readAndResetSlackReplyTargetClassifications
804
804
  };
805
- //# sourceMappingURL=responsiveness-probe-5BYHCZJS.js.map
805
+ //# sourceMappingURL=responsiveness-probe-CJ4Y5IS2.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-RWO2YG5B.js";
3
+ } from "./chunk-VQITKTZU.js";
4
4
  import "./chunk-DGUM43GV.js";
5
5
 
6
6
  // src/lib/session-auth-dead.ts
@@ -204,4 +204,4 @@ export {
204
204
  decideSessionAuthState,
205
205
  probeSessionAuth
206
206
  };
207
- //# sourceMappingURL=session-auth-dead-E6V22R4W.js.map
207
+ //# sourceMappingURL=session-auth-dead-MKVXSMXZ.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.1058",
3
+ "version": "0.28.1059",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {