@sym-bot/mesh-channel 0.1.7 → 0.1.8

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # sym-mesh-channel
2
2
 
3
+ [![npm](https://img.shields.io/npm/v/@sym-bot/mesh-channel)](https://www.npmjs.com/package/@sym-bot/mesh-channel)
4
+ [![MMP Spec](https://img.shields.io/badge/protocol-MMP_v0.2.2-purple)](https://sym.bot/spec/mmp)
5
+ [![arXiv](https://img.shields.io/badge/arXiv-2604.03955-b31b1b.svg)](https://arxiv.org/abs/2604.03955)
6
+ [![License](https://img.shields.io/badge/license-Apache%202.0-blue)](LICENSE)
7
+ [![Node](https://img.shields.io/badge/node-%3E%3D18-green)](https://nodejs.org)
8
+
3
9
  > MCP server that turns any Claude Code session into a peer node on the [SYM mesh](https://sym.bot). LAN-first via Bonjour mDNS — no relay required for users on the same wifi.
4
10
 
5
11
  Two Claude Code instances on the same network discover each other automatically and exchange structured cognitive state in real-time. Each side is a full peer with its own cryptographic identity, its own SVAF receiver-side gating, and its own memory — not a thin client.
package/bin/install.js CHANGED
@@ -113,11 +113,16 @@ const entry = {
113
113
  args: [serverJsPath],
114
114
  env: {
115
115
  SYM_NODE_NAME: nodeName,
116
- // Relay env vars are intentionally NOT set by default. Without
117
- // them, the SymNode runs in LAN-only mode and discovers other
118
- // peers via Bonjour mDNS. To enable cross-network connectivity,
119
- // add SYM_RELAY_URL and SYM_RELAY_TOKEN to this env block manually
120
- // (see README for details on running your own relay).
116
+ // Explicitly blank the relay vars so the MCP doesn't inherit them
117
+ // from the parent shell (e.g. ~/.zshrc exports). Claude Code's env
118
+ // block is ADDITIVE omitting a key doesn't remove it from the
119
+ // child process. Setting to '' makes process.env.SYM_RELAY_URL
120
+ // falsy in JS, so the SymNode skips the relay and runs LAN-only.
121
+ //
122
+ // To enable cross-network connectivity later, replace these empty
123
+ // values with your relay URL and token (see README).
124
+ SYM_RELAY_URL: '',
125
+ SYM_RELAY_TOKEN: '',
121
126
  },
122
127
  };
123
128
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sym-bot/mesh-channel",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "MCP server — Claude Code as a peer node on the SYM mesh. LAN-first via Bonjour, no relay required.",
5
5
  "main": "server.js",
6
6
  "bin": {