@jarkkojs/goosedump 0.12.10 → 0.12.11

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.
Files changed (2) hide show
  1. package/README.md +39 -21
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -46,39 +46,54 @@ session list [--query QUERY] [--json]
46
46
  session show PROVIDER:ID [--entry ID] [--all] [--from ID] [--before ID] [--as PROVIDER]
47
47
  session find PROVIDER:ID GLOB [range options] [--as PROVIDER]
48
48
  session search PROVIDER:ID QUERY [range options] [--page NUMBER] [--as PROVIDER]
49
- session compact PROVIDER:ID [range options] [--previous-summary SUMMARY] [--summary-max-tokens NUMBER] [--plain] [--remember] [--as PROVIDER]
49
+ session compact PROVIDER:ID [range options] [--previous-summary SUMMARY] [--summary-max-tokens NUMBER] [--plain] [--as PROVIDER]
50
50
  session copy PROVIDER:ID --to PROVIDER [--yes]
51
51
  session remove PROVIDER:ID [--yes]
52
52
 
53
- memory search QUERY [--provider PROVIDER] [--path PATH] [--type TYPE] [--limit NUMBER]
54
- memory status
55
- memory forget HASH|PROVIDER:ID
53
+ memory remember PROVIDER:ID [--all] [--json]
54
+ memory recall QUERY [--project PATH | --all-projects] [--type TYPE] [--limit NUMBER] [--max-tokens NUMBER] [--history] [--json]
55
+ memory list [--project PATH | --all-projects] [--type TYPE] [--limit NUMBER] [--history] [--json]
56
+ memory show MEM_ID [--json]
57
+ memory forget MEM_ID|PROVIDER:ID [--yes] [--json]
58
+ memory status [--json]
56
59
 
57
- model pull
60
+ model pull [all|embedding|text]
58
61
  ```
59
62
 
60
- `session copy` and `session remove` print their plan by default. Pass `--yes`
61
- to carry out the change. This makes destructive and cross-provider operations
62
- safe to inspect without a separate dry-run mode.
63
+ `session copy`, `session remove`, and `memory forget` print their plan by default.
64
+ Pass `--yes` to carry out the change.
63
65
 
64
66
  ## Persistent memory
65
67
 
66
- `session compact` emits a summary without retaining the selected range. Add
67
- `--remember` only when the selected content may become durable memory.
68
+ `session compact` only creates a bounded summary; it never changes durable memory.
69
+ Use `memory remember PROVIDER:ID` to retain unseen source events and extract atomic
70
+ facts, decisions, preferences, procedures, and lessons with exact provenance.
71
+ Remembering the same unchanged session is idempotent. When a new statement is close
72
+ to an existing active memory of the same type, the older memory is marked superseded
73
+ and linked to the successor. Human and JSON reports list each added statement
74
+ (with `mem_` IDs) and any memories it superseded.
75
+
76
+ `memory recall` searches the current project by default and fills an estimated token
77
+ budget with ranked active memories. It first preserves exact lexical and entity-anchor
78
+ matches (paths, crates, symbols, commands, concepts), expands through shared anchors,
79
+ then fills remaining slots with BGE semantic matches. Existing databases are embedded
80
+ in bounded batches; `memory status` reports indexed and pending counts. Pass `--history`
81
+ to include superseded statements. Use `memory list` to browse, `memory show` to inspect
82
+ provenance revision hashes, entities, and supersession links, and `memory forget` to preview
83
+ deletion. Forgetting a memory ID removes the
84
+ derived statement; forgetting `provider:session-id` removes that session's retained
85
+ source events. Applied forgetting leaves content-free tombstones so deleted memory is
86
+ not learned again accidentally.
87
+
68
88
  Summary output is bounded to an estimated 4096 tokens by default. Set
69
89
  `--summary-max-tokens NUMBER` to choose another budget, or use `0` for no limit.
70
90
  The bound is best-effort when preserved goals, blockers, decisions, and preferences
71
91
  alone exceed it.
72
92
 
73
- Use `memory search` to retrieve learned decisions, facts, preferences,
74
- procedures, and episodes; `memory status` to inspect the store; and
75
- `memory forget` with a hash printed by `memory search` or a `provider:session-id`
76
- to remove it. Forgetting creates durable tombstones so the same content is not
77
- learned again accidentally.
78
-
79
- Persistent formats are versioned and never migrated. An incompatible cache is
80
- rebuilt, while an incompatible memory database is rejected and must be
81
- reinitialized explicitly. A prior schema is never transformed in place.
93
+ Session-index caches are versioned clean-break formats and are rebuilt when
94
+ incompatible. Durable memory migrations preserve existing sources, statements, and
95
+ evidence links; an unsupported schema version is rejected and must be reinitialized
96
+ explicitly.
82
97
 
83
98
  ## Inference performance
84
99
 
@@ -90,8 +105,11 @@ GOOSEDUMP_INFERENCE_THREADS=6 \
90
105
  goosedump session compact pi:context-id
91
106
  ```
92
107
 
93
- GPT-OSS-20B text generation continues to use goosedump's custom CPU engine.
94
- Download its weights ahead of time with `goosedump model pull`.
108
+ Compaction directive selection and durable-memory extraction use goosedump's custom
109
+ GPT-OSS-20B CPU engine. Semantic recall uses the pinned 36.7 MB BGE-small-en-v1.5
110
+ `Q8_0` encoder. Download both ahead of time with `goosedump model pull`, or select one
111
+ with `goosedump model pull text` or `goosedump model pull embedding`. Recall falls back
112
+ to lexical and entity matching when the embedding model is not cached.
95
113
 
96
114
  The `bench` feature builds a standalone harness that shells out to
97
115
  `goosedump session compact` with `GOOSEDUMP_PROFILE_COMPACT=1` and reports
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jarkkojs/goosedump",
3
- "version": "0.12.10",
3
+ "version": "0.12.11",
4
4
  "description": "Coding agent context data browser",
5
5
  "license": "Apache-2.0 AND LGPL-2.1-or-later",
6
6
  "homepage": "https://github.com/jarkkojs/goosedump#readme",
@@ -21,10 +21,10 @@
21
21
  "LICENSE-LGPL-2.1"
22
22
  ],
23
23
  "optionalDependencies": {
24
- "@jarkkojs/goosedump-darwin-arm64": "0.12.10",
25
- "@jarkkojs/goosedump-linux-arm64": "0.12.10",
26
- "@jarkkojs/goosedump-linux-x64": "0.12.10",
27
- "@jarkkojs/goosedump-win32-x64": "0.12.10"
24
+ "@jarkkojs/goosedump-darwin-arm64": "0.12.11",
25
+ "@jarkkojs/goosedump-linux-arm64": "0.12.11",
26
+ "@jarkkojs/goosedump-linux-x64": "0.12.11",
27
+ "@jarkkojs/goosedump-win32-x64": "0.12.11"
28
28
  },
29
29
  "publishConfig": {
30
30
  "access": "public"