@integrity-labs/agt-cli 0.28.1097 → 0.28.1099

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 (24) hide show
  1. package/dist/bin/agt.js +5 -5
  2. package/dist/{chunk-I7XCW4G6.js → chunk-AVM2BBSX.js} +25 -4
  3. package/dist/chunk-AVM2BBSX.js.map +1 -0
  4. package/dist/{chunk-EGVRUVOF.js → chunk-WQQGPPQW.js} +2 -2
  5. package/dist/{chunk-3RGBEI34.js → chunk-XLY3X6VS.js} +4 -4
  6. package/dist/{claude-pair-runtime-XXBIFMD5.js → claude-pair-runtime-MZXXBNGF.js} +2 -2
  7. package/dist/lib/manager-worker.js +33 -20
  8. package/dist/lib/manager-worker.js.map +1 -1
  9. package/dist/mcp/direct-chat-channel.js +11 -0
  10. package/dist/mcp/index.js +11 -0
  11. package/dist/mcp/origami.js +11 -0
  12. package/dist/mcp/slack-channel.js +11 -0
  13. package/dist/mcp/telegram-channel.js +11 -0
  14. package/dist/{persistent-session-VGORZUKN.js → persistent-session-WHEFQHXF.js} +3 -3
  15. package/dist/{responsiveness-probe-CWOTGPZC.js → responsiveness-probe-WHV2OHXM.js} +3 -3
  16. package/dist/{session-auth-dead-P3AXR4PR.js → session-auth-dead-H3YYJLPC.js} +2 -2
  17. package/package.json +1 -1
  18. package/dist/chunk-I7XCW4G6.js.map +0 -1
  19. /package/dist/{chunk-EGVRUVOF.js.map → chunk-WQQGPPQW.js.map} +0 -0
  20. /package/dist/{chunk-3RGBEI34.js.map → chunk-XLY3X6VS.js.map} +0 -0
  21. /package/dist/{claude-pair-runtime-XXBIFMD5.js.map → claude-pair-runtime-MZXXBNGF.js.map} +0 -0
  22. /package/dist/{persistent-session-VGORZUKN.js.map → persistent-session-WHEFQHXF.js.map} +0 -0
  23. /package/dist/{responsiveness-probe-CWOTGPZC.js.map → responsiveness-probe-WHV2OHXM.js.map} +0 -0
  24. /package/dist/{session-auth-dead-P3AXR4PR.js.map → session-auth-dead-H3YYJLPC.js.map} +0 -0
@@ -38167,6 +38167,17 @@ var FLAG_REGISTRY = [
38167
38167
  // deliberate, audited per-org flip (ADR-0022 §4).
38168
38168
  sensitive: true
38169
38169
  },
38170
+ {
38171
+ key: "email-guard-sole-decider",
38172
+ description: "ENG-11190 PR1: make the email guardrail (`email.domain_restrict`) the ONLY decider for email sends. Today two gates judge every send: the email guard (by its stage) and the Composio tool-tier HITL (OUTLOOK_SEND_EMAIL / GMAIL_SEND_EMAIL resolve to `write_high_risk`, so every send is held whatever the guard says). Brad, 6 Oct (Two Tractors / Horatio): a guard set to Shadow must not still produce an approval card. When ON for an org, the tier gate stops re-deciding a registered composing email send for an agent that HAS an active email guardrail AND whose stage is in force: the guard, which already ran first in callIntegrationTool and holds or blocks by its own stage, is the verdict. A stage whose enable flag is off (Require approval or Block that is not yet enabled for the org) only observes, so it is NOT a verdict and the tier hold stays (Obi Wan on #6816). An agent with no email guardrail (or a disabled one) keeps the tier hold, so turning this on never removes the only hold an org has. Draft-sends (recipients on the stored draft) keep the tier hold in this slice. Every deferred send is still audited. Evaluated per-org. Ships dark.",
38173
+ flagType: "boolean",
38174
+ // Declared safe value is `false` (both gates, today's behaviour). A flag-DB read error
38175
+ // degrades here, so a flags outage keeps the tier hold rather than silently loosening it.
38176
+ defaultValue: false,
38177
+ // Turning it on lets external email go out WITHOUT the tier hold where the guard allows
38178
+ // it (e.g. Shadow), so it is a deliberate, audited per-org flip (ADR-0022 §4).
38179
+ sensitive: true
38180
+ },
38170
38181
  {
38171
38182
  key: "email-require-approval-enforcement",
38172
38183
  description: 'Enforcement gate for the `email.require_approval` guardrail (ENG-9611). That guardrail has been `default_for_new_orgs` since ~2026-05-03 and its display text promises "Require human approval before sending any email", but nothing ever read it: its only runtime path was toGuardrailForPrompt, i.e. a line in the agent CLAUDE.md. When ON for an org, a DISPATCHING email send (never a draft-create, ENG-7980) is held and routed to Human Approval regardless of recipient domain \u2014 which is what "any email" means, and is what distinguishes it from email-guard-require-approval-enabled, whose require_approval stage only intercepts a would-be DOMAIN block. Deliberately separate from the guardrail row: roughly four months of orgs already carry an inert `enforce`-level row, so reading the row alone would arm a blocking control across all of them on deploy. New orgs are no longer armed (ENG-11234). Orgs created while the ENG-9629/9675 new-org arm was live keep their org-scoped ON override until an operator flips them per org. Evaluated per-org. Ships dark.',
package/dist/mcp/index.js CHANGED
@@ -30385,6 +30385,17 @@ var FLAG_REGISTRY = [
30385
30385
  // deliberate, audited per-org flip (ADR-0022 §4).
30386
30386
  sensitive: true
30387
30387
  },
30388
+ {
30389
+ key: "email-guard-sole-decider",
30390
+ description: "ENG-11190 PR1: make the email guardrail (`email.domain_restrict`) the ONLY decider for email sends. Today two gates judge every send: the email guard (by its stage) and the Composio tool-tier HITL (OUTLOOK_SEND_EMAIL / GMAIL_SEND_EMAIL resolve to `write_high_risk`, so every send is held whatever the guard says). Brad, 6 Oct (Two Tractors / Horatio): a guard set to Shadow must not still produce an approval card. When ON for an org, the tier gate stops re-deciding a registered composing email send for an agent that HAS an active email guardrail AND whose stage is in force: the guard, which already ran first in callIntegrationTool and holds or blocks by its own stage, is the verdict. A stage whose enable flag is off (Require approval or Block that is not yet enabled for the org) only observes, so it is NOT a verdict and the tier hold stays (Obi Wan on #6816). An agent with no email guardrail (or a disabled one) keeps the tier hold, so turning this on never removes the only hold an org has. Draft-sends (recipients on the stored draft) keep the tier hold in this slice. Every deferred send is still audited. Evaluated per-org. Ships dark.",
30391
+ flagType: "boolean",
30392
+ // Declared safe value is `false` (both gates, today's behaviour). A flag-DB read error
30393
+ // degrades here, so a flags outage keeps the tier hold rather than silently loosening it.
30394
+ defaultValue: false,
30395
+ // Turning it on lets external email go out WITHOUT the tier hold where the guard allows
30396
+ // it (e.g. Shadow), so it is a deliberate, audited per-org flip (ADR-0022 §4).
30397
+ sensitive: true
30398
+ },
30388
30399
  {
30389
30400
  key: "email-require-approval-enforcement",
30390
30401
  description: 'Enforcement gate for the `email.require_approval` guardrail (ENG-9611). That guardrail has been `default_for_new_orgs` since ~2026-05-03 and its display text promises "Require human approval before sending any email", but nothing ever read it: its only runtime path was toGuardrailForPrompt, i.e. a line in the agent CLAUDE.md. When ON for an org, a DISPATCHING email send (never a draft-create, ENG-7980) is held and routed to Human Approval regardless of recipient domain \u2014 which is what "any email" means, and is what distinguishes it from email-guard-require-approval-enabled, whose require_approval stage only intercepts a would-be DOMAIN block. Deliberately separate from the guardrail row: roughly four months of orgs already carry an inert `enforce`-level row, so reading the row alone would arm a blocking control across all of them on deploy. New orgs are no longer armed (ENG-11234). Orgs created while the ENG-9629/9675 new-org arm was live keep their org-scoped ON override until an operator flips them per org. Evaluated per-org. Ships dark.',
@@ -44331,6 +44331,17 @@ var FLAG_REGISTRY = [
44331
44331
  // deliberate, audited per-org flip (ADR-0022 §4).
44332
44332
  sensitive: true
44333
44333
  },
44334
+ {
44335
+ key: "email-guard-sole-decider",
44336
+ description: "ENG-11190 PR1: make the email guardrail (`email.domain_restrict`) the ONLY decider for email sends. Today two gates judge every send: the email guard (by its stage) and the Composio tool-tier HITL (OUTLOOK_SEND_EMAIL / GMAIL_SEND_EMAIL resolve to `write_high_risk`, so every send is held whatever the guard says). Brad, 6 Oct (Two Tractors / Horatio): a guard set to Shadow must not still produce an approval card. When ON for an org, the tier gate stops re-deciding a registered composing email send for an agent that HAS an active email guardrail AND whose stage is in force: the guard, which already ran first in callIntegrationTool and holds or blocks by its own stage, is the verdict. A stage whose enable flag is off (Require approval or Block that is not yet enabled for the org) only observes, so it is NOT a verdict and the tier hold stays (Obi Wan on #6816). An agent with no email guardrail (or a disabled one) keeps the tier hold, so turning this on never removes the only hold an org has. Draft-sends (recipients on the stored draft) keep the tier hold in this slice. Every deferred send is still audited. Evaluated per-org. Ships dark.",
44337
+ flagType: "boolean",
44338
+ // Declared safe value is `false` (both gates, today's behaviour). A flag-DB read error
44339
+ // degrades here, so a flags outage keeps the tier hold rather than silently loosening it.
44340
+ defaultValue: false,
44341
+ // Turning it on lets external email go out WITHOUT the tier hold where the guard allows
44342
+ // it (e.g. Shadow), so it is a deliberate, audited per-org flip (ADR-0022 §4).
44343
+ sensitive: true
44344
+ },
44334
44345
  {
44335
44346
  key: "email-require-approval-enforcement",
44336
44347
  description: 'Enforcement gate for the `email.require_approval` guardrail (ENG-9611). That guardrail has been `default_for_new_orgs` since ~2026-05-03 and its display text promises "Require human approval before sending any email", but nothing ever read it: its only runtime path was toGuardrailForPrompt, i.e. a line in the agent CLAUDE.md. When ON for an org, a DISPATCHING email send (never a draft-create, ENG-7980) is held and routed to Human Approval regardless of recipient domain \u2014 which is what "any email" means, and is what distinguishes it from email-guard-require-approval-enabled, whose require_approval stage only intercepts a would-be DOMAIN block. Deliberately separate from the guardrail row: roughly four months of orgs already carry an inert `enforce`-level row, so reading the row alone would arm a blocking control across all of them on deploy. New orgs are no longer armed (ENG-11234). Orgs created while the ENG-9629/9675 new-org arm was live keep their org-scoped ON override until an operator flips them per org. Evaluated per-org. Ships dark.',
@@ -38938,6 +38938,17 @@ var FLAG_REGISTRY = [
38938
38938
  // deliberate, audited per-org flip (ADR-0022 §4).
38939
38939
  sensitive: true
38940
38940
  },
38941
+ {
38942
+ key: "email-guard-sole-decider",
38943
+ description: "ENG-11190 PR1: make the email guardrail (`email.domain_restrict`) the ONLY decider for email sends. Today two gates judge every send: the email guard (by its stage) and the Composio tool-tier HITL (OUTLOOK_SEND_EMAIL / GMAIL_SEND_EMAIL resolve to `write_high_risk`, so every send is held whatever the guard says). Brad, 6 Oct (Two Tractors / Horatio): a guard set to Shadow must not still produce an approval card. When ON for an org, the tier gate stops re-deciding a registered composing email send for an agent that HAS an active email guardrail AND whose stage is in force: the guard, which already ran first in callIntegrationTool and holds or blocks by its own stage, is the verdict. A stage whose enable flag is off (Require approval or Block that is not yet enabled for the org) only observes, so it is NOT a verdict and the tier hold stays (Obi Wan on #6816). An agent with no email guardrail (or a disabled one) keeps the tier hold, so turning this on never removes the only hold an org has. Draft-sends (recipients on the stored draft) keep the tier hold in this slice. Every deferred send is still audited. Evaluated per-org. Ships dark.",
38944
+ flagType: "boolean",
38945
+ // Declared safe value is `false` (both gates, today's behaviour). A flag-DB read error
38946
+ // degrades here, so a flags outage keeps the tier hold rather than silently loosening it.
38947
+ defaultValue: false,
38948
+ // Turning it on lets external email go out WITHOUT the tier hold where the guard allows
38949
+ // it (e.g. Shadow), so it is a deliberate, audited per-org flip (ADR-0022 §4).
38950
+ sensitive: true
38951
+ },
38941
38952
  {
38942
38953
  key: "email-require-approval-enforcement",
38943
38954
  description: 'Enforcement gate for the `email.require_approval` guardrail (ENG-9611). That guardrail has been `default_for_new_orgs` since ~2026-05-03 and its display text promises "Require human approval before sending any email", but nothing ever read it: its only runtime path was toGuardrailForPrompt, i.e. a line in the agent CLAUDE.md. When ON for an org, a DISPATCHING email send (never a draft-create, ENG-7980) is held and routed to Human Approval regardless of recipient domain \u2014 which is what "any email" means, and is what distinguishes it from email-guard-require-approval-enabled, whose require_approval stage only intercepts a would-be DOMAIN block. Deliberately separate from the guardrail row: roughly four months of orgs already carry an inert `enforce`-level row, so reading the row alone would arm a blocking control across all of them on deploy. New orgs are no longer armed (ENG-11234). Orgs created while the ENG-9629/9675 new-org arm was live keep their org-scoped ON override until an operator flips them per org. Evaluated per-org. Ships dark.',
@@ -39044,6 +39044,17 @@ var FLAG_REGISTRY = [
39044
39044
  // deliberate, audited per-org flip (ADR-0022 §4).
39045
39045
  sensitive: true
39046
39046
  },
39047
+ {
39048
+ key: "email-guard-sole-decider",
39049
+ description: "ENG-11190 PR1: make the email guardrail (`email.domain_restrict`) the ONLY decider for email sends. Today two gates judge every send: the email guard (by its stage) and the Composio tool-tier HITL (OUTLOOK_SEND_EMAIL / GMAIL_SEND_EMAIL resolve to `write_high_risk`, so every send is held whatever the guard says). Brad, 6 Oct (Two Tractors / Horatio): a guard set to Shadow must not still produce an approval card. When ON for an org, the tier gate stops re-deciding a registered composing email send for an agent that HAS an active email guardrail AND whose stage is in force: the guard, which already ran first in callIntegrationTool and holds or blocks by its own stage, is the verdict. A stage whose enable flag is off (Require approval or Block that is not yet enabled for the org) only observes, so it is NOT a verdict and the tier hold stays (Obi Wan on #6816). An agent with no email guardrail (or a disabled one) keeps the tier hold, so turning this on never removes the only hold an org has. Draft-sends (recipients on the stored draft) keep the tier hold in this slice. Every deferred send is still audited. Evaluated per-org. Ships dark.",
39050
+ flagType: "boolean",
39051
+ // Declared safe value is `false` (both gates, today's behaviour). A flag-DB read error
39052
+ // degrades here, so a flags outage keeps the tier hold rather than silently loosening it.
39053
+ defaultValue: false,
39054
+ // Turning it on lets external email go out WITHOUT the tier hold where the guard allows
39055
+ // it (e.g. Shadow), so it is a deliberate, audited per-org flip (ADR-0022 §4).
39056
+ sensitive: true
39057
+ },
39047
39058
  {
39048
39059
  key: "email-require-approval-enforcement",
39049
39060
  description: 'Enforcement gate for the `email.require_approval` guardrail (ENG-9611). That guardrail has been `default_for_new_orgs` since ~2026-05-03 and its display text promises "Require human approval before sending any email", but nothing ever read it: its only runtime path was toGuardrailForPrompt, i.e. a line in the agent CLAUDE.md. When ON for an org, a DISPATCHING email send (never a draft-create, ENG-7980) is held and routed to Human Approval regardless of recipient domain \u2014 which is what "any email" means, and is what distinguishes it from email-guard-require-approval-enabled, whose require_approval stage only intercepts a would-be DOMAIN block. Deliberately separate from the guardrail row: roughly four months of orgs already carry an inert `enforce`-level row, so reading the row alone would arm a blocking control across all of them on deploy. New orgs are no longer armed (ENG-11234). Orgs created while the ENG-9629/9675 new-org arm was live keep their org-scoped ON override until an operator flips them per org. Evaluated per-org. Ships dark.',
@@ -68,8 +68,8 @@ import {
68
68
  writeDirectChatSessionState,
69
69
  writeEgressAllowlist,
70
70
  writePersistentClaudeWrapper
71
- } from "./chunk-EGVRUVOF.js";
72
- import "./chunk-I7XCW4G6.js";
71
+ } from "./chunk-WQQGPPQW.js";
72
+ import "./chunk-AVM2BBSX.js";
73
73
  import "./chunk-OCMJ5E6J.js";
74
74
  import "./chunk-XWVM4KPK.js";
75
75
  import "./chunk-EL5MWGGH.js";
@@ -145,4 +145,4 @@ export {
145
145
  writeEgressAllowlist,
146
146
  writePersistentClaudeWrapper
147
147
  };
148
- //# sourceMappingURL=persistent-session-VGORZUKN.js.map
148
+ //# sourceMappingURL=persistent-session-WHEFQHXF.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-EGVRUVOF.js";
4
- import "./chunk-I7XCW4G6.js";
3
+ } from "./chunk-WQQGPPQW.js";
4
+ import "./chunk-AVM2BBSX.js";
5
5
  import "./chunk-OCMJ5E6J.js";
6
6
  import "./chunk-XWVM4KPK.js";
7
7
  import "./chunk-EL5MWGGH.js";
@@ -802,4 +802,4 @@ export {
802
802
  readAndResetSlackReplyBindingClassifications,
803
803
  readAndResetSlackReplyTargetClassifications
804
804
  };
805
- //# sourceMappingURL=responsiveness-probe-CWOTGPZC.js.map
805
+ //# sourceMappingURL=responsiveness-probe-WHV2OHXM.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-I7XCW4G6.js";
3
+ } from "./chunk-AVM2BBSX.js";
4
4
  import "./chunk-DGUM43GV.js";
5
5
 
6
6
  // src/lib/session-auth-dead.ts
@@ -204,4 +204,4 @@ export {
204
204
  decideSessionAuthState,
205
205
  probeSessionAuth
206
206
  };
207
- //# sourceMappingURL=session-auth-dead-P3AXR4PR.js.map
207
+ //# sourceMappingURL=session-auth-dead-H3YYJLPC.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.1097",
3
+ "version": "0.28.1099",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {