@integrity-labs/agt-cli 0.28.957 → 0.28.958

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-W4WCFH5J.js";
43
+ } from "../chunk-I6WRHEZ4.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-WU3POTSH.js";
48
+ } from "../chunk-F47LQPDM.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-CRM7ITIY.js";
82
+ } from "../chunk-CCQ3WAVH.js";
83
83
  import "../chunk-DHWNVVX4.js";
84
84
  import "../chunk-XWVM4KPK.js";
85
85
 
@@ -5471,7 +5471,7 @@ import { execFileSync, execSync } from "child_process";
5471
5471
  import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
5472
5472
  import chalk18 from "chalk";
5473
5473
  import ora16 from "ora";
5474
- var cliVersion = true ? "0.28.957" : "dev";
5474
+ var cliVersion = true ? "0.28.958" : "dev";
5475
5475
  async function fetchLatestVersion() {
5476
5476
  const host2 = getHost();
5477
5477
  if (!host2) return null;
@@ -6731,7 +6731,7 @@ function handleError(err) {
6731
6731
  }
6732
6732
 
6733
6733
  // src/bin/agt.ts
6734
- var cliVersion2 = true ? "0.28.957" : "dev";
6734
+ var cliVersion2 = true ? "0.28.958" : "dev";
6735
6735
  var program = new Command();
6736
6736
  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");
6737
6737
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -14911,4 +14911,4 @@ export {
14911
14911
  peekCurrentSession,
14912
14912
  readDailySessionPin
14913
14913
  };
14914
- //# sourceMappingURL=chunk-CRM7ITIY.js.map
14914
+ //# sourceMappingURL=chunk-CCQ3WAVH.js.map
@@ -19,7 +19,7 @@ import {
19
19
  rotateDailySession,
20
20
  sessionFileExists,
21
21
  todayLocalIso
22
- } from "./chunk-CRM7ITIY.js";
22
+ } from "./chunk-CCQ3WAVH.js";
23
23
  import {
24
24
  classifyUnanswerablePane,
25
25
  findUsageLimitResetHint,
@@ -5454,4 +5454,4 @@ export {
5454
5454
  stopAllSessionsAndWait,
5455
5455
  getProjectDir
5456
5456
  };
5457
- //# sourceMappingURL=chunk-WU3POTSH.js.map
5457
+ //# sourceMappingURL=chunk-F47LQPDM.js.map
@@ -14,7 +14,7 @@ import {
14
14
  parseEnvFileEntries,
15
15
  parseEnvIntegrations,
16
16
  shellQuote
17
- } from "./chunk-WU3POTSH.js";
17
+ } from "./chunk-F47LQPDM.js";
18
18
  import {
19
19
  BIND_FAILURE_QUARANTINE_THRESHOLD,
20
20
  INTEGRATIONS_SECTION_END,
@@ -74,7 +74,7 @@ import {
74
74
  sessionTranscriptDir,
75
75
  worseConnectivityOutcome,
76
76
  wrapScheduledTaskPrompt
77
- } from "./chunk-CRM7ITIY.js";
77
+ } from "./chunk-CCQ3WAVH.js";
78
78
  import {
79
79
  classifyUnanswerablePane,
80
80
  summarizeUnanswerablePane
@@ -6967,7 +6967,7 @@ function exchangeFailureKind(err) {
6967
6967
  }
6968
6968
 
6969
6969
  // src/lib/api-client.ts
6970
- var agtCliVersion = true ? "0.28.957" : "dev";
6970
+ var agtCliVersion = true ? "0.28.958" : "dev";
6971
6971
  var lastConfigHash = null;
6972
6972
  function setConfigHash(hash) {
6973
6973
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -11666,4 +11666,4 @@ export {
11666
11666
  managerInstallSystemUnitCommand,
11667
11667
  managerUninstallSystemUnitCommand
11668
11668
  };
11669
- //# sourceMappingURL=chunk-W4WCFH5J.js.map
11669
+ //# sourceMappingURL=chunk-I6WRHEZ4.js.map
@@ -164,7 +164,7 @@ async function spawnPairSession(session) {
164
164
  return { ok: true };
165
165
  } catch {
166
166
  }
167
- const { resolveClaudeBinary } = await import("./persistent-session-T7AGO2U3.js");
167
+ const { resolveClaudeBinary } = await import("./persistent-session-XQFDFRFU.js");
168
168
  const claudeBin = resolveClaudeBinary();
169
169
  const pairEnv = {
170
170
  ...process.env,
@@ -475,4 +475,4 @@ export {
475
475
  startClaudePair,
476
476
  submitClaudePairCode
477
477
  };
478
- //# sourceMappingURL=claude-pair-runtime-CCBUXYHV.js.map
478
+ //# sourceMappingURL=claude-pair-runtime-AZXRCFUM.js.map
@@ -63,7 +63,7 @@ import {
63
63
  safeWriteJsonAtomic,
64
64
  setConfigHash,
65
65
  tripClass
66
- } from "../chunk-W4WCFH5J.js";
66
+ } from "../chunk-I6WRHEZ4.js";
67
67
  import {
68
68
  getProjectDir as getProjectDir2,
69
69
  getReadyTasks,
@@ -136,7 +136,7 @@ import {
136
136
  takeZombieDetection,
137
137
  toOpencodeModel,
138
138
  writeEgressAllowlist
139
- } from "../chunk-WU3POTSH.js";
139
+ } from "../chunk-F47LQPDM.js";
140
140
  import {
141
141
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
142
142
  AnchorSessionClient,
@@ -232,7 +232,7 @@ import {
232
232
  subagentActivityAgeSeconds,
233
233
  sumTranscriptUsageInWindow,
234
234
  transcriptActivityAgeSeconds
235
- } from "../chunk-CRM7ITIY.js";
235
+ } from "../chunk-CCQ3WAVH.js";
236
236
  import "../chunk-DHWNVVX4.js";
237
237
  import {
238
238
  reapOrphanChannelMcps
@@ -13258,7 +13258,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
13258
13258
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
13259
13259
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
13260
13260
  async function channelInboundActivityAgeSecondsFor(codeName) {
13261
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-NU6NKXBT.js");
13261
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-MR7OQHCT.js");
13262
13262
  const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
13263
13263
  if (newest === null) return null;
13264
13264
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -13943,7 +13943,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
13943
13943
  var lastVersionCheckAt = 0;
13944
13944
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
13945
13945
  var lastResponsivenessProbeAt = 0;
13946
- var agtCliVersion = true ? "0.28.957" : "dev";
13946
+ var agtCliVersion = true ? "0.28.958" : "dev";
13947
13947
  function resolveBrewPath(execFileSync2) {
13948
13948
  try {
13949
13949
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -15545,7 +15545,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
15545
15545
  if (codeNames.length === 0) return;
15546
15546
  void (async () => {
15547
15547
  try {
15548
- const { collectDiagnostics } = await import("../persistent-session-T7AGO2U3.js");
15548
+ const { collectDiagnostics } = await import("../persistent-session-XQFDFRFU.js");
15549
15549
  await api.post("/host/heartbeat", {
15550
15550
  host_id: hostId,
15551
15551
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -15687,7 +15687,7 @@ async function pollCycleInner() {
15687
15687
  }
15688
15688
  try {
15689
15689
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
15690
- const { collectDiagnostics } = await import("../persistent-session-T7AGO2U3.js");
15690
+ const { collectDiagnostics } = await import("../persistent-session-XQFDFRFU.js");
15691
15691
  const diagCodeNames = [...agentState.persistentSessionAgents];
15692
15692
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
15693
15693
  let tailscaleHostname;
@@ -15863,7 +15863,7 @@ async function pollCycleInner() {
15863
15863
  collectPanelessActivityProbes,
15864
15864
  getResponsivenessIntervalMs,
15865
15865
  occupancyQualificationClassifications
15866
- } = await import("../responsiveness-probe-NU6NKXBT.js");
15866
+ } = await import("../responsiveness-probe-MR7OQHCT.js");
15867
15867
  const probeIntervalMs = getResponsivenessIntervalMs();
15868
15868
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
15869
15869
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -15980,7 +15980,7 @@ async function pollCycleInner() {
15980
15980
  collectResponsivenessProbes,
15981
15981
  livePendingInboundOldestAgeSeconds,
15982
15982
  parkPendingInbound
15983
- } = await import("../responsiveness-probe-NU6NKXBT.js");
15983
+ } = await import("../responsiveness-probe-MR7OQHCT.js");
15984
15984
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
15985
15985
  const wedgeNow = /* @__PURE__ */ new Date();
15986
15986
  const liveAgents = agentState.persistentSessionAgents;
@@ -16136,7 +16136,7 @@ async function pollCycleInner() {
16136
16136
  }
16137
16137
  try {
16138
16138
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
16139
- const { probeSessionAuth } = await import("../session-auth-dead-D25XBWZO.js");
16139
+ const { probeSessionAuth } = await import("../session-auth-dead-NMOCOHGG.js");
16140
16140
  const observations = [];
16141
16141
  const pendingCacheCommits = [];
16142
16142
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -20400,7 +20400,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
20400
20400
  try {
20401
20401
  const freshId = rotateSessionForWedge(codeName);
20402
20402
  consecutiveWedgeCycles.delete(codeName);
20403
- const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-NU6NKXBT.js");
20403
+ const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-MR7OQHCT.js");
20404
20404
  const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
20405
20405
  const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
20406
20406
  const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
@@ -20443,7 +20443,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
20443
20443
  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}`));
20444
20444
  void (async () => {
20445
20445
  try {
20446
- const { collectDiagnostics } = await import("../persistent-session-T7AGO2U3.js");
20446
+ const { collectDiagnostics } = await import("../persistent-session-XQFDFRFU.js");
20447
20447
  await api.post("/host/heartbeat", {
20448
20448
  host_id: hostId,
20449
20449
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -20494,7 +20494,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
20494
20494
  }
20495
20495
  try {
20496
20496
  const hostId = await getHostId();
20497
- const { collectDiagnostics } = await import("../persistent-session-T7AGO2U3.js");
20497
+ const { collectDiagnostics } = await import("../persistent-session-XQFDFRFU.js");
20498
20498
  await api.post("/host/heartbeat", {
20499
20499
  host_id: hostId,
20500
20500
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -21136,7 +21136,7 @@ async function processClaudePairSessions(agents) {
21136
21136
  killPairSession,
21137
21137
  pairTmuxSession,
21138
21138
  finalizeClaudePairOnboarding
21139
- } = await import("../claude-pair-runtime-CCBUXYHV.js");
21139
+ } = await import("../claude-pair-runtime-AZXRCFUM.js");
21140
21140
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
21141
21141
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
21142
21142
  const killed = await killPairSession(pairTmuxSession(pairId));
@@ -35670,6 +35670,9 @@ var INSTALLABLE_NATIVE_INTEGRATIONS = INTEGRATION_REGISTRY.filter((d) => d.insta
35670
35670
  }));
35671
35671
  var INSTALLABLE_NATIVE_INTEGRATION_IDS = INSTALLABLE_NATIVE_INTEGRATIONS.map((i) => i.id);
35672
35672
 
35673
+ // ../core/dist/integrations/integration-broker/batch-card.js
35674
+ init_slack_block_kit();
35675
+
35673
35676
  // ../core/dist/direct-chat/upload.js
35674
35677
  var MB2 = 1024 * 1024;
35675
35678
  var DIRECT_CHAT_UPLOAD_MAX_BYTES = 100 * MB2;
@@ -35682,6 +35682,9 @@ var INSTALLABLE_NATIVE_INTEGRATIONS = INTEGRATION_REGISTRY.filter((d) => d.insta
35682
35682
  }));
35683
35683
  var INSTALLABLE_NATIVE_INTEGRATION_IDS = INSTALLABLE_NATIVE_INTEGRATIONS.map((i) => i.id);
35684
35684
 
35685
+ // ../core/dist/integrations/integration-broker/batch-card.js
35686
+ init_slack_block_kit();
35687
+
35685
35688
  // ../core/dist/direct-chat/upload.js
35686
35689
  var MB2 = 1024 * 1024;
35687
35690
  var DIRECT_CHAT_UPLOAD_MAX_BYTES = 100 * MB2;
@@ -62,8 +62,8 @@ import {
62
62
  writeDirectChatSessionState,
63
63
  writeEgressAllowlist,
64
64
  writePersistentClaudeWrapper
65
- } from "./chunk-WU3POTSH.js";
66
- import "./chunk-CRM7ITIY.js";
65
+ } from "./chunk-F47LQPDM.js";
66
+ import "./chunk-CCQ3WAVH.js";
67
67
  import "./chunk-DHWNVVX4.js";
68
68
  import "./chunk-XWVM4KPK.js";
69
69
  export {
@@ -131,4 +131,4 @@ export {
131
131
  writeEgressAllowlist,
132
132
  writePersistentClaudeWrapper
133
133
  };
134
- //# sourceMappingURL=persistent-session-T7AGO2U3.js.map
134
+ //# sourceMappingURL=persistent-session-XQFDFRFU.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-WU3POTSH.js";
4
- import "./chunk-CRM7ITIY.js";
3
+ } from "./chunk-F47LQPDM.js";
4
+ import "./chunk-CCQ3WAVH.js";
5
5
  import "./chunk-DHWNVVX4.js";
6
6
  import "./chunk-XWVM4KPK.js";
7
7
 
@@ -800,4 +800,4 @@ export {
800
800
  readAndResetSlackReplyBindingClassifications,
801
801
  readAndResetSlackReplyTargetClassifications
802
802
  };
803
- //# sourceMappingURL=responsiveness-probe-NU6NKXBT.js.map
803
+ //# sourceMappingURL=responsiveness-probe-MR7OQHCT.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-CRM7ITIY.js";
3
+ } from "./chunk-CCQ3WAVH.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-D25XBWZO.js.map
206
+ //# sourceMappingURL=session-auth-dead-NMOCOHGG.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.957",
3
+ "version": "0.28.958",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {