@botpress/adk 1.13.19 → 1.14.0

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.
@@ -20,7 +20,10 @@ export interface FetchServerConfigsResult {
20
20
  }
21
21
  /**
22
22
  * Fetches current integration configurations from the server for a given bot.
23
- * Prefers devId (for adk dev), falls back to botId if devId fetch fails (e.g. deleted dev bot).
23
+ *
24
+ * When `targetBotId` is provided, fetches from that specific bot (used during
25
+ * deploy/build to fetch from the production bot). Otherwise falls back to
26
+ * devId → botId resolution (used during adk dev to fetch from the dev bot).
24
27
  */
25
- export declare function fetchServerIntegrationConfigs(project: AgentProject): Promise<FetchServerConfigsResult>;
28
+ export declare function fetchServerIntegrationConfigs(project: AgentProject, targetBotId?: string): Promise<FetchServerConfigsResult>;
26
29
  //# sourceMappingURL=config-utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config-utils.d.ts","sourceRoot":"","sources":["../../src/integrations/config-utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AAErE;;;;GAIG;AACH,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,EACxC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,GACvC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAKrB;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAC1B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,EACxC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC5B,cAAc,GAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAM,GACvC,OAAO,CAMT;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAA;IAC5C,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;;GAGG;AACH,wBAAsB,6BAA6B,CACjD,OAAO,EAAE,YAAY,GACpB,OAAO,CAAC,wBAAwB,CAAC,CA6BnC"}
1
+ {"version":3,"file":"config-utils.d.ts","sourceRoot":"","sources":["../../src/integrations/config-utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AAErE;;;;GAIG;AACH,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,EACxC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,GACvC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAKrB;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAC1B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,EACxC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC5B,cAAc,GAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAM,GACvC,OAAO,CAMT;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAA;IAC5C,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;;;;;GAMG;AACH,wBAAsB,6BAA6B,CACjD,OAAO,EAAE,YAAY,EACrB,WAAW,CAAC,EAAE,MAAM,GACnB,OAAO,CAAC,wBAAwB,CAAC,CAiCnC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/adk",
3
- "version": "1.13.19",
3
+ "version": "1.14.0",
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": "^5.2.0",
48
48
  "@botpress/client": "^1.28.0",
49
49
  "@botpress/cognitive": "^0.3.3",
50
- "@botpress/runtime": "^1.13.19",
50
+ "@botpress/runtime": "^1.14.0",
51
51
  "@botpress/sdk": "^5.1.0",
52
52
  "@bpinternal/jex": "^1.2.4",
53
53
  "@bpinternal/yargs-extra": "^0.0.21",