dotmem 0.0.3 → 0.0.4
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 +2 -2
- package/agent.cjs +10 -1
- package/agent.js +10 -1
- package/cli.cjs +211 -22
- package/cli.js +208 -19
- package/global.cjs +5624 -4806
- package/global.js +5576 -4779
- package/index.cjs +6327 -5638
- package/index.js +6084 -5219
- package/llms.txt +1 -1
- package/mcp.cjs +36958 -36380
- package/mcp.js +36957 -36379
- package/package.json +7 -7
- package/types/exports.d.ts +24 -5
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dotmem",
|
|
3
3
|
"codeName": "dotmem",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.4",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"description": "The AI memory layer for agents and apps: acquired experience, discovery, context projection, continuity, and logic engine. Built on
|
|
7
|
+
"description": "The AI memory layer for agents and apps: acquired experience, discovery, context projection, continuity, and logic engine. Built on Memorio's state+store foundation.",
|
|
8
8
|
"main": "./index.cjs",
|
|
9
9
|
"module": "./index.js",
|
|
10
10
|
"types": "./index.d.ts",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
}
|
|
38
38
|
],
|
|
39
39
|
"bin": {
|
|
40
|
-
"dotmem": "
|
|
41
|
-
"dotmem-mcp": "
|
|
40
|
+
"dotmem": "bin/cli.js",
|
|
41
|
+
"dotmem-mcp": "bin/mcp.js"
|
|
42
42
|
},
|
|
43
43
|
"workspaces": [
|
|
44
44
|
"tests"
|
|
@@ -82,11 +82,11 @@
|
|
|
82
82
|
"glob": "^14.0.2",
|
|
83
83
|
"minimatch": "^11.0.1"
|
|
84
84
|
},
|
|
85
|
+
"dependencies": {
|
|
86
|
+
"memorio": "5.5.3"
|
|
87
|
+
},
|
|
85
88
|
"typings": "./index.d.ts",
|
|
86
89
|
"scripts": {
|
|
87
90
|
"prepack": "node -e \"['bin/cli.js','bin/cli.cjs','bin/mcp.js','bin/mcp.cjs'].forEach(f=>{try{require('fs').chmodSync(f,0o755)}catch{}})\""
|
|
88
|
-
},
|
|
89
|
-
"dependencies": {
|
|
90
|
-
"dotmem": ">=0.0.1"
|
|
91
91
|
}
|
|
92
92
|
}
|
package/types/exports.d.ts
CHANGED
|
@@ -124,13 +124,33 @@ export interface MemorySeed {
|
|
|
124
124
|
origin: string
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
//
|
|
127
|
+
// --- Foundation types from Memorio (re-exported) ---
|
|
128
|
+
export type {
|
|
129
|
+
Operation,
|
|
130
|
+
Mutation,
|
|
131
|
+
Patch,
|
|
132
|
+
PatchOperation,
|
|
133
|
+
Transaction,
|
|
134
|
+
Commit,
|
|
135
|
+
MutateOptions
|
|
136
|
+
} from 'memorio'
|
|
137
|
+
// --- dotmem public runtime exports ---
|
|
128
138
|
declare const memory: MemoryFacade
|
|
129
|
-
declare const logic: any
|
|
130
139
|
declare const continuity: any
|
|
131
140
|
declare const security: any
|
|
132
141
|
|
|
133
|
-
//
|
|
142
|
+
// --- Dotmem-specific encryption envelope ---
|
|
143
|
+
|
|
144
|
+
export interface EncryptedEnvelope {
|
|
145
|
+
id?: string
|
|
146
|
+
iv: string
|
|
147
|
+
data: string
|
|
148
|
+
tag?: string
|
|
149
|
+
algorithm?: string
|
|
150
|
+
keyId?: string
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
// --- User identity surface ---
|
|
134
154
|
export interface UserIdentity {
|
|
135
155
|
id: string
|
|
136
156
|
name?: string
|
|
@@ -204,8 +224,7 @@ declare const JO_PROFILE: Readonly<DotMemProfile>
|
|
|
204
224
|
declare function currentTimestamp(): string
|
|
205
225
|
declare function activeTransactionId(): string | null
|
|
206
226
|
|
|
207
|
-
//
|
|
208
|
-
declare const state: any
|
|
227
|
+
// --- Foundation values from Memorio (ambient globals) ---declare const state: any
|
|
209
228
|
declare const store: any
|
|
210
229
|
declare const session: any
|
|
211
230
|
declare const cache: LlmCacheAPI
|