@integrity-labs/agt-cli 0.28.147 → 0.28.148

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.
@@ -1672,6 +1672,15 @@ var FLAG_REGISTRY = [
1672
1672
  // control with no pre-flags env gate to migrate (ADR-0022).
1673
1673
  defaultValue: false
1674
1674
  },
1675
+ {
1676
+ key: "skill-revision-proposals",
1677
+ description: "Agent-proposed corrective rewrites of shared skills (ENG-6824, epic ENG-6805 P2b): when on, an agent can propose a full-body rewrite of a shared (team/org) skill via the skill_propose_revision MCP tool, anchored on an immutable base_version_id; an operator reviews a machine-derived diff and approves (conflict-guarded apply) or rejects. This is the per-org activation gate for the corrective path - off = the propose tool soft-refuses, so no proposal is created. Distinct from skill-fragments (the additive path). Approved revisions land via the existing operator-owned skill body + delivery, so there is nothing to revert when flipped off. Boolean gate; ships dark.",
1678
+ flagType: "boolean",
1679
+ // Declared safe value is `false` (no proposals). Fail-safe direction: a
1680
+ // flag-DB read error must never let an agent file rewrites of operator-owned
1681
+ // shared skills on its own. No envVar - net-new control (ADR-0022).
1682
+ defaultValue: false
1683
+ },
1675
1684
  {
1676
1685
  key: "channel-quarantine-mode",
1677
1686
  description: "Optional-channel quarantine (ENG-5932): off = disabled, shadow = log matches only, enforce = quarantine.",
@@ -4024,6 +4033,37 @@ var OAUTH_PROVIDERS = {
4024
4033
  publicClient: true,
4025
4034
  mcpUrl: "https://mcp.granola.ai/mcp"
4026
4035
  },
4036
+ "brand-ninja": {
4037
+ // ENG-6820: Brand Ninja External-Content MCP, remote streamable-HTTP at
4038
+ // https://ext-api.app.brandninja.ai/v1/mcp. Same shape as Granola: the
4039
+ // server exposes RFC 8414 authorization-server metadata at
4040
+ // /.well-known/oauth-authorization-server (values below are taken verbatim
4041
+ // from that document, not inferred). Auth is OAuth 2.0 authorization-code
4042
+ // with mandatory PKCE (S256) and a public client (token_endpoint_auth_method
4043
+ // 'none') issued via Dynamic Client Registration (RFC 7591). The bootstrap
4044
+ // script (packages/api/scripts/dcr-register.ts) registers a client once at
4045
+ // deploy time against the registration_endpoint
4046
+ // (https://ext-api.app.brandninja.ai/v1/oauth/register); OAUTH_BRAND_NINJA_CLIENT_ID
4047
+ // is set from its output. The AS advertises the refresh_token grant, so the
4048
+ // shared oauth-refresh cron rotates the bearer without operator action.
4049
+ definitionId: "brand-ninja",
4050
+ authorizeUrl: "https://prod-brandninja.auth.ap-southeast-2.amazoncognito.com/oauth2/authorize",
4051
+ tokenUrl: "https://prod-brandninja.auth.ap-southeast-2.amazoncognito.com/oauth2/token",
4052
+ // The resource server (ext-api.app.brandninja.ai) advertises exactly two
4053
+ // scopes: external-api/content.write (the default content surface) and
4054
+ // external-api/admin (read-only credential metadata, granted per account
4055
+ // admin). Default install is least-privilege: content.write only; an
4056
+ // operator can widen to admin out of band. No openid/offline_access in the
4057
+ // advertised scope set, so Cognito issues the refresh_token for the code grant
4058
+ // regardless, so requesting only the resource scope keeps consent minimal.
4059
+ defaultScopes: ["external-api/content.write"],
4060
+ supportsRefresh: true,
4061
+ extraAuthorizeParams: {},
4062
+ clientAuthMethod: "body",
4063
+ pkce: "S256",
4064
+ publicClient: true,
4065
+ mcpUrl: "https://ext-api.app.brandninja.ai/v1/mcp"
4066
+ },
4027
4067
  "notion-cli": {
4028
4068
  // Notion's public OAuth app. Tokens are workspace-scoped and long-lived —
4029
4069
  // Notion does not issue refresh_tokens, so `supportsRefresh: false` and
@@ -6073,4 +6113,4 @@ export {
6073
6113
  parseEnvIntegrations,
6074
6114
  probeMcpEnvSubstitution
6075
6115
  };
6076
- //# sourceMappingURL=chunk-POW4BZEC.js.map
6116
+ //# sourceMappingURL=chunk-XZGF45BJ.js.map