@integrity-labs/agt-cli 0.28.1183 → 0.28.1184

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 (29) hide show
  1. package/dist/bin/agt.js +6 -6
  2. package/dist/{chunk-D4SFIYLR.js → chunk-2DWMFJEV.js} +3 -3
  3. package/dist/{chunk-44ZVQZCD.js → chunk-5L2UZW22.js} +2 -2
  4. package/dist/{chunk-VWQ4Y6AV.js → chunk-B57YZ2QD.js} +7 -3
  5. package/dist/{chunk-VWQ4Y6AV.js.map → chunk-B57YZ2QD.js.map} +1 -1
  6. package/dist/{chunk-3QZQ2QUY.js → chunk-CIZ2UI77.js} +5 -5
  7. package/dist/{chunk-6N4BQN7E.js → chunk-TGHAQABK.js} +7 -2
  8. package/dist/{chunk-6N4BQN7E.js.map → chunk-TGHAQABK.js.map} +1 -1
  9. package/dist/{claude-code-updater-RZZNG4MI.js → claude-code-updater-JYVD3MJJ.js} +3 -3
  10. package/dist/{claude-pair-runtime-N4XK2FPH.js → claude-pair-runtime-IJAQHR2V.js} +3 -3
  11. package/dist/lib/manager-worker.js +173 -99
  12. package/dist/lib/manager-worker.js.map +1 -1
  13. package/dist/mcp/direct-chat-channel.js +2 -1
  14. package/dist/mcp/index.js +2 -1
  15. package/dist/mcp/origami.js +2 -1
  16. package/dist/mcp/slack-channel.js +2 -1
  17. package/dist/mcp/telegram-channel.js +2 -1
  18. package/dist/{persistent-session-3FNAHCU3.js → persistent-session-C7632TPG.js} +4 -4
  19. package/dist/{responsiveness-probe-4Y4OUCB4.js → responsiveness-probe-NFT3GSDL.js} +4 -4
  20. package/dist/{session-auth-dead-BOVLUG7N.js → session-auth-dead-BTGGL4MA.js} +3 -3
  21. package/package.json +1 -1
  22. /package/dist/{chunk-D4SFIYLR.js.map → chunk-2DWMFJEV.js.map} +0 -0
  23. /package/dist/{chunk-44ZVQZCD.js.map → chunk-5L2UZW22.js.map} +0 -0
  24. /package/dist/{chunk-3QZQ2QUY.js.map → chunk-CIZ2UI77.js.map} +0 -0
  25. /package/dist/{claude-code-updater-RZZNG4MI.js.map → claude-code-updater-JYVD3MJJ.js.map} +0 -0
  26. /package/dist/{claude-pair-runtime-N4XK2FPH.js.map → claude-pair-runtime-IJAQHR2V.js.map} +0 -0
  27. /package/dist/{persistent-session-3FNAHCU3.js.map → persistent-session-C7632TPG.js.map} +0 -0
  28. /package/dist/{responsiveness-probe-4Y4OUCB4.js.map → responsiveness-probe-NFT3GSDL.js.map} +0 -0
  29. /package/dist/{session-auth-dead-BOVLUG7N.js.map → session-auth-dead-BTGGL4MA.js.map} +0 -0
package/dist/bin/agt.js CHANGED
@@ -40,17 +40,17 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-3QZQ2QUY.js";
43
+ } from "../chunk-CIZ2UI77.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-D4SFIYLR.js";
48
+ } from "../chunk-2DWMFJEV.js";
49
49
  import {
50
50
  markDailySessionSpawn,
51
51
  sessionFileExists,
52
52
  sessionTranscriptDir
53
- } from "../chunk-6N4BQN7E.js";
53
+ } from "../chunk-TGHAQABK.js";
54
54
  import "../chunk-OO36JBFI.js";
55
55
  import "../chunk-6HBXEJHO.js";
56
56
  import "../chunk-XWVM4KPK.js";
@@ -83,7 +83,7 @@ import {
83
83
  requiredMcpWildcard,
84
84
  resolveChannels,
85
85
  serializeManifestForSlackCli
86
- } from "../chunk-VWQ4Y6AV.js";
86
+ } from "../chunk-B57YZ2QD.js";
87
87
  import "../chunk-AIUIMEUS.js";
88
88
  import "../chunk-DGUM43GV.js";
89
89
 
@@ -5200,7 +5200,7 @@ import { execFileSync, execSync } from "child_process";
5200
5200
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
5201
5201
  import chalk17 from "chalk";
5202
5202
  import ora15 from "ora";
5203
- var cliVersion = true ? "0.28.1183" : "dev";
5203
+ var cliVersion = true ? "0.28.1184" : "dev";
5204
5204
  async function fetchLatestVersion() {
5205
5205
  const host2 = getHost();
5206
5206
  if (!host2) return null;
@@ -6460,7 +6460,7 @@ function handleError(err) {
6460
6460
  }
6461
6461
 
6462
6462
  // src/bin/agt.ts
6463
- var cliVersion2 = true ? "0.28.1183" : "dev";
6463
+ var cliVersion2 = true ? "0.28.1184" : "dev";
6464
6464
  var program = new Command();
6465
6465
  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");
6466
6466
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -4,7 +4,7 @@ import {
4
4
  rotateDailySession,
5
5
  sessionFileExists,
6
6
  todayLocalIso
7
- } from "./chunk-6N4BQN7E.js";
7
+ } from "./chunk-TGHAQABK.js";
8
8
  import {
9
9
  classifyUnanswerablePane,
10
10
  customApiKeyDialogKeys,
@@ -51,7 +51,7 @@ import {
51
51
  remoteMcpConnectionEnvInfix,
52
52
  remoteMcpConnectionLabel,
53
53
  remoteMcpConnectionScopedEnvVar
54
- } from "./chunk-VWQ4Y6AV.js";
54
+ } from "./chunk-B57YZ2QD.js";
55
55
  import {
56
56
  CLAUDE_CONFIG_DIR_ENV,
57
57
  approveApiKeyInClaudeConfig,
@@ -6172,4 +6172,4 @@ export {
6172
6172
  stopAllSessionsAndWait,
6173
6173
  getProjectDir
6174
6174
  };
6175
- //# sourceMappingURL=chunk-D4SFIYLR.js.map
6175
+ //# sourceMappingURL=chunk-2DWMFJEV.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-XWVM4KPK.js";
5
5
  import {
6
6
  FORCED_UPDATE_HARD_DEADLINE_MS
7
- } from "./chunk-VWQ4Y6AV.js";
7
+ } from "./chunk-B57YZ2QD.js";
8
8
  import {
9
9
  effectiveClaudeJsonPath
10
10
  } from "./chunk-AIUIMEUS.js";
@@ -722,4 +722,4 @@ export {
722
722
  probeClaudeInstalls,
723
723
  maybeUpdateClaudeCode
724
724
  };
725
- //# sourceMappingURL=chunk-44ZVQZCD.js.map
725
+ //# sourceMappingURL=chunk-5L2UZW22.js.map
@@ -16410,7 +16410,8 @@ var NO_TRANSCRIPT_ACTIVITY = Object.freeze({
16410
16410
  lastToolName: null,
16411
16411
  lastToolAtMs: null,
16412
16412
  lastCompletedTurnAtMs: null,
16413
- newestTurnOpen: false
16413
+ newestTurnOpen: false,
16414
+ hasTurn: false
16414
16415
  });
16415
16416
  function parseMs(value) {
16416
16417
  if (typeof value !== "string" || !value)
@@ -16440,6 +16441,7 @@ function summarizeTranscriptActivity(jsonl) {
16440
16441
  let lastToolAtMs = null;
16441
16442
  let lastCompletedTurnAtMs = null;
16442
16443
  let newestTurnOpen = false;
16444
+ let hasTurn = false;
16443
16445
  let trailingEndAtMs = null;
16444
16446
  for (const line of jsonl.split("\n")) {
16445
16447
  if (!line.trim())
@@ -16459,6 +16461,7 @@ function summarizeTranscriptActivity(jsonl) {
16459
16461
  if (record.type === "user") {
16460
16462
  if (!userRecordOpensTurn(record, message.content))
16461
16463
  continue;
16464
+ hasTurn = true;
16462
16465
  if (blocks.some((b) => b.type === "tool_result")) {
16463
16466
  newestTurnOpen = false;
16464
16467
  continue;
@@ -16468,6 +16471,7 @@ function summarizeTranscriptActivity(jsonl) {
16468
16471
  trailingEndAtMs = null;
16469
16472
  newestTurnOpen = true;
16470
16473
  } else if (record.type === "assistant") {
16474
+ hasTurn = true;
16471
16475
  if (record.isApiErrorMessage === true) {
16472
16476
  newestTurnOpen = true;
16473
16477
  trailingEndAtMs = null;
@@ -16493,7 +16497,7 @@ function summarizeTranscriptActivity(jsonl) {
16493
16497
  }
16494
16498
  if (trailingEndAtMs !== null)
16495
16499
  lastCompletedTurnAtMs = trailingEndAtMs;
16496
- return { lastToolName, lastToolAtMs, lastCompletedTurnAtMs, newestTurnOpen };
16500
+ return { lastToolName, lastToolAtMs, lastCompletedTurnAtMs, newestTurnOpen, hasTurn };
16497
16501
  }
16498
16502
  var OPEN_TURN_QUIET_MS = 12e4;
16499
16503
  function resolveSessionActivityState(args) {
@@ -17555,4 +17559,4 @@ export {
17555
17559
  isForcedUpdatePastDeadline,
17556
17560
  shouldMintReplacementKey
17557
17561
  };
17558
- //# sourceMappingURL=chunk-VWQ4Y6AV.js.map
17562
+ //# sourceMappingURL=chunk-B57YZ2QD.js.map