@botpress/runtime 1.3.5 → 1.3.7

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.
@@ -48,7 +48,7 @@ var init_define_BUILD = __esm({
48
48
  var define_PACKAGE_VERSIONS_default;
49
49
  var init_define_PACKAGE_VERSIONS = __esm({
50
50
  "<define:__PACKAGE_VERSIONS__>"() {
51
- define_PACKAGE_VERSIONS_default = { runtime: "1.3.5", adk: "not-installed", sdk: "4.17.0", llmz: "0.0.26", zai: "2.1.16", cognitive: "0.1.47" };
51
+ define_PACKAGE_VERSIONS_default = { runtime: "1.3.7", adk: "not-installed", sdk: "4.17.0", llmz: "0.0.26", zai: "2.1.16", cognitive: "0.1.47" };
52
52
  }
53
53
  });
54
54
 
@@ -39302,6 +39302,7 @@ init_define_BUILD();
39302
39302
  init_define_PACKAGE_VERSIONS();
39303
39303
  import {
39304
39304
  Chat,
39305
+ DefaultComponents,
39305
39306
  isAnyComponent as isAnyComponent2
39306
39307
  } from "llmz";
39307
39308
 
@@ -39496,9 +39497,6 @@ ${openTag}${inner}${closeTag}
39496
39497
  \`\`\``;
39497
39498
  }
39498
39499
 
39499
- // src/runtime/chat/chat.ts
39500
- import { DefaultComponents } from "llmz";
39501
-
39502
39500
  // ../../node_modules/.bun/dedent@1.7.0/node_modules/dedent/dist/dedent.mjs
39503
39501
  init_define_BUILD();
39504
39502
  init_define_PACKAGE_VERSIONS();
@@ -39609,25 +39607,6 @@ ${indent}`);
39609
39607
  return value;
39610
39608
  }
39611
39609
 
39612
- // src/runtime/config.ts
39613
- init_define_BUILD();
39614
- init_define_PACKAGE_VERSIONS();
39615
- import { limitConfigs } from "@bpinternal/const";
39616
- var Transcript = {
39617
- /** How many messages will be preserved in the transcript before summarization */
39618
- SUMMARY_MAX_MESSAGES: 50,
39619
- /** How many messages will be preserved at the end of the transcript for higher-precision recall of recent messages */
39620
- SUMMARY_END_PADDING: 10,
39621
- /** Max transcript size in bytes before summarization */
39622
- SUMMARY_MAX_BYTES: limitConfigs.state_item_payload_bytes.value * 0.8,
39623
- /** Max bytes for a single message in the transcript */
39624
- TRANSCRIPT_ITEM_MAX_BYTES: 1e4
39625
- };
39626
-
39627
- // src/runtime/chat/citations.ts
39628
- init_define_BUILD();
39629
- init_define_PACKAGE_VERSIONS();
39630
-
39631
39610
  // src/utilities/events.ts
39632
39611
  init_define_BUILD();
39633
39612
  init_define_PACKAGE_VERSIONS();
@@ -44686,8 +44665,24 @@ var adk = {
44686
44665
  }
44687
44666
  };
44688
44667
 
44689
- // src/runtime/chat/chat.ts
44690
- var OutgoingMessages = Object.values(DefaultComponents);
44668
+ // src/runtime/config.ts
44669
+ init_define_BUILD();
44670
+ init_define_PACKAGE_VERSIONS();
44671
+ import { limitConfigs } from "@bpinternal/const";
44672
+ var Transcript = {
44673
+ /** How many messages will be preserved in the transcript before summarization */
44674
+ SUMMARY_MAX_MESSAGES: 50,
44675
+ /** How many messages will be preserved at the end of the transcript for higher-precision recall of recent messages */
44676
+ SUMMARY_END_PADDING: 10,
44677
+ /** Max transcript size in bytes before summarization */
44678
+ SUMMARY_MAX_BYTES: limitConfigs.state_item_payload_bytes.value * 0.8,
44679
+ /** Max bytes for a single message in the transcript */
44680
+ TRANSCRIPT_ITEM_MAX_BYTES: 1e4
44681
+ };
44682
+
44683
+ // src/runtime/chat/citations.ts
44684
+ init_define_BUILD();
44685
+ init_define_PACKAGE_VERSIONS();
44691
44686
 
44692
44687
  // src/runtime/handlers/index.ts
44693
44688
  init_define_BUILD();