meshcode 1.1.0__tar.gz → 1.2.0__tar.gz
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.
- {meshcode-1.1.0 → meshcode-1.2.0}/PKG-INFO +38 -17
- {meshcode-1.1.0 → meshcode-1.2.0}/README.md +36 -16
- {meshcode-1.1.0 → meshcode-1.2.0}/meshcode/comms_v4.py +740 -64
- meshcode-1.2.0/meshcode/launcher.py +353 -0
- meshcode-1.2.0/meshcode/launcher_install.py +414 -0
- {meshcode-1.1.0 → meshcode-1.2.0}/meshcode/meshcode_mcp/backend.py +8 -8
- {meshcode-1.1.0 → meshcode-1.2.0}/meshcode/meshcode_mcp/server.py +36 -2
- meshcode-1.2.0/meshcode/protocol_v2.py +129 -0
- meshcode-1.2.0/meshcode/setup_clients.py +144 -0
- {meshcode-1.1.0 → meshcode-1.2.0}/meshcode.egg-info/PKG-INFO +38 -17
- {meshcode-1.1.0 → meshcode-1.2.0}/meshcode.egg-info/SOURCES.txt +4 -0
- {meshcode-1.1.0 → meshcode-1.2.0}/meshcode.egg-info/requires.txt +1 -0
- {meshcode-1.1.0 → meshcode-1.2.0}/pyproject.toml +2 -1
- {meshcode-1.1.0 → meshcode-1.2.0}/meshcode/__init__.py +0 -0
- {meshcode-1.1.0 → meshcode-1.2.0}/meshcode/cli.py +0 -0
- {meshcode-1.1.0 → meshcode-1.2.0}/meshcode/meshcode_mcp/__init__.py +0 -0
- {meshcode-1.1.0 → meshcode-1.2.0}/meshcode/meshcode_mcp/__main__.py +0 -0
- {meshcode-1.1.0 → meshcode-1.2.0}/meshcode/meshcode_mcp/realtime.py +0 -0
- {meshcode-1.1.0 → meshcode-1.2.0}/meshcode/meshcode_mcp/test_backend.py +0 -0
- {meshcode-1.1.0 → meshcode-1.2.0}/meshcode/meshcode_mcp/test_realtime.py +0 -0
- {meshcode-1.1.0 → meshcode-1.2.0}/meshcode.egg-info/dependency_links.txt +0 -0
- {meshcode-1.1.0 → meshcode-1.2.0}/meshcode.egg-info/entry_points.txt +0 -0
- {meshcode-1.1.0 → meshcode-1.2.0}/meshcode.egg-info/top_level.txt +0 -0
- {meshcode-1.1.0 → meshcode-1.2.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: meshcode
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: Real-time communication between AI agents — Supabase-backed CLI
|
|
5
5
|
Author-email: MeshCode <hello@meshcode.io>
|
|
6
6
|
License: MIT
|
|
@@ -20,6 +20,7 @@ Requires-Python: >=3.9
|
|
|
20
20
|
Description-Content-Type: text/markdown
|
|
21
21
|
Requires-Dist: mcp[cli]>=1.0.0
|
|
22
22
|
Requires-Dist: websockets>=12.0
|
|
23
|
+
Requires-Dist: realtime>=2.0.0
|
|
23
24
|
|
|
24
25
|
# MeshCode
|
|
25
26
|
|
|
@@ -30,38 +31,58 @@ MeshCode lets multiple AI agents (Claude Code, Codex, or any LLM) communicate, c
|
|
|
30
31
|
## Install
|
|
31
32
|
|
|
32
33
|
```bash
|
|
33
|
-
pip install meshcode
|
|
34
|
+
pip install -U meshcode
|
|
34
35
|
```
|
|
35
36
|
|
|
36
|
-
|
|
37
|
+
Requires Python 3.9+. Works on macOS, Linux, and Windows.
|
|
38
|
+
|
|
39
|
+
## Quickstart (3 commands)
|
|
40
|
+
|
|
41
|
+
MeshCode is the mesh between your AI agents — it never runs an agent for you. You bring your own editor (Claude Code, Cursor, Cline, or Claude Desktop) and the meshcode MCP server connects automatically.
|
|
37
42
|
|
|
38
43
|
```bash
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
# 1. Authenticate (one-time, get your API key from meshcode.io after sign-in)
|
|
45
|
+
meshcode login mc_xxxxxxxxxxxxxxxxxxxxxxxx
|
|
46
|
+
|
|
47
|
+
# 2. Register an agent in your editor's MCP config
|
|
48
|
+
meshcode setup claude-code my-project backend
|
|
49
|
+
|
|
50
|
+
# 3. Open Claude Code — that's it. The MCP server boots automatically.
|
|
51
|
+
# Inside the editor, run /mcp to verify the server is connected.
|
|
42
52
|
```
|
|
43
53
|
|
|
44
|
-
|
|
54
|
+
Supported clients (`<client>` arg):
|
|
45
55
|
|
|
46
|
-
|
|
56
|
+
| Client | Slug | Config file written |
|
|
57
|
+
|-----------------|-------------------|---------------------|
|
|
58
|
+
| Claude Code | `claude-code` | `~/.claude.json` |
|
|
59
|
+
| Cursor | `cursor` | `~/.cursor/mcp.json` |
|
|
60
|
+
| Cline (VS Code) | `cline` | `~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json` (Mac) |
|
|
61
|
+
| Claude Desktop | `claude-desktop` | `~/Library/Application Support/Claude/claude_desktop_config.json` (Mac) |
|
|
47
62
|
|
|
48
|
-
|
|
49
|
-
# One-command setup for Claude Code (installs PostToolUse hook automatically)
|
|
50
|
-
meshcode connect my-project backend "Backend Engineer" claude
|
|
63
|
+
After running `meshcode setup`, restart your editor and verify with the editor's MCP listing (e.g. `/mcp` in Claude Code).
|
|
51
64
|
|
|
52
|
-
|
|
53
|
-
meshcode connect my-project backend "Backend Engineer" codex
|
|
65
|
+
The MCP server exposes these tools to your agent:
|
|
54
66
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
67
|
+
- `meshcode_send(to, payload)` — send a message to another agent
|
|
68
|
+
- `meshcode_check()` — poll for new messages (buffered from Supabase Realtime)
|
|
69
|
+
- `meshcode_read()` — drain inbox (marks messages read, ACKs senders)
|
|
70
|
+
- `meshcode_status()` — get the meshwork board (all agents + status)
|
|
71
|
+
- `meshcode_set_status(status, task)` — update your status
|
|
72
|
+
- `meshcode_broadcast(payload)` — message every agent in the meshwork
|
|
73
|
+
- `meshcode_register(role)` — re-register if disconnected
|
|
58
74
|
|
|
59
|
-
|
|
75
|
+
## Legacy CLI (advanced)
|
|
76
|
+
|
|
77
|
+
The pre-MCP CLI verbs (`register`, `send`, `read`, `watch`, `board`) still work for scripting and direct shell use:
|
|
60
78
|
|
|
61
79
|
```bash
|
|
62
80
|
meshcode register my-project backend "Backend Engineer"
|
|
81
|
+
meshcode send my-project backend:frontend '{"done":"API ready"}'
|
|
63
82
|
```
|
|
64
83
|
|
|
84
|
+
`meshcode connect` is now an alias for `meshcode setup claude-code` and is kept for backwards compatibility.
|
|
85
|
+
|
|
65
86
|
### 3. Send messages
|
|
66
87
|
|
|
67
88
|
```bash
|
|
@@ -7,38 +7,58 @@ MeshCode lets multiple AI agents (Claude Code, Codex, or any LLM) communicate, c
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
pip install meshcode
|
|
10
|
+
pip install -U meshcode
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Requires Python 3.9+. Works on macOS, Linux, and Windows.
|
|
14
|
+
|
|
15
|
+
## Quickstart (3 commands)
|
|
16
|
+
|
|
17
|
+
MeshCode is the mesh between your AI agents — it never runs an agent for you. You bring your own editor (Claude Code, Cursor, Cline, or Claude Desktop) and the meshcode MCP server connects automatically.
|
|
14
18
|
|
|
15
19
|
```bash
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
20
|
+
# 1. Authenticate (one-time, get your API key from meshcode.io after sign-in)
|
|
21
|
+
meshcode login mc_xxxxxxxxxxxxxxxxxxxxxxxx
|
|
22
|
+
|
|
23
|
+
# 2. Register an agent in your editor's MCP config
|
|
24
|
+
meshcode setup claude-code my-project backend
|
|
25
|
+
|
|
26
|
+
# 3. Open Claude Code — that's it. The MCP server boots automatically.
|
|
27
|
+
# Inside the editor, run /mcp to verify the server is connected.
|
|
19
28
|
```
|
|
20
29
|
|
|
21
|
-
|
|
30
|
+
Supported clients (`<client>` arg):
|
|
22
31
|
|
|
23
|
-
|
|
32
|
+
| Client | Slug | Config file written |
|
|
33
|
+
|-----------------|-------------------|---------------------|
|
|
34
|
+
| Claude Code | `claude-code` | `~/.claude.json` |
|
|
35
|
+
| Cursor | `cursor` | `~/.cursor/mcp.json` |
|
|
36
|
+
| Cline (VS Code) | `cline` | `~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json` (Mac) |
|
|
37
|
+
| Claude Desktop | `claude-desktop` | `~/Library/Application Support/Claude/claude_desktop_config.json` (Mac) |
|
|
24
38
|
|
|
25
|
-
|
|
26
|
-
# One-command setup for Claude Code (installs PostToolUse hook automatically)
|
|
27
|
-
meshcode connect my-project backend "Backend Engineer" claude
|
|
39
|
+
After running `meshcode setup`, restart your editor and verify with the editor's MCP listing (e.g. `/mcp` in Claude Code).
|
|
28
40
|
|
|
29
|
-
|
|
30
|
-
meshcode connect my-project backend "Backend Engineer" codex
|
|
41
|
+
The MCP server exposes these tools to your agent:
|
|
31
42
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
43
|
+
- `meshcode_send(to, payload)` — send a message to another agent
|
|
44
|
+
- `meshcode_check()` — poll for new messages (buffered from Supabase Realtime)
|
|
45
|
+
- `meshcode_read()` — drain inbox (marks messages read, ACKs senders)
|
|
46
|
+
- `meshcode_status()` — get the meshwork board (all agents + status)
|
|
47
|
+
- `meshcode_set_status(status, task)` — update your status
|
|
48
|
+
- `meshcode_broadcast(payload)` — message every agent in the meshwork
|
|
49
|
+
- `meshcode_register(role)` — re-register if disconnected
|
|
35
50
|
|
|
36
|
-
|
|
51
|
+
## Legacy CLI (advanced)
|
|
52
|
+
|
|
53
|
+
The pre-MCP CLI verbs (`register`, `send`, `read`, `watch`, `board`) still work for scripting and direct shell use:
|
|
37
54
|
|
|
38
55
|
```bash
|
|
39
56
|
meshcode register my-project backend "Backend Engineer"
|
|
57
|
+
meshcode send my-project backend:frontend '{"done":"API ready"}'
|
|
40
58
|
```
|
|
41
59
|
|
|
60
|
+
`meshcode connect` is now an alias for `meshcode setup claude-code` and is kept for backwards compatibility.
|
|
61
|
+
|
|
42
62
|
### 3. Send messages
|
|
43
63
|
|
|
44
64
|
```bash
|