@sym-bot/mesh-channel 0.1.10 → 0.1.11

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -3
  3. package/server.js +6 -0
package/README.md CHANGED
@@ -35,7 +35,7 @@ You and one other person on the same wifi each run:
35
35
  npm install -g @sym-bot/mesh-channel
36
36
 
37
37
  # 2. Configure Claude Code (writes ~/.claude.json for the current project)
38
- SYM_NODE_NAME=claude-mac npx @sym-bot/mesh-channel init
38
+ SYM_NODE_NAME=claude-mac sym-mesh-channel init
39
39
  # ^^^^^^ pick a unique name per machine: claude-mac, claude-win, claude-linux, anything
40
40
 
41
41
  # 3. Launch Claude Code with the Channels dev flag
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "@sym-bot/mesh-channel",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
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": {
7
- "sym-mesh-channel": "server.js",
8
- "sym-mesh-channel-init": "bin/install.js"
7
+ "sym-mesh-channel": "server.js"
9
8
  },
10
9
  "files": [
11
10
  "server.js",
package/server.js CHANGED
@@ -1,6 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict';
3
3
 
4
+ // Subcommand dispatch: `sym-mesh-channel init` runs the installer.
5
+ if (process.argv[2] === 'init') {
6
+ require('./bin/install.js');
7
+ return;
8
+ }
9
+
4
10
  /**
5
11
  * sym-mesh-channel — MCP server that makes Claude Code a peer node on the SYM mesh.
6
12
  *