Skip to content

Commit 53dfa40

Browse files
committed
chore(changeset): retire @object-ui/plugin-ai whole on one operand
The runtime-export-retired marker names the package as `@object-ui/plugin-ai#*` (ADR-0087 D9 whole-package operand) and its three per-export FROM lines become one line naming the package. Merging main brought two more mentions of the deleted package: the pending README-links changeset's patch line (a pending changeset naming a deleted package breaks `changeset version`) and the CONTRIBUTING.md package-table row that moved there from ui/README.md. Claude-Session: https://claude.ai/code/session_01JQwxbYonqfPMAts3ErwZAK Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0c15e5f commit 53dfa40

3 files changed

Lines changed: 2 additions & 6 deletions

File tree

‎.changeset/25921-retire-plugin-ai.md‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,13 @@ refactor(ui)!: retire `@object-ui/plugin-ai` and its three node types
99
Clause-②: no (narrowing)
1010
Metadata-protocol: narrowed
1111

12-
<!-- adr-0087: not-required (runtime-export-retired @object-ui/plugin-ai#AIFormAssist, @object-ui/plugin-ai#AIRecommendations, @object-ui/plugin-ai#NLQueryInput) the retired operands are React components of a published ui package that nothing in the workspace loaded; no packages/spec schema, no ADR-0087 conversion surface and no stored shape names them, so there is nothing for `objectstack migrate meta` to rewrite, and the three node literals are refused by name on the zod face -->
12+
<!-- adr-0087: not-required (runtime-export-retired @object-ui/plugin-ai#*) the retired operands are React components of a published ui package that nothing in the workspace loaded; no packages/spec schema, no ADR-0087 conversion surface and no stored shape names them, so there is nothing for `objectstack migrate meta` to rewrite, and the three node literals are refused by name on the zod face -->
1313

1414
**BREAKING.** `@object-ui/plugin-ai` is retired: `18.2.0` is its last published version, and it gets no further release. The console registered it neither eagerly nor lazily and no workspace package imported it, so the `ai-form-assist`, `ai-recommendations` and `nl-query` node types it registered rendered nowhere in the product.
1515

1616
What leaves, and what to do:
1717

18-
- FROM `AIFormAssist` TO nothing: drop the `@object-ui/plugin-ai` import and dependency. A host that still wants the component keeps its own copy and registers it under its own type key.
19-
- FROM `AIRecommendations` TO nothing: the same fix.
20-
- FROM `NLQueryInput` TO nothing: the same fix.
18+
- FROM `@object-ui/plugin-ai` TO nothing: drop the `@object-ui/plugin-ai` import and dependency. A host that still wants the component keeps its own copy and registers it under its own type key.
2119
- Page nodes of type `ai-form-assist`, `ai-recommendations` or `nl-query`: remove them from the page. `safeValidateSchema` and `objectui validate` now refuse each of the three literals by name at `type`, with that remedy; before, the page rendered the "Unknown component type" panel in their place whenever the package was not loaded.
2220
- `@object-ui/types`: `AIFormAssistSchema`, `AIRecommendationsSchema`, `NLQuerySchema`, `AIConfig`, `AIFieldSuggestion`, `AIRecommendationItem`, `NLQueryResult`, `AIProvider` and `AIModelType` are `@deprecated` and now `never`, and `AnySchema` has no member for the three literals. The zod names (`AIFormAssistSchema` and the rest under `@object-ui/types/zod`, `AIComponentSchema` included) are `@deprecated` `z.never()` schemas that accept nothing. Remove every reference. The names stay importable until the tombstone sunset rule decides when they leave the published face.
2321
- `@object-ui/i18n`: the `ai.*` message block (`ai.nlQuery.*`, `ai.formAssist.*`, `ai.recommendations.*`) is gone from all ten packs. A host that registered overrides for those keys can delete them.

‎.changeset/26080-readme-contributing-links.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
'@object-ui/layout': patch
1212
'@object-ui/mobile': patch
1313
'@object-ui/permissions': patch
14-
'@object-ui/plugin-ai': patch
1514
'@object-ui/plugin-calendar': patch
1615
'@object-ui/plugin-charts': patch
1716
'@object-ui/plugin-chatbot': patch

‎CONTRIBUTING.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,6 @@ Atoms and fields stay light; heavy widgets live in lazy-loaded plugins.
495495
| [`@object-ui/plugin-editor`](ui/packages/plugin-editor) | Rich text editor powered by Monaco |
496496
| [`@object-ui/plugin-markdown`](ui/packages/plugin-markdown) | Markdown rendering |
497497
| [`@object-ui/plugin-chatbot`](ui/packages/plugin-chatbot) | Chatbot interface |
498-
| [`@object-ui/plugin-ai`](ui/packages/plugin-ai) | Schema generation and conversational assistants (Vercel AI SDK) |
499498

500499
#### Tooling
501500

0 commit comments

Comments
 (0)