@integrity-labs/agt-cli 0.28.237 → 0.28.239

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.
@@ -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-LVDRHYX7.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-RRCU7CQJ.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-2ZFH6K4I.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-422CI7SM.js.map
@@ -37,7 +37,7 @@ import {
37
37
  requireHost,
38
38
  safeWriteJsonAtomic,
39
39
  setConfigHash
40
- } from "../chunk-DN4HSL6M.js";
40
+ } from "../chunk-O3MVFYYC.js";
41
41
  import {
42
42
  getProjectDir as getProjectDir2,
43
43
  getReadyTasks,
@@ -122,7 +122,7 @@ import {
122
122
  takeZombieDetection,
123
123
  transcriptActivityAgeSeconds,
124
124
  writeEgressAllowlist
125
- } from "../chunk-PYVEJMY2.js";
125
+ } from "../chunk-GO4VMK2P.js";
126
126
  import {
127
127
  reapOrphanChannelMcps
128
128
  } from "../chunk-XWVM4KPK.js";
@@ -232,7 +232,11 @@ function computeIntegrationsHash(integrations) {
232
232
 
233
233
  // src/lib/host-integration-mapping.ts
234
234
  function withResolvedRemoteMcp(integration) {
235
- return { ...integration, remoteMcp: integration.remote_mcp ?? void 0 };
235
+ return {
236
+ ...integration,
237
+ remoteMcp: integration.remote_mcp ?? void 0,
238
+ stdioMcp: integration.stdio_mcp === true ? true : void 0
239
+ };
236
240
  }
237
241
 
238
242
  // src/lib/channel-restart-decision.ts
@@ -6498,7 +6502,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
6498
6502
  var lastVersionCheckAt = 0;
6499
6503
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
6500
6504
  var lastResponsivenessProbeAt = 0;
6501
- var agtCliVersion = true ? "0.28.237" : "dev";
6505
+ var agtCliVersion = true ? "0.28.239" : "dev";
6502
6506
  function resolveBrewPath(execFileSync2) {
6503
6507
  try {
6504
6508
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -7423,7 +7427,7 @@ async function pollCycle() {
7423
7427
  }
7424
7428
  try {
7425
7429
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
7426
- const { collectDiagnostics } = await import("../persistent-session-LVDRHYX7.js");
7430
+ const { collectDiagnostics } = await import("../persistent-session-RRCU7CQJ.js");
7427
7431
  const diagCodeNames = [...agentState.persistentSessionAgents];
7428
7432
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
7429
7433
  let tailscaleHostname;
@@ -7571,7 +7575,7 @@ async function pollCycle() {
7571
7575
  const {
7572
7576
  collectResponsivenessProbes,
7573
7577
  getResponsivenessIntervalMs
7574
- } = await import("../responsiveness-probe-UW5TXKMS.js");
7578
+ } = await import("../responsiveness-probe-K5HFFW5F.js");
7575
7579
  const probeIntervalMs = getResponsivenessIntervalMs();
7576
7580
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
7577
7581
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -7603,7 +7607,7 @@ async function pollCycle() {
7603
7607
  collectResponsivenessProbes,
7604
7608
  livePendingInboundOldestAgeSeconds,
7605
7609
  parkPendingInbound
7606
- } = await import("../responsiveness-probe-UW5TXKMS.js");
7610
+ } = await import("../responsiveness-probe-K5HFFW5F.js");
7607
7611
  const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
7608
7612
  const wedgeNow = /* @__PURE__ */ new Date();
7609
7613
  const liveAgents = agentState.persistentSessionAgents;
@@ -7899,7 +7903,7 @@ async function pollCycle() {
7899
7903
  if (restartedCodeNames.length > 0) {
7900
7904
  void (async () => {
7901
7905
  try {
7902
- const { collectDiagnostics } = await import("../persistent-session-LVDRHYX7.js");
7906
+ const { collectDiagnostics } = await import("../persistent-session-RRCU7CQJ.js");
7903
7907
  const freshDiagnostics = collectDiagnostics(restartedCodeNames);
7904
7908
  await api.post("/host/heartbeat", {
7905
7909
  host_id: hostId,
@@ -10418,7 +10422,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
10418
10422
  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}`));
10419
10423
  void (async () => {
10420
10424
  try {
10421
- const { collectDiagnostics } = await import("../persistent-session-LVDRHYX7.js");
10425
+ const { collectDiagnostics } = await import("../persistent-session-RRCU7CQJ.js");
10422
10426
  await api.post("/host/heartbeat", {
10423
10427
  host_id: hostId,
10424
10428
  agent_diagnostics: collectDiagnostics([codeName])
@@ -10812,7 +10816,7 @@ async function processClaudePairSessions(agents) {
10812
10816
  killPairSession,
10813
10817
  pairTmuxSession,
10814
10818
  finalizeClaudePairOnboarding
10815
- } = await import("../claude-pair-runtime-2ZFH6K4I.js");
10819
+ } = await import("../claude-pair-runtime-422CI7SM.js");
10816
10820
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
10817
10821
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
10818
10822
  const killed = await killPairSession(pairTmuxSession(pairId));
@@ -11616,7 +11620,14 @@ function deployMcpAssets() {
11616
11620
  // RESTARTABLE_CHANNEL_FILES - it's not a channel; a bundle update applies on
11617
11621
  // the next natural session restart. It re-reads the token from the secrets
11618
11622
  // file per request, so it never needs restarting just to pick up a rotation.
11619
- "remote-oauth-proxy.js"
11623
+ "remote-oauth-proxy.js",
11624
+ // ENG-7358: origami's dedicated stdio MCP server, bundled with the CLI
11625
+ // (never published to npm). Same treatment as augmented-admin - NOT a
11626
+ // channel, so not in RESTARTABLE_CHANNEL_FILES; the reaper (re)starts it
11627
+ // with the session and a bundle update applies on the next natural
11628
+ // session restart. It fetches its credential + identity per call, so it
11629
+ // never needs restarting to pick up a key rotation either.
11630
+ "origami.js"
11620
11631
  ]) {
11621
11632
  const src = join16(mcpSourceDir, file);
11622
11633
  const dst = join16(targetDir, file);