@mrrlin-dev/mcp 0.4.176 → 0.4.177

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.
Files changed (2) hide show
  1. package/dist/bin.cjs +9 -4
  2. package/package.json +1 -1
package/dist/bin.cjs CHANGED
@@ -41034,7 +41034,7 @@ var mrrlinExecutionRunCreateSchema = external_exports.object({
41034
41034
  actor: external_exports.string().min(1),
41035
41035
  branch: external_exports.string().min(1).optional(),
41036
41036
  baseSha: external_exports.string().min(1).optional(),
41037
- codeExecution: external_exports.boolean().optional().default(false),
41037
+ codeExecution: external_exports.boolean().optional().describe("Omit to use the task-derived default; false requests a non-writable run."),
41038
41038
  devWorkflowId: external_exports.number().int().positive().optional(),
41039
41039
  id: mrrlinExecutionRunIdSchema,
41040
41040
  prerequisites: external_exports.array(mrrlinRunPrerequisiteSchema).default([]),
@@ -65108,7 +65108,7 @@ function createMrrlinTools(options) {
65108
65108
  async (c, { projectSlug, ...input }) => {
65109
65109
  await checkTenantBoundary(projectSlug, "execution run");
65110
65110
  const run3 = await c.createExecutionRun(projectSlug, input);
65111
- pingWorkerDispatch(projectSlug, run3.id);
65111
+ (options.dispatchExecutionRun ?? pingWorkerDispatch)(projectSlug, run3.id);
65112
65112
  return run3;
65113
65113
  }
65114
65114
  ),
@@ -67442,7 +67442,7 @@ Do NOT derail the current task - if the operator has an in-flight question, answ
67442
67442
  }
67443
67443
 
67444
67444
  // src/_generated/version.ts
67445
- var PKG_VERSION = "0.4.176";
67445
+ var PKG_VERSION = "0.4.177";
67446
67446
 
67447
67447
  // src/bridge-allowed-origins.ts
67448
67448
  var DEFAULT_DIRECTOR_BRIDGE_ALLOWED_ORIGINS = [
@@ -87140,6 +87140,7 @@ function resolveServerOptions(input = {}) {
87140
87140
  return {
87141
87141
  apiBaseUrl,
87142
87142
  fetch: input.fetch,
87143
+ dispatchExecutionRun: input.dispatchExecutionRun,
87143
87144
  remoteAllowed: true,
87144
87145
  // Deliberately do NOT bake process.env.MRRLIN_TOKEN in here: withAuth (tools.ts) resolves
87145
87146
  // env + the bridge-persisted operator-token file lazily per request, so long-lived MCP
@@ -87264,8 +87265,12 @@ function createMrrlinMcpServer(options = {}) {
87264
87265
  message: `Unknown MCP tool: ${name}`
87265
87266
  });
87266
87267
  }
87268
+ const args = request.params.arguments ?? {};
87269
+ if (name === mcpToolNames.createExecutionRun && Object.hasOwn(args, "code_execution")) {
87270
+ return buildToolError({ code: "INVALID_CODE_EXECUTION_FIELD", message: "Use codeExecution, not code_execution." });
87271
+ }
87267
87272
  const schema = mcpToolInputSchemas[name];
87268
- const parsed = schema.safeParse(request.params.arguments ?? {});
87273
+ const parsed = schema.safeParse(args);
87269
87274
  if (!parsed.success) {
87270
87275
  return buildToolError({
87271
87276
  code: "VALIDATION_FAILED",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrrlin-dev/mcp",
3
- "version": "0.4.176",
3
+ "version": "0.4.177",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "mrrlin-mcp": "dist/bin.cjs"