dsh-plugin-shop-catalog 2026.902.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 ADDED
@@ -0,0 +1,27 @@
1
+ # dsh-plugin-shop-catalog
2
+
3
+ The plugin catalog published by [dsh-plugin-shop](https://github.com/LivXue/dsh-plugin-shop),
4
+ packaged so it can be read from an npm registry as well as from the web.
5
+
6
+ - Build: `2026-09-02T11:06:18.430Z`
7
+ - Listed plugins: 9291
8
+
9
+ The same bytes are served at
10
+ <https://LivXue.github.io/dsh-plugin-shop/v1/>. This package exists so a
11
+ reader whose link to GitHub is slow can take the catalog from a nearby npm
12
+ mirror instead; the shop races both and uses whichever answers first.
13
+
14
+ ```js
15
+ const catalog = require('dsh-plugin-shop-catalog')
16
+
17
+ catalog.readIndex() // { schemaVersion, builtAt, count, plugins: { url, sha256 }, ... }
18
+ catalog.readPlugins() // { schemaVersion, plugins: [...], denied: [...] }
19
+ catalog.readStars() // { stars: { "<name|owner/repo>": <count> } } or null
20
+ ```
21
+
22
+ `readIndex().plugins.sha256` is the sha256 of the file `readPlugins()`
23
+ parses; verifying it is how the shop binds the pointer to the data, and any
24
+ consumer can do the same.
25
+
26
+ Versions are `YYYY.MMDD.N`. Published from CI on each catalog build; a
27
+ version is never republished.
package/index.js ADDED
@@ -0,0 +1,25 @@
1
+ /** The dsh plugin catalog, as published by dsh-plugin-shop. */
2
+
3
+ const { readFileSync } = require('node:fs')
4
+ const { join } = require('node:path')
5
+
6
+ const indexPath = join(__dirname, 'v1', 'index.json')
7
+ const pluginsPath = join(__dirname, 'v1', "plugins.80af411ea96488c468c3d2cfe668242836856c7a6e0d081b9d30200bf006e663.json")
8
+ const starsPath = join(__dirname, 'v1', "stars.4dcda4e76c176b11921fbea382d61f5b84c09ca8856801dd28061a0b1578974c.json")
9
+
10
+ /** The pointer: schemaVersion, builtAt, count, and the data file's sha256. */
11
+ function readIndex() {
12
+ return JSON.parse(readFileSync(indexPath, 'utf8'))
13
+ }
14
+
15
+ /** The catalog itself: { schemaVersion, plugins, denied }. */
16
+ function readPlugins() {
17
+ return JSON.parse(readFileSync(pluginsPath, 'utf8'))
18
+ }
19
+
20
+ /** GitHub star counts by package name, or null when this build published none. */
21
+ function readStars() {
22
+ return starsPath === null ? null : JSON.parse(readFileSync(starsPath, 'utf8'))
23
+ }
24
+
25
+ module.exports = { indexPath, pluginsPath, starsPath, readIndex, readPlugins, readStars }
package/package.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "dsh-plugin-shop-catalog",
3
+ "version": "2026.902.0",
4
+ "description": "The dsh plugin catalog, as published by dsh-plugin-shop.",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/LivXue/dsh-plugin-shop.git"
9
+ },
10
+ "homepage": "https://github.com/LivXue/dsh-plugin-shop",
11
+ "keywords": [
12
+ "dsh",
13
+ "deepseek-harness",
14
+ "plugin",
15
+ "catalog"
16
+ ],
17
+ "type": "commonjs",
18
+ "main": "index.js",
19
+ "files": [
20
+ "v1",
21
+ "index.js"
22
+ ],
23
+ "catalogShas": {
24
+ "plugins": "80af411ea96488c468c3d2cfe668242836856c7a6e0d081b9d30200bf006e663",
25
+ "stars": "4dcda4e76c176b11921fbea382d61f5b84c09ca8856801dd28061a0b1578974c"
26
+ }
27
+ }
package/v1/index.json ADDED
@@ -0,0 +1,14 @@
1
+ {
2
+ "schemaVersion": 5,
3
+ "builtAt": "2026-09-02T11:06:18.430Z",
4
+ "count": 9291,
5
+ "rejected": 11291,
6
+ "plugins": {
7
+ "url": "plugins.80af411ea96488c468c3d2cfe668242836856c7a6e0d081b9d30200bf006e663.json",
8
+ "sha256": "80af411ea96488c468c3d2cfe668242836856c7a6e0d081b9d30200bf006e663"
9
+ },
10
+ "stars": {
11
+ "url": "stars.4dcda4e76c176b11921fbea382d61f5b84c09ca8856801dd28061a0b1578974c.json",
12
+ "sha256": "4dcda4e76c176b11921fbea382d61f5b84c09ca8856801dd28061a0b1578974c"
13
+ }
14
+ }