@integrity-labs/agt-cli 0.28.841 → 0.28.843

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-WLP5YTO2.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-MD23VXCZ.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-XC3AQA4L.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-PCMMXLJW.js.map
@@ -60,7 +60,7 @@ import {
60
60
  safeWriteJsonAtomic,
61
61
  setConfigHash,
62
62
  tripClass
63
- } from "../chunk-43P6SG7L.js";
63
+ } from "../chunk-N3SJYP5X.js";
64
64
  import {
65
65
  getProjectDir as getProjectDir2,
66
66
  getReadyTasks,
@@ -126,7 +126,7 @@ import {
126
126
  takeZombieDetection,
127
127
  toOpencodeModel,
128
128
  writeEgressAllowlist
129
- } from "../chunk-CFLYGZOF.js";
129
+ } from "../chunk-NZQ3ILKM.js";
130
130
  import {
131
131
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
132
132
  AnchorSessionClient,
@@ -221,7 +221,7 @@ import {
221
221
  subagentActivityAgeSeconds,
222
222
  sumTranscriptUsageInWindow,
223
223
  transcriptActivityAgeSeconds
224
- } from "../chunk-XBLODN73.js";
224
+ } from "../chunk-N23P6M3P.js";
225
225
  import {
226
226
  reapOrphanChannelMcps
227
227
  } from "../chunk-XWVM4KPK.js";
@@ -13021,7 +13021,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
13021
13021
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
13022
13022
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
13023
13023
  async function channelInboundActivityAgeSecondsFor(codeName) {
13024
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-7RYNNHKC.js");
13024
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-V4Z5EJYK.js");
13025
13025
  const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
13026
13026
  if (newest === null) return null;
13027
13027
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -13689,7 +13689,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
13689
13689
  var lastVersionCheckAt = 0;
13690
13690
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
13691
13691
  var lastResponsivenessProbeAt = 0;
13692
- var agtCliVersion = true ? "0.28.841" : "dev";
13692
+ var agtCliVersion = true ? "0.28.843" : "dev";
13693
13693
  function resolveBrewPath(execFileSync2) {
13694
13694
  try {
13695
13695
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -15279,7 +15279,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
15279
15279
  if (codeNames.length === 0) return;
15280
15280
  void (async () => {
15281
15281
  try {
15282
- const { collectDiagnostics } = await import("../persistent-session-WLP5YTO2.js");
15282
+ const { collectDiagnostics } = await import("../persistent-session-MD23VXCZ.js");
15283
15283
  await api.post("/host/heartbeat", {
15284
15284
  host_id: hostId,
15285
15285
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -15421,7 +15421,7 @@ async function pollCycleInner() {
15421
15421
  }
15422
15422
  try {
15423
15423
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
15424
- const { collectDiagnostics } = await import("../persistent-session-WLP5YTO2.js");
15424
+ const { collectDiagnostics } = await import("../persistent-session-MD23VXCZ.js");
15425
15425
  const diagCodeNames = [...agentState.persistentSessionAgents];
15426
15426
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
15427
15427
  let tailscaleHostname;
@@ -15590,7 +15590,7 @@ async function pollCycleInner() {
15590
15590
  collectPanelessActivityProbes,
15591
15591
  getResponsivenessIntervalMs,
15592
15592
  occupancyQualificationClassifications
15593
- } = await import("../responsiveness-probe-7RYNNHKC.js");
15593
+ } = await import("../responsiveness-probe-V4Z5EJYK.js");
15594
15594
  const probeIntervalMs = getResponsivenessIntervalMs();
15595
15595
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
15596
15596
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -15707,7 +15707,7 @@ async function pollCycleInner() {
15707
15707
  collectResponsivenessProbes,
15708
15708
  livePendingInboundOldestAgeSeconds,
15709
15709
  parkPendingInbound
15710
- } = await import("../responsiveness-probe-7RYNNHKC.js");
15710
+ } = await import("../responsiveness-probe-V4Z5EJYK.js");
15711
15711
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
15712
15712
  const wedgeNow = /* @__PURE__ */ new Date();
15713
15713
  const liveAgents = agentState.persistentSessionAgents;
@@ -15863,7 +15863,7 @@ async function pollCycleInner() {
15863
15863
  }
15864
15864
  try {
15865
15865
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
15866
- const { probeSessionAuth } = await import("../session-auth-dead-X6B6C3BR.js");
15866
+ const { probeSessionAuth } = await import("../session-auth-dead-PQX3NA2X.js");
15867
15867
  const observations = [];
15868
15868
  const pendingCacheCommits = [];
15869
15869
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -20106,7 +20106,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
20106
20106
  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}`));
20107
20107
  void (async () => {
20108
20108
  try {
20109
- const { collectDiagnostics } = await import("../persistent-session-WLP5YTO2.js");
20109
+ const { collectDiagnostics } = await import("../persistent-session-MD23VXCZ.js");
20110
20110
  await api.post("/host/heartbeat", {
20111
20111
  host_id: hostId,
20112
20112
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -20152,7 +20152,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
20152
20152
  }
20153
20153
  try {
20154
20154
  const hostId = await getHostId();
20155
- const { collectDiagnostics } = await import("../persistent-session-WLP5YTO2.js");
20155
+ const { collectDiagnostics } = await import("../persistent-session-MD23VXCZ.js");
20156
20156
  await api.post("/host/heartbeat", {
20157
20157
  host_id: hostId,
20158
20158
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -20788,7 +20788,7 @@ async function processClaudePairSessions(agents) {
20788
20788
  killPairSession,
20789
20789
  pairTmuxSession,
20790
20790
  finalizeClaudePairOnboarding
20791
- } = await import("../claude-pair-runtime-XC3AQA4L.js");
20791
+ } = await import("../claude-pair-runtime-PCMMXLJW.js");
20792
20792
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
20793
20793
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
20794
20794
  const killed = await killPairSession(pairTmuxSession(pairId));
@@ -33725,11 +33725,22 @@ var INTEGRATION_REGISTRY = [
33725
33725
  binary: "xurl",
33726
33726
  env_key: "X_BEARER_TOKEN",
33727
33727
  skill_id: "xurl-cli",
33728
- // xurl is a Go binary distributed through homebrew tap; operator
33729
- // installs via `brew install xdevplatform/tap/xurl`. Mark manual
33730
- // for now add a dedicated `tap` installer in a follow-up if more
33731
- // brew-tap tools land.
33732
- installer: "manual"
33728
+ // ENG-6897: was `manual`, on the belief that xurl is only distributed
33729
+ // through a homebrew tap. It is not: xdevplatform publish
33730
+ // `@xdevplatform/xurl` to npm (1.3.1 at time of writing) with
33731
+ // `bin: { xurl: 'cli.js' }`, and the `package` above was already the
33732
+ // right one — only the installer disagreed. `manual` meant the manager
33733
+ // logged "operator must install" to a host log nobody reads and marked
33734
+ // the toolkit permanently ensured, so every agent granted this
33735
+ // integration got credentials, a skill, and no binary, silently.
33736
+ //
33737
+ // The npm package's postinstall downloads the matching release archive
33738
+ // from GitHub and untars it, so this needs egress to
33739
+ // github.com/.../releases. If that fails, `ensureToolkitCli`'s
33740
+ // post-install `which` catches it, logs the child's real stderr and
33741
+ // retries with backoff — i.e. the worst case of trying is the state we
33742
+ // are already in, with a better log line.
33743
+ installer: "npm"
33733
33744
  },
33734
33745
  docs_url: "https://github.com/xdevplatform/xurl"
33735
33746
  },
package/dist/mcp/index.js CHANGED
@@ -26274,11 +26274,22 @@ var INTEGRATION_REGISTRY = [
26274
26274
  binary: "xurl",
26275
26275
  env_key: "X_BEARER_TOKEN",
26276
26276
  skill_id: "xurl-cli",
26277
- // xurl is a Go binary distributed through homebrew tap; operator
26278
- // installs via `brew install xdevplatform/tap/xurl`. Mark manual
26279
- // for now add a dedicated `tap` installer in a follow-up if more
26280
- // brew-tap tools land.
26281
- installer: "manual"
26277
+ // ENG-6897: was `manual`, on the belief that xurl is only distributed
26278
+ // through a homebrew tap. It is not: xdevplatform publish
26279
+ // `@xdevplatform/xurl` to npm (1.3.1 at time of writing) with
26280
+ // `bin: { xurl: 'cli.js' }`, and the `package` above was already the
26281
+ // right one — only the installer disagreed. `manual` meant the manager
26282
+ // logged "operator must install" to a host log nobody reads and marked
26283
+ // the toolkit permanently ensured, so every agent granted this
26284
+ // integration got credentials, a skill, and no binary, silently.
26285
+ //
26286
+ // The npm package's postinstall downloads the matching release archive
26287
+ // from GitHub and untars it, so this needs egress to
26288
+ // github.com/.../releases. If that fails, `ensureToolkitCli`'s
26289
+ // post-install `which` catches it, logs the child's real stderr and
26290
+ // retries with backoff — i.e. the worst case of trying is the state we
26291
+ // are already in, with a better log line.
26292
+ installer: "npm"
26282
26293
  },
26283
26294
  docs_url: "https://github.com/xdevplatform/xurl"
26284
26295
  },
@@ -40430,11 +40430,22 @@ var INTEGRATION_REGISTRY = [
40430
40430
  binary: "xurl",
40431
40431
  env_key: "X_BEARER_TOKEN",
40432
40432
  skill_id: "xurl-cli",
40433
- // xurl is a Go binary distributed through homebrew tap; operator
40434
- // installs via `brew install xdevplatform/tap/xurl`. Mark manual
40435
- // for now add a dedicated `tap` installer in a follow-up if more
40436
- // brew-tap tools land.
40437
- installer: "manual"
40433
+ // ENG-6897: was `manual`, on the belief that xurl is only distributed
40434
+ // through a homebrew tap. It is not: xdevplatform publish
40435
+ // `@xdevplatform/xurl` to npm (1.3.1 at time of writing) with
40436
+ // `bin: { xurl: 'cli.js' }`, and the `package` above was already the
40437
+ // right one — only the installer disagreed. `manual` meant the manager
40438
+ // logged "operator must install" to a host log nobody reads and marked
40439
+ // the toolkit permanently ensured, so every agent granted this
40440
+ // integration got credentials, a skill, and no binary, silently.
40441
+ //
40442
+ // The npm package's postinstall downloads the matching release archive
40443
+ // from GitHub and untars it, so this needs egress to
40444
+ // github.com/.../releases. If that fails, `ensureToolkitCli`'s
40445
+ // post-install `which` catches it, logs the child's real stderr and
40446
+ // retries with backoff — i.e. the worst case of trying is the state we
40447
+ // are already in, with a better log line.
40448
+ installer: "npm"
40438
40449
  },
40439
40450
  docs_url: "https://github.com/xdevplatform/xurl"
40440
40451
  },
@@ -34578,11 +34578,22 @@ var INTEGRATION_REGISTRY = [
34578
34578
  binary: "xurl",
34579
34579
  env_key: "X_BEARER_TOKEN",
34580
34580
  skill_id: "xurl-cli",
34581
- // xurl is a Go binary distributed through homebrew tap; operator
34582
- // installs via `brew install xdevplatform/tap/xurl`. Mark manual
34583
- // for now add a dedicated `tap` installer in a follow-up if more
34584
- // brew-tap tools land.
34585
- installer: "manual"
34581
+ // ENG-6897: was `manual`, on the belief that xurl is only distributed
34582
+ // through a homebrew tap. It is not: xdevplatform publish
34583
+ // `@xdevplatform/xurl` to npm (1.3.1 at time of writing) with
34584
+ // `bin: { xurl: 'cli.js' }`, and the `package` above was already the
34585
+ // right one — only the installer disagreed. `manual` meant the manager
34586
+ // logged "operator must install" to a host log nobody reads and marked
34587
+ // the toolkit permanently ensured, so every agent granted this
34588
+ // integration got credentials, a skill, and no binary, silently.
34589
+ //
34590
+ // The npm package's postinstall downloads the matching release archive
34591
+ // from GitHub and untars it, so this needs egress to
34592
+ // github.com/.../releases. If that fails, `ensureToolkitCli`'s
34593
+ // post-install `which` catches it, logs the child's real stderr and
34594
+ // retries with backoff — i.e. the worst case of trying is the state we
34595
+ // are already in, with a better log line.
34596
+ installer: "npm"
34586
34597
  },
34587
34598
  docs_url: "https://github.com/xdevplatform/xurl"
34588
34599
  },
@@ -34710,11 +34710,22 @@ var INTEGRATION_REGISTRY = [
34710
34710
  binary: "xurl",
34711
34711
  env_key: "X_BEARER_TOKEN",
34712
34712
  skill_id: "xurl-cli",
34713
- // xurl is a Go binary distributed through homebrew tap; operator
34714
- // installs via `brew install xdevplatform/tap/xurl`. Mark manual
34715
- // for now add a dedicated `tap` installer in a follow-up if more
34716
- // brew-tap tools land.
34717
- installer: "manual"
34713
+ // ENG-6897: was `manual`, on the belief that xurl is only distributed
34714
+ // through a homebrew tap. It is not: xdevplatform publish
34715
+ // `@xdevplatform/xurl` to npm (1.3.1 at time of writing) with
34716
+ // `bin: { xurl: 'cli.js' }`, and the `package` above was already the
34717
+ // right one — only the installer disagreed. `manual` meant the manager
34718
+ // logged "operator must install" to a host log nobody reads and marked
34719
+ // the toolkit permanently ensured, so every agent granted this
34720
+ // integration got credentials, a skill, and no binary, silently.
34721
+ //
34722
+ // The npm package's postinstall downloads the matching release archive
34723
+ // from GitHub and untars it, so this needs egress to
34724
+ // github.com/.../releases. If that fails, `ensureToolkitCli`'s
34725
+ // post-install `which` catches it, logs the child's real stderr and
34726
+ // retries with backoff — i.e. the worst case of trying is the state we
34727
+ // are already in, with a better log line.
34728
+ installer: "npm"
34718
34729
  },
34719
34730
  docs_url: "https://github.com/xdevplatform/xurl"
34720
34731
  },
@@ -3,10 +3,13 @@ import {
3
3
  PANE_AGENT_ID_PROBE_TIMEOUT_MS,
4
4
  REQUIRED_SPAWN_ENV,
5
5
  SEND_KEYS_ENTER_DELAY_MS,
6
+ TMUX_BOOTSTRAP_HOLD_CMD,
7
+ TMUX_BOOTSTRAP_SESSION_PREFIX,
6
8
  _internals,
7
9
  buildDockerRunCommand,
8
10
  buildEgressAllowlist,
9
11
  buildSpawnEnv,
12
+ buildTmuxSpawnPlan,
10
13
  collectDiagnostics,
11
14
  describePaneAgentIdMismatch,
12
15
  detectFailureSignature,
@@ -39,6 +42,7 @@ import {
39
42
  restartEgressSidecar,
40
43
  rotatePaneLogForDayRollover,
41
44
  rotateSessionForWedge,
45
+ runTmuxSpawnPlan,
42
46
  sendToAgent,
43
47
  spawnBackoffMs,
44
48
  startPersistentSession,
@@ -46,21 +50,25 @@ import {
46
50
  stopAllSessionsAndWait,
47
51
  stopPersistentSession,
48
52
  takeZombieDetection,
53
+ tmuxBootstrapSessionName,
49
54
  writeDirectChatSessionState,
50
55
  writeEgressAllowlist,
51
56
  writePersistentClaudeWrapper
52
- } from "./chunk-CFLYGZOF.js";
53
- import "./chunk-XBLODN73.js";
57
+ } from "./chunk-NZQ3ILKM.js";
58
+ import "./chunk-N23P6M3P.js";
54
59
  import "./chunk-XWVM4KPK.js";
55
60
  export {
56
61
  EGRESS_BASELINE_DOMAINS,
57
62
  PANE_AGENT_ID_PROBE_TIMEOUT_MS,
58
63
  REQUIRED_SPAWN_ENV,
59
64
  SEND_KEYS_ENTER_DELAY_MS,
65
+ TMUX_BOOTSTRAP_HOLD_CMD,
66
+ TMUX_BOOTSTRAP_SESSION_PREFIX,
60
67
  _internals,
61
68
  buildDockerRunCommand,
62
69
  buildEgressAllowlist,
63
70
  buildSpawnEnv,
71
+ buildTmuxSpawnPlan,
64
72
  collectDiagnostics,
65
73
  describePaneAgentIdMismatch,
66
74
  detectFailureSignature,
@@ -93,6 +101,7 @@ export {
93
101
  restartEgressSidecar,
94
102
  rotatePaneLogForDayRollover,
95
103
  rotateSessionForWedge,
104
+ runTmuxSpawnPlan,
96
105
  sendToAgent,
97
106
  spawnBackoffMs,
98
107
  startPersistentSession,
@@ -100,8 +109,9 @@ export {
100
109
  stopAllSessionsAndWait,
101
110
  stopPersistentSession,
102
111
  takeZombieDetection,
112
+ tmuxBootstrapSessionName,
103
113
  writeDirectChatSessionState,
104
114
  writeEgressAllowlist,
105
115
  writePersistentClaudeWrapper
106
116
  };
107
- //# sourceMappingURL=persistent-session-WLP5YTO2.js.map
117
+ //# sourceMappingURL=persistent-session-MD23VXCZ.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-CFLYGZOF.js";
4
- import "./chunk-XBLODN73.js";
3
+ } from "./chunk-NZQ3ILKM.js";
4
+ import "./chunk-N23P6M3P.js";
5
5
  import "./chunk-XWVM4KPK.js";
6
6
 
7
7
  // src/lib/responsiveness-probe.ts
@@ -764,4 +764,4 @@ export {
764
764
  readAndResetSlackReplyBindingClassifications,
765
765
  readAndResetSlackReplyTargetClassifications
766
766
  };
767
- //# sourceMappingURL=responsiveness-probe-7RYNNHKC.js.map
767
+ //# sourceMappingURL=responsiveness-probe-V4Z5EJYK.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-XBLODN73.js";
3
+ } from "./chunk-N23P6M3P.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-X6B6C3BR.js.map
206
+ //# sourceMappingURL=session-auth-dead-PQX3NA2X.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.841",
3
+ "version": "0.28.843",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {