@mrrlin-dev/mcp 0.4.119 → 0.4.120
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 +31 -1
- package/package.json +1 -1
package/dist/bin.cjs
CHANGED
|
@@ -37299,6 +37299,21 @@ function describeCapabilityRefusal(input) {
|
|
|
37299
37299
|
return `${happened} ${template.action(ctx)}`;
|
|
37300
37300
|
}
|
|
37301
37301
|
|
|
37302
|
+
// ../../packages/schemas/dist/legalVersions.js
|
|
37303
|
+
var recordLegalConsentRequestSchema = external_exports.object({
|
|
37304
|
+
source: external_exports.enum(["director_setup", "login", "onboarding_v2"]).default("director_setup"),
|
|
37305
|
+
termsVersion: external_exports.string().min(1, "termsVersion is required"),
|
|
37306
|
+
privacyVersion: external_exports.string().min(1, "privacyVersion is required")
|
|
37307
|
+
});
|
|
37308
|
+
var legalConsentResponseSchema = external_exports.object({
|
|
37309
|
+
data: external_exports.object({
|
|
37310
|
+
hasConsented: external_exports.boolean(),
|
|
37311
|
+
termsVersion: external_exports.string(),
|
|
37312
|
+
privacyVersion: external_exports.string(),
|
|
37313
|
+
agreedAt: external_exports.string().nullable()
|
|
37314
|
+
})
|
|
37315
|
+
});
|
|
37316
|
+
|
|
37302
37317
|
// ../../packages/schemas/dist/operationIds.js
|
|
37303
37318
|
var openApiOperationIds = {
|
|
37304
37319
|
appendExecutionArtifact: "appendExecutionArtifact",
|
|
@@ -37392,6 +37407,8 @@ var openApiOperationIds = {
|
|
|
37392
37407
|
issueOperatorAgentCredential: "issueOperatorAgentCredential",
|
|
37393
37408
|
listOperatorAgentCredentials: "listOperatorAgentCredentials",
|
|
37394
37409
|
revokeOperatorAgentCredential: "revokeOperatorAgentCredential",
|
|
37410
|
+
recordLegalConsent: "recordLegalConsent",
|
|
37411
|
+
getLegalConsent: "getLegalConsent",
|
|
37395
37412
|
createArtifactFile: "createArtifactFile",
|
|
37396
37413
|
completeArtifactFile: "completeArtifactFile",
|
|
37397
37414
|
getArtifactFile: "getArtifactFile",
|
|
@@ -37480,6 +37497,7 @@ var operatorSessionSchema = external_exports.object({
|
|
|
37480
37497
|
scope: external_exports.enum(["project", "operator"]).default("project"),
|
|
37481
37498
|
accountId: external_exports.string().uuid().optional(),
|
|
37482
37499
|
identitySubject: external_exports.string().min(1).optional(),
|
|
37500
|
+
githubId: external_exports.union([external_exports.number().int(), external_exports.string().min(1)]).optional(),
|
|
37483
37501
|
purpose: external_exports.enum(["session", "identity_assertion"]).default("session"),
|
|
37484
37502
|
// Billing entitlement carried on the session. Optional because a GitHub session never has one
|
|
37485
37503
|
// and a Firebase session has one only once the claims exist. `determinedAt` is what makes it
|
|
@@ -41695,6 +41713,18 @@ function createMrrlinClient(config2) {
|
|
|
41695
41713
|
method: "DELETE"
|
|
41696
41714
|
});
|
|
41697
41715
|
},
|
|
41716
|
+
async recordLegalConsent(input) {
|
|
41717
|
+
const body = await request("/operator/legal-consent", {
|
|
41718
|
+
body: JSON.stringify(input),
|
|
41719
|
+
headers: { "content-type": "application/json" },
|
|
41720
|
+
method: "POST"
|
|
41721
|
+
});
|
|
41722
|
+
return legalConsentResponseSchema.parse(body).data;
|
|
41723
|
+
},
|
|
41724
|
+
async getLegalConsent() {
|
|
41725
|
+
const body = await request("/operator/legal-consent");
|
|
41726
|
+
return legalConsentResponseSchema.parse(body).data;
|
|
41727
|
+
},
|
|
41698
41728
|
// ── Server-Authoritative Intent Methods ─────────────────────────────────
|
|
41699
41729
|
async appendOperatorTranscriptMessage(projectSlug, content) {
|
|
41700
41730
|
const body = await request(`${projectPath(projectSlug)}/intent/transcript`, {
|
|
@@ -62072,7 +62102,7 @@ Do NOT derail the current task - if the operator has an in-flight question, answ
|
|
|
62072
62102
|
}
|
|
62073
62103
|
|
|
62074
62104
|
// src/_generated/version.ts
|
|
62075
|
-
var PKG_VERSION = "0.4.
|
|
62105
|
+
var PKG_VERSION = "0.4.120";
|
|
62076
62106
|
|
|
62077
62107
|
// src/receipt-signing.ts
|
|
62078
62108
|
var import_node_crypto13 = __toESM(require("node:crypto"), 1);
|