@floe-ai/sdk 0.1.0-dev.30 → 0.1.0-dev.32
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-sdk/floe-sdk.es.js +793 -734
- package/dist-sdk/floe-sdk.es.js.map +1 -1
- package/dist-sdk/floe-sdk.iife.js +32 -32
- package/dist-sdk/floe-sdk.iife.js.map +1 -1
- package/dist-sdk/floe-sdk.umd.js +32 -32
- package/dist-sdk/floe-sdk.umd.js.map +1 -1
- package/dist-sdk/index.d.ts +8 -0
- package/package.json +1 -1
package/dist-sdk/index.d.ts
CHANGED
|
@@ -270,6 +270,14 @@ declare class OnboardingSDK extends EventEmitter {
|
|
|
270
270
|
* Handle server messages from bot (via Pipecat ServerMessage events)
|
|
271
271
|
* Supports both legacy selector-based commands and new hybrid target format
|
|
272
272
|
*
|
|
273
|
+
/**
|
|
274
|
+
* Prune transcript history to stay within the configured cap.
|
|
275
|
+
* When the cap is reached:
|
|
276
|
+
* 1. Merge rapid sequential same-role messages within MERGE_WINDOW_MS
|
|
277
|
+
* 2. If still over cap, keep the most recent messages
|
|
278
|
+
*/
|
|
279
|
+
private pruneTranscriptHistory;
|
|
280
|
+
/**
|
|
273
281
|
* Message formats supported:
|
|
274
282
|
* 1. RTVIServerMessageFrame: { data: { type: 'ui_action', action: '...', target: {...} } }
|
|
275
283
|
* 2. Direct ui_action: { type: 'ui_action', action: '...', target: {...} }
|