feat: installable dsh bundle package

This commit is contained in:
zeyu.fz
2026-08-15 18:46:32 +08:00
parent b4129c6cbd
commit a6ee267071
3 changed files with 29 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
# bailian-kb-bundle: 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.
- insert:
- id: tool-bailian-kb
name: dsh-tool-bailian-kb
config:
workspaceId: !!js process.env.BAILIAN_WORKSPACE_ID
+13
View File
@@ -0,0 +1,13 @@
{
"name": "bailian-kb-bundle",
"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",
"dsh": { "bundle": { "patch": "./cordis.patch.yml" } },
"exports": {
"./cordis.patch.yml": "./cordis.patch.yml",
"./package.json": "./package.json"
},
"files": ["cordis.patch.yml"],
"dependencies": { "dsh-tool-bailian-kb": "workspace:^" }
}
+6
View File
@@ -15,6 +15,12 @@ importers:
specifier: ^3.0.0
version: 3.2.7(@types/node@22.20.1)
packages/bundle:
dependencies:
dsh-tool-bailian-kb:
specifier: workspace:^
version: link:../tool-bailian-kb
packages/tool-bailian-kb:
devDependencies:
'@deepseek-ai/cordis':