@integrity-labs/agt-cli 0.28.1068 → 0.28.1070

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 +5 -5
  2. package/dist/{chunk-65F44JJJ.js → chunk-3KVS22KX.js} +101 -11
  3. package/dist/chunk-3KVS22KX.js.map +1 -0
  4. package/dist/{chunk-CFJONCHN.js → chunk-64DXAOQQ.js} +33 -1
  5. package/dist/{chunk-CFJONCHN.js.map → chunk-64DXAOQQ.js.map} +1 -1
  6. package/dist/{chunk-WLB2E3PO.js → chunk-XCGOVUGI.js} +8 -5
  7. package/dist/{chunk-WLB2E3PO.js.map → chunk-XCGOVUGI.js.map} +1 -1
  8. package/dist/{claude-pair-runtime-4BISLPPZ.js → claude-pair-runtime-B6DFCLT3.js} +2 -2
  9. package/dist/lib/manager-worker.js +243 -56
  10. package/dist/lib/manager-worker.js.map +1 -1
  11. package/dist/mcp/direct-chat-channel.js +32 -0
  12. package/dist/mcp/index.js +32 -0
  13. package/dist/mcp/origami.js +32 -0
  14. package/dist/mcp/slack-channel.js +32 -0
  15. package/dist/mcp/telegram-channel.js +32 -0
  16. package/dist/{pane-fatal-error-EL336LRO.js → pane-fatal-error-JORQ5OPV.js} +58 -16
  17. package/dist/pane-fatal-error-JORQ5OPV.js.map +1 -0
  18. package/dist/{persistent-session-VRAVB743.js → persistent-session-75DOT6JV.js} +9 -3
  19. package/dist/{responsiveness-probe-QTYKXBH7.js → responsiveness-probe-YFUIBZZV.js} +3 -3
  20. package/dist/{session-auth-dead-JJPNV3YQ.js → session-auth-dead-JN4EBUCN.js} +2 -2
  21. package/dist/transcript-mount-health-OHE6IVJV.js +79 -0
  22. package/dist/transcript-mount-health-OHE6IVJV.js.map +1 -0
  23. package/package.json +1 -1
  24. package/dist/chunk-65F44JJJ.js.map +0 -1
  25. package/dist/pane-fatal-error-EL336LRO.js.map +0 -1
  26. /package/dist/{claude-pair-runtime-4BISLPPZ.js.map → claude-pair-runtime-B6DFCLT3.js.map} +0 -0
  27. /package/dist/{persistent-session-VRAVB743.js.map → persistent-session-75DOT6JV.js.map} +0 -0
  28. /package/dist/{responsiveness-probe-QTYKXBH7.js.map → responsiveness-probe-YFUIBZZV.js.map} +0 -0
  29. /package/dist/{session-auth-dead-JJPNV3YQ.js.map → session-auth-dead-JN4EBUCN.js.map} +0 -0
@@ -6798,6 +6798,38 @@ var FLAG_REGISTRY = [
6798
6798
  // safety control, so mutations require explicit confirmation.
6799
6799
  sensitive: true
6800
6800
  },
6801
+ {
6802
+ key: "pane-fatal-restart-mode",
6803
+ description: `Pane fatal-error respawn (ENG-11278): the manager reads each claude-code agent pane and, when at least two consecutive most-recent turns ended in Claude Code's own "Prompt is too long \xB7 \u2026 \xB7 /clear to start fresh" / failed /compact result with no model output since, for two consecutive polls, treats the session as unable to answer. off = disabled, shadow = log "would force-fresh respawn" only, enforce = force a FRESH respawn (rotated session UUID, old transcript kept, inbound parked for replay) and raise a reaper_action alert, bounded by a per-agent budget (default 3 per 6h) after which it stops and raises a critical alert. The "Transcript writes are failing" status-bar banner alone only ever warns, in any mode but off. Declared safe value is shadow: observe-only, the absent-flag and flag-DB-error fallback. Flip to enforce centrally (stage or per org) to arm it.`,
6804
+ flagType: "enum",
6805
+ allowedValues: ["off", "shadow", "enforce"],
6806
+ // shadow, not enforce (Obi Wan c734a443aa3f on #6707). This is NEW
6807
+ // auto-respawn behaviour read host-side, and every sibling host-read mode
6808
+ // flag (channel-quarantine-mode, mcp-quarantine-mode, and the pre-flag
6809
+ // AGT_WEDGE_RESTART_MODE) ships shadow; ADR-0022's fail-safe direction is
6810
+ // dark. Enforce is a deliberate, audited central flip, effective within one
6811
+ // heartbeat with no manager restart. The case for enforce (it matches
6812
+ // Claude Code's own turn-error text, not a timing heuristic, and is
6813
+ // budget-bounded) is real, and is exactly what that flip is for.
6814
+ defaultValue: "shadow",
6815
+ // Operator escape hatch (highest precedence on the host). The reader is
6816
+ // hostFlagStore().getString('pane-fatal-restart-mode') in manager-worker;
6817
+ // there is no raw process.env read of it.
6818
+ envVar: "AGT_PANE_FATAL_RESTART_MODE",
6819
+ // Enforcement gate: weakening it (enforce -> shadow/off) drops a recovery
6820
+ // control, so mutations require explicit confirmation.
6821
+ sensitive: true,
6822
+ // DELIBERATE UNREACHABLE PLACEHOLDER - NOT A REAL THRESHOLD YET. Same
6823
+ // convention as `channel-quarantine-auto-resume` above: the reader lands in
6824
+ // apps/cli (manager-worker 1d-3), and the agt-cli version that first ships
6825
+ // it is not knowable before merge. Until bisected off the published dist,
6826
+ // the reach estimate reports every host `stale`, which says "unknown" out
6827
+ // loud instead of claiming reach. BEFORE relying on the reach modal for a
6828
+ // flip: bisect the first agt-cli whose manager-worker reads this key and
6829
+ // replace this value. Advisory only; a flip still takes effect on any host
6830
+ // that runs the reader.
6831
+ since: "0.29.0"
6832
+ },
6801
6833
  {
6802
6834
  key: "docker-hygiene",
6803
6835
  description: "Manager-side docker hygiene on Docker-isolated hosts (ENG-8401): off = no-op, reap-superseded = after a successful agt-runtime retag, remove the prior untagged agt-runtime images that retag orphaned (Layer 1), full = reap-superseded plus a daily dangling-only image+builder prune (Layer 2). agt-runtime:latest and the just-pulled image are never removed and -a/--volumes are never used. Read host-side via hostFlagStore (getString); ships dark.",
@@ -16024,4 +16056,4 @@ export {
16024
16056
  peekCurrentSession,
16025
16057
  readDailySessionPin
16026
16058
  };
16027
- //# sourceMappingURL=chunk-CFJONCHN.js.map
16059
+ //# sourceMappingURL=chunk-64DXAOQQ.js.map