One repo, multiple packages. These contracts are version-locked by nature: the CLI writes them and the platform reads them, so they must change atomically. That is why they live together instead of one repo per package.
Tracked centrally in sproutboat/sproutboat. Please file there.
| Package | Owns | Lives today in |
|---|---|---|
@sproutboat/config |
sproutboat.jsonc parsing, validation, binding slots |
adopted (was src/config.ts in sproutboat/cli) |
@sproutboat/artifact |
Artifact manifest schema, bindings report | adopted (was src/manifest.ts in sproutboat/cli) |
@sproutboat/wire |
Broker frame protocol, JSON utilities | adopted (was src/broker.ts and src/json.ts in sproutboat/cli) |
@sproutboat/assets |
Static asset manifests and key resolution | adopted (was src/assets.ts in sproutboat/cli) |
@sproutboat/runtime |
Wrapper, source validation, transports, prelude | adopted (was src/wrap.ts et al in sproutboat/cli) |
Later candidates: @sproutboat/crypto (prelude shims shared by both transports).
bun install # link workspaces
bun test packages/ # contract tests, run against both backends where applicable
bun run lint # oxlint
bun run typecheck # tsc --noEmitReleases use changesets with independent per-package versions. A breaking contract change ships with both consumers updated; the conformance suite (green on both backends) is the gate, not the version number.
After regenerating the platform's compatibility report, run
bun run scorecard ../sproutboat/report.json. This verifies that the pinned
source accepts the local patches and writes a machine-readable snapshot under
packages/toolchain/scorecards/ plus PORFFOR_SCORECARD.md.
The scorecard records behavior matches, same-target compile time and binary
size from the compatibility harness, and every active patch marker by upstream
file. Compare it with the previous pin before deciding whether to keep, reduce,
or replace the Porffor integration. Build telemetry remains tracked in
sproutboat#35.
Published on npm at 0.2.0 and consumed by both repos from the registry.
The CLI keeps re-export shims so its sproutboat/runtime/* export paths
hold; the platform imports the packages directly.
- Packages home (this repo): sproutboat/packages#1
- CLI consumer: sproutboat/cli#33
- All five packages adopted; both consumers import them directly. The CLI
keeps re-export shims so its
sproutboat/runtime/*export paths hold.