@botpress/adk 1.12.2 → 1.12.4
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync-manager.d.ts","sourceRoot":"","sources":["../../src/integrations/sync-manager.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"sync-manager.d.ts","sourceRoot":"","sources":["../../src/integrations/sync-manager.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAA;AAc1D,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAChD;AAED,qBAAa,sBAAsB;IACjC,OAAO,CAAC,WAAW,CAAQ;IAC3B,OAAO,CAAC,MAAM,CAAC,CAAQ;gBAEX,WAAW,EAAE,MAAM;YAIjB,SAAS;IAwBjB,aAAa,CAAC,YAAY,EAAE,sBAAsB,EAAE,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;CAqEjG"}
|
|
@@ -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.
|
|
3
|
+
"version": "1.12.4",
|
|
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.
|
|
50
|
+
"@botpress/runtime": "^1.12.4",
|
|
51
51
|
"@botpress/sdk": "^4.18.1",
|
|
52
52
|
"@bpinternal/jex": "^1.2.4",
|
|
53
53
|
"@bpinternal/yargs-extra": "^0.0.21",
|