@integrity-labs/agt-cli 0.28.1182 → 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 (30) hide show
  1. package/dist/bin/agt.js +6 -6
  2. package/dist/{chunk-B4Y5MJHG.js → chunk-2DWMFJEV.js} +3 -3
  3. package/dist/{chunk-UAGBLWU2.js → chunk-5L2UZW22.js} +2 -2
  4. package/dist/{chunk-475LAYAZ.js → chunk-B57YZ2QD.js} +9 -3
  5. package/dist/chunk-B57YZ2QD.js.map +1 -0
  6. package/dist/{chunk-OHGGDZVQ.js → chunk-CIZ2UI77.js} +5 -5
  7. package/dist/{chunk-AR72EF4W.js → chunk-TGHAQABK.js} +7 -2
  8. package/dist/{chunk-AR72EF4W.js.map → chunk-TGHAQABK.js.map} +1 -1
  9. package/dist/{claude-code-updater-ZKXTHHWL.js → claude-code-updater-JYVD3MJJ.js} +3 -3
  10. package/dist/{claude-pair-runtime-YL5FVVDV.js → claude-pair-runtime-IJAQHR2V.js} +3 -3
  11. package/dist/lib/manager-worker.js +179 -100
  12. package/dist/lib/manager-worker.js.map +1 -1
  13. package/dist/mcp/direct-chat-channel.js +5 -1
  14. package/dist/mcp/index.js +88 -1
  15. package/dist/mcp/origami.js +4 -1
  16. package/dist/mcp/slack-channel.js +5 -1
  17. package/dist/mcp/telegram-channel.js +5 -1
  18. package/dist/{persistent-session-KCVIJ5R7.js → persistent-session-C7632TPG.js} +4 -4
  19. package/dist/{responsiveness-probe-GLNAS7ZG.js → responsiveness-probe-NFT3GSDL.js} +4 -4
  20. package/dist/{session-auth-dead-5KYOFOTM.js → session-auth-dead-BTGGL4MA.js} +3 -3
  21. package/package.json +1 -1
  22. package/dist/chunk-475LAYAZ.js.map +0 -1
  23. /package/dist/{chunk-B4Y5MJHG.js.map → chunk-2DWMFJEV.js.map} +0 -0
  24. /package/dist/{chunk-UAGBLWU2.js.map → chunk-5L2UZW22.js.map} +0 -0
  25. /package/dist/{chunk-OHGGDZVQ.js.map → chunk-CIZ2UI77.js.map} +0 -0
  26. /package/dist/{claude-code-updater-ZKXTHHWL.js.map → claude-code-updater-JYVD3MJJ.js.map} +0 -0
  27. /package/dist/{claude-pair-runtime-YL5FVVDV.js.map → claude-pair-runtime-IJAQHR2V.js.map} +0 -0
  28. /package/dist/{persistent-session-KCVIJ5R7.js.map → persistent-session-C7632TPG.js.map} +0 -0
  29. /package/dist/{responsiveness-probe-GLNAS7ZG.js.map → responsiveness-probe-NFT3GSDL.js.map} +0 -0
  30. /package/dist/{session-auth-dead-5KYOFOTM.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-OHGGDZVQ.js";
43
+ } from "../chunk-CIZ2UI77.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-B4Y5MJHG.js";
48
+ } from "../chunk-2DWMFJEV.js";
49
49
  import {
50
50
  markDailySessionSpawn,
51
51
  sessionFileExists,
52
52
  sessionTranscriptDir
53
- } from "../chunk-AR72EF4W.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-475LAYAZ.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.1182" : "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.1182" : "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-AR72EF4W.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-475LAYAZ.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-B4Y5MJHG.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-475LAYAZ.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-UAGBLWU2.js.map
725
+ //# sourceMappingURL=chunk-5L2UZW22.js.map
@@ -5454,6 +5454,8 @@ var NOTICE_KIND_AUDIENCE = {
5454
5454
  live_advisor_session_close: "agent",
5455
5455
  // The assigner reopened a card and the agent must work it again.
5456
5456
  assigner_reopen: "agent",
5457
+ // ENG-11732: second person, to the agent whose card a manager changed, with a raw card id.
5458
+ manager_action: "agent",
5457
5459
  // An inbound trigger event delivered onto the rail for the agent to handle.
5458
5460
  // Named `trigger_event` by `triggerDeliveryPayload` — NOT `trigger_delivery`,
5459
5461
  // which is what the producing module is called. Read from the builder.
@@ -16408,7 +16410,8 @@ var NO_TRANSCRIPT_ACTIVITY = Object.freeze({
16408
16410
  lastToolName: null,
16409
16411
  lastToolAtMs: null,
16410
16412
  lastCompletedTurnAtMs: null,
16411
- newestTurnOpen: false
16413
+ newestTurnOpen: false,
16414
+ hasTurn: false
16412
16415
  });
16413
16416
  function parseMs(value) {
16414
16417
  if (typeof value !== "string" || !value)
@@ -16438,6 +16441,7 @@ function summarizeTranscriptActivity(jsonl) {
16438
16441
  let lastToolAtMs = null;
16439
16442
  let lastCompletedTurnAtMs = null;
16440
16443
  let newestTurnOpen = false;
16444
+ let hasTurn = false;
16441
16445
  let trailingEndAtMs = null;
16442
16446
  for (const line of jsonl.split("\n")) {
16443
16447
  if (!line.trim())
@@ -16457,6 +16461,7 @@ function summarizeTranscriptActivity(jsonl) {
16457
16461
  if (record.type === "user") {
16458
16462
  if (!userRecordOpensTurn(record, message.content))
16459
16463
  continue;
16464
+ hasTurn = true;
16460
16465
  if (blocks.some((b) => b.type === "tool_result")) {
16461
16466
  newestTurnOpen = false;
16462
16467
  continue;
@@ -16466,6 +16471,7 @@ function summarizeTranscriptActivity(jsonl) {
16466
16471
  trailingEndAtMs = null;
16467
16472
  newestTurnOpen = true;
16468
16473
  } else if (record.type === "assistant") {
16474
+ hasTurn = true;
16469
16475
  if (record.isApiErrorMessage === true) {
16470
16476
  newestTurnOpen = true;
16471
16477
  trailingEndAtMs = null;
@@ -16491,7 +16497,7 @@ function summarizeTranscriptActivity(jsonl) {
16491
16497
  }
16492
16498
  if (trailingEndAtMs !== null)
16493
16499
  lastCompletedTurnAtMs = trailingEndAtMs;
16494
- return { lastToolName, lastToolAtMs, lastCompletedTurnAtMs, newestTurnOpen };
16500
+ return { lastToolName, lastToolAtMs, lastCompletedTurnAtMs, newestTurnOpen, hasTurn };
16495
16501
  }
16496
16502
  var OPEN_TURN_QUIET_MS = 12e4;
16497
16503
  function resolveSessionActivityState(args) {
@@ -17553,4 +17559,4 @@ export {
17553
17559
  isForcedUpdatePastDeadline,
17554
17560
  shouldMintReplacementKey
17555
17561
  };
17556
- //# sourceMappingURL=chunk-475LAYAZ.js.map
17562
+ //# sourceMappingURL=chunk-B57YZ2QD.js.map