Where It Lives
TheConvexAdapter is implemented in:
icrl-ts/web-example/src/lib/convex-adapter.ts
StorageAdapter contract from icrl-ts/src/storage.ts.
Purpose
ConvexAdapter lets TrajectoryDatabase persist trajectories, embeddings, and curation metadata in Convex rather than local files.
Required Option
databaseId scopes all operations so multiple ICRL datasets can share one Convex project.
Methods Covered
The adapter implements all required storage methods, including:- trajectory CRUD
- curation metadata CRUD
- embeddings save/search/delete
- derived
StepExampleaccess
Example Usage
End-to-End Demo
Run fromicrl-ts/:
examples/web-convex-demo.ts and the same adapter implementation as the web app.
