@lopecode/channel 0.1.0 → 0.1.1

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.
@@ -59,13 +59,16 @@ const mcp = new Server(
59
59
  },
60
60
  instructions: `You are connected to Lopecode notebooks via the lopecode channel.
61
61
 
62
- ## Starting a notebook
62
+ ## Starting a lopecode notebook
63
63
 
64
- When the user asks to start/open/create a notebook, or when no notebooks are connected and collaboration would benefit from one:
65
- 1. Call get_pairing_token to get the token
66
- 2. Open the browser with: open 'https://tomlarkworthy.github.io/lopecode/notebooks/@tomlarkworthy_blank-notebook.html#view=R100(S50(@tomlarkworthy/blank-notebook),S25(@tomlarkworthy/module-selection),S25(@tomlarkworthy/claude-code-pairing))&cc=TOKEN'
67
- 3. The notebook auto-connects wait for the connected notification
68
- 4. Send a welcome message via reply
64
+ When the user asks to start/open a lopecode notebook, or start a pairing/collaboration session:
65
+ 1. Call get_pairing_token to get the token (format: LOPE-PORT-XXXX)
66
+ 2. Construct the URL: https://tomlarkworthy.github.io/lopecode/notebooks/@tomlarkworthy_blank-notebook.html#view=R100(S50(@tomlarkworthy/blank-notebook),S25(@tomlarkworthy/module-selection),S25(@tomlarkworthy/claude-code-pairing))&cc=TOKEN
67
+ 3. Open the browser: run open 'URL' (macOS) or xdg-open 'URL' (Linux)
68
+ 4. Wait for the connected notification
69
+ 5. Send a welcome message via reply
70
+
71
+ If channels are not enabled, tell the user to restart with: claude --channels server:lopecode
69
72
 
70
73
  ## Message formats
71
74
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lopecode/channel",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Pair program with Claude inside Lopecode notebooks. MCP server bridging browser notebooks and Claude Code.",
5
5
  "type": "module",
6
6
  "bin": {