@mrrlin-dev/mcp 0.4.155 → 0.4.156

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 +10 -2
  2. package/package.json +1 -1
package/dist/bin.cjs CHANGED
@@ -38603,6 +38603,9 @@ var manualTaskClosureRequestSchema = external_exports.object({
38603
38603
  reason: external_exports.string().optional()
38604
38604
  });
38605
38605
 
38606
+ // ../../packages/schemas/dist/report-auth.js
38607
+ var encoder2 = new TextEncoder();
38608
+
38606
38609
  // ../../packages/schemas/dist/index.js
38607
38610
  var mrrlinTaskStatusSchema = external_exports.enum([
38608
38611
  "backlog",
@@ -40953,7 +40956,12 @@ function createMrrlinClient(config2) {
40953
40956
  }
40954
40957
  async function executeFetch(path34, init) {
40955
40958
  const method = (init?.method ?? "GET").toUpperCase();
40956
- const headers = new Headers(init?.headers ?? {});
40959
+ const dynamicHeaders = typeof config2.headers === "function" ? await config2.headers() : config2.headers;
40960
+ const headers = new Headers(dynamicHeaders ?? {});
40961
+ if (init?.headers) {
40962
+ const extraHeaders = new Headers(init.headers);
40963
+ extraHeaders.forEach((val, key) => headers.set(key, val));
40964
+ }
40957
40965
  if (token && !headers.has("authorization")) {
40958
40966
  headers.set("authorization", `Bearer ${token}`);
40959
40967
  }
@@ -64051,7 +64059,7 @@ Do NOT derail the current task - if the operator has an in-flight question, answ
64051
64059
  }
64052
64060
 
64053
64061
  // src/_generated/version.ts
64054
- var PKG_VERSION = "0.4.155";
64062
+ var PKG_VERSION = "0.4.156";
64055
64063
 
64056
64064
  // src/bridge-allowed-origins.ts
64057
64065
  var DEFAULT_DIRECTOR_BRIDGE_ALLOWED_ORIGINS = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrrlin-dev/mcp",
3
- "version": "0.4.155",
3
+ "version": "0.4.156",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "mrrlin-mcp": "dist/bin.cjs"