@linyanzhi/dsh-mesh 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 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,17 @@
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
+ The package itself provides the **AI 网络** sidebar page (topology, peer health, node management, transfer history and usage help). It also installs:
10
+
11
+ - `dsh-mesh-node` — mesh server / peer transport
12
+ - `dsh-mesh-host` — per-instance host bridge
13
+ - `dsh-mesh-autostart` — keeps the server alive across engine restarts
14
+
15
+ After install, restart the profile and open **AI 网络** in the left sidebar. Pair another machine with a one-time code; discovery never auto-connects.
16
+
17
+ See https://github.com/LinYanZhi/dsh-mesh for architecture, security and pairing details.
@@ -0,0 +1,6 @@
1
+ # dsh-mesh: install host bridge + autostart; this package itself is the sidebar UI
2
+ - insert:
3
+ - id: dsh-mesh-host
4
+ name: dsh-mesh-host
5
+ - id: dsh-mesh-autostart
6
+ name: dsh-mesh-autostart
package/icon.svg ADDED
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="#4a7dd6" stroke-width="1.6" stroke-linecap="round">
2
+ <circle cx="12" cy="5" r="2.2"/>
3
+ <circle cx="5" cy="18" r="2.2"/>
4
+ <circle cx="19" cy="18" r="2.2"/>
5
+ <path d="M10.8 7L6.2 15.9M13.2 7l4.6 8.9M7.2 18h9.6"/>
6
+ </svg>