@mrrlin-dev/mcp 0.3.50 → 0.3.51
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/bin.cjs +18 -21
- package/package.json +4 -4
package/dist/bin.cjs
CHANGED
|
@@ -39259,7 +39259,7 @@ function startCodexProbe(deps = {}) {
|
|
|
39259
39259
|
}
|
|
39260
39260
|
|
|
39261
39261
|
// src/_generated/version.ts
|
|
39262
|
-
var PKG_VERSION = "0.3.
|
|
39262
|
+
var PKG_VERSION = "0.3.51";
|
|
39263
39263
|
|
|
39264
39264
|
// src/api-base-url-migrate.ts
|
|
39265
39265
|
var import_node_fs2 = __toESM(require("node:fs"), 1);
|
|
@@ -40020,9 +40020,6 @@ function normalizeDomain(value) {
|
|
|
40020
40020
|
function resolveHeads(domain2) {
|
|
40021
40021
|
return [...HEADS_BY_DOMAIN[normalizeDomain(domain2)]];
|
|
40022
40022
|
}
|
|
40023
|
-
function allReviewHeads() {
|
|
40024
|
-
return [...new Set(Object.values(HEADS_BY_DOMAIN).flat())];
|
|
40025
|
-
}
|
|
40026
40023
|
var PERSONAS_BY_DOMAIN = {
|
|
40027
40024
|
seo: "seo-writer",
|
|
40028
40025
|
content: "content-author",
|
|
@@ -54190,6 +54187,22 @@ function buildGateQuestionOptions(question, category) {
|
|
|
54190
54187
|
}
|
|
54191
54188
|
];
|
|
54192
54189
|
}
|
|
54190
|
+
var defaultNativeSpecGateBuilders = { buildSpecGateDeps, runSpecGate };
|
|
54191
|
+
async function runNativeSpecGate(ctx, input, builders = defaultNativeSpecGateBuilders) {
|
|
54192
|
+
const deps = builders.buildSpecGateDeps({
|
|
54193
|
+
client: ctx.client,
|
|
54194
|
+
projectSlug: input.projectSlug,
|
|
54195
|
+
specPageId: input.pageId,
|
|
54196
|
+
cwd: ctx.cwd,
|
|
54197
|
+
codexExecutable: ctx.codexExecutable,
|
|
54198
|
+
extraHeadCount: input.extraHeads?.length ?? 0
|
|
54199
|
+
});
|
|
54200
|
+
return builders.runSpecGate(
|
|
54201
|
+
{ projectSlug: input.projectSlug, specPageId: input.pageId },
|
|
54202
|
+
deps,
|
|
54203
|
+
input.extraHeads && input.extraHeads.length > 0 ? { extraHeads: input.extraHeads } : void 0
|
|
54204
|
+
);
|
|
54205
|
+
}
|
|
54193
54206
|
async function cachedResult(client, input) {
|
|
54194
54207
|
const page = await client.getWikiPage(input.projectSlug, input.pageId);
|
|
54195
54208
|
if (!page) return null;
|
|
@@ -54215,23 +54228,7 @@ async function cachedResult(client, input) {
|
|
|
54215
54228
|
return null;
|
|
54216
54229
|
}
|
|
54217
54230
|
async function run(ctx, input) {
|
|
54218
|
-
const
|
|
54219
|
-
client: ctx.client,
|
|
54220
|
-
projectSlug: input.projectSlug,
|
|
54221
|
-
specPageId: input.pageId,
|
|
54222
|
-
cwd: ctx.cwd,
|
|
54223
|
-
codexExecutable: ctx.codexExecutable,
|
|
54224
|
-
extraHeadCount: input.extraHeads?.length ?? 0
|
|
54225
|
-
});
|
|
54226
|
-
const activeRunHead = await resolveActiveRunHead({
|
|
54227
|
-
heads: [...allReviewHeads(), ...input.extraHeads ?? []]
|
|
54228
|
-
});
|
|
54229
|
-
if (activeRunHead) deps.runHead = activeRunHead;
|
|
54230
|
-
const result = await runSpecGate(
|
|
54231
|
-
{ projectSlug: input.projectSlug, specPageId: input.pageId },
|
|
54232
|
-
deps,
|
|
54233
|
-
input.extraHeads && input.extraHeads.length > 0 ? { extraHeads: input.extraHeads } : void 0
|
|
54234
|
-
);
|
|
54231
|
+
const result = await runNativeSpecGate(ctx, input);
|
|
54235
54232
|
if (process.env[SHADOW_ENV_FLAG]) {
|
|
54236
54233
|
try {
|
|
54237
54234
|
const specPage = await ctx.client.getWikiPage(input.projectSlug, input.pageId);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrrlin-dev/mcp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.51",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"mrrlin-mcp": "dist/bin.cjs"
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"@types/ws": "^8.18.1",
|
|
22
22
|
"esbuild": "^0.24.0",
|
|
23
23
|
"tsx": "^4.22.3",
|
|
24
|
+
"@mrrlin/schemas": "0.0.0",
|
|
24
25
|
"@mrrlin/director-e2e": "0.0.0",
|
|
25
26
|
"@mrrlin/wiki": "0.0.0",
|
|
26
|
-
"@mrrlin/
|
|
27
|
-
"@mrrlin/tsconfig": "0.0.0",
|
|
27
|
+
"@mrrlin/codex-client": "0.0.0",
|
|
28
28
|
"@mrrlin/client": "0.0.0",
|
|
29
|
-
"@mrrlin/
|
|
29
|
+
"@mrrlin/tsconfig": "0.0.0"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@iarna/toml": "^2.2.5",
|