studio-sdk
Installation
SKILL.md
Flowsterix Studio SDK
@flowsterix/studio bridges the open-source Flowsterix library to the proprietary Studio backend. It intercepts analytics events and storage operations, serializes them to JSON-safe payloads, and ships them in batches to a Studio ingest endpoint.
Architecture
TourProvider
analytics={bridge.analytics} --> serializer --> transport --> POST /v1/ingest
storageAdapter={bridge.storage({ inner: localStorage })}
|
+--> inner adapter (read/write)
+--> transport (fire-and-forget sync)
- No React dependency - pure JS, works with any framework
- Dep:
@flowsterix/coreonly (usesFlowAnalyticsHandlers,StorageAdaptertypes) - Package:
packages/studio/in the monorepo