@floe-ai/sdk 0.1.0-dev.17 → 0.1.0-dev.18
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 +2486 -1975
- package/dist-sdk/floe-sdk.es.js.map +1 -1
- package/dist-sdk/floe-sdk.iife.js +52 -52
- package/dist-sdk/floe-sdk.iife.js.map +1 -1
- package/dist-sdk/floe-sdk.umd.js +52 -52
- package/dist-sdk/floe-sdk.umd.js.map +1 -1
- package/dist-sdk/index.d.ts +18 -0
- package/package.json +1 -1
package/dist-sdk/index.d.ts
CHANGED
|
@@ -366,6 +366,24 @@ declare class OnboardingSDK extends EventEmitter {
|
|
|
366
366
|
* @returns true if action succeeded
|
|
367
367
|
*/
|
|
368
368
|
private executeActionFast;
|
|
369
|
+
/**
|
|
370
|
+
* Handle direct API execution request from server
|
|
371
|
+
* Part of Capability-Based Guidance - allows bot to execute APIs directly
|
|
372
|
+
*
|
|
373
|
+
* The SDK makes the fetch() call with the user's session/cookies,
|
|
374
|
+
* then reports the result back to the bot.
|
|
375
|
+
*/
|
|
376
|
+
private handleExecuteApi;
|
|
377
|
+
/**
|
|
378
|
+
* Evaluate a JSONPath-style condition (simple implementation)
|
|
379
|
+
* Supports: $.path.to.value == "expected" or just $.path.to.value (truthy check)
|
|
380
|
+
*/
|
|
381
|
+
private evaluateJsonPathCondition;
|
|
382
|
+
/**
|
|
383
|
+
* Extract value from object using simple JSONPath
|
|
384
|
+
* Supports: $.path.to.value or just path.to.value
|
|
385
|
+
*/
|
|
386
|
+
private extractJsonPath;
|
|
369
387
|
/**
|
|
370
388
|
* Handle batched navigation request from server
|
|
371
389
|
* Executes multiple navigation steps quickly without LLM round-trips
|