Skip to content

Commit 5e855d9

Browse files
os-zhuangclaude
andcommitted
chore(cli): stop default-loading @objectstack/studio app package
os dev / os start / os serve no longer register the Studio one-app package by default. The console ships a dedicated Studio surface at /_console/studio/<pkg>/<pillar>, so Studio no longer needs to exist as a navigable app tile in "Your apps". Setup and Account app packages are unchanged. The @objectstack/studio package itself is kept (still registerable explicitly; ADR-0048 app-split test continues to cover it). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent c7c3e7b commit 5e855d9

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

packages/cli/src/commands/serve.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,12 +1261,14 @@ export default class Serve extends Command {
12611261
}));
12621262
trackPlugin('Auth');
12631263

1264-
// ADR-0048 — the platform apps (Setup/Studio/Account) moved out of
1264+
// ADR-0048 — the platform apps (Setup/Account) moved out of
12651265
// plugin-auth's manifest into their own one-app packages. Register
12661266
// each after AuthPlugin (best-effort; skipped if not installed).
1267+
// NOTE: @objectstack/studio is intentionally NOT default-loaded — the
1268+
// console ships a dedicated Studio surface at /_console/studio/<pkg>/<pillar>,
1269+
// so Studio no longer needs to exist as a navigable app tile.
12671270
for (const [appPkg, factory] of [
12681271
['@objectstack/setup', 'createSetupAppPlugin'],
1269-
['@objectstack/studio', 'createStudioAppPlugin'],
12701272
['@objectstack/account', 'createAccountAppPlugin'],
12711273
] as const) {
12721274
try {

packages/plugins/plugin-dev/src/dev-plugin.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,12 +543,14 @@ export class DevPlugin implements Plugin {
543543
ctx.logger.warn(' ✘ @objectstack/plugin-auth not installed — skipping auth');
544544
}
545545

546-
// ADR-0048 — the platform apps (Setup/Studio/Account) moved out of
546+
// ADR-0048 — the platform apps (Setup/Account) moved out of
547547
// plugin-auth's manifest into their own one-app packages. Register each
548548
// after AuthPlugin so they load alongside the auth objects they navigate.
549+
// NOTE: @objectstack/studio is intentionally NOT default-loaded — the
550+
// console ships a dedicated Studio surface at /_console/studio/<pkg>/<pillar>,
551+
// so Studio no longer needs to exist as a navigable app tile.
549552
for (const spec of [
550553
['@objectstack/setup', 'createSetupAppPlugin'],
551-
['@objectstack/studio', 'createStudioAppPlugin'],
552554
['@objectstack/account', 'createAccountAppPlugin'],
553555
] as const) {
554556
try {

0 commit comments

Comments
 (0)