dsh-plugin-auth 0.1.2 → 0.1.3
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 +13 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,17 +48,27 @@ registration flows through it:
|
|
|
48
48
|
|
|
49
49
|
The public npm package is the recommended installation path once a release is published. dsh forwards
|
|
50
50
|
the package spec to pnpm and automatically adds the package to the profile layer list because this package
|
|
51
|
-
declares `dsh.bundle
|
|
51
|
+
declares `dsh.bundle`.
|
|
52
|
+
|
|
53
|
+
Use the command form that matches how dsh is installed:
|
|
54
|
+
|
|
55
|
+
- Installed dsh CLI (the `dsh` executable is on `PATH`): use `dsh ...`.
|
|
56
|
+
- Source checkout (this repository): use `pnpm dsh ...` from the harness root.
|
|
52
57
|
|
|
53
58
|
```bash
|
|
54
|
-
# install the exact release into the web profile
|
|
55
|
-
dsh plugin --profile web add -w dsh-plugin-auth@0.1.
|
|
59
|
+
# install the exact release into the web profile (installed CLI)
|
|
60
|
+
dsh plugin --profile web add -w dsh-plugin-auth@0.1.3
|
|
61
|
+
|
|
62
|
+
# from a deepseek-harness source checkout, run the equivalent command instead:
|
|
63
|
+
pnpm dsh plugin --profile web add -w dsh-plugin-auth@0.1.3
|
|
56
64
|
|
|
57
65
|
# create the first admin before first boot (writes $DSH_HOME/auth/users.json)
|
|
58
66
|
dsh plugin --profile web exec dsh-auth add-user admin
|
|
67
|
+
pnpm dsh plugin --profile web exec dsh-auth add-user admin # source checkout
|
|
59
68
|
|
|
60
69
|
# confirm the auth-webserver layer resolved and the stock webserver is disabled
|
|
61
70
|
dsh --profile web --dump-config
|
|
71
|
+
pnpm dsh --profile web --dump-config # source checkout
|
|
62
72
|
```
|
|
63
73
|
|
|
64
74
|
`dsh-plugin-auth` deliberately has no `peerDependencies`: the dsh profile supplies the exact
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-auth",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Enterprise username/password authentication gate for the dsh Web UI. Out-of-tree plugin — no core changes; requires login before any page or API is reachable.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|