diff --git a/extensions/matrix/package.json b/extensions/matrix/package.json index c58f85761..80abd39b9 100644 --- a/extensions/matrix/package.json +++ b/extensions/matrix/package.json @@ -9,6 +9,7 @@ ] }, "dependencies": { + "clawdbot": "workspace:*", "markdown-it": "14.1.0", "matrix-js-sdk": "40.0.0" } diff --git a/extensions/msteams/package.json b/extensions/msteams/package.json index 77609c5da..9b0486016 100644 --- a/extensions/msteams/package.json +++ b/extensions/msteams/package.json @@ -9,6 +9,7 @@ ] }, "dependencies": { + "clawdbot": "workspace:*", "@microsoft/agents-hosting": "^1.1.1", "@microsoft/agents-hosting-express": "^1.1.1", "@microsoft/agents-hosting-extensions-teams": "^1.1.1", diff --git a/extensions/zalo/package.json b/extensions/zalo/package.json index 3723fb86b..6527ddce5 100644 --- a/extensions/zalo/package.json +++ b/extensions/zalo/package.json @@ -9,6 +9,7 @@ ] }, "dependencies": { + "clawdbot": "workspace:*", "undici": "7.18.2" } } diff --git a/extensions/zalouser/package.json b/extensions/zalouser/package.json index f70b496d3..46748d350 100644 --- a/extensions/zalouser/package.json +++ b/extensions/zalouser/package.json @@ -4,6 +4,7 @@ "type": "module", "description": "Clawdbot Zalo Personal Account plugin via zca-cli", "dependencies": { + "clawdbot": "workspace:*", "@sinclair/typebox": "0.34.47" }, "clawdbot": { diff --git a/package.json b/package.json index c8dfd4c7e..bd61f7823 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,11 @@ "description": "WhatsApp gateway CLI (Baileys web) with Pi RPC agent", "type": "module", "main": "dist/index.js", + "exports": { + ".": "./dist/index.js", + "./plugin-sdk": "./dist/plugin-sdk/index.js", + "./plugin-sdk/*": "./dist/plugin-sdk/*" + }, "bin": { "clawdbot": "dist/entry.js" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6ec79cc3c..82ddccd67 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -246,6 +246,9 @@ importers: extensions/matrix: dependencies: + clawdbot: + specifier: workspace:* + version: link:../.. markdown-it: specifier: 14.1.0 version: 14.1.0 @@ -264,6 +267,9 @@ importers: '@microsoft/agents-hosting-extensions-teams': specifier: ^1.1.1 version: 1.1.1 + clawdbot: + specifier: workspace:* + version: link:../.. express: specifier: ^5.2.1 version: 5.2.1 @@ -285,6 +291,9 @@ importers: extensions/zalo: dependencies: + clawdbot: + specifier: workspace:* + version: link:../.. undici: specifier: 7.18.2 version: 7.18.2 @@ -294,6 +303,9 @@ importers: '@sinclair/typebox': specifier: 0.34.47 version: 0.34.47 + clawdbot: + specifier: workspace:* + version: link:../.. ui: dependencies: