@mrrlin-dev/mcp 0.4.203 → 0.4.204
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 +14 -1
- package/package.json +1 -1
package/dist/bin.cjs
CHANGED
|
@@ -64306,6 +64306,7 @@ var openApiOperationIds = {
|
|
|
64306
64306
|
takeOverTask: "takeOverTask",
|
|
64307
64307
|
closeTaskAsWontDo: "closeTaskAsWontDo",
|
|
64308
64308
|
getWikiPage: "getWikiPage",
|
|
64309
|
+
getWikiPageLinkedTaskV1: "getWikiPageLinkedTaskV1",
|
|
64309
64310
|
listExecutionArtifacts: "listExecutionArtifacts",
|
|
64310
64311
|
listExecutionRuns: "listExecutionRuns",
|
|
64311
64312
|
listPlans: "listPlans",
|
|
@@ -66505,6 +66506,11 @@ var githubRepositorySelectionSchema = external_exports.enum(["all", "selected"])
|
|
|
66505
66506
|
var mrrlinTaskIdSchema = external_exports.string().regex(/^GT-\d+$/);
|
|
66506
66507
|
var mrrlinPlanIdSchema = external_exports.string().regex(/^PL-\d+$/);
|
|
66507
66508
|
var mrrlinWikiPageIdSchema = external_exports.string().regex(/^WK-\d+$/);
|
|
66509
|
+
var linkedTaskPageIdSchema = mrrlinWikiPageIdSchema.max(128);
|
|
66510
|
+
var linkedTaskResponseSchema = external_exports.object({
|
|
66511
|
+
contract: external_exports.literal("spec-linked-task-v1"),
|
|
66512
|
+
taskId: mrrlinTaskIdSchema.max(128).nullable()
|
|
66513
|
+
}).strict();
|
|
66508
66514
|
function nextMrrlinWikiPageId(existingIds) {
|
|
66509
66515
|
let max = 0n;
|
|
66510
66516
|
for (const id of existingIds) {
|
|
@@ -69285,6 +69291,13 @@ function createMrrlinClient(config2) {
|
|
|
69285
69291
|
const body = await request(`${projectPath(projectSlug)}/tasks/${encodeURIComponent(taskId)}`);
|
|
69286
69292
|
return taskResponseSchema.parse(body).data;
|
|
69287
69293
|
},
|
|
69294
|
+
async getWikiPageLinkedTaskV1(projectSlug, pageId) {
|
|
69295
|
+
const path40 = `${projectPath(projectSlug)}/wiki/${encodeURIComponent(pageId)}/linked-task/v1`;
|
|
69296
|
+
const response = await executeFetch(path40);
|
|
69297
|
+
if (response.status !== 200)
|
|
69298
|
+
await handleResponseError(response, "GET", path40);
|
|
69299
|
+
return linkedTaskResponseSchema.parse(await response.json()).taskId;
|
|
69300
|
+
},
|
|
69288
69301
|
async getWikiPage(projectSlug, pageId) {
|
|
69289
69302
|
const body = await request(`${projectPath(projectSlug)}/wiki/${encodeURIComponent(pageId)}`);
|
|
69290
69303
|
return wikiPageResponseSchema.parse(body).data;
|
|
@@ -99297,7 +99310,7 @@ Do NOT derail the current task - if the operator has an in-flight question, answ
|
|
|
99297
99310
|
}
|
|
99298
99311
|
|
|
99299
99312
|
// src/_generated/version.ts
|
|
99300
|
-
var PKG_VERSION = "0.4.
|
|
99313
|
+
var PKG_VERSION = "0.4.204";
|
|
99301
99314
|
|
|
99302
99315
|
// src/bridge-allowed-origins.ts
|
|
99303
99316
|
var DEFAULT_DIRECTOR_BRIDGE_ALLOWED_ORIGINS = [
|