Commit fd9e7f2
feat(console): DocPage resolves docs package-scoped (ADR-0048 — prefix optional) (#1701)
DocPage now passes the route's package (`/apps/:appName/docs/:name`, where
:appName is the package id) to `meta.getItem('doc', name, { packageId })`. The
client SDK already sends `?package=`; the framework REST endpoint now honors it
(objectstack-ai/objectstack#1816), resolving the single doc package-scoped
(prefer-local) — so doc names no longer need a namespace prefix for uniqueness.
Legacy top-level /docs/:name (no :appName) stays context-free.
Browser-verified: /apps/com.example.showcase/docs/showcase_index issues
GET …/meta/doc/showcase_index?package=com.example.showcase → 200 and renders.
Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 4cd0a0d commit fd9e7f2
0 file changed
0 commit comments