@motorical/scope-catalog 0.3.0 → 0.4.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@motorical/scope-catalog",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Canonical MCP/OAuth scope metadata for Motorical — descriptions, Public API scope mapping, implied-read rules, and declarative tool/resource membership. One source of truth consumed by motorical-backend and @motorical/mcp.",
5
5
  "main": "./src/index.js",
6
6
  "engines": {
package/src/scopes.js CHANGED
@@ -50,7 +50,7 @@ const SCOPES = {
50
50
  resource: 'sandbox',
51
51
  level: 'manage',
52
52
  publicScopes: ['sandbox.manage'],
53
- agentDescription: 'Check, provision, and convert the developer sandbox. Allowlisting by 6-digit code additionally requires a dashboard session, so this scope alone does not make that callable over OAuth; recipients confirm by emailed link under manage:recipients instead.',
53
+ agentDescription: 'Check, provision, and convert the developer sandbox. Allowlisting by 6-digit code is dashboard-only and not available over OAuth; to allow recipients over OAuth use the manage:recipients scope.',
54
54
  customerAction: 'Manage your developer sandbox',
55
55
  },
56
56
  'manage:recipients': {
package/src/tools.js CHANGED
@@ -35,6 +35,7 @@ const ANALYTICS_TOOLS = [
35
35
  'motorical_get_rate_limits',
36
36
  'motorical_get_account_rate_limits',
37
37
  'motorical_get_onboarding_state',
38
+ 'motorical_whoami',
38
39
  'motorical_get_logs',
39
40
  'motorical_get_message_by_smtp_id',
40
41
  ];
@@ -123,6 +124,7 @@ const TOOL_SCOPES = {
123
124
  motorical_get_rate_limits: ['read:analytics'],
124
125
  motorical_get_account_rate_limits: ['read:analytics'],
125
126
  motorical_get_onboarding_state: ['read:analytics'],
127
+ motorical_whoami: ['read:analytics'],
126
128
  motorical_get_logs: ['read:analytics'],
127
129
  motorical_get_message_by_smtp_id: ['read:analytics'],
128
130
  motorical_get_config: ['manage:domains'],