@integrity-labs/agt-cli 0.28.507 → 0.28.509

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-OMAAP4OU.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-BDNW4K6M.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-37TIOIJQ.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-5CDR4XPI.js.map
@@ -53,7 +53,7 @@ import {
53
53
  safeWriteJsonAtomic,
54
54
  setConfigHash,
55
55
  tripClass
56
- } from "../chunk-75NQ7UBH.js";
56
+ } from "../chunk-S5X4XFAC.js";
57
57
  import {
58
58
  getProjectDir as getProjectDir2,
59
59
  getReadyTasks,
@@ -173,7 +173,7 @@ import {
173
173
  toOpencodeModel,
174
174
  transcriptActivityAgeSeconds,
175
175
  writeEgressAllowlist
176
- } from "../chunk-4PRR22KH.js";
176
+ } from "../chunk-7U63M5R6.js";
177
177
  import {
178
178
  reapOrphanChannelMcps
179
179
  } from "../chunk-XWVM4KPK.js";
@@ -328,7 +328,12 @@ function withResolvedRemoteMcp(integration) {
328
328
  return {
329
329
  ...integration,
330
330
  remoteMcp: integration.remote_mcp ?? void 0,
331
- stdioMcp: integration.stdio_mcp === true ? true : void 0
331
+ stdioMcp: integration.stdio_mcp === true ? true : void 0,
332
+ // ENG-8344: same seam, same reason. Only the exact string 'broker' opts a
333
+ // row into use-time credential delivery — anything else (including a value
334
+ // a newer API might add later) reads as today's env delivery, so an
335
+ // unrecognised value can never strip an agent's `git`/`gh` credentials.
336
+ credentialDelivery: integration.credential_delivery === "broker" ? "broker" : void 0
332
337
  };
333
338
  }
334
339
 
@@ -10033,7 +10038,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
10033
10038
  var lastVersionCheckAt = 0;
10034
10039
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
10035
10040
  var lastResponsivenessProbeAt = 0;
10036
- var agtCliVersion = true ? "0.28.507" : "dev";
10041
+ var agtCliVersion = true ? "0.28.509" : "dev";
10037
10042
  function resolveBrewPath(execFileSync2) {
10038
10043
  try {
10039
10044
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -11240,7 +11245,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
11240
11245
  if (codeNames.length === 0) return;
11241
11246
  void (async () => {
11242
11247
  try {
11243
- const { collectDiagnostics } = await import("../persistent-session-OMAAP4OU.js");
11248
+ const { collectDiagnostics } = await import("../persistent-session-BDNW4K6M.js");
11244
11249
  await api.post("/host/heartbeat", {
11245
11250
  host_id: hostId,
11246
11251
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor)
@@ -11347,7 +11352,7 @@ async function pollCycle() {
11347
11352
  }
11348
11353
  try {
11349
11354
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
11350
- const { collectDiagnostics } = await import("../persistent-session-OMAAP4OU.js");
11355
+ const { collectDiagnostics } = await import("../persistent-session-BDNW4K6M.js");
11351
11356
  const diagCodeNames = [...agentState.persistentSessionAgents];
11352
11357
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor) : void 0;
11353
11358
  let tailscaleHostname;
@@ -11462,7 +11467,7 @@ async function pollCycle() {
11462
11467
  collectResponsivenessProbes,
11463
11468
  collectPanelessActivityProbes,
11464
11469
  getResponsivenessIntervalMs
11465
- } = await import("../responsiveness-probe-NRH2AQW6.js");
11470
+ } = await import("../responsiveness-probe-KR73VA2S.js");
11466
11471
  const probeIntervalMs = getResponsivenessIntervalMs();
11467
11472
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
11468
11473
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -11526,7 +11531,7 @@ async function pollCycle() {
11526
11531
  collectResponsivenessProbes,
11527
11532
  livePendingInboundOldestAgeSeconds,
11528
11533
  parkPendingInbound
11529
- } = await import("../responsiveness-probe-NRH2AQW6.js");
11534
+ } = await import("../responsiveness-probe-KR73VA2S.js");
11530
11535
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
11531
11536
  const wedgeNow = /* @__PURE__ */ new Date();
11532
11537
  const liveAgents = agentState.persistentSessionAgents;
@@ -15018,7 +15023,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
15018
15023
  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}`));
15019
15024
  void (async () => {
15020
15025
  try {
15021
- const { collectDiagnostics } = await import("../persistent-session-OMAAP4OU.js");
15026
+ const { collectDiagnostics } = await import("../persistent-session-BDNW4K6M.js");
15022
15027
  await api.post("/host/heartbeat", {
15023
15028
  host_id: hostId,
15024
15029
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
@@ -15068,7 +15073,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
15068
15073
  }
15069
15074
  try {
15070
15075
  const hostId = await getHostId();
15071
- const { collectDiagnostics } = await import("../persistent-session-OMAAP4OU.js");
15076
+ const { collectDiagnostics } = await import("../persistent-session-BDNW4K6M.js");
15072
15077
  await api.post("/host/heartbeat", {
15073
15078
  host_id: hostId,
15074
15079
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
@@ -15586,7 +15591,7 @@ async function processClaudePairSessions(agents) {
15586
15591
  killPairSession,
15587
15592
  pairTmuxSession,
15588
15593
  finalizeClaudePairOnboarding
15589
- } = await import("../claude-pair-runtime-37TIOIJQ.js");
15594
+ } = await import("../claude-pair-runtime-5CDR4XPI.js");
15590
15595
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
15591
15596
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
15592
15597
  const killed = await killPairSession(pairTmuxSession(pairId));