Commit e8199e4
feat(server): declare marketplace + Console SPA deps for the self-host runtime (ADR-0020 T1) (#27)
Make @objectos/server a complete open-source self-host runtime distribution by
pinning the Console SPA and marketplace client as explicit dependencies:
- @objectstack/console ^10.2.0 — the /_console/ SPA
- @objectstack/cloud-connection ^10.2.0 — marketplace browse/install,
cloud-connection, runtime-config
The objectstack CLI already auto-provisions both on top of the standalone stack
for every entry point (Docker, dev, and the ObjectOS One desktop — all route
through `objectstack serve`): it injects the marketplace + cloud-connection +
runtime-config plugins from @objectstack/cloud-connection (gated on
resolveCloudUrl(); OS_CLOUD_URL=off -> fully offline) and serves the
@objectstack/console SPA at /_console/. So objectstack.config.ts stays a bare
standalone stack; a doc note records why explicit wiring is omitted (it would
double-mount) and the ADR-0006 Phase 4 caveat.
Verified: online -> SPA renders in-browser (no console errors) + marketplace API
returns the live catalog + runtime-config served; offline (OS_CLOUD_URL=off) ->
marketplace plugins unmounted, SPA still served, zero outbound cloud calls.
Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent f6595c9 commit e8199e4
3 files changed
Lines changed: 21 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
29 | 39 | | |
30 | 40 | | |
31 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments