Skip to content

Commit 3b9fd94

Browse files
os-zhuangclaude
andauthored
chore(cli): stop default-loading @objectstack/studio app package (#2663)
* chore: bump objectui to c27bd3264f39 feat(studio): per-object API / Hooks / Actions tabs + Data-pillar polish (#2330) objectui@c27bd3264f394bec5f5f71326118bfb115fbe884 * 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> * chore: add changeset for dropping default studio app load Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 8b3d363 commit 3b9fd94

4 files changed

Lines changed: 20 additions & 5 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@objectstack/cli': patch
3+
'@objectstack/plugin-dev': patch
4+
---
5+
6+
`os dev` / `os start` / `os serve` no longer default-load the `@objectstack/studio` app package.
7+
8+
The console ships a dedicated Studio surface at `/_console/studio/<package-id>/<pillar>`,
9+
so Studio no longer needs to exist as a navigable app tile in the home "Your apps" list.
10+
The `@objectstack/studio` package is unchanged and can still be registered explicitly;
11+
Setup and Account remain default-loaded (ADR-0048 one-app-per-package mechanism).

.objectui-sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6cbccf386cf3fe15d1b8e79ab69fcf8f08c4cadf
1+
c27bd3264f394bec5f5f71326118bfb115fbe884

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)