@botpress/adk 1.12.2 → 1.12.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Links @botpress/sdk from the agent's node_modules to .adk/bot/node_modules
3
+ *
4
+ * This ensures that the generated bot project can resolve @botpress/sdk
5
+ * using the same version that @botpress/runtime depends on.
6
+ *
7
+ * The linking strategy:
8
+ * 1. If .adk/bot/node_modules/@botpress/sdk already exists, do nothing
9
+ * 2. Find @botpress/runtime from the agent directory
10
+ * 3. Find @botpress/sdk from the runtime's location (either nested or by walking up)
11
+ * 4. Create a symlink in .adk/bot/node_modules/@botpress/sdk pointing to the found SDK
12
+ */
13
+ export declare function linkSdk(agentDir: string, botDir: string): Promise<void>;
14
+ //# sourceMappingURL=link-sdk.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link-sdk.d.ts","sourceRoot":"","sources":["../../src/utils/link-sdk.ts"],"names":[],"mappings":"AA2BA;;;;;;;;;;;GAWG;AACH,wBAAsB,OAAO,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAgC7E"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/adk",
3
- "version": "1.12.2",
3
+ "version": "1.12.3",
4
4
  "description": "Core ADK library for building AI agents on Botpress",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -47,7 +47,7 @@
47
47
  "@botpress/cli": "^4.27.3",
48
48
  "@botpress/client": "^1.28.0",
49
49
  "@botpress/cognitive": "^0.2.0",
50
- "@botpress/runtime": "^1.12.2",
50
+ "@botpress/runtime": "^1.12.3",
51
51
  "@botpress/sdk": "^4.18.1",
52
52
  "@bpinternal/jex": "^1.2.4",
53
53
  "@bpinternal/yargs-extra": "^0.0.21",