Skip to content

Commit a6ee267

Browse files
committed
feat: installable dsh bundle package
1 parent b4129c6 commit a6ee267

3 files changed

Lines changed: 29 additions & 0 deletions

File tree

‎packages/bundle/cordis.patch.yml‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# bailian-kb-bundle: inserts the Bailian knowledge-base consumer over dsh-base.
2+
# workspaceId reads BAILIAN_WORKSPACE_ID from the environment (~/.dsh/.env) so a
3+
# user patch is only needed to pin defaultAgentId or override the host/timeout.
4+
# An id-targeted user patch replaces this whole config: restate workspaceId too.
5+
6+
- insert:
7+
- id: tool-bailian-kb
8+
name: dsh-tool-bailian-kb
9+
config:
10+
workspaceId: !!js process.env.BAILIAN_WORKSPACE_ID

‎packages/bundle/package.json‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "bailian-kb-bundle",
3+
"version": "0.1.0",
4+
"description": "Installable dsh bundle for Bailian knowledge-base tools: kb_service_list, kb_search, kb_chat plus the kscli management skill.",
5+
"type": "module",
6+
"dsh": { "bundle": { "patch": "./cordis.patch.yml" } },
7+
"exports": {
8+
"./cordis.patch.yml": "./cordis.patch.yml",
9+
"./package.json": "./package.json"
10+
},
11+
"files": ["cordis.patch.yml"],
12+
"dependencies": { "dsh-tool-bailian-kb": "workspace:^" }
13+
}

‎pnpm-lock.yaml‎

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)