@integrity-labs/agt-cli 0.28.365 → 0.28.366

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.
@@ -20,7 +20,7 @@ import {
20
20
  resolveConnectivityProbe,
21
21
  worseConnectivityOutcome,
22
22
  wrapScheduledTaskPrompt
23
- } from "./chunk-N7Z6UOKY.js";
23
+ } from "./chunk-EFIXTBUQ.js";
24
24
  import {
25
25
  parsePsRows
26
26
  } from "./chunk-XWVM4KPK.js";
@@ -6348,7 +6348,7 @@ function requireHost() {
6348
6348
  }
6349
6349
 
6350
6350
  // src/lib/api-client.ts
6351
- var agtCliVersion = true ? "0.28.365" : "dev";
6351
+ var agtCliVersion = true ? "0.28.366" : "dev";
6352
6352
  var lastConfigHash = null;
6353
6353
  function setConfigHash(hash) {
6354
6354
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8794,4 +8794,4 @@ export {
8794
8794
  managerInstallSystemUnitCommand,
8795
8795
  managerUninstallSystemUnitCommand
8796
8796
  };
8797
- //# sourceMappingURL=chunk-7HNQ5ECS.js.map
8797
+ //# sourceMappingURL=chunk-YUQIJ2KO.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-I6Q65UFB.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-YMOHCLWV.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-BUL4OURE.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-Y6CE4MNP.js.map
@@ -43,7 +43,7 @@ import {
43
43
  resolveEffectivePinRaw,
44
44
  safeWriteJsonAtomic,
45
45
  setConfigHash
46
- } from "../chunk-7HNQ5ECS.js";
46
+ } from "../chunk-YUQIJ2KO.js";
47
47
  import {
48
48
  getProjectDir as getProjectDir2,
49
49
  getReadyTasks,
@@ -146,7 +146,7 @@ import {
146
146
  toOpencodeModel,
147
147
  transcriptActivityAgeSeconds,
148
148
  writeEgressAllowlist
149
- } from "../chunk-N7Z6UOKY.js";
149
+ } from "../chunk-EFIXTBUQ.js";
150
150
  import {
151
151
  reapOrphanChannelMcps
152
152
  } from "../chunk-XWVM4KPK.js";
@@ -9071,7 +9071,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
9071
9071
  var lastVersionCheckAt = 0;
9072
9072
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
9073
9073
  var lastResponsivenessProbeAt = 0;
9074
- var agtCliVersion = true ? "0.28.365" : "dev";
9074
+ var agtCliVersion = true ? "0.28.366" : "dev";
9075
9075
  function resolveBrewPath(execFileSync2) {
9076
9076
  try {
9077
9077
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -10090,7 +10090,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
10090
10090
  if (codeNames.length === 0) return;
10091
10091
  void (async () => {
10092
10092
  try {
10093
- const { collectDiagnostics } = await import("../persistent-session-I6Q65UFB.js");
10093
+ const { collectDiagnostics } = await import("../persistent-session-YMOHCLWV.js");
10094
10094
  await api.post("/host/heartbeat", {
10095
10095
  host_id: hostId,
10096
10096
  agent_diagnostics: collectDiagnostics(codeNames)
@@ -10189,7 +10189,7 @@ async function pollCycle() {
10189
10189
  }
10190
10190
  try {
10191
10191
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
10192
- const { collectDiagnostics } = await import("../persistent-session-I6Q65UFB.js");
10192
+ const { collectDiagnostics } = await import("../persistent-session-YMOHCLWV.js");
10193
10193
  const diagCodeNames = [...agentState.persistentSessionAgents];
10194
10194
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
10195
10195
  let tailscaleHostname;
@@ -10344,7 +10344,7 @@ async function pollCycle() {
10344
10344
  const {
10345
10345
  collectResponsivenessProbes,
10346
10346
  getResponsivenessIntervalMs
10347
- } = await import("../responsiveness-probe-HGOK7WY5.js");
10347
+ } = await import("../responsiveness-probe-WATZJVZU.js");
10348
10348
  const probeIntervalMs = getResponsivenessIntervalMs();
10349
10349
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
10350
10350
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -10376,7 +10376,7 @@ async function pollCycle() {
10376
10376
  collectResponsivenessProbes,
10377
10377
  livePendingInboundOldestAgeSeconds,
10378
10378
  parkPendingInbound
10379
- } = await import("../responsiveness-probe-HGOK7WY5.js");
10379
+ } = await import("../responsiveness-probe-WATZJVZU.js");
10380
10380
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-HYOOQV4A.js");
10381
10381
  const wedgeNow = /* @__PURE__ */ new Date();
10382
10382
  const liveAgents = agentState.persistentSessionAgents;
@@ -13531,7 +13531,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
13531
13531
  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}`));
13532
13532
  void (async () => {
13533
13533
  try {
13534
- const { collectDiagnostics } = await import("../persistent-session-I6Q65UFB.js");
13534
+ const { collectDiagnostics } = await import("../persistent-session-YMOHCLWV.js");
13535
13535
  await api.post("/host/heartbeat", {
13536
13536
  host_id: hostId,
13537
13537
  agent_diagnostics: collectDiagnostics([codeName])
@@ -13581,7 +13581,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
13581
13581
  }
13582
13582
  try {
13583
13583
  const hostId = await getHostId();
13584
- const { collectDiagnostics } = await import("../persistent-session-I6Q65UFB.js");
13584
+ const { collectDiagnostics } = await import("../persistent-session-YMOHCLWV.js");
13585
13585
  await api.post("/host/heartbeat", {
13586
13586
  host_id: hostId,
13587
13587
  agent_diagnostics: collectDiagnostics([codeName])
@@ -14079,7 +14079,7 @@ async function processClaudePairSessions(agents) {
14079
14079
  killPairSession,
14080
14080
  pairTmuxSession,
14081
14081
  finalizeClaudePairOnboarding
14082
- } = await import("../claude-pair-runtime-BUL4OURE.js");
14082
+ } = await import("../claude-pair-runtime-Y6CE4MNP.js");
14083
14083
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
14084
14084
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
14085
14085
  const killed = await killPairSession(pairTmuxSession(pairId));
@@ -33110,6 +33110,25 @@ var INTEGRATION_REGISTRY = [
33110
33110
  { event_type: "proxy_mb", unit: "MB", label: "Proxy data" },
33111
33111
  { event_type: "session_minute", unit: "minute", label: "Session time" }
33112
33112
  ]
33113
+ },
33114
+ // ENG-7961: the broker returns a session `connect_url`; the AGENT drives the
33115
+ // session with the `browse` CDP CLI over Bash (`browse open <url> --cdp
33116
+ // <connect_url>`). So the host needs the `browse` binary. The manager's
33117
+ // ensureToolkitCli installs it (npm) when a browserbase integration is
33118
+ // present for the agent - and it is ALSO baked into the agt-runtime image
33119
+ // (Docker-isolated agents don't get host installs mounted in), exactly like
33120
+ // the `gh` precedent (ENG-7662).
33121
+ //
33122
+ // browse needs NO host credential: the agent drives the broker-provisioned
33123
+ // session over `connect_url`, and the Browserbase account key stays
33124
+ // server-side (never materialized to the agent). `env_key` is a required
33125
+ // field but INERT here - auth_type 'none' means no token is ever published
33126
+ // under it (the claudecode provisioner guards on `env_key && token`).
33127
+ cli_tool: {
33128
+ package: "browse",
33129
+ binary: "browse",
33130
+ env_key: "BROWSERBASE_UNUSED",
33131
+ installer: "npm"
33113
33132
  }
33114
33133
  },
33115
33134
  {
@@ -38909,6 +38909,25 @@ var INTEGRATION_REGISTRY = [
38909
38909
  { event_type: "proxy_mb", unit: "MB", label: "Proxy data" },
38910
38910
  { event_type: "session_minute", unit: "minute", label: "Session time" }
38911
38911
  ]
38912
+ },
38913
+ // ENG-7961: the broker returns a session `connect_url`; the AGENT drives the
38914
+ // session with the `browse` CDP CLI over Bash (`browse open <url> --cdp
38915
+ // <connect_url>`). So the host needs the `browse` binary. The manager's
38916
+ // ensureToolkitCli installs it (npm) when a browserbase integration is
38917
+ // present for the agent - and it is ALSO baked into the agt-runtime image
38918
+ // (Docker-isolated agents don't get host installs mounted in), exactly like
38919
+ // the `gh` precedent (ENG-7662).
38920
+ //
38921
+ // browse needs NO host credential: the agent drives the broker-provisioned
38922
+ // session over `connect_url`, and the Browserbase account key stays
38923
+ // server-side (never materialized to the agent). `env_key` is a required
38924
+ // field but INERT here - auth_type 'none' means no token is ever published
38925
+ // under it (the claudecode provisioner guards on `env_key && token`).
38926
+ cli_tool: {
38927
+ package: "browse",
38928
+ binary: "browse",
38929
+ env_key: "BROWSERBASE_UNUSED",
38930
+ installer: "npm"
38912
38931
  }
38913
38932
  },
38914
38933
  {
@@ -32792,6 +32792,25 @@ var INTEGRATION_REGISTRY = [
32792
32792
  { event_type: "proxy_mb", unit: "MB", label: "Proxy data" },
32793
32793
  { event_type: "session_minute", unit: "minute", label: "Session time" }
32794
32794
  ]
32795
+ },
32796
+ // ENG-7961: the broker returns a session `connect_url`; the AGENT drives the
32797
+ // session with the `browse` CDP CLI over Bash (`browse open <url> --cdp
32798
+ // <connect_url>`). So the host needs the `browse` binary. The manager's
32799
+ // ensureToolkitCli installs it (npm) when a browserbase integration is
32800
+ // present for the agent - and it is ALSO baked into the agt-runtime image
32801
+ // (Docker-isolated agents don't get host installs mounted in), exactly like
32802
+ // the `gh` precedent (ENG-7662).
32803
+ //
32804
+ // browse needs NO host credential: the agent drives the broker-provisioned
32805
+ // session over `connect_url`, and the Browserbase account key stays
32806
+ // server-side (never materialized to the agent). `env_key` is a required
32807
+ // field but INERT here - auth_type 'none' means no token is ever published
32808
+ // under it (the claudecode provisioner guards on `env_key && token`).
32809
+ cli_tool: {
32810
+ package: "browse",
32811
+ binary: "browse",
32812
+ env_key: "BROWSERBASE_UNUSED",
32813
+ installer: "npm"
32795
32814
  }
32796
32815
  },
32797
32816
  {
@@ -33142,6 +33142,25 @@ var INTEGRATION_REGISTRY = [
33142
33142
  { event_type: "proxy_mb", unit: "MB", label: "Proxy data" },
33143
33143
  { event_type: "session_minute", unit: "minute", label: "Session time" }
33144
33144
  ]
33145
+ },
33146
+ // ENG-7961: the broker returns a session `connect_url`; the AGENT drives the
33147
+ // session with the `browse` CDP CLI over Bash (`browse open <url> --cdp
33148
+ // <connect_url>`). So the host needs the `browse` binary. The manager's
33149
+ // ensureToolkitCli installs it (npm) when a browserbase integration is
33150
+ // present for the agent - and it is ALSO baked into the agt-runtime image
33151
+ // (Docker-isolated agents don't get host installs mounted in), exactly like
33152
+ // the `gh` precedent (ENG-7662).
33153
+ //
33154
+ // browse needs NO host credential: the agent drives the broker-provisioned
33155
+ // session over `connect_url`, and the Browserbase account key stays
33156
+ // server-side (never materialized to the agent). `env_key` is a required
33157
+ // field but INERT here - auth_type 'none' means no token is ever published
33158
+ // under it (the claudecode provisioner guards on `env_key && token`).
33159
+ cli_tool: {
33160
+ package: "browse",
33161
+ binary: "browse",
33162
+ env_key: "BROWSERBASE_UNUSED",
33163
+ installer: "npm"
33145
33164
  }
33146
33165
  },
33147
33166
  {
@@ -36,7 +36,7 @@ import {
36
36
  writeDirectChatSessionState,
37
37
  writeEgressAllowlist,
38
38
  writePersistentClaudeWrapper
39
- } from "./chunk-N7Z6UOKY.js";
39
+ } from "./chunk-EFIXTBUQ.js";
40
40
  import "./chunk-XWVM4KPK.js";
41
41
  export {
42
42
  EGRESS_BASELINE_DOMAINS,
@@ -77,4 +77,4 @@ export {
77
77
  writeEgressAllowlist,
78
78
  writePersistentClaudeWrapper
79
79
  };
80
- //# sourceMappingURL=persistent-session-I6Q65UFB.js.map
80
+ //# sourceMappingURL=persistent-session-YMOHCLWV.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-N7Z6UOKY.js";
3
+ } from "./chunk-EFIXTBUQ.js";
4
4
  import "./chunk-XWVM4KPK.js";
5
5
 
6
6
  // src/lib/responsiveness-probe.ts
@@ -437,4 +437,4 @@ export {
437
437
  readAndResetSlackReplyBindingClassifications,
438
438
  readAndResetSlackReplyTargetClassifications
439
439
  };
440
- //# sourceMappingURL=responsiveness-probe-HGOK7WY5.js.map
440
+ //# sourceMappingURL=responsiveness-probe-WATZJVZU.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.365",
3
+ "version": "0.28.366",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {