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
@@ -141,6 +141,10 @@ optionally wrapped in unary `+`/`-`; `true`, `false`, and `null`; and
141
141
accepted form. Anything else is dynamic: the route compiles with an empty
142
142
config beside a named `AB4806` error. A module without a `config` export
143
143
compiles silently with an empty config.
144
+
Generated route declarations are published at `.agent-bundle/routes.d.ts` from
145
+
the same graph. Development writes a sibling temporary file and renames it over
146
+
the prior complete declaration atomically; invalid source retains the prior
147
+
last-good file, while a successful route-free preparation removes it.
144
148
145
149
Conventional `src/scripts/` routes ship through the same pipeline as
146
150
explicit `scripts` entries (#102 stage 1): a plain module directly under
@@ -160,6 +164,9 @@ cannot ship yet are hard errors (`AB4807`–`AB4809`), never silent omissions.
160
164
|`AB4807`| error | A conventional `src/scripts/` route is a rendered-script module (`.tsx`/`.jsx`); rendered scripts are not supported yet. Rename it to `.ts`, prefix a path segment with `_` to keep it private, or declare it under `scripts` in config to opt into plain bundling. |
161
165
|`AB4808`| error | A conventional `src/scripts/` route nests below the scripts root; conventional scripts ship as direct children only. Move it up, prefix a path segment with `_`, or declare it under `scripts` in config with a flat name. |
162
166
|`AB4809`| error | A conventional `src/scripts/` route and a configured `scripts` entry share one script identity through different files. Point the config entry at the module to claim it, or rename one of the two. |
167
+
|`AB4810`| error | A generated MCP route is missing named `inputSchema`/`resultSchema` exports or its default export is not an async function component. |
168
+
|`AB4811`| error | A generated MCP route exports `execute` or `render`; route mode accepts only the async default Server Component contract. |
169
+
|`AB4812`| error | A generated MCP App route has no non-empty static `config.resourceUri`. |
0 commit comments