@integrity-labs/agt-cli 0.28.965 → 0.28.967

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 (23) hide show
  1. package/dist/bin/agt.js +5 -5
  2. package/dist/{chunk-J6S2H54R.js → chunk-K2VDNAD2.js} +2 -2
  3. package/dist/{chunk-PWPE62DF.js → chunk-V73S7OXI.js} +44 -14
  4. package/dist/{chunk-PWPE62DF.js.map → chunk-V73S7OXI.js.map} +1 -1
  5. package/dist/{chunk-3XZNMC4V.js → chunk-XWU4BFBQ.js} +4 -4
  6. package/dist/{claude-pair-runtime-O7CZKXDK.js → claude-pair-runtime-ICRPR6QQ.js} +2 -2
  7. package/dist/lib/manager-worker.js +14 -14
  8. package/dist/lib/manager-worker.js.map +1 -1
  9. package/dist/mcp/direct-chat-channel.js +43 -13
  10. package/dist/mcp/index.js +43 -13
  11. package/dist/mcp/origami.js +43 -13
  12. package/dist/mcp/slack-channel.js +43 -13
  13. package/dist/mcp/telegram-channel.js +43 -13
  14. package/dist/{persistent-session-BGZAGJVY.js → persistent-session-6C3XIT5F.js} +3 -3
  15. package/dist/{responsiveness-probe-2PK6PG6Z.js → responsiveness-probe-22RREUHV.js} +3 -3
  16. package/dist/{session-auth-dead-HUYBSCNA.js → session-auth-dead-IOBL2YXT.js} +2 -2
  17. package/package.json +1 -1
  18. /package/dist/{chunk-J6S2H54R.js.map → chunk-K2VDNAD2.js.map} +0 -0
  19. /package/dist/{chunk-3XZNMC4V.js.map → chunk-XWU4BFBQ.js.map} +0 -0
  20. /package/dist/{claude-pair-runtime-O7CZKXDK.js.map → claude-pair-runtime-ICRPR6QQ.js.map} +0 -0
  21. /package/dist/{persistent-session-BGZAGJVY.js.map → persistent-session-6C3XIT5F.js.map} +0 -0
  22. /package/dist/{responsiveness-probe-2PK6PG6Z.js.map → responsiveness-probe-22RREUHV.js.map} +0 -0
  23. /package/dist/{session-auth-dead-HUYBSCNA.js.map → session-auth-dead-IOBL2YXT.js.map} +0 -0
@@ -14,7 +14,7 @@ import {
14
14
  parseEnvFileEntries,
15
15
  parseEnvIntegrations,
16
16
  shellQuote
17
- } from "./chunk-J6S2H54R.js";
17
+ } from "./chunk-K2VDNAD2.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-PWPE62DF.js";
77
+ } from "./chunk-V73S7OXI.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.965" : "dev";
6970
+ var agtCliVersion = true ? "0.28.967" : "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-3XZNMC4V.js.map
11669
+ //# sourceMappingURL=chunk-XWU4BFBQ.js.map
@@ -236,7 +236,7 @@ async function spawnPairSession(session) {
236
236
  return { ok: true };
237
237
  } catch {
238
238
  }
239
- const { resolveClaudeBinary } = await import("./persistent-session-BGZAGJVY.js");
239
+ const { resolveClaudeBinary } = await import("./persistent-session-6C3XIT5F.js");
240
240
  const claudeBin = resolveClaudeBinary();
241
241
  const pairEnv = {
242
242
  ...process.env,
@@ -558,4 +558,4 @@ export {
558
558
  startClaudePair,
559
559
  submitClaudePairCode
560
560
  };
561
- //# sourceMappingURL=claude-pair-runtime-O7CZKXDK.js.map
561
+ //# sourceMappingURL=claude-pair-runtime-ICRPR6QQ.js.map
@@ -63,7 +63,7 @@ import {
63
63
  safeWriteJsonAtomic,
64
64
  setConfigHash,
65
65
  tripClass
66
- } from "../chunk-3XZNMC4V.js";
66
+ } from "../chunk-XWU4BFBQ.js";
67
67
  import {
68
68
  getProjectDir as getProjectDir2,
69
69
  getReadyTasks,
@@ -140,7 +140,7 @@ import {
140
140
  takeZombieDetection,
141
141
  toOpencodeModel,
142
142
  writeEgressAllowlist
143
- } from "../chunk-J6S2H54R.js";
143
+ } from "../chunk-K2VDNAD2.js";
144
144
  import {
145
145
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
146
146
  AnchorSessionClient,
@@ -238,7 +238,7 @@ import {
238
238
  subagentActivityAgeSeconds,
239
239
  sumTranscriptUsageInWindow,
240
240
  transcriptActivityAgeSeconds
241
- } from "../chunk-PWPE62DF.js";
241
+ } from "../chunk-V73S7OXI.js";
242
242
  import "../chunk-DHWNVVX4.js";
243
243
  import {
244
244
  reapOrphanChannelMcps
@@ -13184,7 +13184,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
13184
13184
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
13185
13185
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
13186
13186
  async function channelInboundActivityAgeSecondsFor(codeName) {
13187
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-2PK6PG6Z.js");
13187
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-22RREUHV.js");
13188
13188
  const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
13189
13189
  if (newest === null) return null;
13190
13190
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -13869,7 +13869,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
13869
13869
  var lastVersionCheckAt = 0;
13870
13870
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
13871
13871
  var lastResponsivenessProbeAt = 0;
13872
- var agtCliVersion = true ? "0.28.965" : "dev";
13872
+ var agtCliVersion = true ? "0.28.967" : "dev";
13873
13873
  function resolveBrewPath(execFileSync2) {
13874
13874
  try {
13875
13875
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -15471,7 +15471,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
15471
15471
  if (codeNames.length === 0) return;
15472
15472
  void (async () => {
15473
15473
  try {
15474
- const { collectDiagnostics } = await import("../persistent-session-BGZAGJVY.js");
15474
+ const { collectDiagnostics } = await import("../persistent-session-6C3XIT5F.js");
15475
15475
  await api.post("/host/heartbeat", {
15476
15476
  host_id: hostId,
15477
15477
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -15613,7 +15613,7 @@ async function pollCycleInner() {
15613
15613
  }
15614
15614
  try {
15615
15615
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
15616
- const { collectDiagnostics } = await import("../persistent-session-BGZAGJVY.js");
15616
+ const { collectDiagnostics } = await import("../persistent-session-6C3XIT5F.js");
15617
15617
  const diagCodeNames = [...agentState.persistentSessionAgents];
15618
15618
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
15619
15619
  let tailscaleHostname;
@@ -15789,7 +15789,7 @@ async function pollCycleInner() {
15789
15789
  collectPanelessActivityProbes,
15790
15790
  getResponsivenessIntervalMs,
15791
15791
  occupancyQualificationClassifications
15792
- } = await import("../responsiveness-probe-2PK6PG6Z.js");
15792
+ } = await import("../responsiveness-probe-22RREUHV.js");
15793
15793
  const probeIntervalMs = getResponsivenessIntervalMs();
15794
15794
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
15795
15795
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -15906,7 +15906,7 @@ async function pollCycleInner() {
15906
15906
  collectResponsivenessProbes,
15907
15907
  livePendingInboundOldestAgeSeconds,
15908
15908
  parkPendingInbound
15909
- } = await import("../responsiveness-probe-2PK6PG6Z.js");
15909
+ } = await import("../responsiveness-probe-22RREUHV.js");
15910
15910
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
15911
15911
  const wedgeNow = /* @__PURE__ */ new Date();
15912
15912
  const liveAgents = agentState.persistentSessionAgents;
@@ -16062,7 +16062,7 @@ async function pollCycleInner() {
16062
16062
  }
16063
16063
  try {
16064
16064
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
16065
- const { probeSessionAuth } = await import("../session-auth-dead-HUYBSCNA.js");
16065
+ const { probeSessionAuth } = await import("../session-auth-dead-IOBL2YXT.js");
16066
16066
  const observations = [];
16067
16067
  const pendingCacheCommits = [];
16068
16068
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -20338,7 +20338,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
20338
20338
  try {
20339
20339
  const freshId = rotateSessionForWedge(codeName);
20340
20340
  consecutiveWedgeCycles.delete(codeName);
20341
- const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-2PK6PG6Z.js");
20341
+ const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-22RREUHV.js");
20342
20342
  const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
20343
20343
  const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
20344
20344
  const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
@@ -20381,7 +20381,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
20381
20381
  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}`));
20382
20382
  void (async () => {
20383
20383
  try {
20384
- const { collectDiagnostics } = await import("../persistent-session-BGZAGJVY.js");
20384
+ const { collectDiagnostics } = await import("../persistent-session-6C3XIT5F.js");
20385
20385
  await api.post("/host/heartbeat", {
20386
20386
  host_id: hostId,
20387
20387
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -20432,7 +20432,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
20432
20432
  }
20433
20433
  try {
20434
20434
  const hostId = await getHostId();
20435
- const { collectDiagnostics } = await import("../persistent-session-BGZAGJVY.js");
20435
+ const { collectDiagnostics } = await import("../persistent-session-6C3XIT5F.js");
20436
20436
  await api.post("/host/heartbeat", {
20437
20437
  host_id: hostId,
20438
20438
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -21074,7 +21074,7 @@ async function processClaudePairSessions(agents) {
21074
21074
  killPairSession,
21075
21075
  pairTmuxSession,
21076
21076
  finalizeClaudePairOnboarding
21077
- } = await import("../claude-pair-runtime-O7CZKXDK.js");
21077
+ } = await import("../claude-pair-runtime-ICRPR6QQ.js");
21078
21078
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
21079
21079
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
21080
21080
  const killed = await killPairSession(pairTmuxSession(pairId));