@integrity-labs/agt-cli 0.28.1005 → 0.28.1007

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 (32) hide show
  1. package/dist/bin/agt.js +6 -5
  2. package/dist/bin/agt.js.map +1 -1
  3. package/dist/chunk-EL5MWGGH.js +160 -0
  4. package/dist/chunk-EL5MWGGH.js.map +1 -0
  5. package/dist/{chunk-6U4NB3LJ.js → chunk-FLJNRC3D.js} +71 -9
  6. package/dist/chunk-FLJNRC3D.js.map +1 -0
  7. package/dist/{chunk-TGTUE7Y2.js → chunk-SQX4ZGD5.js} +73 -8
  8. package/dist/chunk-SQX4ZGD5.js.map +1 -0
  9. package/dist/{chunk-DVSYT4MU.js → chunk-XWMUQR65.js} +52 -1
  10. package/dist/{chunk-DVSYT4MU.js.map → chunk-XWMUQR65.js.map} +1 -1
  11. package/dist/{claude-code-updater-45MB2AXE.js → claude-code-updater-NEJCTT7S.js} +7 -3
  12. package/dist/claude-code-updater-NEJCTT7S.js.map +1 -0
  13. package/dist/{claude-pair-runtime-DDSYAHQW.js → claude-pair-runtime-X27QVAXL.js} +172 -18
  14. package/dist/claude-pair-runtime-X27QVAXL.js.map +1 -0
  15. package/dist/lib/manager-worker.js +547 -227
  16. package/dist/lib/manager-worker.js.map +1 -1
  17. package/dist/mcp/direct-chat-channel.js +57 -2
  18. package/dist/mcp/index.js +51 -0
  19. package/dist/mcp/origami.js +51 -0
  20. package/dist/mcp/slack-channel.js +57 -2
  21. package/dist/mcp/telegram-channel.js +57 -2
  22. package/dist/{persistent-session-4PP3ON7H.js → persistent-session-5KWYODZB.js} +6 -3
  23. package/dist/{responsiveness-probe-6NWZAXIZ.js → responsiveness-probe-J2DYGC7T.js} +4 -3
  24. package/dist/{responsiveness-probe-6NWZAXIZ.js.map → responsiveness-probe-J2DYGC7T.js.map} +1 -1
  25. package/dist/{session-auth-dead-2V2BOXAG.js → session-auth-dead-4SE5Q7MU.js} +2 -2
  26. package/package.json +1 -1
  27. package/dist/chunk-6U4NB3LJ.js.map +0 -1
  28. package/dist/chunk-TGTUE7Y2.js.map +0 -1
  29. package/dist/claude-code-updater-45MB2AXE.js.map +0 -1
  30. package/dist/claude-pair-runtime-DDSYAHQW.js.map +0 -1
  31. /package/dist/{persistent-session-4PP3ON7H.js.map → persistent-session-5KWYODZB.js.map} +0 -0
  32. /package/dist/{session-auth-dead-2V2BOXAG.js.map → session-auth-dead-4SE5Q7MU.js.map} +0 -0
@@ -6529,6 +6529,57 @@ var FLAG_REGISTRY = [
6529
6529
  sensitive: true
6530
6530
  // No envVar - net-new API-side control with no pre-flags env gate to migrate (ADR-0022).
6531
6531
  },
6532
+ {
6533
+ key: "channel-quarantine-auto-resume",
6534
+ description: "Time-based auto-resume of an ENG-5932 channel quarantine (ENG-10510): off = disabled, shadow = log the would-resume without acting, enforce = clear the local quarantine marker and re-add the channel for a TRIAL run, letting the reaper re-quarantine it if it is still dead. Backoff 2h doubling to a 24h cap, giving up after 5 attempts and leaving it for an operator; the manual Re-enable is unaffected and clears the strike count. DELIBERATELY NOT health-based: a quarantined channel is dropped from .mcp.json and the launch flags, so its process never spawns and its liveness is unobservable - unlike an ENG-7916 integration, which stays probeable via a reconstructed inline_server_entry, which is why mcp-auto-resume-mode can wait for healthy cycles and this cannot. A SEPARATE FLAG FROM channel-quarantine-mode ON PURPOSE: that one defaults to shadow, so giving it a resume meaning would arm auto-resume fleet-wide on the existing default. Declared safe value is off (fully dark): a flag-DB read error must never re-add a channel on its own, because a trial costs restarts against the breaker budget.",
6535
+ flagType: "enum",
6536
+ allowedValues: ["off", "shadow", "enforce"],
6537
+ // off = fully dark. See the description's fail-safe reasoning.
6538
+ defaultValue: "off",
6539
+ // Enforcement-mode control like its siblings channel-quarantine-mode and
6540
+ // mcp-auto-resume-mode: masked on public surfaces, mutations confirmed.
6541
+ sensitive: true,
6542
+ // ENG-10036: the reader lives in apps/cli (manager-worker), so an older
6543
+ // host has no code to honour a flip. Without `since`, classifyHostReach
6544
+ // reports 'honors' - full reach - which is the most confident thing the
6545
+ // field can say and would be a lie here.
6546
+ //
6547
+ // DELIBERATE UNREACHABLE PLACEHOLDER - NOT A REAL THRESHOLD YET.
6548
+ // Obi-Wan on #6313: the previous value here was '0.28.990', written before
6549
+ // merge and stated as though it were the reader's shipping version. It is
6550
+ // not knowable pre-merge. `since` is documented (types.ts) as "the agt-cli
6551
+ // version its reader lands in", and the bisected siblings in this registry
6552
+ // were all read off published dists AFTER their merge. The published line
6553
+ // is around 0.28.916-0.28.918, so that guess sat ~70 patch releases above
6554
+ // the build that will actually carry this reader - every host running the
6555
+ // release that DOES honour the flag would have classified `stale` until the
6556
+ // fleet passed a version that does not exist yet.
6557
+ //
6558
+ // So this follows the convention this registry already established for
6559
+ // exactly this situation - see `github-broker-credentials` below, whose
6560
+ // identical DELIBERATE UNREACHABLE PLACEHOLDER block and `since: '0.29.0'`
6561
+ // are the precedent: pinned ABOVE every published release ON PURPOSE,
6562
+ // labelled as a placeholder, and gated on a post-publish bisect.
6563
+ //
6564
+ // (This cited `claudecode-agt-bin-credential-helpers` until obi-wan
6565
+ // `8f9d3c43076c` pointed out no such key exists anywhere in the repo - the
6566
+ // only occurrence in the tree was this citation. The precedent was real and
6567
+ // the reasoning held, but the pointer could not be followed, so a reader
6568
+ // looking it up found nothing and had no way to tell whether the convention
6569
+ // was inherited or invented here. That is the one question a citation
6570
+ // exists to answer, and it is asked at exactly the moment someone is about
6571
+ // to do the post-publish bisect.) It classifies every host
6572
+ // as `stale`, which reports no reach rather than reach there is no basis
6573
+ // for - and unlike a plausible-looking number, it says out loud that it
6574
+ // must be re-bisected.
6575
+ //
6576
+ // BEFORE THIS FLAG IS FLIPPED ANYWHERE: bisect the published dist for the
6577
+ // first agt-cli whose manager-worker carries the auto-resume poll block,
6578
+ // and replace this with that exact version. Leaving the placeholder is safe
6579
+ // (defaultValue 'off', sensitive: true, nothing flips); shipping a guessed
6580
+ // number is not.
6581
+ since: "0.29.0"
6582
+ },
6532
6583
  {
6533
6584
  key: "mcp-auto-resume-mode",
6534
6585
  description: "MCP auto-resume of a bind-failure quarantine (ENG-8036, follow-up to ENG-7916): off = disabled, shadow = log only (would-resume without acting), enforce = flip an ENG-7916-quarantined integration (status=unhealthy) back to status=active after DEFAULT_AUTO_RESUME_OK_CYCLES consecutive healthy connectivity-probe cycles. Recovery is observed via the connectivity-probe path, not the session-tool-bind probe (a quarantined row is excluded from the bind probe by the ENG-5292 writer). Only rows this quarantine system marked are auto-resumed - the reaper/oauth-refresh error/unhealthy states are never stomped. Declared safe value is off (fully dark): a flag-DB read error must never auto-un-quarantine on its own. Flip to shadow to observe, then enforce once the cycle threshold is tuned.",
@@ -15371,4 +15422,4 @@ export {
15371
15422
  peekCurrentSession,
15372
15423
  readDailySessionPin
15373
15424
  };
15374
- //# sourceMappingURL=chunk-DVSYT4MU.js.map
15425
+ //# sourceMappingURL=chunk-XWMUQR65.js.map