@integrity-labs/agt-cli 0.28.226 → 0.28.228

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.
@@ -1862,7 +1862,7 @@ var AZURE_PROVISIONING_SCOPES = [
1862
1862
  ];
1863
1863
 
1864
1864
  // ../../packages/core/dist/parser/frontmatter.js
1865
- import { parse as parseYaml } from "yaml";
1865
+ import { parse as parseYaml, parseDocument } from "yaml";
1866
1866
  function extractFrontmatter(content) {
1867
1867
  const lines = content.split("\n");
1868
1868
  let startLine = -1;
@@ -6899,6 +6899,17 @@ var FLAG_REGISTRY = [
6899
6899
  defaultValue: false,
6900
6900
  envVar: "AGT_SESSION_TOOL_PROBE_ENABLED"
6901
6901
  },
6902
+ {
6903
+ key: "session-tool-rebind",
6904
+ 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.",
6905
+ flagType: "boolean",
6906
+ defaultValue: false,
6907
+ envVar: "AGT_SESSION_TOOL_REBIND_ENABLED",
6908
+ // Reaps MCP children on a live customer agent (targeted, not a full restart,
6909
+ // but still a runtime mutation on customer infra); flipping it is worth an
6910
+ // explicit confirm.
6911
+ sensitive: true
6912
+ },
6902
6913
  {
6903
6914
  key: "channel-skip-reaction",
6904
6915
  description: 'Seen-but-skipping reaction (ENG-6464): the agent adds a configured emoji (e.g. \u2796 / \u{1FAE1}) to a DM or thread message it saw but deliberately chose not to reply to, so the sender can tell "seen and skipped" from "never received". Explicit-agent-verb model (no Stop-hook inference). Boolean gate; ships dark \u2014 inert until flipped on per host/org.',
@@ -8991,4 +9002,4 @@ export {
8991
9002
  stopAllSessionsAndWait,
8992
9003
  getProjectDir
8993
9004
  };
8994
- //# sourceMappingURL=chunk-C2EXC6LY.js.map
9005
+ //# sourceMappingURL=chunk-VV5IXUN6.js.map