revdeck 0.19.0 → 0.19.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/CHANGELOG.md +31 -0
- package/CONTRIBUTING.md +3 -2
- package/README.md +3 -1
- package/README.ru.md +2 -0
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/daemon.js +3 -1
- package/dist/daemon.js.map +2 -2
- package/dist/mcp.js +1 -1
- package/dist/mcp.js.map +1 -1
- package/dist/ui/assets/{index-CHeSKVUo.js → index-BBiL2dIu.js} +14 -14
- package/dist/ui/index.html +1 -1
- package/docs/architecture.md +10 -0
- package/docs/capabilities.md +4 -0
- package/docs/ru/architecture.md +12 -0
- package/docs/ru/capabilities.md +5 -0
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,37 @@ All notable changes to this project are documented here. The format is based on
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and
|
|
5
5
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [0.19.2] - 2026-11-30
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- The API client warns once in the console when a single path is requested more than 30 times per
|
|
12
|
+
second — the signature of an effect that reads the state it writes. Recovery, retries and polling
|
|
13
|
+
stay far below the threshold.
|
|
14
|
+
- `npm run audit:effects` parses every `$effect` in `ui/src` and reports the ones that read state they
|
|
15
|
+
also write; the CI job fails on a finding that is not in the reviewed list. The list names each
|
|
16
|
+
known-safe pattern with the reason it converges, so a new self-invalidating effect cannot sneak in
|
|
17
|
+
again.
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- The review Overview no longer refetches `/api/codeowners` and `/api/readiness` in an endless loop:
|
|
22
|
+
its effect read the `readinessLoading` flag it also wrote, so every response started the next
|
|
23
|
+
request (thousands per minute against the daemon and the platform). Loads are now keyed by the
|
|
24
|
+
review id and guarded by request counters: opening a review, switching reviews and “Refresh
|
|
25
|
+
readiness” send exactly one request each.
|
|
26
|
+
|
|
27
|
+
## [0.19.1] - 2026-11-30
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
- The UI no longer flashes the full-screen “lost connection to the daemon” card on a single network
|
|
32
|
+
blip. Idle browser connections stay open for 65 seconds instead of Node's five-second default (a
|
|
33
|
+
request could race into the socket the server was closing), an idempotent GET is retried once on a
|
|
34
|
+
fresh connection, and a request that may have reached the daemon is checked against `/api/health`
|
|
35
|
+
first. A mutation that fails this way now shows a “repeat the action” notice, and the card appears
|
|
36
|
+
only when the daemon does not answer at all.
|
|
37
|
+
|
|
7
38
|
## [0.19.0] - 2026-11-29
|
|
8
39
|
|
|
9
40
|
### Added
|
package/CONTRIBUTING.md
CHANGED
|
@@ -28,7 +28,8 @@ If a change is intentionally undocumented, say why in the pull request.
|
|
|
28
28
|
git clone https://github.com/katrov/revdeck.git
|
|
29
29
|
cd revdeck
|
|
30
30
|
npm ci
|
|
31
|
-
npm run typecheck
|
|
31
|
+
npm run typecheck # TypeScript 7 (server) + svelte-check (TS 6)
|
|
32
|
+
npm run audit:effects # Svelte effects that read the state they write
|
|
32
33
|
npm test
|
|
33
34
|
npm run build
|
|
34
35
|
```
|
|
@@ -90,7 +91,7 @@ overwrite files it does not own.
|
|
|
90
91
|
## Pull requests
|
|
91
92
|
|
|
92
93
|
- One logical change per PR; include tests for behavior changes.
|
|
93
|
-
- `npm run typecheck`, `npm test` and `npm run build` must pass.
|
|
94
|
+
- `npm run typecheck`, `npm run audit:effects`, `npm test` and `npm run build` must pass.
|
|
94
95
|
- Do not commit secrets, `.env` files, tokens, or generated `dist/` artifacts.
|
|
95
96
|
- UI changes: include a screenshot and check light/dark themes.
|
|
96
97
|
- Commits: imperative mood, short subject, explain the *why* in the body. Conventional Commits
|
package/README.md
CHANGED
|
@@ -59,7 +59,9 @@ and a web UI. Platform tokens stay on the host.
|
|
|
59
59
|
free, so the open tab keeps its origin. The tab and the login page explain what happened and offer
|
|
60
60
|
`revdeck daemon start && revdeck ui --open`; the tab reconnects by itself once a fresh link is
|
|
61
61
|
opened. Unsaved replies and finding comments are kept in `localStorage`; raw `Failed to fetch` and
|
|
62
|
-
401 text is no longer shown.
|
|
62
|
+
401 text is no longer shown. A single network blip does not raise the lost-connection card: idle
|
|
63
|
+
connections stay open for 65 seconds, a GET is retried on a fresh socket, and a failed request is
|
|
64
|
+
checked against `/api/health` first.
|
|
63
65
|
- **Readable daemon output.** `revdeck daemon start|restart|status|stop` prints one aligned block with
|
|
64
66
|
the UI link, socket, state and health. `daemon logs` renders local timestamps and supports `--follow`
|
|
65
67
|
and `--json`; the log rotates at 1 MiB. `daemon start/restart` accept `--port`. Colors appear only in
|
package/README.ru.md
CHANGED
|
@@ -59,6 +59,8 @@
|
|
|
59
59
|
входа объясняют, что произошло, и предлагают `revdeck daemon start && revdeck ui --open`;
|
|
60
60
|
вкладка сама переподключается после свежей ссылки. Несохранённые ответы и комментарии к
|
|
61
61
|
замечаниям хранятся в `localStorage`. Сырые `Failed to fetch` и текст 401 больше не показываются.
|
|
62
|
+
Одиночный сетевой обрыв экран потери связи не поднимает: простаивающие соединения живут 65 секунд,
|
|
63
|
+
GET повторяется на новом сокете, а упавший запрос сначала проверяется через `/api/health`.
|
|
62
64
|
- **Читаемый вывод демона.** `revdeck daemon start|restart|status|stop` печатает один выровненный
|
|
63
65
|
блок со ссылкой на UI, сокетом, состоянием и здоровьем. `daemon logs` показывает локальное время
|
|
64
66
|
и поддерживает `--follow` и `--json`; лог ротируется на 1 МиБ. `daemon start/restart` принимают
|