Skip to content

feat(adr-0006)!: Phase 4 — remove cloud plugins from framework runtime + CLI#1723

Merged
os-zhuang merged 1 commit into
mainfrom
adr-0006-phase4-delete-cloud-plugins
Jun 11, 2026
Merged

feat(adr-0006)!: Phase 4 — remove cloud plugins from framework runtime + CLI#1723
os-zhuang merged 1 commit into
mainfrom
adr-0006-phase4-delete-cloud-plugins

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

ADR-0006 Phase 4 — 框架 CLI 解耦 + 删云插件 (breaking; = cloud ADR-0007 ⑤完成)

Deletes the framework's deprecated duplicate cloud plugins (marked @deprecated in #1717) and the CLI serve auto-inject that load-beared them. Cloud apps stopped booting through CLI cloud-serve in cloud#214/#215 (Phase 3), so nothing in the cloud product depends on these anymore.

Removed (public API — breaking)

MarketplaceProxyPlugin, MarketplaceInstallLocalPlugin, RuntimeConfigPlugin (+ their *Config types), DEFAULT_CLOUD_URL, resolveCloudUrl; the runtime/src/cloud/ implementation files + tests; CLI serve's 5b/5b-ii auto-inject blocks.

Kept (deliberately)

  • cloud/environment-registry.tsEnvironmentDriverRegistry / KernelManager contracts (D3) + the KernelResolver seam (Phase 2). Both converge in Phase 5.
  • CLI utils/console.ts (Console static-serve — generic UI hosting, used by the cloud node bootstrap per D-CONSOLE Option 1) and utils/cloud-config.ts (its own unrelated DEFAULT_CLOUD_URL for plugin publish / cloud login).

Behavior change for vanilla OSS users (per ADR-0004 boundary)

objectstack dev no longer mounts marketplace browse/install-local or /api/v1/runtime/config. Hosts that want them wire the canonical cloud copies explicitly (see cloud apps/objectos-ee's config). Console SPA degrades gracefully (defaults on 404).

Validation

  • framework: runtime build + 370 tests green; CLI tsc build + 240 tests green; no dangling references.
  • cloud repo against this branch: boot-smoke ALL GREEN; typecheck clean on objectos-runtime / objectos / objectos-ee / cloud.
  • cloud .framework-sha bump lands as the paired cloud PR immediately after this merges (deploy_flow).

🤖 Generated with Claude Code

…e + CLI

BREAKING CHANGE (ADR-0006 Phase 4 / cloud ADR-0007 ⑤): deletes the
framework's deprecated duplicate cloud plugins and the CLI's auto-inject
of them.

Removed from @objectstack/runtime (public API):
- MarketplaceProxyPlugin (+Config), MarketplaceInstallLocalPlugin
  (+Config), RuntimeConfigPlugin (+Config), DEFAULT_CLOUD_URL,
  resolveCloudUrl — src/cloud/{marketplace-proxy-plugin,
  marketplace-install-local-plugin,marketplace-public-url,
  runtime-config-plugin,cloud-url}.ts + their tests.
- KEPT: cloud/environment-registry.ts (EnvironmentDriverRegistry /
  KernelManager interface contracts, D3) and the KernelResolver seam —
  both converge in Phase 5.

Removed from @objectstack/cli serve: the 5b/5b-ii auto-inject blocks.
A vanilla `objectstack dev` no longer mounts marketplace browse/install
or /api/v1/runtime/config — those are cloud-distribution features
(@objectstack/objectos-runtime), wired explicitly by hosts (see the cloud
repo's apps/objectos-ee config). The Console SPA falls back to defaults
when runtime/config is absent. CLI's own utils/cloud-config.ts
DEFAULT_CLOUD_URL (plugin publish / cloud login) is unrelated and stays.

Canonical copies: cloud packages/objectos-runtime (already ahead of the
deleted ones — ADR-0036 seeds rename). These were @deprecated since
ADR-0006 Phase 1 (#1717); the cloud apps stopped booting through CLI
cloud-serve in cloud#214/#215 (Phase 3).

Validation: runtime build + 370 tests, CLI build (tsc) + 240 tests; cloud
repo against this checkout: boot-smoke ALL GREEN + typecheck clean on
objectos-runtime / objectos / objectos-ee / cloud.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 11, 2026 11:00am

Request Review

@os-zhuang
os-zhuang merged commit d4fdae3 into main Jun 11, 2026
1 check was pending
@os-zhuang
os-zhuang deleted the adr-0006-phase4-delete-cloud-plugins branch June 11, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant