@moberg_hr/work-tree 1.5.1 → 1.7.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.
package/README.md CHANGED
@@ -289,6 +289,8 @@ wd -c # interactive review: leave comments inline, stream to stdou
289
289
  - **Checkpoints + range diff** — `wd` automatically snapshots each repo's working tree (including untracked files) as it watches, holding the snapshots alive behind `refs/wd/<scope>/<n>` refs. A checkpoint strip lets you diff between any two points in time — "what changed since I started", or between checkpoint #2 and #5 — not just against a static ref.
290
290
  - **Coverage badges** — if a `coverage/lcov.info` (or `lcov.info`) is present, each file shows its line-coverage percentage. The badge is de-emphasized and flagged when the source has been edited since the coverage report was written, so you don't trust stale numbers.
291
291
  - **Reviewed-hunk checkboxes** — tick individual hunks as you review them. The state is keyed on a content hash of the hunk (not line numbers), so it survives live reloads and unrelated edits elsewhere in the file, and persists per-scope in `localStorage`.
292
+ - **Expand context** — each hunk separator is a GitHub-style bar showing the `@@ … @@` heading; where lines are collapsed, converging `↓` / `↑` controls on it reveal the hidden lines a chunk at a time (or all the way to the top/bottom of the file). When a gap is fully expanded — or two hunks are already adjacent — the lines become contiguous and the separator drops away.
293
+ - **Open whole file** — each file header has an *"Open file ↗"* link that opens the full working-tree file, syntax-highlighted and read-only, in a new tab. (Hidden for deleted/binary files and in `--static` mode, which has no server to read from.)
292
294
  - **Word-level intra-line diff**, npm-bundled syntax highlighting, auto-collapsed large/migration files, and a file-tree sidebar with per-file viewed checkboxes.
293
295
 
294
296
  ### Interactive review (`wd -c`)
@@ -485,8 +487,6 @@ work-tree/
485
487
  │ ├── completions/ # Dynamic tab-completion handler
486
488
  │ └── utils/
487
489
  ├── tests/ # vitest suites
488
- ├── work.ps1 # PowerShell shim
489
- ├── work-completions.ps1 # PowerShell completion script
490
490
  ├── tsup.config.ts
491
491
  └── package.json
492
492
  ```