@integrity-labs/agt-cli 0.28.673 → 0.28.674

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.
@@ -5538,14 +5538,13 @@ var FLAG_REGISTRY = [
5538
5538
  // (mirrors scheduled-task-nudge-durable). Turning it ON removes plaintext at rest.
5539
5539
  defaultValue: false,
5540
5540
  // ENG-7997 flip-reach estimate: `since` is the first agt-cli build whose
5541
- // dist carries this host-side reader. That build is the one THIS PR's merge
5542
- // auto-publishes — unknown until then, and every already-published version
5543
- // (0.28.x) demonstrably lacks the reader (CodeRabbit npm-pack check). An
5544
- // UNREACHABLE placeholder is the fail-safe: the reach estimate counts zero
5545
- // hosts as honoring the flip (rather than over-claiming that 0.28.x hosts do,
5546
- // while they still write tokens to disk). MUST be updated to the actual
5547
- // published version once the release lands (tracked on ENG-9350).
5548
- since: "99.0.0"
5541
+ // dist carries this host-side reader. The ENG-9350 merge auto-published
5542
+ // 0.28.672, and `npm pack @integrity-labs/agt-cli@0.28.672` confirms its
5543
+ // bundled dist contains `spawn-inject-channel-secrets` (the reader) every
5544
+ // earlier 0.28.x lacks it. So hosts on 0.28.672 honor a flip; older ones
5545
+ // no-op until they self-update. (Replaced the 99.0.0 fail-safe placeholder
5546
+ // the flag shipped with before this build was known.)
5547
+ since: "0.28.672"
5549
5548
  },
5550
5549
  {
5551
5550
  key: "scheduled-task-confirmation-card",
@@ -10559,6 +10558,30 @@ var USER_PRINCIPAL_SCOPE_LABELS = {
10559
10558
  // ../../packages/core/dist/admin-debug/index.js
10560
10559
  var STUCK_RESTART_THRESHOLD_SECONDS = 15 * 60;
10561
10560
 
10561
+ // ../../packages/core/dist/redaction/index.js
10562
+ var SECRET_PATTERNS = [
10563
+ // Augmented host API keys
10564
+ { re: /tlk_[A-Za-z0-9]{8,}/g, label: "agt-api-key" },
10565
+ // Slack tokens: bot/app/user/refresh/config
10566
+ { re: /x(?:ox[abprs]|app)-[A-Za-z0-9-]{8,}/g, label: "slack-token" },
10567
+ // JWTs (three base64url segments, first always starts with eyJ)
10568
+ { re: /eyJ[A-Za-z0-9_-]{8,}\.[A-Za-z0-9_-]{8,}\.[A-Za-z0-9_-]{8,}/g, label: "jwt" },
10569
+ // OpenAI / Anthropic-style keys (sk-..., sk-ant-...)
10570
+ { re: /sk-[A-Za-z0-9_-]{16,}/g, label: "sk-key" },
10571
+ // AWS access key IDs
10572
+ { re: /(?:AKIA|ASIA)[0-9A-Z]{16}/g, label: "aws-key" },
10573
+ // GitHub tokens
10574
+ { re: /gh[pousr]_[A-Za-z0-9]{20,}/g, label: "github-token" },
10575
+ // Telegram bot tokens: <8-10 digit bot id>:<35-char secret> (ENG-9353).
10576
+ { re: /[0-9]{8,10}:[A-Za-z0-9_-]{35}/g, label: "telegram-bot-token" },
10577
+ // Bearer authorization tokens (opaque or JWT). The 16+ length floor keeps
10578
+ // ordinary "Bearer authentication" prose intact — real bearer tokens are far
10579
+ // longer than any common word. `[ \t]+` (not `\s+`) so the match cannot span a
10580
+ // newline and swallow the line break, changing the log's line structure
10581
+ // (ENG-9353).
10582
+ { re: /[Bb]earer[ \t]+[A-Za-z0-9._-]{16,}/g, label: "bearer-token" }
10583
+ ];
10584
+
10562
10585
  // ../../packages/core/dist/drift/comparators.js
10563
10586
  function compareToolPolicy(expected, actual) {
10564
10587
  const findings = [];
@@ -12404,6 +12427,7 @@ export {
12404
12427
  describeOnboardingChannel,
12405
12428
  coerceOnboardingState,
12406
12429
  laneTagFragment,
12430
+ SECRET_PATTERNS,
12407
12431
  detectDrift,
12408
12432
  SUPPRESS_SENTINEL,
12409
12433
  classifyOutput,
@@ -12474,4 +12498,4 @@ export {
12474
12498
  minutesSinceLocalMidnight,
12475
12499
  peekCurrentSession
12476
12500
  };
12477
- //# sourceMappingURL=chunk-YOID6KOQ.js.map
12501
+ //# sourceMappingURL=chunk-AJNES24H.js.map