@linyanzhi/dsh-mesh 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) 2026 LinYanZhi and dsh-mesh 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,18 @@
1
- # Temporary Holding Version
1
+ # @linyanzhi/dsh-mesh
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-command install for the dsh-mesh AI network.
4
+
5
+ ```sh
6
+ dsh plugin --profile web add @linyanzhi/dsh-mesh
7
+ ```
8
+
9
+ This bundle installs and wires:
10
+
11
+ - `dsh-mesh-node` — mesh server / peer transport
12
+ - `dsh-mesh-host` — per-instance host bridge
13
+ - `dsh-mesh-ui` — left-sidebar AI network page
14
+ - `dsh-mesh-autostart` — keeps the server alive across engine restarts
15
+
16
+ After install, restart the profile and open **AI 网络** in the left sidebar. Pair another machine with a one-time code; discovery never auto-connects.
17
+
18
+ See https://github.com/LinYanZhi/dsh-mesh for architecture, security and pairing details.
@@ -0,0 +1,8 @@
1
+ # dsh-mesh: install host bridge + autostart + sidebar UI in one step
2
+ - insert:
3
+ - id: dsh-mesh-host
4
+ name: dsh-mesh-host
5
+ - id: dsh-mesh-autostart
6
+ name: dsh-mesh-autostart
7
+ - id: dsh-mesh-ui
8
+ name: dsh-mesh-ui
package/lib/index.js ADDED
@@ -0,0 +1,3 @@
1
+ // dsh-mesh meta bundle: the actual plugins are injected by cordis.patch.yml.
2
+ export const name = 'dsh-mesh'
3
+ export function apply() {}
package/package.json CHANGED
@@ -1,6 +1,42 @@
1
1
  {
2
2
  "name": "@linyanzhi/dsh-mesh",
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": "One-command install for dsh-mesh: AI network node, DSH host bridge, sidebar UI and autostart supervisor in a single DSH plugin bundle.",
5
+ "type": "module",
6
+ "main": "lib/index.js",
7
+ "exports": {
8
+ ".": "./lib/index.js",
9
+ "./package.json": "./package.json"
10
+ },
11
+ "engines": {
12
+ "node": "^22.19.0 || >=24.0.0",
13
+ "dsh": ">=0.2.0-rc.2 <0.3.0"
14
+ },
15
+ "dsh": {
16
+ "manifestVersion": 1,
17
+ "bundle": {
18
+ "patch": "./cordis.patch.yml"
19
+ }
20
+ },
21
+ "dependencies": {
22
+ "dsh-mesh-node": "0.0.20",
23
+ "dsh-mesh-host": "0.0.5",
24
+ "dsh-mesh-ui": "0.0.45",
25
+ "dsh-mesh-autostart": "0.0.7"
26
+ },
27
+ "peerDependencies": {
28
+ "@deepseek-ai/dsh": ">=0.2.0-rc.2 <0.3.0"
29
+ },
30
+ "files": [
31
+ "lib",
32
+ "cordis.patch.yml",
33
+ "README.md",
34
+ "LICENSE"
35
+ ],
36
+ "license": "MIT",
37
+ "repository": {
38
+ "type": "git",
39
+ "url": "git+https://github.com/LinYanZhi/dsh-mesh.git"
40
+ },
41
+ "homepage": "https://github.com/LinYanZhi/dsh-mesh#readme"
42
+ }