noisegate-hermes 0.1.0 → 0.1.2
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 +15 -5
- package/bin/noisegate-hermes-installer.js +2 -2
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,19 +1,27 @@
|
|
|
1
|
-
# noisegate on npm
|
|
1
|
+
# noisegate-hermes on npm
|
|
2
2
|
|
|
3
3
|
This npm package is only a thin installer wrapper for the Python package [`noisegate-hermes`](https://github.com/Tosko4/noisegate).
|
|
4
4
|
|
|
5
5
|
Noisegate itself is a Python Hermes Agent plugin and CLI. The Python package is canonical.
|
|
6
6
|
|
|
7
|
-
## Install Noisegate for Hermes
|
|
7
|
+
## Install or update Noisegate for Hermes
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npx noisegate install-hermes
|
|
10
|
+
npx -p noisegate-hermes noisegate install-hermes
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Use the same command for first install and updates. It finds `hermes` on `PATH`, resolves the Python environment that runs Hermes, installs the matching `noisegate-hermes` Python package there, enables the `noisegate` plugin, and runs `noisegate doctor`.
|
|
14
|
+
|
|
15
|
+
Preview the exact commands first:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npx -p noisegate-hermes noisegate install-hermes --dry-run
|
|
11
19
|
```
|
|
12
20
|
|
|
13
21
|
If your npm client does not resolve the single-bin shortcut, use the explicit bin name:
|
|
14
22
|
|
|
15
23
|
```bash
|
|
16
|
-
npx -p noisegate noisegate-hermes-installer install-hermes
|
|
24
|
+
npx -p noisegate-hermes noisegate-hermes-installer install-hermes
|
|
17
25
|
```
|
|
18
26
|
|
|
19
27
|
The wrapper delegates to:
|
|
@@ -22,10 +30,12 @@ The wrapper delegates to:
|
|
|
22
30
|
uvx --from noisegate-hermes==<this npm package version> noisegate install-hermes
|
|
23
31
|
```
|
|
24
32
|
|
|
33
|
+
If Hermes is running as a long-lived gateway/service, restart or reload that Hermes process through your normal maintenance flow after installing so the plugin/config change is picked up. Avoid interrupting in-flight agent work.
|
|
34
|
+
|
|
25
35
|
## Security posture
|
|
26
36
|
|
|
27
37
|
- No `postinstall` scripts.
|
|
28
38
|
- No bundled Python implementation.
|
|
29
39
|
- No long-lived npm token is required when published through npm trusted publishing.
|
|
30
40
|
- Publish provenance should be enabled in CI.
|
|
31
|
-
- The package exists
|
|
41
|
+
- The package exists as the public `noisegate-hermes` npm installer wrapper and provides a safe install entrypoint.
|
|
@@ -16,8 +16,8 @@ This npm package is a thin installer for the Python package noisegate-hermes.
|
|
|
16
16
|
The Python package remains the canonical Noisegate implementation.
|
|
17
17
|
|
|
18
18
|
Usage:
|
|
19
|
-
npx noisegate install-hermes [--dry-run] [noisegate install-hermes options]
|
|
20
|
-
npx -p noisegate noisegate-hermes-installer install-hermes [options]
|
|
19
|
+
npx -p noisegate-hermes noisegate install-hermes [--dry-run] [noisegate install-hermes options]
|
|
20
|
+
npx -p noisegate-hermes noisegate-hermes-installer install-hermes [options]
|
|
21
21
|
|
|
22
22
|
Security model:
|
|
23
23
|
- no postinstall scripts
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "noisegate-hermes",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Thin npm installer wrapper for the Noisegate Hermes Agent plugin and CLI.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
8
8
|
"noisegate": "bin/noisegate-hermes-installer.js",
|
|
9
|
-
"noisegate-hermes-installer": "bin/noisegate-hermes-installer.js"
|
|
9
|
+
"noisegate-hermes-installer": "bin/noisegate-hermes-installer.js",
|
|
10
|
+
"noisegate-hermes": "bin/noisegate-hermes-installer.js"
|
|
10
11
|
},
|
|
11
12
|
"files": [
|
|
12
13
|
"bin/",
|