@integrity-labs/agt-cli 0.28.1218 → 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-2TSVU3OU.js → chunk-QAQIUHMS.js} +32 -17
  3. package/dist/{chunk-2TSVU3OU.js.map → chunk-QAQIUHMS.js.map} +1 -1
  4. package/dist/{chunk-F5R622EX.js → chunk-QGBIF6QK.js} +3 -3
  5. package/dist/{chunk-MJXBNSJY.js → chunk-R7UGBRUR.js} +12 -1
  6. package/dist/{chunk-MJXBNSJY.js.map → chunk-R7UGBRUR.js.map} +1 -1
  7. package/dist/{chunk-QI5C2VCI.js → chunk-WXJXO5TE.js} +2 -2
  8. package/dist/{chunk-HAQXH2J4.js → chunk-YR5PKAAL.js} +2 -2
  9. package/dist/{claude-code-updater-XZTIAQQ3.js → claude-code-updater-FWBF4JTA.js} +3 -3
  10. package/dist/{claude-pair-runtime-N7TZVTF7.js → claude-pair-runtime-6BSR5RTE.js} +3 -3
  11. package/dist/lib/manager-worker.js +127 -28
  12. package/dist/lib/manager-worker.js.map +1 -1
  13. package/dist/mcp/direct-chat-channel.js +11 -0
  14. package/dist/mcp/index.js +177 -19
  15. package/dist/mcp/origami.js +11 -0
  16. package/dist/mcp/slack-channel.js +11 -0
  17. package/dist/mcp/telegram-channel.js +11 -0
  18. package/dist/{persistent-session-NQMAJQF2.js → persistent-session-YMVE4OG5.js} +4 -4
  19. package/dist/{responsiveness-probe-JGMZCQCI.js → responsiveness-probe-DD7LCTAS.js} +4 -4
  20. package/dist/{session-auth-dead-DPMMX7QL.js → session-auth-dead-QZOUWP4O.js} +3 -3
  21. package/package.json +1 -1
  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
@@ -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