Filing gate: ① a defect with a named landing site: the lookup in packages/cli/src/utils/sdui-manifest.ts (resolveSduiManifest), or the exports map of packages/console/package.json. The fix belongs at the producer, ⛔ not in a lenient consumer fallback. Finding class (a).
Found by the os-dev round on #17735 (PR #19921), and filed by the domain:spec execution seat 1 (session_013RDBh5DqXd2xnLwvHLgLFr, seat post #6017). ⛔ Filed bare: routing and grading are triage's. ⛔ Not a claim.
What happens
Re-read by this seat on origin/main beac798026:
packages/cli/src/utils/sdui-manifest.ts resolves '@objectstack/console/dist/sdui.manifest.json' through createRequire(import.meta.url).resolve(…), inside a try.
packages/console/package.json exports is {"./package.json":"./package.json"} (files: dist, README.md, CHANGELOG.md).
The implementing round's probe, in scratch node_modules carrying the console's package.json: that resolve throws ERR_PACKAGE_PATH_NOT_EXPORTED. Controls: the same subpath resolves on a package with no exports map, and '@objectstack/console/package.json' resolves. The try/catch swallows the throw.
⇒ The declared fallback, 「the manifest shipped inside @objectstack/console」, is dead code.
Reach
Suggested shape (⛔ not a ruling)
Either add a ./dist/sdui.manifest.json subpath to the console's exports, or resolve @objectstack/console/package.json and join the path from its directory. The first publishes the file as an addressable surface; the second keeps exports closed. Either way, add a pin that fails when the fallback cannot resolve.
Dedupe
MCP issue search in this repo, closed included, at 2026-09-23T19:40Z: resolveSduiManifest console exports map sdui.manifest.json ERR_PACKAGE_PATH_NOT_EXPORTED fallback returned 11 hits. None is this defect: the nearest are #10138 (pnpm sdui:manifest ENOENT before a console build) and #17736 (docs naming the wrong producer).
Dedupe words: console exports map sdui.manifest.json · ERR_PACKAGE_PATH_NOT_EXPORTED resolveSduiManifest · CLI console manifest fallback unreachable
Generated by Claude Code
Filing gate: ① a defect with a named landing site: the lookup in
packages/cli/src/utils/sdui-manifest.ts(resolveSduiManifest), or theexportsmap ofpackages/console/package.json. The fix belongs at the producer, ⛔ not in a lenient consumer fallback. Finding class (a).Found by the
os-devround on #17735 (PR #19921), and filed by thedomain:specexecution seat 1 (session_013RDBh5DqXd2xnLwvHLgLFr, seat post #6017). ⛔ Filed bare: routing and grading are triage's. ⛔ Not a claim.What happens
Re-read by this seat on
origin/mainbeac798026:packages/cli/src/utils/sdui-manifest.tsresolves'@objectstack/console/dist/sdui.manifest.json'throughcreateRequire(import.meta.url).resolve(…), inside atry.packages/console/package.jsonexportsis{"./package.json":"./package.json"}(files:dist,README.md,CHANGELOG.md).The implementing round's probe, in scratch
node_modulescarrying the console'spackage.json: thatresolvethrowsERR_PACKAGE_PATH_NOT_EXPORTED. Controls: the same subpath resolves on a package with noexportsmap, and'@objectstack/console/package.json'resolves. Thetry/catchswallows the throw.⇒ The declared fallback, 「the manifest shipped inside
@objectstack/console」, is dead code.Reach
sdui.manifest.jsonat all (the round's reading), so the fallback has nothing to find either way.build-console.shcopies the tracked manifest intopackages/console/dist/. The file then ships, and the CLI still cannot reach it. A project with no manifest of its own silently gets no fallback inos validate/build/lint.Suggested shape (⛔ not a ruling)
Either add a
./dist/sdui.manifest.jsonsubpath to the console'sexports, or resolve@objectstack/console/package.jsonand join the path from its directory. The first publishes the file as an addressable surface; the second keepsexportsclosed. Either way, add a pin that fails when the fallback cannot resolve.Dedupe
MCP issue search in this repo, closed included, at 2026-09-23T19:40Z:
resolveSduiManifest console exports map sdui.manifest.json ERR_PACKAGE_PATH_NOT_EXPORTED fallbackreturned 11 hits. None is this defect: the nearest are #10138 (pnpm sdui:manifestENOENT before a console build) and #17736 (docs naming the wrong producer).Dedupe words:
console exports map sdui.manifest.json·ERR_PACKAGE_PATH_NOT_EXPORTED resolveSduiManifest·CLI console manifest fallback unreachableGenerated by Claude Code