@jarkkojs/goosedump 0.11.3 → 0.12.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 +62 -52
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -25,68 +25,72 @@ Source builds require a C compiler for the bundled SQLite library.
|
|
|
25
25
|
## Quick start
|
|
26
26
|
|
|
27
27
|
```sh
|
|
28
|
-
goosedump list
|
|
29
|
-
goosedump show pi:context-id
|
|
30
|
-
goosedump
|
|
31
|
-
goosedump search pi:context-id '
|
|
32
|
-
goosedump compact pi:context-id
|
|
28
|
+
goosedump session list --provider pi
|
|
29
|
+
goosedump session show pi:context-id
|
|
30
|
+
goosedump session find pi:context-id '*database*'
|
|
31
|
+
goosedump session search pi:context-id 'database failure'
|
|
32
|
+
goosedump session compact pi:context-id
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
Every command that operates on a saved session takes an explicit
|
|
36
|
+
`provider:session-id` target. Use `goosedump --help` or the
|
|
36
37
|
[manual page](https://github.com/jarkkojs/goosedump/blob/main/man/man1/goosedump.1)
|
|
37
|
-
for
|
|
38
|
+
for complete usage.
|
|
38
39
|
|
|
39
|
-
##
|
|
40
|
+
## Commands
|
|
40
41
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
The command tree mirrors the things it manages:
|
|
43
|
+
|
|
44
|
+
```text
|
|
45
|
+
session list [--provider PROVIDER] [--path GLOB]
|
|
46
|
+
session show PROVIDER:ID [--entry ID] [--all] [--from ID] [--before ID] [--as PROVIDER]
|
|
47
|
+
session find PROVIDER:ID GLOB [range options] [--as PROVIDER]
|
|
48
|
+
session search PROVIDER:ID QUERY [range options] [--page NUMBER] [--as PROVIDER]
|
|
49
|
+
session compact PROVIDER:ID [range options] [--previous-summary SUMMARY] [--plain] [--remember] [--as PROVIDER]
|
|
50
|
+
session copy PROVIDER:ID --to PROVIDER [--yes]
|
|
51
|
+
session remove PROVIDER:ID [--yes]
|
|
52
|
+
|
|
53
|
+
memory search QUERY [--provider PROVIDER] [--path PATH] [--type TYPE] [--limit NUMBER]
|
|
54
|
+
memory status
|
|
55
|
+
memory forget HASH|PROVIDER:ID
|
|
56
|
+
|
|
57
|
+
model pull
|
|
58
|
+
```
|
|
59
|
+
|
|
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.
|
|
48
63
|
|
|
49
64
|
## Persistent memory
|
|
50
65
|
|
|
51
|
-
`compact` emits a summary without retaining the selected range
|
|
52
|
-
`--
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
Memory keeps historical provenance. Deleting or moving a source context does
|
|
64
|
-
not remove previously harvested content. `forget HASH` and `forget PROVIDER:ID`
|
|
65
|
-
remove memory and create durable tombstones that prevent re-ingestion. Use
|
|
66
|
-
`govern approve`, `quarantine`, `supersede`, `contradict`, and `expire` for explicit
|
|
67
|
-
lifecycle control. Pass `compact --train` only when the selected range may be
|
|
68
|
-
retained; screening is defensive and is not a substitute for secret filtering.
|
|
69
|
-
Reset one terminal failure for another bounded retry cycle with
|
|
70
|
-
`ingest retry HASH`.
|
|
71
|
-
|
|
72
|
-
`mutate` performs an optional local merge of two archived memories. It normally
|
|
73
|
-
waits for sufficient usage evidence; `mutate --force` is intended for testing.
|
|
74
|
-
The fixed `GPT-OSS-20B MXFP4` text model is downloaded on first use, or ahead of
|
|
75
|
-
time with `goosedump pull`.
|
|
66
|
+
`session compact` emits a summary without retaining the selected range. Add
|
|
67
|
+
`--remember` only when the selected content may become durable memory.
|
|
68
|
+
|
|
69
|
+
Use `memory search` to retrieve learned decisions, facts, preferences,
|
|
70
|
+
procedures, and episodes; `memory status` to inspect the store; and
|
|
71
|
+
`memory forget` with a hash printed by `memory search` or a `provider:session-id`
|
|
72
|
+
to remove it. Forgetting creates durable tombstones so the same content is not
|
|
73
|
+
learned again accidentally.
|
|
74
|
+
|
|
75
|
+
Persistent formats are versioned and never migrated. An incompatible cache is
|
|
76
|
+
rebuilt, while an incompatible memory database is rejected and must be
|
|
77
|
+
reinitialized explicitly. A prior schema is never transformed in place.
|
|
76
78
|
|
|
77
79
|
## Inference performance
|
|
78
80
|
|
|
79
|
-
The custom GPT-OSS-20B CPU engine
|
|
80
|
-
|
|
81
|
+
The custom GPT-OSS-20B CPU engine uses physical CPU cores, capped by the CPUs
|
|
82
|
+
available to the process, by default. Override the compute thread count:
|
|
81
83
|
|
|
82
84
|
```sh
|
|
83
85
|
GOOSEDUMP_INFERENCE_THREADS=6 \
|
|
84
|
-
goosedump compact pi:context-id
|
|
86
|
+
goosedump session compact pi:context-id
|
|
85
87
|
```
|
|
86
88
|
|
|
87
|
-
GPT-OSS-20B text generation
|
|
88
|
-
|
|
89
|
-
|
|
89
|
+
GPT-OSS-20B text generation continues to use goosedump's custom CPU engine.
|
|
90
|
+
Download its weights ahead of time with `goosedump model pull`.
|
|
91
|
+
|
|
92
|
+
The `bench` feature builds a standalone harness that shells out to
|
|
93
|
+
`goosedump session compact` with `GOOSEDUMP_PROFILE_COMPACT=1` and reports
|
|
90
94
|
end-to-end and per-stage timings:
|
|
91
95
|
|
|
92
96
|
```sh
|
|
@@ -94,9 +98,9 @@ end-to-end and per-stage timings:
|
|
|
94
98
|
cargo bench --features bench
|
|
95
99
|
```
|
|
96
100
|
|
|
97
|
-
Each case emits JSON with per-run timing (including model loading), median and
|
|
98
|
-
latency, and per-stage medians and p95s. Keep the machine, context range,
|
|
99
|
-
cache unchanged when comparing configurations.
|
|
101
|
+
Each case emits JSON with per-run timing (including model loading), median and
|
|
102
|
+
p95 latency, and per-stage medians and p95s. Keep the machine, context range,
|
|
103
|
+
and model cache unchanged when comparing configurations.
|
|
100
104
|
|
|
101
105
|
## Pi extension
|
|
102
106
|
|
|
@@ -117,7 +121,13 @@ cargo fmt --check
|
|
|
117
121
|
|
|
118
122
|
The published Linux x64 and arm64 binaries are static glibc PIEs.
|
|
119
123
|
|
|
120
|
-
##
|
|
124
|
+
## Licensing
|
|
125
|
+
|
|
126
|
+
1. `pi-goosedump`: Apache 2.0
|
|
127
|
+
2. `goosedump`: LGPL 2.1+
|
|
128
|
+
|
|
129
|
+
### Third Party Attribution
|
|
121
130
|
|
|
122
|
-
|
|
123
|
-
|
|
131
|
+
1. GPT-OSS-20B: Apache 2.0
|
|
132
|
+
- Downloaded on first use at run-time. The model is not distributed together
|
|
133
|
+
with goosedump.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jarkkojs/goosedump",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
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.
|
|
25
|
-
"@jarkkojs/goosedump-linux-arm64": "0.
|
|
26
|
-
"@jarkkojs/goosedump-linux-x64": "0.
|
|
27
|
-
"@jarkkojs/goosedump-win32-x64": "0.
|
|
24
|
+
"@jarkkojs/goosedump-darwin-arm64": "0.12.0",
|
|
25
|
+
"@jarkkojs/goosedump-linux-arm64": "0.12.0",
|
|
26
|
+
"@jarkkojs/goosedump-linux-x64": "0.12.0",
|
|
27
|
+
"@jarkkojs/goosedump-win32-x64": "0.12.0"
|
|
28
28
|
},
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public"
|