Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .changeset/drop-studio-app-default-load.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
'@objectstack/cli': patch
'@objectstack/plugin-dev': patch
---

`os dev` / `os start` / `os serve` no longer default-load the `@objectstack/studio` app package.

The console ships a dedicated Studio surface at `/_console/studio/<package-id>/<pillar>`,
so Studio no longer needs to exist as a navigable app tile in the home "Your apps" list.
The `@objectstack/studio` package is unchanged and can still be registered explicitly;
Setup and Account remain default-loaded (ADR-0048 one-app-per-package mechanism).
2 changes: 1 addition & 1 deletion .objectui-sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6cbccf386cf3fe15d1b8e79ab69fcf8f08c4cadf
c27bd3264f394bec5f5f71326118bfb115fbe884
6 changes: 4 additions & 2 deletions packages/cli/src/commands/serve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1261,12 +1261,14 @@ export default class Serve extends Command {
}));
trackPlugin('Auth');

// ADR-0048 — the platform apps (Setup/Studio/Account) moved out of
// ADR-0048 — the platform apps (Setup/Account) moved out of
// plugin-auth's manifest into their own one-app packages. Register
// each after AuthPlugin (best-effort; skipped if not installed).
// NOTE: @objectstack/studio is intentionally NOT default-loaded — the
// console ships a dedicated Studio surface at /_console/studio/<pkg>/<pillar>,
// so Studio no longer needs to exist as a navigable app tile.
for (const [appPkg, factory] of [
['@objectstack/setup', 'createSetupAppPlugin'],
['@objectstack/studio', 'createStudioAppPlugin'],
['@objectstack/account', 'createAccountAppPlugin'],
] as const) {
try {
Expand Down
6 changes: 4 additions & 2 deletions packages/plugins/plugin-dev/src/dev-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -543,12 +543,14 @@ export class DevPlugin implements Plugin {
ctx.logger.warn(' ✘ @objectstack/plugin-auth not installed — skipping auth');
}

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