@integrity-labs/agt-cli 0.28.735 → 0.28.737

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 (25) hide show
  1. package/dist/bin/agt.js +5 -5
  2. package/dist/{chunk-AZZ7MLBE.js → chunk-7LRKRRC5.js} +4 -4
  3. package/dist/{chunk-5CF4DRXA.js → chunk-MV3QBGO4.js} +56 -10
  4. package/dist/chunk-MV3QBGO4.js.map +1 -0
  5. package/dist/{chunk-IBBBIE4K.js → chunk-WB2E236K.js} +24 -15
  6. package/dist/chunk-WB2E236K.js.map +1 -0
  7. package/dist/{claude-pair-runtime-AWLXOAV6.js → claude-pair-runtime-57FICYWW.js} +2 -2
  8. package/dist/lib/manager-worker.js +62 -13
  9. package/dist/lib/manager-worker.js.map +1 -1
  10. package/dist/mcp/direct-chat-channel.js +23 -14
  11. package/dist/mcp/index.js +23 -14
  12. package/dist/mcp/origami.js +23 -14
  13. package/dist/mcp/slack-channel.js +23 -14
  14. package/dist/mcp/telegram-channel.js +23 -14
  15. package/dist/{persistent-session-4KGDH66U.js → persistent-session-NE6DCBFD.js} +9 -3
  16. package/dist/{responsiveness-probe-HNUYLIFJ.js → responsiveness-probe-VN4OPV56.js} +3 -3
  17. package/dist/{session-auth-dead-TK3KNAH4.js → session-auth-dead-TI6JWW4G.js} +2 -2
  18. package/package.json +1 -1
  19. package/dist/chunk-5CF4DRXA.js.map +0 -1
  20. package/dist/chunk-IBBBIE4K.js.map +0 -1
  21. /package/dist/{chunk-AZZ7MLBE.js.map → chunk-7LRKRRC5.js.map} +0 -0
  22. /package/dist/{claude-pair-runtime-AWLXOAV6.js.map → claude-pair-runtime-57FICYWW.js.map} +0 -0
  23. /package/dist/{persistent-session-4KGDH66U.js.map → persistent-session-NE6DCBFD.js.map} +0 -0
  24. /package/dist/{responsiveness-probe-HNUYLIFJ.js.map → responsiveness-probe-VN4OPV56.js.map} +0 -0
  25. /package/dist/{session-auth-dead-TK3KNAH4.js.map → session-auth-dead-TI6JWW4G.js.map} +0 -0
@@ -5482,22 +5482,31 @@ var FLAG_REGISTRY = [
5482
5482
  // seeding code, so `listNewOrgFlagOverrides()` is the one answer to "which flags
5483
5483
  // does a new org get". `defaultValue` stays false so the ~4 months of orgs already
5484
5484
  // carrying an inert enforce-level email.require_approval row are NOT armed on deploy.
5485
- newOrgOverride: true,
5486
- // ENG-9630: API-created organizations only, and this is a deliberate,
5487
- // reviewed asymmetry rather than an oversight.
5485
+ // ENG-9675: EVERY creation path, self-serve included.
5488
5486
  //
5489
- // Arming this holds EVERY dispatching send for human approval. The hold
5490
- // itself works fine on a self-serve org — `hitl-approval-routing` has
5491
- // defaulted to 'on' since ENG-7828, so a real Human Approval card is minted
5492
- // and it is actionable at /organization/approvals. What a self-serve org
5493
- // does NOT have is any means of being TOLD: no Slack alert channel is wired
5494
- // at signup, so the card sits in a console surface nobody has pointed the
5495
- // user at, and their agent's first email silently waits on it.
5487
+ // ENG-9630 had restricted this to API-created orgs on the grounds that a
5488
+ // self-serve org has no way of being TOLD about a held send — no Slack
5489
+ // alert channel is wired at signup. That reasoning was wrong, and the check
5490
+ // behind it was incomplete: it confirmed an in-console page exists at
5491
+ // /organization/approvals and stopped, without looking at the dispatch path.
5496
5492
  //
5497
- // So the blocker is the notification path, not the control. Whoever revisits
5498
- // this should treat "a self-serve org actually receives the card" as the
5499
- // prerequisite and then drop this line — do not simply widen it.
5500
- newOrgOverrideOrigins: ["api"]
5493
+ // `routeBlockedCallToApproval` has three dispatchers, and the Direct Chat
5494
+ // one (lib/integration-broker-approval-direct-chat.ts, ENG-7680) is the
5495
+ // universal fallback — "every managed agent always has a Direct Chat session
5496
+ // its operator/manager watches in the Console ... usable out of the box with
5497
+ // no per-org approval-route setup and no Slack dependency". It posts into a
5498
+ // thread keyed on the approval_requests.id and correlates the manager's
5499
+ // reply back through tryCaptureDirectChatApproval, so a self-serve org has
5500
+ // both a zero-config delivery channel AND a reply path.
5501
+ //
5502
+ // With the stated blocker gone, the guardrail's own promise — "before
5503
+ // sending any email" — applies to the organizations with the LEAST operator
5504
+ // oversight exactly as it does to the rest.
5505
+ //
5506
+ // Existing self-serve orgs are deliberately NOT armed by this: newOrgOverride
5507
+ // is applied at creation, and nothing backfills. Extending it to them is a
5508
+ // separate decision with a comms obligation.
5509
+ newOrgOverride: true
5501
5510
  },
5502
5511
  {
5503
5512
  key: "mail-rule-control-enforcement",
@@ -13016,4 +13025,4 @@ export {
13016
13025
  peekCurrentSession,
13017
13026
  readDailySessionPin
13018
13027
  };
13019
- //# sourceMappingURL=chunk-IBBBIE4K.js.map
13028
+ //# sourceMappingURL=chunk-WB2E236K.js.map