Skip to content

feat!: remove service-ai — open edition is MCP-only (ADR-0025 S2) - #2325

Merged
os-zhuang merged 1 commit into
mainfrom
feat/open-mcp-only-remove-service-ai
Jun 25, 2026
Merged

feat!: remove service-ai — open edition is MCP-only (ADR-0025 S2)#2325
os-zhuang merged 1 commit into
mainfrom
feat/open-mcp-only-remove-service-ai

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

ADR-0025 migration — framework half (S2): remove service-ai, open edition is MCP-only.

Completes the boundary in ADR-0025 / ADR-0026 (cloud#513) and pairs with the cloud-side move (cloud#514). @objectstack/service-ai (in-UI AI runtime + ask agent) now lives in cloud/packages/service-ai (closed); the open framework exposes AI only via @objectstack/mcp (BYO-AI).

Changes

  • delete packages/services/service-ai
  • drop the dep from packages/cli + examples/app-todo (CLI keeps its dynamic-import + silent-skip path so a cloud/EE host can still mount it)
  • remove app-todo's 7 in-UI-AI integration tests; keepmcp-actions.test.ts (CE test proving actions work over MCP with no service-ai)
  • drop @objectstack/service-ai from .changeset/config.jsonfixed[]
  • de-stale ai-capabilities.mdx + packages.mdx (open AI → MCP)

Verified locally:turbo build (CLI + example-todo closures) green; app-todo CE MCP-actions E2E passes with service-ai absent.

BREAKING:@objectstack/service-ai is no longer published from the open framework. (Already-published versions stay on npm; self-hosted open runtimes use @objectstack/mcp.)

🤖 Generated with Claude Code

…025 S2)
Completes the ADR-0025 migration on the framework side. @objectstack/service-ai
(in-UI AI runtime + ask agent) now lives in cloud/packages/service-ai (closed).
The open framework exposes AI only via @objectstack/mcp (BYO-AI).
- delete packages/services/service-ai
- drop dep from packages/cli + examples/app-todo (CLI keeps its dynamic-import
+ silent-skip path for cloud/EE hosts)
- remove app-todo's 7 in-UI-AI tests; keep mcp-actions.test.ts (CE test that
proves actions work over MCP with no service-ai)
- drop service-ai from .changeset/config.json fixed[]
- de-stale ai-capabilities + packages docs (open AI -> MCP)
Verified: turbo build (CLI + example-todo closures) green; app-todo CE
MCP-actions E2E passes with service-ai absent.
BREAKING CHANGE: @objectstack/service-ai is no longer published from the open
framework. Self-hosted open runtimes use @objectstack/mcp (BYO-AI).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercelBot commented Jun 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

ProjectDeploymentActionsUpdated (UTC)
specReadyReadyPreview, CommentJun 25, 2026 11:24am

Request Review

@github-actionsgithub-actionsBot added documentation Improvements or additions to documentation dependencies Pull requests that update a dependency file tests tooling labels Jun 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 2 package(s): @objectstack/cli, packages/services.

18 hand-written doc(s) reference the affected code and may need an implementation-accuracy re-verification:

  • content/docs/concepts/cloud-artifact-api.mdx(via packages/cli)
  • content/docs/concepts/implementation-status.mdx(via @objectstack/cli)
  • content/docs/concepts/packages.mdx(via @objectstack/cli)
  • content/docs/getting-started/cli.mdx(via @objectstack/cli)
  • content/docs/getting-started/quick-start.mdx(via @objectstack/cli)
  • content/docs/guides/authentication.mdx(via @objectstack/cli)
  • content/docs/guides/client-sdk.mdx(via @objectstack/cli)
  • content/docs/guides/hook-bodies.mdx(via packages/cli)
  • content/docs/guides/packages.mdx(via @objectstack/cli, packages/services)
  • content/docs/guides/project-scoping.mdx(via @objectstack/cli)
  • content/docs/guides/runtime-services/audit-service.mdx(via packages/services)
  • content/docs/guides/runtime-services/data-service.mdx(via packages/cli)
  • content/docs/guides/runtime-services/index.mdx(via packages/cli, packages/services)
  • content/docs/guides/runtime-services/settings-service.mdx(via packages/services)
  • content/docs/guides/skills.mdx(via packages/cli)
  • content/docs/protocol/objectos/i18n-standard.mdx(via packages/services)
  • content/docs/protocol/objectos/plugin-spec.mdx(via @objectstack/cli)
  • content/docs/protocol/objectos/realtime-protocol.mdx(via @objectstack/cli)

Advisory only. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs origin/main → pass the list as args.docs.

@os-zhuang
os-zhuang merged commit 21d4f89 into mainJun 25, 2026
17 checks passed
@os-zhuang
os-zhuang deleted the feat/open-mcp-only-remove-service-ai branch June 25, 2026 11:28
os-zhuang added a commit that referenced this pull request Jun 25, 2026
Optional, neutral field carrying the latest user message — for a tool to detect
explicit user intent (e.g. a confirm/approval) without re-deriving it from the
transcript. Consumed by cloud's confirm-before-change gate.
Scope reduced after #2325 (ADR-0025) removed framework service-ai: the agent
route that POPULATES this now lives with the AI runtime (cloud-owned), so this
PR adds only the contract field; cloud wires the value when it owns the route.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
os-zhuang added a commit that referenced this pull request Jun 25, 2026
…2328)
Optional, neutral field carrying the latest user message — for a tool to detect
explicit user intent (e.g. a confirm/approval) without re-deriving it from the
transcript. Consumed by cloud's confirm-before-change gate.
Scope reduced after #2325 (ADR-0025) removed framework service-ai: the agent
route that POPULATES this now lives with the AI runtime (cloud-owned), so this
PR adds only the contract field; cloud wires the value when it owns the route.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
os-zhuang added a commit that referenced this pull request Jun 26, 2026
…25) (#2337)
Propagate framework #2325 (service-ai removed from the open framework) across the
remaining docs. Canonical decision: cloud ADR-0025 (service-ai -> cloud; open =
MCP-only). Disambiguates the cross-repo "ADR-0025" reference, since framework
ADR-0025 is plugin-distribution and unrelated.
New model documented everywhere:
- Open edition (cloud free tier / Docker / desktop / on-prem): no in-product
ask/build chat. Data query via @objectstack/mcp (BYO-AI); metadata authoring
via source mode + an AI coding agent.
- Cloud / Enterprise: in-UI AI runtime (ask + build + in-product chat +
/api/v1/ai/*), governed ask, managed/metered AI.
User-facing: ai-capabilities (ask edition open->cloud, fixed the ambiguous ADR-0025
ref, added the open-edition two-path callout), plugin-chatbot-integration,
environment-variables, knowledge, implementation-status, README (AI bullet -> MCP;
drop the dead service-ai Services row), both objectstack-* skills.
ADRs: cloud-owned banners on 0033/0038/0040/0063/0064 per cloud ADR-0025 (banners
only; ADR bodies preserved as historical record).
Left as historical/unaffected: docs/audits/2026-06-*, RELEASE_NOTES.md,
ARCHITECTURE.md (spec/ai schemas stay open), apps/docs/app/llms* (generated route
handlers), other ADRs' incidental service-ai mentions.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency filedocumentationImprovements or additions to documentationsize/xlteststooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@os-zhuang