Compare commits

...

2 Commits

Author SHA1 Message Date
Peter Steinberger
bc56aac3bd fix: align node host hints + deflake block streaming test (#1461) (thanks @ameno-) 2026-01-22 22:01:58 +00:00
Ameno Osman
fd27d40b85 fix(node): use node run for node daemon 2026-01-22 21:46:35 +00:00
6 changed files with 8 additions and 6 deletions

View File

@ -2,11 +2,12 @@
Docs: https://docs.clawd.bot Docs: https://docs.clawd.bot
## 2026.1.22 ## 2026.1.22 (Unreleased)
### Fixes ### Fixes
- BlueBubbles: stop typing indicator on idle/no-reply. (#1439) Thanks @Nicell. - BlueBubbles: stop typing indicator on idle/no-reply. (#1439) Thanks @Nicell.
- Auto-reply: only report a model switch when session state is available. (#1465) Thanks @robbyczgw-cla. - Auto-reply: only report a model switch when session state is available. (#1465) Thanks @robbyczgw-cla.
- Node: launch node host service with `node run` (not `node start`) and align node host hints/docs. (#1461) Thanks @ameno-.
## 2026.1.21-2 ## 2026.1.21-2

View File

@ -59,7 +59,6 @@ Manage the service:
```bash ```bash
clawdbot node status clawdbot node status
clawdbot node run
clawdbot node stop clawdbot node stop
clawdbot node restart clawdbot node restart
clawdbot node uninstall clawdbot node uninstall

View File

@ -57,9 +57,11 @@ clawdbot node run --host <gateway-host> --port 18789 --display-name "Build Node"
```bash ```bash
clawdbot node install --host <gateway-host> --port 18789 --display-name "Build Node" clawdbot node install --host <gateway-host> --port 18789 --display-name "Build Node"
clawdbot node start clawdbot node status
``` ```
Install starts the service. Use `clawdbot node restart` if you need to re-launch it.
### Pair + name ### Pair + name
On the gateway host: On the gateway host:

View File

@ -42,7 +42,7 @@ describe("block streaming", () => {
}); });
async function waitForCalls(fn: () => number, calls: number) { async function waitForCalls(fn: () => number, calls: number) {
const deadline = Date.now() + 1500; const deadline = Date.now() + 5000;
while (fn() < calls) { while (fn() < calls) {
if (Date.now() > deadline) { if (Date.now() > deadline) {
throw new Error(`Expected ${calls} call(s), got ${fn()}`); throw new Error(`Expected ${calls} call(s), got ${fn()}`);

View File

@ -47,7 +47,7 @@ type NodeDaemonStatusOptions = {
}; };
function renderNodeServiceStartHints(): string[] { function renderNodeServiceStartHints(): string[] {
const base = [formatCliCommand("clawdbot node install"), formatCliCommand("clawdbot node start")]; const base = [formatCliCommand("clawdbot node install"), formatCliCommand("clawdbot node run")];
switch (process.platform) { switch (process.platform) {
case "darwin": case "darwin":
return [ return [

View File

@ -237,7 +237,7 @@ export async function resolveNodeProgramArguments(params: {
runtime?: GatewayRuntimePreference; runtime?: GatewayRuntimePreference;
nodePath?: string; nodePath?: string;
}): Promise<GatewayProgramArgs> { }): Promise<GatewayProgramArgs> {
const args = ["node", "start", "--host", params.host, "--port", String(params.port)]; const args = ["node", "run", "--host", params.host, "--port", String(params.port)];
if (params.tls || params.tlsFingerprint) args.push("--tls"); if (params.tls || params.tlsFingerprint) args.push("--tls");
if (params.tlsFingerprint) args.push("--tls-fingerprint", params.tlsFingerprint); if (params.tlsFingerprint) args.push("--tls-fingerprint", params.tlsFingerprint);
if (params.nodeId) args.push("--node-id", params.nodeId); if (params.nodeId) args.push("--node-id", params.nodeId);