MIT license and npm package identity
Status: PASS Date: 2026-11-16 Ticket: #269 Parent spec: #268 Branch: ticket/269-package
Scope
This record covers the release identity and package contents only: the MIT license, the scoped npm name, the publish metadata, the runtime-only contents allowlist, and the pack-content guard. It does not change product behavior, the OpenCode peer range, the Node floor, the exports, or the plugin IDs. No release was published to a registry.
Changes
License and identity
LICENSEcontains the MIT text;package.jsonsets"license": "MIT".- The package name is
@heyimteee/ensemble;privateis removed. repository,homepage,bugs,author,keywords, andpublishConfig.access: "public"are present.- The
.,./tui, and./rpcexports, the@opencode/pluginpeer range2.2.6 || 2.2.7, and the>=22.23.4Node floor are unchanged. - README documents the
opencode plugin add @heyimteee/ensembleinstall path, says the package is not on the public registry yet, and links the MIT license.docs/implementation.mdno longer claims the package is private.
Runtime-only contents allowlist
package.json ships only src/v2/**/*.ts and src/v2/**/*.tsx, then excludes *.test.ts/*.test.tsx, fixtures/, and the development-only modules (ci-workflows, doctor, doctor-cli, flake-policy, latency-budget, live-matrix, prompt-benchmark, and test-service). npm still adds the root package.json, README.md, and LICENSE.
src/v2/package-contents.test.ts packs the package with npm pack --dry-run --json and asserts the tarball is exactly the import closure of the ., ./tui, and ./rpc exports. A synthetic case proves the same check rejects a leaked test, fixture, doc, script, development module, or tsconfig.json. The suite runs inside npm run verify.
Results
| Check | Result | Evidence |
|---|---|---|
npm run verify | PASS | strict typecheck; 2,040 tests, 0 failed/skipped |
npm run docs:check | PASS | contract v7; OpenCode 2.2.6/2.2.7; Node >=22.23.4 |
npm pack --dry-run | PASS | @heyimteee/ensemble@0.1.0; 122 files; 542.1 kB packed, 2.1 MB unpacked |
npm publish --dry-run | PASS | public access dry run; not logged in; nothing uploaded |
| Pack contents | PASS | 119 runtime modules + package.json, README.md, LICENSE; no tests, fixtures, docs, scripts, or development artifacts |
Skips
- Public publish is intentionally out of scope; the RC install path is ticket #270.
- No live/E2E suite was rerun for this docs-and-packaging change.