renovate-mcp 1.0.2 → 1.0.3

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.
@@ -552,7 +552,18 @@ async function runWorker(request, timeoutMs) {
552
552
  let timer;
553
553
  try {
554
554
  return await new Promise((resolve, reject) => {
555
- timer = setTimeout(() => resolve("timeout"), timeoutMs);
555
+ // Start the timeout clock when the worker thread comes online, NOT when
556
+ // the Worker is constructed. `matchTimeoutMs` is a budget for *user work*
557
+ // (the regex run / JSONata eval) — charging Node's worker_threads spin-up
558
+ // and module compilation against it makes a trivial pattern spuriously
559
+ // "time out" on a cold/slow runner (e.g. a fast fileMatch regex tripping
560
+ // the budget purely from bootstrap latency). A pathological expression is
561
+ // still killed `timeoutMs` after the thread is live, so the kill-on-budget
562
+ // safety posture (ADR-0003) is unchanged. If the worker never comes online
563
+ // it surfaces via the 'error'/'exit' handlers below.
564
+ worker.once("online", () => {
565
+ timer = setTimeout(() => resolve("timeout"), timeoutMs);
566
+ });
556
567
  worker.once("message", (msg) => resolve(msg));
557
568
  worker.once("error", (err) => reject(err));
558
569
  worker.once("exit", (code) => {
@@ -1,4 +1,4 @@
1
- export declare const SERVER_VERSION = "1.0.2";
1
+ export declare const SERVER_VERSION = "1.0.3";
2
2
  export type BuildMode = "local" | "released";
3
3
  export interface VersionInfo {
4
4
  version: string;
@@ -1,5 +1,5 @@
1
1
  import { fileURLToPath } from "node:url";
2
- export const SERVER_VERSION = "1.0.2"; // x-release-please-version
2
+ export const SERVER_VERSION = "1.0.3"; // x-release-please-version
3
3
  // "released" = the server is running from a `node_modules/` install (global
4
4
  // `npm i -g`, project-local `npm i`, or `npx renovate-mcp`). Anything else —
5
5
  // most commonly an MCP config of `{"command": "node", "args": [".../dist/index.js"]}`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "renovate-mcp",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "MCP server for designing Renovate configurations interactively.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -70,7 +70,7 @@
70
70
  "zod": "^4.0.0"
71
71
  },
72
72
  "overrides": {
73
- "fast-uri": "^3.1.2",
73
+ "fast-uri": "^4.0.0",
74
74
  "fast-xml-builder": "^1.1.7",
75
75
  "simple-git": "^3.36.0"
76
76
  },