@amerged/ohmyhost-mcp 0.1.37 → 0.1.38

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.
@@ -150,7 +150,7 @@
150
150
  },
151
151
  "scripts": {
152
152
  "build": "tsc --project tsconfig.build.json",
153
- "typecheck": "tsc --project tsconfig.json --noEmit",
153
+ "typecheck": "tsc --project tsconfig.json --noEmit --incremental --tsBuildInfoFile typecheck.tsbuildinfo",
154
154
  "test": "vitest run --root ../.. packages/contracts/test",
155
155
  "validate": "pnpm run typecheck && pnpm run test"
156
156
  },
@@ -48,7 +48,7 @@ const CORPUS_NEXT_PAGE = `export default function Home() {
48
48
  return <main>Hello from ohmyho.st</main>;
49
49
  }
50
50
  `;
51
- // The config `create-next-app@16.4.0 --yes --no-tailwind` writes: Cache Components with partial
51
+ // The config `create-next-app@16.4.1 --yes --no-tailwind` writes: Cache Components with partial
52
52
  // prefetching.
53
53
  const CREATE_NEXT_APP_CONFIG = `import type { NextConfig } from "next";
54
54
 
@@ -124,10 +124,7 @@ export const FRAMEWORK_ADMISSION_CONFORMANCE_CORPUS: Readonly<{
124
124
  Readonly<{ diagnostic: FrameworkConversionDiagnostic }>)[];
125
125
  }> = Object.freeze({
126
126
  admitted: Object.freeze([
127
- corpusCase(
128
- "Next.js 16.3.8 with npm on the edge runtime (the exact customer source)",
129
- nextSource(),
130
- ),
127
+ corpusCase("Next.js 16.4.1 with npm on the edge runtime", nextSource()),
131
128
  corpusCase("Next.js 17.0.0, a later stable major", nextSource({ declared: "17.0.0" })),
132
129
  corpusCase(
133
130
  "Vite ^8.2.0 resolved to 8.3.4 by pnpm-lock.yaml",
@@ -147,26 +144,26 @@ export const FRAMEWORK_ADMISSION_CONFORMANCE_CORPUS: Readonly<{
147
144
  Object.freeze({
148
145
  ...corpusCase(
149
146
  "Next.js ^16.3.0 with bun.lock, which ohmyho.st does not resolve",
150
- nextSource({ declared: "^16.3.0", resolved: "16.4.0", manager: "bun" }),
147
+ nextSource({ declared: "^16.3.0", resolved: "16.4.1", manager: "bun" }),
151
148
  ),
152
149
  packages: Object.freeze(["next"] as const),
153
150
  }),
154
151
  ]),
155
152
  refused: Object.freeze([
156
153
  refusedCase(
157
- "Next.js 16.3.7 below the 16.x security minimum",
158
- nextSource({ declared: "16.3.7" }),
159
- versionFinding("package-lock.json", "next", "16.3.7", "16.3.8"),
154
+ "Next.js 16.4.0 below the 16.x security minimum",
155
+ nextSource({ declared: "16.4.0" }),
156
+ versionFinding("package-lock.json", "next", "16.4.0", "16.4.1"),
160
157
  ),
161
158
  refusedCase(
162
- "Next.js 15.5.26 declared with yarn below the 15.x security minimum",
163
- nextSource({ declared: "15.5.26", manager: "yarn" }),
164
- versionFinding("package.json", "next", "15.5.26", "15.5.27"),
159
+ "Next.js 15.5.28 declared with yarn, because no 15.x release is admitted",
160
+ nextSource({ declared: "15.5.28", manager: "yarn" }),
161
+ versionFinding("package.json", "next", "15.5.28", "16.4.1"),
165
162
  ),
166
163
  refusedCase(
167
- "Next.js ^16.3.0 resolved to 16.3.7 by package-lock.json",
168
- nextSource({ declared: "^16.3.0", resolved: "16.3.7" }),
169
- versionFinding("package-lock.json", "next", "16.3.7", "16.3.8"),
164
+ "Next.js ^16.3.0 resolved to 16.4.0 by package-lock.json",
165
+ nextSource({ declared: "^16.3.0", resolved: "16.4.0" }),
166
+ versionFinding("package-lock.json", "next", "16.4.0", "16.4.1"),
170
167
  ),
171
168
  refusedCase(
172
169
  "TanStack Start 1.168.59 resolved by pnpm-lock.yaml below its security minimum",
@@ -354,7 +351,7 @@ function nextSource(
354
351
  ): Readonly<Record<string, string>> {
355
352
  const manager = options.manager ?? "npm";
356
353
  const [packageManager, lockfile] = CORPUS_MANAGERS[manager];
357
- const next = options.declared ?? "16.3.8";
354
+ const next = options.declared ?? "16.4.1";
358
355
  const react = { react: "19.1.2", "react-dom": "19.1.2" };
359
356
  const runtime = options.field === "devDependencies" ? react : { next, ...react };
360
357
  return Object.freeze({
@@ -380,7 +377,7 @@ function nextSource(
380
377
  }
381
378
 
382
379
  /**
383
- * The next.config.ts and Tailwind CSS files and packages `create-next-app@16.4.0 --yes` writes, in
380
+ * The next.config.ts and Tailwind CSS files and packages `create-next-app@16.4.1 --yes` writes, in
384
381
  * an App Router source with the packageManager, lockfile and ohmyhost.yaml ohmyho.st requires;
385
382
  * `tailwind: false` is its --no-tailwind output. On Turbopack, its default bundler, it adds only the
386
383
  * Turbopack rule for Tailwind CSS; `postcss` adds the postcss.config.mjs and @tailwindcss/postcss it
@@ -390,7 +387,7 @@ function createNextAppSource(
390
387
  options: Readonly<{ tailwind: boolean; postcss?: boolean }>,
391
388
  ): Readonly<Record<string, string>> {
392
389
  const [packageManager, lockfile] = CORPUS_MANAGERS.npm;
393
- const runtime = { next: "16.4.0", react: "19.3.0", "react-dom": "19.3.0" };
390
+ const runtime = { next: "16.4.1", react: "19.3.0", "react-dom": "19.3.0" };
394
391
  const postcss = options.postcss === true;
395
392
  return Object.freeze({
396
393
  "ohmyhost.yaml": corpusConfiguration("npm", ".open-next/assets", "edge"),
@@ -15,8 +15,15 @@ export const PINNED_BUN_VERSION = "1.2.22";
15
15
  * upper bound: later patches, minors and majors reach the real build, which reports adapter failures.
16
16
  * Denied ranges are half-open [introduced, fixed); a null fix denies every later release.
17
17
  *
18
- * next: GHSA-4jqv-mc3x-m676 and GHSA-mcj8-r9mp-w47p (fixed in 15.5.27 and 16.3.8); GHSA-cjq9-62q9-8jv4,
19
- * GHSA-f87g-xv8r-7p7x, GHSA-3w37-wq28-93x7, GHSA-h694-7cp9-m8p3 and GHSA-39w2-rjm5-chcv (16.3.8).
18
+ * next: GHSA-2464-fhr4-w9xw (critical, remote code execution through the Image Optimization API with
19
+ * SVG and sharp before 0.35.5) and GHSA-p3m5-59mp-jv5r (high, denial of service through Server
20
+ * Actions), both fixed in 15.5.28 and 16.4.1; GHSA-673q-mjm6-r5xr (critical, remote code execution
21
+ * through `use cache` functions that return typed arrays, Next.js 16 only, fixed in 16.4.1).
22
+ * There is no 15.x floor: the pinned OpenNext has refused Next.js 15 since 21 October 2026, so every 15.x
23
+ * release is refused with the minimum 16.4.1 instead of sending a customer to 15.5.28 and a failing build.
24
+ * Earlier floors: GHSA-4jqv-mc3x-m676 and GHSA-mcj8-r9mp-w47p (fixed in 15.5.27 and 16.3.8);
25
+ * GHSA-cjq9-62q9-8jv4, GHSA-f87g-xv8r-7p7x, GHSA-3w37-wq28-93x7, GHSA-h694-7cp9-m8p3 and
26
+ * GHSA-39w2-rjm5-chcv (16.3.8).
20
27
  * @tanstack/react-start: GHSA-qx66-fv34-fjm8 (fixed in 1.168.60).
21
28
  * vite: GHSA-64vr-g452-qvp3 (fixed in 5.4.6), the only advisory affecting `vite build` output.
22
29
  * @type {FrameworkVersionPolicy}
@@ -27,7 +34,7 @@ export const FRAMEWORK_VERSION_POLICY = Object.freeze({
27
34
  floors: Object.freeze(["14.4.0"]),
28
35
  denied: Object.freeze([]),
29
36
  }),
30
- next: Object.freeze({ floors: Object.freeze(["15.5.27", "16.3.8"]), denied: Object.freeze([]) }),
37
+ next: Object.freeze({ floors: Object.freeze(["16.4.1"]), denied: Object.freeze([]) }),
31
38
  vite: Object.freeze({ floors: Object.freeze(["5.4.6"]), denied: Object.freeze([]) }),
32
39
  "@tanstack/react-start": Object.freeze({
33
40
  floors: Object.freeze(["1.168.60"]),
@@ -209,6 +209,9 @@ function normalizeEgressOrigins(value: readonly string[] | undefined): readonly
209
209
  function forbiddenEgressHostname(hostname: string): boolean {
210
210
  const normalized = hostname.toLowerCase();
211
211
  return (
212
+ /^ohmyho-(?:mail|storage)-gateway-[a-z0-9][a-z0-9-]*\.[a-z0-9][a-z0-9-]*\.workers\.dev\.?$/u.test(
213
+ normalized,
214
+ ) ||
212
215
  normalized === "localhost" ||
213
216
  normalized.endsWith(".localhost") ||
214
217
  normalized.endsWith(".local") ||
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ohmyhost/sdk-ts",
3
- "version": "0.1.37",
3
+ "version": "0.1.38",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "exports": {
@@ -14,7 +14,7 @@
14
14
  "build": "tsc --project tsconfig.build.json",
15
15
  "check": "pnpm --dir ../.. sdk-ts:check",
16
16
  "generate": "pnpm --dir ../.. sdk-ts:generate",
17
- "typecheck": "tsc --project tsconfig.json --noEmit",
17
+ "typecheck": "tsc --project tsconfig.json --noEmit --incremental --tsBuildInfoFile typecheck.tsbuildinfo",
18
18
  "test": "pnpm run check && vitest run --root ../.. packages/sdk-ts"
19
19
  },
20
20
  "license": "Apache-2.0"
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "scripts": {
34
34
  "build": "tsc --project tsconfig.build.json",
35
- "typecheck": "tsc --project tsconfig.json --noEmit",
35
+ "typecheck": "tsc --project tsconfig.json --noEmit --incremental --tsBuildInfoFile typecheck.tsbuildinfo",
36
36
  "test": "vitest run --root ../.. packages/workos-auth-contracts/src"
37
37
  },
38
38
  "license": "Apache-2.0"