@mrrlin-dev/mcp 0.3.38 → 0.3.40

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 +13 -3
  2. package/package.json +4 -4
package/dist/bin.cjs CHANGED
@@ -38955,11 +38955,11 @@ function startCodexProbe(deps = {}) {
38955
38955
  }
38956
38956
 
38957
38957
  // src/_generated/version.ts
38958
- var PKG_VERSION = "0.3.38";
38958
+ var PKG_VERSION = "0.3.40";
38959
38959
 
38960
38960
  // src/api-base-url.ts
38961
38961
  var DEFAULT_API_BASE_URL = "http://127.0.0.1:8787";
38962
- var STAGING_API_BASE_URL = "https://mrrlin-api-fnnzzz-fnnzzzs-projects.vercel.app";
38962
+ var STAGING_API_BASE_URL = "https://mrrlin-api-mrrlin2.vercel.app";
38963
38963
  function normalizeUrl(value) {
38964
38964
  return value.replace(/\/$/, "");
38965
38965
  }
@@ -39137,6 +39137,16 @@ function startSchedulerTickLoop(deps) {
39137
39137
  var import_node_child_process5 = require("node:child_process");
39138
39138
 
39139
39139
  // src/agent-pool-snapshot.ts
39140
+ function normalizeLastUsedAt(value) {
39141
+ if (value === void 0 || value === null) return null;
39142
+ if (typeof value === "number") {
39143
+ if (!Number.isFinite(value)) return null;
39144
+ const ms = value < 1e12 ? value * 1e3 : value;
39145
+ const date5 = new Date(ms);
39146
+ return Number.isNaN(date5.getTime()) ? null : date5.toISOString();
39147
+ }
39148
+ return value;
39149
+ }
39140
39150
  function buildAgentPoolSnapshot(statusRows, stats, opts) {
39141
39151
  if (!opts.available) {
39142
39152
  return {
@@ -39168,7 +39178,7 @@ function buildAgentPoolSnapshot(statusRows, stats, opts) {
39168
39178
  tokens_in: tokensIn,
39169
39179
  tokens_out: tokensOut,
39170
39180
  success_rate: successRate,
39171
- last_used_at: row.last_used_at ?? null
39181
+ last_used_at: normalizeLastUsedAt(row.last_used_at)
39172
39182
  };
39173
39183
  });
39174
39184
  let totalCalls = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrrlin-dev/mcp",
3
- "version": "0.3.38",
3
+ "version": "0.3.40",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "mrrlin-mcp": "dist/bin.cjs"
@@ -21,12 +21,12 @@
21
21
  "@types/ws": "^8.18.1",
22
22
  "esbuild": "^0.24.0",
23
23
  "tsx": "^4.22.3",
24
+ "@mrrlin/client": "0.0.0",
24
25
  "@mrrlin/director-e2e": "0.0.0",
25
- "@mrrlin/schemas": "0.0.0",
26
26
  "@mrrlin/wiki": "0.0.0",
27
+ "@mrrlin/schemas": "0.0.0",
27
28
  "@mrrlin/codex-client": "0.0.0",
28
- "@mrrlin/tsconfig": "0.0.0",
29
- "@mrrlin/client": "0.0.0"
29
+ "@mrrlin/tsconfig": "0.0.0"
30
30
  },
31
31
  "dependencies": {
32
32
  "@iarna/toml": "^2.2.5",