@motorical/scope-catalog 0.6.0 → 0.7.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/tools.js +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@motorical/scope-catalog",
3
- "version": "0.6.0",
3
+ "version": "0.7.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/tools.js CHANGED
@@ -34,13 +34,14 @@ const ANALYTICS_TOOLS = [
34
34
  'motorical_get_error_codes',
35
35
  'motorical_get_rate_limits',
36
36
  'motorical_get_account_rate_limits',
37
- 'motorical_get_onboarding_state',
38
37
  'motorical_whoami',
39
38
  'motorical_get_logs',
40
39
  'motorical_get_message_by_smtp_id',
41
40
  ];
42
41
 
43
42
  const DOMAIN_TOOLS = [
43
+ // Domain verification, DNS readiness and Motor Block state: a domains read (GET /account/state needs config.read, which read:domains carries).
44
+ 'motorical_get_onboarding_state',
44
45
  'motorical_domain_list',
45
46
  'motorical_domain_get',
46
47
  'motorical_domain_dns_records',
@@ -134,7 +135,7 @@ const TOOL_SCOPES = {
134
135
  motorical_get_error_codes: ['read:analytics'],
135
136
  motorical_get_rate_limits: ['read:analytics'],
136
137
  motorical_get_account_rate_limits: ['read:analytics'],
137
- motorical_get_onboarding_state: ['read:analytics'],
138
+ motorical_get_onboarding_state: ['read:domains'],
138
139
  motorical_whoami: [], // any OAuth grant; see ANY_GRANT_TOOLS
139
140
  motorical_get_logs: ['read:analytics'],
140
141
  motorical_get_message_by_smtp_id: ['read:analytics'],