docs(mcp): document MCP OAuth authorization
The MCP subsystem guide and the MCP manager decision record cover OAuth authorization; the generated catalogs and module graph list the OAuth surfaces and the account UI.
This commit is contained in:
1 parent
7234ba1bac
commit
06a72d264c
12 files changed
+122
-30
No files matched your search
@@ -9,8 +9,8 @@
|
||||
en: 7115cbaefaa11d2d
|
||||
zh: 23aff8797a651a36
|
||||
/agent-note-settings-driven-mcp-server-manager/decision:
|
||||
en: b05e8663c8be1af5
|
||||
zh: 0a34eccaea0e83b6
|
||||
en: 44c2e3e6b7a6bc87
|
||||
zh: fe83a4ffb0975678
|
||||
/agent-note-settings-driven-mcp-server-manager/alternatives-considered:
|
||||
en: daad4acd963926cc
|
||||
zh: 152f3d35a4fe3309
|
||||
|
||||
@@ -32,7 +32,7 @@ Installed application plugins also bring their own servers. Each must add its se
|
||||
|
||||
**The manager is its own Remote surface.** `McpServerManager` is a Typert Remote service: `watch` streams the complete server list on subscription and after every status or entry change, and `restart` and `probe` call the Host operations. Configuration writes remain on the Settings Remote, and the manager exposes no write method, so a browser cannot define a server command.
|
||||
|
||||
OAuth is deliberately out of scope: the credential-record and authorization seams plus the MCP SDK's `OAuthClientProvider` are the intended home, and a `needs-auth` status state is reserved for that change.
|
||||
**OAuth stays on the credential and authorization seams.** The MCP SDK's `OAuthClientProvider` runs inside mcp-client: passive connections use committed grants and enter `waiting-authorization` when none is usable, while explicit sign-in runs through the manager's `startAuthorization` and the authorization seam. Each entry owns one stable `mcp-client/<id>` credential key.
|
||||
|
||||
## Alternatives considered
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ Status: implemented
|
||||
|
||||
**管理器自身即 Remote 面。** `McpServerManager` 是 Typert Remote 服务:`watch` 在订阅时以及每次状态或条目变化后推送完整服务器列表,`restart` 与 `probe` 调用宿主操作。配置写入仍走 Settings Remote,管理器不提供写入方法,因此浏览器无法定义服务器命令。
|
||||
|
||||
OAuth 刻意不在本次范围内:凭据记录与 authorization seam 加 MCP SDK 的 `OAuthClientProvider` 是预期归宿,`needs-auth` 状态位为那次变更保留。
|
||||
**OAuth 留在凭据与 authorization seam 上。** MCP SDK 的 `OAuthClientProvider` 在 mcp-client 内运行:被动连接只使用已提交的授权,没有可用授权时进入 `waiting-authorization`;显式登录经管理器的 `startAuthorization` 与 authorization seam 完成。每个条目拥有一个稳定的 `mcp-client/<id>` 凭据 key。
|
||||
|
||||
## 曾考虑的替代方案
|
||||
|
||||
|
||||
+22
-3
@@ -2248,7 +2248,7 @@ export interface LspLocalServerConfig {
|
||||
## `@deepseek-ai/dsh-mcp-client`
|
||||
|
||||
- `inject`: `tools`
|
||||
- `source`: [`packages/mcp/mcp-client/src/index.ts:138`](../packages/mcp/mcp-client/src/index.ts)
|
||||
- `source`: [`packages/mcp/mcp-client/src/index.ts:144`](../packages/mcp/mcp-client/src/index.ts)
|
||||
|
||||
```ts config-catalog
|
||||
/** Configuration for one stdio or Streamable HTTP MCP server. */
|
||||
@@ -2290,6 +2290,8 @@ export interface StdioConfig {
|
||||
|
||||
/** Config for connecting to an MCP server over Streamable HTTP (SSE). */
|
||||
export interface StreamableHttpConfig {
|
||||
/** Optional per-entry OAuth identity; passive connections never start browser authorization. */
|
||||
oauth?: McpOAuthConfig
|
||||
/** Selects Streamable HTTP transport. */
|
||||
transport: 'streamable-http'
|
||||
/**
|
||||
@@ -2329,6 +2331,20 @@ export interface ReconnectConfig {
|
||||
/** Consecutive failed attempts per outage before giving up for good (default 10). */
|
||||
maxAttempts?: number
|
||||
}
|
||||
|
||||
/** One server's credential identity and authorization budgets. */
|
||||
export interface McpOAuthConfig {
|
||||
/** Stable `mcp-client/<id>` credential-record address, unique per managed entry. */
|
||||
credentialKey: string
|
||||
/** Pre-registered public client; omission enables explicit dynamic registration. */
|
||||
clientId?: string
|
||||
/** Requested scope; omission uses the server's challenge. */
|
||||
scope?: string
|
||||
/** Deadline for each authorization-server request, in milliseconds (default 10000). */
|
||||
requestTimeoutMs: number
|
||||
/** Deadline through the browser callback and token exchange, in milliseconds (default 600000). */
|
||||
authorizationTimeoutMs: number
|
||||
}
|
||||
```
|
||||
<!-- END GENERATED config-catalog:@deepseek-ai/dsh-mcp-client -->
|
||||
|
||||
@@ -2338,8 +2354,8 @@ export interface ReconnectConfig {
|
||||
## `@deepseek-ai/dsh-mcp-manager`
|
||||
|
||||
- `inject`: `tools`
|
||||
- `refs`: [`ReconnectConfig`](../packages/mcp/mcp-client/src/index.ts) · `Volatile` (`@deepseek-ai/cordis`)
|
||||
- `source`: [`packages/mcp/mcp-manager/src/index.ts:71`](../packages/mcp/mcp-manager/src/index.ts)
|
||||
- `refs`: [`McpOAuthConfig`](../packages/mcp/mcp-client/src/index.ts) · [`ReconnectConfig`](../packages/mcp/mcp-client/src/index.ts) · `Volatile` (`@deepseek-ai/cordis`)
|
||||
- `source`: [`packages/mcp/mcp-manager/src/index.ts:76`](../packages/mcp/mcp-manager/src/index.ts)
|
||||
|
||||
```ts config-catalog
|
||||
/** Manager configuration with live server entries. */
|
||||
@@ -2355,6 +2371,8 @@ export interface Config {
|
||||
* would not.
|
||||
*/
|
||||
export interface McpManagedServerEntry {
|
||||
/** Optional OAuth configuration; each entry owns a distinct stable credential key. */
|
||||
oauth?: McpOAuthConfig
|
||||
/** Which transport the instance uses. */
|
||||
transport: 'stdio' | 'streamable-http'
|
||||
/** stdio: executable used to start the server; `''` while unset. */
|
||||
@@ -4787,6 +4805,7 @@ These load from a `cordis.yml` entry with no `config:` block; they declare no co
|
||||
| `@deepseek-ai/dsh-client-ui-input-trigger` | — | [`packages/client/ui-input-trigger/src/index.ts`](../packages/client/ui-input-trigger/src/index.ts) |
|
||||
| `@deepseek-ai/dsh-client-ui-jobs` | — | [`packages/client/ui-jobs/src/index.ts`](../packages/client/ui-jobs/src/index.ts) |
|
||||
| `@deepseek-ai/dsh-client-ui-layout` | — | [`packages/client/ui-layout/src/index.ts`](../packages/client/ui-layout/src/index.ts) |
|
||||
| `@deepseek-ai/dsh-client-ui-mcp-account` | — | [`packages/client/ui-mcp-account/src/index.ts`](../packages/client/ui-mcp-account/src/index.ts) |
|
||||
| `@deepseek-ai/dsh-client-ui-message-feedback` | — | [`packages/client/ui-message-feedback/src/index.ts`](../packages/client/ui-message-feedback/src/index.ts) |
|
||||
| `@deepseek-ai/dsh-client-ui-model-selection` | — | [`packages/client/ui-model-selection/src/index.ts`](../packages/client/ui-model-selection/src/index.ts) |
|
||||
| `@deepseek-ai/dsh-client-ui-open-in-app` | — | [`packages/client/ui-open-in-app/src/index.ts`](../packages/client/ui-open-in-app/src/index.ts) |
|
||||
|
||||
@@ -2250,7 +2250,7 @@ export interface LspLocalServerConfig {
|
||||
## `@deepseek-ai/dsh-mcp-client`
|
||||
|
||||
- `inject`: `tools`
|
||||
- `source`: [`packages/mcp/mcp-client/src/index.ts:138`](../packages/mcp/mcp-client/src/index.ts)
|
||||
- `source`: [`packages/mcp/mcp-client/src/index.ts:144`](../packages/mcp/mcp-client/src/index.ts)
|
||||
|
||||
```ts config-catalog
|
||||
/** Configuration for one stdio or Streamable HTTP MCP server. */
|
||||
@@ -2292,6 +2292,8 @@ export interface StdioConfig {
|
||||
|
||||
/** Config for connecting to an MCP server over Streamable HTTP (SSE). */
|
||||
export interface StreamableHttpConfig {
|
||||
/** Optional per-entry OAuth identity; passive connections never start browser authorization. */
|
||||
oauth?: McpOAuthConfig
|
||||
/** Selects Streamable HTTP transport. */
|
||||
transport: 'streamable-http'
|
||||
/**
|
||||
@@ -2331,6 +2333,20 @@ export interface ReconnectConfig {
|
||||
/** Consecutive failed attempts per outage before giving up for good (default 10). */
|
||||
maxAttempts?: number
|
||||
}
|
||||
|
||||
/** One server's credential identity and authorization budgets. */
|
||||
export interface McpOAuthConfig {
|
||||
/** Stable `mcp-client/<id>` credential-record address, unique per managed entry. */
|
||||
credentialKey: string
|
||||
/** Pre-registered public client; omission enables explicit dynamic registration. */
|
||||
clientId?: string
|
||||
/** Requested scope; omission uses the server's challenge. */
|
||||
scope?: string
|
||||
/** Deadline for each authorization-server request, in milliseconds (default 10000). */
|
||||
requestTimeoutMs: number
|
||||
/** Deadline through the browser callback and token exchange, in milliseconds (default 600000). */
|
||||
authorizationTimeoutMs: number
|
||||
}
|
||||
```
|
||||
<!-- END GENERATED config-catalog:@deepseek-ai/dsh-mcp-client -->
|
||||
|
||||
@@ -2340,8 +2356,8 @@ export interface ReconnectConfig {
|
||||
## `@deepseek-ai/dsh-mcp-manager`
|
||||
|
||||
- `inject`: `tools`
|
||||
- `refs`: [`ReconnectConfig`](../packages/mcp/mcp-client/src/index.ts) · `Volatile` (`@deepseek-ai/cordis`)
|
||||
- `source`: [`packages/mcp/mcp-manager/src/index.ts:71`](../packages/mcp/mcp-manager/src/index.ts)
|
||||
- `refs`: [`McpOAuthConfig`](../packages/mcp/mcp-client/src/index.ts) · [`ReconnectConfig`](../packages/mcp/mcp-client/src/index.ts) · `Volatile` (`@deepseek-ai/cordis`)
|
||||
- `source`: [`packages/mcp/mcp-manager/src/index.ts:76`](../packages/mcp/mcp-manager/src/index.ts)
|
||||
|
||||
```ts config-catalog
|
||||
/** Manager configuration with live server entries. */
|
||||
@@ -2357,6 +2373,8 @@ export interface Config {
|
||||
* would not.
|
||||
*/
|
||||
export interface McpManagedServerEntry {
|
||||
/** Optional OAuth configuration; each entry owns a distinct stable credential key. */
|
||||
oauth?: McpOAuthConfig
|
||||
/** Which transport the instance uses. */
|
||||
transport: 'stdio' | 'streamable-http'
|
||||
/** stdio: executable used to start the server; `''` while unset. */
|
||||
@@ -4789,6 +4807,7 @@ export interface Config {
|
||||
| `@deepseek-ai/dsh-client-ui-input-trigger` | — | [`packages/client/ui-input-trigger/src/index.ts`](../packages/client/ui-input-trigger/src/index.ts) |
|
||||
| `@deepseek-ai/dsh-client-ui-jobs` | — | [`packages/client/ui-jobs/src/index.ts`](../packages/client/ui-jobs/src/index.ts) |
|
||||
| `@deepseek-ai/dsh-client-ui-layout` | — | [`packages/client/ui-layout/src/index.ts`](../packages/client/ui-layout/src/index.ts) |
|
||||
| `@deepseek-ai/dsh-client-ui-mcp-account` | — | [`packages/client/ui-mcp-account/src/index.ts`](../packages/client/ui-mcp-account/src/index.ts) |
|
||||
| `@deepseek-ai/dsh-client-ui-message-feedback` | — | [`packages/client/ui-message-feedback/src/index.ts`](../packages/client/ui-message-feedback/src/index.ts) |
|
||||
| `@deepseek-ai/dsh-client-ui-model-selection` | — | [`packages/client/ui-model-selection/src/index.ts`](../packages/client/ui-model-selection/src/index.ts) |
|
||||
| `@deepseek-ai/dsh-client-ui-open-in-app` | — | [`packages/client/ui-open-in-app/src/index.ts`](../packages/client/ui-open-in-app/src/index.ts) |
|
||||
|
||||
@@ -40,7 +40,7 @@ This matrix shows which packages dispatch each harness-owned event and which pac
|
||||
| `cordis/inspect-query-resolved` | `emit` | [`packages/extensions/cordis-host-runner/src/types.ts:401`](../packages/extensions/cordis-host-runner/src/types.ts) | [`cordis-host-runner`](../packages/extensions/cordis-host-runner) (`emit`) | `remotes` |
|
||||
| `cordis/request-run` | `emit` | [`packages/extensions/cordis-host-runner/src/types.ts:371`](../packages/extensions/cordis-host-runner/src/types.ts) | [`cordis-host-runner`](../packages/extensions/cordis-host-runner) (`emit`) | `remotes` |
|
||||
| `cordis/request-run-resolved` | `emit` | [`packages/extensions/cordis-host-runner/src/types.ts:377`](../packages/extensions/cordis-host-runner/src/types.ts) | [`cordis-host-runner`](../packages/extensions/cordis-host-runner) (`emit`) | `remotes` |
|
||||
| `credentials/record-updated` | `emit` | [`packages/credentials/credentials/src/types.ts:99`](../packages/credentials/credentials/src/types.ts) | [`credentials`](../packages/credentials/credentials) (`events.dispatch`) | [`authorization`](../packages/credentials/authorization), [`deepseek-account-platform`](../packages/credentials/deepseek-account-platform), `remotes` |
|
||||
| `credentials/record-updated` | `emit` | [`packages/credentials/credentials/src/types.ts:99`](../packages/credentials/credentials/src/types.ts) | [`credentials`](../packages/credentials/credentials) (`events.dispatch`) | [`authorization`](../packages/credentials/authorization), [`deepseek-account-platform`](../packages/credentials/deepseek-account-platform), [`mcp-client`](../packages/mcp/mcp-client), `remotes` |
|
||||
| `credentials/reference-updated` | `emit` | [`packages/credentials/credentials/src/types.ts:87`](../packages/credentials/credentials/src/types.ts) | [`credentials`](../packages/credentials/credentials) (`events.dispatch`) | [`mcp-client`](../packages/mcp/mcp-client), `remotes` |
|
||||
| `deepseek-account/model-sign-in-required` | `emit` | [`packages/credentials/deepseek-account/src/types.ts:97`](../packages/credentials/deepseek-account/src/types.ts) | [`deepseek-account`](../packages/credentials/deepseek-account) (`emit`) | `remotes` |
|
||||
| `deepseek-account/session-expired` | `emit` | [`packages/credentials/deepseek-account/src/types.ts:93`](../packages/credentials/deepseek-account/src/types.ts) | [`deepseek-account-platform`](../packages/credentials/deepseek-account-platform) (`emit`) | `account-controller`, `remotes` |
|
||||
@@ -56,7 +56,7 @@ This matrix shows which packages dispatch each harness-owned event and which pac
|
||||
| `hmr/reload` | `emit` | [`packages/boot/hmr/src/index.ts:40`](../packages/boot/hmr/src/index.ts) | [`hmr`](../packages/boot/hmr) (`emit`) | - |
|
||||
| `llm/adapters-updated` | `emit` | [`packages/llm/llm/src/types.ts:23`](../packages/llm/llm/src/types.ts) | [`llm`](../packages/llm/llm) (`events.dispatch`) | [`acp`](../packages/acp/acp), `remotes` |
|
||||
| `llm/stream` | `waterfall` | [`packages/llm/llm/src/index.ts:75`](../packages/llm/llm/src/index.ts) | [`llm`](../packages/llm/llm) (`waterfall`) | [`llm-replay`](../packages/test-support/llm-replay), [`session-checkpoint-policy`](../packages/session/session-checkpoint-policy), [`session-title`](../packages/session/session-title) |
|
||||
| `mcp-manager/status` | `parallel` | [`packages/mcp/mcp-manager/src/types.ts:46`](../packages/mcp/mcp-manager/src/types.ts) | [`mcp-manager`](../packages/mcp/mcp-manager) (`parallel`) | - |
|
||||
| `mcp-manager/status` | `parallel` | [`packages/mcp/mcp-manager/src/types.ts:49`](../packages/mcp/mcp-manager/src/types.ts) | [`mcp-manager`](../packages/mcp/mcp-manager) (`parallel`) | - |
|
||||
| `permission-presets/catalog-changed` | `emit` | [`packages/interaction/permission-presets/src/types.ts:48`](../packages/interaction/permission-presets/src/types.ts) | [`permission-presets`](../packages/interaction/permission-presets) (`events.dispatch`) | `remotes` |
|
||||
| `plugin-manager/changed` | `emit` | [`packages/boot/plugin-manager/src/types.ts:392`](../packages/boot/plugin-manager/src/types.ts) | [`plugin-manager`](../packages/boot/plugin-manager) (`emit`) | `remotes` |
|
||||
| `plugin-manager/install-log` | `emit` | [`packages/boot/plugin-manager/src/types.ts:398`](../packages/boot/plugin-manager/src/types.ts) | [`plugin-manager`](../packages/boot/plugin-manager) (`emit`) | `remotes` |
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
| `cordis/inspect-query-resolved` | `emit` | [`packages/extensions/cordis-host-runner/src/types.ts:401`](../packages/extensions/cordis-host-runner/src/types.ts) | [`cordis-host-runner`](../packages/extensions/cordis-host-runner) (`emit`) | `remotes` |
|
||||
| `cordis/request-run` | `emit` | [`packages/extensions/cordis-host-runner/src/types.ts:371`](../packages/extensions/cordis-host-runner/src/types.ts) | [`cordis-host-runner`](../packages/extensions/cordis-host-runner) (`emit`) | `remotes` |
|
||||
| `cordis/request-run-resolved` | `emit` | [`packages/extensions/cordis-host-runner/src/types.ts:377`](../packages/extensions/cordis-host-runner/src/types.ts) | [`cordis-host-runner`](../packages/extensions/cordis-host-runner) (`emit`) | `remotes` |
|
||||
| `credentials/record-updated` | `emit` | [`packages/credentials/credentials/src/types.ts:99`](../packages/credentials/credentials/src/types.ts) | [`credentials`](../packages/credentials/credentials) (`events.dispatch`) | [`authorization`](../packages/credentials/authorization), [`deepseek-account-platform`](../packages/credentials/deepseek-account-platform), `remotes` |
|
||||
| `credentials/record-updated` | `emit` | [`packages/credentials/credentials/src/types.ts:99`](../packages/credentials/credentials/src/types.ts) | [`credentials`](../packages/credentials/credentials) (`events.dispatch`) | [`authorization`](../packages/credentials/authorization), [`deepseek-account-platform`](../packages/credentials/deepseek-account-platform), [`mcp-client`](../packages/mcp/mcp-client), `remotes` |
|
||||
| `credentials/reference-updated` | `emit` | [`packages/credentials/credentials/src/types.ts:87`](../packages/credentials/credentials/src/types.ts) | [`credentials`](../packages/credentials/credentials) (`events.dispatch`) | [`mcp-client`](../packages/mcp/mcp-client), `remotes` |
|
||||
| `deepseek-account/model-sign-in-required` | `emit` | [`packages/credentials/deepseek-account/src/types.ts:97`](../packages/credentials/deepseek-account/src/types.ts) | [`deepseek-account`](../packages/credentials/deepseek-account) (`emit`) | `remotes` |
|
||||
| `deepseek-account/session-expired` | `emit` | [`packages/credentials/deepseek-account/src/types.ts:93`](../packages/credentials/deepseek-account/src/types.ts) | [`deepseek-account-platform`](../packages/credentials/deepseek-account-platform) (`emit`) | `account-controller`, `remotes` |
|
||||
@@ -58,7 +58,7 @@
|
||||
| `hmr/reload` | `emit` | [`packages/boot/hmr/src/index.ts:40`](../packages/boot/hmr/src/index.ts) | [`hmr`](../packages/boot/hmr) (`emit`) | - |
|
||||
| `llm/adapters-updated` | `emit` | [`packages/llm/llm/src/types.ts:23`](../packages/llm/llm/src/types.ts) | [`llm`](../packages/llm/llm) (`events.dispatch`) | [`acp`](../packages/acp/acp), `remotes` |
|
||||
| `llm/stream` | `waterfall` | [`packages/llm/llm/src/index.ts:75`](../packages/llm/llm/src/index.ts) | [`llm`](../packages/llm/llm) (`waterfall`) | [`llm-replay`](../packages/test-support/llm-replay), [`session-checkpoint-policy`](../packages/session/session-checkpoint-policy), [`session-title`](../packages/session/session-title) |
|
||||
| `mcp-manager/status` | `parallel` | [`packages/mcp/mcp-manager/src/types.ts:46`](../packages/mcp/mcp-manager/src/types.ts) | [`mcp-manager`](../packages/mcp/mcp-manager) (`parallel`) | - |
|
||||
| `mcp-manager/status` | `parallel` | [`packages/mcp/mcp-manager/src/types.ts:49`](../packages/mcp/mcp-manager/src/types.ts) | [`mcp-manager`](../packages/mcp/mcp-manager) (`parallel`) | - |
|
||||
| `permission-presets/catalog-changed` | `emit` | [`packages/interaction/permission-presets/src/types.ts:48`](../packages/interaction/permission-presets/src/types.ts) | [`permission-presets`](../packages/interaction/permission-presets) (`events.dispatch`) | `remotes` |
|
||||
| `plugin-manager/changed` | `emit` | [`packages/boot/plugin-manager/src/types.ts:392`](../packages/boot/plugin-manager/src/types.ts) | [`plugin-manager`](../packages/boot/plugin-manager) (`emit`) | `remotes` |
|
||||
| `plugin-manager/install-log` | `emit` | [`packages/boot/plugin-manager/src/types.ts:398`](../packages/boot/plugin-manager/src/types.ts) | [`plugin-manager`](../packages/boot/plugin-manager) (`emit`) | `remotes` |
|
||||
|
||||
@@ -172,6 +172,7 @@ flowchart TD
|
||||
pkg_client_ui_input_trigger["client-ui-input-trigger"]
|
||||
pkg_client_ui_jobs["client-ui-jobs"]
|
||||
pkg_client_ui_layout["client-ui-layout"]
|
||||
pkg_client_ui_mcp_account["client-ui-mcp-account"]
|
||||
pkg_client_ui_message_feedback["client-ui-message-feedback"]
|
||||
pkg_client_ui_model_selection["client-ui-model-selection"]
|
||||
pkg_client_ui_open_in_app["client-ui-open-in-app"]
|
||||
@@ -1098,7 +1099,9 @@ flowchart TD
|
||||
pkg_host_plugin_inventory --> pkg_brand
|
||||
pkg_host_plugin_inventory --> pkg_typert_protocol
|
||||
pkg_mcp_client --> pkg_attachment
|
||||
pkg_mcp_client --> pkg_authorization
|
||||
pkg_mcp_client --> pkg_credentials
|
||||
pkg_mcp_client --> pkg_host_webserver
|
||||
pkg_mcp_client --> pkg_llm
|
||||
pkg_mcp_client --> pkg_mcp_resources
|
||||
pkg_mcp_client --> pkg_scope
|
||||
@@ -1236,6 +1239,7 @@ flowchart TD
|
||||
pkg_webhook_github --> pkg_host_webserver
|
||||
pkg_webhook_github --> pkg_session
|
||||
pkg_webhook_github --> pkg_webhook
|
||||
pkg_mcp_manager --> pkg_credentials
|
||||
pkg_mcp_manager --> pkg_mcp_client
|
||||
pkg_mcp_manager --> pkg_tools
|
||||
pkg_mcp_manager --> pkg_typert_protocol
|
||||
@@ -1505,6 +1509,7 @@ flowchart TD
|
||||
| [`client-ui-input-trigger`](../packages/client/ui-input-trigger) | `client` | — |
|
||||
| [`client-ui-jobs`](../packages/client/ui-jobs) | `client` | — |
|
||||
| [`client-ui-layout`](../packages/client/ui-layout) | `client` | — |
|
||||
| [`client-ui-mcp-account`](../packages/client/ui-mcp-account) | `client` | — |
|
||||
| [`client-ui-message-feedback`](../packages/client/ui-message-feedback) | `client` | — |
|
||||
| [`client-ui-model-selection`](../packages/client/ui-model-selection) | `client` | — |
|
||||
| [`client-ui-open-in-app`](../packages/client/ui-open-in-app) | `client` | — |
|
||||
@@ -1752,7 +1757,7 @@ flowchart TD
|
||||
| [`webhook`](../packages/experimental/webhook) | `experimental` | [`agent`](../packages/core/agent), [`agent-default-model`](../packages/core/agent-default-model), [`agent-preset-registry`](../packages/preset/agent-preset-registry), [`llm`](../packages/llm/llm), [`permission-presets`](../packages/interaction/permission-presets), [`session`](../packages/core/session), [`session-title`](../packages/session/session-title), [`workspace`](../packages/workspace/workspace) |
|
||||
| [`tool-cordis`](../packages/extensions/tool-cordis) | `extensions` | [`agent`](../packages/core/agent), [`app-boot`](../packages/boot/app-boot), [`cordis-host-runner`](../packages/extensions/cordis-host-runner), [`tools`](../packages/core/tools) |
|
||||
| [`host-plugin-inventory`](../packages/host/plugin-inventory) | `host` | [`agent-preset-registry`](../packages/preset/agent-preset-registry), [`brand`](../packages/util/brand), [`typert-protocol`](../packages/typert/protocol) |
|
||||
| [`mcp-client`](../packages/mcp/mcp-client) | `mcp` | [`attachment`](../packages/attachment/attachment), [`credentials`](../packages/credentials/credentials), [`llm`](../packages/llm/llm), [`mcp-resources`](../packages/mcp/mcp-resources), [`scope`](../packages/core/scope), [`subprocess`](../packages/subprocess/subprocess), [`system-prompt`](../packages/core/system-prompt), [`timeout`](../packages/util/timeout), [`tools`](../packages/core/tools) |
|
||||
| [`mcp-client`](../packages/mcp/mcp-client) | `mcp` | [`attachment`](../packages/attachment/attachment), [`authorization`](../packages/credentials/authorization), [`credentials`](../packages/credentials/credentials), [`host-webserver`](../packages/host/webserver), [`llm`](../packages/llm/llm), [`mcp-resources`](../packages/mcp/mcp-resources), [`scope`](../packages/core/scope), [`subprocess`](../packages/subprocess/subprocess), [`system-prompt`](../packages/core/system-prompt), [`timeout`](../packages/util/timeout), [`tools`](../packages/core/tools) |
|
||||
| [`agent-preset`](../packages/preset/agent-preset) | `preset` | [`agent-preset-registry`](../packages/preset/agent-preset-registry) |
|
||||
| [`session-telemetry-otel`](../packages/session/session-telemetry-otel) | `session` | [`anonymous-user-id`](../packages/identity/anonymous-user-id), [`command-feedback`](../packages/feedback/command-feedback), [`llm`](../packages/llm/llm), [`message-feedback`](../packages/feedback/message-feedback), [`otel`](../packages/telemetry/otel), [`session`](../packages/core/session), [`session-telemetry`](../packages/session/session-telemetry) |
|
||||
| [`tool-bash`](../packages/shell/tool-bash) | `shell` | [`agent`](../packages/core/agent), [`jobs`](../packages/jobs/jobs), [`llm`](../packages/llm/llm), [`sandbox`](../packages/sandbox/sandbox), [`sandbox-policy`](../packages/sandbox/sandbox-policy), [`shell`](../packages/shell/shell), [`shell-env`](../packages/shell/shell-env), [`system-prompt`](../packages/core/system-prompt), [`tools`](../packages/core/tools), [`user-approval`](../packages/interaction/user-approval), [`working-directory`](../packages/session/working-directory) |
|
||||
@@ -1771,7 +1776,7 @@ flowchart TD
|
||||
| [`experimental-claude-code-mods`](../packages/experimental/claude-code-mods) | `experimental` | [`agent`](../packages/core/agent), [`commands`](../packages/interaction/commands), [`fs`](../packages/fs/fs), [`llm`](../packages/llm/llm), [`scope`](../packages/core/scope), [`session`](../packages/core/session), [`storage-domain`](../packages/storage/storage-domain), [`subprocess`](../packages/subprocess/subprocess), [`token-meter`](../packages/llm/token-meter), [`tools`](../packages/core/tools), [`typert-protocol`](../packages/typert/protocol), [`user-questions`](../packages/interaction/user-questions), [`working-directory`](../packages/session/working-directory) |
|
||||
| [`tool-session-query`](../packages/experimental/tool-session-query) | `experimental` | [`agent`](../packages/core/agent), [`llm`](../packages/llm/llm), [`session`](../packages/core/session), [`session-query`](../packages/session-query/session-query), [`system-prompt`](../packages/core/system-prompt), [`timeout`](../packages/util/timeout), [`tools`](../packages/core/tools) |
|
||||
| [`webhook-github`](../packages/experimental/webhook-github) | `experimental` | [`credentials`](../packages/credentials/credentials), [`host-webserver`](../packages/host/webserver), [`session`](../packages/core/session), [`webhook`](../packages/experimental/webhook) |
|
||||
| [`mcp-manager`](../packages/mcp/mcp-manager) | `mcp` | [`mcp-client`](../packages/mcp/mcp-client), [`tools`](../packages/core/tools), [`typert-protocol`](../packages/typert/protocol), [`util-values`](../packages/util/values) |
|
||||
| [`mcp-manager`](../packages/mcp/mcp-manager) | `mcp` | [`credentials`](../packages/credentials/credentials), [`mcp-client`](../packages/mcp/mcp-client), [`tools`](../packages/core/tools), [`typert-protocol`](../packages/typert/protocol), [`util-values`](../packages/util/values) |
|
||||
| [`goal-round-driver`](../packages/goal/goal-round-driver) | `goal` | [`agent`](../packages/core/agent), [`goal`](../packages/goal/goal), [`llm`](../packages/llm/llm), [`session`](../packages/core/session), [`subagent`](../packages/subagent/subagent) |
|
||||
| [`subagent-acp`](../packages/subagent/subagent-acp) | `subagent` | [`agent`](../packages/core/agent), [`llm`](../packages/llm/llm), [`session`](../packages/core/session), [`subagent`](../packages/subagent/subagent), [`subprocess`](../packages/subprocess/subprocess), [`timeout`](../packages/util/timeout) |
|
||||
| [`subagent-claude-code`](../packages/subagent/subagent-claude-code) | `subagent` | [`llm`](../packages/llm/llm), [`session`](../packages/core/session), [`subagent`](../packages/subagent/subagent), [`subprocess`](../packages/subprocess/subprocess), [`timeout`](../packages/util/timeout) |
|
||||
|
||||
@@ -174,6 +174,7 @@ flowchart TD
|
||||
pkg_client_ui_input_trigger["client-ui-input-trigger"]
|
||||
pkg_client_ui_jobs["client-ui-jobs"]
|
||||
pkg_client_ui_layout["client-ui-layout"]
|
||||
pkg_client_ui_mcp_account["client-ui-mcp-account"]
|
||||
pkg_client_ui_message_feedback["client-ui-message-feedback"]
|
||||
pkg_client_ui_model_selection["client-ui-model-selection"]
|
||||
pkg_client_ui_open_in_app["client-ui-open-in-app"]
|
||||
@@ -1100,7 +1101,9 @@ flowchart TD
|
||||
pkg_host_plugin_inventory --> pkg_brand
|
||||
pkg_host_plugin_inventory --> pkg_typert_protocol
|
||||
pkg_mcp_client --> pkg_attachment
|
||||
pkg_mcp_client --> pkg_authorization
|
||||
pkg_mcp_client --> pkg_credentials
|
||||
pkg_mcp_client --> pkg_host_webserver
|
||||
pkg_mcp_client --> pkg_llm
|
||||
pkg_mcp_client --> pkg_mcp_resources
|
||||
pkg_mcp_client --> pkg_scope
|
||||
@@ -1238,6 +1241,7 @@ flowchart TD
|
||||
pkg_webhook_github --> pkg_host_webserver
|
||||
pkg_webhook_github --> pkg_session
|
||||
pkg_webhook_github --> pkg_webhook
|
||||
pkg_mcp_manager --> pkg_credentials
|
||||
pkg_mcp_manager --> pkg_mcp_client
|
||||
pkg_mcp_manager --> pkg_tools
|
||||
pkg_mcp_manager --> pkg_typert_protocol
|
||||
@@ -1507,6 +1511,7 @@ flowchart TD
|
||||
| [`client-ui-input-trigger`](../packages/client/ui-input-trigger) | `client` | — |
|
||||
| [`client-ui-jobs`](../packages/client/ui-jobs) | `client` | — |
|
||||
| [`client-ui-layout`](../packages/client/ui-layout) | `client` | — |
|
||||
| [`client-ui-mcp-account`](../packages/client/ui-mcp-account) | `client` | — |
|
||||
| [`client-ui-message-feedback`](../packages/client/ui-message-feedback) | `client` | — |
|
||||
| [`client-ui-model-selection`](../packages/client/ui-model-selection) | `client` | — |
|
||||
| [`client-ui-open-in-app`](../packages/client/ui-open-in-app) | `client` | — |
|
||||
@@ -1754,7 +1759,7 @@ flowchart TD
|
||||
| [`webhook`](../packages/experimental/webhook) | `experimental` | [`agent`](../packages/core/agent), [`agent-default-model`](../packages/core/agent-default-model), [`agent-preset-registry`](../packages/preset/agent-preset-registry), [`llm`](../packages/llm/llm), [`permission-presets`](../packages/interaction/permission-presets), [`session`](../packages/core/session), [`session-title`](../packages/session/session-title), [`workspace`](../packages/workspace/workspace) |
|
||||
| [`tool-cordis`](../packages/extensions/tool-cordis) | `extensions` | [`agent`](../packages/core/agent), [`app-boot`](../packages/boot/app-boot), [`cordis-host-runner`](../packages/extensions/cordis-host-runner), [`tools`](../packages/core/tools) |
|
||||
| [`host-plugin-inventory`](../packages/host/plugin-inventory) | `host` | [`agent-preset-registry`](../packages/preset/agent-preset-registry), [`brand`](../packages/util/brand), [`typert-protocol`](../packages/typert/protocol) |
|
||||
| [`mcp-client`](../packages/mcp/mcp-client) | `mcp` | [`attachment`](../packages/attachment/attachment), [`credentials`](../packages/credentials/credentials), [`llm`](../packages/llm/llm), [`mcp-resources`](../packages/mcp/mcp-resources), [`scope`](../packages/core/scope), [`subprocess`](../packages/subprocess/subprocess), [`system-prompt`](../packages/core/system-prompt), [`timeout`](../packages/util/timeout), [`tools`](../packages/core/tools) |
|
||||
| [`mcp-client`](../packages/mcp/mcp-client) | `mcp` | [`attachment`](../packages/attachment/attachment), [`authorization`](../packages/credentials/authorization), [`credentials`](../packages/credentials/credentials), [`host-webserver`](../packages/host/webserver), [`llm`](../packages/llm/llm), [`mcp-resources`](../packages/mcp/mcp-resources), [`scope`](../packages/core/scope), [`subprocess`](../packages/subprocess/subprocess), [`system-prompt`](../packages/core/system-prompt), [`timeout`](../packages/util/timeout), [`tools`](../packages/core/tools) |
|
||||
| [`agent-preset`](../packages/preset/agent-preset) | `preset` | [`agent-preset-registry`](../packages/preset/agent-preset-registry) |
|
||||
| [`session-telemetry-otel`](../packages/session/session-telemetry-otel) | `session` | [`anonymous-user-id`](../packages/identity/anonymous-user-id), [`command-feedback`](../packages/feedback/command-feedback), [`llm`](../packages/llm/llm), [`message-feedback`](../packages/feedback/message-feedback), [`otel`](../packages/telemetry/otel), [`session`](../packages/core/session), [`session-telemetry`](../packages/session/session-telemetry) |
|
||||
| [`tool-bash`](../packages/shell/tool-bash) | `shell` | [`agent`](../packages/core/agent), [`jobs`](../packages/jobs/jobs), [`llm`](../packages/llm/llm), [`sandbox`](../packages/sandbox/sandbox), [`sandbox-policy`](../packages/sandbox/sandbox-policy), [`shell`](../packages/shell/shell), [`shell-env`](../packages/shell/shell-env), [`system-prompt`](../packages/core/system-prompt), [`tools`](../packages/core/tools), [`user-approval`](../packages/interaction/user-approval), [`working-directory`](../packages/session/working-directory) |
|
||||
@@ -1773,7 +1778,7 @@ flowchart TD
|
||||
| [`experimental-claude-code-mods`](../packages/experimental/claude-code-mods) | `experimental` | [`agent`](../packages/core/agent), [`commands`](../packages/interaction/commands), [`fs`](../packages/fs/fs), [`llm`](../packages/llm/llm), [`scope`](../packages/core/scope), [`session`](../packages/core/session), [`storage-domain`](../packages/storage/storage-domain), [`subprocess`](../packages/subprocess/subprocess), [`token-meter`](../packages/llm/token-meter), [`tools`](../packages/core/tools), [`typert-protocol`](../packages/typert/protocol), [`user-questions`](../packages/interaction/user-questions), [`working-directory`](../packages/session/working-directory) |
|
||||
| [`tool-session-query`](../packages/experimental/tool-session-query) | `experimental` | [`agent`](../packages/core/agent), [`llm`](../packages/llm/llm), [`session`](../packages/core/session), [`session-query`](../packages/session-query/session-query), [`system-prompt`](../packages/core/system-prompt), [`timeout`](../packages/util/timeout), [`tools`](../packages/core/tools) |
|
||||
| [`webhook-github`](../packages/experimental/webhook-github) | `experimental` | [`credentials`](../packages/credentials/credentials), [`host-webserver`](../packages/host/webserver), [`session`](../packages/core/session), [`webhook`](../packages/experimental/webhook) |
|
||||
| [`mcp-manager`](../packages/mcp/mcp-manager) | `mcp` | [`mcp-client`](../packages/mcp/mcp-client), [`tools`](../packages/core/tools), [`typert-protocol`](../packages/typert/protocol), [`util-values`](../packages/util/values) |
|
||||
| [`mcp-manager`](../packages/mcp/mcp-manager) | `mcp` | [`credentials`](../packages/credentials/credentials), [`mcp-client`](../packages/mcp/mcp-client), [`tools`](../packages/core/tools), [`typert-protocol`](../packages/typert/protocol), [`util-values`](../packages/util/values) |
|
||||
| [`goal-round-driver`](../packages/goal/goal-round-driver) | `goal` | [`agent`](../packages/core/agent), [`goal`](../packages/goal/goal), [`llm`](../packages/llm/llm), [`session`](../packages/core/session), [`subagent`](../packages/subagent/subagent) |
|
||||
| [`subagent-acp`](../packages/subagent/subagent-acp) | `subagent` | [`agent`](../packages/core/agent), [`llm`](../packages/llm/llm), [`session`](../packages/core/session), [`subagent`](../packages/subagent/subagent), [`subprocess`](../packages/subprocess/subprocess), [`timeout`](../packages/util/timeout) |
|
||||
| [`subagent-claude-code`](../packages/subagent/subagent-claude-code) | `subagent` | [`llm`](../packages/llm/llm), [`session`](../packages/core/session), [`subagent`](../packages/subagent/subagent), [`subprocess`](../packages/subprocess/subprocess), [`timeout`](../packages/util/timeout) |
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
en: 5c0aa5a2e528af97
|
||||
zh: ae2ba2297294e3de
|
||||
/mcp/configuration:
|
||||
en: ac3c1765cd3756da
|
||||
zh: f8c401e4c06fbd30
|
||||
en: 48fd114f7abcf18e
|
||||
zh: aca729611bac5997
|
||||
/mcp/responsibilities-and-scope:
|
||||
en: 1cd19cd40c8b010c
|
||||
zh: 37c9cdbc9e3edba0
|
||||
|
||||
+27
-5
@@ -23,7 +23,7 @@ Model Context Protocol (MCP) connects the model to tools supplied by external se
|
||||
|
||||
MCP servers are opt-in. Configure one `@deepseek-ai/dsh-mcp-client` entry per server in the intended Cordis scope. Every shipped profile supplies the [tool registry](tools.md) and mounts the shared resource service once; users configure only client entries. Callers with no visible configured server receive no MCP prompt text or tools in native or PTC mode.
|
||||
|
||||
The Web and Desktop profiles also mount the [MCP server manager](../../packages/mcp/mcp-manager/README.md) once. It runs servers configured through Settings and servers that installed plugins register for their own lifetime, and serves their status, restart, and probe operations to Remote clients.
|
||||
The Web and Desktop profiles also mount the [MCP server manager](../../packages/mcp/mcp-manager/README.md) once. It runs servers configured through Settings and servers that installed plugins register for their own lifetime, and serves their status, restart, and probe operations to Remote clients. A plugin that registers an OAuth server shows its account on the **Plugins** page through [`ui-mcp-account`](../../packages/client/ui-mcp-account/README.md).
|
||||
|
||||
| Choice | Configuration owner |
|
||||
|---|---|
|
||||
@@ -201,6 +201,27 @@ register(name: string, entry: McpServerRegistration): () => void
|
||||
* incomplete, options are invalid, or a required credentials provider is missing.
|
||||
*/
|
||||
async probe(name: string, options?: McpProbeOptions): Promise<McpProbeResult>
|
||||
|
||||
/**
|
||||
* Start explicit OAuth authorization, retaining the active grant until a successful commit.
|
||||
* @param name - configured or registered OAuth entry, including disabled entries.
|
||||
* @returns current attempt progress; absent services, changing entries, or failed cleanup reject.
|
||||
*/
|
||||
@Remote async startAuthorization(name: string): Promise<McpOAuthAttemptView>
|
||||
|
||||
/**
|
||||
* Cancel the selected attempt and drain its work; an admitted credential commit completes.
|
||||
* @param name - managed entry.
|
||||
* @param id - selected attempt; stale or absent attempts are ignored.
|
||||
*/
|
||||
@Remote async cancelAuthorization(name: string, id: McpOAuthAttemptId): Promise<void>
|
||||
|
||||
/**
|
||||
* Drain authorization, probes, and connections before deleting the local grant; retain client registration.
|
||||
* A configuration change before deletion preserves the grant and rejects.
|
||||
* @param name - configured or registered OAuth entry; cleanup failure preserves the grant and blocks replacement.
|
||||
*/
|
||||
@Remote async signOut(name: string): Promise<void>
|
||||
```
|
||||
|
||||
Source: [`packages/mcp/mcp-manager/src/index.ts`](../../packages/mcp/mcp-manager/src/index.ts)
|
||||
@@ -213,13 +234,14 @@ Source: [`packages/mcp/mcp-manager/src/index.ts`](../../packages/mcp/mcp-manager
|
||||
|
||||
#### `mcp-manager/status` — parallel
|
||||
|
||||
One managed server's status transitioned. Emitted for every published change while the manager is live and either the entry is configured or registered, or a runtime record remains. Removed entries may emit cleanup failures; `watch` and `list()` report removals. Lifecycle operations do not wait for listeners. Synchronous throws and returned promise rejections are logged without skipping other listeners.
|
||||
A managed server's connection status or authorization view changed; read `list()` for the current authorization view. Emitted while the manager is live and either the entry is configured or registered, or a runtime record remains. Removed entries may emit cleanup failures; `watch` and `list()` report removals. Lifecycle operations do not wait for listeners. Synchronous throws and returned promise rejections are logged without skipping other listeners.
|
||||
|
||||
```ts cordis-catalog
|
||||
/**
|
||||
* One managed server's status transitioned. Emitted for every published
|
||||
* change while the manager is live and either the entry is configured or
|
||||
* registered, or a runtime record remains. Removed entries may emit cleanup
|
||||
* A managed server's connection status or authorization view changed;
|
||||
* read `list()` for the current authorization view. Emitted while the
|
||||
* manager is live and either the entry is configured or registered, or a
|
||||
* runtime record remains. Removed entries may emit cleanup
|
||||
* failures; `watch` and `list()` report removals.
|
||||
* Lifecycle operations do not wait for listeners. Synchronous throws and
|
||||
* returned promise rejections are logged without skipping other listeners.
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
MCP 服务器需要主动配置。在目标 Cordis 作用域中,为每台服务器配置一个 `@deepseek-ai/dsh-mcp-client` 条目。每个随附 profile 都提供[工具注册表](tools.zh.md),并统一挂载共享资源服务一次;用户只需配置客户端条目。调用方没有可见的已配置服务器时,在 native 或 PTC 模式下都不会获得 MCP 提示词文本或工具。
|
||||
|
||||
Web 与 Desktop profile 还统一挂载一次 [MCP 服务器管理器](../../packages/mcp/mcp-manager/README.zh.md)。它运行通过 Settings 配置的服务器,以及已安装插件在自身生命周期内注册的服务器,并向 Remote 客户端提供它们的状态、重启与探测操作。
|
||||
Web 与 Desktop profile 还统一挂载一次 [MCP 服务器管理器](../../packages/mcp/mcp-manager/README.zh.md)。它运行通过 Settings 配置的服务器,以及已安装插件在自身生命周期内注册的服务器,并向 Remote 客户端提供它们的状态、重启与探测操作。注册 OAuth 服务器的插件通过 [`ui-mcp-account`](../../packages/client/ui-mcp-account/README.zh.md) 在**插件**页面显示账号。
|
||||
|
||||
| 选择 | 配置维护位置 |
|
||||
|---|---|
|
||||
@@ -201,6 +201,27 @@ register(name: string, entry: McpServerRegistration): () => void
|
||||
* incomplete, options are invalid, or a required credentials provider is missing.
|
||||
*/
|
||||
async probe(name: string, options?: McpProbeOptions): Promise<McpProbeResult>
|
||||
|
||||
/**
|
||||
* Start explicit OAuth authorization, retaining the active grant until a successful commit.
|
||||
* @param name - configured or registered OAuth entry, including disabled entries.
|
||||
* @returns current attempt progress; absent services, changing entries, or failed cleanup reject.
|
||||
*/
|
||||
@Remote async startAuthorization(name: string): Promise<McpOAuthAttemptView>
|
||||
|
||||
/**
|
||||
* Cancel the selected attempt and drain its work; an admitted credential commit completes.
|
||||
* @param name - managed entry.
|
||||
* @param id - selected attempt; stale or absent attempts are ignored.
|
||||
*/
|
||||
@Remote async cancelAuthorization(name: string, id: McpOAuthAttemptId): Promise<void>
|
||||
|
||||
/**
|
||||
* Drain authorization, probes, and connections before deleting the local grant; retain client registration.
|
||||
* A configuration change before deletion preserves the grant and rejects.
|
||||
* @param name - configured or registered OAuth entry; cleanup failure preserves the grant and blocks replacement.
|
||||
*/
|
||||
@Remote async signOut(name: string): Promise<void>
|
||||
```
|
||||
|
||||
Source: [`packages/mcp/mcp-manager/src/index.ts`](../../packages/mcp/mcp-manager/src/index.ts)
|
||||
@@ -213,13 +234,14 @@ Source: [`packages/mcp/mcp-manager/src/index.ts`](../../packages/mcp/mcp-manager
|
||||
|
||||
#### `mcp-manager/status` — parallel
|
||||
|
||||
One managed server's status transitioned. Emitted for every published change while the manager is live and either the entry is configured or registered, or a runtime record remains. Removed entries may emit cleanup failures; `watch` and `list()` report removals. Lifecycle operations do not wait for listeners. Synchronous throws and returned promise rejections are logged without skipping other listeners.
|
||||
A managed server's connection status or authorization view changed; read `list()` for the current authorization view. Emitted while the manager is live and either the entry is configured or registered, or a runtime record remains. Removed entries may emit cleanup failures; `watch` and `list()` report removals. Lifecycle operations do not wait for listeners. Synchronous throws and returned promise rejections are logged without skipping other listeners.
|
||||
|
||||
```ts cordis-catalog
|
||||
/**
|
||||
* One managed server's status transitioned. Emitted for every published
|
||||
* change while the manager is live and either the entry is configured or
|
||||
* registered, or a runtime record remains. Removed entries may emit cleanup
|
||||
* A managed server's connection status or authorization view changed;
|
||||
* read `list()` for the current authorization view. Emitted while the
|
||||
* manager is live and either the entry is configured or registered, or a
|
||||
* runtime record remains. Removed entries may emit cleanup
|
||||
* failures; `watch` and `list()` report removals.
|
||||
* Lifecycle operations do not wait for listeners. Synchronous throws and
|
||||
* returned promise rejections are logged without skipping other listeners.
|
||||
|
||||
Reference in new issue
Block a user