@motorical/scope-catalog 0.4.0 → 0.5.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.4.0",
3
+ "version": "0.5.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
@@ -78,8 +78,8 @@ const SCOPES = {
78
78
  resource: 'domains',
79
79
  level: 'read',
80
80
  publicScopes: ['config.read'],
81
- agentDescription: 'List and read sending domains, without adding or verifying any.',
82
- customerAction: 'View your sending domains',
81
+ agentDescription: 'List and read sending domains, their DNS records and email-authentication health, and read a Motor Block\'s configuration, without adding or verifying any domain.',
82
+ customerAction: 'View your sending domains and Motor Block configuration',
83
83
  },
84
84
  };
85
85
 
package/src/tools.js CHANGED
@@ -42,6 +42,9 @@ const ANALYTICS_TOOLS = [
42
42
 
43
43
  const DOMAIN_TOOLS = [
44
44
  'motorical_domain_list',
45
+ 'motorical_domain_get',
46
+ 'motorical_domain_dns_records',
47
+ 'motorical_domain_health',
45
48
  'motorical_domain_add',
46
49
  'motorical_domain_verify',
47
50
  'motorical_domain_check_dns',
@@ -127,9 +130,12 @@ const TOOL_SCOPES = {
127
130
  motorical_whoami: ['read:analytics'],
128
131
  motorical_get_logs: ['read:analytics'],
129
132
  motorical_get_message_by_smtp_id: ['read:analytics'],
130
- motorical_get_config: ['manage:domains'],
131
- motorical_get_domain_health: ['manage:domains'],
133
+ motorical_get_config: ['read:domains'],
134
+ motorical_get_domain_health: ['read:domains'],
132
135
  motorical_domain_list: ['read:domains'],
136
+ motorical_domain_get: ['read:domains'],
137
+ motorical_domain_dns_records: ['read:domains'],
138
+ motorical_domain_health: ['read:domains'],
133
139
  motorical_domain_add: ['manage:domains'],
134
140
  motorical_domain_verify: ['manage:domains'],
135
141
  motorical_domain_check_dns: ['manage:domains'],