From 50b59f8640fd740ee66ee303b5031563f5ca67cc Mon Sep 17 00:00:00 2001 From: "zeyu.fz" Date: Sat, 15 Aug 2026 19:36:00 +0800 Subject: [PATCH] =?UTF-8?q?refactor(bundle):=20=E9=87=8D=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E5=88=86=E5=8F=91=E5=8C=85=E4=B8=BA=20bailian-kb-dsh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将分发包名称从 bailian-kb-bundle 改为 bailian-kb-dsh - 同步更新 README.md 中的包名和卸载命令描述 - 更新 package.json 中的 name 字段 - 修改 cordis.patch.yml 中的注释以匹配新名称 - 确保所有文档和配置引用一致性 --- README.md | 6 +++--- packages/bundle/README.md | 4 ++-- packages/bundle/cordis.patch.yml | 2 +- packages/bundle/package.json | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 65e1afd..50a50cc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# bailian-kb-bundle +# bailian-kb-dsh 阿里云百炼知识库能力的 [DeepSeek Harness (dsh)](https://github.com/deepseek-ai/deepseek-harness) 插件 bundle:三个 API 直连模型工具(`kb_service_list` / `kb_search` / `kb_chat`)+ kscli 管理面 skill。 @@ -14,7 +14,7 @@ ## 安装(dsh 用户) ```sh -dsh plugin --profile web add bailian-kb-bundle # npm 发布后;本地开发用绝对/相对路径 +dsh plugin --profile web add bailian-kb-dsh # npm 发布后;本地开发用绝对/相对路径 ``` 安装后 CLI 自动把 bundle 加入 profile 的层栈,无需手改 YAML。 @@ -28,7 +28,7 @@ DASHSCOPE_API_KEY=sk-xxx # 必填:也可放 ~/.dsh/.credentials.yaml 验证:`dsh --profile web --dump-config` 应能看到 `tool-bailian-kb` row。缺 `BAILIAN_WORKSPACE_ID` 时加载期直接报错(fail loud),不会静默跳过。 -卸载:`dsh plugin --profile web remove bailian-kb-bundle`。 +卸载:`dsh plugin --profile web remove bailian-kb-dsh`。 ## 开发 diff --git a/packages/bundle/README.md b/packages/bundle/README.md index 66ffd0a..126b173 100644 --- a/packages/bundle/README.md +++ b/packages/bundle/README.md @@ -1,4 +1,4 @@ -# bailian-kb-bundle(分发包) +# bailian-kb-dsh(分发包) dsh bundle 分发面:`package.json` 的 `dsh.bundle.patch` 声明 + [`cordis.patch.yml`](cordis.patch.yml),向 profile 插入 `tool-bailian-kb` row。 @@ -32,5 +32,5 @@ dsh bundle 分发面:`package.json` 的 `dsh.bundle.patch` 声明 + [`cordis.p ## 卸载 ```sh -dsh plugin --profile remove bailian-kb-bundle +dsh plugin --profile remove bailian-kb-dsh ``` diff --git a/packages/bundle/cordis.patch.yml b/packages/bundle/cordis.patch.yml index b822b52..3fce72a 100644 --- a/packages/bundle/cordis.patch.yml +++ b/packages/bundle/cordis.patch.yml @@ -1,4 +1,4 @@ -# bailian-kb-bundle: inserts the Bailian knowledge-base consumer over dsh-base. +# bailian-kb-dsh: inserts the Bailian knowledge-base consumer over dsh-base. # workspaceId reads BAILIAN_WORKSPACE_ID from the environment (~/.dsh/.env) so a # user patch is only needed to pin defaultAgentId or override the host/timeout. # An id-targeted user patch replaces this whole config: restate workspaceId too. diff --git a/packages/bundle/package.json b/packages/bundle/package.json index 71a8bb5..58dc7dc 100644 --- a/packages/bundle/package.json +++ b/packages/bundle/package.json @@ -1,5 +1,5 @@ { - "name": "bailian-kb-bundle", + "name": "bailian-kb-dsh", "version": "0.1.0", "description": "Installable dsh bundle for Bailian knowledge-base tools: kb_service_list, kb_search, kb_chat plus the kscli management skill.", "type": "module",