agentmash 0.3.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 AgentMash contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,72 @@
1
+ # agentmash
2
+
3
+ Let your team's Claude Code agents see each other's work.
4
+
5
+ When several people run Claude Code against the same repository, their agents collide: two
6
+ of them edit the same file, one breaks the interface the other is building against, both
7
+ write the same helper. AgentMash fixes that with Claude Code hooks — no fork, no wrapper,
8
+ no MCP server.
9
+
10
+ ## Setup
11
+
12
+ In your team's repo, once:
13
+
14
+ ```bash
15
+ npx agentmash init
16
+ ```
17
+
18
+ That creates a room on the coordination server, installs the hook scripts into
19
+ `.claude/agentmash/`, registers them in `.claude/settings.json` without disturbing anything
20
+ already there, writes the room config beside them, and prints your dashboard link. Commit
21
+ it:
22
+
23
+ ```bash
24
+ git add .claude && git commit -m "add agentmash" && git push
25
+ ```
26
+
27
+ Your teammates run `git pull`. That is the whole setup for them — the hooks and the room
28
+ travel with the repo, so their next Claude Code session joins automatically. Nothing to
29
+ install, no token to paste.
30
+
31
+ Node 18 or newer. The CLI has no dependencies and needs no checkout of this project.
32
+
33
+ ## Commands
34
+
35
+ | Command | What it does |
36
+ | --- | --- |
37
+ | `npx agentmash init` | Create a room and wire up this repo |
38
+ | `npx agentmash join <id\|url>` | Point this repo at an existing room |
39
+ | `npx agentmash doctor` | Check exactly what is and isn't working |
40
+ | `npx agentmash status` | Who is working on what, from the terminal |
41
+ | `npx agentmash uninstall` | Remove the hooks from this repo |
42
+
43
+ Flags: `--server <url>` (coordination server), `--repo <path>`, `--label <text>`,
44
+ and `--force` with `init` to replace an existing room.
45
+
46
+ Reach for `doctor` when someone's events aren't showing up. The hooks fail silently by
47
+ design, so it is the only thing that will tell you why: it resolves the config and shows
48
+ where each value came from, checks the hooks are registered, measures the round trip and
49
+ compares it against what a cold hook needs, validates the room, and lists the teammates it
50
+ can see.
51
+
52
+ ## Running your own server
53
+
54
+ `init` points at a shared server by default. To coordinate on your own infrastructure,
55
+ deploy the server from the repository (Fly.io and Docker Compose configs are included) and
56
+ point repos at it:
57
+
58
+ ```bash
59
+ npx agentmash init --server https://my-agentmash.example.com
60
+ ```
61
+
62
+ ## What leaves your machine
63
+
64
+ File paths, branch names, and the first ~200 characters of each prompt, so teammates can
65
+ see what you are working on. No file contents, ever. The room id in `.claude/agentmash/`
66
+ is the credential, so repo access is the security boundary — use a private repo, or
67
+ `agentmash join` a room shared out of band.
68
+
69
+ Full documentation, self-hosting instructions and limitations:
70
+ <https://github.com/dauletbekalim/agentmash>
71
+
72
+ MIT licensed.