apps 0.0.1-beta.84 → 0.0.1-beta.85

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/README.md CHANGED
@@ -25,17 +25,15 @@ export default defineApp({ accounts: {} }, async ({ signal }) => ({
25
25
  }));
26
26
  ```
27
27
 
28
- | Import | Helper | App dependency |
29
- | ---------------- | ------------------------ | --------------------------- |
30
- | `apps/mcp` | `mcpRouter`, `mcpHealth` | `@modelcontextprotocol/sdk` |
31
- | `apps/mcp/stdio` | `stdioRouter` | `@modelcontextprotocol/sdk` |
32
- | `apps/graphql` | `graphqlRouter` | `graphql` |
33
- | `apps/openapi` | `liveOpenapiRouter` | None |
28
+ | Import | Helper | App dependency |
29
+ | -------------- | ------------------------ | --------------------------- |
30
+ | `apps/mcp` | `mcpRouter`, `mcpHealth` | `@modelcontextprotocol/sdk` |
31
+ | `apps/graphql` | `graphqlRouter` | `graphql` |
32
+ | `apps/openapi` | `liveOpenapiRouter` | None |
34
33
 
35
34
  MCP and GraphQL are optional peers. Subpath imports isolate their module graphs;
36
- optional peers keep unused libraries out of the dependency installation. The
37
- MCP HTTP entry point does not import the stdio process adapter. Stdio requires
38
- a host with process support.
35
+ optional peers keep unused libraries out of the dependency installation. Apps
36
+ reach MCP servers over HTTP; they cannot start local processes.
39
37
 
40
38
  `defineApp` declares behavior, not a name. Package identity lives in
41
39
  `package.json.name`; the host separately names each installed copy.
@@ -104,7 +102,7 @@ plus five minutes stale. Use `freshFor` / `staleFor` to change the windows, or
104
102
  Each combined tool takes `{ accountId, input }`. `input` keeps the upstream shape;
105
103
  `accountId` must identify a selected account that exposes that tool. Discovery
106
104
  and validation remain specific to each account. An empty selection returns no
107
- tools. This helper also works with OpenAPI, GraphQL and stdio operations.
105
+ tools. This helper also works with OpenAPI and GraphQL operations.
108
106
 
109
107
  Contracts live in `src/contracts/`; native operations live in `src/implementation/`.
110
108
  Promise conversion happens at the public entry points. `apps/mcp/effect` exposes
@@ -266,8 +264,8 @@ mutation can be mounted at only one path.
266
264
 
267
265
  Protocol helpers return routers, so an app mounts several sources under keys.
268
266
  `mcpRouter` takes its title, description, icons and instructions from the
269
- server, and `liveOpenapiRouter` from the document's `info` and tags. `stdioRouter`,
270
- `openapiRouter` and `graphqlRouter` carry no source metadata. A nested router that fails to load is reported on its own catalog entry;
267
+ server, and `liveOpenapiRouter` from the document's `info` and tags. `openapiRouter`
268
+ and `graphqlRouter` carry no source metadata. A nested router that fails to load is reported on its own catalog entry;
271
269
  the app's other tools still load. The root failing fails discovery.
272
270
 
273
271
  `dynamicRouter({ list, resolve })` separates descriptions from executable