Skip to content

chore(cli,plugin-dev): drop unused @objectstack/studio dependency#2665

Merged
os-zhuang merged 1 commit into
mainfrom
chore/drop-studio-dep
Jul 6, 2026
Merged

chore(cli,plugin-dev): drop unused @objectstack/studio dependency#2665
os-zhuang merged 1 commit into
mainfrom
chore/drop-studio-dep

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

What

Follow-up to 3b9fd940, which stopped os dev / os start / os serve from default-loading the Studio app (the console now hosts it at /_console/studio/<pkg>/<pillar>).

With the default registration removed, neither cli nor plugin-dev imports @objectstack/studio at runtime any more, so the dependency was dead weight. This drops it from both.

Changes

  • packages/cli/package.json + packages/plugins/plugin-dev/package.json — remove the @objectstack/studio dependency.
  • packages/cli/src/adr-0048-app-split.test.ts — the last remaining consumer imported createStudioAppPlugin. It now exercises the identical one-app-package split via Setup + Account (same code path; the regression's intent — distinct package ids / coexistence / distinct namespaces — is preserved).
  • changeset (cli + plugin-dev patch).

The @objectstack/studio package itself is unchanged and still registerable explicitly.

Verification

  • vitest run adr-0048-app-split.test.ts → 4 passed.
  • cli and plugin-dev build green after the dep removal.

🤖 Generated with Claude Code

Follow-up to 3b9fd94 (Studio no longer default-loaded by os dev/start/serve).
With the default registration gone, neither cli nor plugin-dev imports
@objectstack/studio at runtime. The last remaining consumer was the ADR-0048
app-split test, which now exercises the identical one-app-package code path via
Setup + Account. The @objectstack/studio package itself is unchanged and still
registerable explicitly.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 6, 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 Jul 6, 2026 11:06pm

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation dependencies Pull requests that update a dependency file tests tooling size/s and removed documentation Improvements or additions to documentation dependencies Pull requests that update a dependency file tests tooling labels Jul 6, 2026
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 2 package(s): @objectstack/cli, @objectstack/plugin-dev.

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

  • content/docs/ai/skills-reference.mdx (via packages/cli)
  • content/docs/api/client-sdk.mdx (via @objectstack/cli)
  • content/docs/api/data-flow.mdx (via @objectstack/cli)
  • content/docs/api/environment-routing.mdx (via @objectstack/cli)
  • content/docs/api/error-catalog.mdx (via @objectstack/cli)
  • content/docs/automation/hook-bodies.mdx (via packages/cli)
  • content/docs/getting-started/cli.mdx (via @objectstack/cli)
  • content/docs/getting-started/quick-start.mdx (via @objectstack/cli)
  • content/docs/kernel/runtime-services/data-service.mdx (via packages/cli)
  • content/docs/kernel/runtime-services/index.mdx (via packages/cli)
  • content/docs/permissions/authentication.mdx (via @objectstack/cli)
  • content/docs/plugins/packages.mdx (via @objectstack/cli, @objectstack/plugin-dev)
  • content/docs/protocol/objectos/plugin-spec.mdx (via @objectstack/cli)
  • content/docs/protocol/objectos/realtime-protocol.mdx (via @objectstack/cli)
  • content/docs/releases/implementation-status.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 f85635e into main Jul 6, 2026
17 checks passed
@os-zhuang
os-zhuang deleted the chore/drop-studio-dep branch July 6, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant