@thebassclef/lite 1.2.0 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,9 +1,9 @@
1
- # @thebassclef/core
1
+ # @thebassclef/lite
2
2
 
3
3
  Install bassclef in your project. Two commands.
4
4
 
5
- ```
6
- npm install -g @thebassclef/core
5
+ ```bash
6
+ npm install -g @thebassclef/lite
7
7
  bassclef init
8
8
  ```
9
9
 
@@ -13,76 +13,32 @@ Five minutes from install to a working bassclef in your repo.
13
13
 
14
14
  `bassclef init` writes a small set of files into your project — a
15
15
  settings file for Claude Code, a config file for the CLI, and a
16
- project manifest. Your project inherits bassclef's skills, rules, and
17
- agents on the next Claude Code session.
16
+ project manifest. Your project inherits bassclef's skills, rules,
17
+ and agents on the next Claude Code session.
18
18
 
19
19
  `bassclef sync` upgrades those files in place when a newer package
20
20
  version publishes.
21
21
 
22
- ## Requirements
23
-
24
- - Node.js 20 or newer.
25
- - npm 10 or newer.
26
-
27
- ## Status
22
+ ## Supported systems
28
23
 
29
- `0.0.1`scaffold only. Real behavior lands over the next work units:
24
+ - **macOS** first-class. Every release is tested here.
25
+ - **Linux** — supported. `npm install` works. First-class support waits on the substrate bash portability audit at [sunj-labs/bassclef#1497](https://github.com/sunj-labs/bassclef/issues/1497). File a ticket if a hook breaks.
26
+ - **WSL 2** (Windows Subsystem for Linux 2) — supported. WSL 2 reports as `linux` to npm, so install works. Same audit note as Linux.
27
+ - **Windows (native PowerShell)** — not supported. `npm install` returns `EBADPLATFORM` by design. Use WSL 2.
30
28
 
31
- - WU-1 (this release) package shape, README, LICENSE, CLI shell.
32
- - WU-2 — `bassclef init` writes your project files.
33
- - WU-3 — `bassclef sync` upgrades in place.
34
- - WU-4 — publish pipeline with security defaults.
35
- - WU-5 — semver + changelog discipline.
29
+ See [`standards/os-support.md`](standards/os-support.md) for the full policy.
36
30
 
37
- `bassclef init` and `bassclef sync` in `0.0.1` print a "not yet — WU-2
38
- will land this" message and exit non-zero. This is intentional; the
39
- scaffold ships before the behavior so publish + install can be
40
- tested end-to-end.
41
-
42
- ## Contributing
43
-
44
- Traceability check runs on every commit that touches source, tests,
45
- `vite.config.ts`, or `docs/requirements/`. One-time install:
46
-
47
- ```
48
- bash scripts/install-git-hooks.sh
49
- ```
31
+ ## Requirements
50
32
 
51
- The hook fires the traceability test at
52
- `tests/requirements-traceability.test.ts`. The test walks source for
53
- `@requirement R-NPM-XXX` comments and tests for `@verifies R-NPM-XXX`
54
- comments. It fails if a satisfied requirement is missing an edge or
55
- if a referenced ID is not in the registry at
56
- `docs/requirements/2026-08-11-npm-distribution.md`.
33
+ - Node.js 20 or newer.
34
+ - npm 10 or newer.
57
35
 
58
- Bypass in a bind:
36
+ ## Current release
59
37
 
60
- ```
61
- SKIP_TRACEABILITY_CHECK=1 git commit -m "..."
62
- ```
38
+ <!-- version-start -->1.2.2<!-- version-end -->
63
39
 
64
- The workflow's `checks` job still runs the full test suite (including
65
- the traceability check) so bypassed commits get caught at CI.
40
+ See [CHANGELOG.md](CHANGELOG.md) for release notes.
66
41
 
67
42
  ## License
68
43
 
69
- Apache-2.0. See [LICENSE](./LICENSE).
70
-
71
- ## Source
72
-
73
- Development happens at
74
- [sunj-labs/bassclef-cli](https://github.com/sunj-labs/bassclef-cli).
75
- Bassclef's core work happens at
76
- [sunj-labs/bassclef](https://github.com/sunj-labs/bassclef); the CLI
77
- here ships the packaged form.
78
-
79
- ## Sibling repos
80
-
81
- - `sunj-labs/bassclef-upstream` — substrate source of truth (private R&D)
82
- - `sunj-labs/bassclef` — public release target for the substrate
83
-
84
- ## Docs
85
-
86
- - `docs/iteration-bets/2026-08-06b-launch-npm-thebassclef-core.md` — active goal doc
87
- - `docs/decompositions/wu-1-repo-shape.md` — WU-1 responsibility split
88
- - `HANDOFF.md` — first-session bootstrap instructions
44
+ Apache-2.0. See [LICENSE](LICENSE).
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const version = "1.2.0";
3
+ const version = "1.2.2";
4
4
  exports.version = version;
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const version: "1.2.0";
1
+ export declare const version: "1.2.2";
2
2
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const version = "1.2.0";
1
+ const version = "1.2.2";
2
2
  export {
3
3
  version
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thebassclef/lite",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "Bassclef CLI — install and upgrade bassclef in your project with two commands.",
5
5
  "keywords": [
6
6
  "bassclef",
@@ -42,13 +42,17 @@
42
42
  "LICENSE"
43
43
  ],
44
44
  "bassclef": {
45
- "upstream_tag": "v0.45.0",
45
+ "upstream_tag": "v0.46.0",
46
46
  "wiring_manifest_schema_major": 2,
47
47
  "bundle_paths": [
48
48
  "dist/lite/"
49
49
  ],
50
- "phase_note": "cli 1.2.0 (2026-09-18) — additive minor release. Adds the top-level `.version` field to `.bassclef/init.manifest.json` so v0.45.0's `91-npm-version-drift.sh` hook can compare installed vs npm-latest. Bundles bassclef v0.45.0 substrate (7 adopter cures + drift hook). Ships the stdout-blocking fix at cli entry (Node async-pipe-write dropped writes on process.exit under CI pipes). Rolls up 1.2.0-alpha.0 + alpha.1 which shipped as previews at @next. Per bassclef-upstream#1749; cli PRs #129, #131, #134."
50
+ "phase_note": "cli 1.2.1 (2026-09-19) — PATCH release. Bundles bassclef v0.46.0 substrate — the substrate dispatcher now checks `$CWD/lib/` as the second probe path for `bassclef-dir-resolver.sh` (cli#140 cure landed at bassclef-upstream PR #1796), pre-commit auto-regen manifest hook reduces manifest-drift friction on local commits (bassclef-upstream #1752), workflow-metrics library lands Module B4 measurement infrastructure (bassclef-upstream #1307), plus two new luminaries (david-farley, jez-humble). Also ships four smoke bootstrap fixes cold-adopter runs surfaced: `cd ~` one-liner + deleted-CWD guard (cli#146, #144), auto-create release label + gh error surface (cli#141), gh account pre-flight (cli#143), Step 5 timeout 30s→120s (cli#138). First widely publicized release for public launch 2026-09-20."
51
51
  },
52
+ "os": [
53
+ "darwin",
54
+ "linux"
55
+ ],
52
56
  "engines": {
53
57
  "node": ">=20"
54
58
  },
@@ -56,6 +60,8 @@
56
60
  "build": "vite build",
57
61
  "test": "vitest run",
58
62
  "test:watch": "vitest",
63
+ "test:report": "bash scripts/aggregate-test-runs.sh",
64
+ "test:coverage": "vitest run --coverage",
59
65
  "typecheck": "tsc --noEmit",
60
66
  "bump": "node scripts/bump-version.mjs",
61
67
  "harness:npm-install": "vitest run --config vitest.harness.config.ts",
@@ -63,6 +69,7 @@
63
69
  },
64
70
  "devDependencies": {
65
71
  "@types/node": "^20.14.0",
72
+ "@vitest/coverage-istanbul": "^2.1.9",
66
73
  "typescript": "^5.5.0",
67
74
  "vite": "^5.4.0",
68
75
  "vite-plugin-dts": "^4.0.0",