dsh-plugin-shop 0.8.1 → 0.8.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 +6 -5
- package/lib/client.js +455 -197
- package/lib/index.js +712 -164
- package/lib/typert.host.js +38 -25
- package/lib/typert.remote-client.js +23 -18
- package/lib/types/client/ShopTab.d.ts +4 -0
- package/lib/types/client/locales.d.ts +20 -2
- package/lib/types/client/present.d.ts +60 -9
- package/lib/types/client/useFlows.d.ts +66 -0
- package/lib/types/client/useInstall.d.ts +17 -27
- package/lib/types/client/useUninstall.d.ts +24 -17
- package/lib/types/client/useUpdateSelf.d.ts +1 -1
- package/lib/types/host/activation.d.ts +55 -0
- package/lib/types/host/client-half.d.ts +28 -0
- package/lib/types/host/dsh-cli.d.ts +11 -0
- package/lib/types/host/executor.d.ts +18 -5
- package/lib/types/host/hot.d.ts +16 -5
- package/lib/types/host/index.d.ts +111 -16
- package/lib/types/host/peers.d.ts +5 -3
- package/lib/types/host/prefetch.d.ts +67 -0
- package/lib/types/shared/install-state.d.ts +16 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,9 +35,9 @@ install them once with `npm install -g @deepseek-ai/dsh pnpm` and verify with
|
|
|
35
35
|
# holds back very recent releases, so a bare `add dsh-plugin-shop` can hand
|
|
36
36
|
# you an older version for a while. Pin the current release — refresh it
|
|
37
37
|
# with `npm view dsh-plugin-shop version`.
|
|
38
|
-
dsh plugin --profile web add dsh-plugin-shop@0.8.
|
|
38
|
+
dsh plugin --profile web add dsh-plugin-shop@0.8.2
|
|
39
39
|
# or straight through npx, nothing installed:
|
|
40
|
-
npx -y @deepseek-ai/dsh plugin --profile web add dsh-plugin-shop@0.8.
|
|
40
|
+
npx -y @deepseek-ai/dsh plugin --profile web add dsh-plugin-shop@0.8.2
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
Replace `web` with your profile if you use another one. Then restart `dsh` once — a
|
|
@@ -67,7 +67,7 @@ ls -1 "${DSH_HOME:-$HOME/.dsh}/profiles" | grep -v '^node_modules$'
|
|
|
67
67
|
cooldown, and deterministic installs are the point of the agent path.
|
|
68
68
|
|
|
69
69
|
```sh
|
|
70
|
-
dsh plugin --profile <profile> add dsh-plugin-shop@0.8.
|
|
70
|
+
dsh plugin --profile <profile> add dsh-plugin-shop@0.8.2
|
|
71
71
|
```
|
|
72
72
|
|
|
73
73
|
**3. Verify — do not skip this.** A zero exit from step 2 means pnpm resolved the
|
|
@@ -119,11 +119,12 @@ bundle is not.
|
|
|
119
119
|
|---|---|
|
|
120
120
|
| **Browse & search** | Thousands of plugins, harvested from the whole public npm registry by the `dsh-plugin` and `deepseek-harness` keywords and from GitHub repositories using them as topics — shown with the author's own summary when they declared one, and sorted into seven categories |
|
|
121
121
|
| **Install** | One confirmation. An unreviewed plugin requires an explicit acknowledgement first — an installed plugin holds the same privileges as a built-in one |
|
|
122
|
-
| **Enable / disable** | Applies to an installed plugin without a restart |
|
|
122
|
+
| **Enable / disable** | Applies to an installed plugin without a restart. A plugin with a browser half also needs the open page reloaded, and the shop offers the button when it does |
|
|
123
123
|
| **Installed state** | An installed plugin shows an Installed label on its card — or an Update button when the catalog has a newer version — plus an Uninstall button; the Installed filter in the category bar shows only installed plugins |
|
|
124
124
|
| **Size & author** | Each card shows what installing the plugin puts on disk, next to the account that published it — npm's own unpacked figure, so it matches the package's npm page |
|
|
125
125
|
| **Leave out what cannot run** | A plugin whose declared components your installation does not provide is badged incompatible; the filter at the end of the category bar takes those off the shelf. It never hides a plugin whose name is already taken by another install, and never subtracts from the Installed view — those cards are the only place the problem is explained or can be undone |
|
|
126
|
-
| **
|
|
126
|
+
| **Reload** | When an uninstall or a toggle is already live on the server and only the open page is stale, the shop offers to reload that page — never automatically, because a reload discards work in flight |
|
|
127
|
+
| **Restart** | When the plugin's host half could not be brought up live — and also when it could, but the plugin has a browser half: a plugin that arrives mid-session reaches the page only through a restart, so the shop says so rather than offering a reload that would change nothing. It states the cost first: the page disconnects and in-flight work is interrupted |
|
|
127
128
|
| **Self-update** | The shop shows its own version next to the search box, checks npm for a newer release, and updates itself with the pinned version — then the usual restart |
|
|
128
129
|
|
|
129
130
|
## 🔎 Where the shelf comes from
|