dotmem 0.2.5 → 0.2.7
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/AGENTS.md +107 -0
- package/MEMORY.md +1 -1
- package/README.md +431 -461
- package/agent.cjs +93 -88
- package/agent.js +93 -88
- package/bin/cli.cjs +1 -1
- package/bin/cli.js +1 -1
- package/bin/dotmem-burst-stats.cjs +25 -0
- package/bin/dotmem-burst-stats.js +25 -0
- package/built-in-context.json +13 -4
- package/cli.cjs +299 -198
- package/cli.js +299 -198
- package/global.cjs +93 -88
- package/global.js +93 -88
- package/index.cjs +115 -110
- package/index.js +115 -110
- package/llms.txt +27 -10
- package/mcp.cjs +127 -122
- package/mcp.js +127 -122
- package/package.json +2 -2
- package/types/global-types.d.ts +26 -1
- package/types/memory.d.ts +3 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dotmem",
|
|
3
3
|
"codeName": "dotmem",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.7",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
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.",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"@modelcontextprotocol/server": "2.4.0",
|
|
78
|
-
"memorio": "5.5.
|
|
78
|
+
"memorio": "5.5.6",
|
|
79
79
|
"zod": "4.6.7"
|
|
80
80
|
},
|
|
81
81
|
"overrides": {
|
package/types/global-types.d.ts
CHANGED
|
@@ -26,7 +26,18 @@ type _LifecycleEvent = LifecycleEvent
|
|
|
26
26
|
|
|
27
27
|
type _TriggerReason = TriggerReason
|
|
28
28
|
|
|
29
|
-
type CliModule = typeof import('@core/cli')
|
|
29
|
+
type CliModule = typeof import('@core/cli') & {
|
|
30
|
+
loadSession: () => Promise<SessionState>
|
|
31
|
+
formatSessionState: (state: SessionState) => string
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
interface SessionState {
|
|
35
|
+
doing: string
|
|
36
|
+
changedFiles: string[]
|
|
37
|
+
waitingForUser: string[]
|
|
38
|
+
doNotYet: string[]
|
|
39
|
+
updatedAt: string
|
|
40
|
+
}
|
|
30
41
|
|
|
31
42
|
interface CodenameEntry {
|
|
32
43
|
name: Codename
|
|
@@ -254,13 +265,18 @@ interface BuildConfig {
|
|
|
254
265
|
|
|
255
266
|
interface ContextRunOptions {
|
|
256
267
|
explain?: boolean
|
|
268
|
+
verbose?: boolean
|
|
257
269
|
json?: boolean
|
|
258
270
|
full?: boolean
|
|
271
|
+
compact?: boolean
|
|
272
|
+
summaryRestart?: boolean
|
|
259
273
|
claimsOnly?: boolean
|
|
260
274
|
limit?: number
|
|
261
275
|
/** Offset into the ranked candidate list for cursor-based pagination. */
|
|
262
276
|
offset?: number
|
|
263
277
|
format?: 'brief'
|
|
278
|
+
diagnostics?: boolean
|
|
279
|
+
debug?: boolean
|
|
264
280
|
/** Return the omission manifest instead of the rendered projection. */
|
|
265
281
|
manifest?: boolean
|
|
266
282
|
/** Expand one claim by id to its canonical record. */
|
|
@@ -465,6 +481,7 @@ interface ContextRunOptions {
|
|
|
465
481
|
* `dotmem context "<situation>" --full`. Read-only: never persisted.
|
|
466
482
|
*/
|
|
467
483
|
full?: boolean
|
|
484
|
+
summaryRestart?: boolean
|
|
468
485
|
/**
|
|
469
486
|
* Omit the trusted identity channel and all auxiliary rendering (index,
|
|
470
487
|
* size disclosure, personality anchor, exemplars), returning only the
|
|
@@ -2167,6 +2184,12 @@ interface SizeDisclosureOptions {
|
|
|
2167
2184
|
hostCeilingBytes: number
|
|
2168
2185
|
/** When present, the manifest is summarized instead of only counted. */
|
|
2169
2186
|
manifest?: OmissionManifest
|
|
2187
|
+
/** Include full omitted ID list (debug/full mode only). */
|
|
2188
|
+
includeOmittedIds?: boolean
|
|
2189
|
+
/** Automatic loading level (0-3), when available. */
|
|
2190
|
+
loadingLevel?: number
|
|
2191
|
+
/** Reason for the selected loading level. */
|
|
2192
|
+
loadingReason?: string
|
|
2170
2193
|
}
|
|
2171
2194
|
|
|
2172
2195
|
interface BootstrapProjectionClaim {
|
|
@@ -2566,6 +2589,8 @@ interface DiscoveryOptions {
|
|
|
2566
2589
|
maxCandidates?: number
|
|
2567
2590
|
/** Explicit runtime facts that override situation-prose derivation. */
|
|
2568
2591
|
facts?: SituationFacts
|
|
2592
|
+
diagnostics?: boolean
|
|
2593
|
+
debug?: boolean
|
|
2569
2594
|
/**
|
|
2570
2595
|
* Project identity the retrieval runs for. Enables the scope-eligibility
|
|
2571
2596
|
* gate: a project-scoped claim is eligible only for its owning project.
|
package/types/memory.d.ts
CHANGED
|
@@ -80,6 +80,9 @@ interface DiscoveryOptions {
|
|
|
80
80
|
maxCandidates?: number
|
|
81
81
|
/** Explicit runtime facts that override situation-prose derivation. */
|
|
82
82
|
facts?: SituationFacts
|
|
83
|
+
/** Enable discovery diagnostics on stderr. */
|
|
84
|
+
diagnostics?: boolean
|
|
85
|
+
debug?: boolean
|
|
83
86
|
}
|
|
84
87
|
interface DiscoveryExplanation {
|
|
85
88
|
matchedTerms: string[]
|