@integrity-labs/agt-cli 0.28.1219 → 0.28.1220

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-QGMGROLF.js → chunk-QAQIUHMS.js} +5 -5
  3. package/dist/{chunk-F5R622EX.js → chunk-QGBIF6QK.js} +3 -3
  4. package/dist/{chunk-MJXBNSJY.js → chunk-R7UGBRUR.js} +12 -1
  5. package/dist/{chunk-MJXBNSJY.js.map → chunk-R7UGBRUR.js.map} +1 -1
  6. package/dist/{chunk-QI5C2VCI.js → chunk-WXJXO5TE.js} +2 -2
  7. package/dist/{chunk-HAQXH2J4.js → chunk-YR5PKAAL.js} +2 -2
  8. package/dist/{claude-code-updater-XZTIAQQ3.js → claude-code-updater-FWBF4JTA.js} +3 -3
  9. package/dist/{claude-pair-runtime-N7TZVTF7.js → claude-pair-runtime-6BSR5RTE.js} +3 -3
  10. package/dist/lib/manager-worker.js +26 -20
  11. package/dist/lib/manager-worker.js.map +1 -1
  12. package/dist/mcp/direct-chat-channel.js +11 -0
  13. package/dist/mcp/index.js +177 -19
  14. package/dist/mcp/origami.js +11 -0
  15. package/dist/mcp/slack-channel.js +11 -0
  16. package/dist/mcp/telegram-channel.js +11 -0
  17. package/dist/{persistent-session-NQMAJQF2.js → persistent-session-YMVE4OG5.js} +4 -4
  18. package/dist/{responsiveness-probe-JGMZCQCI.js → responsiveness-probe-DD7LCTAS.js} +4 -4
  19. package/dist/{session-auth-dead-DPMMX7QL.js → session-auth-dead-QZOUWP4O.js} +3 -3
  20. package/package.json +1 -1
  21. /package/dist/{chunk-QGMGROLF.js.map → chunk-QAQIUHMS.js.map} +0 -0
  22. /package/dist/{chunk-F5R622EX.js.map → chunk-QGBIF6QK.js.map} +0 -0
  23. /package/dist/{chunk-QI5C2VCI.js.map → chunk-WXJXO5TE.js.map} +0 -0
  24. /package/dist/{chunk-HAQXH2J4.js.map → chunk-YR5PKAAL.js.map} +0 -0
  25. /package/dist/{claude-code-updater-XZTIAQQ3.js.map → claude-code-updater-FWBF4JTA.js.map} +0 -0
  26. /package/dist/{claude-pair-runtime-N7TZVTF7.js.map → claude-pair-runtime-6BSR5RTE.js.map} +0 -0
  27. /package/dist/{persistent-session-NQMAJQF2.js.map → persistent-session-YMVE4OG5.js.map} +0 -0
  28. /package/dist/{responsiveness-probe-JGMZCQCI.js.map → responsiveness-probe-DD7LCTAS.js.map} +0 -0
  29. /package/dist/{session-auth-dead-DPMMX7QL.js.map → session-auth-dead-QZOUWP4O.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-QGMGROLF.js";
43
+ } from "../chunk-QAQIUHMS.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-F5R622EX.js";
48
+ } from "../chunk-QGBIF6QK.js";
49
49
  import {
50
50
  markDailySessionSpawn,
51
51
  sessionFileExists,
52
52
  sessionTranscriptDir
53
- } from "../chunk-HAQXH2J4.js";
53
+ } from "../chunk-YR5PKAAL.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-MJXBNSJY.js";
86
+ } from "../chunk-R7UGBRUR.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.1219" : "dev";
5203
+ var cliVersion = true ? "0.28.1220" : "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.1219" : "dev";
6463
+ var cliVersion2 = true ? "0.28.1220" : "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) => {
@@ -16,11 +16,11 @@ import {
16
16
  parseEnvFileEntries,
17
17
  parseEnvIntegrations,
18
18
  shellQuote
19
- } from "./chunk-F5R622EX.js";
19
+ } from "./chunk-QGBIF6QK.js";
20
20
  import {
21
21
  readDailySessionPin,
22
22
  sessionTranscriptDir
23
- } from "./chunk-HAQXH2J4.js";
23
+ } from "./chunk-YR5PKAAL.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-MJXBNSJY.js";
96
+ } from "./chunk-R7UGBRUR.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.1219" : "dev";
8087
+ var agtCliVersion = true ? "0.28.1220" : "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-QGMGROLF.js.map
13727
+ //# sourceMappingURL=chunk-QAQIUHMS.js.map
@@ -4,7 +4,7 @@ import {
4
4
  rotateDailySession,
5
5
  sessionFileExists,
6
6
  todayLocalIso
7
- } from "./chunk-HAQXH2J4.js";
7
+ } from "./chunk-YR5PKAAL.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-MJXBNSJY.js";
54
+ } from "./chunk-R7UGBRUR.js";
55
55
  import {
56
56
  CLAUDE_CONFIG_DIR_ENV,
57
57
  approveApiKeyInClaudeConfig,
@@ -6173,4 +6173,4 @@ export {
6173
6173
  stopAllSessionsAndWait,
6174
6174
  getProjectDir
6175
6175
  };
6176
- //# sourceMappingURL=chunk-F5R622EX.js.map
6176
+ //# sourceMappingURL=chunk-QGBIF6QK.js.map
@@ -6596,6 +6596,17 @@ var FLAG_REGISTRY = [
6596
6596
  defaultValue: false,
6597
6597
  envVar: "AGT_SESSION_TOOL_PROBE_ENABLED"
6598
6598
  },
6599
+ {
6600
+ key: "mcp-tool-rediscovery",
6601
+ description: "Slow re-check of the forwarded tool list on a healthy `augmented` MCP server (ENG-11708): every 30 minutes, with jitter, per running session. It heals tools lost to a broker that failed closed, which returns an empty list and looks healthy. Adds tools only and never removes one. Boolean gate; ships dark because it adds per-session database load to every healthy session, so canary a host first. Turning it off does not stop the load from unhealthy sessions: one with a failed or partial discovery, or a tool that has not registered, retries without this flag and settles at the same 30-minute full discovery until it recovers or restarts. AGT_MCP_TOOL_REDISCOVERY_ENABLED is the highest-precedence operator override; precedence is env override > flag value > this default.",
6602
+ flagType: "boolean",
6603
+ defaultValue: false,
6604
+ envVar: "AGT_MCP_TOOL_REDISCOVERY_ENABLED",
6605
+ // DELIBERATE UNREACHABLE PLACEHOLDER, as on the entries above: the first agt-cli
6606
+ // carrying this reader is not knowable before merge, and a low guess would promise
6607
+ // reach to hosts without it. Replace with the real version once it publishes.
6608
+ since: "0.29.0"
6609
+ },
6599
6610
  {
6600
6611
  key: "session-tool-rebind",
6601
6612
  description: "Auto-rebind MCP tools that fell out of a running session (ENG-7318, ENG-7053 Slice A). When ON, the session-tool-bind probe does not just report a hard-negative verdict - the manager SIGTERMs just that integration's MCP child so Claude Code's transport respawns it (no full agent restart, conversation context preserved). Fires on `missing` (a dead stdio/proxy child - the ENG-7301/Phil case) and on `unreachable` (an alive ENG-6859 OAuth-proxy child whose upstream stopped answering tools/list after a token rotated under the live session - the ENG-7318/Pepper case). Requires the `session-tool-probe` flag (it consumes that probe's verdict). The reap is debounced (the probe's ~1h cadence plus a per-integration cooldown) so a persistently-broken integration is rebound at most once per window, never every cycle. Boolean gate; ships dark - canary per host (agt-aws-1) before any fleet flip. AGT_SESSION_TOOL_REBIND_ENABLED is the highest-precedence operator override; precedence is env override > flag value > this default.",
@@ -17933,4 +17944,4 @@ export {
17933
17944
  HOST_ROTATE_KEY_CONFLICT,
17934
17945
  shouldMintReplacementKey
17935
17946
  };
17936
- //# sourceMappingURL=chunk-MJXBNSJY.js.map
17947
+ //# sourceMappingURL=chunk-R7UGBRUR.js.map