@integrity-labs/agt-cli 0.28.690 → 0.28.692

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 (25) hide show
  1. package/dist/bin/agt.js +5 -5
  2. package/dist/{chunk-2GNXBVWJ.js → chunk-7K2I4LJZ.js} +12 -25
  3. package/dist/chunk-7K2I4LJZ.js.map +1 -0
  4. package/dist/{chunk-KNGLJ5PP.js → chunk-ITB6NEXM.js} +430 -628
  5. package/dist/chunk-ITB6NEXM.js.map +1 -0
  6. package/dist/{chunk-XF2B7JHC.js → chunk-WHW747J3.js} +2 -2
  7. package/dist/{claude-pair-runtime-PDOGREOQ.js → claude-pair-runtime-ENI5O3JA.js} +2 -2
  8. package/dist/lib/manager-worker.js +13 -15
  9. package/dist/lib/manager-worker.js.map +1 -1
  10. package/dist/mcp/direct-chat-channel.js +11 -24
  11. package/dist/mcp/index.js +65 -26
  12. package/dist/mcp/origami.js +11 -24
  13. package/dist/mcp/slack-channel.js +11 -24
  14. package/dist/mcp/telegram-channel.js +11 -24
  15. package/dist/{persistent-session-LVBNKFMF.js → persistent-session-42FL5BEW.js} +3 -3
  16. package/dist/{responsiveness-probe-T52RFYK3.js → responsiveness-probe-RG2SD7HX.js} +3 -3
  17. package/dist/{session-auth-dead-MV6C7TBH.js → session-auth-dead-SHLP7FRQ.js} +2 -2
  18. package/package.json +1 -1
  19. package/dist/chunk-2GNXBVWJ.js.map +0 -1
  20. package/dist/chunk-KNGLJ5PP.js.map +0 -1
  21. /package/dist/{chunk-XF2B7JHC.js.map → chunk-WHW747J3.js.map} +0 -0
  22. /package/dist/{claude-pair-runtime-PDOGREOQ.js.map → claude-pair-runtime-ENI5O3JA.js.map} +0 -0
  23. /package/dist/{persistent-session-LVBNKFMF.js.map → persistent-session-42FL5BEW.js.map} +0 -0
  24. /package/dist/{responsiveness-probe-T52RFYK3.js.map → responsiveness-probe-RG2SD7HX.js.map} +0 -0
  25. /package/dist/{session-auth-dead-MV6C7TBH.js.map → session-auth-dead-SHLP7FRQ.js.map} +0 -0
@@ -17,7 +17,7 @@ import {
17
17
  rotateDailySession,
18
18
  sessionFileExists,
19
19
  todayLocalIso
20
- } from "./chunk-2GNXBVWJ.js";
20
+ } from "./chunk-7K2I4LJZ.js";
21
21
  import {
22
22
  reapOrphanChannelMcps
23
23
  } from "./chunk-XWVM4KPK.js";
@@ -4531,4 +4531,4 @@ export {
4531
4531
  stopAllSessionsAndWait,
4532
4532
  getProjectDir
4533
4533
  };
4534
- //# sourceMappingURL=chunk-XF2B7JHC.js.map
4534
+ //# sourceMappingURL=chunk-WHW747J3.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-LVBNKFMF.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-42FL5BEW.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-PDOGREOQ.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-ENI5O3JA.js.map
@@ -53,9 +53,8 @@ import {
53
53
  resolveEffectivePinRaw,
54
54
  safeWriteJsonAtomic,
55
55
  setConfigHash,
56
- setSecretFileTmpfsBacking,
57
56
  tripClass
58
- } from "../chunk-KNGLJ5PP.js";
57
+ } from "../chunk-ITB6NEXM.js";
59
58
  import {
60
59
  getProjectDir as getProjectDir2,
61
60
  getReadyTasks,
@@ -113,7 +112,7 @@ import {
113
112
  takeZombieDetection,
114
113
  toOpencodeModel,
115
114
  writeEgressAllowlist
116
- } from "../chunk-XF2B7JHC.js";
115
+ } from "../chunk-WHW747J3.js";
117
116
  import {
118
117
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
119
118
  AnchorSessionClient,
@@ -194,7 +193,7 @@ import {
194
193
  subagentActivityAgeSeconds,
195
194
  sumTranscriptUsageInWindow,
196
195
  transcriptActivityAgeSeconds
197
- } from "../chunk-2GNXBVWJ.js";
196
+ } from "../chunk-7K2I4LJZ.js";
198
197
  import {
199
198
  reapOrphanChannelMcps
200
199
  } from "../chunk-XWVM4KPK.js";
@@ -11755,7 +11754,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
11755
11754
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
11756
11755
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
11757
11756
  async function channelInboundActivityAgeSecondsFor(codeName) {
11758
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-T52RFYK3.js");
11757
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-RG2SD7HX.js");
11759
11758
  const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
11760
11759
  if (newest === null) return null;
11761
11760
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -12403,7 +12402,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
12403
12402
  var lastVersionCheckAt = 0;
12404
12403
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
12405
12404
  var lastResponsivenessProbeAt = 0;
12406
- var agtCliVersion = true ? "0.28.690" : "dev";
12405
+ var agtCliVersion = true ? "0.28.692" : "dev";
12407
12406
  function resolveBrewPath(execFileSync3) {
12408
12407
  try {
12409
12408
  const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -13864,7 +13863,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
13864
13863
  if (codeNames.length === 0) return;
13865
13864
  void (async () => {
13866
13865
  try {
13867
- const { collectDiagnostics } = await import("../persistent-session-LVBNKFMF.js");
13866
+ const { collectDiagnostics } = await import("../persistent-session-42FL5BEW.js");
13868
13867
  await api.post("/host/heartbeat", {
13869
13868
  host_id: hostId,
13870
13869
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
@@ -13981,7 +13980,7 @@ async function pollCycleInner() {
13981
13980
  }
13982
13981
  try {
13983
13982
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
13984
- const { collectDiagnostics } = await import("../persistent-session-LVBNKFMF.js");
13983
+ const { collectDiagnostics } = await import("../persistent-session-42FL5BEW.js");
13985
13984
  const diagCodeNames = [...agentState.persistentSessionAgents];
13986
13985
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor) : void 0;
13987
13986
  let tailscaleHostname;
@@ -14133,7 +14132,7 @@ async function pollCycleInner() {
14133
14132
  collectPanelessActivityProbes,
14134
14133
  getResponsivenessIntervalMs,
14135
14134
  occupancyQualificationClassifications
14136
- } = await import("../responsiveness-probe-T52RFYK3.js");
14135
+ } = await import("../responsiveness-probe-RG2SD7HX.js");
14137
14136
  const probeIntervalMs = getResponsivenessIntervalMs();
14138
14137
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
14139
14138
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -14243,7 +14242,7 @@ async function pollCycleInner() {
14243
14242
  collectResponsivenessProbes,
14244
14243
  livePendingInboundOldestAgeSeconds,
14245
14244
  parkPendingInbound
14246
- } = await import("../responsiveness-probe-T52RFYK3.js");
14245
+ } = await import("../responsiveness-probe-RG2SD7HX.js");
14247
14246
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
14248
14247
  const wedgeNow = /* @__PURE__ */ new Date();
14249
14248
  const liveAgents = agentState.persistentSessionAgents;
@@ -14399,7 +14398,7 @@ async function pollCycleInner() {
14399
14398
  }
14400
14399
  try {
14401
14400
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
14402
- const { probeSessionAuth } = await import("../session-auth-dead-MV6C7TBH.js");
14401
+ const { probeSessionAuth } = await import("../session-auth-dead-SHLP7FRQ.js");
14403
14402
  const observations = [];
14404
14403
  const pendingCacheCommits = [];
14405
14404
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -14559,7 +14558,6 @@ async function pollCycleInner() {
14559
14558
  const processOrder = fastRespawn ? reorderRestartedFirst(agents, new Set(restartAcks.keys())) : agents;
14560
14559
  const managedToolkits = createManagedToolkitReader(agents.map((a) => a.agent_id));
14561
14560
  managedPruneLedger = createManagedPruneLedger();
14562
- setSecretFileTmpfsBacking(hostFlagStore().getBoolean("secret-files-tmpfs"));
14563
14561
  for (const agent of processOrder) {
14564
14562
  if (restartInFlight.has(agent.agent_id)) {
14565
14563
  const existing = state7.agents.find((a) => a.agentId === agent.agent_id);
@@ -18160,7 +18158,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
18160
18158
  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}`));
18161
18159
  void (async () => {
18162
18160
  try {
18163
- const { collectDiagnostics } = await import("../persistent-session-LVBNKFMF.js");
18161
+ const { collectDiagnostics } = await import("../persistent-session-42FL5BEW.js");
18164
18162
  await api.post("/host/heartbeat", {
18165
18163
  host_id: hostId,
18166
18164
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
@@ -18211,7 +18209,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
18211
18209
  }
18212
18210
  try {
18213
18211
  const hostId = await getHostId();
18214
- const { collectDiagnostics } = await import("../persistent-session-LVBNKFMF.js");
18212
+ const { collectDiagnostics } = await import("../persistent-session-42FL5BEW.js");
18215
18213
  await api.post("/host/heartbeat", {
18216
18214
  host_id: hostId,
18217
18215
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
@@ -18843,7 +18841,7 @@ async function processClaudePairSessions(agents) {
18843
18841
  killPairSession,
18844
18842
  pairTmuxSession,
18845
18843
  finalizeClaudePairOnboarding
18846
- } = await import("../claude-pair-runtime-PDOGREOQ.js");
18844
+ } = await import("../claude-pair-runtime-ENI5O3JA.js");
18847
18845
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
18848
18846
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
18849
18847
  const killed = await killPairSession(pairTmuxSession(pairId));