machine-bridge-mcp 0.2.5 → 0.4.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/CHANGELOG.md +94 -0
- package/README.md +159 -201
- package/SECURITY.md +134 -0
- package/docs/ARCHITECTURE.md +169 -0
- package/docs/CLIENTS.md +72 -0
- package/docs/OPERATIONS.md +81 -0
- package/docs/RELEASING.md +62 -0
- package/docs/TESTING.md +51 -0
- package/docs/examples/github-actions-ci.yml +53 -0
- package/package.json +34 -13
- package/src/local/cli.mjs +391 -299
- package/src/local/daemon.mjs +783 -195
- package/src/local/log.mjs +33 -11
- package/src/local/patch.mjs +140 -0
- package/src/local/process-sessions.mjs +352 -0
- package/src/local/service.mjs +46 -19
- package/src/local/shell.mjs +90 -19
- package/src/local/state.mjs +240 -51
- package/src/local/stdio.mjs +194 -0
- package/src/local/tools.mjs +96 -0
- package/src/shared/tool-catalog.json +638 -0
- package/src/worker/index.ts +778 -549
- package/tsconfig.json +4 -2
- package/wrangler.jsonc +2 -2
- package/src/local/api-server.mjs +0 -368
- package/src/local/self-test.mjs +0 -256
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "machine-bridge-mcp",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.4.0",
|
|
4
|
+
"description": "Cross-client MCP bridge for policy-controlled local files, Git, images, patches, and processes over stdio or OAuth-protected remote relay.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"engines": {
|
|
8
|
-
"node": ">=
|
|
8
|
+
"node": ">=22.0.0"
|
|
9
9
|
},
|
|
10
10
|
"bin": {
|
|
11
11
|
"machine-bridge-mcp": "bin/machine-mcp.mjs",
|
|
@@ -17,34 +17,45 @@
|
|
|
17
17
|
"mbm.cmd",
|
|
18
18
|
"bin",
|
|
19
19
|
"src/local",
|
|
20
|
+
"src/shared",
|
|
20
21
|
"src/worker/index.ts",
|
|
21
|
-
"scripts",
|
|
22
|
+
"scripts/sync-worker-version.mjs",
|
|
22
23
|
"wrangler.jsonc",
|
|
23
24
|
"tsconfig.json",
|
|
24
25
|
"README.md",
|
|
26
|
+
"SECURITY.md",
|
|
27
|
+
"CHANGELOG.md",
|
|
28
|
+
"docs",
|
|
25
29
|
"LICENSE"
|
|
26
30
|
],
|
|
27
31
|
"scripts": {
|
|
28
32
|
"start": "node bin/machine-mcp.mjs start",
|
|
29
33
|
"doctor": "node bin/machine-mcp.mjs doctor",
|
|
30
|
-
"self-test": "node
|
|
34
|
+
"self-test": "node tests/local-self-test.mjs",
|
|
31
35
|
"version:sync": "node scripts/sync-worker-version.mjs",
|
|
32
36
|
"version:check": "node scripts/sync-worker-version.mjs --check",
|
|
33
37
|
"version": "node scripts/sync-worker-version.mjs && git add package.json package-lock.json src/worker/index.ts",
|
|
34
38
|
"prepack": "npm run version:check",
|
|
35
|
-
"prepublishOnly": "npm run check && npm run version:check",
|
|
39
|
+
"prepublishOnly": "npm run check && npm run version:check && npm run release:check",
|
|
36
40
|
"worker:types": "wrangler types src/worker/worker-configuration.d.ts",
|
|
37
41
|
"typecheck": "npm run worker:types && tsc -p tsconfig.json --noEmit",
|
|
38
|
-
"syntax": "sh -n mbm && node --check bin/machine-mcp.mjs && node --check src/local/cli.mjs && node --check src/local/daemon.mjs && node --check src/local/state.mjs && node --check src/local/shell.mjs && node --check src/local/service.mjs && node --check src/local/
|
|
39
|
-
"check": "npm run typecheck && npm run syntax && npm run self-test"
|
|
42
|
+
"syntax": "sh -n mbm && node --check bin/machine-mcp.mjs && node --check src/local/cli.mjs && node --check src/local/daemon.mjs && node --check src/local/patch.mjs && node --check src/local/process-sessions.mjs && node --check src/local/tools.mjs && node --check src/local/stdio.mjs && node --check src/local/state.mjs && node --check src/local/shell.mjs && node --check src/local/service.mjs && node --check src/local/log.mjs && node --check scripts/sync-worker-version.mjs && node --check scripts/github-release.mjs && node --check tests/worker-integration-test.mjs && node --check tests/stdio-integration-test.mjs && node --check tests/catalog-test.mjs && node --check tests/local-self-test.mjs && node --check tests/daemon-self-test.mjs",
|
|
43
|
+
"check": "npm run typecheck && npm run syntax && npm run catalog:test && npm run self-test && npm run stdio:integration-test && npm run worker:integration-test",
|
|
44
|
+
"worker:dry-run": "wrangler deploy --dry-run",
|
|
45
|
+
"worker:integration-test": "node tests/worker-integration-test.mjs",
|
|
46
|
+
"release:check": "node scripts/github-release.mjs --check",
|
|
47
|
+
"release:publish": "node scripts/github-release.mjs --publish",
|
|
48
|
+
"release:backfill": "node scripts/github-release.mjs --backfill",
|
|
49
|
+
"stdio:integration-test": "node tests/stdio-integration-test.mjs",
|
|
50
|
+
"catalog:test": "node tests/catalog-test.mjs"
|
|
40
51
|
},
|
|
41
52
|
"dependencies": {
|
|
42
|
-
"wrangler": "^4.
|
|
53
|
+
"wrangler": "^4.110.0",
|
|
43
54
|
"ws": "^8.18.3"
|
|
44
55
|
},
|
|
45
56
|
"devDependencies": {
|
|
46
|
-
"@types/node": "^
|
|
47
|
-
"typescript": "^5.
|
|
57
|
+
"@types/node": "^22.20.1",
|
|
58
|
+
"typescript": "^5.9.3"
|
|
48
59
|
},
|
|
49
60
|
"keywords": [
|
|
50
61
|
"mcp",
|
|
@@ -52,7 +63,11 @@
|
|
|
52
63
|
"cloudflare-workers",
|
|
53
64
|
"durable-objects",
|
|
54
65
|
"wrangler",
|
|
55
|
-
"local-machine"
|
|
66
|
+
"local-machine",
|
|
67
|
+
"stdio",
|
|
68
|
+
"coding-agent",
|
|
69
|
+
"oauth",
|
|
70
|
+
"cross-platform"
|
|
56
71
|
],
|
|
57
72
|
"repository": {
|
|
58
73
|
"type": "git",
|
|
@@ -61,5 +76,11 @@
|
|
|
61
76
|
"bugs": {
|
|
62
77
|
"url": "https://github.com/YuLeiFuYun/machine-bridge-mcp/issues"
|
|
63
78
|
},
|
|
64
|
-
"homepage": "https://github.com/YuLeiFuYun/machine-bridge-mcp#readme"
|
|
79
|
+
"homepage": "https://github.com/YuLeiFuYun/machine-bridge-mcp#readme",
|
|
80
|
+
"allowScripts": {
|
|
81
|
+
"esbuild@0.28.1": true,
|
|
82
|
+
"sharp@0.34.5": true,
|
|
83
|
+
"workerd@1.20260708.1": true,
|
|
84
|
+
"fsevents": false
|
|
85
|
+
}
|
|
65
86
|
}
|