@rsc-kit/mcp 0.40.0 → 0.41.0
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/dist/recipes.js +25 -18
- package/dist/recipes.js.map +1 -1
- package/guides/admin.md +3 -3
- package/guides/backend-answered-pages.md +5 -3
- package/guides/blueprints.md +10 -8
- package/guides/coming-from-inertia.md +3 -3
- package/guides/forms.md +12 -8
- package/guides/go.md +12 -11
- package/guides/laravel.md +7 -6
- package/guides/testing.md +3 -3
- package/guides/your-own-backend.md +21 -6
- package/package.json +2 -2
package/guides/admin.md
CHANGED
|
@@ -214,14 +214,14 @@ backend's generated actions instead of `form`, and the source keeps only
|
|
|
214
214
|
`list`, `find` and `delete`:
|
|
215
215
|
|
|
216
216
|
```ts title="src/admin/resources/products.ts"
|
|
217
|
-
import {
|
|
217
|
+
import { store, update } from '../../server-actions/products'
|
|
218
218
|
|
|
219
219
|
export const products = defineResource<Product>()({
|
|
220
220
|
name: 'products',
|
|
221
221
|
key: 'id',
|
|
222
222
|
title: 'name',
|
|
223
223
|
source: { list: (q) => rpc('Products.list', q), find: (id) => rpc('Products.find', id), delete: (id) => rpc('Products.delete', id) },
|
|
224
|
-
actions: { create:
|
|
224
|
+
actions: { create: store, update },
|
|
225
225
|
fields: { category_id: { relation: 'categories' } },
|
|
226
226
|
table: (col) => [col.text('name'), col.money('price')],
|
|
227
227
|
})
|
|
@@ -267,7 +267,7 @@ import { defineBlueprint } from '@rsc-kit/press/forms'
|
|
|
267
267
|
export const product = defineBlueprint({
|
|
268
268
|
name: 'product',
|
|
269
269
|
theme: shadcn,
|
|
270
|
-
actions: { create:
|
|
270
|
+
actions: { create: store, update },
|
|
271
271
|
fields: { category_id: { relation: 'categories' } },
|
|
272
272
|
})
|
|
273
273
|
|
|
@@ -187,13 +187,15 @@ The backend writes `rsc-host.json` at the project root, beside
|
|
|
187
187
|
|
|
188
188
|
```json title="rsc-host.json"
|
|
189
189
|
{
|
|
190
|
-
"actions": { "
|
|
190
|
+
"actions": { "orders": { "create": "Orders.create" } },
|
|
191
191
|
"functions": ["Orders.create", "Orders.recent"]
|
|
192
192
|
}
|
|
193
193
|
```
|
|
194
194
|
|
|
195
|
-
`actions` are its server actions, by the name the app
|
|
196
|
-
build writes a `"use server"`
|
|
195
|
+
`actions` are its server actions, by module and then by the name the app
|
|
196
|
+
imports them under; the build writes a `"use server"` module for each, here
|
|
197
|
+
`src/server-actions/orders.ts` exporting `create`. A class's `__invoke`, or a
|
|
198
|
+
Go function with no method, is the module's `default`.
|
|
197
199
|
`functions` are the names `rpc()` may be called with, and become the type of
|
|
198
200
|
its first argument, so `rpc('Orders.recnet')` fails the typecheck.
|
|
199
201
|
|
package/guides/blueprints.md
CHANGED
|
@@ -171,16 +171,17 @@ exist fails at startup.
|
|
|
171
171
|
Give it the backend's actions, and the form needs no schema of its own. The
|
|
172
172
|
backend already says what each takes, so the fields and the browser's checks
|
|
173
173
|
come from there, and every check that counts is the backend's. The actions are
|
|
174
|
-
the ones the build generated, imported like any
|
|
174
|
+
the ones the build generated, one module per backend class, imported like any
|
|
175
|
+
other:
|
|
175
176
|
|
|
176
177
|
```ts title="resources/js/forms/contact.ts"
|
|
177
178
|
import { defineBlueprint } from '@rsc-kit/press/forms'
|
|
178
179
|
import { shadcn } from '@rsc-kit/press/shadcn'
|
|
179
|
-
import {
|
|
180
|
+
import { send } from '../server-actions/contact'
|
|
180
181
|
|
|
181
182
|
export const contact = defineBlueprint({
|
|
182
183
|
name: 'contact',
|
|
183
|
-
actions: { create:
|
|
184
|
+
actions: { create: send },
|
|
184
185
|
fields: { message: { type: 'textarea' } },
|
|
185
186
|
theme: shadcn,
|
|
186
187
|
submit: 'Send message',
|
|
@@ -195,7 +196,7 @@ the record's key after the values: `update(UpdateProfile $request, string
|
|
|
195
196
|
$user)` in Laravel, where `$this->route('user')` reads it in `rules()` and
|
|
196
197
|
`authorize()`, and `func(ctx, in ProfileInput, id string)` in Go.
|
|
197
198
|
|
|
198
|
-
You need not write it: `bunx rsc-kit make:form
|
|
199
|
+
You need not write it: `bunx rsc-kit make:form Contact.send` writes this file
|
|
199
200
|
from the action, and it is yours to edit from then on.
|
|
200
201
|
|
|
201
202
|
An action that is not there fails the import, and a field `fields` names that
|
|
@@ -216,7 +217,7 @@ a schema and call the backend yourself:
|
|
|
216
217
|
|
|
217
218
|
```ts
|
|
218
219
|
form: z.object({ email: z.email() }),
|
|
219
|
-
handle: (values) =>
|
|
220
|
+
handle: (values) => send(values),
|
|
220
221
|
```
|
|
221
222
|
|
|
222
223
|
The schema's checks then run first, so a submission it refuses never reaches the
|
|
@@ -275,7 +276,8 @@ and call `Validator::make($values, [...])->validate()`, or throw
|
|
|
275
276
|
Either lands the same way.
|
|
276
277
|
|
|
277
278
|
Keep the class under `app/Rsc/Actions`, where every public method is an action:
|
|
278
|
-
`Contact::send` is `
|
|
279
|
+
`Contact::send` is `send` in `server-actions/contact`, generated at the next
|
|
280
|
+
build.
|
|
279
281
|
|
|
280
282
|
The form's fields are read from `rules()`, in order, at build time: `required`,
|
|
281
283
|
the type rules, `email`, `url`, `date`, `min`, `max`, `size`, `between`, and
|
|
@@ -302,7 +304,7 @@ type ContactInput struct {
|
|
|
302
304
|
Message string `json:"message"`
|
|
303
305
|
}
|
|
304
306
|
|
|
305
|
-
reg.HandleAction("
|
|
307
|
+
reg.HandleAction("Contact.send", func(ctx context.Context, in ContactInput) error {
|
|
306
308
|
if blocked(in.Email) {
|
|
307
309
|
return rsckit.InvalidField("email", "That address is blocked.")
|
|
308
310
|
}
|
|
@@ -321,7 +323,7 @@ return rsckit.Invalid(map[string][]string{
|
|
|
321
323
|
```
|
|
322
324
|
|
|
323
325
|
`reg.WriteManifest("rsc-host.json")` puts it in the manifest, and the build
|
|
324
|
-
generates `
|
|
326
|
+
generates `send` in `server-actions/contact` from it, as for any action.
|
|
325
327
|
|
|
326
328
|
The form's fields are the struct's, in its order, and a field is required unless
|
|
327
329
|
its `json` tag says `omitempty`. A `validate` tag, in go-playground/validator's
|
|
@@ -52,7 +52,7 @@ out of `package.json` when the last page that imports them is gone.
|
|
|
52
52
|
| `<Link href={route('orders.show', id)}>` (Ziggy) | `<Link href="/orders/1">` from `@rsc-kit/core/Link` — `href` is typed to the route tree, so Ziggy and `@routes` go |
|
|
53
53
|
| `router.visit()`, `router.get()` | `visit(url)` from `@rsc-kit/core/router` |
|
|
54
54
|
| `router.reload({ only: ['orders'] })` | `revalidate('orders')` from the action re-renders the [section](/guides/sections) and sends it back with the answer — one request, the rest of the page untouched |
|
|
55
|
-
| `router.post()`, `useForm().post('/orders')` | a server action: `php artisan make:rsc-action Orders --method=create`, and `<Form action={
|
|
55
|
+
| `router.post()`, `useForm().post('/orders')` | a server action: `php artisan make:rsc-action Orders --method=create`, and `<Form action={orders.create}>` — [below](#forms) |
|
|
56
56
|
| `useForm().errors`, `.processing`, `.recentlySuccessful` | `<Form>`'s `error('field')`, `pending` and `recentlySucceeded` — a `FormRequest`'s `ValidationException` lands on the fields |
|
|
57
57
|
| `->middleware(['auth', 'verified'])` on the route | `export const middleware = ['auth', 'verified']` in a `middleware.ts` beside or above the page — Laravel's names, run through Laravel's pipeline, before anything below it renders |
|
|
58
58
|
| `Inertia::defer(fn () => …)`, `<WhenVisible>`, `Inertia::lazy()` | `<Suspense>` around the component that awaits the slow read; the shell streams first — [Partial prerendering](/guides/ppr) |
|
|
@@ -144,11 +144,11 @@ class Orders
|
|
|
144
144
|
```tsx title="resources/js/app/orders/NewOrder.tsx"
|
|
145
145
|
'use client'
|
|
146
146
|
import { Form } from '@rsc-kit/core/form'
|
|
147
|
-
import
|
|
147
|
+
import * as orders from '../../server-actions/orders'
|
|
148
148
|
|
|
149
149
|
export function NewOrder() {
|
|
150
150
|
return (
|
|
151
|
-
<Form action={
|
|
151
|
+
<Form action={orders.create}>
|
|
152
152
|
{({ pending, error }) => (
|
|
153
153
|
<>
|
|
154
154
|
<input name="number" />
|
package/guides/forms.md
CHANGED
|
@@ -123,7 +123,7 @@ which is why this one is not called that.
|
|
|
123
123
|
fails `tsc` rather than silently never matching:
|
|
124
124
|
|
|
125
125
|
```tsx
|
|
126
|
-
<Form action={
|
|
126
|
+
<Form action={orders.create}>
|
|
127
127
|
{({ error }) => (
|
|
128
128
|
<>
|
|
129
129
|
{error('name')} {/* ok */}
|
|
@@ -168,7 +168,7 @@ once the team is bound. A form fills the struct parameter, the one after
|
|
|
168
168
|
whatever you bound, and the generated stub keeps its field names:
|
|
169
169
|
|
|
170
170
|
```tsx
|
|
171
|
-
const create =
|
|
171
|
+
const create = apps.create.bind(null, team) // once, not inline
|
|
172
172
|
|
|
173
173
|
<Form action={create}>{({ error }) => error('name')}</Form>
|
|
174
174
|
```
|
|
@@ -199,7 +199,7 @@ A component below the form types its own prop with `FieldNamesOf`:
|
|
|
199
199
|
```tsx
|
|
200
200
|
import type { FieldNamesOf } from '@rsc-kit/core/form'
|
|
201
201
|
|
|
202
|
-
type Props = { name: FieldNamesOf<typeof
|
|
202
|
+
type Props = { name: FieldNamesOf<typeof orders.create> }
|
|
203
203
|
```
|
|
204
204
|
|
|
205
205
|
## Validation errors
|
|
@@ -367,10 +367,14 @@ any component that ends up rendering a real form control is already compatible:
|
|
|
367
367
|
`Input`, `Textarea`, `Button` and `Label` are styled native elements, so `name`
|
|
368
368
|
does what it always does.
|
|
369
369
|
|
|
370
|
-
**`Select`, `Checkbox`, `Switch` and `RadioGroup` also work
|
|
371
|
-
|
|
372
|
-
`name`, for exactly this. Omit the `name` and
|
|
373
|
-
is the only thing to remember.
|
|
370
|
+
**`Select`, `Checkbox`, `Switch` and `RadioGroup` also work**, whether your
|
|
371
|
+
shadcn is built on Base UI or on Radix. Both render a hidden native control
|
|
372
|
+
whenever you give the component a `name`, for exactly this. Omit the `name` and
|
|
373
|
+
it is invisible to the form; that is the only thing to remember.
|
|
374
|
+
|
|
375
|
+
A pick in a Base UI `Select` changes its hidden control without firing an
|
|
376
|
+
event. `<Form>` watches its own controls, so `dirty` and `valid()` still see
|
|
377
|
+
the change.
|
|
374
378
|
|
|
375
379
|
:::caution[Not shadcn's own `<Form>`]
|
|
376
380
|
shadcn's `<Form>`, `<FormField>` and `<FormControl>` are wrappers around
|
|
@@ -559,7 +563,7 @@ It gives you `{ name, value, onChange, onBlur }` — the same four things
|
|
|
559
563
|
`<Controller>` does, for the same reason.
|
|
560
564
|
|
|
561
565
|
`onChange` takes either a DOM event or a bare value, so a native input and a
|
|
562
|
-
|
|
566
|
+
`Select` from Base UI or Radix both work without a wrapper. A bound field is still an ordinary
|
|
563
567
|
named input, so it arrives in `FormData` with everything else: there is one
|
|
564
568
|
source of truth, and nothing merges.
|
|
565
569
|
|
package/guides/go.md
CHANGED
|
@@ -302,7 +302,7 @@ counts it once.
|
|
|
302
302
|
## Server actions
|
|
303
303
|
|
|
304
304
|
```go
|
|
305
|
-
reg.HandleAction("
|
|
305
|
+
reg.HandleAction("Orders.cancel", func(ctx context.Context, id int) error {
|
|
306
306
|
if err := orders.Cancel(ctx, id); err != nil {
|
|
307
307
|
return err
|
|
308
308
|
}
|
|
@@ -318,15 +318,15 @@ reg.WriteManifest("rsc-host.json")
|
|
|
318
318
|
|
|
319
319
|
```tsx title="src/app/orders/CancelButton.tsx"
|
|
320
320
|
'use client'
|
|
321
|
-
import
|
|
321
|
+
import * as orders from '../../server-actions/orders'
|
|
322
322
|
|
|
323
323
|
export function CancelButton({ id }: { id: number }) {
|
|
324
|
-
return <button onClick={() =>
|
|
324
|
+
return <button onClick={() => orders.cancel(id)}>Cancel</button>
|
|
325
325
|
}
|
|
326
326
|
```
|
|
327
327
|
|
|
328
328
|
The stub is typed from the Go function, plus the one answer Go can give it that
|
|
329
|
-
is not its result: `
|
|
329
|
+
is not its result: `cancel(id: number): Promise<void | Redirected>`. An
|
|
330
330
|
action that returns `rsckit.Redirect("/login")` (or a guard that does, for an
|
|
331
331
|
expired session) resolves the call with `{ redirected }` once the browser is on
|
|
332
332
|
its way, so narrow with `isRedirected` before reading a value or reporting
|
|
@@ -345,10 +345,10 @@ refuses under `type`, so `error('type')` is a type error on a bound stub. A tag
|
|
|
345
345
|
(`json:"type"`) gives the form, the manifest and the refusal one spelling.
|
|
346
346
|
Where tags are not an option, `fields` adds the other names on top.
|
|
347
347
|
|
|
348
|
-
A form can post to an action directly, `<Form action={
|
|
348
|
+
A form can post to an action directly, `<Form action={orders.create}>`, and its
|
|
349
349
|
fields arrive as the struct parameter: the first, or the one after the
|
|
350
350
|
arguments you bound. An action scoped to a team, `func(ctx, team string, in NewApp)`,
|
|
351
|
-
is `<Form action={
|
|
351
|
+
is `<Form action={apps.create.bind(null, team)}>`. Numbers and booleans are
|
|
352
352
|
coerced by the struct's types and a repeated field is a slice.
|
|
353
353
|
|
|
354
354
|
An admin resource takes the generated actions in place of a schema, its create
|
|
@@ -470,7 +470,7 @@ type ContactInput struct {
|
|
|
470
470
|
Message string `json:"message" validate:"required,min=10,max=2000"`
|
|
471
471
|
}
|
|
472
472
|
|
|
473
|
-
reg.HandleAction("
|
|
473
|
+
reg.HandleAction("Contact.send", func(ctx context.Context, in ContactInput) error {
|
|
474
474
|
if blocked(in.Email) {
|
|
475
475
|
return rsckit.InvalidField("email", "That address is blocked.")
|
|
476
476
|
}
|
|
@@ -482,17 +482,18 @@ reg.HandleAction("contactSend", "Contact.send", func(ctx context.Context, in Con
|
|
|
482
482
|
The tag is read, never run: check what was sent in the function too, since a
|
|
483
483
|
post need not come from a browser.
|
|
484
484
|
|
|
485
|
-
**2. The form.** The build generates `
|
|
486
|
-
|
|
485
|
+
**2. The form.** The build generates `server-actions/contact.ts` from the
|
|
486
|
+
manifest, exporting `send`, and
|
|
487
|
+
`bunx rsc-kit make:form Contact.send` writes the form around it:
|
|
487
488
|
|
|
488
489
|
```ts title="src/forms/contact.ts"
|
|
489
490
|
import { defineBlueprint } from '@rsc-kit/press/forms'
|
|
490
491
|
import { shadcn } from '@rsc-kit/press/shadcn'
|
|
491
|
-
import {
|
|
492
|
+
import { send } from '../server-actions/contact'
|
|
492
493
|
|
|
493
494
|
export const contact = defineBlueprint({
|
|
494
495
|
name: 'contact',
|
|
495
|
-
actions: { create:
|
|
496
|
+
actions: { create: send },
|
|
496
497
|
fields: { message: { type: 'textarea' } },
|
|
497
498
|
theme: shadcn,
|
|
498
499
|
done: 'Thanks - we will be in touch.',
|
package/guides/laravel.md
CHANGED
|
@@ -364,10 +364,10 @@ class Orders
|
|
|
364
364
|
|
|
365
365
|
```tsx title="resources/js/app/orders/CancelButton.tsx"
|
|
366
366
|
'use client'
|
|
367
|
-
import
|
|
367
|
+
import * as orders from '../../server-actions/orders'
|
|
368
368
|
|
|
369
369
|
export function CancelButton({ id }: { id: number }) {
|
|
370
|
-
return <button onClick={() =>
|
|
370
|
+
return <button onClick={() => orders.cancel(id)}>Cancel</button>
|
|
371
371
|
}
|
|
372
372
|
```
|
|
373
373
|
|
|
@@ -517,17 +517,18 @@ class Contact
|
|
|
517
517
|
}
|
|
518
518
|
```
|
|
519
519
|
|
|
520
|
-
**3. The form.** The build generates `
|
|
521
|
-
|
|
520
|
+
**3. The form.** The build generates `server-actions/contact.ts` from the
|
|
521
|
+
class, exporting `send`, and
|
|
522
|
+
`bunx rsc-kit make:form Contact.send` writes the form around it:
|
|
522
523
|
|
|
523
524
|
```ts title="resources/js/forms/contact.ts"
|
|
524
525
|
import { defineBlueprint } from '@rsc-kit/press/forms'
|
|
525
526
|
import { shadcn } from '@rsc-kit/press/shadcn'
|
|
526
|
-
import {
|
|
527
|
+
import { send } from '../server-actions/contact'
|
|
527
528
|
|
|
528
529
|
export const contact = defineBlueprint({
|
|
529
530
|
name: 'contact',
|
|
530
|
-
actions: { create:
|
|
531
|
+
actions: { create: send },
|
|
531
532
|
fields: { message: { type: 'textarea' } },
|
|
532
533
|
theme: shadcn,
|
|
533
534
|
done: 'Thanks - we will be in touch.',
|
package/guides/testing.md
CHANGED
|
@@ -185,10 +185,10 @@ import { act } from 'react'
|
|
|
185
185
|
import { createRoot } from 'react-dom/client'
|
|
186
186
|
import { afterAll, expect, mock, test } from 'bun:test'
|
|
187
187
|
|
|
188
|
-
let
|
|
188
|
+
let pause = async (): Promise<unknown> => {}
|
|
189
189
|
|
|
190
190
|
// The module the component imports its stubs from. `vi.mock` does the same.
|
|
191
|
-
mock.module('../src/server-actions
|
|
191
|
+
mock.module('../src/server-actions/apps', () => ({ pause: () => pause() }))
|
|
192
192
|
|
|
193
193
|
const { Pause } = await import('../src/app/Pause')
|
|
194
194
|
|
|
@@ -210,7 +210,7 @@ test('says paused when the call worked', async () => {
|
|
|
210
210
|
})
|
|
211
211
|
|
|
212
212
|
test('says nothing when the call redirected', async () => {
|
|
213
|
-
|
|
213
|
+
pause = async () => ({ redirected: '/login' })
|
|
214
214
|
|
|
215
215
|
expect(await clicked()).toBe('Pause')
|
|
216
216
|
})
|
|
@@ -351,12 +351,14 @@ Without the variable, do nothing.
|
|
|
351
351
|
|
|
352
352
|
A `"use server"` function the browser can call is a name the renderer forwards
|
|
353
353
|
to you. Write `rsc-host.json` at the project root, beside `vite.config.ts`:
|
|
354
|
-
`actions` maps
|
|
355
|
-
|
|
354
|
+
`actions` maps a module - one per class, its path under `server-actions/` -
|
|
355
|
+
to the names it exports, each to whatever your side dispatches on, and
|
|
356
|
+
`functions` lists every name `rpc()` may call. A class's single action, an
|
|
357
|
+
`__invoke`, is the module's `default`.
|
|
356
358
|
|
|
357
359
|
```json title="rsc-host.json"
|
|
358
360
|
{
|
|
359
|
-
"actions": { "
|
|
361
|
+
"actions": { "orders": { "cancel": "Orders.cancel" }, "profile": { "update": "Profile.update" } },
|
|
360
362
|
"functions": ["Orders.cancel", "Orders.recent", "Profile.update"]
|
|
361
363
|
}
|
|
362
364
|
```
|
|
@@ -378,9 +380,9 @@ types: `required`, `format` (`email`, `date`), `minLength`, `maxLength`,
|
|
|
378
380
|
properties are drawn in the order written. If your language's JSON sorts a map,
|
|
379
381
|
say the order with `"x-order": ["name", "email"]` beside them.
|
|
380
382
|
|
|
381
|
-
The build writes `server-actions
|
|
382
|
-
exporting
|
|
383
|
-
|
|
383
|
+
The build writes a module per class under `server-actions/` in the source
|
|
384
|
+
directory, `server-actions/orders.ts` exporting `cancel`, so a client
|
|
385
|
+
component imports `* as orders` from it and calls `orders.cancel`, and types `rpc()`'s first argument with the functions. Have Vite
|
|
384
386
|
run the command that writes it, `rscKit({ hostManifest: { command } })`, so
|
|
385
387
|
it cannot go stale: a stale one names a method since renamed, and nothing
|
|
386
388
|
fails until the browser calls it. Laravel's `rsc:host-manifest` is this
|
|
@@ -560,6 +562,19 @@ It exits non-zero on any failure, so it can gate your CI. The Go adapter's
|
|
|
560
562
|
`cmd/conformance` and Laravel's `tests/Conformance` are working fixtures to
|
|
561
563
|
copy.
|
|
562
564
|
|
|
565
|
+
## The imports for adapter authors
|
|
566
|
+
|
|
567
|
+
An app never imports these. An adapter written in JavaScript, or a host that
|
|
568
|
+
embeds the engine, does:
|
|
569
|
+
|
|
570
|
+
- `@rsc-kit/core/adapter/host-calls`: `httpHostCalls`, the renderer's side
|
|
571
|
+
of this protocol, and the `HostCallReply` and batch types it reads.
|
|
572
|
+
- `@rsc-kit/core/adapter/conformance`: `runConformance` and `report`, the
|
|
573
|
+
suite above as a function, for a test runner that drives it itself.
|
|
574
|
+
- `@rsc-kit/core/adapter/manifest`: `RouteManifest`, the type of the
|
|
575
|
+
`routes.json` the build writes, for a backend that registers the app's
|
|
576
|
+
urls as routes of its own.
|
|
577
|
+
|
|
563
578
|
## Proposing an adapter
|
|
564
579
|
|
|
565
580
|
rsc-kit standardises on adapters: a backend in a language rsc-kit has none
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsc-kit/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.41.0",
|
|
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.
|
|
37
|
+
"create-rsc-kit": "^0.41.0",
|
|
38
38
|
"zod": "^3.25"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|