@steno-ai/supabase-adapter 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/README.md +32 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,32 @@
1
+ # @steno-ai/supabase-adapter
2
+
3
+ Supabase/PostgreSQL storage adapter for Steno. Uses pgvector for embeddings and pg_trgm for keyword search.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install @steno-ai/supabase-adapter
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```ts
14
+ import { SupabaseStorageAdapter, createSupabaseClient } from '@steno-ai/supabase-adapter';
15
+
16
+ const client = createSupabaseClient({
17
+ url: process.env.SUPABASE_URL,
18
+ serviceRoleKey: process.env.SUPABASE_SERVICE_ROLE_KEY,
19
+ });
20
+
21
+ const storage = new SupabaseStorageAdapter(client);
22
+
23
+ // Use with @steno-ai/engine
24
+ import { runExtractionPipeline, search } from '@steno-ai/engine';
25
+
26
+ await runExtractionPipeline({ storage, embedding, cheapLLM, ... }, input);
27
+ const results = await search({ storage, embedding }, options);
28
+ ```
29
+
30
+ ## Part of [Steno](https://github.com/SankrityaT/steno-ai)
31
+
32
+ The memory layer for AI agents.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steno-ai/supabase-adapter",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Supabase/PostgreSQL storage adapter for Steno",
5
5
  "license": "MIT",
6
6
  "repository": {