@mrrlin-dev/mcp 0.3.11 → 0.3.12

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 +19 -5
  2. package/package.json +2 -2
package/dist/bin.cjs CHANGED
@@ -37125,6 +37125,10 @@ var mrrlinExecutionArtifactCreateSchema = external_exports.object({
37125
37125
  kind: mrrlinExecutionArtifactKindSchema,
37126
37126
  payload: external_exports.record(external_exports.string(), external_exports.unknown()).default({})
37127
37127
  });
37128
+ var executionArtifactListFiltersSchema = external_exports.object({
37129
+ limit: external_exports.coerce.number().int().min(1).max(100).optional(),
37130
+ order: external_exports.enum(["asc", "desc"]).optional()
37131
+ });
37128
37132
  var executionRunResponseSchema = external_exports.object({
37129
37133
  data: mrrlinExecutionRunSchema
37130
37134
  });
@@ -37333,7 +37337,10 @@ var mrrlinInboxItemIdSchema = external_exports.string().regex(/^II-[A-Za-z0-9._-
37333
37337
  var mrrlinInboxItemActionPayloadSchema = external_exports.object({
37334
37338
  actor: external_exports.string().min(1),
37335
37339
  provider: external_exports.string().min(1),
37336
- runId: mrrlinExecutionRunIdSchema
37340
+ runId: mrrlinExecutionRunIdSchema,
37341
+ // Optional (additive): when true, approving the proposal creates a full code-execution run
37342
+ // (worktree + push/PR path). Scheduler proposals set it; legacy payloads omit it.
37343
+ codeExecution: external_exports.boolean().optional()
37337
37344
  });
37338
37345
  var mrrlinInboxItemSchema = external_exports.object({
37339
37346
  actionPayload: mrrlinInboxItemActionPayloadSchema.nullable(),
@@ -38087,8 +38094,12 @@ function createMrrlinClient(config2) {
38087
38094
  });
38088
38095
  return executionRunResponseSchema.parse(body).data;
38089
38096
  },
38090
- async listExecutionArtifacts(projectSlug, runId) {
38091
- const body = await request(`${projectPath(projectSlug)}/execution-runs/${encodeURIComponent(runId)}/artifacts`);
38097
+ async listExecutionArtifacts(projectSlug, runId, filters = {}) {
38098
+ const url2 = appendQuery(`${projectPath(projectSlug)}/execution-runs/${encodeURIComponent(runId)}/artifacts`, {
38099
+ limit: filters.limit !== void 0 ? String(filters.limit) : void 0,
38100
+ order: filters.order === "desc" ? "desc" : void 0
38101
+ });
38102
+ const body = await request(url2);
38092
38103
  return executionArtifactListResponseSchema.parse(body).data;
38093
38104
  },
38094
38105
  async appendExecutionArtifact(projectSlug, runId, input) {
@@ -38534,7 +38545,7 @@ Do NOT derail the current task \u2014 if the operator has an in-flight question,
38534
38545
  }
38535
38546
 
38536
38547
  // src/_generated/version.ts
38537
- var PKG_VERSION = "0.3.11";
38548
+ var PKG_VERSION = "0.3.12";
38538
38549
 
38539
38550
  // src/api-base-url.ts
38540
38551
  var DEFAULT_API_BASE_URL = "http://127.0.0.1:8787";
@@ -39244,7 +39255,10 @@ async function driveRun(deps, projectSlug, runId) {
39244
39255
  runId,
39245
39256
  defaultBranch: await getDefaultBranch(projectSlug)
39246
39257
  });
39247
- await deps.client.updateExecutionRun(projectSlug, runId, { worktreeId: worktreePath });
39258
+ await deps.client.updateExecutionRun(projectSlug, runId, {
39259
+ worktreeId: worktreePath,
39260
+ branch: worktreeBranch(runId)
39261
+ });
39248
39262
  sandbox = "danger-full-access";
39249
39263
  turnCwd = worktreePath;
39250
39264
  useExecutor = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrrlin-dev/mcp",
3
- "version": "0.3.11",
3
+ "version": "0.3.12",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "mrrlin-mcp": "dist/bin.cjs"
@@ -22,8 +22,8 @@
22
22
  "@types/ws": "^8.18.1",
23
23
  "esbuild": "^0.24.0",
24
24
  "tsx": "^4.22.3",
25
- "@mrrlin/codex-client": "0.0.0",
26
25
  "@mrrlin/client": "0.0.0",
26
+ "@mrrlin/codex-client": "0.0.0",
27
27
  "@mrrlin/director-e2e": "0.0.0",
28
28
  "@mrrlin/schemas": "0.0.0",
29
29
  "@mrrlin/tsconfig": "0.0.0",