Skip to content

Commit 7cb7f2e

Browse files
committed
docs: promote Agent-Native from experimental to stable
1 parent 50f20f8 commit 7cb7f2e

36 files changed

Lines changed: 17 additions & 126 deletions

docs/.vitepress/config.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,15 @@ function guideGroups(prefix: string) {
5858
],
5959
},
6060
{
61-
text: 'Recipes & Advanced',
61+
text: 'Agent-Native',
62+
items: [
63+
{ text: 'Agent-Native', link: `${prefix}/guide/agent-native` },
64+
],
65+
},
66+
{
67+
text: 'Recipes',
6268
items: [
6369
{ text: 'Standalone CLI', link: `${prefix}/guide/standalone-cli` },
64-
{ text: 'Agent-Native (experimental)', link: `${prefix}/guide/agent-native` },
6570
],
6671
},
6772
] satisfies { text: string, items: DefaultTheme.NavItemWithLink[] }[]

docs/adapters/cac.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ my-devframe # dev server at http://localhost:9999/
3535
my-devframe --port 8080
3636
my-devframe build --out-dir dist-static
3737
my-devframe build --out-dir dist-static --base /devframe/
38-
my-devframe mcp # stdio MCP server (experimental)
38+
my-devframe mcp # stdio MCP server
3939
```
4040

4141
Standalone CLI serves the SPA at `/` by default. The `/__devframe/` prefix is for *hosted* adapters where devframe mounts alongside an existing app — see [Mount paths](./#mount-paths).

docs/adapters/mcp.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ outline: deep
44

55
# MCP
66

7-
> [!WARNING] Experimental
8-
> The agent-native surface is experimental and may change without a major version bump.
9-
107
Translates a devframe's agent host into a [Model Context Protocol](https://modelcontextprotocol.io) server so coding agents (Claude Desktop, Cursor, Zed, Claude Code) can call flagged RPCs and read exposed resources.
118

129
```ts

docs/errors/DF0014.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ outline: deep
44

55
# DF0014: Invalid Agent Field
66

7-
::: warning Experimental
8-
The agent-native surface is experimental and may change without a major version bump until it stabilizes.
9-
:::
10-
117
## Message
128

139
> RPC function "`{name}`" has an invalid `agent` field — `description` must be a non-empty string.

docs/errors/DF0015.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ outline: deep
44

55
# DF0015: Agent Tool Already Registered
66

7-
::: warning Experimental
8-
The agent-native surface is experimental and may change without a major version bump until it stabilizes.
9-
:::
10-
117
## Message
128

139
> Agent tool "`{id}`" is already registered.

docs/errors/DF0016.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ outline: deep
44

55
# DF0016: Agent Resource Already Registered
66

7-
::: warning Experimental
8-
The agent-native surface is experimental and may change without a major version bump until it stabilizes.
9-
:::
10-
117
## Message
128

139
> Agent resource "`{id}`" is already registered.

docs/errors/DF0017.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ outline: deep
44

55
# DF0017: MCP Server Start Failure
66

7-
::: warning Experimental
8-
The agent-native surface is experimental and may change without a major version bump until it stabilizes.
9-
:::
10-
117
## Message
128

139
> Failed to start MCP server (`{transport}`): `{reason}`

docs/guide/agent-native.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ outline: deep
44

55
# Agent-Native Devframe
66

7-
::: warning Experimental
8-
The agent-native surface (`agent` field on `defineRpcFunction`, `DevframeAgentHost`, and the `devframe/adapters/mcp` adapter) is experimental and may change without a major version bump until it stabilizes.
9-
:::
10-
117
Devframe can expose the same surface a browser UI consumes — RPC functions, resources, and shared state — to coding agents (Claude Desktop / Cursor / Zed / Claude Code, or any MCP-speaking client). Agent exposure is opt-in per function; functions stay private by default.
128

139
## How it works

docs/guide/devframe-definition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ interface DevframeNodeContext {
111111
rpc: RpcFunctionsHost // register + broadcast + sharedState
112112
views: DevframeViewHost // static file hosting (`hostStatic`)
113113
diagnostics: DevframeDiagnosticsHost
114-
agent: DevframeAgentHost // experimental
114+
agent: DevframeAgentHost // expose tools + resources to coding agents
115115
services: DevframeServicesHost // typed cross-plugin service registry
116116

117117
scope: (id) => DevframeScopedNodeContext // namespaced view (preferred)

docs/guide/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Run it:
8181
```sh
8282
node ./my-devframe.js # dev server on http://localhost:9999/
8383
node ./my-devframe.js build # self-contained static deploy in dist-static/
84-
node ./my-devframe.js mcp # stdio MCP server (experimental)
84+
node ./my-devframe.js mcp # stdio MCP server
8585
```
8686

8787
The CLI adapter serves the SPA at `/` by default. When the same devframe is embedded inside a host (`vite`, `embedded`), the default becomes `/.my-devframe/`. Override either side via `defineDevframe({ basePath })`.

0 commit comments

Comments
 (0)