dotmem 0.2.5 → 0.2.6
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/dotmem-burst-stats.cjs +25 -0
- package/bin/dotmem-burst-stats.js +25 -0
- package/built-in-context.json +2 -2
- package/cli.cjs +211 -197
- package/cli.js +211 -197
- 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 +1 -1
- package/types/global-types.d.ts +14 -0
- 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.6",
|
|
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.",
|
package/types/global-types.d.ts
CHANGED
|
@@ -254,13 +254,18 @@ interface BuildConfig {
|
|
|
254
254
|
|
|
255
255
|
interface ContextRunOptions {
|
|
256
256
|
explain?: boolean
|
|
257
|
+
verbose?: boolean
|
|
257
258
|
json?: boolean
|
|
258
259
|
full?: boolean
|
|
260
|
+
compact?: boolean
|
|
261
|
+
summaryRestart?: boolean
|
|
259
262
|
claimsOnly?: boolean
|
|
260
263
|
limit?: number
|
|
261
264
|
/** Offset into the ranked candidate list for cursor-based pagination. */
|
|
262
265
|
offset?: number
|
|
263
266
|
format?: 'brief'
|
|
267
|
+
diagnostics?: boolean
|
|
268
|
+
debug?: boolean
|
|
264
269
|
/** Return the omission manifest instead of the rendered projection. */
|
|
265
270
|
manifest?: boolean
|
|
266
271
|
/** Expand one claim by id to its canonical record. */
|
|
@@ -465,6 +470,7 @@ interface ContextRunOptions {
|
|
|
465
470
|
* `dotmem context "<situation>" --full`. Read-only: never persisted.
|
|
466
471
|
*/
|
|
467
472
|
full?: boolean
|
|
473
|
+
summaryRestart?: boolean
|
|
468
474
|
/**
|
|
469
475
|
* Omit the trusted identity channel and all auxiliary rendering (index,
|
|
470
476
|
* size disclosure, personality anchor, exemplars), returning only the
|
|
@@ -2167,6 +2173,12 @@ interface SizeDisclosureOptions {
|
|
|
2167
2173
|
hostCeilingBytes: number
|
|
2168
2174
|
/** When present, the manifest is summarized instead of only counted. */
|
|
2169
2175
|
manifest?: OmissionManifest
|
|
2176
|
+
/** Include full omitted ID list (debug/full mode only). */
|
|
2177
|
+
includeOmittedIds?: boolean
|
|
2178
|
+
/** Automatic loading level (0-3), when available. */
|
|
2179
|
+
loadingLevel?: number
|
|
2180
|
+
/** Reason for the selected loading level. */
|
|
2181
|
+
loadingReason?: string
|
|
2170
2182
|
}
|
|
2171
2183
|
|
|
2172
2184
|
interface BootstrapProjectionClaim {
|
|
@@ -2566,6 +2578,8 @@ interface DiscoveryOptions {
|
|
|
2566
2578
|
maxCandidates?: number
|
|
2567
2579
|
/** Explicit runtime facts that override situation-prose derivation. */
|
|
2568
2580
|
facts?: SituationFacts
|
|
2581
|
+
diagnostics?: boolean
|
|
2582
|
+
debug?: boolean
|
|
2569
2583
|
/**
|
|
2570
2584
|
* Project identity the retrieval runs for. Enables the scope-eligibility
|
|
2571
2585
|
* 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[]
|