@mrrlin-dev/mcp 0.4.252 → 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 +10 -2
- 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);
|
|
@@ -78482,6 +78485,11 @@ function createMrrlinClient(config2) {
|
|
|
78482
78485
|
}
|
|
78483
78486
|
return inboxItemListResponseSchema.parse(body).data;
|
|
78484
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
|
+
},
|
|
78485
78493
|
async createInboxItem(projectSlug, input) {
|
|
78486
78494
|
const body = await request(`${projectPath(projectSlug)}/inbox`, {
|
|
78487
78495
|
body: JSON.stringify(input),
|
|
@@ -106856,7 +106864,7 @@ Do NOT derail the current task - if the operator has an in-flight question, answ
|
|
|
106856
106864
|
}
|
|
106857
106865
|
|
|
106858
106866
|
// src/_generated/version.ts
|
|
106859
|
-
var PKG_VERSION = "0.4.
|
|
106867
|
+
var PKG_VERSION = "0.4.253";
|
|
106860
106868
|
|
|
106861
106869
|
// src/bridge-allowed-origins.ts
|
|
106862
106870
|
var DEFAULT_DIRECTOR_BRIDGE_ALLOWED_ORIGINS = [
|