@jarkkojs/goosedump 0.12.11 → 0.12.12
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 +50 -58
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# goosedump
|
|
2
2
|
|
|
3
3
|
`goosedump` browses, searches, converts, and compacts saved coding-agent
|
|
4
|
-
conversations. It supports Claude Code,
|
|
5
|
-
OpenCode, and Pi.
|
|
4
|
+
conversations, and keeps project-scoped durable memory. It supports Claude Code,
|
|
5
|
+
Codex, Crush, Gemini CLI, Goose, OpenCode, and Pi.
|
|
6
6
|
|
|
7
7
|
It builds on ideas from [`lllyasviel/VCC`](https://github.com/lllyasviel/VCC).
|
|
8
8
|
|
|
@@ -63,72 +63,63 @@ model pull [all|embedding|text]
|
|
|
63
63
|
`session copy`, `session remove`, and `memory forget` print their plan by default.
|
|
64
64
|
Pass `--yes` to carry out the change.
|
|
65
65
|
|
|
66
|
-
##
|
|
67
|
-
|
|
68
|
-
`session compact`
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
66
|
+
## Compaction
|
|
67
|
+
|
|
68
|
+
`session compact` creates a summary; it never changes durable memory. Summaries are
|
|
69
|
+
bounded to an estimated 4,096 tokens by default. Use `--summary-max-tokens` to
|
|
70
|
+
change the budget or `0` to disable it. The bound is best-effort when preserved
|
|
71
|
+
goals, blockers, decisions, and preferences already exceed it.
|
|
72
|
+
|
|
73
|
+
## Durable memory
|
|
74
|
+
|
|
75
|
+
Memory is explicit and separate from compaction:
|
|
76
|
+
|
|
77
|
+
1. **Remember:** [`gpt-oss-20b`](docs/models/gpt-oss-20b.md) extracts typed,
|
|
78
|
+
atomic statements with source provenance. [`bge-small-en-v1.5`](docs/models/bge-small-en-v1.5.md)
|
|
79
|
+
embeds each statement. SQLite stores the statements, vectors, and provenance.
|
|
80
|
+
2. **Recall:** lexical and entity matches come first. Cosine-similar BGE vectors
|
|
81
|
+
fill the remaining slots. There is no separate vector database.
|
|
82
|
+
|
|
83
|
+
Memories are classified as decisions, facts, preferences, procedures, or lessons.
|
|
84
|
+
|
|
85
|
+
`memory remember` processes only new session entries, so remembering an unchanged
|
|
86
|
+
session is idempotent. A new version of a memory can supersede an older active
|
|
87
|
+
statement of the same type.
|
|
88
|
+
|
|
89
|
+
Recall searches active memories from the current project by default. Use
|
|
90
|
+
`--history` for superseded statements or `--all-projects` to search everywhere.
|
|
91
|
+
`memory show` displays provenance, and `memory forget` leaves a tombstone so
|
|
92
|
+
forgotten content is not learned again accidentally.
|
|
93
|
+
|
|
94
|
+
Session-index caches are rebuilt when their format changes. Durable-memory schema
|
|
95
|
+
migrations preserve stored sources, statements, and evidence links.
|
|
96
|
+
|
|
97
|
+
## Local inference
|
|
98
|
+
|
|
99
|
+
Both models run locally. Download them with `goosedump model pull`, or use
|
|
100
|
+
`model pull text` or `model pull embedding`. Recall still uses lexical and entity
|
|
101
|
+
matching when the embedding model is not cached.
|
|
102
|
+
|
|
103
|
+
Text inference uses every logical CPU by default. Override it with
|
|
104
|
+
`GOOSEDUMP_INFERENCE_THREADS`:
|
|
102
105
|
|
|
103
106
|
```sh
|
|
104
|
-
GOOSEDUMP_INFERENCE_THREADS=6
|
|
105
|
-
goosedump session compact pi:context-id
|
|
107
|
+
GOOSEDUMP_INFERENCE_THREADS=6 goosedump session compact pi:context-id
|
|
106
108
|
```
|
|
107
109
|
|
|
108
|
-
|
|
109
|
-
|
|
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.
|
|
113
|
-
|
|
114
|
-
The `bench` feature builds a standalone harness that shells out to
|
|
115
|
-
`goosedump session compact` with `GOOSEDUMP_PROFILE_COMPACT=1` and reports
|
|
116
|
-
end-to-end and per-stage timings:
|
|
110
|
+
The optional `bench` feature measures `session compact`. Keep the machine,
|
|
111
|
+
session range, and model cache unchanged when comparing runs:
|
|
117
112
|
|
|
118
113
|
```sh
|
|
119
|
-
#
|
|
114
|
+
# Point benches/bench.txt at a real session first.
|
|
120
115
|
cargo bench --features bench
|
|
121
116
|
```
|
|
122
117
|
|
|
123
|
-
Each case emits JSON with per-run timing (including model loading), median and
|
|
124
|
-
p95 latency, and per-stage medians and p95s. Keep the machine, context range,
|
|
125
|
-
and model cache unchanged when comparing configurations.
|
|
126
|
-
|
|
127
118
|
## Pi extension
|
|
128
119
|
|
|
129
120
|
The bundled [pi-goosedump extension](packages/pi-goosedump/README.md) adds
|
|
130
|
-
session
|
|
131
|
-
|
|
121
|
+
session search, durable memory, session management, and goosedump compaction to
|
|
122
|
+
Pi:
|
|
132
123
|
|
|
133
124
|
```sh
|
|
134
125
|
pi install npm:pi-goosedump
|
|
@@ -152,5 +143,6 @@ The published Linux x64 and arm64 binaries are static glibc PIEs.
|
|
|
152
143
|
### Third Party Attribution
|
|
153
144
|
|
|
154
145
|
1. GPT-OSS-20B: Apache 2.0
|
|
155
|
-
|
|
156
|
-
|
|
146
|
+
2. bge-small-en-v1.5: MIT
|
|
147
|
+
|
|
148
|
+
The models are downloaded at run time and are not distributed with goosedump.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jarkkojs/goosedump",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.12",
|
|
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.
|
|
25
|
-
"@jarkkojs/goosedump-linux-arm64": "0.12.
|
|
26
|
-
"@jarkkojs/goosedump-linux-x64": "0.12.
|
|
27
|
-
"@jarkkojs/goosedump-win32-x64": "0.12.
|
|
24
|
+
"@jarkkojs/goosedump-darwin-arm64": "0.12.12",
|
|
25
|
+
"@jarkkojs/goosedump-linux-arm64": "0.12.12",
|
|
26
|
+
"@jarkkojs/goosedump-linux-x64": "0.12.12",
|
|
27
|
+
"@jarkkojs/goosedump-win32-x64": "0.12.12"
|
|
28
28
|
},
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public"
|