diff --git a/.changeset/atomic-rstest-generated-modules.md b/.changeset/atomic-rstest-generated-modules.md deleted file mode 100644 index b0e505104..000000000 --- a/.changeset/atomic-rstest-generated-modules.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"agent-bundle": patch ---- - -Write the `agentBundleRstest()` and `agentBundleBrowserRstest()` generated modules under `.agent-bundle/test` (`meta.mjs`, `route-setup.mjs`, `browser-app-setup.mjs`) atomically, so concurrent Rstest processes never load a partial `agent-bundle/meta` or setup module (#844) diff --git a/.changeset/checkout-independent-artifacts.md b/.changeset/checkout-independent-artifacts.md deleted file mode 100644 index 82533fe51..000000000 --- a/.changeset/checkout-independent-artifacts.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"agent-bundle": patch ---- - -Make `agent-bundle build` emit byte-identical artifacts when one source is built from different checkout paths: generated wrappers import project modules by project-relative POSIX specifiers, and the manifest `modelDigest` hashes route, handler, `web`, and `state` paths relative to the project root. The `NormalizedPlugin` model returned by `validate`, `inspect`, and `build` now carries `projectRoot` (#835). diff --git a/.changeset/codex-install-add-only.md b/.changeset/codex-install-add-only.md deleted file mode 100644 index ebb0f9925..000000000 --- a/.changeset/codex-install-add-only.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"agent-bundle": patch ---- - -Replace Codex plugins with `codex plugin add` only so nested MCP overrides in `config.toml` survive. Refuse disabled or unknown-enablement Codex replacements (`AB7004`) because the native plugin CLI has no qualified settings-preserving update API. (#824) diff --git a/.changeset/effect-rc117-repin.md b/.changeset/effect-rc117-repin.md deleted file mode 100644 index 0e4245fb3..000000000 --- a/.changeset/effect-rc117-repin.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'agent-bundle': patch -'@agent-bundle/runtime': patch -'create-agent-bundle': patch ---- - -Update the bundled Effect runtime to `effect@4.0.0-rc.117` (with `@effect/platform-node-shared` and `@effect/platform-node` on the same RC). Consumer installs of `agent-bundle` and `@agent-bundle/runtime` no longer pull in `msgpackr`, `msgpackr-extract`, or `fast-check` through `effect`. (#832) diff --git a/.changeset/foreign-destination-inventory.md b/.changeset/foreign-destination-inventory.md deleted file mode 100644 index 98396055f..000000000 --- a/.changeset/foreign-destination-inventory.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"agent-bundle": patch ---- - -Refuse a foreign destination and a same-version marketplace restage from `install.mjs` when the destination lacks paths listed in `agent-bundle.manifest.json`, instead of crashing with `ENOENT`. (#818) diff --git a/.changeset/legacy-removal-followups.md b/.changeset/legacy-removal-followups.md deleted file mode 100644 index c470ddbd0..000000000 --- a/.changeset/legacy-removal-followups.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"agent-bundle": patch -"@agent-bundle/runtime": patch ---- - -Accept a CommonJS `module.exports` server factory as the default export of a -stdio MCP entry, so `AB4730` no longer rejects a `.cjs` entry the generated -lifecycle shell can run, and reject a SQLite state store at open with the -typed `corrupt` error when its journal schema differs in column nullability -from the one the current kernel writes. (#850) diff --git a/.changeset/mcp-client-tool-visibility.md b/.changeset/mcp-client-tool-visibility.md deleted file mode 100644 index 26cb0f8ee..000000000 --- a/.changeset/mcp-client-tool-visibility.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"agent-bundle": patch ---- - -Add `ToolConfig.excludeClients` to hide generated MCP tools from matching negotiated client-name prefixes and reject direct calls while preserving other clients and CLI/browser projections. (#820) diff --git a/.changeset/refresh-scaffold-consumers.md b/.changeset/refresh-scaffold-consumers.md deleted file mode 100644 index 69575d3ee..000000000 --- a/.changeset/refresh-scaffold-consumers.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-agent-bundle": patch ---- - -Update the `minimal`, `mcp-server`, and `cli-tool` templates to `@types/node` 26.5.1, update the routed templates to React 19.3.0, and move the `mcp-server` template to `@types/react` 19.3.0. (#808) diff --git a/.changeset/refuse-pre201-sqlite-store.md b/.changeset/refuse-pre201-sqlite-store.md deleted file mode 100644 index a1496ab72..000000000 --- a/.changeset/refuse-pre201-sqlite-store.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@agent-bundle/runtime": minor ---- - -Fail `createSqliteStateDriver({ root }).open()` from `@agent-bundle/runtime/state/sqlite` with a typed `corrupt` `AgentStateError` when the root holds a pre-#201 `-<12 hex of utf8(id)>.sqlite` store and no store under the current name. Previously an empty store opened beside it silently. The error names the old file: move it and its `-wal`/`-shm` sidecars out of the state root, or delete them, and the next open creates a fresh store. The old store is never adopted or migrated. (#854) diff --git a/.changeset/refuse-unreceipted-purge.md b/.changeset/refuse-unreceipted-purge.md deleted file mode 100644 index 19701776a..000000000 --- a/.changeset/refuse-unreceipted-purge.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"agent-bundle": minor ---- - -Refuse `agent-bundle uninstall claude|codex --force --purge-data --confirm-purge` with `AB7009` when no store receipt proves the bundle owns the install. Without a receipt, web-data and Claude's `plugins/data//` are no longer deleted. The refusal happens before any host verb runs, and `--plan` refuses the same way. `--force` without `--purge-data` still uninstalls through the host CLI and keeps the data. Remove unreceipted data by hand. (#853) diff --git a/.changeset/remove-legacy-apis.md b/.changeset/remove-legacy-apis.md deleted file mode 100644 index 27bed0620..000000000 --- a/.changeset/remove-legacy-apis.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"agent-bundle": minor -"@agent-bundle/runtime": minor -"rsc-markdown-stream": patch ---- - -Remove `plugin.version` and mismatch diagnostic AB4008 (retired); the key now fails with AB4001, and `AgentBundlePluginConfig` drops its index signature, so unknown `plugin.*` keys are type errors. Remove the `agent-bundle install --force` alias (use `--replace`); the emitted `install.mjs` exits 2 on `--force` without `--uninstall`. Tool routes must default-export `defineTool(...)`; split named tool exports fail with AB4810. Route App `config.template` resolves only from the route module, else AB4827. Remove `ServedApp` and generated CLI `isTty`. `@agent-bundle/runtime` removes the `Hook`/`Mcp` lowerers, `createRscRequestContext`, `RscRequestContext`, `AgentDocumentSnapshot`, and the `McpResultProps`, `McpDataProps`, `McpResourceLinkProps`, and `McpEmbeddedResourceProps` types. `rsc-markdown-stream` drops its React 18 element, provider, and dispatcher paths (#810) diff --git a/.changeset/remove-legacy-entry-conventions.md b/.changeset/remove-legacy-entry-conventions.md deleted file mode 100644 index 6260f6d31..000000000 --- a/.changeset/remove-legacy-entry-conventions.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"agent-bundle": minor -"create-agent-bundle": patch ---- - -Require every local stdio MCP entry to default-export a server factory: self-connecting entries no longer build and AB4730 is now an error instead of an informational nudge; retire AB4736, so documents left in the top-level `skills/`, `commands/`, and `rules/` locations are ignored rather than reported (#839) diff --git a/.changeset/remove-legacy-install-state.md b/.changeset/remove-legacy-install-state.md deleted file mode 100644 index c2a75ba7e..000000000 --- a/.changeset/remove-legacy-install-state.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"agent-bundle": minor ---- - -Remove the legacy install readers from `install`, `uninstall`, `doctor`, and the emitted `install.mjs`: format-1 receipts (`agent-bundle-install-receipt/1`), receipt-less "legacy" adoption of a pre-receipt Cursor copy, the in-tree `/state` handling and its `--purge-data` removal, the compatibility receipt `stateRoot` field, and the `AB7317` unsupported-runtime report. A Cursor directory without a format-2 receipt naming the plugin is foreign: `install` refuses it with `AB7005` (with or without `--replace`), `uninstall` refuses it with `AB7007` (with or without `--force`), and Doctor reports it as `AB7321`; remove such a directory by hand and reinstall. An in-tree `state/` is an ordinary unowned entry that `uninstall` retains and lists, never purges. A runtime that rejects the status probe is a failed probe (`AB7318`). `AB7317`, `AB7329`, and `AB7332` are retired. (#841) diff --git a/.changeset/remove-legacy-route-shapes.md b/.changeset/remove-legacy-route-shapes.md deleted file mode 100644 index 9f83be653..000000000 --- a/.changeset/remove-legacy-route-shapes.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"agent-bundle": minor ---- - -Drop the `complete` Flight worker message from the development server's production route invocation path. Generated workers have streamed `chunk` and `end` since #718, so an artifact compiled before that and restored from the epoch store now fails its render with `Compiled route worker failed.` instead of rendering one buffered document. Rebuild the project to restore rendering. (#838) diff --git a/.changeset/remove-legacy-sqlite-state.md b/.changeset/remove-legacy-sqlite-state.md deleted file mode 100644 index 82e11aa0e..000000000 --- a/.changeset/remove-legacy-sqlite-state.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@agent-bundle/runtime": minor ---- - -Stop adopting pre-#201 durable SQLite state stores in `createSqliteStateDriver`: a root-mode store still named `-<12 hex of utf8(id)>.sqlite` is no longer renamed to `-.sqlite` and adopted, and a journal table without a `result_state` column is no longer upgraded in place but rejected on open with a typed `corrupt` error. Move old stores and their `-wal`/`-shm` sidecars out of the state root, or delete them, before upgrading. (#837) diff --git a/.changeset/remove-remaining-route-shapes.md b/.changeset/remove-remaining-route-shapes.md deleted file mode 100644 index 561e0ce28..000000000 --- a/.changeset/remove-remaining-route-shapes.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"agent-bundle": minor ---- - -Make `CompiledAgentRoute.resultSchemaState` required on every compiled route; require `{ kind: 'resource' }` for `agent-bundle/test` App and resource contract fixtures (bare `{}` rejected); stop reporting AB4840 for removed `before`/`preflight` event exports. (#840) diff --git a/.changeset/remove-runtime-app-assets.md b/.changeset/remove-runtime-app-assets.md deleted file mode 100644 index 1c9099dc6..000000000 --- a/.changeset/remove-runtime-app-assets.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'agent-bundle': minor ---- - -Remove the development runtime App-asset path: `DevRuntimeSession.readAsset`, the `/api/runtime/assets` route (now a 400 invalid path), the `DevRuntimeAssetRequest` and `DevRuntimePreparedMcpApp` exports, the prepared-runtime `apps` input, `DevRuntimeStatus.hmrReady`, the `mcp-app` runtime surface kind, the `mcp-protocol`, `resource-selection`, `sandbox/csp`, and `app-bridge` diagnostic phases, and the launch and credential fields on `DevRuntimePreparedMcpServer`, which is now `{ id, name, targets }`. (#856) diff --git a/.changeset/remove-runtime-app-routes.md b/.changeset/remove-runtime-app-routes.md deleted file mode 100644 index 217ca89ae..000000000 --- a/.changeset/remove-runtime-app-routes.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"agent-bundle": minor ---- - -Remove the Workbench runtime App preview path. The dev server no longer serves `/api/runtime/apps/**` or `/api/runtime/mcp/sessions/**`, `DevServerSession` (from `agent-bundle` and `agent-bundle/api`) drops `openRuntimeClientSurface`, and `DevRuntimeEventInput` no longer accepts `runtime.app.updated`, `runtime.hmr.client-connected`, or `runtime.hmr.client-disconnected`. The `AB8022` 410 and `AB8023` 413 runtime App responses are gone; both codes keep their other meanings. Runtime runs, status, surfaces, and MCP App previews for artifact sessions are unchanged. (#852) diff --git a/.changeset/remove-runtime-provider-mcp.md b/.changeset/remove-runtime-provider-mcp.md deleted file mode 100644 index a9326f94a..000000000 --- a/.changeset/remove-runtime-provider-mcp.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"agent-bundle": minor ---- - -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) diff --git a/.changeset/remove-workbench-runtime-app-renderer.md b/.changeset/remove-workbench-runtime-app-renderer.md deleted file mode 100644 index 6fc71093d..000000000 --- a/.changeset/remove-workbench-runtime-app-renderer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"agent-bundle": patch ---- - -Remove the unused runtime MCP App renderer from the bundled Workbench. App previews keep rendering through the server-issued sandbox frame; the package no longer ships `dist/workbench/src/mcp/APP-RENDERER-LICENSE`, and `NOTICE` and `THIRD_PARTY_NOTICES` drop the MCP Inspector `AppRenderer` attribution. (#845) diff --git a/.changeset/repository-marketplaces.md b/.changeset/repository-marketplaces.md deleted file mode 100644 index 01506e4c6..000000000 --- a/.changeset/repository-marketplaces.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"agent-bundle": patch ---- - -Generate repository-root host marketplaces with `output.repositoryMarketplace` so committed artifacts install directly from GitHub without hand-written manifests (#827). diff --git a/.changeset/temporary-marketplace-isolation.md b/.changeset/temporary-marketplace-isolation.md deleted file mode 100644 index 6478b29e7..000000000 --- a/.changeset/temporary-marketplace-isolation.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"agent-bundle": patch ---- - -Preserve `output.repositoryMarketplace` files during temporary MCP, hook, and `serve-app` builds, including failed operations (#828). diff --git a/.changeset/zod-4-6-4-floor.md b/.changeset/zod-4-6-4-floor.md deleted file mode 100644 index 318934cf9..000000000 --- a/.changeset/zod-4-6-4-floor.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@agent-bundle/runtime": minor -"agent-bundle": patch -"create-agent-bundle": patch ---- - -Raise the `@agent-bundle/runtime` `zod` peer floor from `^4.5.4` to `^4.6.4`: projects on `zod@4.5.x` or earlier must upgrade their direct `zod` dependency before installing the runtime, or npm rejects the required peer with `ERESOLVE`. `agent-bundle` now compiles its bundled schemas with `zod` 4.6.4, and the `cli-tool` and `mcp-server` scaffold templates pin `zod@4.6.4` to satisfy the new peer. (#842) diff --git a/packages/agent-bundle/CHANGELOG.md b/packages/agent-bundle/CHANGELOG.md index 56480e017..2fdfaa5c6 100644 --- a/packages/agent-bundle/CHANGELOG.md +++ b/packages/agent-bundle/CHANGELOG.md @@ -1,5 +1,44 @@ # agent-bundle +## 0.3.0 + +### Minor Changes + +- 1a77058: Refuse `agent-bundle uninstall claude|codex --force --purge-data --confirm-purge` with `AB7009` when no store receipt proves the bundle owns the install. Without a receipt, web-data and Claude's `plugins/data//` are no longer deleted. The refusal happens before any host verb runs, and `--plan` refuses the same way. `--force` without `--purge-data` still uninstalls through the host CLI and keeps the data. Remove unreceipted data by hand. (#853) +- 18a913e: Remove `plugin.version` and mismatch diagnostic AB4008 (retired); the key now fails with AB4001, and `AgentBundlePluginConfig` drops its index signature, so unknown `plugin.*` keys are type errors. Remove the `agent-bundle install --force` alias (use `--replace`); the emitted `install.mjs` exits 2 on `--force` without `--uninstall`. Tool routes must default-export `defineTool(...)`; split named tool exports fail with AB4810. Route App `config.template` resolves only from the route module, else AB4827. Remove `ServedApp` and generated CLI `isTty`. `@agent-bundle/runtime` removes the `Hook`/`Mcp` lowerers, `createRscRequestContext`, `RscRequestContext`, `AgentDocumentSnapshot`, and the `McpResultProps`, `McpDataProps`, `McpResourceLinkProps`, and `McpEmbeddedResourceProps` types. `rsc-markdown-stream` drops its React 18 element, provider, and dispatcher paths (#810) +- 3b667c8: Require every local stdio MCP entry to default-export a server factory: self-connecting entries no longer build and AB4730 is now an error instead of an informational nudge; retire AB4736, so documents left in the top-level `skills/`, `commands/`, and `rules/` locations are ignored rather than reported (#839) +- 2a129e9: Remove the legacy install readers from `install`, `uninstall`, `doctor`, and the emitted `install.mjs`: format-1 receipts (`agent-bundle-install-receipt/1`), receipt-less "legacy" adoption of a pre-receipt Cursor copy, the in-tree `/state` handling and its `--purge-data` removal, the compatibility receipt `stateRoot` field, and the `AB7317` unsupported-runtime report. A Cursor directory without a format-2 receipt naming the plugin is foreign: `install` refuses it with `AB7005` (with or without `--replace`), `uninstall` refuses it with `AB7007` (with or without `--force`), and Doctor reports it as `AB7321`; remove such a directory by hand and reinstall. An in-tree `state/` is an ordinary unowned entry that `uninstall` retains and lists, never purges. A runtime that rejects the status probe is a failed probe (`AB7318`). `AB7317`, `AB7329`, and `AB7332` are retired. (#841) +- b9fbc2e: Drop the `complete` Flight worker message from the development server's production route invocation path. Generated workers have streamed `chunk` and `end` since #718, so an artifact compiled before that and restored from the epoch store now fails its render with `Compiled route worker failed.` instead of rendering one buffered document. Rebuild the project to restore rendering. (#838) +- c42b93d: Make `CompiledAgentRoute.resultSchemaState` required on every compiled route; require `{ kind: 'resource' }` for `agent-bundle/test` App and resource contract fixtures (bare `{}` rejected); stop reporting AB4840 for removed `before`/`preflight` event exports. (#840) +- 12a1ddc: Remove the development runtime App-asset path: `DevRuntimeSession.readAsset`, the `/api/runtime/assets` route (now a 400 invalid path), the `DevRuntimeAssetRequest` and `DevRuntimePreparedMcpApp` exports, the prepared-runtime `apps` input, `DevRuntimeStatus.hmrReady`, the `mcp-app` runtime surface kind, the `mcp-protocol`, `resource-selection`, `sandbox/csp`, and `app-bridge` diagnostic phases, and the launch and credential fields on `DevRuntimePreparedMcpServer`, which is now `{ id, name, targets }`. (#856) +- 78d75f2: Remove the Workbench runtime App preview path. The dev server no longer serves `/api/runtime/apps/**` or `/api/runtime/mcp/sessions/**`, `DevServerSession` (from `agent-bundle` and `agent-bundle/api`) drops `openRuntimeClientSurface`, and `DevRuntimeEventInput` no longer accepts `runtime.app.updated`, `runtime.hmr.client-connected`, or `runtime.hmr.client-disconnected`. The `AB8022` 410 and `AB8023` 413 runtime App responses are gone; both codes keep their other meanings. Runtime runs, status, surfaces, and MCP App previews for artifact sessions are unchanged. (#852) +- 116ea16: 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) + +### Patch Changes + +- cf82ffe: Write the `agentBundleRstest()` and `agentBundleBrowserRstest()` generated modules under `.agent-bundle/test` (`meta.mjs`, `route-setup.mjs`, `browser-app-setup.mjs`) atomically, so concurrent Rstest processes never load a partial `agent-bundle/meta` or setup module (#844) +- c74702b: Make `agent-bundle build` emit byte-identical artifacts when one source is built from different checkout paths: generated wrappers import project modules by project-relative POSIX specifiers, and the manifest `modelDigest` hashes route, handler, `web`, and `state` paths relative to the project root. The `NormalizedPlugin` model returned by `validate`, `inspect`, and `build` now carries `projectRoot` (#835). +- ab5ae66: Replace Codex plugins with `codex plugin add` only so nested MCP overrides in `config.toml` survive. Refuse disabled or unknown-enablement Codex replacements (`AB7004`) because the native plugin CLI has no qualified settings-preserving update API. (#824) +- 7b99b1f: Update the bundled Effect runtime to `effect@4.0.0-rc.117` (with `@effect/platform-node-shared` and `@effect/platform-node` on the same RC). Consumer installs of `agent-bundle` and `@agent-bundle/runtime` no longer pull in `msgpackr`, `msgpackr-extract`, or `fast-check` through `effect`. (#832) +- a0652c1: Refuse a foreign destination and a same-version marketplace restage from `install.mjs` when the destination lacks paths listed in `agent-bundle.manifest.json`, instead of crashing with `ENOENT`. (#818) +- 13c9570: Accept a CommonJS `module.exports` server factory as the default export of a + stdio MCP entry, so `AB4730` no longer rejects a `.cjs` entry the generated + lifecycle shell can run, and reject a SQLite state store at open with the + typed `corrupt` error when its journal schema differs in column nullability + from the one the current kernel writes. (#850) +- 7c96689: Add `ToolConfig.excludeClients` to hide generated MCP tools from matching negotiated client-name prefixes and reject direct calls while preserving other clients and CLI/browser projections. (#820) +- ff7421b: Remove the unused runtime MCP App renderer from the bundled Workbench. App previews keep rendering through the server-issued sandbox frame; the package no longer ships `dist/workbench/src/mcp/APP-RENDERER-LICENSE`, and `NOTICE` and `THIRD_PARTY_NOTICES` drop the MCP Inspector `AppRenderer` attribution. (#845) +- cb9792d: Generate repository-root host marketplaces with `output.repositoryMarketplace` so committed artifacts install directly from GitHub without hand-written manifests (#827). +- 10485c4: Preserve `output.repositoryMarketplace` files during temporary MCP, hook, and `serve-app` builds, including failed operations (#828). +- 6e836aa: Raise the `@agent-bundle/runtime` `zod` peer floor from `^4.5.4` to `^4.6.4`: projects on `zod@4.5.x` or earlier must upgrade their direct `zod` dependency before installing the runtime, or npm rejects the required peer with `ERESOLVE`. `agent-bundle` now compiles its bundled schemas with `zod` 4.6.4, and the `cli-tool` and `mcp-server` scaffold templates pin `zod@4.6.4` to satisfy the new peer. (#842) +- Updated dependencies [7b99b1f] +- Updated dependencies [13c9570] +- Updated dependencies [184ff02] +- Updated dependencies [18a913e] +- Updated dependencies [349aa1a] +- Updated dependencies [6e836aa] + - @agent-bundle/runtime@0.2.0 + ## 0.2.1 ### Patch Changes diff --git a/packages/agent-bundle/package.json b/packages/agent-bundle/package.json index 3cb8a4466..c18140aa6 100644 --- a/packages/agent-bundle/package.json +++ b/packages/agent-bundle/package.json @@ -1,6 +1,6 @@ { "name": "agent-bundle", - "version": "0.2.1", + "version": "0.3.0", "description": "Compile a typed Agent Bundle configuration into portable, Codex, Claude Code, and Cursor artifacts, plus experimental Amp.", "license": "Apache-2.0", "keywords": [ diff --git a/packages/create-agent-bundle/CHANGELOG.md b/packages/create-agent-bundle/CHANGELOG.md index abd40041b..e940562b1 100644 --- a/packages/create-agent-bundle/CHANGELOG.md +++ b/packages/create-agent-bundle/CHANGELOG.md @@ -1,5 +1,38 @@ # create-agent-bundle +## 0.1.2 + +### Patch Changes + +- 7b99b1f: Update the bundled Effect runtime to `effect@4.0.0-rc.117` (with `@effect/platform-node-shared` and `@effect/platform-node` on the same RC). Consumer installs of `agent-bundle` and `@agent-bundle/runtime` no longer pull in `msgpackr`, `msgpackr-extract`, or `fast-check` through `effect`. (#832) +- e57c0ac: Update the `minimal`, `mcp-server`, and `cli-tool` templates to `@types/node` 26.5.1, update the routed templates to React 19.3.0, and move the `mcp-server` template to `@types/react` 19.3.0. (#808) +- 3b667c8: Require every local stdio MCP entry to default-export a server factory: self-connecting entries no longer build and AB4730 is now an error instead of an informational nudge; retire AB4736, so documents left in the top-level `skills/`, `commands/`, and `rules/` locations are ignored rather than reported (#839) +- 6e836aa: Raise the `@agent-bundle/runtime` `zod` peer floor from `^4.5.4` to `^4.6.4`: projects on `zod@4.5.x` or earlier must upgrade their direct `zod` dependency before installing the runtime, or npm rejects the required peer with `ERESOLVE`. `agent-bundle` now compiles its bundled schemas with `zod` 4.6.4, and the `cli-tool` and `mcp-server` scaffold templates pin `zod@4.6.4` to satisfy the new peer. (#842) +- Updated dependencies [cf82ffe] +- Updated dependencies [c74702b] +- Updated dependencies [ab5ae66] +- Updated dependencies [7b99b1f] +- Updated dependencies [a0652c1] +- Updated dependencies [13c9570] +- Updated dependencies [7c96689] +- Updated dependencies [184ff02] +- Updated dependencies [1a77058] +- Updated dependencies [18a913e] +- Updated dependencies [3b667c8] +- Updated dependencies [2a129e9] +- Updated dependencies [b9fbc2e] +- Updated dependencies [349aa1a] +- Updated dependencies [c42b93d] +- Updated dependencies [12a1ddc] +- Updated dependencies [78d75f2] +- Updated dependencies [116ea16] +- Updated dependencies [ff7421b] +- Updated dependencies [cb9792d] +- Updated dependencies [10485c4] +- Updated dependencies [6e836aa] + - agent-bundle@0.3.0 + - @agent-bundle/runtime@0.2.0 + ## 0.1.1 ### Patch Changes diff --git a/packages/create-agent-bundle/package.json b/packages/create-agent-bundle/package.json index b267b5ea7..72fa4a02e 100644 --- a/packages/create-agent-bundle/package.json +++ b/packages/create-agent-bundle/package.json @@ -1,6 +1,6 @@ { "name": "create-agent-bundle", - "version": "0.1.1", + "version": "0.1.2", "description": "Scaffold a new agent-bundle plugin project from a checked-in template.", "license": "Apache-2.0", "keywords": [ diff --git a/packages/rsc-markdown-stream/CHANGELOG.md b/packages/rsc-markdown-stream/CHANGELOG.md index 3475611ac..84aeb2de5 100644 --- a/packages/rsc-markdown-stream/CHANGELOG.md +++ b/packages/rsc-markdown-stream/CHANGELOG.md @@ -1,5 +1,11 @@ # rsc-markdown-stream +## 0.1.3 + +### Patch Changes + +- 18a913e: Remove `plugin.version` and mismatch diagnostic AB4008 (retired); the key now fails with AB4001, and `AgentBundlePluginConfig` drops its index signature, so unknown `plugin.*` keys are type errors. Remove the `agent-bundle install --force` alias (use `--replace`); the emitted `install.mjs` exits 2 on `--force` without `--uninstall`. Tool routes must default-export `defineTool(...)`; split named tool exports fail with AB4810. Route App `config.template` resolves only from the route module, else AB4827. Remove `ServedApp` and generated CLI `isTty`. `@agent-bundle/runtime` removes the `Hook`/`Mcp` lowerers, `createRscRequestContext`, `RscRequestContext`, `AgentDocumentSnapshot`, and the `McpResultProps`, `McpDataProps`, `McpResourceLinkProps`, and `McpEmbeddedResourceProps` types. `rsc-markdown-stream` drops its React 18 element, provider, and dispatcher paths (#810) + ## 0.1.2 ### Patch Changes diff --git a/packages/rsc-markdown-stream/package.json b/packages/rsc-markdown-stream/package.json index c0aeca21b..771afc8b0 100644 --- a/packages/rsc-markdown-stream/package.json +++ b/packages/rsc-markdown-stream/package.json @@ -1,6 +1,6 @@ { "name": "rsc-markdown-stream", - "version": "0.1.2", + "version": "0.1.3", "description": "Render React / RSC trees to a Markdown stream. A custom renderer: React → Markdown, never HTML.", "license": "Apache-2.0", "keywords": [ diff --git a/packages/rsc-runtime/CHANGELOG.md b/packages/rsc-runtime/CHANGELOG.md index d96e1b2a6..e66db232f 100644 --- a/packages/rsc-runtime/CHANGELOG.md +++ b/packages/rsc-runtime/CHANGELOG.md @@ -1,5 +1,25 @@ # @agent-bundle/runtime +## 0.2.0 + +### Minor Changes + +- 184ff02: Fail `createSqliteStateDriver({ root }).open()` from `@agent-bundle/runtime/state/sqlite` with a typed `corrupt` `AgentStateError` when the root holds a pre-#201 `-<12 hex of utf8(id)>.sqlite` store and no store under the current name. Previously an empty store opened beside it silently. The error names the old file: move it and its `-wal`/`-shm` sidecars out of the state root, or delete them, and the next open creates a fresh store. The old store is never adopted or migrated. (#854) +- 18a913e: Remove `plugin.version` and mismatch diagnostic AB4008 (retired); the key now fails with AB4001, and `AgentBundlePluginConfig` drops its index signature, so unknown `plugin.*` keys are type errors. Remove the `agent-bundle install --force` alias (use `--replace`); the emitted `install.mjs` exits 2 on `--force` without `--uninstall`. Tool routes must default-export `defineTool(...)`; split named tool exports fail with AB4810. Route App `config.template` resolves only from the route module, else AB4827. Remove `ServedApp` and generated CLI `isTty`. `@agent-bundle/runtime` removes the `Hook`/`Mcp` lowerers, `createRscRequestContext`, `RscRequestContext`, `AgentDocumentSnapshot`, and the `McpResultProps`, `McpDataProps`, `McpResourceLinkProps`, and `McpEmbeddedResourceProps` types. `rsc-markdown-stream` drops its React 18 element, provider, and dispatcher paths (#810) +- 349aa1a: Stop adopting pre-#201 durable SQLite state stores in `createSqliteStateDriver`: a root-mode store still named `-<12 hex of utf8(id)>.sqlite` is no longer renamed to `-.sqlite` and adopted, and a journal table without a `result_state` column is no longer upgraded in place but rejected on open with a typed `corrupt` error. Move old stores and their `-wal`/`-shm` sidecars out of the state root, or delete them, before upgrading. (#837) +- 6e836aa: Raise the `@agent-bundle/runtime` `zod` peer floor from `^4.5.4` to `^4.6.4`: projects on `zod@4.5.x` or earlier must upgrade their direct `zod` dependency before installing the runtime, or npm rejects the required peer with `ERESOLVE`. `agent-bundle` now compiles its bundled schemas with `zod` 4.6.4, and the `cli-tool` and `mcp-server` scaffold templates pin `zod@4.6.4` to satisfy the new peer. (#842) + +### Patch Changes + +- 7b99b1f: Update the bundled Effect runtime to `effect@4.0.0-rc.117` (with `@effect/platform-node-shared` and `@effect/platform-node` on the same RC). Consumer installs of `agent-bundle` and `@agent-bundle/runtime` no longer pull in `msgpackr`, `msgpackr-extract`, or `fast-check` through `effect`. (#832) +- 13c9570: Accept a CommonJS `module.exports` server factory as the default export of a + stdio MCP entry, so `AB4730` no longer rejects a `.cjs` entry the generated + lifecycle shell can run, and reject a SQLite state store at open with the + typed `corrupt` error when its journal schema differs in column nullability + from the one the current kernel writes. (#850) +- Updated dependencies [18a913e] + - rsc-markdown-stream@0.1.3 + ## 0.1.1 ### Patch Changes diff --git a/packages/rsc-runtime/package.json b/packages/rsc-runtime/package.json index d43fc5e94..277ca124c 100644 --- a/packages/rsc-runtime/package.json +++ b/packages/rsc-runtime/package.json @@ -1,6 +1,6 @@ { "name": "@agent-bundle/runtime", - "version": "0.1.1", + "version": "0.2.0", "description": "Agent Document contracts and streaming React Flight dispatch for Agent Bundle runtimes.", "license": "Apache-2.0", "keywords": [