You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Scopes:** Always use `getScopesForService(serviceId)` from `@/lib/oauth/utils` for `requiredScopes`. Never hardcode scope arrays — the single source of truth is `OAUTH_PROVIDERS` in `lib/oauth/oauth.ts`.
127
127
128
-
**Scope descriptions:** When adding a new OAuth provider, also add human-readable descriptions for all scopes in `lib/oauth/scope-descriptions.ts`.
128
+
**Scope descriptions:** When adding a new OAuth provider, also add human-readable descriptions for all scopes in `SCOPE_DESCRIPTIONS` within `lib/oauth/utils.ts`.
129
129
130
130
### Selectors (with dynamic options)
131
131
```typescript
@@ -801,7 +801,7 @@ All tool IDs referenced in `tools.access` and returned by `tools.config.tool` MU
801
801
-[ ] DependsOn set for fields that need other values
802
802
-[ ] Required fields marked correctly (boolean or condition)
803
803
-[ ] OAuth inputs have correct `serviceId` and `requiredScopes: getScopesForService(serviceId)`
804
-
-[ ] Scope descriptions added to `lib/oauth/scope-descriptions.ts` for any new scopes
804
+
-[ ] Scope descriptions added to `SCOPE_DESCRIPTIONS` in `lib/oauth/utils.ts` for any new scopes
805
805
-[ ] Tools.access lists all tool IDs (snake_case)
806
806
-[ ] Tools.config.tool returns correct tool ID (snake_case)
0 commit comments