@integrity-labs/agt-cli 0.28.1318 → 0.28.1320

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.
Files changed (34) hide show
  1. package/dist/{api-client-2MEHL5RP.js → api-client-ZCSKN3SJ.js} +3 -3
  2. package/dist/bin/agt.js +7 -7
  3. package/dist/{chunk-AABYEBCU.js → chunk-2F4EHNRQ.js} +10 -6
  4. package/dist/chunk-2F4EHNRQ.js.map +1 -0
  5. package/dist/{chunk-4ATDVGN4.js → chunk-BMHXW6TG.js} +2 -2
  6. package/dist/{chunk-U6WANH5Z.js → chunk-HGLJ2T4J.js} +2 -1
  7. package/dist/{chunk-U6WANH5Z.js.map → chunk-HGLJ2T4J.js.map} +1 -1
  8. package/dist/{chunk-K4HGH6N2.js → chunk-PKE4GUZQ.js} +2 -2
  9. package/dist/{chunk-2FY3WW6O.js → chunk-ZA34ZZCC.js} +3 -3
  10. package/dist/{chunk-KJNJNMRY.js → chunk-ZDO57BCK.js} +5 -5
  11. package/dist/{claude-code-updater-BIBCDTQX.js → claude-code-updater-E5QX33MA.js} +3 -3
  12. package/dist/{claude-pair-runtime-OR72T4SI.js → claude-pair-runtime-5EGI66ET.js} +3 -3
  13. package/dist/lib/manager-worker.js +445 -218
  14. package/dist/lib/manager-worker.js.map +1 -1
  15. package/dist/mcp/direct-chat-channel.js +1 -0
  16. package/dist/mcp/index.js +1 -0
  17. package/dist/mcp/origami.js +1 -0
  18. package/dist/mcp/slack-channel.js +1 -0
  19. package/dist/mcp/telegram-channel.js +1 -0
  20. package/dist/{persistent-session-PZI32TLO.js → persistent-session-XFZ43IDB.js} +4 -4
  21. package/dist/{responsiveness-probe-MJOASK7A.js → responsiveness-probe-EJJNNPNB.js} +4 -4
  22. package/dist/{session-auth-dead-KYFRPM4G.js → session-auth-dead-EIVQKX5X.js} +3 -3
  23. package/package.json +1 -1
  24. package/dist/chunk-AABYEBCU.js.map +0 -1
  25. /package/dist/{api-client-2MEHL5RP.js.map → api-client-ZCSKN3SJ.js.map} +0 -0
  26. /package/dist/{chunk-4ATDVGN4.js.map → chunk-BMHXW6TG.js.map} +0 -0
  27. /package/dist/{chunk-K4HGH6N2.js.map → chunk-PKE4GUZQ.js.map} +0 -0
  28. /package/dist/{chunk-2FY3WW6O.js.map → chunk-ZA34ZZCC.js.map} +0 -0
  29. /package/dist/{chunk-KJNJNMRY.js.map → chunk-ZDO57BCK.js.map} +0 -0
  30. /package/dist/{claude-code-updater-BIBCDTQX.js.map → claude-code-updater-E5QX33MA.js.map} +0 -0
  31. /package/dist/{claude-pair-runtime-OR72T4SI.js.map → claude-pair-runtime-5EGI66ET.js.map} +0 -0
  32. /package/dist/{persistent-session-PZI32TLO.js.map → persistent-session-XFZ43IDB.js.map} +0 -0
  33. /package/dist/{responsiveness-probe-MJOASK7A.js.map → responsiveness-probe-EJJNNPNB.js.map} +0 -0
  34. /package/dist/{session-auth-dead-KYFRPM4G.js.map → session-auth-dead-EIVQKX5X.js.map} +0 -0
@@ -15,8 +15,8 @@ import {
15
15
  mintRotatedHostKey,
16
16
  probeHostKey,
17
17
  setConfigHash
18
- } from "./chunk-2FY3WW6O.js";
19
- import "./chunk-U6WANH5Z.js";
18
+ } from "./chunk-ZA34ZZCC.js";
19
+ import "./chunk-HGLJ2T4J.js";
20
20
  import "./chunk-DGUM43GV.js";
21
21
  export {
22
22
  ApiError,
@@ -36,4 +36,4 @@ export {
36
36
  probeHostKey,
37
37
  setConfigHash
38
38
  };
39
- //# sourceMappingURL=api-client-2MEHL5RP.js.map
39
+ //# sourceMappingURL=api-client-ZCSKN3SJ.js.map
package/dist/bin/agt.js CHANGED
@@ -31,7 +31,7 @@ import {
31
31
  success,
32
32
  table,
33
33
  warn
34
- } from "../chunk-KJNJNMRY.js";
34
+ } from "../chunk-ZDO57BCK.js";
35
35
  import {
36
36
  ApiError,
37
37
  PROD_AGT_HOST,
@@ -42,17 +42,17 @@ import {
42
42
  getHost,
43
43
  getHostId,
44
44
  setActiveTeam
45
- } from "../chunk-2FY3WW6O.js";
45
+ } from "../chunk-ZA34ZZCC.js";
46
46
  import {
47
47
  getProjectDir,
48
48
  isSessionResumeDisabled,
49
49
  readDirectChatSessionState
50
- } from "../chunk-AABYEBCU.js";
50
+ } from "../chunk-2F4EHNRQ.js";
51
51
  import {
52
52
  markDailySessionSpawn,
53
53
  sessionFileExists,
54
54
  sessionTranscriptDir
55
- } from "../chunk-4ATDVGN4.js";
55
+ } from "../chunk-BMHXW6TG.js";
56
56
  import "../chunk-XL2HPM67.js";
57
57
  import "../chunk-6HBXEJHO.js";
58
58
  import "../chunk-XWVM4KPK.js";
@@ -85,7 +85,7 @@ import {
85
85
  requiredMcpWildcard,
86
86
  resolveChannels,
87
87
  serializeManifestForSlackCli
88
- } from "../chunk-U6WANH5Z.js";
88
+ } from "../chunk-HGLJ2T4J.js";
89
89
  import "../chunk-AIUIMEUS.js";
90
90
  import "../chunk-DGUM43GV.js";
91
91
 
@@ -5207,7 +5207,7 @@ import { execFileSync, execSync } from "child_process";
5207
5207
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
5208
5208
  import chalk17 from "chalk";
5209
5209
  import ora15 from "ora";
5210
- var cliVersion = true ? "0.28.1318" : "dev";
5210
+ var cliVersion = true ? "0.28.1320" : "dev";
5211
5211
  async function fetchLatestVersion() {
5212
5212
  const host2 = getHost();
5213
5213
  if (!host2) return null;
@@ -6467,7 +6467,7 @@ function handleError(err) {
6467
6467
  }
6468
6468
 
6469
6469
  // src/bin/agt.ts
6470
- var cliVersion2 = true ? "0.28.1318" : "dev";
6470
+ var cliVersion2 = true ? "0.28.1320" : "dev";
6471
6471
  var program = new Command();
6472
6472
  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");
6473
6473
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -4,7 +4,7 @@ import {
4
4
  rotateDailySession,
5
5
  sessionFileExists,
6
6
  todayLocalIso
7
- } from "./chunk-4ATDVGN4.js";
7
+ } from "./chunk-BMHXW6TG.js";
8
8
  import {
9
9
  classifyUnanswerablePane,
10
10
  customApiKeyDialogKeys,
@@ -56,7 +56,7 @@ import {
56
56
  remoteMcpConnectionEnvInfix,
57
57
  remoteMcpConnectionLabel,
58
58
  remoteMcpConnectionScopedEnvVar
59
- } from "./chunk-U6WANH5Z.js";
59
+ } from "./chunk-HGLJ2T4J.js";
60
60
  import {
61
61
  CLAUDE_CONFIG_DIR_ENV,
62
62
  approveApiKeyInClaudeConfig,
@@ -5785,7 +5785,7 @@ function spawnSession(config, session) {
5785
5785
  if (reason === SPAWN_LAUNCH_FENCED) {
5786
5786
  markLaunchFenced(session);
5787
5787
  log2(
5788
- `[persistent-session] launch for '${codeName}' refused by its launch fence (its single-start grant lapsed during the bootstrap): not starting it [ENG-12290]`
5788
+ `[persistent-session] launch for '${codeName}' refused by its launch fence during the bootstrap (the cancelled run record carries the reason): not starting it [ENG-12290, ENG-12379]`
5789
5789
  );
5790
5790
  config.onLaunchFenced?.();
5791
5791
  return;
@@ -6421,7 +6421,7 @@ function nextObservation() {
6421
6421
  observationSeq += 1;
6422
6422
  return { bootEpoch: OBSERVATION_BOOT_EPOCH, seq: observationSeq };
6423
6423
  }
6424
- function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeFor, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor) {
6424
+ function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeFor, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor, diskFor) {
6425
6425
  const rows = codeNames.map((codeName) => {
6426
6426
  const quarantinedChannels = quarantineEntriesFor?.(codeName) ?? [];
6427
6427
  const spawnOutcome = spawnOutcomeFor?.(codeName);
@@ -6471,6 +6471,8 @@ function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, sp
6471
6471
  // ENG-10857: carried on BOTH return paths, for the reason stated just above.
6472
6472
  // An opencode agent in a container runs a baked binary too.
6473
6473
  ...runtimeVersion ? { runtimeVersion } : {},
6474
+ // ENG-12338: on both return paths (the divergence class above).
6475
+ disk: diskFor?.(codeName) ?? null,
6474
6476
  ...turn ? {
6475
6477
  turnHealth: {
6476
6478
  lastOutcome: turn.lastOutcome,
@@ -6554,7 +6556,9 @@ function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, sp
6554
6556
  sessionActivity: sessionActivityFor?.(codeName, { tmuxAlive, screenCapture }) ?? null,
6555
6557
  // ENG-10857: carried on BOTH return paths, for the reason stated just above.
6556
6558
  // An opencode agent in a container runs a baked binary too.
6557
- ...runtimeVersion ? { runtimeVersion } : {}
6559
+ ...runtimeVersion ? { runtimeVersion } : {},
6560
+ // ENG-12338: on both return paths.
6561
+ disk: diskFor?.(codeName) ?? null
6558
6562
  };
6559
6563
  });
6560
6564
  return rows.map((row) => ({ ...row, observedAt: nextObservation() }));
@@ -6761,4 +6765,4 @@ export {
6761
6765
  stopAllSessionsAndWait,
6762
6766
  getProjectDir
6763
6767
  };
6764
- //# sourceMappingURL=chunk-AABYEBCU.js.map
6768
+ //# sourceMappingURL=chunk-2F4EHNRQ.js.map