@rsc-kit/mcp 0.29.3 → 0.29.4

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.
@@ -318,6 +318,16 @@ left out, which is how you move an app towards being exportable.
318
318
  A route that only redirects is written as a meta refresh, which is the one
319
319
  redirect every static host performs without being configured.
320
320
 
321
+ Everything a server would have answered as a file comes along: the browser
322
+ bundle, your `public/` folder, the icons and share image beside the root
323
+ layout, the web manifest and the service worker. So do stored `route.ts`
324
+ answers - `robots.txt`, `sitemap.xml`, a JSON feed - written as the files they
325
+ are. A static host types a file by its extension, so only an answer at a url
326
+ with one can keep its content type: `/api/health` would be served without its
327
+ `application/json`, and the build lists it as left out rather than exporting
328
+ it wrong. Give such a route an extension (`/api/health.json`), or serve it
329
+ from a host that runs.
330
+
321
331
  ## Customising the document
322
332
 
323
333
  There is no separate shell template. The root `layout.tsx` renders the whole
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsc-kit/mcp",
3
- "version": "0.29.3",
3
+ "version": "0.29.4",
4
4
  "description": "An MCP server over what an rsc-kit build decided: the routes, why each one is static or not, and what it costs the browser.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@modelcontextprotocol/sdk": "^1.30.0",
37
- "create-rsc-kit": "^0.29.3",
37
+ "create-rsc-kit": "^0.29.4",
38
38
  "zod": "^3.25"
39
39
  },
40
40
  "devDependencies": {