@mrrlin-dev/mcp 0.4.252 → 0.4.256

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 +12 -3
  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({ data: external_exports.array(mrrlinInboxItemSchema) });
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.252";
106867
+ var PKG_VERSION = "0.4.256";
106860
106868
 
106861
106869
  // src/bridge-allowed-origins.ts
106862
106870
  var DEFAULT_DIRECTOR_BRIDGE_ALLOWED_ORIGINS = [
@@ -126265,6 +126273,7 @@ function shouldForwardRateLimits(capabilities) {
126265
126273
  return capabilities.pushesRateLimits;
126266
126274
  }
126267
126275
  var BOOTSTRAP_SEAT_REFRESH_TIMEOUT_MS = 3e3;
126276
+ var SELECTED_PROVIDER_REFRESH_MS = 3e5;
126268
126277
  function freshThreadNotice(operatorText, recentOperatorMessages = []) {
126269
126278
  return operatorWritesCyrillic(operatorText, recentOperatorMessages) ? "\u041F\u0440\u043E\u0434\u043E\u0432\u0436\u0443\u044E \u0440\u043E\u0437\u043C\u043E\u0432\u0443 \u0437 \u0447\u0438\u0441\u0442\u043E\u0433\u043E \u0430\u0440\u043A\u0443\u0448\u0430. \u041F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u0456 \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044F \u0446\u044C\u043E\u0433\u043E \u0447\u0430\u0442\u0443 \u044F \u043F\u0456\u0434\u0442\u044F\u0433\u043D\u0443 \u0437 \u0456\u0441\u0442\u043E\u0440\u0456\u0457, \u043D\u0430\u0441\u043A\u0456\u043B\u044C\u043A\u0438 \u0446\u0435 \u043C\u043E\u0436\u043B\u0438\u0432\u043E." : "Continuing this chat in a fresh conversation. Earlier messages are brought over from history where possible.";
126270
126279
  }
@@ -128830,7 +128839,7 @@ async function startBridge(startupDeps, agentSecret, startupRollback) {
128830
128839
  if (refreshSelectedProvider) {
128831
128840
  const refresh = refreshSelectedProvider;
128832
128841
  void refresh();
128833
- selectedProviderTimer = setInterval(() => void refresh(), 6e4);
128842
+ selectedProviderTimer = setInterval(() => void refresh(), SELECTED_PROVIDER_REFRESH_MS);
128834
128843
  selectedProviderTimer.unref?.();
128835
128844
  startupRollback?.add(() => {
128836
128845
  if (selectedProviderTimer) clearInterval(selectedProviderTimer);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrrlin-dev/mcp",
3
- "version": "0.4.252",
3
+ "version": "0.4.256",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "mrrlin-mcp": "dist/bin.cjs"