@integrity-labs/agt-cli 0.28.232 → 0.28.234

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-XYM2DWZU.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-LVDRHYX7.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-CGUFXCYJ.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-2ZFH6K4I.js.map
@@ -37,7 +37,7 @@ import {
37
37
  requireHost,
38
38
  safeWriteJsonAtomic,
39
39
  setConfigHash
40
- } from "../chunk-FPWZQRJE.js";
40
+ } from "../chunk-PA2XRXTN.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-X4FOPVGZ.js";
125
+ } from "../chunk-PYVEJMY2.js";
126
126
  import {
127
127
  reapOrphanChannelMcps
128
128
  } from "../chunk-XWVM4KPK.js";
@@ -6426,7 +6426,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
6426
6426
  var lastVersionCheckAt = 0;
6427
6427
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
6428
6428
  var lastResponsivenessProbeAt = 0;
6429
- var agtCliVersion = true ? "0.28.232" : "dev";
6429
+ var agtCliVersion = true ? "0.28.234" : "dev";
6430
6430
  function resolveBrewPath(execFileSync2) {
6431
6431
  try {
6432
6432
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -7351,7 +7351,7 @@ async function pollCycle() {
7351
7351
  }
7352
7352
  try {
7353
7353
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
7354
- const { collectDiagnostics } = await import("../persistent-session-XYM2DWZU.js");
7354
+ const { collectDiagnostics } = await import("../persistent-session-LVDRHYX7.js");
7355
7355
  const diagCodeNames = [...agentState.persistentSessionAgents];
7356
7356
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
7357
7357
  let tailscaleHostname;
@@ -7499,7 +7499,7 @@ async function pollCycle() {
7499
7499
  const {
7500
7500
  collectResponsivenessProbes,
7501
7501
  getResponsivenessIntervalMs
7502
- } = await import("../responsiveness-probe-MUPAYTJF.js");
7502
+ } = await import("../responsiveness-probe-UW5TXKMS.js");
7503
7503
  const probeIntervalMs = getResponsivenessIntervalMs();
7504
7504
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
7505
7505
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -7531,7 +7531,7 @@ async function pollCycle() {
7531
7531
  collectResponsivenessProbes,
7532
7532
  livePendingInboundOldestAgeSeconds,
7533
7533
  parkPendingInbound
7534
- } = await import("../responsiveness-probe-MUPAYTJF.js");
7534
+ } = await import("../responsiveness-probe-UW5TXKMS.js");
7535
7535
  const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
7536
7536
  const wedgeNow = /* @__PURE__ */ new Date();
7537
7537
  const liveAgents = agentState.persistentSessionAgents;
@@ -7827,7 +7827,7 @@ async function pollCycle() {
7827
7827
  if (restartedCodeNames.length > 0) {
7828
7828
  void (async () => {
7829
7829
  try {
7830
- const { collectDiagnostics } = await import("../persistent-session-XYM2DWZU.js");
7830
+ const { collectDiagnostics } = await import("../persistent-session-LVDRHYX7.js");
7831
7831
  const freshDiagnostics = collectDiagnostics(restartedCodeNames);
7832
7832
  await api.post("/host/heartbeat", {
7833
7833
  host_id: hostId,
@@ -8570,12 +8570,15 @@ async function processAgent(agent, agentStates) {
8570
8570
  crossTeamPeerIntraOrg: crossTeamData.organization?.cross_team_peer_intra_org ?? "unrestricted"
8571
8571
  } : void 0;
8572
8572
  const peersForHash = channelId === "telegram" ? extractCharterTelegramPeers(refreshData.charter?.raw_content ?? "", gateContext) : channelId === "slack" ? extractCharterSlackPeers(refreshData.charter?.raw_content ?? "", gateContext) : null;
8573
+ const slackTeamPeerUserIds = channelId === "slack" && Array.isArray(crossTeamData.team_peer_slack_user_ids) ? crossTeamData.team_peer_slack_user_ids : void 0;
8573
8574
  const sessionModeForHash = refreshData.agent.session_mode;
8574
8575
  const senderPolicyForHash = refreshData.sender_policy ?? null;
8575
8576
  const configHash = computeChannelConfigHash({
8576
8577
  cliVersion: agtCliVersion,
8577
8578
  config: entry.config,
8578
- team: teamSettingsForHash,
8579
+ // ENG-7349: the slack team roster rides the `team` input (it is
8580
+ // team-level data, not a CHARTER peer declaration).
8581
+ team: slackTeamPeerUserIds !== void 0 ? { ...teamSettingsForHash, slack_team_peer_user_ids: slackTeamPeerUserIds } : teamSettingsForHash,
8579
8582
  peers: peersForHash,
8580
8583
  sessionMode: sessionModeForHash,
8581
8584
  senderPolicy: senderPolicyForHash
@@ -8626,6 +8629,8 @@ async function processAgent(agent, agentStates) {
8626
8629
  peerDisabled,
8627
8630
  telegramPeers,
8628
8631
  slackPeers,
8632
+ // ENG-7349: same-team roster for the peer-enablement hint.
8633
+ slackTeamPeerUserIds,
8629
8634
  agentTimezone,
8630
8635
  senderPolicy: senderPolicyForCall,
8631
8636
  agentAvatarUrl
@@ -10330,7 +10335,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
10330
10335
  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}`));
10331
10336
  void (async () => {
10332
10337
  try {
10333
- const { collectDiagnostics } = await import("../persistent-session-XYM2DWZU.js");
10338
+ const { collectDiagnostics } = await import("../persistent-session-LVDRHYX7.js");
10334
10339
  await api.post("/host/heartbeat", {
10335
10340
  host_id: hostId,
10336
10341
  agent_diagnostics: collectDiagnostics([codeName])
@@ -10724,7 +10729,7 @@ async function processClaudePairSessions(agents) {
10724
10729
  killPairSession,
10725
10730
  pairTmuxSession,
10726
10731
  finalizeClaudePairOnboarding
10727
- } = await import("../claude-pair-runtime-CGUFXCYJ.js");
10732
+ } = await import("../claude-pair-runtime-2ZFH6K4I.js");
10728
10733
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
10729
10734
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
10730
10735
  const killed = await killPairSession(pairTmuxSession(pairId));