@mrrlin-dev/mcp 0.4.251 → 0.4.253
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 +13 -4
- package/package.json +1 -1
package/dist/bin.cjs
CHANGED
|
@@ -22083,7 +22083,10 @@ var init_dist = __esm({
|
|
|
22083
22083
|
data: mrrlinInboxItemSchema,
|
|
22084
22084
|
replayed: external_exports.boolean().optional()
|
|
22085
22085
|
});
|
|
22086
|
-
inboxItemListResponseSchema = external_exports.object({
|
|
22086
|
+
inboxItemListResponseSchema = external_exports.object({
|
|
22087
|
+
data: external_exports.array(mrrlinInboxItemSchema),
|
|
22088
|
+
meta: external_exports.object({ unreadCount: external_exports.number().int().nonnegative() }).optional()
|
|
22089
|
+
});
|
|
22087
22090
|
inboxItemSummaryListResponseSchema = external_exports.object({ data: external_exports.array(mrrlinInboxItemSummarySchema) });
|
|
22088
22091
|
capabilityServerIdSchema = external_exports.string().trim().min(1).max(200);
|
|
22089
22092
|
capabilityNameSchema = external_exports.string().trim().min(1).max(200);
|
|
@@ -77904,8 +77907,9 @@ function createMrrlinClient(config2) {
|
|
|
77904
77907
|
const body = await request(projectPath(projectSlug));
|
|
77905
77908
|
return projectSummaryResponseSchema.parse(body).data;
|
|
77906
77909
|
},
|
|
77907
|
-
async getProjectSnapshot(projectSlug) {
|
|
77908
|
-
const
|
|
77910
|
+
async getProjectSnapshot(projectSlug, options) {
|
|
77911
|
+
const query = options?.taskId ? `?taskId=${encodeURIComponent(options.taskId)}` : "";
|
|
77912
|
+
const body = await request(`${projectPath(projectSlug)}/snapshot${query}`);
|
|
77909
77913
|
return projectSnapshotResponseSchema.parse(body).data;
|
|
77910
77914
|
},
|
|
77911
77915
|
async getTask(projectSlug, taskId, options) {
|
|
@@ -78481,6 +78485,11 @@ function createMrrlinClient(config2) {
|
|
|
78481
78485
|
}
|
|
78482
78486
|
return inboxItemListResponseSchema.parse(body).data;
|
|
78483
78487
|
},
|
|
78488
|
+
async listInboxPreview(projectSlug, limit) {
|
|
78489
|
+
const url2 = appendQuery(`${projectPath(projectSlug)}/inbox`, { limit: String(limit), unreadCount: "include" });
|
|
78490
|
+
const parsed = inboxItemListResponseSchema.parse(await request(url2));
|
|
78491
|
+
return { items: parsed.data, unreadCount: parsed.meta?.unreadCount ?? parsed.data.filter((item) => item.readAt === null).length };
|
|
78492
|
+
},
|
|
78484
78493
|
async createInboxItem(projectSlug, input) {
|
|
78485
78494
|
const body = await request(`${projectPath(projectSlug)}/inbox`, {
|
|
78486
78495
|
body: JSON.stringify(input),
|
|
@@ -106855,7 +106864,7 @@ Do NOT derail the current task - if the operator has an in-flight question, answ
|
|
|
106855
106864
|
}
|
|
106856
106865
|
|
|
106857
106866
|
// src/_generated/version.ts
|
|
106858
|
-
var PKG_VERSION = "0.4.
|
|
106867
|
+
var PKG_VERSION = "0.4.253";
|
|
106859
106868
|
|
|
106860
106869
|
// src/bridge-allowed-origins.ts
|
|
106861
106870
|
var DEFAULT_DIRECTOR_BRIDGE_ALLOWED_ORIGINS = [
|