@cldmv/gh-broker 0.10.1 → 0.10.2
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 +6 -6
- package/deploy/README.md +11 -1
- package/deploy/install.mjs +5 -1
- package/deploy/lib/agent-cli.mjs +156 -20
- package/deploy/lib/cli.mjs +1 -0
- package/deploy/lib/config-merge.mjs +36 -4
- package/deploy/lib/install-args.mjs +7 -0
- package/deploy/lib/mcp-config.mjs +142 -17
- package/deploy/real-deps.mjs +7 -2
- package/dist/index.mjs +120 -27858
- package/package.json +14 -5
- package/dist/index.mjs.map +0 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cldmv/gh-broker",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.2",
|
|
4
4
|
"description": "Local credential-routing MCP proxy: holds per-org GitHub PATs out of the agent's reach, routes by repo owner, exposes a config-driven default-deny toolset in front of GitHub's hosted MCP.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -10,16 +10,24 @@
|
|
|
10
10
|
"main": "./dist/index.mjs",
|
|
11
11
|
"files": [
|
|
12
12
|
"dist",
|
|
13
|
+
"!dist/**/*.map",
|
|
13
14
|
"deploy",
|
|
14
15
|
"config.example.json",
|
|
15
16
|
"config.sample.json"
|
|
16
17
|
],
|
|
17
18
|
"engines": {
|
|
18
|
-
"node": ">=22.
|
|
19
|
+
"node": ">=22.0.0"
|
|
20
|
+
},
|
|
21
|
+
"devEngines": {
|
|
22
|
+
"runtime": {
|
|
23
|
+
"name": "node",
|
|
24
|
+
"version": ">=22.22.0",
|
|
25
|
+
"onFail": "error"
|
|
26
|
+
}
|
|
19
27
|
},
|
|
20
28
|
"scripts": {
|
|
21
29
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
22
|
-
"build": "npm run typecheck &&
|
|
30
|
+
"build": "npm run typecheck && tsup",
|
|
23
31
|
"start": "node dist/index.mjs",
|
|
24
32
|
"dev": "node --experimental-strip-types --watch src/index.ts",
|
|
25
33
|
"build:ci": "npm run build",
|
|
@@ -28,7 +36,8 @@
|
|
|
28
36
|
"test:watch": "vitest --config .configs/vitest.config.mjs",
|
|
29
37
|
"coverage": "node tests/run-vitest.mjs --coverage-quiet",
|
|
30
38
|
"ci:coverage": "npm run coverage",
|
|
31
|
-
"fix:headers": "fix-headers --config .configs/fix-headers.json"
|
|
39
|
+
"fix:headers": "fix-headers --config .configs/fix-headers.json",
|
|
40
|
+
"prepack": "npm run build"
|
|
32
41
|
},
|
|
33
42
|
"author": {
|
|
34
43
|
"name": "Shinrai",
|
|
@@ -60,7 +69,7 @@
|
|
|
60
69
|
"@cldmv/vitest-runner": "^1.5.6",
|
|
61
70
|
"@types/node": "^26.6.6",
|
|
62
71
|
"@vitest/coverage-v8": "^5.0.5",
|
|
63
|
-
"
|
|
72
|
+
"tsup": "^9.0.0",
|
|
64
73
|
"typescript": "^6.0.3",
|
|
65
74
|
"vitest": "^5.0.5"
|
|
66
75
|
},
|