@dsh-plugin-hub/registry 0.1.0 → 0.1.4

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.
Files changed (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +37 -0
  3. package/package.json +21 -3
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 DSH Plugin Hub contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,37 @@
1
+ # @dsh-plugin-hub/registry
2
+
3
+ Deterministic version resolution and Profile planning for
4
+ [DSH Plugin Hub](https://dshpluginhub.ai).
5
+
6
+ ## Install
7
+
8
+ ```bash
9
+ npm install @dsh-plugin-hub/registry
10
+ ```
11
+
12
+ ## What it does
13
+
14
+ - Resolves exact Plugin versions from semver selectors and dist-tags
15
+ - Excludes withdrawn versions
16
+ - Preserves an author-confirmed Profile sequence
17
+ - Validates `before` and `after` ordering constraints
18
+ - Detects duplicate bundles, ordering cycles, and entry ID conflicts
19
+ - Produces exact install specs and integrity metadata
20
+
21
+ ```ts
22
+ import {
23
+ resolvePluginVersion,
24
+ resolveProfile,
25
+ validateProfileBundleOrder,
26
+ } from "@dsh-plugin-hub/registry";
27
+ ```
28
+
29
+ This package performs local deterministic computation. It does not host npm
30
+ packages or make Registry network requests. The shared data contracts live in
31
+ [`@dsh-plugin-hub/schemas`](https://www.npmjs.com/package/@dsh-plugin-hub/schemas).
32
+
33
+ Browse public DSH plugins and Profiles at
34
+ [dshpluginhub.ai](https://dshpluginhub.ai).
35
+
36
+ This is an independent community project and is not affiliated with or endorsed
37
+ by DeepSeek.
package/package.json CHANGED
@@ -1,11 +1,29 @@
1
1
  {
2
2
  "name": "@dsh-plugin-hub/registry",
3
- "version": "0.1.0",
3
+ "version": "0.1.4",
4
4
  "description": "Version resolution and profile planning for DSH Hub",
5
+ "keywords": [
6
+ "dsh-plugin",
7
+ "deepseek-harness",
8
+ "profile",
9
+ "resolver",
10
+ "registry"
11
+ ],
12
+ "homepage": "https://dshpluginhub.ai",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git+https://github.com/pax-beehive/dsh-hub-cli.git",
16
+ "directory": "packages/registry"
17
+ },
18
+ "bugs": {
19
+ "url": "https://github.com/pax-beehive/dsh-hub-cli/issues"
20
+ },
5
21
  "type": "module",
6
22
  "sideEffects": false,
7
23
  "files": [
8
- "dist"
24
+ "dist",
25
+ "README.md",
26
+ "LICENSE"
9
27
  ],
10
28
  "main": "./dist/index.js",
11
29
  "types": "./dist/index.d.ts",
@@ -17,7 +35,7 @@
17
35
  },
18
36
  "dependencies": {
19
37
  "semver": "7.8.5",
20
- "@dsh-plugin-hub/schemas": "0.1.0"
38
+ "@dsh-plugin-hub/schemas": "0.1.4"
21
39
  },
22
40
  "devDependencies": {
23
41
  "@types/semver": "7.8.0",