diff --git a/.changeset/27048-objectui-guides-drop-plugin-ai.md b/.changeset/27048-objectui-guides-drop-plugin-ai.md new file mode 100644 index 00000000000..78be8d6a6c1 --- /dev/null +++ b/.changeset/27048-objectui-guides-drop-plugin-ai.md @@ -0,0 +1,14 @@ +--- +'@objectstack/skills': patch +--- + +Clause-②: no +Metadata-protocol: none + +objectui: the guides teach only what ships. `guides/project-setup.md`'s sample +`package.json` no longer installs `@object-ui/plugin-ai` (retired; `18.2.0` was its +last release), the AI row of `guides/page-builder.md`'s plugin catalog lists +`plugin-chatbot` alone, and the README's package snapshot drops `plugin-ai` from the +plugin list (18, not 19) and `vscode-extension` from the tooling line (the extension +left the workspace). `evals/project-setup.json` case 1 (the full Vite + React setup) +now fails an answer that installs the retired package. diff --git a/skills/objectui/README.md b/skills/objectui/README.md index b1b646bd9e0..fe084fb37fd 100644 --- a/skills/objectui/README.md +++ b/skills/objectui/README.md @@ -55,8 +55,8 @@ The published packages this skill covers. Nothing checks this list against the - **Parsing & runtime:** `@objectstack/sdui-parser`, `react-runtime` - **Integration:** `@object-ui/app-shell`, `providers`, `data-objectstack` - **Platform features:** `@object-ui/auth`, `permissions`, `i18n`, `mobile`, `collaboration` -- **Plugins (19):** `plugin-{grid, list, detail, form, kanban, calendar, timeline, gantt, dashboard, report, charts, map, editor, markdown, view, tree, designer, ai, chatbot}` -- **Tooling:** `@object-ui/cli`, `create-plugin`, `vscode-extension` +- **Plugins (18):** `plugin-{grid, list, detail, form, kanban, calendar, timeline, gantt, dashboard, report, charts, map, editor, markdown, view, tree, designer, chatbot}` +- **Tooling:** `@object-ui/cli`, `create-plugin` ## Reference diff --git a/skills/objectui/evals/project-setup.json b/skills/objectui/evals/project-setup.json index d2313dccd2f..0ddd831a982 100644 --- a/skills/objectui/evals/project-setup.json +++ b/skills/objectui/evals/project-setup.json @@ -16,7 +16,8 @@ ], "must_not_contain": [ "create-react-app", - "node_modules/@object-ui" + "node_modules/@object-ui", + "@object-ui/plugin-ai" ] } }, @@ -40,7 +41,7 @@ { "id": 3, "prompt": "How do I add the grid and kanban plugins to my existing ObjectUI project and make sure they're available in my schemas?", - "expected_output": "Shows installing @object-ui/plugin-grid and @object-ui/plugin-kanban, the side-effect import at the app entry that registers each plugin's renderers in ComponentRegistry (without it SchemaRenderer resolves the node to 'Unknown component type'), and the schema type to use afterwards. On styling: the plugin packages publish no stylesheet of their own — only @object-ui/components and @object-ui/fields export a ./style.css — so there is no third sheet to import and nothing to point Tailwind at inside node_modules. Inside the ObjectUI workspace the app owns the Tailwind entry and adds one @source line per plugin package's src, the way apps/console/src/index.css does.", + "expected_output": "Shows installing @object-ui/plugin-grid and @object-ui/plugin-kanban, the side-effect import at the app entry that registers each plugin's renderers in ComponentRegistry (without it SchemaRenderer resolves the node to 'Unknown component type'), and the schema type to use afterwards. On styling: the plugin packages publish no stylesheet of their own — only @object-ui/components and @object-ui/fields export a ./style.css — so there is no third sheet to import and nothing to point Tailwind at inside node_modules. Inside the ObjectUI workspace the app owns the Tailwind entry and adds one @source line per plugin package's src.", "files": [], "assertions": { "must_contain": [ diff --git a/skills/objectui/guides/page-builder.md b/skills/objectui/guides/page-builder.md index 942bde08b7c..713abb8cb4f 100644 --- a/skills/objectui/guides/page-builder.md +++ b/skills/objectui/guides/page-builder.md @@ -325,7 +325,7 @@ Pick plugins by domain — each registers its own `type` strings in the Componen | Visualization | `plugin-charts`, `plugin-map` | | Editors | `plugin-editor`, `plugin-markdown` | | Views & Design | `plugin-view`, `plugin-tree`, `plugin-designer` | -| AI | `plugin-ai`, `plugin-chatbot` | +| AI | `plugin-chatbot` | For lazy loading, use `LazyPluginLoader` from `@object-ui/react` rather than top-level imports. diff --git a/skills/objectui/guides/project-setup.md b/skills/objectui/guides/project-setup.md index 648280c0092..0085d0ccb13 100644 --- a/skills/objectui/guides/project-setup.md +++ b/skills/objectui/guides/project-setup.md @@ -72,7 +72,6 @@ Add plugins as needed (full plugin catalog): "@object-ui/plugin-view": "latest", "@object-ui/plugin-tree": "latest", "@object-ui/plugin-designer": "latest", - "@object-ui/plugin-ai": "latest", "@object-ui/plugin-chatbot": "latest" } ```