@botpress/runtime 1.13.7 → 1.13.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/runtime",
3
- "version": "1.13.7",
3
+ "version": "1.13.9",
4
4
  "description": "Lightweight runtime library for ADK-based Botpress agents",
5
5
  "type": "module",
6
6
  "files": [
@@ -81,7 +81,7 @@
81
81
  "fast-safe-stringify": "^2.1.1",
82
82
  "fast-xml-parser": "^5.3.3",
83
83
  "glob": "^11.1.0",
84
- "llmz": "^0.0.35",
84
+ "llmz": "^0.0.37",
85
85
  "lodash": "^4.17.21",
86
86
  "ms": "^2.1.3",
87
87
  "object-sizeof": "^2.6.5",
@@ -1,31 +0,0 @@
1
- /**
2
- * Gets the tag name for a trigger
3
- * @param triggerName - The name of the trigger
4
- * @returns The tag name in format "trigger[5-char-hash]"
5
- */
6
- export declare const getTriggerTagName: (triggerName: string) => string;
7
- /**
8
- * Gets the tag value for a specific trigger match
9
- * @param key - The specific key from the trigger match result, or undefined for wildcard
10
- * @returns The tag value - either the specific key or "*" for wildcard
11
- */
12
- export declare const getTriggerTagValue: (key?: string) => string;
13
- /**
14
- * Helper to subscribe a conversation to a trigger
15
- * @param triggerName - The name of the trigger to subscribe to
16
- * @param key - Optional specific key to subscribe to (omit for wildcard subscription)
17
- * @returns Object with tagName and tagValue to use for subscription
18
- */
19
- export declare const getTriggerSubscriptionTags: (triggerName: string, key?: string) => {
20
- name: string;
21
- value: string;
22
- };
23
- /**
24
- * Checks if a conversation should handle a trigger event based on its tags
25
- * @param conversationTags - The tags on the conversation
26
- * @param triggerName - The name of the trigger that fired
27
- * @param triggerKey - The key from the trigger match result
28
- * @returns true if the conversation is subscribed to this trigger event
29
- */
30
- export declare const isConversationSubscribedToTrigger: (conversationTags: Record<string, string>, triggerName: string, triggerKey?: string) => boolean;
31
- //# sourceMappingURL=trigger-tags.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"trigger-tags.d.ts","sourceRoot":"","sources":["../../src/utilities/trigger-tags.ts"],"names":[],"mappings":"AAUA;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,GAAI,aAAa,MAAM,KAAG,MAEvD,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,KAAG,MAEjD,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B,GAAI,aAAa,MAAM,EAAE,MAAM,MAAM;;;CAK3E,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,iCAAiC,GAC5C,kBAAkB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACxC,aAAa,MAAM,EACnB,aAAa,MAAM,KAClB,OAUF,CAAA"}