@linyanzhi/dsh-mesh 0.1.0 → 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/README.md +1 -2
- package/cordis.patch.yml +1 -3
- package/icon.svg +6 -0
- package/lib/client.js +3196 -0
- package/lib/collect.js +584 -0
- package/lib/delegations.js +270 -0
- package/lib/index.js +422 -3
- package/package.json +15 -5
package/README.md
CHANGED
|
@@ -6,11 +6,10 @@ One-command install for the dsh-mesh AI network.
|
|
|
6
6
|
dsh plugin --profile web add @linyanzhi/dsh-mesh
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
The package itself provides the **AI 网络** sidebar page (topology, peer health, node management, transfer history and usage help). It also installs:
|
|
10
10
|
|
|
11
11
|
- `dsh-mesh-node` — mesh server / peer transport
|
|
12
12
|
- `dsh-mesh-host` — per-instance host bridge
|
|
13
|
-
- `dsh-mesh-ui` — left-sidebar AI network page
|
|
14
13
|
- `dsh-mesh-autostart` — keeps the server alive across engine restarts
|
|
15
14
|
|
|
16
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.
|
package/cordis.patch.yml
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
# dsh-mesh: install host bridge + autostart
|
|
1
|
+
# dsh-mesh: install host bridge + autostart; this package itself is the sidebar UI
|
|
2
2
|
- insert:
|
|
3
3
|
- id: dsh-mesh-host
|
|
4
4
|
name: dsh-mesh-host
|
|
5
5
|
- id: dsh-mesh-autostart
|
|
6
6
|
name: dsh-mesh-autostart
|
|
7
|
-
- id: dsh-mesh-ui
|
|
8
|
-
name: dsh-mesh-ui
|
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>
|