relionhq 2.1.2 → 2.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/dist/index.js +11 -0
- package/package.json +16 -4
package/dist/index.js
CHANGED
|
@@ -30050,6 +30050,17 @@ server.tool(
|
|
|
30050
30050
|
}
|
|
30051
30051
|
);
|
|
30052
30052
|
async function mcpCommand() {
|
|
30053
|
+
const { token } = resolveAuth();
|
|
30054
|
+
process.stderr.write(
|
|
30055
|
+
[
|
|
30056
|
+
"Relion MCP server v2.2.0 \u2014 listening on stdio",
|
|
30057
|
+
`Auth: ${token ? "token configured" : "no token (run: relion login)"}`,
|
|
30058
|
+
"Tools: get_auth_status, get_git_diff, detect_vendors, lookup_risk,",
|
|
30059
|
+
" submit_predeploy, resolve_vendor, list_vendors, discover_files, read_file",
|
|
30060
|
+
"Ready. Waiting for JSON-RPC messages on stdin...",
|
|
30061
|
+
""
|
|
30062
|
+
].join("\n")
|
|
30063
|
+
);
|
|
30053
30064
|
const transport = new StdioServerTransport();
|
|
30054
30065
|
await server.connect(transport);
|
|
30055
30066
|
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "relionhq",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "Relion CLI — pre-deploy API risk detection and monitoring client.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|
|
7
7
|
"relion": "dist/index.js"
|
|
8
8
|
},
|
|
9
9
|
"main": "./dist/index.js",
|
|
10
|
-
"files": [
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
11
13
|
"scripts": {
|
|
12
14
|
"build": "esbuild src/index.ts --bundle --platform=node --target=node18 --outfile=dist/index.js --external:fsevents",
|
|
13
15
|
"dev": "node --watch dist/index.js",
|
|
@@ -22,6 +24,16 @@
|
|
|
22
24
|
"esbuild": "^0.25.0",
|
|
23
25
|
"typescript": "^5.8.0"
|
|
24
26
|
},
|
|
25
|
-
"engines": {
|
|
26
|
-
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">=18"
|
|
29
|
+
},
|
|
30
|
+
"keywords": [
|
|
31
|
+
"api",
|
|
32
|
+
"monitoring",
|
|
33
|
+
"relion",
|
|
34
|
+
"predeploy",
|
|
35
|
+
"cli",
|
|
36
|
+
"deploy",
|
|
37
|
+
"risk"
|
|
38
|
+
]
|
|
27
39
|
}
|