@botpress/adk 1.18.2 → 1.18.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.
package/dist/index.js CHANGED
@@ -2148,7 +2148,7 @@ var _format = null, _formatLoaded = false, formatCode = async (code, filepath) =
2148
2148
  `));
2149
2149
  return code;
2150
2150
  }
2151
- }, ADK_VERSION = "1.18.2", relative2 = (from, to) => {
2151
+ }, ADK_VERSION = "1.18.3", relative2 = (from, to) => {
2152
2152
  const fromDir = path9.dirname(from);
2153
2153
  const relative3 = path9.relative(fromDir, to);
2154
2154
  return relative3.startsWith(".") ? relative3 : `./${relative3}`;
@@ -4999,7 +4999,7 @@ var init_integration_action_types = __esm(() => {
4999
4999
  var require_package = __commonJS((exports, module) => {
5000
5000
  module.exports = {
5001
5001
  name: "@botpress/adk",
5002
- version: "1.18.2",
5002
+ version: "1.18.3",
5003
5003
  description: "Core ADK library for building AI agents on Botpress",
5004
5004
  keywords: [
5005
5005
  "adk",
@@ -5048,7 +5048,7 @@ var require_package = __commonJS((exports, module) => {
5048
5048
  "@botpress/cli": "~6.3.2",
5049
5049
  "@botpress/client": "~1.39.0",
5050
5050
  "@botpress/cognitive": "~0.5.2",
5051
- "@botpress/runtime": "^1.18.2",
5051
+ "@botpress/runtime": "^1.18.3",
5052
5052
  "@botpress/sdk": "~6.4.4",
5053
5053
  "@bpinternal/jex": "^1.2.4",
5054
5054
  "@bpinternal/yargs-extra": "^0.0.21",
@@ -6839,7 +6839,7 @@ ${names || " (none found)"}`);
6839
6839
  async copyTemplateFiles(templateDir) {
6840
6840
  const substitutions = {
6841
6841
  "{{projectName}}": this.projectName,
6842
- "{{runtimeVersion}}": "1.18.2",
6842
+ "{{runtimeVersion}}": "1.18.3",
6843
6843
  "{{packageManager}}": this.packageManager
6844
6844
  };
6845
6845
  await this.copyDirRecursive(templateDir, this.projectPath, substitutions);
@@ -11948,14 +11948,6 @@ class KnowledgeManager {
11948
11948
  if (!source || !DataSource.isWebsite(source))
11949
11949
  continue;
11950
11950
  const config = source.getConfig();
11951
- if (config.mode === "website") {
11952
- console.warn(` ⚠️ Skipping website source "${source.id}": website mode requires browser integration for URL discovery. Use WebsiteSource.fromSitemap() instead.`);
11953
- continue;
11954
- }
11955
- if (config.fetchStrategy === "integration:browser") {
11956
- console.warn(` ⚠️ Skipping website source "${source.id}": integration:browser fetch strategy requires browser integration. Use fetch: 'node:fetch' or a custom fetch function instead.`);
11957
- continue;
11958
- }
11959
11951
  await this.deleteLegacyWebsiteFiles(item.kb.name, sourceStatus.dsId);
11960
11952
  try {
11961
11953
  this.assertBotId("sync website source");
@@ -13232,4 +13224,4 @@ export {
13232
13224
  AgentProject
13233
13225
  };
13234
13226
 
13235
- //# debugId=7CFAE33A71AFBC5464756E2164756E21
13227
+ //# debugId=3ABE826F6FF7A31D64756E2164756E21