revdeck 0.4.0 → 0.4.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 +34 -0
- package/CONTRIBUTING.md +11 -0
- package/README.md +12 -5
- package/README.ru.md +13 -6
- package/dist/cli.js +33 -19
- package/dist/cli.js.map +2 -2
- package/dist/daemon.js +51 -37
- package/dist/daemon.js.map +3 -3
- package/dist/mcp.js +14 -13
- package/dist/mcp.js.map +2 -2
- package/dist/ui/assets/index-CTegHeh4.css +1 -0
- package/dist/ui/assets/index-CWSxgxKx.js +10 -0
- package/dist/ui/index.html +2 -2
- package/docs/integrations.md +11 -6
- package/docs/protocol.md +1 -0
- package/docs/ru/integrations.md +11 -6
- package/docs/ru/protocol.md +1 -0
- package/package.json +1 -1
- package/skills/revdeck/en/SKILL.md +7 -0
- package/skills/revdeck/ru/SKILL.md +7 -0
- package/dist/ui/assets/index-B2o_eogg.js +0 -10
- package/dist/ui/assets/index-C4ko2Kho.css +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,40 @@ All notable changes to this project are documented here. The format is based on
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.4.2] - 2026-11-12
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Remove a review from the local sidebar (the MR/PR on the platform is untouched).
|
|
14
|
+
- Copy a finding's file path from the card; long paths truncate with an ellipsis.
|
|
15
|
+
- A loading bar for review switches and a request guard so a slow older response cannot overwrite a
|
|
16
|
+
newer review.
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- Diff rows keep their colored background across the full horizontal scroll, including long code lines.
|
|
21
|
+
- Agent edits (summary, findings, replies, notes) reach the open UI immediately via SSE, with a 10-second
|
|
22
|
+
polling fallback when SSE is unavailable.
|
|
23
|
+
- Devcontainer bridge permissions: `run`/`state` are `0755`, the bridge socket `0666`, `daemon.json`
|
|
24
|
+
`0644`, while the private parent stays `0700`. The loopback HTTP server accepts
|
|
25
|
+
`Host: host.docker.internal`, so macOS Docker Desktop works without `--host 0.0.0.0`. Missing
|
|
26
|
+
`daemon.json` permissions and HTTP `Host` errors now produce distinct hints.
|
|
27
|
+
- `revdeck devcontainer --write` warns when it cannot find a repository MCP config for the
|
|
28
|
+
user-level one.
|
|
29
|
+
|
|
30
|
+
### Documentation
|
|
31
|
+
|
|
32
|
+
- Added an explicit project rule: documentation is part of every change (`AGENTS.md`, `CONTRIBUTING.md`).
|
|
33
|
+
- Skills now ask for a short chat answer and put details in the summary/findings.
|
|
34
|
+
|
|
35
|
+
## [0.4.1] - 2026-11-12
|
|
36
|
+
|
|
37
|
+
### Fixed
|
|
38
|
+
|
|
39
|
+
- `revdeck daemon start --host` now warns when a daemon is already running and does not rebind;
|
|
40
|
+
use `revdeck daemon restart --host 0.0.0.0`. `revdeck daemon install --host 0.0.0.0` writes the
|
|
41
|
+
binding into the systemd unit / launchd plist.
|
|
42
|
+
|
|
9
43
|
## [0.4.0] - 2026-11-12
|
|
10
44
|
|
|
11
45
|
### Added
|
package/CONTRIBUTING.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
Thanks for taking the time to contribute. revdeck is a small, dependency-light project: a review
|
|
4
4
|
procedure, a local daemon, platform providers, an MCP server, a CLI and a Svelte UI.
|
|
5
5
|
|
|
6
|
+
## Documentation is part of the change
|
|
7
|
+
|
|
8
|
+
A behavior change is not complete until its documentation is updated in the same change:
|
|
9
|
+
|
|
10
|
+
- `README.md` and `README.ru.md` for user-facing commands and behavior;
|
|
11
|
+
- `docs/` and `docs/ru/` for architecture, configuration, protocol and integrations;
|
|
12
|
+
- `CHANGELOG.md` under `Unreleased` (or the release section);
|
|
13
|
+
- `revdeck --help` and MCP tool descriptions when arguments or capabilities change.
|
|
14
|
+
|
|
15
|
+
If a change is intentionally undocumented, say why in the pull request.
|
|
16
|
+
|
|
6
17
|
## Good first issues
|
|
7
18
|
|
|
8
19
|
- A new `Provider` (Bitbucket, Forgejo, Azure DevOps).
|
package/README.md
CHANGED
|
@@ -130,6 +130,8 @@ sidebar, `p` opens publishing, `?` opens the command palette. The sidebar choice
|
|
|
130
130
|
|
|
131
131
|
The UI shows the MR/PR description, supports deep links to threads, findings and diff lines (with
|
|
132
132
|
working browser Back/Forward), and keeps a per-review "viewed" state and file filter in the diff.
|
|
133
|
+
A review can be removed from the local sidebar with **×**; this never deletes the MR/PR on the platform.
|
|
134
|
+
A thin progress bar shows review loading, and finding paths can be copied from the card.
|
|
133
135
|
|
|
134
136
|
## Attachments
|
|
135
137
|
|
|
@@ -176,11 +178,16 @@ rebuild the container. Inside the container revdeck never starts a local daemon,
|
|
|
176
178
|
never invoked there; if the host socket is missing it fails with a clear `DEVCONTAINER` error.
|
|
177
179
|
`revdeck doctor` is aware of this mode.
|
|
178
180
|
|
|
179
|
-
|
|
180
|
-
`revdeck daemon
|
|
181
|
-
|
|
182
|
-
`
|
|
183
|
-
|
|
181
|
+
On macOS with Docker Desktop the host Unix socket is not proxied into the container. The client then
|
|
182
|
+
falls back to HTTP: `revdeck daemon restart` is enough, because the bridge `daemon.json` is readable by
|
|
183
|
+
the container user (the private parent stays `0700`) and the loopback server accepts
|
|
184
|
+
`Host: host.docker.internal`. On Linux, if the socket is not reachable, use
|
|
185
|
+
`revdeck daemon restart --host 0.0.0.0` (or `revdeck daemon install --host 0.0.0.0` for a service);
|
|
186
|
+
binding to `0.0.0.0` exposes the HTTP port to the network, so use it only on a trusted network.
|
|
187
|
+
|
|
188
|
+
`revdeck devcontainer --write` updates `.mcp.json` / `.cursor/mcp.json` inside the repository. A
|
|
189
|
+
user-level MCP configuration outside the repository must get the same `REVDECK_*` variables manually;
|
|
190
|
+
otherwise it can start a second daemon inside the container.
|
|
184
191
|
|
|
185
192
|
## MCP
|
|
186
193
|
|
package/README.ru.md
CHANGED
|
@@ -114,7 +114,9 @@ revdeck ui # ссылка на локальный интерфейс
|
|
|
114
114
|
запоминается в `localStorage`.
|
|
115
115
|
|
|
116
116
|
UI показывает описание MR/PR, поддерживает deep links на треды, замечания и строки diff (с рабочей
|
|
117
|
-
кнопкой «назад»), а в diff — фильтр файлов и отметку «просмотрено» для каждого ревью.
|
|
117
|
+
кнопкой «назад»), а в diff — фильтр файлов и отметку «просмотрено» для каждого ревью. Ревью можно убрать
|
|
118
|
+
из локального сайдбара кнопкой **×** (MR/PR на платформе не удаляется). Тонкая полоса показывает
|
|
119
|
+
загрузку, путь замечания можно скопировать из карточки.
|
|
118
120
|
|
|
119
121
|
## Вложения
|
|
120
122
|
|
|
@@ -162,11 +164,16 @@ revdeck devcontainer --write # добавить их в .devcontainer/devcontai
|
|
|
162
164
|
вызываются; если сокет хоста недоступен, команда падает с понятной ошибкой `DEVCONTAINER`.
|
|
163
165
|
`revdeck doctor` знает об этом режиме.
|
|
164
166
|
|
|
165
|
-
|
|
166
|
-
`revdeck daemon
|
|
167
|
-
|
|
168
|
-
`
|
|
169
|
-
|
|
167
|
+
На macOS с Docker Desktop Unix-сокет хоста не пробрасывается в контейнер. Клиент переключается на
|
|
168
|
+
HTTP: достаточно `revdeck daemon restart`, потому что `daemon.json` моста читается пользователем
|
|
169
|
+
контейнера (приватный родительский каталог остаётся `0700`), а loopback-сервер принимает
|
|
170
|
+
`Host: host.docker.internal`. На Linux, если сокет недоступен, используйте
|
|
171
|
+
`revdeck daemon restart --host 0.0.0.0` (или `revdeck daemon install --host 0.0.0.0` для сервиса);
|
|
172
|
+
привязка к `0.0.0.0` открывает HTTP-порт в сеть — только для доверенной сети.
|
|
173
|
+
|
|
174
|
+
`revdeck devcontainer --write` обновляет `.mcp.json` / `.cursor/mcp.json` внутри репозитория.
|
|
175
|
+
Пользовательский MCP вне репозитория нужно вручную снабдить теми же `REVDECK_*`; иначе он может
|
|
176
|
+
поднять второй демон внутри контейнера.
|
|
170
177
|
|
|
171
178
|
## MCP
|
|
172
179
|
|
package/dist/cli.js
CHANGED
|
@@ -168,7 +168,7 @@ var VERSION;
|
|
|
168
168
|
var init_version = __esm({
|
|
169
169
|
"src/version.ts"() {
|
|
170
170
|
"use strict";
|
|
171
|
-
VERSION = "0.4.
|
|
171
|
+
VERSION = "0.4.2";
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
174
|
|
|
@@ -197,13 +197,16 @@ async function connectSocket(file = socketPath(), timeoutMs = 1500) {
|
|
|
197
197
|
});
|
|
198
198
|
});
|
|
199
199
|
}
|
|
200
|
-
async function
|
|
200
|
+
async function daemonInfoRead() {
|
|
201
201
|
try {
|
|
202
|
-
return JSON.parse(await readFile2(daemonInfoPath(), "utf8"));
|
|
203
|
-
} catch {
|
|
204
|
-
return null;
|
|
202
|
+
return { info: JSON.parse(await readFile2(daemonInfoPath(), "utf8")), error: "" };
|
|
203
|
+
} catch (error) {
|
|
204
|
+
return { info: null, error: error.message };
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
+
async function daemonInfo() {
|
|
208
|
+
return (await daemonInfoRead()).info;
|
|
209
|
+
}
|
|
207
210
|
function isDevContainer() {
|
|
208
211
|
return process.env.REVDECK_DEV_CONTAINER === "1";
|
|
209
212
|
}
|
|
@@ -218,10 +221,11 @@ function devcontainerHint() {
|
|
|
218
221
|
].join("; ");
|
|
219
222
|
}
|
|
220
223
|
async function devcontainerHttpClient() {
|
|
221
|
-
const info = await
|
|
222
|
-
if (!info
|
|
224
|
+
const { info, error } = await daemonInfoRead();
|
|
225
|
+
if (!info) return { client: null, error: `${daemonInfoPath()}: ${error}` };
|
|
226
|
+
if (!info.port || !info.token) return { client: null, error: `${daemonInfoPath()}: \u043D\u0435\u0442 port/token` };
|
|
223
227
|
const host = process.env.REVDECK_UI_HOST ?? "host.docker.internal";
|
|
224
|
-
return new HttpClient(`http://${host}:${info.port}`, info.token);
|
|
228
|
+
return { client: new HttpClient(`http://${host}:${info.port}`, info.token), error: "" };
|
|
225
229
|
}
|
|
226
230
|
async function ensureDaemon(options = {}) {
|
|
227
231
|
const url = process.env.REVDECK_URL;
|
|
@@ -235,19 +239,19 @@ async function ensureDaemon(options = {}) {
|
|
|
235
239
|
} catch (error) {
|
|
236
240
|
if (isDevContainer()) {
|
|
237
241
|
const http = await devcontainerHttpClient();
|
|
238
|
-
if (http) {
|
|
242
|
+
if (http.client) {
|
|
239
243
|
try {
|
|
240
|
-
await http.request("ping");
|
|
241
|
-
return { client: http, started: false };
|
|
244
|
+
await http.client.request("ping");
|
|
245
|
+
return { client: http.client, started: false };
|
|
242
246
|
} catch (httpError) {
|
|
243
247
|
throw new RpcError(
|
|
244
248
|
`devcontainer HTTP: ${httpError.message}`,
|
|
245
249
|
"DEVCONTAINER",
|
|
246
|
-
"\u043D\u0430 \u0445\u043E\u0441\u0442\u0435
|
|
250
|
+
"\u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435, \u0447\u0442\u043E \u0434\u0435\u043C\u043E\u043D \u043D\u0430 \u0445\u043E\u0441\u0442\u0435 \u0437\u0430\u043F\u0443\u0449\u0435\u043D; \u043D\u0430 macOS \u0434\u043E\u0441\u0442\u0430\u0442\u043E\u0447\u043D\u043E revdeck daemon restart; \u043D\u0430 Linux \u043F\u0440\u0438 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E\u043C \u0441\u043E\u043A\u0435\u0442\u0435 \u2014 --host 0.0.0.0"
|
|
247
251
|
);
|
|
248
252
|
}
|
|
249
253
|
}
|
|
250
|
-
throw new RpcError(`devcontainer: ${devcontainerHint()}`, "DEVCONTAINER", "
|
|
254
|
+
throw new RpcError(`devcontainer: ${http.error || devcontainerHint()}`, "DEVCONTAINER", "\u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u043F\u0440\u0430\u0432\u0430 \u043D\u0430 devcontainer/state/daemon.json \u0438 mounts");
|
|
251
255
|
}
|
|
252
256
|
if (options.autoStart === false) throw error;
|
|
253
257
|
}
|
|
@@ -1922,7 +1926,7 @@ async function ensureGitignore(root) {
|
|
|
1922
1926
|
`);
|
|
1923
1927
|
writers.out(tr("\u2714 .revdeck/ \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D \u0432 .gitignore", "\u2714 .revdeck/ added to .gitignore"));
|
|
1924
1928
|
}
|
|
1925
|
-
async function installService() {
|
|
1929
|
+
async function installService(host) {
|
|
1926
1930
|
const glab = await resolveExecutable("glab");
|
|
1927
1931
|
const gh = await resolveExecutable("gh");
|
|
1928
1932
|
const envVars = [
|
|
@@ -1932,6 +1936,7 @@ async function installService() {
|
|
|
1932
1936
|
];
|
|
1933
1937
|
const root = packageRoot();
|
|
1934
1938
|
const daemon2 = path6.join(root, "dist", "daemon.js");
|
|
1939
|
+
const hostArgs = host ? ` --host ${host}` : "";
|
|
1935
1940
|
if (!existsSync5(daemon2)) throw new Error(tr("\u043D\u0435\u0442 dist/daemon.js: \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u0435 npm run build", "dist/daemon.js is missing: run npm run build first"));
|
|
1936
1941
|
if (daemon2.includes(`${path6.sep}_npx${path6.sep}`)) {
|
|
1937
1942
|
writers.err(tr("! \u043F\u0430\u043A\u0435\u0442 \u0437\u0430\u043F\u0443\u0449\u0435\u043D \u0447\u0435\u0440\u0435\u0437 npx: \u043F\u0443\u0442\u044C \u043A \u0434\u0435\u043C\u043E\u043D\u0443 \u043C\u043E\u0436\u0435\u0442 \u0438\u0441\u0447\u0435\u0437\u043D\u0443\u0442\u044C \u043F\u0440\u0438 \u043E\u0447\u0438\u0441\u0442\u043A\u0435 \u043A\u0435\u0448\u0430.", "! running from an npx cache: the daemon path can be evicted."));
|
|
@@ -1949,7 +1954,7 @@ async function installService() {
|
|
|
1949
1954
|
"After=default.target",
|
|
1950
1955
|
"",
|
|
1951
1956
|
"[Service]",
|
|
1952
|
-
`ExecStart=${process.execPath} ${daemon2}`,
|
|
1957
|
+
`ExecStart=${process.execPath} ${daemon2}${hostArgs}`,
|
|
1953
1958
|
...envVars.map((item) => `Environment="${systemdEscape(item)}"`),
|
|
1954
1959
|
"Restart=on-failure",
|
|
1955
1960
|
"RestartSec=2",
|
|
@@ -1973,7 +1978,7 @@ async function installService() {
|
|
|
1973
1978
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
1974
1979
|
<plist version="1.0"><dict>
|
|
1975
1980
|
<key>Label</key><string>io.revdeck.daemon</string>
|
|
1976
|
-
<key>ProgramArguments</key><array><string>${process.execPath}</string><string>${daemon2}</string
|
|
1981
|
+
<key>ProgramArguments</key><array><string>${process.execPath}</string><string>${daemon2}</string>${host ? `<string>--host</string><string>${xmlEscape(host)}</string>` : ""}</array>
|
|
1977
1982
|
<key>EnvironmentVariables</key><dict>${envVars.map((item) => `<key>${xmlEscape(item.slice(0, item.indexOf("=")))}</key><string>${xmlEscape(item.slice(item.indexOf("=") + 1))}</string>`).join("")}</dict>
|
|
1978
1983
|
<key>RunAtLoad</key><true/>
|
|
1979
1984
|
<key>KeepAlive</key><true/>
|
|
@@ -2218,16 +2223,20 @@ async function runDevcontainer(rootInput, options) {
|
|
|
2218
2223
|
}
|
|
2219
2224
|
await writeFile2(file, output);
|
|
2220
2225
|
writers.out(`\u2714 ${path7.relative(root, file)}`);
|
|
2221
|
-
await mergeMcpEnv(root, patch.containerEnv);
|
|
2226
|
+
const mcpFiles = await mergeMcpEnv(root, patch.containerEnv);
|
|
2227
|
+
if (!mcpFiles) {
|
|
2228
|
+
writers.out(tr(" MCP-\u043A\u043E\u043D\u0444\u0438\u0433 \u0432 \u0440\u0435\u043F\u043E\u0437\u0438\u0442\u043E\u0440\u0438\u0438 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D: \u0434\u043B\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0433\u043E MCP \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 REVDECK_* \u0432\u0440\u0443\u0447\u043D\u0443\u044E.", " No MCP config in the repository: add the REVDECK_* variables to a user-level MCP manually."));
|
|
2229
|
+
}
|
|
2222
2230
|
if (existed) writers.out(tr(" \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u0438 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u044B.", " comments were preserved."));
|
|
2223
2231
|
writers.out("");
|
|
2224
2232
|
writers.out(tr("\u0414\u0430\u043B\u044C\u0448\u0435:", "Next:"));
|
|
2225
2233
|
writers.out(tr(" 1. \u041D\u0430 \u0445\u043E\u0441\u0442\u0435: revdeck daemon restart \u2014 \u043E\u043D \u0441\u043E\u0437\u0434\u0430\u0441\u0442 \u0441\u043E\u043A\u0435\u0442 \u043C\u043E\u0441\u0442\u0430.", " 1. On the host: revdeck daemon restart \u2014 it creates the bridge socket."));
|
|
2226
2234
|
writers.out(tr(" 2. \u041F\u0435\u0440\u0435\u0441\u043E\u0431\u0435\u0440\u0438\u0442\u0435/\u043F\u0435\u0440\u0435\u043E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 devcontainer.", " 2. Rebuild/reopen the devcontainer."));
|
|
2227
2235
|
writers.out(tr(" 3. \u0412 \u043A\u043E\u043D\u0442\u0435\u0439\u043D\u0435\u0440\u0435: revdeck doctor \u2014 \u043E\u043D \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043A\u0430\u0442\u044C glab/gh \u0432\u043D\u0443\u0442\u0440\u0438.", " 3. In the container: revdeck doctor \u2014 it will not look for glab/gh inside."));
|
|
2228
|
-
writers.out(tr("
|
|
2236
|
+
writers.out(tr(" macOS/Docker Desktop: \u0434\u043E\u0441\u0442\u0430\u0442\u043E\u0447\u043D\u043E revdeck daemon restart; Linux \u043F\u0440\u0438 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E\u043C \u0441\u043E\u043A\u0435\u0442\u0435: revdeck daemon restart --host 0.0.0.0.", " macOS/Docker Desktop: revdeck daemon restart is enough; on Linux with an unreachable socket: revdeck daemon restart --host 0.0.0.0."));
|
|
2229
2237
|
}
|
|
2230
2238
|
async function mergeMcpEnv(root, env) {
|
|
2239
|
+
let changed = 0;
|
|
2231
2240
|
for (const relative of [".mcp.json", ".cursor/mcp.json"]) {
|
|
2232
2241
|
const file = path7.join(root, relative);
|
|
2233
2242
|
if (!existsSync6(file)) continue;
|
|
@@ -2239,11 +2248,13 @@ async function mergeMcpEnv(root, env) {
|
|
|
2239
2248
|
server2.env = { ...isRecord(server2.env) ? server2.env : {}, ...env };
|
|
2240
2249
|
await writeFile2(file, `${JSON.stringify(data, null, 2)}
|
|
2241
2250
|
`);
|
|
2251
|
+
changed += 1;
|
|
2242
2252
|
writers.out(`\u2714 MCP env: ${relative}`);
|
|
2243
2253
|
} catch (error) {
|
|
2244
2254
|
writers.err(`! ${relative}: ${tr("\u043D\u0435 JSON \u2014 \u043D\u0435 \u0442\u0440\u043E\u0433\u0430\u044E", "not JSON \u2014 leaving it untouched")} (${error.message})`);
|
|
2245
2255
|
}
|
|
2246
2256
|
}
|
|
2257
|
+
return changed;
|
|
2247
2258
|
}
|
|
2248
2259
|
|
|
2249
2260
|
// src/cli/eject.ts
|
|
@@ -2976,6 +2987,9 @@ async function daemon(action, values = {}) {
|
|
|
2976
2987
|
client2.close();
|
|
2977
2988
|
const info = await daemonInfo();
|
|
2978
2989
|
writers.out(`${started ? tr("\u0437\u0430\u043F\u0443\u0449\u0435\u043D", "started") : tr("\u0443\u0436\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442", "already running")} ${tr("\u0434\u0435\u043C\u043E\u043D", "daemon")} pid ${ping.pid}, ${tr("\u0432\u0435\u0440\u0441\u0438\u044F", "version")} ${ping.version}`);
|
|
2990
|
+
if (values.host && !started) {
|
|
2991
|
+
writers.err(tr("! \u0443\u0436\u0435 \u0437\u0430\u043F\u0443\u0449\u0435\u043D\u043D\u044B\u0439 \u0434\u0435\u043C\u043E\u043D \u043D\u0435 \u043C\u0435\u043D\u044F\u0435\u0442 bind-\u0430\u0434\u0440\u0435\u0441: \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 revdeck daemon restart --host 0.0.0.0", "! a running daemon does not rebind: use revdeck daemon restart --host 0.0.0.0"));
|
|
2992
|
+
}
|
|
2979
2993
|
if (info) writers.out(`${uiBaseUrl(info)}/?t=${info.token}`);
|
|
2980
2994
|
return;
|
|
2981
2995
|
}
|
|
@@ -2990,7 +3004,7 @@ async function daemon(action, values = {}) {
|
|
|
2990
3004
|
return;
|
|
2991
3005
|
}
|
|
2992
3006
|
if (action === "install") {
|
|
2993
|
-
await installService();
|
|
3007
|
+
await installService(values.host ? String(values.host) : void 0);
|
|
2994
3008
|
return;
|
|
2995
3009
|
}
|
|
2996
3010
|
if (action === "uninstall") {
|