revdeck 0.19.0 → 0.19.1

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.
@@ -9,7 +9,7 @@
9
9
  <link rel="icon" href="/icon-32.png" type="image/png" sizes="32x32" />
10
10
  <link rel="apple-touch-icon" href="/icon-128.png" />
11
11
  <title>revdeck</title>
12
- <script type="module" crossorigin src="/assets/index-CHeSKVUo.js"></script>
12
+ <script type="module" crossorigin src="/assets/index-BPQZSbvp.js"></script>
13
13
  <link rel="stylesheet" crossorigin href="/assets/index-ahIeys_y.css">
14
14
  </head>
15
15
  <body>
@@ -169,6 +169,9 @@ documents declared in `context.sources` of each repository (`context.maxBytes` c
169
169
  one-entry parsed-snapshot cache and one snippet index per view keep large reviews cheap.
170
170
  - SSE heartbeats gate the polling fallback; review/feature/project events reload only their scope, and
171
171
  unchanged lists are not reassigned in the UI.
172
+ - Idle browser connections stay open for 65 seconds, and a request that fails on the network is retried
173
+ or probed against `/api/health` before the UI treats the daemon as lost: a keep-alive socket the
174
+ server closed must not look like an outage.
172
175
  - Threads and findings use a measured, page-windowed virtual list in the UI; only visible pages are in
173
176
  the DOM, while focus, editors and deep links stay pinned.
174
177
  - Snippets for threads and findings are computed on the server and size-limited.
@@ -221,6 +221,10 @@ a permanent project link; a project appears in a feature while at least one of i
221
221
  `/api/health` answers with a fresh session. An open tab shows the same explanation as an in-app card
222
222
  instead of raw `Failed to fetch`/401 errors; it probes the daemon, listens to `online`/visibility
223
223
  changes and recovers by itself. The page follows the browser language and the system theme.
224
+ - A single network blip is not reported as a loss: idle browser connections stay open for 65 seconds
225
+ (Node's five-second default let a request race into a socket the server was closing), an idempotent
226
+ request is retried once on a fresh connection, and a request that may have reached the daemon is
227
+ checked against `/api/health` first. The full-screen card needs a daemon that does not answer at all.
224
228
  - A connection loss does not lose work: replies and finding comments that did not reach the daemon are
225
229
  backed up in `localStorage` and restored (then saved) after the tab reconnects.
226
230
  - Responsive sidebar and mobile backdrop; dark/light theme via CSS variables.
@@ -172,6 +172,9 @@ OpenAPI разбирается на операции и схемы, а конт
172
172
  разобранного снимка и один индекс сниппетов на view удешевляют большие ревью.
173
173
  - Heartbeat'ы SSE отключают поллинг-страховку; события review/feature/project обновляют только свою
174
174
  часть, а неизменившиеся списки в UI не переприсваиваются.
175
+ - Простаивающие соединения браузера живут 65 секунд, а запрос, упавший на сетевом уровне,
176
+ повторяется или проверяется через `/api/health` раньше, чем UI покажет потерю связи: закрытый
177
+ сервером keep-alive-сокет не должен выглядеть как недоступный демон.
175
178
  - Треды и замечания используют измеряемый page-windowed virtual list в UI: в DOM только видимые
176
179
  страницы, а фокус, редакторы и deep-link'и остаются рабочими.
177
180
  - Сниппеты для тредов и замечаний считаются на сервере и ограничены по размеру.
@@ -226,6 +226,11 @@ agent (MCP/CLI) ──unix socket──▶ revdeck daemon ──glab/gh──▶
226
226
  новой сессией. Открытая вкладка показывает то же объяснение карточкой вместо сырых
227
227
  `Failed to fetch`/401, слушает `online`/смену видимости, сама проверяет демон и восстанавливается.
228
228
  Язык страницы — по браузеру, тема — системная.
229
+ - Одиночный сетевой обрыв не считается потерей связи: простаивающие соединения браузера живут
230
+ 65 секунд (пять секунд по умолчанию в Node давали гонку с закрывающимся сокетом), идемпотентный
231
+ запрос повторяется один раз на новом соединении, а запрос, который мог дойти до демона,
232
+ проверяется через `/api/health`. Полноэкранная карточка появляется только когда демон не отвечает
233
+ вообще.
229
234
  - Обрыв связи не теряет работу: ответы и комментарии к замечаниям, не дошедшие до демона,
230
235
  сохраняются в `localStorage` и восстанавливаются (а затем отправляются) после переподключения.
231
236
  - Адаптивный сайдбар и мобильный backdrop; светлая/тёмная тема через CSS-переменные.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdeck",
3
- "version": "0.19.0",
3
+ "version": "0.19.1",
4
4
  "description": "Agent-first code review for GitLab and GitHub: local daemon, CLI, MCP server and a triage UI.",
5
5
  "license": "MIT",
6
6
  "type": "module",