herdr-secret 0.1.0 → 0.1.1
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 +44 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,24 +1,53 @@
|
|
|
1
1
|
# herdr-secret
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
[herdr](https://herdr.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/herdr-secret)
|
|
4
|
+
[](https://github.com/mazemaker/herdr-secret/actions/workflows/test.yml)
|
|
5
|
+
[](https://github.com/mazemaker/herdr-secret/blob/main/LICENSE)
|
|
6
|
+
|
|
7
|
+
Let your coding agents ask you for credentials without the value ever entering their chat.
|
|
8
|
+
|
|
9
|
+
An agent runs `herdr-secret ask`. A form pops up in your [herdr](https://herdr.dev) session,
|
|
10
|
+
you type the value there, and it goes straight into your operating system's credential store.
|
|
11
|
+
The agent only gets back whether you answered.
|
|
12
|
+
|
|
13
|
+

|
|
14
|
+
|
|
15
|
+
## Install
|
|
8
16
|
|
|
9
17
|
```sh
|
|
10
18
|
npx herdr-secret@latest
|
|
11
19
|
```
|
|
12
20
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
Codex, OpenCode, Gemini CLI) to use it.
|
|
21
|
+
Works on macOS, Linux and Windows. It installs the herdr plugin from
|
|
22
|
+
[GitHub](https://github.com/mazemaker/herdr-secret) (herdr shows what it will run and asks
|
|
23
|
+
first), then walks you through setup:
|
|
17
24
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
25
|
+
- checks that your credential store works,
|
|
26
|
+
- puts the `herdr-secret` command on your PATH,
|
|
27
|
+
- offers to teach the agents it finds (Claude Code, Codex, OpenCode, Gemini CLI) to ask
|
|
28
|
+
through it instead of asking you to paste credentials,
|
|
29
|
+
- lets you try the form once.
|
|
30
|
+
|
|
31
|
+
`npx herdr-secret uninstall` removes everything setup added.
|
|
32
|
+
|
|
33
|
+
## Where values go
|
|
34
|
+
|
|
35
|
+
- **macOS:** login Keychain
|
|
36
|
+
- **Windows:** Credential Manager
|
|
37
|
+
- **Linux:** Secret Service (GNOME Keyring, KWallet). Without one, setup asks before falling
|
|
38
|
+
back to 0600 files.
|
|
39
|
+
|
|
40
|
+
Values never pass through a command line or a log, and the popup is not a herdr pane, so an
|
|
41
|
+
agent cannot read it.
|
|
42
|
+
|
|
43
|
+
## Trust
|
|
44
|
+
|
|
45
|
+
- No dependencies. This package is one small script that finds herdr and Python and hands over
|
|
46
|
+
to the plugin.
|
|
47
|
+
- Published from GitHub Actions with npm provenance: the attestation on each version names the
|
|
48
|
+
commit and workflow run that built it.
|
|
49
|
+
- [What it protects and what it doesn't](https://github.com/mazemaker/herdr-secret#what-this-does-and-doesnt-protect),
|
|
50
|
+
and [how to report a security problem](https://github.com/mazemaker/herdr-secret/blob/main/SECURITY.md).
|
|
21
51
|
|
|
22
|
-
Requires herdr 0.9.5
|
|
23
|
-
|
|
24
|
-
what it does and doesn't protect.
|
|
52
|
+
Requires herdr 0.9.5+, Python 3.8+ (the plugin runs on it), and Node 18+ for this installer.
|
|
53
|
+
MIT licensed.
|
package/package.json
CHANGED