@integrity-labs/agt-cli 0.28.704 → 0.28.706

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.
package/dist/bin/agt.js CHANGED
@@ -40,10 +40,10 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-PNZFQ6VY.js";
43
+ } from "../chunk-XS5RWL77.js";
44
44
  import {
45
45
  readDirectChatSessionState
46
- } from "../chunk-HTCZ2KIY.js";
46
+ } from "../chunk-326G325O.js";
47
47
  import {
48
48
  AnchorSessionClient,
49
49
  CHANNEL_REGISTRY,
@@ -73,7 +73,7 @@ import {
73
73
  requiredMcpWildcard,
74
74
  resolveChannels,
75
75
  serializeManifestForSlackCli
76
- } from "../chunk-HX6FY7NG.js";
76
+ } from "../chunk-QRGNDW6C.js";
77
77
  import "../chunk-XWVM4KPK.js";
78
78
 
79
79
  // src/bin/agt.ts
@@ -4909,7 +4909,7 @@ import { execFileSync, execSync } from "child_process";
4909
4909
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4910
4910
  import chalk18 from "chalk";
4911
4911
  import ora16 from "ora";
4912
- var cliVersion = true ? "0.28.704" : "dev";
4912
+ var cliVersion = true ? "0.28.706" : "dev";
4913
4913
  async function fetchLatestVersion() {
4914
4914
  const host2 = getHost();
4915
4915
  if (!host2) return null;
@@ -6089,7 +6089,7 @@ function handleError(err) {
6089
6089
  }
6090
6090
 
6091
6091
  // src/bin/agt.ts
6092
- var cliVersion2 = true ? "0.28.704" : "dev";
6092
+ var cliVersion2 = true ? "0.28.706" : "dev";
6093
6093
  var program = new Command();
6094
6094
  program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
6095
6095
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -17,7 +17,7 @@ import {
17
17
  rotateDailySession,
18
18
  sessionFileExists,
19
19
  todayLocalIso
20
- } from "./chunk-HX6FY7NG.js";
20
+ } from "./chunk-QRGNDW6C.js";
21
21
  import {
22
22
  reapOrphanChannelMcps
23
23
  } from "./chunk-XWVM4KPK.js";
@@ -4304,11 +4304,12 @@ function resetRestartCount(codeName) {
4304
4304
  const session = sessions2.get(codeName);
4305
4305
  if (session) session.restartCount = 0;
4306
4306
  }
4307
- function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeFor, pidPressureFor) {
4307
+ function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeFor, pidPressureFor, forwardedToolsFor) {
4308
4308
  return codeNames.map((codeName) => {
4309
4309
  const quarantinedChannels = quarantineEntriesFor?.(codeName) ?? [];
4310
4310
  const spawnOutcome = spawnOutcomeFor?.(codeName);
4311
4311
  const pidPressure = pidPressureFor?.(codeName) ?? null;
4312
+ const forwardedTools = forwardedToolsFor?.(codeName) ?? null;
4312
4313
  const oc = getOpencodeSessionState(codeName);
4313
4314
  if (oc) {
4314
4315
  const serveAlive = isOpencodeSessionHealthy(codeName);
@@ -4344,6 +4345,11 @@ function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, sp
4344
4345
  // opencode" would bake in an answer that goes stale the day the
4345
4346
  // opencode path gets its own container.
4346
4347
  pidPressure,
4348
+ // ENG-9477: carried here too. An opencode agent runs the same
4349
+ // `augmented` MCP server and forwards the same API tools, so hardcoding
4350
+ // null would blind exactly the agents nobody is watching. If the file is
4351
+ // absent the accessor already returns null.
4352
+ forwardedTools,
4347
4353
  ...turn ? {
4348
4354
  turnHealth: {
4349
4355
  lastOutcome: turn.lastOutcome,
@@ -4420,7 +4426,10 @@ function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, sp
4420
4426
  // this card is about.
4421
4427
  spawnOutcome,
4422
4428
  claudeMd,
4423
- pidPressure
4429
+ pidPressure,
4430
+ // ENG-9477: both return paths carry it. A field on only one of them is the
4431
+ // divergence class this file already learned from twice (ENG-7188, ENG-8876).
4432
+ forwardedTools
4424
4433
  };
4425
4434
  });
4426
4435
  }
@@ -4531,4 +4540,4 @@ export {
4531
4540
  stopAllSessionsAndWait,
4532
4541
  getProjectDir
4533
4542
  };
4534
- //# sourceMappingURL=chunk-HTCZ2KIY.js.map
4543
+ //# sourceMappingURL=chunk-326G325O.js.map