plur_scopes_discover
Identify which scopes your remote token is authorized for and compare with locally registered scopes. Optionally register all authorized-but-unregistered shared scopes in one step.
Instructions
Discover which scopes your remote token is authorized for via the enterprise server (GET /api/v1/me), and which of those are not yet registered locally. Read-only by default; pass register:true to register all authorized-but-unregistered scopes in one step. Only shared-family scopes (group:/project:/space:/team:/org:/public) are auto-registered — personal-family scopes (global/local/user:/agent:) advertised by /me are skipped and surfaced in the result. Use this when you have access to multiple team scopes on one server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Limit discovery to this remote URL (default: all configured remote stores) | |
| register | No | Register all authorized-but-unregistered scopes (default false — discovery is read-only) |