@rsc-kit/mcp 0.30.30 → 0.30.31
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.
- package/guides/deployment.md +8 -1
- package/package.json +2 -2
package/guides/deployment.md
CHANGED
|
@@ -158,7 +158,7 @@ its stylesheet, the client entry, and the fonts its layout preloads:
|
|
|
158
158
|
|
|
159
159
|
```
|
|
160
160
|
Link: </assets/index-D_il52MF.css>; rel=preload; as=style,
|
|
161
|
-
</assets/index-C-u4Ll0r.js>; rel=
|
|
161
|
+
</assets/index-C-u4Ll0r.js>; rel=preload; as=script; crossorigin,
|
|
162
162
|
</assets/geist-latin-wght-normal-BgDaEnEv.woff2>; rel=preload; as=font; crossorigin
|
|
163
163
|
```
|
|
164
164
|
|
|
@@ -174,6 +174,13 @@ names the stylesheet and the entry. Nothing to configure, and nothing it
|
|
|
174
174
|
replaces: the stylesheet still blocks paint, and inlining critical CSS
|
|
175
175
|
stacks on top of it.
|
|
176
176
|
|
|
177
|
+
The entry is a `preload` with `as=script`, not a `modulepreload`, because
|
|
178
|
+
Cloudflare builds its 103 from `preload` and `preconnect` alone and would
|
|
179
|
+
leave a `modulepreload` out. `crossorigin` gives the same fetch a module
|
|
180
|
+
script makes, so the browser uses the preloaded file and does not download
|
|
181
|
+
it twice. The document's own `<link rel="modulepreload">` is unchanged, so
|
|
182
|
+
the module is still compiled early.
|
|
183
|
+
|
|
177
184
|
## Streams and idle timeouts
|
|
178
185
|
|
|
179
186
|
An `events()` route and the [`refreshOn`](/guides/live-data)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsc-kit/mcp",
|
|
3
|
-
"version": "0.30.
|
|
3
|
+
"version": "0.30.31",
|
|
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.30.
|
|
37
|
+
"create-rsc-kit": "^0.30.31",
|
|
38
38
|
"zod": "^3.25"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|