dsh-os-kit 0.0.0-stage → 0.2.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 PerryLink 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 CHANGED
@@ -1,3 +1,81 @@
1
- # Temporary Holding Version
1
+ # Kit · `dsh-os-kit`
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ > One install for the four core dsh-os modules: Act, Allow, Snip and Check.
4
+
5
+ **Status: 0.1.0 experimental — dependency-only meta bundle, no business code.**
6
+
7
+ `dsh-os-kit` is a thin Cordis bundle. It installs four independently versioned
8
+ modules and mounts them through one insert patch:
9
+
10
+ | Module | Package | Host seam |
11
+ | --- | --- | --- |
12
+ | Act | `dsh-act` | `ctx.act` |
13
+ | Allow | `dsh-allow` | `ctx.allow` |
14
+ | Snip | `dsh-snip` | `ctx.snip` |
15
+ | Check | `@perrylink/dsh-check` | `ctx.check` |
16
+
17
+ The kit registers no service, no capability and no agent tool. Its `index.js`
18
+ is an empty plugin entry kept so the package is a valid bundle; every behavior
19
+ belongs to the four modules above.
20
+
21
+ **Not affiliated with DeepSeek.** DeepSeek and DeepSeek Harness are trademarks
22
+ of their respective owners.
23
+
24
+ ## Install all four at once
25
+
26
+ ```sh
27
+ dsh plugin --profile web add dsh-os-kit
28
+ ```
29
+
30
+ The kit's dependencies bring in Act, Allow, Snip and Check, and its
31
+ `cordis.patch.yml` mounts all four in a single `insert`. The kit ships no
32
+ `config`, so each module keeps its own defaults and can still be overridden by
33
+ id from the profile's patch layer.
34
+
35
+ ## Install individually
36
+
37
+ Every module is also a standalone package, so you can install only what you
38
+ need:
39
+
40
+ ```sh
41
+ dsh plugin --profile web add dsh-act
42
+ dsh plugin --profile web add dsh-allow
43
+ dsh plugin --profile web add dsh-snip
44
+ dsh plugin --profile web add @perrylink/dsh-check
45
+ ```
46
+
47
+ Use the kit for the whole set, or install only the modules you need. Modules
48
+ added directly to the profile remain independent of the kit.
49
+
50
+ ## Removing the kit
51
+
52
+ ```sh
53
+ dsh plugin --profile web remove dsh-os-kit
54
+ ```
55
+
56
+ Removing the kit does **not** affect modules you installed individually: they
57
+ are direct profile dependencies and stay installed. Modules that only arrived
58
+ as kit dependencies may be pruned with the kit.
59
+
60
+ ## The dependency exception
61
+
62
+ The dsh-os module contract forbids runtime dependencies. **The kit is the
63
+ exception**: it contains no runtime logic, and its four `dependencies` are
64
+ exactly the modules it mounts. All ranges are `^0.1.0` (compatible semver
65
+ ranges, not pins), so Act, Allow, Snip and Check keep their own release
66
+ cadence.
67
+
68
+ Because the current repo gates reject a bundle with non-empty `dependencies`,
69
+ `scripts/conformance.mjs` and `scripts/check-versions.mjs` report `dsh-os-kit`
70
+ as a failure until the exemption lands. **The kit is the exception: the root
71
+ will exempt `dsh-os-kit` in the gate later** (root 后续在 gate 里豁免 `dsh-os-kit`).
72
+ The kit does not modify those scripts.
73
+
74
+ ## Requirements
75
+
76
+ Node.js 22.19+ or 24.9+, and DSH `>=0.2.1-rc.2 <0.3.0-0`. The four modules
77
+ must be resolvable; installing the kit handles that through its dependencies.
78
+
79
+ ## License
80
+
81
+ MIT.
@@ -0,0 +1,15 @@
1
+ # dsh-os-kit bundle patch: mount the four core modules in one insert.
2
+ # The kit ships no config; each module stays independently configurable and
3
+ # replaceable through its own bundle layer.
4
+ - insert:
5
+ - id: dsh-act
6
+ name: dsh-act
7
+
8
+ - id: dsh-allow
9
+ name: dsh-allow
10
+
11
+ - id: dsh-snip
12
+ name: dsh-snip
13
+
14
+ - id: '@perrylink/dsh-check'
15
+ name: '@perrylink/dsh-check'
package/index.js ADDED
@@ -0,0 +1,7 @@
1
+ /**
2
+ * dsh-os-kit is a dependency-only meta bundle: it provides no service, no
3
+ * capability and no agent tool. Its cordis.patch.yml mounts the four modules.
4
+ */
5
+ export const name = 'dsh-os-kit'
6
+
7
+ export function apply() {}
package/package.json CHANGED
@@ -1,6 +1,68 @@
1
1
  {
2
2
  "name": "dsh-os-kit",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.0",
4
+ "description": "Thin meta bundle that installs and mounts the four core dsh-os modules: Act, Allow, Snip and Check.",
5
+ "type": "module",
6
+ "main": "index.js",
7
+ "exports": {
8
+ ".": "./index.js",
9
+ "./package.json": "./package.json"
10
+ },
11
+ "files": [
12
+ "index.js",
13
+ "cordis.patch.yml",
14
+ "README.md",
15
+ "LICENSE"
16
+ ],
17
+ "keywords": [
18
+ "dsh",
19
+ "dsh-plugin",
20
+ "deepseek-harness",
21
+ "agent-os",
22
+ "meta-bundle",
23
+ "kit"
24
+ ],
25
+ "license": "MIT",
26
+ "author": "PerryLink contributors",
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "git+https://github.com/PerryLink/dsh-os.git",
30
+ "directory": "packages/kit"
31
+ },
32
+ "homepage": "https://github.com/PerryLink/dsh-os/tree/main/packages/kit#readme",
33
+ "bugs": {
34
+ "url": "https://github.com/PerryLink/dsh-os/issues"
35
+ },
36
+ "engines": {
37
+ "node": "^22.19.0 || >=24.9.0",
38
+ "dsh": ">=0.2.1-rc.2 <0.3.0-0"
39
+ },
40
+ "dependencies": {
41
+ "dsh-act": "^0.1.1",
42
+ "dsh-allow": "^0.1.2",
43
+ "dsh-snip": "^0.2.0",
44
+ "@perrylink/dsh-check": "^0.2.0"
45
+ },
46
+ "dsh": {
47
+ "manifestVersion": 1,
48
+ "bundle": {
49
+ "patch": "./cordis.patch.yml"
50
+ },
51
+ "os": {
52
+ "service": null,
53
+ "provides": [],
54
+ "capabilities": [],
55
+ "tools": [],
56
+ "stability": "experimental",
57
+ "since": "0.2.0"
58
+ },
59
+ "kit": true
60
+ },
61
+ "publishConfig": {
62
+ "access": "public",
63
+ "registry": "https://registry.npmjs.org/"
64
+ },
65
+ "scripts": {
66
+ "test": "node --test"
67
+ }
68
+ }