@mrrlin-dev/mcp 0.4.273 → 0.4.274

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 +101 -15
  2. package/package.json +1 -1
package/dist/bin.cjs CHANGED
@@ -20010,7 +20010,7 @@ function resolveProjectClientScope(project) {
20010
20010
  scopeDescription
20011
20011
  };
20012
20012
  }
20013
- var mrrlinTaskStatusSchema, mrrlinTaskCreateStatusSchema, mrrlinTerminalTaskStatuses, mrrlinTaskTypeSchema, mrrlinTaskImpactSchema, mrrlinAutonomyLevelSchema, mrrlinTaskEventAutonomyLevelSchema, mrrlinAutoDeploySchema, mrrlinTaskDomainsSchema, mrrlinDeclaredOutcomeShapeSchema, mrrlinDeclaredOutcomeSchema, MRRLIN_PROJECT_CODE_HOSTS, mrrlinProjectCodeHostSchema, GIT_SHA_PATTERN, SHA256_HEX_PATTERN, MRRLIN_LOCAL_DELIVERY_REF_PATTERN, mrrlinLocalDeliveryRefSchema, mrrlinLocalBuildStepSchema, mrrlinLocalBuildEvidenceSchema, mrrlinReceiptSchema, LOCAL_BUILD_RECEIPT_PAYLOAD_KEY, mrrlinSpecApprovedSchema, mrrlinTaskSourceSchema, mrrlinPlanStatusSchema, mrrlinTaskEventTypeSchema, mrrlinTaskEventCreateKindSchema, githubRepositorySelectionSchema, mrrlinTaskIdSchema, mrrlinPlanIdSchema, mrrlinWikiPageIdSchema, blockerTaskIdSchema, blockerTaskIdsSchema, blockerStatusResponseSchema, draftLinkPageIdSchema, draftLinkResponseSchema, draftConstitutionResponseSchema, linkedTaskPageIdSchema, linkedTaskResponseSchema, mrrlinWikiPagePathSchema, PROJECT_CONSTITUTION_PAGE, mrrlinExecutionRunIdSchema, mrrlinExecutionArtifactIdSchema, mrrlinProjectSlugSchema, mrrlinProjectEmojiSchema, terminalTaskStatusSet, mrrlinTaskTagSchema, mrrlinTaskTagsSchema, mrrlinExecutionRunStatusSchema, mrrlinRunBlockingReasonCodeSchema, KNOWN_RUN_BLOCKING_REASON_CODES, mrrlinRunBlockingReasonCodeReadSchema, mrrlinExecutionArtifactKindSchema, mrrlinNonCodeOutcomeSchema, mrrlinIntentProvenanceRefSchema, mrrlinIntentProvenanceSchema, mrrlinDeployAttemptPayloadSchema, mrrlinVerificationPayloadSchema, producedUrlSafeString, mrrlinProducedUrlPayloadSchema, mrrlinDeliverablePayloadSchema, SUPPORTED_EXECUTION_POLICY_BY_DOMAIN, SUPPORTED_EXECUTION_DOMAINS, taxonomyCategorySchema, taxonomySubcategorySchema, mrrlinTaskAssigneeSchema, mrrlinStopReasonSchema, mrrlinMixedCodeApprovalSnapshotSchema, mrrlinMixedCodeApprovalSchema, mrrlinTaskAcceptanceDecisionSchema, mrrlinTaskOperatorAcceptanceSchema, mrrlinTaskAcceptanceCreateSchema, mrrlinTaskSchema, mrrlinTaskSummarySchema, mrrlinPlanSchema, mrrlinTaxonomyEntrySchema, mrrlinTaskDependencySchema, mrrlinTaskEventSchema, mrrlinWikiPageSchema, mrrlinWikiPageSummarySchema, mrrlinMarkSpecReadyRequestSchema, mrrlinTakeOverTaskRequestSchema, mrrlinCloseTaskAsWontDoRequestSchema, mrrlinGithubBindingSchema, mrrlinGithubInstallationSchema, mrrlinGithubPullRequestSchema, mrrlinGithubPullRequestCheckStateSchema, mrrlinGithubPullRequestCheckSourceSchema, mrrlinGithubPullRequestObservedSchema, mrrlinGithubWorkflowSchema, mrrlinGithubRepositorySchema, mrrlinGithubWorkflowDispatchSchema, mrrlinProjectSummarySchema, mrrlinProjectOperatorInputSchema, mrrlinProjectUpsertSchema, mrrlinProjectRenameSchema, ONBOARDING_KICKOFF_TRANSITIONS, mrrlinOnboardingKickoffTransitionSchema, mrrlinOnboardingKickoffTransitionResponseSchema, mrrlinProjectMemberSchema, mrrlinProjectMemberAddSchema, mrrlinProjectMemberRemoveSchema, mrrlinProjectSnapshotSchema, mrrlinTaskCreateShapeSchema, mrrlinTaskCreateSchema, mrrlinTaskCreateWithoutIdSchema, mrrlinDeployEnvSchema, mrrlinTaskDeployTargetInputSchema, deployTopologyResponseSchema, mrrlinDeployTopologyWriteSchema, githubTargetRefSchema, taskDeployTargetResponseSchema, mrrlinTaskJournalAppendSchema, mrrlinTaskUpdateSchema, mrrlinTaskListFiltersSchema, mrrlinTaskListViewSchema, apiErrorSchema, apiViolationSchema, apiViolationsErrorSchema, mrrlinPlanCreateSchema, mrrlinPlanUpdateSchema, mrrlinTaxonomyCreateSchema, mrrlinTaxonomyRenameSchema, mrrlinTaxonomyDeleteSchema, mrrlinTaskEventCreateSchema, mrrlinTaskDependencyCreateSchema, mrrlinWikiPageCreateSchema, mrrlinWikiPageUpdateSchema, mrrlinWikiPageViewSchema, mrrlinWikiPageListFiltersSchema, mrrlinWikiPageSearchQuerySchema, mrrlinWikiPageSearchResultSchema, wikiKnowledgeChunkSchema, wikiKnowledgeSearchInputSchema, wikiKnowledgeSearchResultSchema, wikiKnowledgeIndexSchema, wikiKnowledgeSearchResponseSchema, githubInstallCallbackQuerySchema, githubInstallCallbackResponseSchema, githubInstallationListResponseSchema, githubInstallationIdParamSchema, githubInstallationRepositoriesResponseSchema, githubBindProjectRepoRequestSchema, githubBindProjectRepoResponseSchema, githubCreatePullRequestRequestSchema, githubCreatePullRequestResponseSchema, githubPullRequestNumberParamSchema, githubWorkflowIdParamSchema, githubWorkflowDispatchRequestSchema, githubWorkflowDispatchResponseSchema, githubWorkflowListResponseSchema, githubPullRequestResponseSchema, githubWorkflowRunQuerySchema, githubWorkflowRunResponseSchema, githubLatestDeploymentQuerySchema, githubLatestDeploymentResponseSchema, githubMintPushTokenRequestSchema, githubMintPushTokenResponseSchema, githubReleasePushTokenRequestSchema, githubReleasePushTokenResponseSchema, projectSnapshotResponseSchema, projectSummaryResponseSchema, projectListItemSchema, projectSummaryListResponseSchema, accountEntitlementSchema, accountEntitlementResponseSchema, taskResponseSchema, taskListResponseSchema, taskSummaryListResponseSchema, planResponseSchema, planListResponseSchema, taxonomyListResponseSchema, projectMemberListResponseSchema, taskDependencyResponseSchema, taskDependencyListResponseSchema, taskEventResponseSchema, taskEventListResponseSchema, wikiPageResponseSchema, wikiPageListResponseSchema, wikiPageSummaryListResponseSchema, wikiPageSearchResponseSchema, markSpecReadyResponseSchema, wikiPageSpecReadyCasResponseSchema, mrrlinRunPrerequisiteSchema, mrrlinExecutionRunSchema, compactExecutionTouchResponseSchema, compactAsyncTouchResponseSchema, mrrlinTaskStateSchema, mrrlinTaskStateUpsertSchema, mrrlinTaskStateReportSchema, taskStateResponseSchema, retireThreadResponseSchema, mrrlinExecutionRunCreateSchema, mrrlinExecutionRunUpdateSchema, mrrlinExecutionRunRequeueSchema, mrrlinHandoffClassSchema, mrrlinResumeTaskStateSchema, mrrlinResumeSpecPayloadSchema, mrrlinResumeCycleSchema, mrrlinResolveHandoffSchema, resolveHandoffResponseSchema, createExecutionRunHandoffSchema, mrrlinRestartExecutionRunSchema, mrrlinExecutionRunTouchSchema, mrrlinSettleExecutionRunOutcomeSchema, mrrlinExecutionArtifactSchema, mrrlinExecutionArtifactCreateSchema, executionArtifactListFiltersSchema, executionRunResponseSchema, executionRunClaimResponseSchema, executionRunListResponseSchema, executionArtifactResponseSchema, executionArtifactListResponseSchema, issueAgentCredentialRequestSchema, agentCredentialResponseSchema, agentCredentialSummarySchema, agentCredentialListResponseSchema, exchangeAgentTokenRequestSchema, exchangeAgentTokenResponseSchema, setupCodeProviderSchema, setupCodeSourceSchema, createSetupCodeRequestSchema, setupCodeCreatedSchema, setupCodeStatusSchema, redeemSetupCodeRequestSchema, redeemSetupCodeResponseSchema, MRRLIN_ARTIFACT_FILE_MAX_BYTES, mrrlinArtifactFileMimeTypes, mrrlinArtifactFileClassSchema, mrrlinArtifactFileStatusSchema, mrrlinArtifactFileVisibilitySchema, mrrlinArtifactFileSchema, mrrlinArtifactFileCreateSchema, mrrlinArtifactFileUploadTargetSchema, mrrlinArtifactFilePublicSchema, artifactFileResponseSchema, artifactFileCreateResponseSchema, artifactFileListResponseSchema, MRRLIN_ARTIFACT_INLINE_MAX_BYTES, mrrlinArtifactFileExcerptSchema, mrrlinArtifactFileExcerptsResponseSchema, artifactFileExpiredResponseSchema, executionRunIdParamSchema, executionRunListFiltersSchema, mrrlinAutoSpecApprovalSchema, mrrlinProjectSchedulerPolicySchema, mrrlinProjectSchedulerPolicyUpsertSchema, projectSchedulerPolicyResponseSchema, mrrlinSchedulerPendingReasonSchema, mrrlinAutonomousStepSchema, mrrlinAutonomousStepReasonSchema, mrrlinAutonomousStepVerdictSchema, mrrlinSchedulerPendingTaskSchema, mrrlinSchedulerParkedReasonSchema, mrrlinSchedulerParkedTaskSchema, mrrlinInFlightSchedulerEntrySchema, mrrlinIneligibleTaskSchema, schedulerPendingTasksResponseSchema, wakeDirectorRequestSchema, wakeDirectorResponseSchema, mrrlinInboxItemKindSchema, mrrlinInboxItemStatusSchema, mrrlinInboxItemIdSchema, ROLLBACK_RECONCILIATION_INBOX_PREFIX, DEPLOY_APPROVAL_INBOX_PREFIX, DEPLOY_GRACE_INBOX_PREFIX, CAPABILITY_INVOCATION_IN_FLIGHT_MS, mrrlinInboxItemActionPayloadSchema, mrrlinInboxQuestionOptionSchema, mrrlinInboxQuestionOptionsSchema, REVIEW_AGAIN_ANSWER, EDIT_SPEC_ANSWER, PROCEED_ANYWAY_ANSWER, mrrlinInboxItemSchema, mrrlinInboxItemCreateSchema, mrrlinInboxItemDecideSchema, mrrlinInboxItemSummarySchema, mrrlinInboxItemViewSchema, mrrlinInboxItemListFiltersSchema, mrrlinIntentVerdictSchema, inboxItemReadResponseSchema, inboxMarkAllReadResponseSchema, mrrlinInboxItemsMarkReadRequestSchema, inboxItemsMarkReadResponseSchema, inboxItemResponseSchema, inboxItemListResponseSchema, inboxItemSummaryListResponseSchema, capabilityServerIdSchema, capabilityNameSchema, capabilityOperationNameSchema, capabilityToolNameSchema, CapabilityReversibilitySchema, CapabilityGateVerdictSchema, capabilityToolClassSourceSchema, capabilityUseOutcomeSchema, CapabilityGrantSchema, CapabilityRouteSchema, CAPABILITY_OPERATIONS, CapabilityToolClassSchema, CapabilityUseSchema, CapabilityPolicySchema, CapabilityPermitStatusSchema, CapabilityPermitSchema, CapabilityInvocationStatusSchema, CapabilityInvocationSchema, issueCapabilityPermitRequestSchema, issueCapabilityPermitResponseSchema, redeemCapabilityPermitRequestSchema, redeemCapabilityPermitResponseSchema, finalizeCapabilityInvocationRequestSchema, finalizeCapabilityInvocationResponseSchema, capabilityGrantCreateSchema, capabilityRouteUpsertSchema, capabilityToolClassOverrideSchema, capabilityGrantResponseSchema, capabilityGrantListResponseSchema, capabilityRouteResponseSchema, capabilityRouteListResponseSchema, capabilityToolClassResponseSchema, capabilityUseListResponseSchema, capabilityUseResponseSchema, capabilityUseCreateSchema, deliveryResolutionResponseSchema, resolvedAccountSchema, resolveAccountResponseSchema, linkAccountIdentityRequestSchema, accountSummaryResponseSchema, compactSchedulerPath, compactSchedulerMaxBytes, schedulerCount, schedulerTotals, schedulerGroup, schedulerIdentity, schedulerJobHint, schedulerDate, compactSchedulerResponseSchema;
20013
+ var mrrlinTaskStatusSchema, mrrlinTaskCreateStatusSchema, mrrlinTerminalTaskStatuses, mrrlinTaskTypeSchema, mrrlinTaskImpactSchema, mrrlinAutonomyLevelSchema, mrrlinTaskEventAutonomyLevelSchema, mrrlinAutoDeploySchema, mrrlinTaskDomainsSchema, mrrlinDeclaredOutcomeShapeSchema, mrrlinDeclaredOutcomeSchema, MRRLIN_PROJECT_CODE_HOSTS, mrrlinProjectCodeHostSchema, GIT_SHA_PATTERN, SHA256_HEX_PATTERN, MRRLIN_LOCAL_DELIVERY_REF_PATTERN, mrrlinLocalDeliveryRefSchema, mrrlinLocalBuildStepSchema, mrrlinLocalBuildEvidenceSchema, mrrlinReceiptSchema, LOCAL_BUILD_RECEIPT_PAYLOAD_KEY, mrrlinSpecApprovedSchema, mrrlinTaskSourceSchema, mrrlinPlanStatusSchema, mrrlinTaskEventTypeSchema, mrrlinTaskEventCreateKindSchema, githubRepositorySelectionSchema, mrrlinTaskIdSchema, mrrlinPlanIdSchema, mrrlinWikiPageIdSchema, blockerTaskIdSchema, blockerTaskIdsSchema, blockerStatusResponseSchema, draftLinkPageIdSchema, draftLinkResponseSchema, draftConstitutionResponseSchema, linkedTaskPageIdSchema, linkedTaskResponseSchema, mrrlinWikiPagePathSchema, PROJECT_CONSTITUTION_PAGE, mrrlinExecutionRunIdSchema, mrrlinExecutionArtifactIdSchema, mrrlinProjectSlugSchema, mrrlinProjectEmojiSchema, terminalTaskStatusSet, mrrlinTaskTagSchema, mrrlinTaskTagsSchema, mrrlinExecutionRunStatusSchema, mrrlinRunBlockingReasonCodeSchema, KNOWN_RUN_BLOCKING_REASON_CODES, mrrlinRunBlockingReasonCodeReadSchema, mrrlinExecutionArtifactKindSchema, mrrlinNonCodeOutcomeSchema, mrrlinIntentProvenanceRefSchema, mrrlinIntentProvenanceSchema, mrrlinDeployAttemptPayloadSchema, mrrlinVerificationPayloadSchema, producedUrlSafeString, mrrlinProducedUrlPayloadSchema, mrrlinDeliverablePayloadSchema, SUPPORTED_EXECUTION_POLICY_BY_DOMAIN, SUPPORTED_EXECUTION_DOMAINS, taxonomyCategorySchema, taxonomySubcategorySchema, mrrlinTaskAssigneeSchema, mrrlinStopReasonSchema, mrrlinMixedCodeApprovalSnapshotSchema, mrrlinMixedCodeApprovalSchema, mrrlinTaskAcceptanceDecisionSchema, mrrlinTaskOperatorAcceptanceSchema, mrrlinTaskAcceptanceCreateSchema, mrrlinTaskSchema, mrrlinTaskSummarySchema, mrrlinPlanSchema, mrrlinTaxonomyEntrySchema, mrrlinTaskDependencySchema, mrrlinTaskEventSchema, mrrlinWikiPageSchema, mrrlinWikiPageSummarySchema, mrrlinMarkSpecReadyRequestSchema, mrrlinTakeOverTaskRequestSchema, mrrlinCloseTaskAsWontDoRequestSchema, mrrlinGithubBindingSchema, mrrlinGithubInstallationSchema, mrrlinGithubPullRequestSchema, mrrlinGithubPullRequestCheckStateSchema, mrrlinGithubPullRequestCheckSourceSchema, mrrlinGithubPullRequestObservedSchema, mrrlinGithubWorkflowSchema, mrrlinGithubRepositorySchema, mrrlinGithubWorkflowDispatchSchema, mrrlinProjectSummarySchema, mrrlinProjectOperatorInputSchema, mrrlinProjectUpsertSchema, mrrlinProjectRenameSchema, ONBOARDING_KICKOFF_TRANSITIONS, mrrlinOnboardingKickoffTransitionSchema, mrrlinOnboardingKickoffTransitionResponseSchema, mrrlinProjectMemberSchema, mrrlinProjectMemberAddSchema, mrrlinProjectMemberRemoveSchema, mrrlinProjectSnapshotSchema, mrrlinTaskCreateShapeSchema, mrrlinTaskCreateSchema, mrrlinTaskCreateWithoutIdSchema, mrrlinDeployEnvSchema, mrrlinTaskDeployTargetInputSchema, deployTopologyResponseSchema, mrrlinDeployTopologyWriteSchema, githubTargetRefSchema, taskDeployTargetResponseSchema, mrrlinTaskJournalAppendSchema, mrrlinTaskUpdateSchema, mrrlinTaskListFiltersSchema, mrrlinTaskListViewSchema, apiErrorSchema, apiViolationSchema, apiViolationsErrorSchema, mrrlinPlanCreateSchema, mrrlinPlanUpdateSchema, mrrlinTaxonomyCreateSchema, mrrlinTaxonomyRenameSchema, mrrlinTaxonomyDeleteSchema, mrrlinTaskEventCreateSchema, mrrlinTaskDependencyCreateSchema, mrrlinWikiPageCreateSchema, mrrlinWikiPageUpdateSchema, mrrlinWikiPageViewSchema, mrrlinWikiPageListFiltersSchema, mrrlinWikiPageSearchQuerySchema, mrrlinWikiPageSearchResultSchema, wikiKnowledgeChunkSchema, wikiKnowledgeSearchInputSchema, wikiKnowledgeSearchResultSchema, wikiKnowledgeIndexSchema, wikiKnowledgeSearchResponseSchema, githubInstallCallbackQuerySchema, githubInstallCallbackResponseSchema, githubInstallationListResponseSchema, githubInstallationIdParamSchema, githubInstallationRepositoriesResponseSchema, githubBindProjectRepoRequestSchema, githubBindProjectRepoResponseSchema, githubCreatePullRequestRequestSchema, githubCreatePullRequestResponseSchema, githubPullRequestNumberParamSchema, githubWorkflowIdParamSchema, githubWorkflowDispatchRequestSchema, githubWorkflowDispatchResponseSchema, githubWorkflowListResponseSchema, githubPullRequestResponseSchema, githubWorkflowRunQuerySchema, githubWorkflowRunResponseSchema, githubLatestDeploymentQuerySchema, githubLatestDeploymentResponseSchema, githubMintPushTokenRequestSchema, githubMintPushTokenResponseSchema, githubReleasePushTokenRequestSchema, githubReleasePushTokenResponseSchema, projectSnapshotResponseSchema, projectSummaryResponseSchema, projectListItemSchema, projectSummaryListResponseSchema, accountEntitlementSchema, accountEntitlementResponseSchema, taskResponseSchema, taskListResponseSchema, taskSummaryListResponseSchema, planResponseSchema, planListResponseSchema, taxonomyListResponseSchema, projectMemberListResponseSchema, taskDependencyResponseSchema, taskDependencyListResponseSchema, taskEventResponseSchema, taskEventListResponseSchema, wikiPageResponseSchema, wikiPageListResponseSchema, wikiPageSummaryListResponseSchema, wikiPageSearchResponseSchema, markSpecReadyResponseSchema, wikiPageSpecReadyCasResponseSchema, mrrlinRunPrerequisiteSchema, mrrlinExecutionRunSchema, compactExecutionTouchResponseSchema, compactAsyncTouchResponseSchema, mrrlinTaskStateSchema, mrrlinTaskStateUpsertSchema, mrrlinTaskStateReportSchema, taskStateResponseSchema, retireThreadResponseSchema, mrrlinExecutionRunCreateSchema, mrrlinExecutionRunUpdateSchema, mrrlinExecutionRunRequeueSchema, mrrlinHandoffClassSchema, mrrlinResumeTaskStateSchema, mrrlinResumeSpecPayloadSchema, mrrlinResumeCycleSchema, mrrlinResolveHandoffSchema, resolveHandoffResponseSchema, createExecutionRunHandoffSchema, mrrlinRestartExecutionRunSchema, mrrlinExecutionRunTouchSchema, mrrlinSettleExecutionRunOutcomeSchema, mrrlinExecutionArtifactSchema, mrrlinExecutionArtifactCreateSchema, executionArtifactListFiltersSchema, executionRunResponseSchema, executionRunClaimResponseSchema, executionRunListResponseSchema, executionArtifactResponseSchema, executionArtifactListResponseSchema, issueAgentCredentialRequestSchema, agentCredentialResponseSchema, agentCredentialSummarySchema, agentCredentialListResponseSchema, exchangeAgentTokenRequestSchema, exchangeAgentTokenResponseSchema, setupCodeProviderSchema, setupCodeSourceSchema, createSetupCodeRequestSchema, setupCodeCreatedSchema, setupCodeStatusSchema, redeemSetupCodeRequestSchema, redeemSetupCodeResponseSchema, MRRLIN_ARTIFACT_FILE_MAX_BYTES, mrrlinArtifactFileMimeTypes, mrrlinArtifactFileClassSchema, mrrlinArtifactFileStatusSchema, mrrlinArtifactFileVisibilitySchema, mrrlinArtifactFileSchema, mrrlinArtifactFileCreateSchema, mrrlinArtifactFileUploadTargetSchema, mrrlinArtifactFilePublicSchema, artifactFileResponseSchema, artifactFileCreateResponseSchema, artifactFileListResponseSchema, MRRLIN_ARTIFACT_INLINE_MAX_BYTES, mrrlinArtifactFileExcerptSchema, mrrlinArtifactFileExcerptsResponseSchema, artifactFileExpiredResponseSchema, executionRunIdParamSchema, executionRunListFiltersSchema, mrrlinAutoSpecApprovalSchema, mrrlinProjectSchedulerPolicySchema, mrrlinProjectSchedulerPolicyUpsertSchema, projectSchedulerPolicyResponseSchema, mrrlinSchedulerPendingReasonSchema, mrrlinAutonomousStepSchema, mrrlinAutonomousStepReasonSchema, mrrlinAutonomousStepVerdictSchema, mrrlinSchedulerPendingTaskSchema, mrrlinSchedulerParkedReasonSchema, mrrlinSchedulerParkedTaskSchema, mrrlinInFlightSchedulerEntrySchema, mrrlinIneligibleTaskSchema, schedulerPendingTasksResponseSchema, wakeDirectorRequestSchema, wakeDirectorResponseSchema, mrrlinInboxItemKindSchema, mrrlinInboxItemStatusSchema, mrrlinInboxItemIdSchema, ROLLBACK_RECONCILIATION_INBOX_PREFIX, MRRLIN_HELPER_CAPABILITIES_HEADER, MRRLIN_HELPER_CAPABILITY_LAND_AFTER_ACCEPT, MRRLIN_HELPER_CAPABILITIES, DEPLOY_APPROVAL_INBOX_PREFIX, DEPLOY_GRACE_INBOX_PREFIX, CAPABILITY_INVOCATION_IN_FLIGHT_MS, mrrlinInboxItemActionPayloadSchema, mrrlinInboxQuestionOptionSchema, mrrlinInboxQuestionOptionsSchema, REVIEW_AGAIN_ANSWER, EDIT_SPEC_ANSWER, PROCEED_ANYWAY_ANSWER, mrrlinInboxItemSchema, mrrlinInboxItemCreateSchema, mrrlinInboxItemDecideSchema, mrrlinInboxItemSummarySchema, mrrlinInboxItemViewSchema, mrrlinInboxItemListFiltersSchema, mrrlinIntentVerdictSchema, inboxItemReadResponseSchema, inboxMarkAllReadResponseSchema, mrrlinInboxItemsMarkReadRequestSchema, inboxItemsMarkReadResponseSchema, inboxItemResponseSchema, inboxItemListResponseSchema, inboxItemSummaryListResponseSchema, capabilityServerIdSchema, capabilityNameSchema, capabilityOperationNameSchema, capabilityToolNameSchema, CapabilityReversibilitySchema, CapabilityGateVerdictSchema, capabilityToolClassSourceSchema, capabilityUseOutcomeSchema, CapabilityGrantSchema, CapabilityRouteSchema, CAPABILITY_OPERATIONS, CapabilityToolClassSchema, CapabilityUseSchema, CapabilityPolicySchema, CapabilityPermitStatusSchema, CapabilityPermitSchema, CapabilityInvocationStatusSchema, CapabilityInvocationSchema, issueCapabilityPermitRequestSchema, issueCapabilityPermitResponseSchema, redeemCapabilityPermitRequestSchema, redeemCapabilityPermitResponseSchema, finalizeCapabilityInvocationRequestSchema, finalizeCapabilityInvocationResponseSchema, capabilityGrantCreateSchema, capabilityRouteUpsertSchema, capabilityToolClassOverrideSchema, capabilityGrantResponseSchema, capabilityGrantListResponseSchema, capabilityRouteResponseSchema, capabilityRouteListResponseSchema, capabilityToolClassResponseSchema, capabilityUseListResponseSchema, capabilityUseResponseSchema, capabilityUseCreateSchema, deliveryResolutionResponseSchema, resolvedAccountSchema, resolveAccountResponseSchema, linkAccountIdentityRequestSchema, accountSummaryResponseSchema, compactSchedulerPath, compactSchedulerMaxBytes, schedulerCount, schedulerTotals, schedulerGroup, schedulerIdentity, schedulerJobHint, schedulerDate, compactSchedulerResponseSchema;
20014
20014
  var init_dist = __esm({
20015
20015
  "../../packages/schemas/dist/index.js"() {
20016
20016
  "use strict";
@@ -20282,6 +20282,10 @@ var init_dist = __esm({
20282
20282
  "workspace_boundary_unresolvable",
20283
20283
  // PUB-011: public proof collected but closure signing is unavailable
20284
20284
  "receipt_signing_unavailable",
20285
+ // Dogfood v4 R3-1: a human_review code run on a local checkout waits, still pending, for a helper
20286
+ // that lands code only after the operator's Accept. An older helper landed it on the default branch
20287
+ // the moment the run finished, so the claim route refuses it and records this on the run instead.
20288
+ "helper_update_required",
20285
20289
  "unknown"
20286
20290
  ]);
20287
20291
  KNOWN_RUN_BLOCKING_REASON_CODES = new Set(mrrlinRunBlockingReasonCodeSchema.options);
@@ -21883,6 +21887,9 @@ var init_dist = __esm({
21883
21887
  mrrlinInboxItemStatusSchema = external_exports.enum(["pending", "approved", "rejected", "acknowledged"]);
21884
21888
  mrrlinInboxItemIdSchema = external_exports.string().regex(/^II-[A-Za-z0-9._-]+$/);
21885
21889
  ROLLBACK_RECONCILIATION_INBOX_PREFIX = "II-ROLLBACK-RECONCILE-";
21890
+ MRRLIN_HELPER_CAPABILITIES_HEADER = "x-mrrlin-helper-capabilities";
21891
+ MRRLIN_HELPER_CAPABILITY_LAND_AFTER_ACCEPT = "land-after-accept";
21892
+ MRRLIN_HELPER_CAPABILITIES = [MRRLIN_HELPER_CAPABILITY_LAND_AFTER_ACCEPT];
21886
21893
  DEPLOY_APPROVAL_INBOX_PREFIX = "II-deploy-approve-";
21887
21894
  DEPLOY_GRACE_INBOX_PREFIX = "II-grace-cancel-";
21888
21895
  CAPABILITY_INVOCATION_IN_FLIGHT_MS = 5 * 6e4;
@@ -78596,7 +78603,15 @@ function createMrrlinClient(config2) {
78596
78603
  },
78597
78604
  async claimExecutionRun(projectSlug, runId, options) {
78598
78605
  try {
78599
- const body = await request(`${projectPath(projectSlug)}/execution-runs/${encodeURIComponent(runId)}/claim`, options?.progressLease ? { method: "POST", headers: { "x-mrrlin-lease-mode": "progress" } } : { method: "POST" });
78606
+ const body = await request(`${projectPath(projectSlug)}/execution-runs/${encodeURIComponent(runId)}/claim`, {
78607
+ method: "POST",
78608
+ headers: {
78609
+ // Dogfood v4 R3-1: say what this helper can do, so the API never hands a human_review code run
78610
+ // on a local checkout to a helper that would land it before the operator's Accept.
78611
+ [MRRLIN_HELPER_CAPABILITIES_HEADER]: MRRLIN_HELPER_CAPABILITIES.join(","),
78612
+ ...options?.progressLease ? { "x-mrrlin-lease-mode": "progress" } : {}
78613
+ }
78614
+ });
78600
78615
  return executionRunClaimResponseSchema.parse(body).data;
78601
78616
  } catch (error51) {
78602
78617
  if (error51 instanceof MrrlinApiError && error51.status === 409)
@@ -106992,7 +107007,7 @@ Do NOT derail the current task - if the operator has an in-flight question, answ
106992
107007
  }
106993
107008
 
106994
107009
  // src/_generated/version.ts
106995
- var PKG_VERSION = "0.4.273";
107010
+ var PKG_VERSION = "0.4.274";
106996
107011
 
106997
107012
  // src/bridge-allowed-origins.ts
106998
107013
  var DEFAULT_DIRECTOR_BRIDGE_ALLOWED_ORIGINS = [
@@ -126010,8 +126025,23 @@ function reportAutopilotLimitPause2(client, reason, resetAt) {
126010
126025
  void client.pauseAutopilotForLimit({ source: "provider_limit", reason, resetAt }).catch(() => {
126011
126026
  });
126012
126027
  }
126013
- async function runOrphanWorktreeSweep(client, opts) {
126014
- if (f74ColdWorkPossibleOnHost()) return;
126028
+ async function runOrphanWorktreeSweep(client, opts, seams = {}) {
126029
+ if (!(seams.f74Possible ?? f74ColdWorkPossibleOnHost)()) {
126030
+ await (seams.reap ?? reapOrphanWorktrees)(client, opts).catch((error51) => {
126031
+ process.stderr.write(
126032
+ `[mrrlin-mcp director-bridge] orphan worktree sweep failed: ${error51 instanceof Error ? error51.message : String(error51)}
126033
+ `
126034
+ );
126035
+ });
126036
+ }
126037
+ await (seams.recover ?? recoverPendingSettlementJournals)(client, opts).catch((error51) => {
126038
+ process.stderr.write(
126039
+ `[mrrlin-mcp director-bridge] settlement recovery failed: ${error51 instanceof Error ? error51.message : String(error51)}
126040
+ `
126041
+ );
126042
+ });
126043
+ }
126044
+ async function reapOrphanWorktrees(client, opts) {
126015
126045
  const cutoff = Date.now() - worktreeRetentionMs();
126016
126046
  const isReapable = (worktreePath) => {
126017
126047
  try {
@@ -126060,9 +126090,8 @@ async function runOrphanWorktreeSweep(client, opts) {
126060
126090
  );
126061
126091
  }
126062
126092
  }
126063
- await recoverPendingSettlementJournals(client, opts);
126064
126093
  }
126065
- async function recoverSingleLanding(client, checkoutPath, projectSlug, runId, receipt, locksDir, journal, stateDir) {
126094
+ async function recoverSingleLanding(client, checkoutPath, projectSlug, runId, receipt, locksDir, journal, stateDir, onLanded) {
126066
126095
  if (!receipt || !client.getJwks) return false;
126067
126096
  const targetKeyId = receipt.signingKeyId ?? receipt.signing_key_id;
126068
126097
  const jwks = await client.getJwks().catch(() => null);
@@ -126119,6 +126148,13 @@ async function recoverSingleLanding(client, checkoutPath, projectSlug, runId, re
126119
126148
  checkoutDigest: git3.checkout_digest
126120
126149
  });
126121
126150
  }
126151
+ await onLanded?.({
126152
+ applied: applyRes.applied,
126153
+ defaultBranch,
126154
+ previousSha: git3.base_oid,
126155
+ headSha: git3.head_oid,
126156
+ checkoutRealPath
126157
+ });
126122
126158
  if (journal && stateDir) {
126123
126159
  updateSettlementJournalSync(stateDir, journal, { phase: "complete" });
126124
126160
  }
@@ -126127,17 +126163,63 @@ async function recoverSingleLanding(client, checkoutPath, projectSlug, runId, re
126127
126163
  });
126128
126164
  return success2;
126129
126165
  }
126130
- async function landingAuthorized(client, projectSlug, runId, receiptId) {
126166
+ async function authorizedLandingTask(client, projectSlug, runId, receiptId) {
126131
126167
  try {
126132
126168
  const run5 = await client.getExecutionRun(projectSlug, runId);
126133
126169
  const task = await client.getTask(projectSlug, run5.taskId);
126134
- return task.status === "closed_done" && (task.terminalReceiptId == null || task.terminalReceiptId === receiptId);
126170
+ return task.status === "closed_done" && (task.terminalReceiptId == null || task.terminalReceiptId === receiptId) ? task : null;
126135
126171
  } catch {
126136
- return false;
126172
+ return null;
126137
126173
  }
126138
126174
  }
126175
+ function recordRecoveredLanding(client, projectSlug, runId, task) {
126176
+ return async (landing) => {
126177
+ const outcome = landing.applied ? "applied" : "already_applied";
126178
+ const ctx = {
126179
+ runId,
126180
+ taskId: task.id,
126181
+ title: task.title,
126182
+ defaultBranch: landing.defaultBranch,
126183
+ previousSha: landing.applied ? landing.previousSha : null,
126184
+ headSha: landing.headSha,
126185
+ detail: ""
126186
+ };
126187
+ const note = localLandingNote(outcome, ctx);
126188
+ await client.createInboxItem(projectSlug, {
126189
+ id: note.id,
126190
+ kind: landing.applied ? "completed" : "info",
126191
+ taskId: task.id,
126192
+ body: note.body
126193
+ });
126194
+ const artifactId = `EA-local-apply-${runId}-${landing.applied ? "applied" : "already-applied"}`;
126195
+ const existing = await client.listExecutionArtifacts(projectSlug, runId);
126196
+ if (!existing.some((artifact) => artifact.id === artifactId)) await client.appendExecutionArtifact(projectSlug, runId, {
126197
+ id: artifactId,
126198
+ kind: "checkpoint",
126199
+ payload: {
126200
+ event: "local_apply",
126201
+ defaultBranch: landing.defaultBranch,
126202
+ applied: landing.applied,
126203
+ reason: landing.applied ? null : outcome,
126204
+ previousSha: ctx.previousSha,
126205
+ headSha: landing.headSha
126206
+ }
126207
+ });
126208
+ if (landing.applied) {
126209
+ await noteTasksLandedAlongside({ client }, {
126210
+ projectSlug,
126211
+ checkout: landing.checkoutRealPath,
126212
+ defaultBranch: landing.defaultBranch,
126213
+ previousSha: landing.previousSha,
126214
+ newSha: landing.headSha,
126215
+ landedRunId: runId,
126216
+ landedTaskId: task.id
126217
+ }).catch(() => []);
126218
+ }
126219
+ };
126220
+ }
126139
126221
  async function recoverPendingSettlementJournals(client, opts) {
126140
- const stateDir = resolveStateDir(process.env);
126222
+ const stateDir = opts.stateDir ?? resolveStateDir(process.env);
126141
126223
  const pendingJournals = listPendingSettlementJournalsSync(stateDir);
126142
126224
  const locksDir = import_node_path56.default.join(stateDir, "locks");
126143
126225
  for (const journal of pendingJournals) {
@@ -126151,7 +126233,8 @@ async function recoverPendingSettlementJournals(client, opts) {
126151
126233
  }
126152
126234
  }
126153
126235
  if (!journal.receipt) continue;
126154
- if (!await landingAuthorized(client, journal.projectSlug, journal.runId, journal.receipt.receiptId)) continue;
126236
+ const task = await authorizedLandingTask(client, journal.projectSlug, journal.runId, journal.receipt.receiptId);
126237
+ if (!task) continue;
126155
126238
  try {
126156
126239
  await recoverSingleLanding(
126157
126240
  client,
@@ -126161,7 +126244,8 @@ async function recoverPendingSettlementJournals(client, opts) {
126161
126244
  journal.receipt,
126162
126245
  locksDir,
126163
126246
  journal,
126164
- stateDir
126247
+ stateDir,
126248
+ recordRecoveredLanding(client, journal.projectSlug, journal.runId, task)
126165
126249
  );
126166
126250
  } catch {
126167
126251
  }
@@ -126183,7 +126267,8 @@ async function recoverPendingSettlementJournals(client, opts) {
126183
126267
  if (!lookup || !("data" in lookup) || !("receipt" in lookup.data)) continue;
126184
126268
  const settlement = lookup.data;
126185
126269
  const journal = journals.find((j) => j.receipt?.receiptId === settlement.receipt.receiptId);
126186
- if (!await landingAuthorized(client, project.slug, landing.runId, settlement.receipt.receiptId)) continue;
126270
+ const task = await authorizedLandingTask(client, project.slug, landing.runId, settlement.receipt.receiptId);
126271
+ if (!task) continue;
126187
126272
  try {
126188
126273
  await recoverSingleLanding(
126189
126274
  client,
@@ -126193,7 +126278,8 @@ async function recoverPendingSettlementJournals(client, opts) {
126193
126278
  settlement.receipt,
126194
126279
  locksDir,
126195
126280
  journal,
126196
- stateDir
126281
+ stateDir,
126282
+ recordRecoveredLanding(client, project.slug, landing.runId, task)
126197
126283
  );
126198
126284
  } catch {
126199
126285
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrrlin-dev/mcp",
3
- "version": "0.4.273",
3
+ "version": "0.4.274",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "mrrlin-mcp": "dist/bin.cjs"