build: export plugin-sdk for extensions

This commit is contained in:
Peter Steinberger
2026-01-18 04:29:28 +00:00
parent b5c023044b
commit 154d4a43db
6 changed files with 21 additions and 0 deletions

View File

@@ -9,6 +9,7 @@
] ]
}, },
"dependencies": { "dependencies": {
"clawdbot": "workspace:*",
"markdown-it": "14.1.0", "markdown-it": "14.1.0",
"matrix-js-sdk": "40.0.0" "matrix-js-sdk": "40.0.0"
} }

View File

@@ -9,6 +9,7 @@
] ]
}, },
"dependencies": { "dependencies": {
"clawdbot": "workspace:*",
"@microsoft/agents-hosting": "^1.1.1", "@microsoft/agents-hosting": "^1.1.1",
"@microsoft/agents-hosting-express": "^1.1.1", "@microsoft/agents-hosting-express": "^1.1.1",
"@microsoft/agents-hosting-extensions-teams": "^1.1.1", "@microsoft/agents-hosting-extensions-teams": "^1.1.1",

View File

@@ -9,6 +9,7 @@
] ]
}, },
"dependencies": { "dependencies": {
"clawdbot": "workspace:*",
"undici": "7.18.2" "undici": "7.18.2"
} }
} }

View File

@@ -4,6 +4,7 @@
"type": "module", "type": "module",
"description": "Clawdbot Zalo Personal Account plugin via zca-cli", "description": "Clawdbot Zalo Personal Account plugin via zca-cli",
"dependencies": { "dependencies": {
"clawdbot": "workspace:*",
"@sinclair/typebox": "0.34.47" "@sinclair/typebox": "0.34.47"
}, },
"clawdbot": { "clawdbot": {

View File

@@ -4,6 +4,11 @@
"description": "WhatsApp gateway CLI (Baileys web) with Pi RPC agent", "description": "WhatsApp gateway CLI (Baileys web) with Pi RPC agent",
"type": "module", "type": "module",
"main": "dist/index.js", "main": "dist/index.js",
"exports": {
".": "./dist/index.js",
"./plugin-sdk": "./dist/plugin-sdk/index.js",
"./plugin-sdk/*": "./dist/plugin-sdk/*"
},
"bin": { "bin": {
"clawdbot": "dist/entry.js" "clawdbot": "dist/entry.js"
}, },

12
pnpm-lock.yaml generated
View File

@@ -246,6 +246,9 @@ importers:
extensions/matrix: extensions/matrix:
dependencies: dependencies:
clawdbot:
specifier: workspace:*
version: link:../..
markdown-it: markdown-it:
specifier: 14.1.0 specifier: 14.1.0
version: 14.1.0 version: 14.1.0
@@ -264,6 +267,9 @@ importers:
'@microsoft/agents-hosting-extensions-teams': '@microsoft/agents-hosting-extensions-teams':
specifier: ^1.1.1 specifier: ^1.1.1
version: 1.1.1 version: 1.1.1
clawdbot:
specifier: workspace:*
version: link:../..
express: express:
specifier: ^5.2.1 specifier: ^5.2.1
version: 5.2.1 version: 5.2.1
@@ -285,6 +291,9 @@ importers:
extensions/zalo: extensions/zalo:
dependencies: dependencies:
clawdbot:
specifier: workspace:*
version: link:../..
undici: undici:
specifier: 7.18.2 specifier: 7.18.2
version: 7.18.2 version: 7.18.2
@@ -294,6 +303,9 @@ importers:
'@sinclair/typebox': '@sinclair/typebox':
specifier: 0.34.47 specifier: 0.34.47
version: 0.34.47 version: 0.34.47
clawdbot:
specifier: workspace:*
version: link:../..
ui: ui:
dependencies: dependencies: