Compare commits
2 Commits
main
...
fix/node-d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bc56aac3bd | ||
|
|
fd27d40b85 |
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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:
|
||||||
|
|||||||
@ -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()}`);
|
||||||
|
|||||||
@ -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 [
|
||||||
|
|||||||
@ -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);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user