@ai4b-team/fsaos-gateway-sdk 3.21.0 → 3.21.2
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/README.md +5 -0
- package/dist/iife/gateway.js +3 -3
- package/dist/iife/gateway.js.map +3 -3
- package/dist/iife/ui.js +1 -1
- package/dist/index.cjs +140 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +42 -1
- package/dist/index.d.ts +42 -1
- package/dist/index.js +136 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -120,6 +120,11 @@ The SDK does not decide when AI should respond, spawn agents, or infer agent ide
|
|
|
120
120
|
- `initVfsRealtimeWs(scopeId)` — Subscribe to VFS changes over WebSocket
|
|
121
121
|
- `disposeVfsRealtimeWs()` — Tear down realtime connection
|
|
122
122
|
- `mountRealtimeScope(path)` / `unmountRealtimeScope(path)` — Add/remove a scope from the realtime subscription
|
|
123
|
+
- `subscribeToPath(path, callback)` — Subscribe to an item path and its descendants
|
|
124
|
+
- `waitForPathReady(path, timeoutMs?)` — Wait for the gateway to acknowledge the current path subscription
|
|
125
|
+
- `resubscribePath(path)` — Send a fresh wire-level subscription for an active path
|
|
126
|
+
- `getPathSubscriptionState(path)` — Read `pending`, `ready`, `disconnected`, or `unsubscribed`
|
|
127
|
+
- `onConnectionStateChange(callback)` — Observe transport connection state changes
|
|
123
128
|
|
|
124
129
|
### React Hooks (TanStack Query)
|
|
125
130
|
|