feat(service-ai): extract AI metadata authoring into cloud-only AI Studio#1571
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…udio Move the AI-driven metadata-authoring layer out of the open-source @objectstack/service-ai (the metadata_assistant agent, metadata/blueprint/ package authoring tools, and metadata_authoring/solution_design skills). The generic AI runtime and the metadata WRITE mechanism stay open. - Delete the authoring agent/skills/tools + their tests from service-ai; clean the barrels and the inline plugin registration. The `ai:ready` hook is retained so the cloud package can attach. - capability-loader: add install-aware `aiStudio` capability (@objectstack/service-ai-studio → AIStudioPlugin; dynamic import, silently skipped when absent). - cli serve: auto-register AIStudioPlugin when the package is installed. - ArtifactKernelFactory / createObjectOSStack: add `defaultRequires` so a host can force-mount capabilities (e.g. ['ai','aiStudio']) on every per-environment kernel regardless of the app artifact's requires. - RuntimeConfigPlugin: add `features.aiStudio` (default true; override-to-hide). Authoring intelligence now ships only in the private cloud package and as an installable enterprise plugin. See cloud ADR-0002. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
a70e787 to
ab930be
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extracts the AI-driven metadata-authoring layer out of the open-source
@objectstack/service-aiso the authoring intelligence ships only in the cloud / as an installable enterprise plugin, while the generic AI runtime and the metadata write mechanism stay open. Pairs with cloud@objectstack/service-ai-studio(cloud ADR-0002).Changes
metadata_assistantagent, metadata/blueprint/package authoring tools, andmetadata_authoring/solution_designskills (+ their tests) fromservice-ai; clean barrels and the inline plugin registration. Theai:readyhook is retained so the cloud package attaches.capability-loader: add install-awareaiStudiocapability (@objectstack/service-ai-studio→AIStudioPlugin; dynamic import, silently skipped when absent).cli serve: auto-registerAIStudioPluginwhen the package is installed.ArtifactKernelFactory/createObjectOSStack: adddefaultRequiresto force-mount capabilities (e.g.['ai','aiStudio']) on every per-environment kernel.RuntimeConfigPlugin: addfeatures.aiStudio(default true; override-to-hide).Verification
service-aibuilds + 320 tests pass; no external consumer imports the removed exports.runtime+clibuild clean.Coordination
solution_designcode also under active work infeat/solution-design-process-guardrail— coordinate merge order.🤖 Generated with Claude Code