refactor(package): 重命名包名为 @ali/bailian-kb-dsh

- 更新 README 中的安装与卸载命令,替换包名为 @ali/bailian-kb-dsh
- 修改 cordis.patch.yml 中的工具名为 '@ali/bailian-kb-dsh'
- 将 package.json 中的包名改为 @ali/bailian-kb-dsh
- 调整内部文档示例中的包名配置一致性
This commit is contained in:
zeyu.fz
2026-08-17 15:26:08 +08:00
parent dbf83c3e16
commit 9000a5efbf
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -13,7 +13,7 @@
## 安装(dsh 用户)
```sh
dsh plugin --profile web add dsh-tool-bailian-kb # npm 发布后;本地开发用绝对/相对路径
dsh plugin --profile web add @ali/bailian-kb-dsh # npm 发布后;本地开发用绝对/相对路径
```
安装后 CLI 自动把 bundle 加入 profile 的层栈,无需手改 YAML。
@@ -27,7 +27,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 dsh-tool-bailian-kb`。
卸载:`dsh plugin --profile web remove @ali/bailian-kb-dsh`。
## 开发
+1 -1
View File
@@ -9,7 +9,7 @@
```yaml
- insert:
- id: tool-bailian-kb
name: dsh-tool-bailian-kb
name: '@ali/bailian-kb-dsh'
config:
workspaceId: !!js process.env.BAILIAN_WORKSPACE_ID
```
+1 -1
View File
@@ -8,6 +8,6 @@
- insert:
- id: tool-bailian-kb
name: dsh-tool-bailian-kb
name: '@ali/bailian-kb-dsh'
config:
workspaceId: !!js process.env.BAILIAN_WORKSPACE_ID
+1 -1
View File
@@ -1,5 +1,5 @@
{
"name": "dsh-tool-bailian-kb",
"name": "@ali/bailian-kb-dsh",
"version": "0.1.0",
"description": "Bailian knowledge-base tools for DeepSeek Harness: kb_search and kb_chat over the DashScope RAG API, plus the kscli management skill.",
"type": "module",