dsh-plugin-shop 0.6.0 → 0.7.0
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 +11 -4
- package/lib/client.js +243 -243
- package/lib/index.js +453 -40
- package/lib/typert.host.js +9 -9
- package/lib/typert.remote-client.js +9 -9
- package/lib/types/host/catalog.d.ts +19 -1
- package/lib/types/host/index.d.ts +7 -0
- package/lib/types/host/npm-origin.d.ts +24 -0
- package/lib/types/host/npmrc.d.ts +23 -0
- package/lib/types/host/origin.d.ts +40 -0
- package/lib/types/host/race.d.ts +41 -0
- package/lib/types/host/tar.d.ts +13 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,9 +52,9 @@ install them once with `npm install -g @deepseek-ai/dsh pnpm` and verify with
|
|
|
52
52
|
# holds back very recent releases, so a bare `add dsh-plugin-shop` can hand
|
|
53
53
|
# you an older version for a while. Pin the current release — refresh it
|
|
54
54
|
# with `npm view dsh-plugin-shop version`.
|
|
55
|
-
dsh plugin --profile web add dsh-plugin-shop@0.
|
|
55
|
+
dsh plugin --profile web add dsh-plugin-shop@0.7.0
|
|
56
56
|
# or straight through npx, nothing installed:
|
|
57
|
-
npx -y @deepseek-ai/dsh plugin --profile web add dsh-plugin-shop@0.
|
|
57
|
+
npx -y @deepseek-ai/dsh plugin --profile web add dsh-plugin-shop@0.7.0
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
Replace `web` with your profile if you use another one. Then restart `dsh` once — a
|
|
@@ -84,7 +84,7 @@ ls -1 "${DSH_HOME:-$HOME/.dsh}/profiles" | grep -v '^node_modules$'
|
|
|
84
84
|
cooldown, and deterministic installs are the point of the agent path.
|
|
85
85
|
|
|
86
86
|
```sh
|
|
87
|
-
dsh plugin --profile <profile> add dsh-plugin-shop@0.
|
|
87
|
+
dsh plugin --profile <profile> add dsh-plugin-shop@0.7.0
|
|
88
88
|
```
|
|
89
89
|
|
|
90
90
|
**3. Verify — do not skip this.** A zero exit from step 2 means pnpm resolved the
|
|
@@ -138,9 +138,16 @@ Compromising the browser half buys an attacker those nine calls and nothing more
|
|
|
138
138
|
|
|
139
139
|
## ⚙️ Configuration
|
|
140
140
|
|
|
141
|
+
The shop reads its catalog from whichever source answers first: the npm
|
|
142
|
+
package `dsh-plugin-shop-catalog` (via your configured registry, npmmirror,
|
|
143
|
+
or npmjs) or `https://LivXue.github.io/dsh-plugin-shop/v1/`. All of them
|
|
144
|
+
carry the same bytes; the race exists because the link to one of them can be
|
|
145
|
+
far slower than the link to another. Setting `DSH_SHOP_CATALOG_URL` opts out
|
|
146
|
+
of the race and uses only what you name.
|
|
147
|
+
|
|
141
148
|
| Variable | Effect |
|
|
142
149
|
|---|---|
|
|
143
|
-
| `DSH_SHOP_CATALOG_URL` |
|
|
150
|
+
| `DSH_SHOP_CATALOG_URL` | Read the catalog only from this base, instead of racing the default sources |
|
|
144
151
|
|
|
145
152
|
## 📚 The catalog
|
|
146
153
|
|