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(dev)!: delete the runtime provider MCP contract (#855)
* refactor(dev)!: delete the runtime provider MCP contract
Nothing in the host consumes a provider's MCP registry, clientSurface(), or
run results' app binding since the runtime App path was removed (#852).
Delete them from agent-bundle: the RuntimeMcpRegistry implementation and
createRuntimeMcpRegistry, DevRuntimeSession.mcpRegistry and clientSurface(),
DevRuntimeInspectionEnvelope.app, the runtime.mcp.* events and their fields,
and every DevRuntimeMcp*/RuntimeMcp* type. The Workbench runtime client now
rejects an app field in run inspections.
Rework examples/rsc-agent-runtime so its dev provider no longer hosts an
in-process MCP registry or App client surface: activation commits only the
generation store, generation metadata drops the registry descriptors and
digests, and MCP tool runs no longer return an App binding. Hooks and MCP
tools still share the durable kernel, which a new lifecycles e2e step
checks end to end.
* fix(example): recover from a failed prepared-runtime reconcile
Return the runtime to active once a reconcile succeeds after a failed one,
abort a prepared activation when the test seam throws, cover a provider-path
latch on an active session, and describe what the dev session still serves.
* docs(changeset): reference #855
Remove the runtime provider MCP contract from `agent-bundle/api`. `DevRuntimeSession` no longer has `mcpRegistry` or `clientSurface()`, `createRuntimeMcpRegistry` and the `DevRuntimeMcp*`, `RuntimeMcp*`, `DevRuntimeProviderMcpRegistry`, and `DevRuntimeClientSurfaceEndpoint` types are gone, run inspections (`DevRuntimeInspectionEnvelope`) no longer carry `app`, and `DevRuntimeEventInput` and the root `RuntimeEvent` type drop the `runtime.mcp.*` events with their `mcpRegistryRevision`, `mcpSessionId`, and `mcpSessionRevision` fields. The Workbench rejects a run inspection that still includes `app` (`AB8206`). `createRuntimeGenerationStore` and the generation store contracts are unchanged. (#855)
0 commit comments