@remogram/mcp 0.1.0-beta.1 → 0.1.0-beta.3
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/package.json +2 -2
- package/register-tools.mjs +20 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remogram/mcp",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.3",
|
|
4
4
|
"description": "Remogram MCP server delegating to CLI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@modelcontextprotocol/sdk": "^1.17.0",
|
|
33
|
-
"@remogram/cli": "0.1.0-beta.
|
|
33
|
+
"@remogram/cli": "0.1.0-beta.3",
|
|
34
34
|
"zod": "^3.25.76"
|
|
35
35
|
}
|
|
36
36
|
}
|
package/register-tools.mjs
CHANGED
|
@@ -30,6 +30,26 @@ export function registerTools(server) {
|
|
|
30
30
|
}),
|
|
31
31
|
args: (input) => ['refs', 'compare', '--base', input.base, '--head', input.head],
|
|
32
32
|
},
|
|
33
|
+
{
|
|
34
|
+
name: 'ref_inventory',
|
|
35
|
+
description: 'List repository refs with SHAs, default branch hint, and optional ancestry hints.',
|
|
36
|
+
inputSchema: z.object({}),
|
|
37
|
+
args: ['refs', 'inventory'],
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: 'cr_inventory',
|
|
41
|
+
description: 'Aggregate open change requests with checks and merge-plan facts into a semantic-diff slice.',
|
|
42
|
+
inputSchema: z.object({
|
|
43
|
+
slice_ref: z.string().optional().describe('Optional slice ref label for consumers'),
|
|
44
|
+
limit: z.number().int().positive().optional().describe('Max open CR entries (default 50)'),
|
|
45
|
+
}),
|
|
46
|
+
args: (input) => {
|
|
47
|
+
const a = ['cr', 'inventory'];
|
|
48
|
+
if (input.slice_ref) a.push('--slice-ref', input.slice_ref);
|
|
49
|
+
if (input.limit != null) a.push('--limit', String(input.limit));
|
|
50
|
+
return a;
|
|
51
|
+
},
|
|
52
|
+
},
|
|
33
53
|
{
|
|
34
54
|
name: 'pr_status',
|
|
35
55
|
description: 'PR metadata and mergeability facts.',
|