@integrity-labs/agt-cli 0.28.1226 → 0.28.1228

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-GBPHP6FI.js → chunk-7AVP3CLB.js} +2 -2
  3. package/dist/{chunk-XF6SM5RR.js → chunk-BBAKZGD6.js} +3 -3
  4. package/dist/{chunk-SIVBDXES.js → chunk-NRMWHCEU.js} +5 -5
  5. package/dist/{chunk-DKTSGG7Q.js → chunk-OM23HRMM.js} +8 -1
  6. package/dist/{chunk-DKTSGG7Q.js.map → chunk-OM23HRMM.js.map} +1 -1
  7. package/dist/{chunk-M53VVKTM.js → chunk-Y73Z2FGC.js} +2 -2
  8. package/dist/{claude-code-updater-QFDDREKD.js → claude-code-updater-VMUFBXVY.js} +3 -3
  9. package/dist/{claude-pair-runtime-3YHQHU45.js → claude-pair-runtime-FDHPZOJD.js} +3 -3
  10. package/dist/lib/manager-worker.js +33 -22
  11. package/dist/lib/manager-worker.js.map +1 -1
  12. package/dist/mcp/direct-chat-channel.js +7 -0
  13. package/dist/mcp/index.js +9 -3
  14. package/dist/mcp/origami.js +7 -0
  15. package/dist/mcp/slack-channel.js +7 -0
  16. package/dist/mcp/telegram-channel.js +7 -0
  17. package/dist/{persistent-session-DBAPNU35.js → persistent-session-6CMF6GBZ.js} +4 -4
  18. package/dist/{responsiveness-probe-6S34EWLC.js → responsiveness-probe-PL3EBAYF.js} +4 -4
  19. package/dist/{session-auth-dead-TDTU2CHO.js → session-auth-dead-I36UILMA.js} +3 -3
  20. package/package.json +1 -1
  21. /package/dist/{chunk-GBPHP6FI.js.map → chunk-7AVP3CLB.js.map} +0 -0
  22. /package/dist/{chunk-XF6SM5RR.js.map → chunk-BBAKZGD6.js.map} +0 -0
  23. /package/dist/{chunk-SIVBDXES.js.map → chunk-NRMWHCEU.js.map} +0 -0
  24. /package/dist/{chunk-M53VVKTM.js.map → chunk-Y73Z2FGC.js.map} +0 -0
  25. /package/dist/{claude-code-updater-QFDDREKD.js.map → claude-code-updater-VMUFBXVY.js.map} +0 -0
  26. /package/dist/{claude-pair-runtime-3YHQHU45.js.map → claude-pair-runtime-FDHPZOJD.js.map} +0 -0
  27. /package/dist/{persistent-session-DBAPNU35.js.map → persistent-session-6CMF6GBZ.js.map} +0 -0
  28. /package/dist/{responsiveness-probe-6S34EWLC.js.map → responsiveness-probe-PL3EBAYF.js.map} +0 -0
  29. /package/dist/{session-auth-dead-TDTU2CHO.js.map → session-auth-dead-I36UILMA.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-SIVBDXES.js";
43
+ } from "../chunk-NRMWHCEU.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-XF6SM5RR.js";
48
+ } from "../chunk-BBAKZGD6.js";
49
49
  import {
50
50
  markDailySessionSpawn,
51
51
  sessionFileExists,
52
52
  sessionTranscriptDir
53
- } from "../chunk-GBPHP6FI.js";
53
+ } from "../chunk-7AVP3CLB.js";
54
54
  import "../chunk-HYQ7VOC3.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-DKTSGG7Q.js";
86
+ } from "../chunk-OM23HRMM.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.1226" : "dev";
5203
+ var cliVersion = true ? "0.28.1228" : "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.1226" : "dev";
6463
+ var cliVersion2 = true ? "0.28.1228" : "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) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  encodeClaudeProjectPath
3
- } from "./chunk-DKTSGG7Q.js";
3
+ } from "./chunk-OM23HRMM.js";
4
4
 
5
5
  // src/lib/daily-session.ts
6
6
  import { randomUUID } from "crypto";
@@ -244,4 +244,4 @@ export {
244
244
  peekPreviousSession,
245
245
  readDailySessionPin
246
246
  };
247
- //# sourceMappingURL=chunk-GBPHP6FI.js.map
247
+ //# sourceMappingURL=chunk-7AVP3CLB.js.map
@@ -4,7 +4,7 @@ import {
4
4
  rotateDailySession,
5
5
  sessionFileExists,
6
6
  todayLocalIso
7
- } from "./chunk-GBPHP6FI.js";
7
+ } from "./chunk-7AVP3CLB.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-DKTSGG7Q.js";
54
+ } from "./chunk-OM23HRMM.js";
55
55
  import {
56
56
  CLAUDE_CONFIG_DIR_ENV,
57
57
  approveApiKeyInClaudeConfig,
@@ -6182,4 +6182,4 @@ export {
6182
6182
  stopAllSessionsAndWait,
6183
6183
  getProjectDir
6184
6184
  };
6185
- //# sourceMappingURL=chunk-XF6SM5RR.js.map
6185
+ //# sourceMappingURL=chunk-BBAKZGD6.js.map
@@ -16,11 +16,11 @@ import {
16
16
  parseEnvFileEntries,
17
17
  parseEnvIntegrations,
18
18
  shellQuote
19
- } from "./chunk-XF6SM5RR.js";
19
+ } from "./chunk-BBAKZGD6.js";
20
20
  import {
21
21
  readDailySessionPin,
22
22
  sessionTranscriptDir
23
- } from "./chunk-GBPHP6FI.js";
23
+ } from "./chunk-7AVP3CLB.js";
24
24
  import {
25
25
  classifyUnanswerablePane,
26
26
  isConsumerTermsDialogVisible,
@@ -93,7 +93,7 @@ import {
93
93
  scanConfigForLiteralSecrets,
94
94
  worseConnectivityOutcome,
95
95
  wrapScheduledTaskPrompt
96
- } from "./chunk-DKTSGG7Q.js";
96
+ } from "./chunk-OM23HRMM.js";
97
97
  import {
98
98
  claudeJsonPathFor,
99
99
  effectiveClaudeJsonPath,
@@ -8084,7 +8084,7 @@ function exchangeFailureKind(err) {
8084
8084
  }
8085
8085
 
8086
8086
  // src/lib/api-client.ts
8087
- var agtCliVersion = true ? "0.28.1226" : "dev";
8087
+ var agtCliVersion = true ? "0.28.1228" : "dev";
8088
8088
  var lastConfigHash = null;
8089
8089
  function setConfigHash(hash) {
8090
8090
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -13724,4 +13724,4 @@ export {
13724
13724
  managerInstallSystemUnitCommand,
13725
13725
  managerUninstallSystemUnitCommand
13726
13726
  };
13727
- //# sourceMappingURL=chunk-SIVBDXES.js.map
13727
+ //# sourceMappingURL=chunk-NRMWHCEU.js.map
@@ -7388,6 +7388,13 @@ var FLAG_REGISTRY = [
7388
7388
  // to migrate (ADR-0022).
7389
7389
  defaultValue: false
7390
7390
  },
7391
+ {
7392
+ key: "kanban-reaper-linked-ticket-close",
7393
+ description: "ENG-10546: before the waiting backstop parks a 7-day-old card in needs_attention, read its linked ticket through the card's own team connection. OFF (default) = shadow: the read runs and logs would_close, and every card parks exactly as before. ON = a card whose Linear ticket was COMPLETED after the card was created, with no open or abandoned closing PR, is closed as done instead of parked. A cancelled ticket, a card waiting on a PR or an approval, a non-Linear source, and any card whose ticket cannot be read always park as before. Evaluated as a global stage value by the kanban-stale-item-reaper cron.",
7394
+ flagType: "boolean",
7395
+ // Safe value `false` = shadow, never close. A flag-DB error degrades here too.
7396
+ defaultValue: false
7397
+ },
7391
7398
  {
7392
7399
  key: "kanban-nudge-before-reap",
7393
7400
  description: "Ask a quiet agent before reaping its card (ENG-8906). The kanban stale-reaper decides an in_progress card is dead from silence on a clock, and silence is identical for a BUSY agent and a WEDGED one - ENG-8669 was parked as stalled while its agent was healthily blocked on CI polls and a 15-20 minute SST deploy. When ON, a card that passes the quiet threshold gets up to MAX_KANBAN_NUDGES (2) targeted direct-chat nudges over the existing ENG-4892 probe rail before any verdict is taken; the card is only reaped if it is still not renewed. Renewal must come from a kanban_progress call that moves lease_expires_at - a chat reply proves the session is responsive, not that the agent still holds the card, so answering in chat alone does NOT save it. Metered / OpenRouter agents are never nudged unless synthetic-probe-on-metered-hosts is also ON (ENG-7235: a nudge there is real customer spend), and keep the passive clock path. When OFF (default) the sweep is byte-identical to its pre-ENG-8906 behaviour. Evaluated as a global stage value by the kanban-stale-item-reaper cron. Boolean gate; ships dark.",
@@ -18017,4 +18024,4 @@ export {
18017
18024
  HOST_ROTATE_KEY_CONFLICT,
18018
18025
  shouldMintReplacementKey
18019
18026
  };
18020
- //# sourceMappingURL=chunk-DKTSGG7Q.js.map
18027
+ //# sourceMappingURL=chunk-OM23HRMM.js.map