refactor(tencent-docs): register the account on the Host
The Tencent Docs row registers its Plugins page account with ctx.mcpAccounts while the account registry runs, with the text that names Tencent Docs in every shipped language in src/copy.ts. The browser half, its 41-key dictionary, and its client build are removed; the section, tag, activation guidance, and notices now come from the shared account surfaces, and headless profiles load the row without the account.
This commit is contained in:
1 parent
c6f8c0011d
commit
2ba2f85de8
19 files changed
+243
-525
No files matched your search
@@ -3887,7 +3887,7 @@ export interface Config {
|
||||
## `@deepseek-ai/dsh-tencent-docs`
|
||||
|
||||
- `inject`: `mcpServers` · `systemPrompt`
|
||||
- `source`: [`packages/connector/tencent-docs/src/index.ts:27`](../packages/connector/tencent-docs/src/index.ts)
|
||||
- `source`: [`packages/connector/tencent-docs/src/index.ts:30`](../packages/connector/tencent-docs/src/index.ts)
|
||||
|
||||
```ts config-catalog
|
||||
/** Tencent Docs MCP endpoint and tool loading for the managed server entry. */
|
||||
|
||||
@@ -3889,7 +3889,7 @@ export interface Config {
|
||||
## `@deepseek-ai/dsh-tencent-docs`
|
||||
|
||||
- `inject`: `mcpServers` · `systemPrompt`
|
||||
- `source`: [`packages/connector/tencent-docs/src/index.ts:27`](../packages/connector/tencent-docs/src/index.ts)
|
||||
- `source`: [`packages/connector/tencent-docs/src/index.ts:30`](../packages/connector/tencent-docs/src/index.ts)
|
||||
|
||||
```ts config-catalog
|
||||
/** Tencent Docs MCP endpoint and tool loading for the managed server entry. */
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
en: ff0576142fce4834
|
||||
zh: d023d707f178caca
|
||||
/deepseek-ai-dsh-tencent-docs/summary:
|
||||
en: b91cc54f43618cda
|
||||
zh: 99bc03902c3dba77
|
||||
en: d56da141bac1d23d
|
||||
zh: f6fbfe08167c7061
|
||||
/deepseek-ai-dsh-tencent-docs/table-of-contents:
|
||||
en: d152484eb41ac6b4
|
||||
zh: 09388d293f9be9cb
|
||||
@@ -21,8 +21,8 @@
|
||||
en: 4df4523404762aec
|
||||
zh: 9600a0178d957b93
|
||||
/deepseek-ai-dsh-tencent-docs/use-this-package/authorize-and-sign-out:
|
||||
en: 03e0ed8750cf23ef
|
||||
zh: e476bcbc1b90b320
|
||||
en: 3977a8375eeaa8be
|
||||
zh: 45c513aff4997e78
|
||||
/deepseek-ai-dsh-tencent-docs/use-this-package/turn-off-and-uninstall:
|
||||
en: cdf842ac6315592d
|
||||
zh: 4da861bf7b4b0103
|
||||
@@ -30,11 +30,11 @@
|
||||
en: 78ac23e5b8c3b3b8
|
||||
zh: c7647d4d295b09a1
|
||||
/deepseek-ai-dsh-tencent-docs/understand-the-implementation:
|
||||
en: 3ac98d09b56ac8d1
|
||||
zh: 64f833c592e1fbda
|
||||
en: affbc92a321bc526
|
||||
zh: 746c63f47ba95254
|
||||
/deepseek-ai-dsh-tencent-docs/further-exploration:
|
||||
en: e49745a851cd5ca9
|
||||
zh: 1b7b0f0d595d7ad7
|
||||
en: f1eff44168e63e36
|
||||
zh: 65f7fce6a40a615e
|
||||
/deepseek-ai-dsh-tencent-docs/model-experience:
|
||||
en: 215e7ba838619b7b
|
||||
zh: a311da3843709f90
|
||||
@@ -69,5 +69,5 @@
|
||||
en: 1247abbc5ca63d64
|
||||
zh: e8ab350f9970bfe4
|
||||
/deepseek-ai-dsh-tencent-docs/known-limitations-and-deferred-work/dev-note:
|
||||
en: cbdc1955cbaffe59
|
||||
zh: e6f515c91503bc08
|
||||
en: 4fa2f13da1b0f858
|
||||
zh: c66d6c8e3bd8bc34
|
||||
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
|
||||
|
||||
## Summary
|
||||
|
||||
The Tencent Docs plugin registers Tencent Docs' hosted MCP server, `https://docs.qq.com/openapi/mcp`, with the Host's shared [MCP manager](../../mcp/mcp-manager/README.md) while the plugin is loaded. The user connects a Tencent Docs account from the plugin's page on the Web sidebar's **Plugins** page; afterwards every conversation on that Host can use the server's tools, and the model is told to call it the Tencent Docs plugin. The manager owns the connection, OAuth authorization, saved grant, and sign-out; the page reads and drives them through the manager's Remote and adds no account interface of its own. It runs in the Web and Desktop compositions.
|
||||
The Tencent Docs plugin registers Tencent Docs' hosted MCP server, `https://docs.qq.com/openapi/mcp`, with the Host's shared [MCP manager](../../mcp/mcp-manager/README.md) while the plugin is loaded. The user connects a Tencent Docs account from the plugin's page on the Web sidebar's **Plugins** page; afterwards every conversation on that Host can use the server's tools, and the model is told to call it the Tencent Docs plugin. The manager owns the connection, OAuth authorization, saved grant, and sign-out, which the shared [MCP account surfaces](../../client/ui-mcp-account/README.md) show on the Plugins page. It runs in the Web and Desktop compositions.
|
||||
|
||||
## Table of Contents
|
||||
|
||||
@@ -50,7 +50,7 @@ While the plugin is on, its page on the **Plugins** page shows a **Tencent Docs
|
||||
|
||||
Authorization must be completed in a browser on the Host machine. After the user approves access in Tencent Docs, the callback page says DSH received the authorization; the section then shows the result. Leaving the page does not cancel an attempt, which the Host owns. A failed attempt shows **Authorization was not completed. Try again.**; a failed page action shows a toast. Sign-out keeps the client registration and does not revoke the tokens Tencent Docs issued.
|
||||
|
||||
The page calls the manager's [OAuth operations](../../mcp/mcp-manager/README.md#oauth-authorization) through Remote: `watch` reports the entry, `startAuthorization('tencent-docs')` returns an attempt whose `authorizationUrl` the stream reports, `cancelAuthorization('tencent-docs', id)` cancels it, `signOut('tencent-docs')` deletes the grant, and `restart('tencent-docs')` retries. Other Remote clients can use the same operations.
|
||||
The page follows the account through the `mcpAccounts` Remote, which reports the manager's entry, and calls the manager's [OAuth operations](../../mcp/mcp-manager/README.md#oauth-authorization) through Remote: `startAuthorization('tencent-docs')` returns an attempt whose `authorizationUrl` the stream reports, `cancelAuthorization('tencent-docs', id)` cancels it, `signOut('tencent-docs')` deletes the grant, and `restart('tencent-docs')` retries. Other Remote clients can use the same operations.
|
||||
|
||||
### Turn off and uninstall
|
||||
|
||||
@@ -75,7 +75,7 @@ The generated [config catalog](../../../docs/config-catalog.md#deepseek-aidsh-te
|
||||
|
||||
[`cordis.patch.yml`](cordis.patch.yml) inserts one row with id `tencent-docs` naming this package, so the package is both the bundle and its only row; `config` overrides target that id. The Host half, [`src/index.ts`](src/index.ts), makes two registrations, both effects of the plugin's fiber: `ctx.mcpServers.register('tencent-docs', …)` adds a Streamable HTTP entry with the configured `url` and OAuth credential key, and `ctx.systemPrompt.section()` adds the naming guidance at the `MCP_SERVERS` order. The server name fixes the `mcp__tencent-docs__` tool namespace, and the credential key fixes the grant address, so a reloaded or reinstalled plugin reaches the same tools and grant. The manager validates the entry when it is registered; a configured or registered server that already uses the name or key makes the plugin fail to load before the guidance is added. The entry sets no `scope`, so authorization requests the `docs:read docs:write docs:manage` scopes listed in the protected-resource metadata that Tencent Docs' 401 challenge names, and the authorization page keeps the `authType=2` query of Tencent Docs' authorization endpoint.
|
||||
|
||||
The browser half, [`src/client/index.ts`](src/client/index.ts), attaches to the `tencent-docs` row, so its registrations exist while that row is on. It registers the `tencent-docs` dictionary and calls `ctx.mcpAccounts.register({ server: 'tencent-docs', packageName: '@deepseek-ai/dsh-tencent-docs', locale: 'tencent-docs' })`; [`ui-mcp-account`](../../client/ui-mcp-account/README.md) then mirrors the `tencent-docs` entry and contributes the section, guidance, tag, and toast described above.
|
||||
While the account registry runs, the plugin also calls `ctx.mcpAccounts.register({ server: 'tencent-docs', packageName: '@deepseek-ai/dsh-tencent-docs', copy })`, where [`src/copy.ts`](src/copy.ts) holds the text that names Tencent Docs in every shipped language; [`ui-mcp-account`](../../client/ui-mcp-account/README.md) then serves the `tencent-docs` entry and renders the section, guidance, tag, and toast described above. A composition without the registry, such as a headless profile, loads the plugin without the account section.
|
||||
|
||||
</details>
|
||||
|
||||
@@ -89,7 +89,7 @@ The browser half, [`src/client/index.ts`](src/client/index.ts), attaches to the
|
||||
- [MCP client](../../mcp/mcp-client/README.md) — connection, tool naming, OAuth grant refresh, and redaction.
|
||||
- [MCP subsystem](../../../docs/subsystems/mcp.md) — how the MCP packages fit together.
|
||||
- [Plugin Manager](../../boot/plugin-manager/README.md) — installation and enablement.
|
||||
- [MCP account surfaces](../../client/ui-mcp-account/README.md) — the section, tag, guidance, and notices the browser half registers.
|
||||
- [MCP account surfaces](../../client/ui-mcp-account/README.md) — the section, tag, guidance, and notices the account registration shows.
|
||||
- [Plugins page](../../client/ui-plugin-manager/README.md#use-this-package) — the bundle page those surfaces occupy.
|
||||
|
||||
-----
|
||||
@@ -149,6 +149,6 @@ Tencent Docs' instructions (or, with `eager`, its tools) appear when the connect
|
||||
<details>
|
||||
<summary>Working context for maintainers — click to expand</summary>
|
||||
|
||||
Host specs run the plugin against the MCP manager and the mcp-client loopback OAuth server fixture; a client spec checks that the browser half registers the dictionary and account and removes both with the row. The `tencent-docs-plugin` session snapshot replays the Tencent Docs row without a saved grant, so it pins the naming guidance and verifies that no request reaches the server. The Web e2e fixture follows the hosted metadata layout: the challenge names resource metadata under the MCP path, that metadata lists the `docs:*` scopes, and the authorization endpoint carries its own query.
|
||||
Host specs run the plugin against the MCP manager and the mcp-client loopback OAuth server fixture; another checks that the account registry serves the Tencent Docs account with its text and withdraws it with the plugin. The `tencent-docs-plugin` session snapshot replays the Tencent Docs row without a saved grant, so it pins the naming guidance and verifies that no request reaches the server. The Web e2e fixture follows the hosted metadata layout: the challenge names resource metadata under the MCP path, that metadata lists the `docs:*` scopes, and the authorization endpoint carries its own query.
|
||||
|
||||
</details>
|
||||
@@ -9,7 +9,7 @@ kind: "package-bundle"
|
||||
|
||||
## 概述
|
||||
|
||||
腾讯文档插件在加载期间把腾讯文档托管的 MCP 服务器 `https://docs.qq.com/openapi/mcp` 注册到 Host 共用的 [MCP 管理器](../../mcp/mcp-manager/README.zh.md)。用户在 Web 侧栏**插件**页面的插件详情页中连接腾讯文档账号,之后该 Host 上的所有对话都能使用这个服务器的工具,模型也会被告知把它称为腾讯文档插件。连接、OAuth 授权、已保存的 grant 和退出登录都由管理器负责;页面通过管理器的 Remote 读取和操作它们,不另设账号接口。插件运行在 Web 与 Desktop 组合中。
|
||||
腾讯文档插件在加载期间把腾讯文档托管的 MCP 服务器 `https://docs.qq.com/openapi/mcp` 注册到 Host 共用的 [MCP 管理器](../../mcp/mcp-manager/README.zh.md)。用户在 Web 侧栏**插件**页面的插件详情页中连接腾讯文档账号,之后该 Host 上的所有对话都能使用这个服务器的工具,模型也会被告知把它称为腾讯文档插件。连接、OAuth 授权、已保存的 grant 和退出登录都由管理器负责,并由共用的 [MCP 账号界面](../../client/ui-mcp-account/README.zh.md)显示在插件页面上。插件运行在 Web 与 Desktop 组合中。
|
||||
|
||||
## 目录
|
||||
|
||||
@@ -50,7 +50,7 @@ bundle patch 在 profile 其他层之后插入 `tencent-docs` 行。插件需要
|
||||
|
||||
授权必须在 Host 所在机器的浏览器中完成。用户在腾讯文档中同意授权后,回调页面说明 DSH 已收到授权,区块随后显示结果。离开页面不会取消授权尝试,尝试由 Host 持有。授权失败时显示**授权未完成,请重试**;页面操作失败时显示 toast。退出登录保留客户端注册,不会撤销腾讯文档签发的 token。
|
||||
|
||||
页面通过 Remote 调用管理器的 [OAuth 操作](../../mcp/mcp-manager/README.zh.md#oauth-authorization):`watch` 报告条目,`startAuthorization('tencent-docs')` 返回一次授权尝试,其 `authorizationUrl` 由流报告,`cancelAuthorization('tencent-docs', id)` 取消它,`signOut('tencent-docs')` 删除 grant,`restart('tencent-docs')` 重试。其他 Remote 客户端可以使用同样的操作。
|
||||
页面通过 `mcpAccounts` Remote 跟随账号,该 Remote 报告管理器的条目;页面通过 Remote 调用管理器的 [OAuth 操作](../../mcp/mcp-manager/README.zh.md#oauth-authorization):`startAuthorization('tencent-docs')` 返回一次授权尝试,其 `authorizationUrl` 由流报告,`cancelAuthorization('tencent-docs', id)` 取消它,`signOut('tencent-docs')` 删除 grant,`restart('tencent-docs')` 重试。其他 Remote 客户端可以使用同样的操作。
|
||||
|
||||
### 停用与卸载
|
||||
|
||||
@@ -75,7 +75,7 @@ bundle patch 在 profile 其他层之后插入 `tencent-docs` 行。插件需要
|
||||
|
||||
[`cordis.patch.yml`](cordis.patch.yml) 插入一行 id 为 `tencent-docs` 的条目,指向本包,因此本包既是 bundle,也是其唯一的一行;`config` 覆盖以该 id 为目标。Host 侧的 [`src/index.ts`](src/index.ts) 进行两项注册,二者都是插件 fiber 的 effect:`ctx.mcpServers.register('tencent-docs', …)` 以配置的 `url` 和 OAuth 凭据 key 添加一个 Streamable HTTP 条目,`ctx.systemPrompt.section()` 在 `MCP_SERVERS` 排序位置添加称呼指引。服务器名固定了 `mcp__tencent-docs__` 工具命名空间,凭据 key 固定了 grant 地址,因此重新加载或重新安装的插件会得到同样的工具和 grant。管理器在注册时校验条目;如果已配置或已注册的服务器占用了该名称或 key,插件会在添加指引之前加载失败。条目未设置 `scope`,因此授权请求腾讯文档 401 challenge 所指资源元数据中列出的 `docs:read docs:write docs:manage` scope,授权页面保留腾讯文档授权端点自带的 `authType=2` 查询参数。
|
||||
|
||||
浏览器侧的 [`src/client/index.ts`](src/client/index.ts) 挂在 `tencent-docs` 行上,因此其注册只在该行开启时存在。它注册 `tencent-docs` 文案,并调用 `ctx.mcpAccounts.register({ server: 'tencent-docs', packageName: '@deepseek-ai/dsh-tencent-docs', locale: 'tencent-docs' })`;随后由 [`ui-mcp-account`](../../client/ui-mcp-account/README.zh.md) 镜像 `tencent-docs` 条目,并提供上文所述的区块、引导、标签与 toast。
|
||||
账号注册表运行时,插件还调用 `ctx.mcpAccounts.register({ server: 'tencent-docs', packageName: '@deepseek-ai/dsh-tencent-docs', copy })`,其中 [`src/copy.ts`](src/copy.ts) 以每种已发布语言保存指明腾讯文档的文案;随后由 [`ui-mcp-account`](../../client/ui-mcp-account/README.zh.md) 提供 `tencent-docs` 条目,并渲染上文所述的区块、引导、标签与 toast。没有注册表的组合(如 headless profile)加载插件时不带账号区块。
|
||||
|
||||
</details>
|
||||
|
||||
@@ -89,7 +89,7 @@ bundle patch 在 profile 其他层之后插入 `tencent-docs` 行。插件需要
|
||||
- [MCP 客户端](../../mcp/mcp-client/README.zh.md)——连接、工具命名、OAuth grant 刷新与脱敏。
|
||||
- [MCP 子系统](../../../docs/subsystems/mcp.zh.md)——各 MCP 包如何协同。
|
||||
- [Plugin Manager](../../boot/plugin-manager/README.zh.md)——安装与启用。
|
||||
- [MCP 账号界面](../../client/ui-mcp-account/README.zh.md)——浏览器侧注册的区块、标签、引导与提示。
|
||||
- [MCP 账号界面](../../client/ui-mcp-account/README.zh.md)——账号注册后显示的区块、标签、引导与提示。
|
||||
- [插件页面](../../client/ui-plugin-manager/README.zh.md#use-this-package)——这些界面所在的 bundle 详情页。
|
||||
|
||||
-----
|
||||
@@ -149,6 +149,6 @@ Tools named `mcp__tencent-docs__*` come from the Tencent Docs plugin. In user-fa
|
||||
<details>
|
||||
<summary>维护者工作上下文——点击展开</summary>
|
||||
|
||||
Host 侧单测让插件运行在 MCP 管理器和 mcp-client 的回环 OAuth 服务器夹具之上;客户端单测检查浏览器侧注册文案与账号,并随该行一起移除两者。`tencent-docs-plugin` 会话快照在没有已保存 grant 的情况下回放腾讯文档行,因此它固定称呼指引,并验证没有请求到达服务器。Web e2e 的夹具按托管服务的元数据布局:challenge 指向 MCP 路径下的资源元数据,该元数据列出 `docs:*` scope,授权端点自带查询参数。
|
||||
Host 侧单测让插件运行在 MCP 管理器和 mcp-client 的回环 OAuth 服务器夹具之上;另一项单测检查账号注册表提供带文案的腾讯文档账号,并随插件一起撤下。`tencent-docs-plugin` 会话快照在没有已保存 grant 的情况下回放腾讯文档行,因此它固定称呼指引,并验证没有请求到达服务器。Web e2e 的夹具按托管服务的元数据布局:challenge 指向 MCP 路径下的资源元数据,该元数据列出 `docs:*` scope,授权端点自带查询参数。
|
||||
|
||||
</details>
|
||||
@@ -18,10 +18,6 @@
|
||||
"types": "./lib/types/index.d.ts",
|
||||
"default": "./lib/index.js"
|
||||
},
|
||||
"./client": {
|
||||
"types": "./lib/types/client/index.d.ts",
|
||||
"default": "./lib/client.js"
|
||||
},
|
||||
"./locale/*.json": "./locale/*.json",
|
||||
"./src/*": "./src/*",
|
||||
"./package.json": "./package.json",
|
||||
@@ -30,7 +26,6 @@
|
||||
"files": [
|
||||
"locale/*.json",
|
||||
"lib/index.js",
|
||||
"lib/client.js",
|
||||
"cordis.patch.yml",
|
||||
"lib/types/**/*.d.ts"
|
||||
],
|
||||
@@ -38,13 +33,6 @@
|
||||
"dsh": {
|
||||
"bundle": {
|
||||
"patch": "./cordis.patch.yml"
|
||||
},
|
||||
"client": {
|
||||
"inject": [
|
||||
"@deepseek-ai/dsh-client-locale",
|
||||
"@deepseek-ai/dsh-client-ui-mcp-account"
|
||||
],
|
||||
"platform": "web"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
@@ -66,9 +54,7 @@
|
||||
"@deepseek-ai/dsh-mcp-resources": "workspace:*",
|
||||
"@deepseek-ai/dsh-scope": "workspace:*",
|
||||
"@deepseek-ai/dsh-system-prompt": "workspace:*",
|
||||
"@deepseek-ai/dsh-client-locale": "workspace:*",
|
||||
"@deepseek-ai/dsh-client-ui-mcp-account": "workspace:*",
|
||||
"@deepseek-ai/dsh-client-ui-slots": "workspace:*",
|
||||
"@deepseek-ai/dsh-tool-testkit": "workspace:*"
|
||||
}
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
/**
|
||||
* Tencent Docs plugin, browser half: the Tencent Docs dictionary and the
|
||||
* account registration that shows the connection section, the tag beside the
|
||||
* bundle title, guidance after the bundle is switched on, and connection
|
||||
* notices on the Tencent Docs bundle's page.
|
||||
*/
|
||||
/* jscpd:ignore-start -- sibling connector plugins register their dictionary and account through the same calls. */
|
||||
import type { Context } from '@deepseek-ai/cordis'
|
||||
import type {} from '@deepseek-ai/dsh-client-locale/client'
|
||||
import type {} from '@deepseek-ai/dsh-client-ui-mcp-account/client'
|
||||
import { de, en, es, fr, ja, NS, pt, ru, zh } from './locales.ts'
|
||||
|
||||
/** Services the dictionary and the account registration need. */
|
||||
export const inject = ['locale', 'mcpAccounts']
|
||||
|
||||
/**
|
||||
* Register the Tencent Docs account surfaces for as long as the Tencent Docs row is on.
|
||||
* @param ctx - the browser plugin context.
|
||||
*/
|
||||
export function apply(ctx: Context): void {
|
||||
ctx.effect(() => ctx.locale.register(NS, { zh, en, ja, es, fr, de, ru, pt }), 'tencent-docs: dictionaries')
|
||||
ctx.effect(() => ctx.mcpAccounts.register({
|
||||
server: 'tencent-docs', packageName: '@deepseek-ai/dsh-tencent-docs', locale: NS,
|
||||
}), 'tencent-docs: account')
|
||||
}
|
||||
/* jscpd:ignore-end */
|
||||
@@ -1,373 +0,0 @@
|
||||
/** Locale-owned copy for the Tencent Docs plugin's connection on the Plugins page. */
|
||||
import type {} from '@deepseek-ai/dsh-client-ui-slots'
|
||||
import type { McpAccountKey } from '@deepseek-ai/dsh-client-ui-mcp-account/client'
|
||||
|
||||
/** Dictionary namespace for every Tencent Docs connection surface. */
|
||||
export const NS = 'tencent-docs'
|
||||
|
||||
/** Chinese dictionary. */
|
||||
export const zh: Record<McpAccountKey, string> = {
|
||||
'section.title': '腾讯文档账号',
|
||||
'status.checking': '正在检查连接',
|
||||
'status.disconnected': '未连接',
|
||||
'status.waiting-browser': '等待你在浏览器中确认',
|
||||
'status.authorizing': '正在连接',
|
||||
'status.connecting': '正在连接',
|
||||
'status.connected': '已连接',
|
||||
'status.reconnect': '需要重新连接',
|
||||
'status.unavailable': '暂时无法连接',
|
||||
'detail.disconnected': '连接腾讯文档账号后,可以在对话中读取和编辑你有权限的腾讯文档。',
|
||||
'detail.waiting-browser': '已打开腾讯文档授权页面。在腾讯文档中确认后,回到这里查看结果。',
|
||||
'detail.authorizing': '正在与腾讯文档完成授权。',
|
||||
'detail.connecting': '正在连接腾讯文档。',
|
||||
'detail.connected': '可以在对话中直接请 Agent 使用腾讯文档。',
|
||||
'detail.reconnect.expired': '授权已过期,请重新连接。',
|
||||
'detail.reconnect.binding': '授权与当前设置不再匹配,请重新连接。',
|
||||
'detail.reconnect.rejected': '腾讯文档不再接受当前授权,请重新连接。',
|
||||
'detail.reconnect.scope': '当前授权缺少所需权限。重新连接时,请在腾讯文档中确认权限。',
|
||||
'detail.unavailable': '已保留现有授权,可以稍后重试。',
|
||||
hostBrowser: '授权需要在运行 DSH 的这台电脑上的浏览器中完成。',
|
||||
failed: '授权未完成,请重试',
|
||||
'action.connect': '连接腾讯文档',
|
||||
'action.reconnect': '重新连接',
|
||||
'action.open': '打开授权页面',
|
||||
'action.cancel': '取消',
|
||||
'action.signOut': '退出登录',
|
||||
'action.retry': '重试',
|
||||
'badge.connected': '已连接',
|
||||
'badge.disconnected': '未连接',
|
||||
'badge.reconnect': '需要重新连接',
|
||||
'badge.unavailable': '暂时无法连接',
|
||||
'badge.connecting': '连接中',
|
||||
'signOut.title': '退出腾讯文档登录?',
|
||||
'signOut.body': '将删除 DSH 保存的腾讯文档授权,之后对话中无法使用腾讯文档。',
|
||||
'activation.title': '连接腾讯文档账号',
|
||||
'activation.body': '腾讯文档插件已开启。连接你的腾讯文档账号后,就可以在对话中使用它。',
|
||||
'activation.later': '稍后',
|
||||
'notice.connected': '腾讯文档已连接',
|
||||
'notice.signed-out': '已退出腾讯文档登录',
|
||||
'notice.action-failed': '操作未完成,请重试',
|
||||
close: '关闭',
|
||||
}
|
||||
|
||||
/** English dictionary. */
|
||||
export const en: Record<McpAccountKey, string> = {
|
||||
'section.title': 'Tencent Docs account',
|
||||
'status.checking': 'Checking connection',
|
||||
'status.disconnected': 'Not connected',
|
||||
'status.waiting-browser': 'Waiting for you to confirm in the browser',
|
||||
'status.authorizing': 'Connecting',
|
||||
'status.connecting': 'Connecting',
|
||||
'status.connected': 'Connected',
|
||||
'status.reconnect': 'Reconnection needed',
|
||||
'status.unavailable': 'Cannot connect right now',
|
||||
'detail.disconnected': 'Connect your Tencent Docs account to read and edit the Tencent Docs you can access, right from a conversation.',
|
||||
'detail.waiting-browser': 'The Tencent Docs authorization page is open. Confirm in Tencent Docs, then come back here to see the result.',
|
||||
'detail.authorizing': 'Finishing authorization with Tencent Docs.',
|
||||
'detail.connecting': 'Connecting to Tencent Docs.',
|
||||
'detail.connected': 'Ask the agent to use Tencent Docs directly in a conversation.',
|
||||
'detail.reconnect.expired': 'The authorization has expired. Connect again.',
|
||||
'detail.reconnect.binding': 'The authorization no longer matches the current settings. Connect again.',
|
||||
'detail.reconnect.rejected': 'Tencent Docs no longer accepts the current authorization. Connect again.',
|
||||
'detail.reconnect.scope': 'The current authorization lacks required permissions. Confirm them in Tencent Docs when you connect again.',
|
||||
'detail.unavailable': 'The existing authorization is kept. Try again later.',
|
||||
hostBrowser: 'Authorization must be completed in a browser on the computer running DSH.',
|
||||
failed: 'Authorization was not completed. Try again.',
|
||||
'action.connect': 'Connect Tencent Docs',
|
||||
'action.reconnect': 'Connect again',
|
||||
'action.open': 'Open authorization page',
|
||||
'action.cancel': 'Cancel',
|
||||
'action.signOut': 'Sign out',
|
||||
'action.retry': 'Retry',
|
||||
'badge.connected': 'Connected',
|
||||
'badge.disconnected': 'Not connected',
|
||||
'badge.reconnect': 'Reconnect',
|
||||
'badge.unavailable': 'Unavailable',
|
||||
'badge.connecting': 'Connecting',
|
||||
'signOut.title': 'Sign out of Tencent Docs?',
|
||||
'signOut.body': 'This deletes the Tencent Docs authorization DSH saved, so conversations can no longer use Tencent Docs.',
|
||||
'activation.title': 'Connect your Tencent Docs account',
|
||||
'activation.body': 'The Tencent Docs plugin is on. Connect your Tencent Docs account to use it in conversations.',
|
||||
'activation.later': 'Later',
|
||||
'notice.connected': 'Tencent Docs connected',
|
||||
'notice.signed-out': 'Signed out of Tencent Docs',
|
||||
'notice.action-failed': 'The action did not finish. Try again.',
|
||||
close: 'Close',
|
||||
}
|
||||
|
||||
/** Japanese dictionary. */
|
||||
export const ja: Record<McpAccountKey, string> = {
|
||||
'section.title': 'Tencent Docs アカウント',
|
||||
'status.checking': '接続を確認中',
|
||||
'status.disconnected': '未接続',
|
||||
'status.waiting-browser': 'ブラウザーでの確認を待っています',
|
||||
'status.authorizing': '接続中',
|
||||
'status.connecting': '接続中',
|
||||
'status.connected': '接続済み',
|
||||
'status.reconnect': '再接続が必要です',
|
||||
'status.unavailable': '現在接続できません',
|
||||
'detail.disconnected': 'Tencent Docs アカウントを接続すると、アクセス権のある Tencent Docs のドキュメントを会話の中から直接閲覧、編集できます。',
|
||||
'detail.waiting-browser': 'Tencent Docs の認可ページを開きました。Tencent Docs で確定したら、ここに戻って結果を確認してください。',
|
||||
'detail.authorizing': 'Tencent Docs での認可を完了しています。',
|
||||
'detail.connecting': 'Tencent Docs に接続しています。',
|
||||
'detail.connected': '会話の中でエージェントに Tencent Docs の使用を直接依頼できます。',
|
||||
'detail.reconnect.expired': '認可の有効期限が切れました。再度接続してください。',
|
||||
'detail.reconnect.binding': '認可が現在の設定と一致しなくなりました。再度接続してください。',
|
||||
'detail.reconnect.rejected': 'Tencent Docs は現在の認可を受け付けなくなりました。再度接続してください。',
|
||||
'detail.reconnect.scope': '現在の認可には必要な権限が不足しています。再度接続するときに、Tencent Docs で権限を確認してください。',
|
||||
'detail.unavailable': '現在の認可は保持されています。しばらくしてから再試行してください。',
|
||||
hostBrowser: '認可は、DSH を実行しているコンピューターのブラウザーで完了する必要があります。',
|
||||
failed: '認可が完了しませんでした。もう一度お試しください。',
|
||||
'action.connect': 'Tencent Docs を接続',
|
||||
'action.reconnect': '再接続',
|
||||
'action.open': '認可ページを開く',
|
||||
'action.cancel': 'キャンセル',
|
||||
'action.signOut': 'サインアウト',
|
||||
'action.retry': '再試行',
|
||||
'badge.connected': '接続済み',
|
||||
'badge.disconnected': '未接続',
|
||||
'badge.reconnect': '要再接続',
|
||||
'badge.unavailable': '利用不可',
|
||||
'badge.connecting': '接続中',
|
||||
'signOut.title': 'Tencent Docs からサインアウトしますか?',
|
||||
'signOut.body': 'DSH が保存した Tencent Docs の認可を削除します。以後、会話の中で Tencent Docs は使用できなくなります。',
|
||||
'activation.title': 'Tencent Docs アカウントを接続',
|
||||
'activation.body': 'Tencent Docs プラグインがオンになりました。Tencent Docs アカウントを接続すると、会話の中で使用できます。',
|
||||
'activation.later': '後で',
|
||||
'notice.connected': 'Tencent Docs を接続しました',
|
||||
'notice.signed-out': 'Tencent Docs からサインアウトしました',
|
||||
'notice.action-failed': '操作が完了しませんでした。もう一度お試しください。',
|
||||
close: '閉じる',
|
||||
}
|
||||
|
||||
/** Spanish dictionary. */
|
||||
export const es: Record<McpAccountKey, string> = {
|
||||
'section.title': 'Cuenta de Tencent Docs',
|
||||
'status.checking': 'Comprobando la conexión',
|
||||
'status.disconnected': 'No conectado',
|
||||
'status.waiting-browser': 'Esperando su confirmación en el navegador',
|
||||
'status.authorizing': 'Conectando',
|
||||
'status.connecting': 'Conectando',
|
||||
'status.connected': 'Conectado',
|
||||
'status.reconnect': 'Se necesita volver a conectar',
|
||||
'status.unavailable': 'No se puede conectar en este momento',
|
||||
'detail.disconnected': 'Conecte su cuenta de Tencent Docs para leer y editar los documentos de Tencent Docs a los que tiene acceso, directamente desde una conversación.',
|
||||
'detail.waiting-browser': 'La página de autorización de Tencent Docs está abierta. Confirme en Tencent Docs y luego vuelva aquí para ver el resultado.',
|
||||
'detail.authorizing': 'Completando la autorización con Tencent Docs.',
|
||||
'detail.connecting': 'Conectando con Tencent Docs.',
|
||||
'detail.connected': 'Pida al agente que use Tencent Docs directamente en una conversación.',
|
||||
'detail.reconnect.expired': 'La autorización ha caducado. Vuelva a conectar.',
|
||||
'detail.reconnect.binding': 'La autorización ya no coincide con la configuración actual. Vuelva a conectar.',
|
||||
'detail.reconnect.rejected': 'Tencent Docs ya no acepta la autorización actual. Vuelva a conectar.',
|
||||
'detail.reconnect.scope': 'A la autorización actual le faltan permisos necesarios. Confírmelos en Tencent Docs cuando vuelva a conectar.',
|
||||
'detail.unavailable': 'Se conserva la autorización actual. Inténtelo de nuevo más tarde.',
|
||||
hostBrowser: 'La autorización debe completarse en un navegador de la computadora donde se ejecuta DSH.',
|
||||
failed: 'La autorización no se completó. Inténtelo de nuevo.',
|
||||
'action.connect': 'Conectar Tencent Docs',
|
||||
'action.reconnect': 'Volver a conectar',
|
||||
'action.open': 'Abrir página de autorización',
|
||||
'action.cancel': 'Cancelar',
|
||||
'action.signOut': 'Cerrar sesión',
|
||||
'action.retry': 'Reintentar',
|
||||
'badge.connected': 'Conectado',
|
||||
'badge.disconnected': 'No conectado',
|
||||
'badge.reconnect': 'Reconectar',
|
||||
'badge.unavailable': 'No disponible',
|
||||
'badge.connecting': 'Conectando',
|
||||
'signOut.title': '¿Cerrar sesión en Tencent Docs?',
|
||||
'signOut.body': 'Se eliminará la autorización de Tencent Docs que guardó DSH, por lo que las conversaciones ya no podrán usar Tencent Docs.',
|
||||
'activation.title': 'Conecte su cuenta de Tencent Docs',
|
||||
'activation.body': 'El complemento de Tencent Docs está activado. Conecte su cuenta de Tencent Docs para usarlo en las conversaciones.',
|
||||
'activation.later': 'Más tarde',
|
||||
'notice.connected': 'Tencent Docs conectado',
|
||||
'notice.signed-out': 'Sesión de Tencent Docs cerrada',
|
||||
'notice.action-failed': 'La acción no se completó. Inténtelo de nuevo.',
|
||||
close: 'Cerrar',
|
||||
}
|
||||
|
||||
/** French dictionary. */
|
||||
export const fr: Record<McpAccountKey, string> = {
|
||||
'section.title': 'Compte Tencent Docs',
|
||||
'status.checking': 'Vérification de la connexion',
|
||||
'status.disconnected': 'Non connecté',
|
||||
'status.waiting-browser': 'En attente de votre confirmation dans le navigateur',
|
||||
'status.authorizing': 'Connexion en cours',
|
||||
'status.connecting': 'Connexion en cours',
|
||||
'status.connected': 'Connecté',
|
||||
'status.reconnect': 'Reconnexion nécessaire',
|
||||
'status.unavailable': 'Connexion impossible pour le moment',
|
||||
'detail.disconnected': 'Connectez votre compte Tencent Docs pour lire et modifier les documents Tencent Docs auxquels vous avez accès, directement depuis une conversation.',
|
||||
'detail.waiting-browser': 'La page d’autorisation Tencent Docs est ouverte. Confirmez dans Tencent Docs, puis revenez ici pour voir le résultat.',
|
||||
'detail.authorizing': 'Finalisation de l’autorisation avec Tencent Docs.',
|
||||
'detail.connecting': 'Connexion à Tencent Docs en cours.',
|
||||
'detail.connected': 'Demandez à l’agent d’utiliser Tencent Docs directement dans une conversation.',
|
||||
'detail.reconnect.expired': 'L’autorisation a expiré. Reconnectez-vous.',
|
||||
'detail.reconnect.binding': 'L’autorisation ne correspond plus aux paramètres actuels. Reconnectez-vous.',
|
||||
'detail.reconnect.rejected': 'Tencent Docs n’accepte plus l’autorisation actuelle. Reconnectez-vous.',
|
||||
'detail.reconnect.scope': 'L’autorisation actuelle ne dispose pas des permissions requises. Confirmez-les dans Tencent Docs lors de la reconnexion.',
|
||||
'detail.unavailable': 'L’autorisation existante est conservée. Réessayez plus tard.',
|
||||
hostBrowser: 'L’autorisation doit être effectuée dans un navigateur de l’ordinateur qui exécute DSH.',
|
||||
failed: 'L’autorisation n’a pas abouti. Réessayez.',
|
||||
'action.connect': 'Connecter Tencent Docs',
|
||||
'action.reconnect': 'Se reconnecter',
|
||||
'action.open': 'Ouvrir la page d’autorisation',
|
||||
'action.cancel': 'Annuler',
|
||||
'action.signOut': 'Se déconnecter',
|
||||
'action.retry': 'Réessayer',
|
||||
'badge.connected': 'Connecté',
|
||||
'badge.disconnected': 'Non connecté',
|
||||
'badge.reconnect': 'À reconnecter',
|
||||
'badge.unavailable': 'Indisponible',
|
||||
'badge.connecting': 'Connexion en cours',
|
||||
'signOut.title': 'Se déconnecter de Tencent Docs ?',
|
||||
'signOut.body': 'Cela supprime l’autorisation Tencent Docs enregistrée par DSH : les conversations ne pourront plus utiliser Tencent Docs.',
|
||||
'activation.title': 'Connectez votre compte Tencent Docs',
|
||||
'activation.body': 'Le plugin Tencent Docs est activé. Connectez votre compte Tencent Docs pour l’utiliser dans les conversations.',
|
||||
'activation.later': 'Plus tard',
|
||||
'notice.connected': 'Tencent Docs connecté',
|
||||
'notice.signed-out': 'Déconnecté de Tencent Docs',
|
||||
'notice.action-failed': 'L’action n’a pas abouti. Réessayez.',
|
||||
close: 'Fermer',
|
||||
}
|
||||
|
||||
/** German dictionary. */
|
||||
export const de: Record<McpAccountKey, string> = {
|
||||
'section.title': 'Tencent Docs-Konto',
|
||||
'status.checking': 'Verbindung wird geprüft',
|
||||
'status.disconnected': 'Nicht verbunden',
|
||||
'status.waiting-browser': 'Warten auf Ihre Bestätigung im Browser',
|
||||
'status.authorizing': 'Wird verbunden',
|
||||
'status.connecting': 'Wird verbunden',
|
||||
'status.connected': 'Verbunden',
|
||||
'status.reconnect': 'Erneute Verbindung erforderlich',
|
||||
'status.unavailable': 'Verbindung gerade nicht möglich',
|
||||
'detail.disconnected': 'Verbinden Sie Ihr Tencent Docs-Konto, um Tencent Docs-Dokumente, auf die Sie Zugriff haben, direkt aus einer Unterhaltung heraus zu lesen und zu bearbeiten.',
|
||||
'detail.waiting-browser': 'Die Tencent Docs-Autorisierungsseite ist geöffnet. Bestätigen Sie in Tencent Docs und kehren Sie dann hierher zurück, um das Ergebnis zu sehen.',
|
||||
'detail.authorizing': 'Die Autorisierung mit Tencent Docs wird abgeschlossen.',
|
||||
'detail.connecting': 'Verbindung mit Tencent Docs wird hergestellt.',
|
||||
'detail.connected': 'Bitten Sie den Agenten, Tencent Docs direkt in einer Unterhaltung zu verwenden.',
|
||||
'detail.reconnect.expired': 'Die Autorisierung ist abgelaufen. Verbinden Sie erneut.',
|
||||
'detail.reconnect.binding': 'Die Autorisierung passt nicht mehr zu den aktuellen Einstellungen. Verbinden Sie erneut.',
|
||||
'detail.reconnect.rejected': 'Tencent Docs akzeptiert die aktuelle Autorisierung nicht mehr. Verbinden Sie erneut.',
|
||||
'detail.reconnect.scope': 'Der aktuellen Autorisierung fehlen erforderliche Berechtigungen. Bestätigen Sie diese in Tencent Docs, wenn Sie erneut verbinden.',
|
||||
'detail.unavailable': 'Die bestehende Autorisierung bleibt erhalten. Versuchen Sie es später erneut.',
|
||||
hostBrowser: 'Die Autorisierung muss in einem Browser auf dem Computer abgeschlossen werden, auf dem DSH läuft.',
|
||||
failed: 'Die Autorisierung wurde nicht abgeschlossen. Versuchen Sie es erneut.',
|
||||
'action.connect': 'Tencent Docs verbinden',
|
||||
'action.reconnect': 'Erneut verbinden',
|
||||
'action.open': 'Autorisierungsseite öffnen',
|
||||
'action.cancel': 'Abbrechen',
|
||||
'action.signOut': 'Abmelden',
|
||||
'action.retry': 'Erneut versuchen',
|
||||
'badge.connected': 'Verbunden',
|
||||
'badge.disconnected': 'Nicht verbunden',
|
||||
'badge.reconnect': 'Neu verbinden',
|
||||
'badge.unavailable': 'Nicht verfügbar',
|
||||
'badge.connecting': 'Wird verbunden',
|
||||
'signOut.title': 'Von Tencent Docs abmelden?',
|
||||
'signOut.body': 'Dadurch wird die von DSH gespeicherte Tencent Docs-Autorisierung gelöscht, sodass Unterhaltungen Tencent Docs nicht mehr verwenden können.',
|
||||
'activation.title': 'Tencent Docs-Konto verbinden',
|
||||
'activation.body': 'Das Tencent Docs-Plugin ist aktiviert. Verbinden Sie Ihr Tencent Docs-Konto, um es in Unterhaltungen zu verwenden.',
|
||||
'activation.later': 'Später',
|
||||
'notice.connected': 'Tencent Docs verbunden',
|
||||
'notice.signed-out': 'Von Tencent Docs abgemeldet',
|
||||
'notice.action-failed': 'Die Aktion wurde nicht abgeschlossen. Versuchen Sie es erneut.',
|
||||
close: 'Schließen',
|
||||
}
|
||||
|
||||
/** Russian dictionary. */
|
||||
export const ru: Record<McpAccountKey, string> = {
|
||||
'section.title': 'Аккаунт Tencent Docs',
|
||||
'status.checking': 'Проверка подключения',
|
||||
'status.disconnected': 'Не подключено',
|
||||
'status.waiting-browser': 'Ожидание вашего подтверждения в браузере',
|
||||
'status.authorizing': 'Подключение',
|
||||
'status.connecting': 'Подключение',
|
||||
'status.connected': 'Подключено',
|
||||
'status.reconnect': 'Требуется повторное подключение',
|
||||
'status.unavailable': 'Сейчас не удаётся подключиться',
|
||||
'detail.disconnected': 'Подключите аккаунт Tencent Docs, чтобы читать и редактировать доступные вам документы Tencent Docs прямо из беседы.',
|
||||
'detail.waiting-browser': 'Страница авторизации Tencent Docs открыта. Подтвердите в Tencent Docs, затем вернитесь сюда, чтобы увидеть результат.',
|
||||
'detail.authorizing': 'Завершение авторизации в Tencent Docs.',
|
||||
'detail.connecting': 'Подключение к Tencent Docs.',
|
||||
'detail.connected': 'Попросите агента использовать Tencent Docs прямо в беседе.',
|
||||
'detail.reconnect.expired': 'Срок действия авторизации истёк. Подключитесь снова.',
|
||||
'detail.reconnect.binding': 'Авторизация больше не соответствует текущим настройкам. Подключитесь снова.',
|
||||
'detail.reconnect.rejected': 'Tencent Docs больше не принимает текущую авторизацию. Подключитесь снова.',
|
||||
'detail.reconnect.scope': 'Текущей авторизации не хватает нужных разрешений. Подтвердите их в Tencent Docs при повторном подключении.',
|
||||
'detail.unavailable': 'Текущая авторизация сохранена. Повторите попытку позже.',
|
||||
hostBrowser: 'Авторизацию нужно завершить в браузере на компьютере, где запущен DSH.',
|
||||
failed: 'Авторизация не завершена. Повторите попытку.',
|
||||
'action.connect': 'Подключить Tencent Docs',
|
||||
'action.reconnect': 'Подключить снова',
|
||||
'action.open': 'Открыть страницу авторизации',
|
||||
'action.cancel': 'Отмена',
|
||||
'action.signOut': 'Выйти',
|
||||
'action.retry': 'Повторить',
|
||||
'badge.connected': 'Подключено',
|
||||
'badge.disconnected': 'Не подключено',
|
||||
'badge.reconnect': 'Переподключить',
|
||||
'badge.unavailable': 'Недоступно',
|
||||
'badge.connecting': 'Подключение',
|
||||
'signOut.title': 'Выйти из Tencent Docs?',
|
||||
'signOut.body': 'Сохранённая DSH авторизация Tencent Docs будет удалена, и беседы больше не смогут использовать Tencent Docs.',
|
||||
'activation.title': 'Подключите аккаунт Tencent Docs',
|
||||
'activation.body': 'Плагин Tencent Docs включён. Подключите аккаунт Tencent Docs, чтобы использовать его в беседах.',
|
||||
'activation.later': 'Позже',
|
||||
'notice.connected': 'Tencent Docs подключён',
|
||||
'notice.signed-out': 'Выполнен выход из Tencent Docs',
|
||||
'notice.action-failed': 'Действие не завершено. Повторите попытку.',
|
||||
close: 'Закрыть',
|
||||
}
|
||||
|
||||
/** Portuguese dictionary. */
|
||||
export const pt: Record<McpAccountKey, string> = {
|
||||
'section.title': 'Conta do Tencent Docs',
|
||||
'status.checking': 'Verificando a conexão',
|
||||
'status.disconnected': 'Não conectado',
|
||||
'status.waiting-browser': 'Aguardando sua confirmação no navegador',
|
||||
'status.authorizing': 'Conectando',
|
||||
'status.connecting': 'Conectando',
|
||||
'status.connected': 'Conectado',
|
||||
'status.reconnect': 'É necessário reconectar',
|
||||
'status.unavailable': 'Não é possível conectar no momento',
|
||||
'detail.disconnected': 'Conecte sua conta do Tencent Docs para ler e editar os documentos do Tencent Docs aos quais você tem acesso, direto de uma conversa.',
|
||||
'detail.waiting-browser': 'A página de autorização do Tencent Docs está aberta. Confirme no Tencent Docs e depois volte aqui para ver o resultado.',
|
||||
'detail.authorizing': 'Concluindo a autorização com o Tencent Docs.',
|
||||
'detail.connecting': 'Conectando ao Tencent Docs.',
|
||||
'detail.connected': 'Peça ao agente que use o Tencent Docs diretamente em uma conversa.',
|
||||
'detail.reconnect.expired': 'A autorização expirou. Conecte novamente.',
|
||||
'detail.reconnect.binding': 'A autorização não corresponde mais às configurações atuais. Conecte novamente.',
|
||||
'detail.reconnect.rejected': 'O Tencent Docs não aceita mais a autorização atual. Conecte novamente.',
|
||||
'detail.reconnect.scope': 'A autorização atual não tem as permissões necessárias. Confirme-as no Tencent Docs ao conectar novamente.',
|
||||
'detail.unavailable': 'A autorização atual foi mantida. Tente novamente mais tarde.',
|
||||
hostBrowser: 'A autorização deve ser concluída em um navegador no computador que executa o DSH.',
|
||||
failed: 'A autorização não foi concluída. Tente novamente.',
|
||||
'action.connect': 'Conectar Tencent Docs',
|
||||
'action.reconnect': 'Conectar novamente',
|
||||
'action.open': 'Abrir página de autorização',
|
||||
'action.cancel': 'Cancelar',
|
||||
'action.signOut': 'Sair',
|
||||
'action.retry': 'Tentar novamente',
|
||||
'badge.connected': 'Conectado',
|
||||
'badge.disconnected': 'Não conectado',
|
||||
'badge.reconnect': 'Reconectar',
|
||||
'badge.unavailable': 'Indisponível',
|
||||
'badge.connecting': 'Conectando',
|
||||
'signOut.title': 'Sair do Tencent Docs?',
|
||||
'signOut.body': 'Isso exclui a autorização do Tencent Docs salva pelo DSH, e as conversas não poderão mais usar o Tencent Docs.',
|
||||
'activation.title': 'Conecte sua conta do Tencent Docs',
|
||||
'activation.body': 'O plugin do Tencent Docs está ativado. Conecte sua conta do Tencent Docs para usá-lo nas conversas.',
|
||||
'activation.later': 'Mais tarde',
|
||||
'notice.connected': 'Tencent Docs conectado',
|
||||
'notice.signed-out': 'Você saiu do Tencent Docs',
|
||||
'notice.action-failed': 'A ação não foi concluída. Tente novamente.',
|
||||
close: 'Fechar',
|
||||
}
|
||||
|
||||
declare module '@deepseek-ai/dsh-client-ui-slots' {
|
||||
interface LocaleNamespaceMap {
|
||||
/** Tencent Docs connection section, tag, guidance, and notices on the Plugins page. */
|
||||
'tencent-docs': McpAccountKey
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,167 @@
|
||||
/** The Plugins page text that names Tencent Docs; the shared account copy comes from the account surfaces' dictionary. */
|
||||
import type { McpAccountCopy } from '@deepseek-ai/dsh-client-ui-mcp-account'
|
||||
|
||||
/** Every language the Web app ships. */
|
||||
type ShippedText = Readonly<Record<'zh' | 'en' | 'ja' | 'es' | 'fr' | 'de' | 'ru' | 'pt', string>>
|
||||
|
||||
/** Tencent Docs' account text in every shipped language. */
|
||||
export const COPY: McpAccountCopy<ShippedText> = {
|
||||
title: {
|
||||
zh: '腾讯文档账号',
|
||||
en: 'Tencent Docs account',
|
||||
ja: 'Tencent Docs アカウント',
|
||||
es: 'Cuenta de Tencent Docs',
|
||||
fr: 'Compte Tencent Docs',
|
||||
de: 'Tencent Docs-Konto',
|
||||
ru: 'Аккаунт Tencent Docs',
|
||||
pt: 'Conta do Tencent Docs',
|
||||
},
|
||||
connect: {
|
||||
zh: '连接腾讯文档',
|
||||
en: 'Connect Tencent Docs',
|
||||
ja: 'Tencent Docs を接続',
|
||||
es: 'Conectar Tencent Docs',
|
||||
fr: 'Connecter Tencent Docs',
|
||||
de: 'Tencent Docs verbinden',
|
||||
ru: 'Подключить Tencent Docs',
|
||||
pt: 'Conectar Tencent Docs',
|
||||
},
|
||||
activation: {
|
||||
title: {
|
||||
zh: '连接腾讯文档账号',
|
||||
en: 'Connect your Tencent Docs account',
|
||||
ja: 'Tencent Docs アカウントを接続',
|
||||
es: 'Conecte su cuenta de Tencent Docs',
|
||||
fr: 'Connectez votre compte Tencent Docs',
|
||||
de: 'Tencent Docs-Konto verbinden',
|
||||
ru: 'Подключите аккаунт Tencent Docs',
|
||||
pt: 'Conecte sua conta do Tencent Docs',
|
||||
},
|
||||
body: {
|
||||
zh: '腾讯文档插件已开启。连接你的腾讯文档账号后,就可以在对话中使用它。',
|
||||
en: 'The Tencent Docs plugin is on. Connect your Tencent Docs account to use it in conversations.',
|
||||
ja: 'Tencent Docs プラグインがオンになりました。Tencent Docs アカウントを接続すると、会話の中で使用できます。',
|
||||
es: 'El complemento de Tencent Docs está activado. Conecte su cuenta de Tencent Docs para usarlo en las conversaciones.',
|
||||
fr: 'Le plugin Tencent Docs est activé. Connectez votre compte Tencent Docs pour l’utiliser dans les conversations.',
|
||||
de: 'Das Tencent Docs-Plugin ist aktiviert. Verbinden Sie Ihr Tencent Docs-Konto, um es in Unterhaltungen zu verwenden.',
|
||||
ru: 'Плагин Tencent Docs включён. Подключите аккаунт Tencent Docs, чтобы использовать его в беседах.',
|
||||
pt: 'O plugin do Tencent Docs está ativado. Conecte sua conta do Tencent Docs para usá-lo nas conversas.',
|
||||
},
|
||||
},
|
||||
detail: {
|
||||
disconnected: {
|
||||
zh: '连接腾讯文档账号后,可以在对话中读取和编辑你有权限的腾讯文档。',
|
||||
en: 'Connect your Tencent Docs account to read and edit the Tencent Docs you can access, right from a conversation.',
|
||||
ja: 'Tencent Docs アカウントを接続すると、アクセス権のある Tencent Docs のドキュメントを会話の中から直接閲覧、編集できます。',
|
||||
es: 'Conecte su cuenta de Tencent Docs para leer y editar los documentos de Tencent Docs a los que tiene acceso, directamente desde una conversación.',
|
||||
fr: 'Connectez votre compte Tencent Docs pour lire et modifier les documents Tencent Docs auxquels vous avez accès, directement depuis une conversation.',
|
||||
de: 'Verbinden Sie Ihr Tencent Docs-Konto, um Tencent Docs-Dokumente, auf die Sie Zugriff haben, direkt aus einer Unterhaltung heraus zu lesen und zu bearbeiten.',
|
||||
ru: 'Подключите аккаунт Tencent Docs, чтобы читать и редактировать доступные вам документы Tencent Docs прямо из беседы.',
|
||||
pt: 'Conecte sua conta do Tencent Docs para ler e editar os documentos do Tencent Docs aos quais você tem acesso, direto de uma conversa.',
|
||||
},
|
||||
waitingBrowser: {
|
||||
zh: '已打开腾讯文档授权页面。在腾讯文档中确认后,回到这里查看结果。',
|
||||
en: 'The Tencent Docs authorization page is open. Confirm in Tencent Docs, then come back here to see the result.',
|
||||
ja: 'Tencent Docs の認可ページを開きました。Tencent Docs で確定したら、ここに戻って結果を確認してください。',
|
||||
es: 'La página de autorización de Tencent Docs está abierta. Confirme en Tencent Docs y luego vuelva aquí para ver el resultado.',
|
||||
fr: 'La page d’autorisation Tencent Docs est ouverte. Confirmez dans Tencent Docs, puis revenez ici pour voir le résultat.',
|
||||
de: 'Die Tencent Docs-Autorisierungsseite ist geöffnet. Bestätigen Sie in Tencent Docs und kehren Sie dann hierher zurück, um das Ergebnis zu sehen.',
|
||||
ru: 'Страница авторизации Tencent Docs открыта. Подтвердите в Tencent Docs, затем вернитесь сюда, чтобы увидеть результат.',
|
||||
pt: 'A página de autorização do Tencent Docs está aberta. Confirme no Tencent Docs e depois volte aqui para ver o resultado.',
|
||||
},
|
||||
authorizing: {
|
||||
zh: '正在与腾讯文档完成授权。',
|
||||
en: 'Finishing authorization with Tencent Docs.',
|
||||
ja: 'Tencent Docs での認可を完了しています。',
|
||||
es: 'Completando la autorización con Tencent Docs.',
|
||||
fr: 'Finalisation de l’autorisation avec Tencent Docs.',
|
||||
de: 'Die Autorisierung mit Tencent Docs wird abgeschlossen.',
|
||||
ru: 'Завершение авторизации в Tencent Docs.',
|
||||
pt: 'Concluindo a autorização com o Tencent Docs.',
|
||||
},
|
||||
connecting: {
|
||||
zh: '正在连接腾讯文档。',
|
||||
en: 'Connecting to Tencent Docs.',
|
||||
ja: 'Tencent Docs に接続しています。',
|
||||
es: 'Conectando con Tencent Docs.',
|
||||
fr: 'Connexion à Tencent Docs en cours.',
|
||||
de: 'Verbindung mit Tencent Docs wird hergestellt.',
|
||||
ru: 'Подключение к Tencent Docs.',
|
||||
pt: 'Conectando ao Tencent Docs.',
|
||||
},
|
||||
connected: {
|
||||
zh: '可以在对话中直接请 Agent 使用腾讯文档。',
|
||||
en: 'Ask the agent to use Tencent Docs directly in a conversation.',
|
||||
ja: '会話の中でエージェントに Tencent Docs の使用を直接依頼できます。',
|
||||
es: 'Pida al agente que use Tencent Docs directamente en una conversación.',
|
||||
fr: 'Demandez à l’agent d’utiliser Tencent Docs directement dans une conversation.',
|
||||
de: 'Bitten Sie den Agenten, Tencent Docs direkt in einer Unterhaltung zu verwenden.',
|
||||
ru: 'Попросите агента использовать Tencent Docs прямо в беседе.',
|
||||
pt: 'Peça ao agente que use o Tencent Docs diretamente em uma conversa.',
|
||||
},
|
||||
rejected: {
|
||||
zh: '腾讯文档不再接受当前授权,请重新连接。',
|
||||
en: 'Tencent Docs no longer accepts the current authorization. Connect again.',
|
||||
ja: 'Tencent Docs は現在の認可を受け付けなくなりました。再度接続してください。',
|
||||
es: 'Tencent Docs ya no acepta la autorización actual. Vuelva a conectar.',
|
||||
fr: 'Tencent Docs n’accepte plus l’autorisation actuelle. Reconnectez-vous.',
|
||||
de: 'Tencent Docs akzeptiert die aktuelle Autorisierung nicht mehr. Verbinden Sie erneut.',
|
||||
ru: 'Tencent Docs больше не принимает текущую авторизацию. Подключитесь снова.',
|
||||
pt: 'O Tencent Docs não aceita mais a autorização atual. Conecte novamente.',
|
||||
},
|
||||
scope: {
|
||||
zh: '当前授权缺少所需权限。重新连接时,请在腾讯文档中确认权限。',
|
||||
en: 'The current authorization lacks required permissions. Confirm them in Tencent Docs when you connect again.',
|
||||
ja: '現在の認可には必要な権限が不足しています。再度接続するときに、Tencent Docs で権限を確認してください。',
|
||||
es: 'A la autorización actual le faltan permisos necesarios. Confírmelos en Tencent Docs cuando vuelva a conectar.',
|
||||
fr: 'L’autorisation actuelle ne dispose pas des permissions requises. Confirmez-les dans Tencent Docs lors de la reconnexion.',
|
||||
de: 'Der aktuellen Autorisierung fehlen erforderliche Berechtigungen. Bestätigen Sie diese in Tencent Docs, wenn Sie erneut verbinden.',
|
||||
ru: 'Текущей авторизации не хватает нужных разрешений. Подтвердите их в Tencent Docs при повторном подключении.',
|
||||
pt: 'A autorização atual não tem as permissões necessárias. Confirme-as no Tencent Docs ao conectar novamente.',
|
||||
},
|
||||
},
|
||||
signOut: {
|
||||
title: {
|
||||
zh: '退出腾讯文档登录?',
|
||||
en: 'Sign out of Tencent Docs?',
|
||||
ja: 'Tencent Docs からサインアウトしますか?',
|
||||
es: '¿Cerrar sesión en Tencent Docs?',
|
||||
fr: 'Se déconnecter de Tencent Docs ?',
|
||||
de: 'Von Tencent Docs abmelden?',
|
||||
ru: 'Выйти из Tencent Docs?',
|
||||
pt: 'Sair do Tencent Docs?',
|
||||
},
|
||||
body: {
|
||||
zh: '将删除 DSH 保存的腾讯文档授权,之后对话中无法使用腾讯文档。',
|
||||
en: 'This deletes the Tencent Docs authorization DSH saved, so conversations can no longer use Tencent Docs.',
|
||||
ja: 'DSH が保存した Tencent Docs の認可を削除します。以後、会話の中で Tencent Docs は使用できなくなります。',
|
||||
es: 'Se eliminará la autorización de Tencent Docs que guardó DSH, por lo que las conversaciones ya no podrán usar Tencent Docs.',
|
||||
fr: 'Cela supprime l’autorisation Tencent Docs enregistrée par DSH : les conversations ne pourront plus utiliser Tencent Docs.',
|
||||
de: 'Dadurch wird die von DSH gespeicherte Tencent Docs-Autorisierung gelöscht, sodass Unterhaltungen Tencent Docs nicht mehr verwenden können.',
|
||||
ru: 'Сохранённая DSH авторизация Tencent Docs будет удалена, и беседы больше не смогут использовать Tencent Docs.',
|
||||
pt: 'Isso exclui a autorização do Tencent Docs salva pelo DSH, e as conversas não poderão mais usar o Tencent Docs.',
|
||||
},
|
||||
},
|
||||
notice: {
|
||||
connected: {
|
||||
zh: '腾讯文档已连接',
|
||||
en: 'Tencent Docs connected',
|
||||
ja: 'Tencent Docs を接続しました',
|
||||
es: 'Tencent Docs conectado',
|
||||
fr: 'Tencent Docs connecté',
|
||||
de: 'Tencent Docs verbunden',
|
||||
ru: 'Tencent Docs подключён',
|
||||
pt: 'Tencent Docs conectado',
|
||||
},
|
||||
signedOut: {
|
||||
zh: '已退出腾讯文档登录',
|
||||
en: 'Signed out of Tencent Docs',
|
||||
ja: 'Tencent Docs からサインアウトしました',
|
||||
es: 'Sesión de Tencent Docs cerrada',
|
||||
fr: 'Déconnecté de Tencent Docs',
|
||||
de: 'Von Tencent Docs abgemeldet',
|
||||
ru: 'Выполнен выход из Tencent Docs',
|
||||
pt: 'Você saiu do Tencent Docs',
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -1,7 +1,8 @@
|
||||
/**
|
||||
* Tencent Docs plugin: registers Tencent Docs' hosted MCP server with the
|
||||
* shared MCP manager for this plugin's lifetime and tells the model to call it
|
||||
* the Tencent Docs plugin. The manager owns connection, OAuth authorization,
|
||||
* shared MCP manager for this plugin's lifetime, tells the model to call it the
|
||||
* Tencent Docs plugin, and shows the account on the Plugins page while the
|
||||
* account registry runs. The manager owns connection, OAuth authorization,
|
||||
* saved grants, and sign-out; once a grant exists, the server's
|
||||
* `mcp__tencent-docs__*` tools are listed in the system prompt and each agent
|
||||
* loads the ones it needs.
|
||||
@@ -10,8 +11,10 @@
|
||||
|
||||
import type { Context } from '@deepseek-ai/cordis'
|
||||
import z from '@deepseek-ai/schemastery'
|
||||
import type {} from '@deepseek-ai/dsh-client-ui-mcp-account'
|
||||
import type {} from '@deepseek-ai/dsh-mcp-manager'
|
||||
import type {} from '@deepseek-ai/dsh-system-prompt'
|
||||
import { COPY } from './copy.ts'
|
||||
|
||||
export const name = 'tencent-docs'
|
||||
export const inject = ['mcpServers', 'systemPrompt']
|
||||
@@ -39,7 +42,8 @@ export const Config: z<Partial<Config>, Config> = z.object({
|
||||
})
|
||||
|
||||
/**
|
||||
* Register the Tencent Docs server and its naming guidance; both are withdrawn when the plugin unloads.
|
||||
* Register the Tencent Docs server, its naming guidance, and, while the account registry runs, its Plugins page account; all
|
||||
* are withdrawn when the plugin unloads.
|
||||
* @param ctx - Context carrying the MCP manager and system prompt.
|
||||
* @param config - Tencent Docs endpoint and tool loading.
|
||||
* @throws when another configured or registered server already uses the `tencent-docs` name or credential key.
|
||||
@@ -57,5 +61,8 @@ export function apply(ctx: Context, config: Config): void {
|
||||
order: ctx.systemPrompt.getSectionOrder('MCP_SERVERS'),
|
||||
text: GUIDANCE,
|
||||
})
|
||||
ctx.inject(['mcpAccounts'], (scope) => {
|
||||
scope.effect(() => scope.mcpAccounts.register({ server: SERVER_NAME, packageName: '@deepseek-ai/dsh-tencent-docs', copy: COPY }), 'tencent-docs: Plugins page account')
|
||||
})
|
||||
}
|
||||
/* jscpd:ignore-end */
|
||||
@@ -1,23 +0,0 @@
|
||||
/** The browser half registers the Tencent Docs dictionary and account while the Tencent Docs row is on and withdraws both with it. */
|
||||
import { Context } from '@deepseek-ai/cordis'
|
||||
import { expect, it, vi } from 'vitest'
|
||||
import { apply, inject } from '../src/client/index.ts'
|
||||
import { de, en, es, fr, ja, pt, ru, zh } from '../src/client/locales.ts'
|
||||
|
||||
it('registers the Tencent Docs account under its dictionary and removes both on disposal', async () => {
|
||||
const ctx = new Context()
|
||||
const dictionaryRemoved = vi.fn(), accountRemoved = vi.fn()
|
||||
const locale = { register: vi.fn(() => dictionaryRemoved) }
|
||||
const mcpAccounts = { register: vi.fn(() => accountRemoved) }
|
||||
ctx.provide('locale', locale)
|
||||
ctx.provide('mcpAccounts', mcpAccounts)
|
||||
try {
|
||||
const fiber = ctx.plugin({ inject: [...inject], apply })
|
||||
await fiber
|
||||
expect(locale.register).toHaveBeenCalledWith('tencent-docs', { zh, en, ja, es, fr, de, ru, pt })
|
||||
expect(mcpAccounts.register).toHaveBeenCalledWith({ server: 'tencent-docs', packageName: '@deepseek-ai/dsh-tencent-docs', locale: 'tencent-docs' })
|
||||
await fiber.dispose()
|
||||
expect(dictionaryRemoved).toHaveBeenCalledOnce()
|
||||
expect(accountRemoved).toHaveBeenCalledOnce()
|
||||
} finally { await ctx.fiber.dispose() }
|
||||
})
|
||||
@@ -3,6 +3,7 @@
|
||||
import { expect, it, vi } from 'vitest'
|
||||
import type { Context } from '@deepseek-ai/cordis'
|
||||
import type { Agent } from '@deepseek-ai/dsh-agent'
|
||||
import McpAccounts, { type McpAccountsView } from '@deepseek-ai/dsh-client-ui-mcp-account'
|
||||
import { parseCredentialKey } from '@deepseek-ai/dsh-credentials'
|
||||
import { ToolCallId } from '@deepseek-ai/dsh-llm'
|
||||
import { executeToolFixture } from '@deepseek-ai/dsh-tool-testkit'
|
||||
@@ -12,6 +13,7 @@ import { createScope } from '@deepseek-ai/dsh-scope'
|
||||
import { renderPrompt } from '@deepseek-ai/dsh-system-prompt'
|
||||
import { callback, oauthWorld, phase } from '../../../mcp/mcp-client/tests/oauth-fixture.ts'
|
||||
import { managerProfile } from '../../../mcp/mcp-manager/tests/profile-fixture.ts'
|
||||
import { COPY } from '../src/copy.ts'
|
||||
import * as TencentDocs from '../src/index.ts'
|
||||
|
||||
// Verbatim pin of the model-visible guidance in src/index.ts.
|
||||
@@ -100,6 +102,28 @@ it('keeps Tencent Docs tools hidden from an agent until it loads them, unless lo
|
||||
expect(b.ctx.tools.get('mcp__tencent-docs__ping', other)).toBeDefined()
|
||||
})
|
||||
|
||||
/** Read the account stream until a view satisfies the predicate. */
|
||||
async function until(stream: AsyncIterator<McpAccountsView>, predicate: (view: McpAccountsView) => boolean): Promise<McpAccountsView> {
|
||||
for (;;) {
|
||||
const next = await stream.next()
|
||||
if (next.done === true) throw new Error('account stream ended')
|
||||
if (predicate(next.value)) return next.value
|
||||
}
|
||||
}
|
||||
|
||||
it('shows the Tencent Docs account on the Plugins page while the account registry runs, and withdraws it with the plugin', async () => {
|
||||
const b = await fixture()
|
||||
await b.ctx.plugin(McpAccounts)
|
||||
const stream = b.ctx.mcpAccounts.watch(new AbortController().signal)[Symbol.asyncIterator]()
|
||||
const plugin = b.mount()
|
||||
await plugin.await()
|
||||
const shown = await until(stream, view => view.accounts[0]?.view !== undefined)
|
||||
expect(shown.accounts).toHaveLength(1)
|
||||
expect(shown.accounts[0]).toMatchObject({ server: 'tencent-docs', packageName: '@deepseek-ai/dsh-tencent-docs', copy: COPY, view: { name: 'tencent-docs' } })
|
||||
await plugin.dispose()
|
||||
await until(stream, view => view.accounts.length === 0)
|
||||
})
|
||||
|
||||
it('refuses to load when a configured server already uses the Tencent Docs name', async () => {
|
||||
const b = await fixture({ 'tencent-docs': { transport: 'streamable-http', url: 'https://docs.example/mcp', enabled: false } })
|
||||
await expect(b.mount().await()).rejects.toThrow('server "tencent-docs" is already configured or registered')
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
{
|
||||
"extends": "../../../tsconfig.base.client.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "lib/types",
|
||||
"tsBuildInfoFile": "lib/tsconfig.client.tsbuildinfo"
|
||||
},
|
||||
"include": [
|
||||
"src/client"
|
||||
],
|
||||
"references": [
|
||||
{
|
||||
"path": "../../../vendor/cordis"
|
||||
},
|
||||
{
|
||||
"path": "../../client/locale/tsconfig.client.json"
|
||||
},
|
||||
{
|
||||
"path": "../../client/ui-mcp-account"
|
||||
},
|
||||
{
|
||||
"path": "../../client/ui-slots"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
{
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "lib/types",
|
||||
"tsBuildInfoFile": "lib/tsconfig.host.tsbuildinfo"
|
||||
},
|
||||
"files": [
|
||||
"src/index.ts"
|
||||
],
|
||||
"references": [
|
||||
{
|
||||
"path": "../../../vendor/cordis"
|
||||
},
|
||||
{
|
||||
"path": "../../../vendor/schemastery"
|
||||
},
|
||||
{
|
||||
"path": "../../mcp/mcp-manager"
|
||||
},
|
||||
{
|
||||
"path": "../../core/system-prompt"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,11 +1,27 @@
|
||||
{
|
||||
"files": [],
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "lib/types"
|
||||
},
|
||||
"include": [
|
||||
"src"
|
||||
],
|
||||
"references": [
|
||||
{
|
||||
"path": "./tsconfig.host.json"
|
||||
"path": "../../../vendor/cordis"
|
||||
},
|
||||
{
|
||||
"path": "./tsconfig.client.json"
|
||||
"path": "../../../vendor/schemastery"
|
||||
},
|
||||
{
|
||||
"path": "../../mcp/mcp-manager"
|
||||
},
|
||||
{
|
||||
"path": "../../core/system-prompt"
|
||||
},
|
||||
{
|
||||
"path": "../../client/ui-mcp-account/tsconfig.host.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
import { clientBundle } from '../../client/tsdown.client.ts'
|
||||
|
||||
export default clientBundle(import.meta.dirname, ['lib/types/index.js'], { hostPhase: true })
|
||||
Generated
-6
@@ -7519,15 +7519,9 @@ importers:
|
||||
'@deepseek-ai/dsh-agent':
|
||||
specifier: workspace:*
|
||||
version: link:../../core/agent
|
||||
'@deepseek-ai/dsh-client-locale':
|
||||
specifier: workspace:*
|
||||
version: link:../../client/locale
|
||||
'@deepseek-ai/dsh-client-ui-mcp-account':
|
||||
specifier: workspace:*
|
||||
version: link:../../client/ui-mcp-account
|
||||
'@deepseek-ai/dsh-client-ui-slots':
|
||||
specifier: workspace:*
|
||||
version: link:../../client/ui-slots
|
||||
'@deepseek-ai/dsh-credentials':
|
||||
specifier: workspace:*
|
||||
version: link:../../credentials/credentials
|
||||
|
||||
@@ -163,7 +163,6 @@
|
||||
{ "path": "./packages/client/ui-settings-models" },
|
||||
{ "path": "./packages/client/ui-plugin-manager/tsconfig.client.json" },
|
||||
{ "path": "./packages/client/ui-plugin-market" },
|
||||
{ "path": "./packages/connector/tencent-docs/tsconfig.client.json" },
|
||||
{ "path": "./packages/client/ui-settings-plugin-inventory" },
|
||||
{ "path": "./packages/client/locale/tsconfig.client.json" },
|
||||
{ "path": "./packages/client/ui-renderer" },
|
||||
|
||||
+1
-1
@@ -578,7 +578,7 @@
|
||||
{ "path": "./packages/mcp/mcp-client" },
|
||||
{ "path": "./packages/mcp/mcp-manager" },
|
||||
{ "path": "./packages/mcp/mcp-resources" },
|
||||
{ "path": "./packages/connector/tencent-docs/tsconfig.host.json" },
|
||||
{ "path": "./packages/connector/tencent-docs" },
|
||||
{ "path": "./packages/host/directory-picker" },
|
||||
{ "path": "./packages/host/directory-picker-auto" },
|
||||
{ "path": "./packages/host/directory-picker-browse" },
|
||||
|
||||
Reference in new issue
Block a user