@engram-mem/supabase 0.3.0 → 0.3.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 +10 -10
- package/package.json +14 -1
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
# @engram/supabase
|
|
1
|
+
# @engram-mem/supabase
|
|
2
2
|
|
|
3
3
|
Cloud storage adapter for Engram using Supabase PostgreSQL and pgvector. Enables distributed agents with shared memory.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install @engram/supabase
|
|
9
|
-
npm install @engram/core
|
|
10
|
-
npm install @engram/openai # Optional but recommended
|
|
8
|
+
npm install @engram-mem/supabase
|
|
9
|
+
npm install @engram-mem/core
|
|
10
|
+
npm install @engram-mem/openai # Optional but recommended
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Setup
|
|
@@ -43,8 +43,8 @@ psql $DATABASE_URL < packages/supabase/migrations/002_vector_indexes.sql
|
|
|
43
43
|
### 4. Configure in Your App
|
|
44
44
|
|
|
45
45
|
```javascript
|
|
46
|
-
import { createMemory } from '@engram/core'
|
|
47
|
-
import { supabaseAdapter } from '@engram/supabase'
|
|
46
|
+
import { createMemory } from '@engram-mem/core'
|
|
47
|
+
import { supabaseAdapter } from '@engram-mem/supabase'
|
|
48
48
|
|
|
49
49
|
const memory = createMemory({
|
|
50
50
|
storage: supabaseAdapter({
|
|
@@ -182,9 +182,9 @@ Sessions still partition by sessionId, but facts (semantic/procedural) are share
|
|
|
182
182
|
## Level 2 Setup
|
|
183
183
|
|
|
184
184
|
```javascript
|
|
185
|
-
import { createMemory } from '@engram/core'
|
|
186
|
-
import { supabaseAdapter } from '@engram/supabase'
|
|
187
|
-
import { openaiIntelligence } from '@engram/openai'
|
|
185
|
+
import { createMemory } from '@engram-mem/core'
|
|
186
|
+
import { supabaseAdapter } from '@engram-mem/supabase'
|
|
187
|
+
import { openaiIntelligence } from '@engram-mem/openai'
|
|
188
188
|
|
|
189
189
|
const memory = createMemory({
|
|
190
190
|
storage: supabaseAdapter({
|
|
@@ -284,7 +284,7 @@ A: Supabase runs on AWS with 99.99% uptime SLA. Check status at https://status.s
|
|
|
284
284
|
|
|
285
285
|
## API Reference
|
|
286
286
|
|
|
287
|
-
All methods are internal to the StorageAdapter. Use the Memory class API instead. See @engram/core README.
|
|
287
|
+
All methods are internal to the StorageAdapter. Use the Memory class API instead. See @engram-mem/core README.
|
|
288
288
|
|
|
289
289
|
The only public function is:
|
|
290
290
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@engram-mem/supabase",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
|
+
"description": "Supabase storage adapter for Engram — cloud-hosted memory with pgvector and full-text search",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"memory",
|
|
7
|
+
"ai",
|
|
8
|
+
"agents",
|
|
9
|
+
"cognitive",
|
|
10
|
+
"embeddings",
|
|
11
|
+
"recall",
|
|
12
|
+
"supabase",
|
|
13
|
+
"postgres",
|
|
14
|
+
"pgvector"
|
|
15
|
+
],
|
|
16
|
+
"license": "Apache-2.0",
|
|
4
17
|
"type": "module",
|
|
5
18
|
"main": "dist/index.js",
|
|
6
19
|
"types": "dist/index.d.ts",
|