You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(starter): simplify - one RPC function, no unused MCP route
Merge the two demo RPC functions (get-info static, list-items
query+snapshot) into a single get-state query+snapshot returning
{ cwd, node, items } in one round trip. Cuts an RPC file, a namespace
entry, a client fetch, and a test, without losing the pattern this
starter exists to demonstrate.
Also:
- Drop `cli.mcp: true` from the devframe definition - nothing in the
starter exercised the MCP route, so it was dead surface.
- Drop the redundant `play` (duplicate of `play:single`) and `test:unit`
(duplicate of `test`) package.json scripts.
- Rename test/rpc.test.ts -> test/get-state.test.ts to match the single
function it now covers.
This PR was created with the help of an agent.
0 commit comments