@zereight/mcp-gitlab 2.1.4 → 2.1.6
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.ko.md +442 -0
- package/README.md +12 -0
- package/README.zh-CN.md +442 -0
- package/build/config.js +65 -2
- package/build/index.js +348 -5
- package/build/oauth-proxy.js +182 -47
- package/build/stateless/client-id.js +68 -0
- package/build/stateless/codec.js +205 -0
- package/build/stateless/errors.js +24 -0
- package/build/stateless/index.js +14 -0
- package/build/stateless/pending-auth.js +65 -0
- package/build/stateless/secret.js +98 -0
- package/build/stateless/session-id.js +68 -0
- package/build/stateless/stored-tokens.js +66 -0
- package/build/stateless/types.js +18 -0
- package/build/test/schema-tests.js +81 -3
- package/build/test/stateless/callback-proxy.test.js +393 -0
- package/build/test/stateless/client-id.test.js +176 -0
- package/build/test/stateless/codec.test.js +328 -0
- package/build/test/stateless/config-ttl.test.js +149 -0
- package/build/test/stateless/session-id-integration.test.js +675 -0
- package/build/test/stateless/session-id.test.js +131 -0
- package/build/test/test-json-schema.js +148 -0
- package/build/utils/schema.js +40 -6
- package/package.json +4 -3
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Unit tests for the sealed Mcp-Session-Id helpers.
|
|
3
|
+
*/
|
|
4
|
+
import assert from "node:assert/strict";
|
|
5
|
+
import { randomBytes } from "node:crypto";
|
|
6
|
+
import { describe, test } from "node:test";
|
|
7
|
+
import { loadKeyMaterialFromEnv, looksLikeStatelessSessionId, mintSessionId, openSessionId, } from "../../stateless/index.js";
|
|
8
|
+
function secret() {
|
|
9
|
+
return randomBytes(32).toString("base64url");
|
|
10
|
+
}
|
|
11
|
+
function load(current, previous) {
|
|
12
|
+
const env = {
|
|
13
|
+
OAUTH_STATELESS_SECRET: current,
|
|
14
|
+
};
|
|
15
|
+
if (previous)
|
|
16
|
+
env.OAUTH_STATELESS_SECRET_PREVIOUS = previous;
|
|
17
|
+
const m = loadKeyMaterialFromEnv(true, env);
|
|
18
|
+
assert.ok(m);
|
|
19
|
+
return m;
|
|
20
|
+
}
|
|
21
|
+
describe("mintSessionId / openSessionId", () => {
|
|
22
|
+
test("roundtrips across pods", () => {
|
|
23
|
+
const s = secret();
|
|
24
|
+
const a = load(s);
|
|
25
|
+
const b = load(s);
|
|
26
|
+
const sid = mintSessionId(a, {
|
|
27
|
+
header: "Authorization",
|
|
28
|
+
token: "glpat-ABCDEFG123456789-abcdef",
|
|
29
|
+
apiUrl: "https://gitlab.example.com/api/v4",
|
|
30
|
+
});
|
|
31
|
+
assert.ok(looksLikeStatelessSessionId(sid));
|
|
32
|
+
const opened = openSessionId(b, sid, 3600);
|
|
33
|
+
assert.ok(opened);
|
|
34
|
+
assert.equal(opened.h, "Authorization");
|
|
35
|
+
assert.equal(opened.t, "glpat-ABCDEFG123456789-abcdef");
|
|
36
|
+
assert.equal(opened.u, "https://gitlab.example.com/api/v4");
|
|
37
|
+
});
|
|
38
|
+
test("preserves Private-Token / JOB-TOKEN headers", () => {
|
|
39
|
+
const m = load(secret());
|
|
40
|
+
for (const h of ["Private-Token", "JOB-TOKEN"]) {
|
|
41
|
+
const sid = mintSessionId(m, {
|
|
42
|
+
header: h,
|
|
43
|
+
token: "some-token-value-at-least-20-chars",
|
|
44
|
+
apiUrl: "https://gitlab.example.com/api/v4",
|
|
45
|
+
});
|
|
46
|
+
const opened = openSessionId(m, sid, 3600);
|
|
47
|
+
assert.ok(opened);
|
|
48
|
+
assert.equal(opened.h, h);
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
test("rejects unknown header values", () => {
|
|
52
|
+
// Hand-craft a payload with a bogus header value. We do this by minting a
|
|
53
|
+
// legitimate token then mutating the decoded payload via a second mint
|
|
54
|
+
// won't work (AEAD). Instead, assert the helper rejects garbage input
|
|
55
|
+
// by tampering with an unrelated value and checking it still fails safely.
|
|
56
|
+
const m = load(secret());
|
|
57
|
+
const sid = mintSessionId(m, {
|
|
58
|
+
header: "Authorization",
|
|
59
|
+
token: "t".repeat(25),
|
|
60
|
+
apiUrl: "u",
|
|
61
|
+
});
|
|
62
|
+
// Truncate to force bad ciphertext on open.
|
|
63
|
+
const broken = sid.slice(0, -3);
|
|
64
|
+
assert.equal(openSessionId(m, broken, 3600), null);
|
|
65
|
+
});
|
|
66
|
+
test("expired sid rejected", () => {
|
|
67
|
+
const m = load(secret());
|
|
68
|
+
const past = Math.floor(Date.now() / 1000) - 10_000;
|
|
69
|
+
const sid = mintSessionId(m, {
|
|
70
|
+
header: "Authorization",
|
|
71
|
+
token: "t".repeat(25),
|
|
72
|
+
apiUrl: "u",
|
|
73
|
+
now: () => past,
|
|
74
|
+
});
|
|
75
|
+
assert.equal(openSessionId(m, sid, 60), null);
|
|
76
|
+
});
|
|
77
|
+
test("different secret rejects", () => {
|
|
78
|
+
const a = load(secret());
|
|
79
|
+
const b = load(secret());
|
|
80
|
+
const sid = mintSessionId(a, {
|
|
81
|
+
header: "Authorization",
|
|
82
|
+
token: "t".repeat(25),
|
|
83
|
+
apiUrl: "u",
|
|
84
|
+
});
|
|
85
|
+
assert.equal(openSessionId(b, sid, 3600), null);
|
|
86
|
+
});
|
|
87
|
+
test("rotation: sid minted under previous secret opens on rotated pod", () => {
|
|
88
|
+
const s1 = secret();
|
|
89
|
+
const s2 = secret();
|
|
90
|
+
const old = load(s1);
|
|
91
|
+
const rotated = load(s2, s1);
|
|
92
|
+
const sid = mintSessionId(old, {
|
|
93
|
+
header: "Authorization",
|
|
94
|
+
token: "t".repeat(25),
|
|
95
|
+
apiUrl: "u",
|
|
96
|
+
});
|
|
97
|
+
const opened = openSessionId(rotated, sid, 3600);
|
|
98
|
+
assert.ok(opened);
|
|
99
|
+
});
|
|
100
|
+
test("looksLikeStatelessSessionId distinguishes legacy UUIDs", () => {
|
|
101
|
+
const m = load(secret());
|
|
102
|
+
const sid = mintSessionId(m, {
|
|
103
|
+
header: "Authorization",
|
|
104
|
+
token: "t".repeat(25),
|
|
105
|
+
apiUrl: "u",
|
|
106
|
+
});
|
|
107
|
+
assert.ok(looksLikeStatelessSessionId(sid));
|
|
108
|
+
assert.ok(!looksLikeStatelessSessionId("a4f1c2b8-f2c4-4ee6-bc14-2b7ab0e6ab11"));
|
|
109
|
+
assert.ok(!looksLikeStatelessSessionId(""));
|
|
110
|
+
});
|
|
111
|
+
test("fresh sid has different iat each time (rotation on every refresh)", () => {
|
|
112
|
+
const m = load(secret());
|
|
113
|
+
const sid1 = mintSessionId(m, {
|
|
114
|
+
header: "Authorization",
|
|
115
|
+
token: "t".repeat(25),
|
|
116
|
+
apiUrl: "u",
|
|
117
|
+
now: () => 1000,
|
|
118
|
+
});
|
|
119
|
+
const sid2 = mintSessionId(m, {
|
|
120
|
+
header: "Authorization",
|
|
121
|
+
token: "t".repeat(25),
|
|
122
|
+
apiUrl: "u",
|
|
123
|
+
now: () => 2000,
|
|
124
|
+
});
|
|
125
|
+
assert.notEqual(sid1, sid2);
|
|
126
|
+
const open1 = openSessionId(m, sid1, 3600, () => 2000);
|
|
127
|
+
const open2 = openSessionId(m, sid2, 3600, () => 2000);
|
|
128
|
+
assert.equal(open1.iat, 1000);
|
|
129
|
+
assert.equal(open2.iat, 2000);
|
|
130
|
+
});
|
|
131
|
+
});
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
#!/usr/bin/env ts-node
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import { toJSONSchema } from "../utils/schema.js";
|
|
4
|
+
function assert(condition, message) {
|
|
5
|
+
if (!condition) {
|
|
6
|
+
throw new Error(message);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
function runTests() {
|
|
10
|
+
console.log("Testing toJSONSchema utility...");
|
|
11
|
+
const results = [];
|
|
12
|
+
// Test 1: Required field extraction
|
|
13
|
+
try {
|
|
14
|
+
const schema = z.object({
|
|
15
|
+
requiredField: z.string(),
|
|
16
|
+
optionalField: z.string().optional(),
|
|
17
|
+
});
|
|
18
|
+
const result = toJSONSchema(schema);
|
|
19
|
+
assert(result.required?.includes("requiredField"), "requiredField should be in required array");
|
|
20
|
+
assert(!result.required?.includes("optionalField"), "optionalField should NOT be in required array");
|
|
21
|
+
results.push({ name: "required field extraction", status: "passed" });
|
|
22
|
+
}
|
|
23
|
+
catch (error) {
|
|
24
|
+
results.push({
|
|
25
|
+
name: "required field extraction",
|
|
26
|
+
status: "failed",
|
|
27
|
+
error: error.message,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
// Test 2: Nullable fields
|
|
31
|
+
try {
|
|
32
|
+
const schema = z.object({
|
|
33
|
+
nullableField: z.string().nullable(),
|
|
34
|
+
requiredField: z.string(),
|
|
35
|
+
});
|
|
36
|
+
const result = toJSONSchema(schema);
|
|
37
|
+
assert(result.required?.includes("requiredField"), "requiredField should be in required array");
|
|
38
|
+
assert(!result.required?.includes("nullableField"), "nullableField should NOT be in required array");
|
|
39
|
+
results.push({ name: "nullable fields", status: "passed" });
|
|
40
|
+
}
|
|
41
|
+
catch (error) {
|
|
42
|
+
results.push({
|
|
43
|
+
name: "nullable fields",
|
|
44
|
+
status: "failed",
|
|
45
|
+
error: error.message,
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
// Test 3: Optional nullable fields
|
|
49
|
+
try {
|
|
50
|
+
const schema = z.object({
|
|
51
|
+
optionalNullable: z.string().optional().nullable(),
|
|
52
|
+
requiredField: z.string(),
|
|
53
|
+
});
|
|
54
|
+
const result = toJSONSchema(schema);
|
|
55
|
+
assert(result.required?.includes("requiredField"), "requiredField should be in required array");
|
|
56
|
+
assert(!result.required?.includes("optionalNullable"), "optionalNullable should NOT be in required array");
|
|
57
|
+
results.push({ name: "optional nullable fields", status: "passed" });
|
|
58
|
+
}
|
|
59
|
+
catch (error) {
|
|
60
|
+
results.push({
|
|
61
|
+
name: "optional nullable fields",
|
|
62
|
+
status: "failed",
|
|
63
|
+
error: error.message,
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
// Test 4: Fields with defaults
|
|
67
|
+
try {
|
|
68
|
+
const schema = z.object({
|
|
69
|
+
fieldWithDefault: z.string().default("default-value"),
|
|
70
|
+
requiredField: z.string(),
|
|
71
|
+
});
|
|
72
|
+
const result = toJSONSchema(schema);
|
|
73
|
+
assert(result.required?.includes("requiredField"), "requiredField should be in required array");
|
|
74
|
+
assert(!result.required?.includes("fieldWithDefault"), "fieldWithDefault should NOT be in required array");
|
|
75
|
+
assert(result.properties.fieldWithDefault.default === "default-value", "default value should be preserved");
|
|
76
|
+
results.push({ name: "fields with defaults", status: "passed" });
|
|
77
|
+
}
|
|
78
|
+
catch (error) {
|
|
79
|
+
results.push({
|
|
80
|
+
name: "fields with defaults",
|
|
81
|
+
status: "failed",
|
|
82
|
+
error: error.message,
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
// Test 5: Nested objects with shared property names
|
|
86
|
+
try {
|
|
87
|
+
const schema = z.object({
|
|
88
|
+
foo: z.string(), // Required at root
|
|
89
|
+
nested: z.object({
|
|
90
|
+
foo: z.string().optional(), // Optional in nested, shares name with root
|
|
91
|
+
}),
|
|
92
|
+
});
|
|
93
|
+
const result = toJSONSchema(schema);
|
|
94
|
+
assert(result.required?.includes("foo"), "root foo should be in required array");
|
|
95
|
+
assert(result.required?.includes("nested"), "nested object should be in required array");
|
|
96
|
+
assert(result.properties.nested.required === undefined, "nested foo should NOT be in required array");
|
|
97
|
+
results.push({
|
|
98
|
+
name: "nested objects with shared property names",
|
|
99
|
+
status: "passed",
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
catch (error) {
|
|
103
|
+
results.push({
|
|
104
|
+
name: "nested objects with shared property names",
|
|
105
|
+
status: "failed",
|
|
106
|
+
error: error.message,
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
// Test 6: Coerced fields
|
|
110
|
+
try {
|
|
111
|
+
const schema = z.object({
|
|
112
|
+
coercedField: z.coerce.string(),
|
|
113
|
+
optionalCoercedField: z.coerce.string().optional(),
|
|
114
|
+
});
|
|
115
|
+
const result = toJSONSchema(schema);
|
|
116
|
+
assert(result.required?.includes("coercedField"), "coercedField should be in required array (z.coerce without optional)");
|
|
117
|
+
assert(!result.required?.includes("optionalCoercedField"), "optionalCoercedField should NOT be in required array (z.coerce with optional)");
|
|
118
|
+
results.push({ name: "coerced fields", status: "passed" });
|
|
119
|
+
}
|
|
120
|
+
catch (error) {
|
|
121
|
+
results.push({
|
|
122
|
+
name: "coerced fields",
|
|
123
|
+
status: "failed",
|
|
124
|
+
error: error.message,
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
// Print results
|
|
128
|
+
const passed = results.filter((r) => r.status === "passed").length;
|
|
129
|
+
const failed = results.filter((r) => r.status === "failed").length;
|
|
130
|
+
console.log("\nTest Results:");
|
|
131
|
+
console.log("=".repeat(50));
|
|
132
|
+
results.forEach((result) => {
|
|
133
|
+
if (result.status === "passed") {
|
|
134
|
+
console.log(` ${result.name}: ${result.status}`);
|
|
135
|
+
}
|
|
136
|
+
else {
|
|
137
|
+
console.log(` ${result.name}: ${result.status}`);
|
|
138
|
+
console.log(` Error: ${result.error}`);
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
console.log("=".repeat(50));
|
|
142
|
+
console.log(`Total: ${results.length} tests`);
|
|
143
|
+
console.log(`Passed: ${passed}`);
|
|
144
|
+
console.log(`Failed: ${failed}`);
|
|
145
|
+
return { passed, failed };
|
|
146
|
+
}
|
|
147
|
+
// Run tests
|
|
148
|
+
runTests();
|
package/build/utils/schema.js
CHANGED
|
@@ -1,12 +1,38 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
1
2
|
import { zodToJsonSchema } from "zod-to-json-schema";
|
|
2
3
|
/**
|
|
3
4
|
* Convert a Zod schema to JSON Schema, fixing nullable/optional fields
|
|
4
|
-
* so they are not marked as required.
|
|
5
|
+
* so they are not marked as required, and extracting required fields from the Zod schema.
|
|
5
6
|
*/
|
|
6
7
|
export const toJSONSchema = (schema) => {
|
|
7
8
|
const jsonSchema = zodToJsonSchema(schema, { $refStrategy: "none" });
|
|
9
|
+
// Extract required fields from Zod schema
|
|
10
|
+
const zodRequiredFields = (() => {
|
|
11
|
+
if (schema instanceof z.ZodObject) {
|
|
12
|
+
const shape = schema.shape;
|
|
13
|
+
const requiredFields = [];
|
|
14
|
+
Object.entries(shape).forEach(([key, fieldDef]) => {
|
|
15
|
+
const zodType = fieldDef;
|
|
16
|
+
const typeName = zodType._def?.typeName;
|
|
17
|
+
// Check if field is wrapped in zod required types
|
|
18
|
+
const isRequired = [
|
|
19
|
+
"ZodOptional",
|
|
20
|
+
"ZodNullable",
|
|
21
|
+
"ZodDefault",
|
|
22
|
+
"ZodEffects",
|
|
23
|
+
"ZodCatch",
|
|
24
|
+
"ZodBranded",
|
|
25
|
+
].includes(typeName);
|
|
26
|
+
if (!isRequired) {
|
|
27
|
+
requiredFields.push(key);
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
return requiredFields;
|
|
31
|
+
}
|
|
32
|
+
return [];
|
|
33
|
+
})();
|
|
8
34
|
// Post-process to fix nullable/optional fields and strip verbose keys
|
|
9
|
-
function fixNullableOptional(obj) {
|
|
35
|
+
function fixNullableOptional(obj, isRoot = false) {
|
|
10
36
|
if (obj && typeof obj === "object") {
|
|
11
37
|
// Strip $schema (meta-only, not needed for tool input validation)
|
|
12
38
|
delete obj.$schema;
|
|
@@ -15,6 +41,14 @@ export const toJSONSchema = (schema) => {
|
|
|
15
41
|
// If this object has properties, process them
|
|
16
42
|
if (obj.properties) {
|
|
17
43
|
const requiredSet = new Set(obj.required || []);
|
|
44
|
+
// Add required fields extracted from Zod schema (only for root object)
|
|
45
|
+
if (isRoot) {
|
|
46
|
+
zodRequiredFields.forEach(field => {
|
|
47
|
+
if (obj.properties[field]) {
|
|
48
|
+
requiredSet.add(field);
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
}
|
|
18
52
|
Object.keys(obj.properties).forEach(key => {
|
|
19
53
|
const prop = obj.properties[key];
|
|
20
54
|
// Handle fields that can be null or omitted
|
|
@@ -25,8 +59,8 @@ export const toJSONSchema = (schema) => {
|
|
|
25
59
|
else if (Array.isArray(prop.type) && prop.type.includes("null")) {
|
|
26
60
|
requiredSet.delete(key);
|
|
27
61
|
}
|
|
28
|
-
// Recursively process nested objects
|
|
29
|
-
obj.properties[key] = fixNullableOptional(prop);
|
|
62
|
+
// Recursively process nested objects (not root)
|
|
63
|
+
obj.properties[key] = fixNullableOptional(prop, false);
|
|
30
64
|
});
|
|
31
65
|
// Normalize the required array after processing all properties
|
|
32
66
|
if (requiredSet.size > 0) {
|
|
@@ -39,11 +73,11 @@ export const toJSONSchema = (schema) => {
|
|
|
39
73
|
// Process anyOf/allOf/oneOf
|
|
40
74
|
["anyOf", "allOf", "oneOf"].forEach(combiner => {
|
|
41
75
|
if (obj[combiner]) {
|
|
42
|
-
obj[combiner] = obj[combiner].map(fixNullableOptional);
|
|
76
|
+
obj[combiner] = obj[combiner].map((item) => fixNullableOptional(item, false));
|
|
43
77
|
}
|
|
44
78
|
});
|
|
45
79
|
}
|
|
46
80
|
return obj;
|
|
47
81
|
}
|
|
48
|
-
return fixNullableOptional(jsonSchema);
|
|
82
|
+
return fixNullableOptional(jsonSchema, true);
|
|
49
83
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zereight/mcp-gitlab",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.6",
|
|
4
4
|
"mcpName": "io.github.zereight/gitlab-mcp",
|
|
5
5
|
"description": "GitLab MCP server for projects, merge requests, issues, pipelines, wiki, releases, and more",
|
|
6
6
|
"keywords": [
|
|
@@ -51,11 +51,12 @@
|
|
|
51
51
|
"changelog": "auto-changelog -p",
|
|
52
52
|
"test": "npm run test:all",
|
|
53
53
|
"test:all": "npm run build && npm run test:mock && npm run test:live",
|
|
54
|
-
"test:mock": "node --import tsx/esm --test test/remote-auth-simple-test.ts && node --import tsx/esm --test test/mcp-oauth-tests.ts && tsx test/oauth-tests.ts && tsx test/test-list-merge-requests.ts && tsx test/test-list-project-members.ts && tsx test/test-download-attachment.ts && node --import tsx/esm --test test/test-job-artifacts.ts && node --import tsx/esm --test test/test-deployment-tools.ts && node --import tsx/esm --test test/test-merge-request-approval-state-tools.ts && node --import tsx/esm --test test/test-search-code.ts && node --import tsx/esm --test test/test-toolset-filtering.ts && node --import tsx/esm --test test/test-auth-retry.ts",
|
|
54
|
+
"test:mock": "node --import tsx/esm --test test/remote-auth-simple-test.ts && node --import tsx/esm --test test/mcp-oauth-tests.ts && tsx test/oauth-tests.ts && tsx test/test-list-merge-requests.ts && tsx test/test-list-project-members.ts && tsx test/test-download-attachment.ts && node --import tsx/esm --test test/test-job-artifacts.ts && node --import tsx/esm --test test/test-deployment-tools.ts && node --import tsx/esm --test test/test-merge-request-approval-state-tools.ts && node --import tsx/esm --test test/test-search-code.ts && node --import tsx/esm --test test/test-toolset-filtering.ts && node --import tsx/esm --test test/test-auth-retry.ts && node --import tsx/esm --test test/stateless/codec.test.ts test/stateless/client-id.test.ts test/stateless/callback-proxy.test.ts test/stateless/session-id.test.ts test/stateless/session-id-integration.test.ts test/stateless/config-ttl.test.ts",
|
|
55
|
+
"test:stateless": "npm run build && node --import tsx/esm --test test/stateless/codec.test.ts test/stateless/client-id.test.ts test/stateless/callback-proxy.test.ts test/stateless/session-id.test.ts test/stateless/session-id-integration.test.ts test/stateless/config-ttl.test.ts",
|
|
55
56
|
"test:mcp-oauth": "npm run build && node --import tsx/esm --test test/mcp-oauth-tests.ts",
|
|
56
57
|
"test:live": "node test/validate-api.js",
|
|
57
58
|
"test:remote-auth": "npm run build && node --import tsx/esm --test test/remote-auth-simple-test.ts",
|
|
58
|
-
"test:schema": "tsx test/schema-tests.ts",
|
|
59
|
+
"test:schema": "tsx test/schema-tests.ts && tsx test/test-json-schema.ts",
|
|
59
60
|
"test:oauth": "tsx test/oauth-tests.ts",
|
|
60
61
|
"test:list-merge-requests": "npm run build && tsx test/test-list-merge-requests.ts",
|
|
61
62
|
"test:approvals": "npm run build && tsx test/test-merge-request-approvals.ts",
|