mirror of
https://github.com/modelstudioai/cli.git
synced 2026-09-14 19:49:23 +08:00
refactor(bundle): 重命名分发包为 bailian-kb-dsh
- 将分发包名称从 bailian-kb-bundle 改为 bailian-kb-dsh - 同步更新 README.md 中的包名和卸载命令描述 - 更新 package.json 中的 name 字段 - 修改 cordis.patch.yml 中的注释以匹配新名称 - 确保所有文档和配置引用一致性
This commit is contained in:
@@ -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`。
|
||||
|
||||
## 开发
|
||||
|
||||
|
||||
@@ -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 <name> remove bailian-kb-bundle
|
||||
dsh plugin --profile <name> remove bailian-kb-dsh
|
||||
```
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user