@integrity-labs/agt-cli 0.28.722 → 0.28.724

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.
Files changed (24) hide show
  1. package/dist/bin/agt.js +5 -5
  2. package/dist/{chunk-E3WGN4GX.js → chunk-ATJU3SDV.js} +2 -2
  3. package/dist/{chunk-32WU3HBU.js → chunk-IXGIGDJG.js} +22 -1
  4. package/dist/chunk-IXGIGDJG.js.map +1 -0
  5. package/dist/{chunk-LWDPZWSO.js → chunk-KOAHMMPZ.js} +4 -4
  6. package/dist/{claude-pair-runtime-EKP2KR6N.js → claude-pair-runtime-XWPOUQMP.js} +2 -2
  7. package/dist/lib/manager-worker.js +13 -13
  8. package/dist/lib/manager-worker.js.map +1 -1
  9. package/dist/mcp/direct-chat-channel.js +21 -0
  10. package/dist/mcp/index.js +21 -0
  11. package/dist/mcp/origami.js +21 -0
  12. package/dist/mcp/slack-channel.js +21 -0
  13. package/dist/mcp/telegram-channel.js +86 -0
  14. package/dist/{persistent-session-7NXQBNZB.js → persistent-session-CEC5KESY.js} +3 -3
  15. package/dist/{responsiveness-probe-UDFTVXOW.js → responsiveness-probe-J3VB4U4W.js} +3 -3
  16. package/dist/{session-auth-dead-DQW6NXDX.js → session-auth-dead-YQHE3WKV.js} +2 -2
  17. package/package.json +1 -1
  18. package/dist/chunk-32WU3HBU.js.map +0 -1
  19. /package/dist/{chunk-E3WGN4GX.js.map → chunk-ATJU3SDV.js.map} +0 -0
  20. /package/dist/{chunk-LWDPZWSO.js.map → chunk-KOAHMMPZ.js.map} +0 -0
  21. /package/dist/{claude-pair-runtime-EKP2KR6N.js.map → claude-pair-runtime-XWPOUQMP.js.map} +0 -0
  22. /package/dist/{persistent-session-7NXQBNZB.js.map → persistent-session-CEC5KESY.js.map} +0 -0
  23. /package/dist/{responsiveness-probe-UDFTVXOW.js.map → responsiveness-probe-J3VB4U4W.js.map} +0 -0
  24. /package/dist/{session-auth-dead-DQW6NXDX.js.map → session-auth-dead-YQHE3WKV.js.map} +0 -0
@@ -13,7 +13,7 @@ import {
13
13
  parseEnvFileEntries,
14
14
  parseEnvIntegrations,
15
15
  shellQuote
16
- } from "./chunk-E3WGN4GX.js";
16
+ } from "./chunk-ATJU3SDV.js";
17
17
  import {
18
18
  BIND_FAILURE_QUARANTINE_THRESHOLD,
19
19
  INTEGRATIONS_SECTION_END,
@@ -62,7 +62,7 @@ import {
62
62
  sessionTranscriptDir,
63
63
  worseConnectivityOutcome,
64
64
  wrapScheduledTaskPrompt
65
- } from "./chunk-32WU3HBU.js";
65
+ } from "./chunk-IXGIGDJG.js";
66
66
  import {
67
67
  parsePsRows
68
68
  } from "./chunk-XWVM4KPK.js";
@@ -6428,7 +6428,7 @@ function exchangeFailureKind(err) {
6428
6428
  }
6429
6429
 
6430
6430
  // src/lib/api-client.ts
6431
- var agtCliVersion = true ? "0.28.722" : "dev";
6431
+ var agtCliVersion = true ? "0.28.724" : "dev";
6432
6432
  var lastConfigHash = null;
6433
6433
  function setConfigHash(hash) {
6434
6434
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -10474,4 +10474,4 @@ export {
10474
10474
  managerInstallSystemUnitCommand,
10475
10475
  managerUninstallSystemUnitCommand
10476
10476
  };
10477
- //# sourceMappingURL=chunk-LWDPZWSO.js.map
10477
+ //# sourceMappingURL=chunk-KOAHMMPZ.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-7NXQBNZB.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-CEC5KESY.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-EKP2KR6N.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-XWPOUQMP.js.map
@@ -57,7 +57,7 @@ import {
57
57
  safeWriteJsonAtomic,
58
58
  setConfigHash,
59
59
  tripClass
60
- } from "../chunk-LWDPZWSO.js";
60
+ } from "../chunk-KOAHMMPZ.js";
61
61
  import {
62
62
  getProjectDir as getProjectDir2,
63
63
  getReadyTasks,
@@ -115,7 +115,7 @@ import {
115
115
  takeZombieDetection,
116
116
  toOpencodeModel,
117
117
  writeEgressAllowlist
118
- } from "../chunk-E3WGN4GX.js";
118
+ } from "../chunk-ATJU3SDV.js";
119
119
  import {
120
120
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
121
121
  AnchorSessionClient,
@@ -200,7 +200,7 @@ import {
200
200
  subagentActivityAgeSeconds,
201
201
  sumTranscriptUsageInWindow,
202
202
  transcriptActivityAgeSeconds
203
- } from "../chunk-32WU3HBU.js";
203
+ } from "../chunk-IXGIGDJG.js";
204
204
  import {
205
205
  reapOrphanChannelMcps
206
206
  } from "../chunk-XWVM4KPK.js";
@@ -12184,7 +12184,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
12184
12184
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
12185
12185
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
12186
12186
  async function channelInboundActivityAgeSecondsFor(codeName) {
12187
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-UDFTVXOW.js");
12187
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-J3VB4U4W.js");
12188
12188
  const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
12189
12189
  if (newest === null) return null;
12190
12190
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -12832,7 +12832,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
12832
12832
  var lastVersionCheckAt = 0;
12833
12833
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
12834
12834
  var lastResponsivenessProbeAt = 0;
12835
- var agtCliVersion = true ? "0.28.722" : "dev";
12835
+ var agtCliVersion = true ? "0.28.724" : "dev";
12836
12836
  function resolveBrewPath(execFileSync3) {
12837
12837
  try {
12838
12838
  const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -14359,7 +14359,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
14359
14359
  if (codeNames.length === 0) return;
14360
14360
  void (async () => {
14361
14361
  try {
14362
- const { collectDiagnostics } = await import("../persistent-session-7NXQBNZB.js");
14362
+ const { collectDiagnostics } = await import("../persistent-session-CEC5KESY.js");
14363
14363
  await api.post("/host/heartbeat", {
14364
14364
  host_id: hostId,
14365
14365
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -14477,7 +14477,7 @@ async function pollCycleInner() {
14477
14477
  }
14478
14478
  try {
14479
14479
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
14480
- const { collectDiagnostics } = await import("../persistent-session-7NXQBNZB.js");
14480
+ const { collectDiagnostics } = await import("../persistent-session-CEC5KESY.js");
14481
14481
  const diagCodeNames = [...agentState.persistentSessionAgents];
14482
14482
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
14483
14483
  let tailscaleHostname;
@@ -14646,7 +14646,7 @@ async function pollCycleInner() {
14646
14646
  collectPanelessActivityProbes,
14647
14647
  getResponsivenessIntervalMs,
14648
14648
  occupancyQualificationClassifications
14649
- } = await import("../responsiveness-probe-UDFTVXOW.js");
14649
+ } = await import("../responsiveness-probe-J3VB4U4W.js");
14650
14650
  const probeIntervalMs = getResponsivenessIntervalMs();
14651
14651
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
14652
14652
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -14756,7 +14756,7 @@ async function pollCycleInner() {
14756
14756
  collectResponsivenessProbes,
14757
14757
  livePendingInboundOldestAgeSeconds,
14758
14758
  parkPendingInbound
14759
- } = await import("../responsiveness-probe-UDFTVXOW.js");
14759
+ } = await import("../responsiveness-probe-J3VB4U4W.js");
14760
14760
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
14761
14761
  const wedgeNow = /* @__PURE__ */ new Date();
14762
14762
  const liveAgents = agentState.persistentSessionAgents;
@@ -14912,7 +14912,7 @@ async function pollCycleInner() {
14912
14912
  }
14913
14913
  try {
14914
14914
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
14915
- const { probeSessionAuth } = await import("../session-auth-dead-DQW6NXDX.js");
14915
+ const { probeSessionAuth } = await import("../session-auth-dead-YQHE3WKV.js");
14916
14916
  const observations = [];
14917
14917
  const pendingCacheCommits = [];
14918
14918
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -18770,7 +18770,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
18770
18770
  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}`));
18771
18771
  void (async () => {
18772
18772
  try {
18773
- const { collectDiagnostics } = await import("../persistent-session-7NXQBNZB.js");
18773
+ const { collectDiagnostics } = await import("../persistent-session-CEC5KESY.js");
18774
18774
  await api.post("/host/heartbeat", {
18775
18775
  host_id: hostId,
18776
18776
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -18821,7 +18821,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
18821
18821
  }
18822
18822
  try {
18823
18823
  const hostId = await getHostId();
18824
- const { collectDiagnostics } = await import("../persistent-session-7NXQBNZB.js");
18824
+ const { collectDiagnostics } = await import("../persistent-session-CEC5KESY.js");
18825
18825
  await api.post("/host/heartbeat", {
18826
18826
  host_id: hostId,
18827
18827
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -19453,7 +19453,7 @@ async function processClaudePairSessions(agents) {
19453
19453
  killPairSession,
19454
19454
  pairTmuxSession,
19455
19455
  finalizeClaudePairOnboarding
19456
- } = await import("../claude-pair-runtime-EKP2KR6N.js");
19456
+ } = await import("../claude-pair-runtime-XWPOUQMP.js");
19457
19457
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
19458
19458
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
19459
19459
  const killed = await killPairSession(pairTmuxSession(pairId));