@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.
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floe-ai/sdk",
3
- "version": "0.1.0-dev.17",
3
+ "version": "0.1.0-dev.18",
4
4
  "description": "Floe AI Onboarding SDK for React applications",
5
5
  "type": "module",
6
6
  "main": "./dist-sdk/floe-sdk.es.js",