@jarkkojs/goosedump 0.10.12 → 0.10.14
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 +9 -4
- package/bin/goosedump.js +13 -18
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ It builds on ideas from [`lllyasviel/VCC`](https://github.com/lllyasviel/VCC).
|
|
|
8
8
|
|
|
9
9
|
## Install
|
|
10
10
|
|
|
11
|
-
Prebuilt binaries are available for Linux x64, macOS arm64, and Windows x64:
|
|
11
|
+
Prebuilt binaries are available for Linux x64 and arm64, macOS arm64, and Windows x64:
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
14
|
npm install --global @jarkkojs/goosedump
|
|
@@ -55,8 +55,11 @@ for all commands and options.
|
|
|
55
55
|
as decisions, facts, preferences, procedures, or episodes and include trust,
|
|
56
56
|
confidence, validity, scope, derivation, and concrete source provenance. Admission
|
|
57
57
|
screening quarantines instruction-like, generated, and malformed content before
|
|
58
|
-
retrieval.
|
|
59
|
-
and
|
|
58
|
+
retrieval. Indexing uses a durable pending/indexed/failed ledger, recovers interrupted
|
|
59
|
+
work, and stops automatic retries after three attempts. Use `recall --type TYPE` to
|
|
60
|
+
restrict a search, `stats` to inspect type, governance, and ingestion counts,
|
|
61
|
+
`govern review` to inspect quarantined entries, and `ingest review` to inspect
|
|
62
|
+
indexing failures.
|
|
60
63
|
|
|
61
64
|
Memory keeps historical provenance. Deleting or moving a source context does
|
|
62
65
|
not remove previously harvested content. `forget HASH` and `forget PROVIDER:ID`
|
|
@@ -64,6 +67,8 @@ remove memory and create durable tombstones that prevent re-ingestion. Use
|
|
|
64
67
|
`govern approve`, `quarantine`, `supersede`, `contradict`, and `expire` for explicit
|
|
65
68
|
lifecycle control. Pass `compact --train` only when the selected range may be
|
|
66
69
|
retained; screening is defensive and is not a substitute for secret filtering.
|
|
70
|
+
Reset one terminal failure for another bounded retry cycle with
|
|
71
|
+
`ingest retry HASH`.
|
|
67
72
|
|
|
68
73
|
`mutate` performs an optional local merge of two archived memories. It normally
|
|
69
74
|
waits for sufficient usage evidence; `mutate --force` is intended for testing.
|
|
@@ -87,7 +92,7 @@ cargo clippy --all-targets -- -D warnings
|
|
|
87
92
|
cargo fmt --check
|
|
88
93
|
```
|
|
89
94
|
|
|
90
|
-
The published Linux x64
|
|
95
|
+
The published Linux x64 and arm64 binaries are static glibc PIEs.
|
|
91
96
|
|
|
92
97
|
## License
|
|
93
98
|
|
package/bin/goosedump.js
CHANGED
|
@@ -7,25 +7,20 @@ const fs = require('node:fs');
|
|
|
7
7
|
const path = require('node:path');
|
|
8
8
|
|
|
9
9
|
function resolveBinary() {
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
case 'win32-x64':
|
|
23
|
-
packageName = '@jarkkojs/goosedump-win32-x64';
|
|
24
|
-
binaryName = 'goosedump.exe';
|
|
25
|
-
break;
|
|
26
|
-
default:
|
|
27
|
-
throw new Error(`unsupported platform architecture: ${target}`);
|
|
10
|
+
const platform = `${process.platform}-${process.arch}`;
|
|
11
|
+
const packages = {
|
|
12
|
+
'darwin-arm64': '@jarkkojs/goosedump-darwin-arm64',
|
|
13
|
+
'linux-arm64': '@jarkkojs/goosedump-linux-arm64',
|
|
14
|
+
'linux-x64': '@jarkkojs/goosedump-linux-x64',
|
|
15
|
+
'win32-x64': '@jarkkojs/goosedump-win32-x64',
|
|
16
|
+
};
|
|
17
|
+
const packageName = packages[platform];
|
|
18
|
+
if (!packageName) {
|
|
19
|
+
throw new Error(
|
|
20
|
+
`unsupported platform: ${platform}; supported platforms: ${Object.keys(packages).join(', ')}`
|
|
21
|
+
);
|
|
28
22
|
}
|
|
23
|
+
const binaryName = process.platform === 'win32' ? 'goosedump.exe' : 'goosedump';
|
|
29
24
|
|
|
30
25
|
let packageDir;
|
|
31
26
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jarkkojs/goosedump",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.14",
|
|
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",
|
|
@@ -22,9 +22,10 @@
|
|
|
22
22
|
"THIRD_PARTY_NOTICES.txt"
|
|
23
23
|
],
|
|
24
24
|
"optionalDependencies": {
|
|
25
|
-
"@jarkkojs/goosedump-darwin-arm64": "0.10.
|
|
26
|
-
"@jarkkojs/goosedump-linux-
|
|
27
|
-
"@jarkkojs/goosedump-
|
|
25
|
+
"@jarkkojs/goosedump-darwin-arm64": "0.10.14",
|
|
26
|
+
"@jarkkojs/goosedump-linux-arm64": "0.10.14",
|
|
27
|
+
"@jarkkojs/goosedump-linux-x64": "0.10.14",
|
|
28
|
+
"@jarkkojs/goosedump-win32-x64": "0.10.14"
|
|
28
29
|
},
|
|
29
30
|
"publishConfig": {
|
|
30
31
|
"access": "public"
|