exports resolve to TypeScript source, where the build-time PI_DOCS_EMBED
placeholder is empty and the dev-tree fallback resolved docs to an
unreachable node_modules/docs, so OmpProtocolHandler.complete()/.resolve()
threw ENOENT for every npm/SDK consumer.
- bundle-dist.ts writes the docs corpus to dist/docs-index.generated.txt
(shipped via package.json files), reusing the same payload it inlines
into dist/cli.js.
- docs-index.ts reads the shipped embed when the env embed is empty and
the on-disk docs/ directory is absent, and degrades to an empty index
(with a warning) instead of propagating ENOENT.
- Added a generator-to-runtime payload round-trip test.
Fixes#8134