clawmatrix 0.1.22 → 0.2.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/README.md +4 -1
- package/package.json +4 -2
- package/src/acp-proxy.ts +2073 -0
- package/src/audit.ts +42 -0
- package/src/auth.ts +2 -3
- package/src/cli.ts +76 -2
- package/src/cluster-service.ts +243 -3
- package/src/compat.ts +84 -3
- package/src/config.ts +117 -4
- package/src/connection.ts +290 -85
- package/src/crypto.ts +179 -0
- package/src/debug.ts +15 -2
- package/src/e2e/helpers.ts +318 -0
- package/src/handoff.ts +132 -87
- package/src/identity.ts +95 -0
- package/src/index.ts +539 -45
- package/src/knowledge-sync.ts +777 -205
- package/src/local-tools.ts +9 -2
- package/src/model-proxy.ts +358 -110
- package/src/peer-approval.ts +628 -0
- package/src/peer-manager.ts +270 -38
- package/src/rate-limiter.ts +88 -0
- package/src/router.ts +32 -10
- package/src/sentinel-manager.ts +142 -0
- package/src/sentinel.ts +618 -0
- package/src/task-activity.ts +74 -0
- package/src/terminal.ts +566 -0
- package/src/tool-proxy.ts +127 -3
- package/src/tools/cluster-acp.ts +237 -0
- package/src/tools/cluster-batch.ts +76 -0
- package/src/tools/cluster-diagnostic.ts +174 -0
- package/src/tools/cluster-edit.ts +70 -0
- package/src/tools/cluster-peers.ts +59 -14
- package/src/tools/cluster-terminal.ts +232 -0
- package/src/tools/cluster-tool.ts +26 -11
- package/src/types.ts +477 -3
- package/src/web.ts +2 -2
package/README.md
CHANGED
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
# ClawMatrix
|
|
4
4
|
|
|
5
|
-
A decentralized mesh cluster plugin that connects multiple [OpenClaw](https://github.com/nicepkg/openclaw) Gateways into a peer-to-peer network, sharing Agents, models, and
|
|
5
|
+
A decentralized mesh cluster plugin that connects multiple [OpenClaw](https://github.com/nicepkg/openclaw) Gateways into a peer-to-peer network, sharing Agents, models, tools, and optionally workspace knowledge files across nodes.
|
|
6
6
|
|
|
7
7
|
> **Warning**: This project is under active development and testing. APIs and protocols may change without notice. Not recommended for production use.
|
|
8
8
|
|
|
9
9
|
## Features
|
|
10
10
|
|
|
11
|
+
**Knowledge Sync (optional)** — Synchronize workspace files such as `MEMORY.md`, `memory/*.md`, `skills/`, and other selected knowledge files across nodes using CRDT + mesh sync, with git-friendly local files as the source of truth.
|
|
12
|
+
|
|
11
13
|
**Model Proxy** — No API key on your home node? Use LLMs from intranet nodes through the cluster, as if they were local models.
|
|
12
14
|
|
|
13
15
|
**Task Handoff** — Need intranet resources? Delegate tasks to remote Agents with repository access and stream results back.
|
|
@@ -162,6 +164,7 @@ bun test # Run tests
|
|
|
162
164
|
## Documentation
|
|
163
165
|
|
|
164
166
|
- [Technical Spec](docs/SPEC.md) — Full protocol, message types, and security design
|
|
167
|
+
- [Architecture](docs/architecture.md) — System architecture, modules, and integration forms
|
|
165
168
|
- [Installation Guide](BOOTSTRAP.md) — AI Agent-assisted installation and configuration
|
|
166
169
|
|
|
167
170
|
## License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clawmatrix",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Decentralized mesh cluster plugin for OpenClaw — inter-gateway communication, model proxy, task handoff, and tool proxy.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,18 +28,20 @@
|
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"test": "bun test",
|
|
31
|
-
"prepublishOnly": "bun test",
|
|
32
31
|
"release": "bunx bumpp"
|
|
33
32
|
},
|
|
34
33
|
"dependencies": {
|
|
35
34
|
"@automerge/automerge": "^3.2.4",
|
|
36
35
|
"@mariozechner/pi-coding-agent": ">=0.55.0",
|
|
37
36
|
"ignore": "^7.0.5",
|
|
37
|
+
"picomatch": "^4.0.3",
|
|
38
38
|
"ws": "^8.19.0",
|
|
39
|
+
"node-pty": "^1.0.0",
|
|
39
40
|
"zod": "^4.3.6"
|
|
40
41
|
},
|
|
41
42
|
"devDependencies": {
|
|
42
43
|
"@types/bun": "latest",
|
|
44
|
+
"@types/picomatch": "^4.0.2",
|
|
43
45
|
"@types/ws": "^8.18.1"
|
|
44
46
|
},
|
|
45
47
|
"peerDependencies": {
|