@x-era/dsh-forge 0.0.0-stage → 0.1.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) 2025 PhyAgentOS 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,109 @@
1
- # Temporary Holding Version
1
+ English | [中文](https://github.com/PhyAgentOS/dsh-PhyAgentOS/blob/main/README_zh.md)
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
+ # dsh-PhyAgentOS
4
+
5
+ DeepSeek Harness (DSH) plugins and tools for installing, running and managing
6
+ [Forge](https://github.com/PhyAgentOS/forge) skills. A skill combines a Dora
7
+ dataflow, node artifacts and Gateway Tool APIs.
8
+
9
+ | Package | Purpose |
10
+ | --- | --- |
11
+ | `@x-era/forge-core` | Host-neutral manifests, registry, verified installation, node storage, runtime and Tool API client |
12
+ | `@x-era/dsh-forge-skill` | DSH skill provider, management tools, configuration UI and built-in usage/development skills |
13
+ | `@x-era/forge-cli` | `forge` shell command sharing the same home and state |
14
+ | `@x-era/forge-mcp` | MCP stdio server exposing management and forwarding tools |
15
+ | `@x-era/dsh-forge` | Installable DSH bundle that mounts the plugin |
16
+
17
+ ## Install
18
+
19
+ Use a supported DSH installation. The plugin packages require Node.js >=22;
20
+ this repository's release workflow uses Node.js 24 and pnpm 11.28.5.
21
+
22
+ ```sh
23
+ dsh plugin --profile dev add @x-era/dsh-forge
24
+ dsh --profile dev --dump-config
25
+ dsh --profile dev
26
+ ```
27
+
28
+ Restart an already-running profile after installing the bundle. The composition
29
+ should contain `forge-skill`; the running host should expose `forge-usage`,
30
+ `forge-skill-development` and `forge_*` tools. The `dev` profile name is arbitrary.
31
+ The CLI and MCP server are separate packages; installing the DSH bundle does not
32
+ install global commands or the Dora runtime.
33
+
34
+ ```sh
35
+ npm install --global @x-era/forge-cli
36
+ forge search robot
37
+ ```
38
+
39
+ ## Capabilities
40
+
41
+ - Search, install, update and remove registry skills with digest/size validation,
42
+ resumable downloads and asynchronous installation of large node artifacts.
43
+ - Preflight, materialization, Dora lifecycle, Gateway readiness and state reconciliation.
44
+ - Forge 1 (Dora 0.4.x) and Forge 2 (Dora 1.x), with coordinator and isolated run modes.
45
+ - Environment injection, invocation polling/cancellation, diagnostics and structured logs.
46
+ - Built-in agent instructions for skill use and development.
47
+
48
+ ## Configuration
49
+
50
+ Configure the `forge-skill` row in `$DSH_HOME/profiles/<name>/cordis.patch.yml`:
51
+
52
+ ```yaml
53
+ - id: forge-skill
54
+ config:
55
+ home: ~/.dsh/forge
56
+ registry:
57
+ url: https://paos-resource-platform.dev.x-era.com
58
+ runtime:
59
+ dora: /path/to/dora
60
+ dora1: /path/to/dora1
61
+ ```
62
+
63
+ `DSH_FORGE_HOME`, `DSH_FORGE_DORA` and `DSH_FORGE_DORA1` can supply paths.
64
+ Use a reachable registry for your deployment and install the appropriate Dora
65
+ CLI and skill-specific hardware/simulation prerequisites before starting a skill.
66
+
67
+ ## Develop from source
68
+
69
+ ```sh
70
+ git clone https://github.com/PhyAgentOS/dsh-PhyAgentOS.git
71
+ cd dsh-PhyAgentOS
72
+ pnpm install --frozen-lockfile
73
+ pnpm test
74
+ dsh plugin --profile dev add file:/absolute/path/to/dsh-PhyAgentOS/bundle
75
+ ```
76
+
77
+ Use the explicit `file:` form on DSH 0.2.2-rc.1 so the installed package uses
78
+ the profile resolver for host-provided peers. Reinstall after rebuilding source.
79
+ The repository does not include the DSH host. Compatibility baseline:
80
+ `compat/dsh-baseline.json`. `DSH_CHECKOUT=/path/to/deepseek-harness pnpm check:dsh`
81
+ detects changes in upstream interfaces; update the baseline only after reviewing
82
+ the change and validating a real host. A hash change alone does not establish
83
+ runtime incompatibility or compatibility.
84
+
85
+ ## Release
86
+
87
+ Each package has an independent version and Git tag. For example,
88
+ `forge-core/v0.1.0` publishes only core; `dsh-forge/v0.1.0` publishes only the bundle.
89
+ Stable versions use npm `latest`; prereleases use `next`. Release checks require
90
+ an exact tag checkout, a clean working tree, a matching manifest and published
91
+ internal dependencies. The npm tarball records its source commit.
92
+ After npm accepts an upload, the release waits up to approximately 15 minutes
93
+ for public metadata instead of failing on a temporary 404.
94
+
95
+ See the [release guide](https://github.com/PhyAgentOS/dsh-PhyAgentOS/blob/main/docs/releasing.md)
96
+ for bootstrap, OIDC, independent releases and safe retry instructions.
97
+
98
+ ## Documentation
99
+
100
+ The existing detailed guides are in Chinese:
101
+ [usage](https://github.com/PhyAgentOS/dsh-PhyAgentOS/blob/main/docs/usage.md),
102
+ [deployment](https://github.com/PhyAgentOS/dsh-PhyAgentOS/blob/main/docs/deployment.md),
103
+ [operations](https://github.com/PhyAgentOS/dsh-PhyAgentOS/blob/main/docs/operations.md),
104
+ [security](https://github.com/PhyAgentOS/dsh-PhyAgentOS/blob/main/docs/security.md),
105
+ [skill development](https://github.com/PhyAgentOS/dsh-PhyAgentOS/blob/main/docs/skill-development.md).
106
+
107
+ ## License
108
+
109
+ MIT. Published packages include `LICENSE`.
@@ -0,0 +1,7 @@
1
+ # Forge 组合包(M0)
2
+ #
3
+ # 只挂一行:skill 目录 + provider + 只读管理工具。
4
+ # 后续里程碑依次追加 forge-registry / forge-skill-runtime / forge-tools。
5
+ - insert:
6
+ - id: forge-skill
7
+ name: '@x-era/dsh-forge-skill'
package/package.json CHANGED
@@ -1,6 +1,32 @@
1
1
  {
2
2
  "name": "@x-era/dsh-forge",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "DeepSeek Harness bundle for Forge skill management",
5
+ "type": "module",
6
+ "files": [
7
+ "cordis.patch.yml",
8
+ "README.md"
9
+ ],
10
+ "license": "MIT",
11
+ "dsh": {
12
+ "bundle": {
13
+ "patch": "./cordis.patch.yml"
14
+ }
15
+ },
16
+ "engines": {
17
+ "dsh": ">=0.2.0 <0.3.0"
18
+ },
19
+ "dependencies": {
20
+ "@x-era/dsh-forge-skill": "0.1.0"
21
+ },
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/PhyAgentOS/dsh-PhyAgentOS.git",
25
+ "directory": "bundle"
26
+ },
27
+ "publishConfig": {
28
+ "access": "public",
29
+ "registry": "https://registry.npmjs.org"
30
+ },
31
+ "gitHead": "6606cbf9aa70fc29c59ed05a9beb0349ec6921dc"
32
+ }