@bluestep-systems/b6p-cli 0.3.0 → 0.4.0

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist/cli.js +270 -160
  3. package/package.json +4 -3
package/CHANGELOG.md CHANGED
@@ -5,6 +5,47 @@ All notable changes to `@bluestep-systems/b6p-cli` will be documented in this fi
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.4.0] — 2026-07-23
9
+
10
+ ### Added
11
+
12
+ - Windows lock diagnostics on shared-state writes. When a write to `~/.b6p/state.json` or
13
+ `secrets.enc` fails a `rename` on Windows after core's bounded retries, the thrown error now names
14
+ the user-mode processes holding the file — e.g. `… — locked by Code.exe (1234), OneDrive.exe (5678)`
15
+ — so you can close the offending program and retry. Implemented by a new
16
+ `WindowsRestartManagerLockDiagnoser` (`src/lockDiagnoser/`) that queries the Windows Restart
17
+ Manager via a bundled PowerShell script and is injected into the core's `SharedFilePersistence`.
18
+ Best-effort and a no-op off Windows: it never throws and returns no holders when it can't determine
19
+ them. A kernel filesystem minifilter (real-time AV / ransomware protection such as Sophos
20
+ CryptoGuard) holds no user-mode handle, so it is invisible to this probe by design — in that case
21
+ the empty result degrades to core's minifilter hint rather than a process list.
22
+
23
+ ### Changed
24
+
25
+ - Bumped `@bluestep-systems/b6p-core` `^0.3.1` → `^0.4.0`, which adds the injectable `ILockDiagnoser`
26
+ the diagnoser above plugs into, plus Windows `rename` lock-error retries and pull write coalescing
27
+ ([core #8](https://github.com/Bluestep-Systems/b6p-core/issues/8)).
28
+
29
+ ### Internal
30
+
31
+ - Added a unit-test setup: `npm test` bundles `test/**/*.test.ts` to `dist-test/` via `esbuild.test.js`
32
+ and runs them with `node --test` (runnable on the whole CI Node 18/20/22 matrix). CI now runs the
33
+ tests between compile and the smoke run.
34
+
35
+ ## [0.3.1] — 2026-07-21
36
+
37
+ ### Changed
38
+
39
+ - Bumped `@bluestep-systems/b6p-core` to `^0.3.1`. Because core is esbuild-bundled into `dist/cli.js`,
40
+ this dependency bump is what ships the release's changes — there are no CLI source changes. Core
41
+ 0.3.1 fixes two `b6p push` bugs for freshly-pulled MergeReport components that ship a `static/`
42
+ bundle ([#9](https://github.com/Bluestep-Systems/b6p-cli/issues/9)): `push` no longer aborts when a
43
+ `static/` sub-project's `tsconfig.json` has an empty/missing `outDir` (normalized to `.build`), and
44
+ `push` now emits a loud warning when a client bundle's source `.ts`/`.tsx` is newer than its compiled
45
+ `.js` (the platform serves `static/.build/script.js` verbatim, so editing only the source would
46
+ otherwise silently ship stale client JS). All changes are additive and backward-compatible; commands,
47
+ flags, and runtime behavior are unchanged.
48
+
8
49
  ## [0.3.0] — 2026-07-10
9
50
 
10
51
  ### Changed