diffstalkerd 0.12.1 → 0.12.3
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/CHANGELOG.md +43 -0
- package/README.md +1 -1
- package/dist/index.js +40 -39
- package/dist/web/assets/index-DCu3bn_X.js +14 -0
- package/dist/web/assets/index-Dgf4Da4P.css +1 -0
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/dist/web/assets/index-BqYkaNhX.css +0 -1
- package/dist/web/assets/index-D-xCHiMB.js +0 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,49 @@ All notable changes to this project will be documented in this file.
|
|
|
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.12.3] - 2026-08-12
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **A diff header copies its file path.** The header already knew the path and
|
|
13
|
+
already had a button beside it (`view file`), but the path itself could only
|
|
14
|
+
be had by selecting text out of a header that ellipsises. `copy path` sits
|
|
15
|
+
next to `view file` in every diff header — Changes, Compare, History and the
|
|
16
|
+
Journal — and puts exactly what the header shows on the clipboard: the
|
|
17
|
+
repo-relative path, with no hidden translation step. It flashes `copied`, or
|
|
18
|
+
`copy failed` when the clipboard API is missing (no secure context — a daemon
|
|
19
|
+
reached over plain http on a LAN address), because a click that silently does
|
|
20
|
+
nothing reads as a broken UI. Same shape as the button beside it, and the same
|
|
21
|
+
zero-height-cost trick: no block padding and a transparent border, so it
|
|
22
|
+
measures shorter than the header's line box and cannot change a header's
|
|
23
|
+
height, which the diff stack's exact-height model measures once and assumes
|
|
24
|
+
constant.
|
|
25
|
+
|
|
26
|
+
## [0.12.2] - 2026-08-11
|
|
27
|
+
|
|
28
|
+
### Added
|
|
29
|
+
|
|
30
|
+
- **The search overlays now name all three search gestures and their keys.**
|
|
31
|
+
There are three (file names `Ctrl P`, contents `⇧F`, outline `o`) and only
|
|
32
|
+
one of them had a visible way in, so the other two were reachable only if you
|
|
33
|
+
already knew them. A mode strip on the overlay prints all three and switches
|
|
34
|
+
between them by click, carrying the typed query across. The header button is
|
|
35
|
+
labelled **Search** rather than **Find file** for the same reason. Not a
|
|
36
|
+
palette: no prefixes, no query syntax, each mode keeps its own corpus and
|
|
37
|
+
cost. Outline stays a popover beside the code rather than a mode inside the
|
|
38
|
+
modal.
|
|
39
|
+
|
|
40
|
+
- **The version indicator copies the update command for how you installed it.**
|
|
41
|
+
It could say an update existed but not what to type, and npm, bun and the AUR
|
|
42
|
+
package are three different answers. `GET /version` now also reports the
|
|
43
|
+
install: a global `node_modules` layout names its package manager (`sudo`
|
|
44
|
+
prefixed when the prefix is root-owned), anything else is offered to pacman,
|
|
45
|
+
which names the owning package and an AUR helper to rebuild it with. Hover
|
|
46
|
+
names the command, click copies it. An install nothing owns — a source
|
|
47
|
+
checkout, a link, a project-local dependency — gets no command and no click,
|
|
48
|
+
since a guessed one either fails or plants unowned files over a packaged
|
|
49
|
+
install.
|
|
50
|
+
|
|
8
51
|
## [0.12.1] - 2026-08-10
|
|
9
52
|
|
|
10
53
|
### Changed
|
package/README.md
CHANGED
|
@@ -193,7 +193,7 @@ values are rejected with a 400 so they can never be parsed as git flags.
|
|
|
193
193
|
| Method | Path | What |
|
|
194
194
|
| ------ | -------------------------- | ------------------------------------------------ |
|
|
195
195
|
| GET | `/health` | `{ok, ready}` |
|
|
196
|
-
| GET | `/version` | `{current, latest, status}` — the running version against npm's `latest` dist-tag (`current` \| `outdated` \| `ahead` \| `unknown`). The npm lookup is cached (6h, 5min after a failure) and only ever runs when this endpoint is called; `--no-update-check` skips it, leaving `latest: null` |
|
|
196
|
+
| GET | `/version` | `{current, latest, status, install}` — the running version against npm's `latest` dist-tag (`current` \| `outdated` \| `ahead` \| `unknown`). The npm lookup is cached (6h, 5min after a failure) and only ever runs when this endpoint is called; `--no-update-check` skips it, leaving `latest: null`. `install` is `{method, package, command}` — how this daemon was installed (`npm` \| `bun` \| `pnpm` \| `yarn` \| `pacman` \| `unknown`) and the one command that updates it, detected once from where the daemon's own files live. An install nothing owns reports `unknown` with a null command rather than a guess |
|
|
197
197
|
| GET | `/repos` | List open repos (`id`, `path`, `branch`) |
|
|
198
198
|
| POST | `/repos` | Open a repo: `{"path": "/abs/path"}` → `{id, path}` (201 created, 200 already open) |
|
|
199
199
|
| DELETE | `/repos/:id` | Close a repo (refcounted per open) |
|