pmem-ai 0.8.0-a → 0.8.0
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 +3 -7
- package/package.json +1 -1
- package/skills/pmem/SKILL.md +2 -2
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ The design is intentionally local and Git-friendly. Markdown cards remain the so
|
|
|
29
29
|
- You want agents to update memory deliberately instead of auto-writing noisy logs.
|
|
30
30
|
- You prefer local files over hosted memory services.
|
|
31
31
|
|
|
32
|
-
It is not a vector database, MCP server, Graph UI, or remote multi-user service. v0.
|
|
32
|
+
It is not a vector database, MCP server, Graph UI, or remote multi-user service. v0.6 focuses on making the CLI agent-native with relationship discovery and polished workflows.
|
|
33
33
|
|
|
34
34
|
## Install
|
|
35
35
|
|
|
@@ -215,25 +215,21 @@ Do not edit SQLite directly. Edit Markdown cards or use pmem workflow commands,
|
|
|
215
215
|
|
|
216
216
|
### Recall And Ask
|
|
217
217
|
|
|
218
|
-
Use `recall` for the current project state. v0.8 adds
|
|
218
|
+
Use `recall` for the current project state. v0.8 (upcoming on `main` branch, not yet released to npm) adds budget modes: `brief` returns L0 + read-if-needed paths, `normal` is the default agent context, and `deep` preserves more detail when budget allows.
|
|
219
219
|
|
|
220
220
|
```bash
|
|
221
221
|
pmem recall --budget 2000
|
|
222
222
|
pmem recall --mode brief --budget 500
|
|
223
|
-
pmem recall --mode deep --budget 6000
|
|
224
223
|
```
|
|
225
224
|
|
|
226
|
-
Use `ask` for targeted retrieval. v0.8
|
|
225
|
+
Use `ask` for targeted retrieval. v0.8 (upcoming on `main` branch, not yet released to npm) uses the Hybrid Recall Engine: exact IDs, aliases, tags, source file paths, always-on FTS5/BM25, graph expansion, recency, and stale/dirty penalties are fused into a deterministic score. Add `--explain` to see why each card was recalled.
|
|
227
226
|
|
|
228
227
|
```bash
|
|
229
228
|
pmem ask "sqlite runtime" --format compact
|
|
230
229
|
pmem ask "src/core/query/recall.ts" --explain --limit 5
|
|
231
230
|
pmem ask "release checklist" --format json
|
|
232
|
-
pmem ask "module.core" --explain # explain why this card was matched
|
|
233
231
|
```
|
|
234
232
|
|
|
235
|
-
`--limit N` caps the result set (must be a positive integer; exit 2 on invalid value). `--explain` adds per-card `reasons` and `factors` fields to JSON output and a `Reasons:` section to compact output.
|
|
236
|
-
|
|
237
233
|
### Relations
|
|
238
234
|
|
|
239
235
|
Use `relations` to inspect a card's edge graph and find pruning candidates:
|
package/package.json
CHANGED
package/skills/pmem/SKILL.md
CHANGED
|
@@ -114,7 +114,7 @@ pmem related module.core --depth 2
|
|
|
114
114
|
pmem trace decision.sqlite_runtime
|
|
115
115
|
```
|
|
116
116
|
|
|
117
|
-
v0.8
|
|
117
|
+
In v0.8 (upcoming on `main` branch, not yet released to npm), `pmem recall` remains trace-aware and adds recall modes, while `pmem ask` uses deterministic hybrid retrieval (exact IDs, aliases, tags, source files, FTS5/BM25, graph expansion, recency, and stale/dirty penalties). The recall output is structured into:
|
|
118
118
|
- **PROJECT & STAGE**: The current metadata of the repository.
|
|
119
119
|
- **CURRENT CONTEXT**: Recent summaries of what the project is doing.
|
|
120
120
|
- **RECENT CHANGES**: Thick trace logs of what files and symbols changed.
|
|
@@ -317,7 +317,7 @@ pmem mcp
|
|
|
317
317
|
| Tool | Description |
|
|
318
318
|
|------|-------------|
|
|
319
319
|
| `pmem_recall` | Restore project memory context (stage, focus, next, active cards, updates) |
|
|
320
|
-
| `pmem_ask` | Search memory with
|
|
320
|
+
| `pmem_ask` | Search memory with 6-step retrieval (ID → alias → tag → graph → FTS5 → LIKE) |
|
|
321
321
|
| `pmem_related` | Query graph neighbors of a card (edges grouped by type with direction/confidence) |
|
|
322
322
|
| `pmem_status` | Detect changed files and affected memory cards (git or mtime) |
|
|
323
323
|
|