feat(36-01): add EN/PL scope picker phrasebook copy, regenerate OpenAPI/TS schema, and update docs
This commit is contained in:
@@ -138,7 +138,7 @@ An MCP client then connects to `https://example.com/mcp` with an OAuth access to
|
||||
|
||||
| Identifier | Description |
|
||||
|------------|-------------|
|
||||
| `pier.Mount` | Reads the `mcp.*` keys and, with `mcp.enabled` true, compiles every plugin's declaration, registers the built-in backend guard provider and mounts POST, GET and DELETE at `mcp.path` through the host's streaming route kind behind `throttle:<mcp.throttle>`; a bad declaration or a route already at the path fails with an error naming the plugin. Called by surf's tagged mount hook. |
|
||||
| `pier.Mount` | Reads the `mcp.*` keys and, with `mcp.enabled` true, compiles every plugin's declaration, checks backend non-`GET`/`HEAD` tools against non-`*` token scopes via `cabana.TokenScopeCovers` (emitting one structured warning per plugin with uncovered write tools without failing boot), registers the built-in backend guard provider and mounts POST, GET and DELETE at `mcp.path` through the host's streaming route kind behind `throttle:<mcp.throttle>`; a bad declaration or a route already at the path fails with an error naming the plugin. Called by surf's tagged mount hook. |
|
||||
| `pier.Host` | What pier needs from the router: `Routes`, `Handler` (the compiled chain of one route, resolved lazily), `MountStream`, `MountJSON` and `Owner`. surf passes an adapter. |
|
||||
| `pier.RouteInfo` | One registered route: method, pattern, plugin id and middleware names. |
|
||||
| `pier.PluginID` | `summercms.pier`, the pseudo-plugin id of pier's routes in the route table. |
|
||||
|
||||
Reference in New Issue
Block a user