Skip to content

feat(packaging): v0.1 npm headline demo — exports + example [parked: needs RC-verification update] - #104

Open
irl-dan wants to merge 1 commit into
mainfrom
packaging/v010-npm-headline-demo
Open

feat(packaging): v0.1 npm headline demo — exports + example [parked: needs RC-verification update]#104
irl-dan wants to merge 1 commit into
mainfrom
packaging/v010-npm-headline-demo

Conversation

@irl-dan

@irl-dan irl-dan commented May 28, 2026

Copy link
Copy Markdown
Contributor

What

Ships the v0.1 npm headline demo — the packaging half of the original v0.1 launch-surface work (the docs + tagline qualifier land separately in the sibling PR).

  • packages/reactor/package.json — expose the ./adapters subpath (was ERR_PACKAGE_PATH_NOT_EXPORTED).
  • packages/reactor-cradle/package.json — expose ./baselines/* and ./examples/flat-tokens, and ship examples/flat-tokens.mjs in the tarball.
  • packages/reactor-cradle/examples/flat-tokens.mjs — self-contained example (cassette built inline; no on-disk dependency).
  • README — the headline demo leads with the npm path; the clone path is retained for contributors.

⚠️ Parked — CI is intentionally RED until the release-candidate verification is updated

CI - Reactor Package fails on release-candidate Cradle import list matches package.json exports. That verification enumerates and imports every public entrypoint, so the new exports require:

  1. R7_CRADLE_PUBLIC_IMPORT_SPECIFIERS_V0 to add the two new specifiers.
  2. Handling for the ./baselines/* wildcard export — it does not fit the enumerate-and-import model (the tarball-import-smoke step cannot import a literal *); the verification must resolve or exclude wildcard subpaths.
  3. Bumping the cradle imported-entrypoint count (currently 24).

This PR is the home for that follow-up; it is deliberately not green yet.

🤖 Generated with Claude Code

…bundled example

The packaging half of the v0.1 launch-surface work, split out so the docs +
tagline could land green separately (#103). Ships the headline demo from npm:
- packages/reactor/package.json — expose ./adapters subpath
- packages/reactor-cradle/package.json — expose ./baselines/* and ./examples/flat-tokens; ship examples/flat-tokens.mjs in the tarball
- packages/reactor-cradle/examples/flat-tokens.mjs — self-contained example
- README — headline demo leads with the npm path; clone path retained

Parked: CI is intentionally RED until the release-candidate verification is
updated (specifier list + wildcard handling + entrypoint count). See PR body.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@irl-dan

irl-dan commented May 28, 2026

Copy link
Copy Markdown
Contributor Author

Follow-up note: the npm package-README tagline qualifiers (packages/reactor/README.md, packages/reactor-cradle/README.md) belong with this PR rather than the docs PR (#103) — editing a packaged README changes the package tree and invalidates .openprose-reactor-pin.json, so they need to ride with the pin bump that this PR's fix will already require.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant