@jarkkojs/goosedump 0.12.51 → 0.12.53
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 +16 -8
- package/bin/goosedump.js +8 -9
- package/bin/native-packages.json +18 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ Session targets use `provider:session-id`. Bare IDs are not accepted.
|
|
|
26
26
|
|
|
27
27
|
```sh
|
|
28
28
|
goosedump summary
|
|
29
|
-
goosedump session list --
|
|
29
|
+
goosedump session list --provider pi
|
|
30
30
|
goosedump session show pi:context-id
|
|
31
31
|
goosedump session find pi:context-id '*database*'
|
|
32
32
|
goosedump session search pi:context-id 'database failure'
|
|
@@ -63,6 +63,15 @@ make ci
|
|
|
63
63
|
CI_MSRV=1 make ci # optional MSRV check
|
|
64
64
|
```
|
|
65
65
|
|
|
66
|
+
### Update
|
|
67
|
+
|
|
68
|
+
Refresh lockfiles within current `Cargo.toml` / `package.json` ranges.
|
|
69
|
+
Does not bump manifest pins. Skips this project's own npm packages.
|
|
70
|
+
|
|
71
|
+
```sh
|
|
72
|
+
make update
|
|
73
|
+
```
|
|
74
|
+
|
|
66
75
|
### Package
|
|
67
76
|
|
|
68
77
|
Packages the **highest semver tag reachable from HEAD** on the current branch
|
|
@@ -70,13 +79,12 @@ Packages the **highest semver tag reachable from HEAD** on the current branch
|
|
|
70
79
|
tag; this packaging script stays on tip so tooling fixes apply without a new
|
|
71
80
|
tag. Artifacts land in `npm/*/bin` and `artifacts/` on the caller tree.
|
|
72
81
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
`
|
|
78
|
-
Linux
|
|
79
|
-
`ghcr.io/cross-rs/aarch64-apple-darwin-cross:local` (Apple SDK; not redistributed).
|
|
82
|
+
Non-host targets use [`cargo-zigbuild`](https://github.com/rust-cross/cargo-zigbuild)
|
|
83
|
+
(Zig as linker). Requires `cargo-zigbuild`, `zig`, and the matching `rustup`
|
|
84
|
+
targets (`x86_64-unknown-linux-musl`, `aarch64-unknown-linux-musl`,
|
|
85
|
+
`x86_64-pc-windows-gnu`, `aarch64-apple-darwin`). Host-native triples use
|
|
86
|
+
plain `cargo`. Darwin links CoreFoundation (`chrono` / `iana-time-zone`); from
|
|
87
|
+
Linux set `SDKROOT` to a macOS SDK (Apple SDK; not redistributed).
|
|
80
88
|
|
|
81
89
|
```sh
|
|
82
90
|
make package
|
package/bin/goosedump.js
CHANGED
|
@@ -6,21 +6,20 @@ const { execFileSync } = require('node:child_process');
|
|
|
6
6
|
const fs = require('node:fs');
|
|
7
7
|
const path = require('node:path');
|
|
8
8
|
|
|
9
|
+
function loadNativePackages() {
|
|
10
|
+
return require('./native-packages.json');
|
|
11
|
+
}
|
|
12
|
+
|
|
9
13
|
function resolveBinary() {
|
|
10
14
|
const platform = `${process.platform}-${process.arch}`;
|
|
11
|
-
const packages =
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
'linux-x64': '@jarkkojs/goosedump-linux-x64',
|
|
15
|
-
'win32-x64': '@jarkkojs/goosedump-win32-x64',
|
|
16
|
-
};
|
|
17
|
-
const packageName = packages[platform];
|
|
18
|
-
if (!packageName) {
|
|
15
|
+
const packages = loadNativePackages();
|
|
16
|
+
const entry = packages[platform];
|
|
17
|
+
if (!entry || typeof entry.packageName !== 'string' || typeof entry.binaryName !== 'string') {
|
|
19
18
|
throw new Error(
|
|
20
19
|
`unsupported platform: ${platform}; supported platforms: ${Object.keys(packages).join(', ')}`
|
|
21
20
|
);
|
|
22
21
|
}
|
|
23
|
-
const
|
|
22
|
+
const { packageName, binaryName } = entry;
|
|
24
23
|
|
|
25
24
|
let packageDir;
|
|
26
25
|
try {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"darwin-arm64": {
|
|
3
|
+
"packageName": "@jarkkojs/goosedump-darwin-arm64",
|
|
4
|
+
"binaryName": "goosedump"
|
|
5
|
+
},
|
|
6
|
+
"linux-arm64": {
|
|
7
|
+
"packageName": "@jarkkojs/goosedump-linux-arm64",
|
|
8
|
+
"binaryName": "goosedump"
|
|
9
|
+
},
|
|
10
|
+
"linux-x64": {
|
|
11
|
+
"packageName": "@jarkkojs/goosedump-linux-x64",
|
|
12
|
+
"binaryName": "goosedump"
|
|
13
|
+
},
|
|
14
|
+
"win32-x64": {
|
|
15
|
+
"packageName": "@jarkkojs/goosedump-win32-x64",
|
|
16
|
+
"binaryName": "goosedump.exe"
|
|
17
|
+
}
|
|
18
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jarkkojs/goosedump",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.53",
|
|
4
4
|
"description": "Coding agent context data browser",
|
|
5
5
|
"license": "Apache-2.0 AND LGPL-2.1-or-later",
|
|
6
6
|
"homepage": "https://gitlab.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.53",
|
|
25
|
+
"@jarkkojs/goosedump-linux-arm64": "0.12.53",
|
|
26
|
+
"@jarkkojs/goosedump-linux-x64": "0.12.53",
|
|
27
|
+
"@jarkkojs/goosedump-win32-x64": "0.12.53"
|
|
28
28
|
},
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public"
|