cogmemai-sdk 1.0.0 → 1.0.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.
- package/README.md +21 -21
- package/package.json +7 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# CogmemAi JavaScript/TypeScript SDK
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The smart memory layer for everything Ai. Persistent, encrypted recall for any Ai system: agents, assistants, robots, and the tools you already use. 95.10% on LongMemEval, the highest published score.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -43,34 +43,34 @@ await client.extractMemories({
|
|
|
43
43
|
## All Methods
|
|
44
44
|
|
|
45
45
|
### Core Memory
|
|
46
|
-
- `saveMemory(options)
|
|
47
|
-
- `recallMemories(options)
|
|
48
|
-
- `extractMemories(options)
|
|
49
|
-
- `getProjectContext(options?)
|
|
50
|
-
- `listMemories(options?)
|
|
51
|
-
- `updateMemory(memoryId, options)
|
|
52
|
-
- `deleteMemory(memoryId)
|
|
53
|
-
- `getUsage()
|
|
46
|
+
- `saveMemory(options)`, Save a memory
|
|
47
|
+
- `recallMemories(options)`, Semantic search
|
|
48
|
+
- `extractMemories(options)`, Ai extracts facts from conversation
|
|
49
|
+
- `getProjectContext(options?)`, Load top memories with smart ranking
|
|
50
|
+
- `listMemories(options?)`, Browse with filters
|
|
51
|
+
- `updateMemory(memoryId, options)`, Edit a memory
|
|
52
|
+
- `deleteMemory(memoryId)`, Delete permanently
|
|
53
|
+
- `getUsage()`, Check usage stats and tier
|
|
54
54
|
|
|
55
55
|
### Documents & Sessions
|
|
56
|
-
- `ingestDocument(options)
|
|
57
|
-
- `saveSessionSummary(options)
|
|
56
|
+
- `ingestDocument(options)`, Extract memories from docs
|
|
57
|
+
- `saveSessionSummary(options)`, Capture session accomplishments
|
|
58
58
|
|
|
59
59
|
### Import / Export
|
|
60
|
-
- `exportMemories()
|
|
61
|
-
- `importMemories(memories)
|
|
62
|
-
- `getMemoryVersions(memoryId)
|
|
60
|
+
- `exportMemories()`, Back up memories as JSON
|
|
61
|
+
- `importMemories(memories)`, Bulk import from JSON
|
|
62
|
+
- `getMemoryVersions(memoryId)`, Version history
|
|
63
63
|
|
|
64
64
|
### Team & Collaboration
|
|
65
|
-
- `getTeamMembers(projectId?)
|
|
66
|
-
- `inviteTeamMember(email, projectId, role?)
|
|
67
|
-
- `removeTeamMember(memberId)
|
|
65
|
+
- `getTeamMembers(projectId?)`, List team members
|
|
66
|
+
- `inviteTeamMember(email, projectId, role?)`, Invite a member
|
|
67
|
+
- `removeTeamMember(memberId)`, Remove a member
|
|
68
68
|
|
|
69
69
|
### Memory Relationships & Promotion
|
|
70
|
-
- `linkMemories(memoryId, relatedMemoryId, relationshipType)
|
|
71
|
-
- `getMemoryLinks(memoryId)
|
|
72
|
-
- `getPromotionCandidates()
|
|
73
|
-
- `promoteToGlobal(memoryId)
|
|
70
|
+
- `linkMemories(memoryId, relatedMemoryId, relationshipType)`, Link related memories
|
|
71
|
+
- `getMemoryLinks(memoryId)`, Get linked memories
|
|
72
|
+
- `getPromotionCandidates()`, Find cross-project patterns
|
|
73
|
+
- `promoteToGlobal(memoryId)`, Promote to global scope
|
|
74
74
|
|
|
75
75
|
## Error Handling
|
|
76
76
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cogmemai-sdk",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "CogmemAi
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "CogmemAi: the smart memory layer for everything Ai. Persistent, encrypted memory for agents, assistants, and robots. 95.10% LongMemEval.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"files": [
|
|
@@ -14,11 +14,13 @@
|
|
|
14
14
|
"keywords": [
|
|
15
15
|
"ai",
|
|
16
16
|
"memory",
|
|
17
|
-
"
|
|
18
|
-
"coding-assistant",
|
|
17
|
+
"agents",
|
|
19
18
|
"mcp",
|
|
19
|
+
"robotics",
|
|
20
|
+
"llm",
|
|
21
|
+
"persistent-memory",
|
|
20
22
|
"developer-tools",
|
|
21
|
-
"
|
|
23
|
+
"typescript"
|
|
22
24
|
],
|
|
23
25
|
"author": "HiFriendbot <developers@hifriendbot.com>",
|
|
24
26
|
"license": "MIT",
|