paseo-follow-up 2.5.0 → 2.5.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  What changed in each version of Follow-up, newest first. Follow-up shows "What's new" after an update that brings new release notes: the curated part of each stable release since you last looked (betas install quietly; Settings → General can turn it off), and every version's notes from Home's version line.
4
4
 
5
+ ## 2.5.1 (2026-11-28)
6
+
7
+ One fix for 2.5.0.
8
+
9
+ - **Follow-up keeps working with Tailscale on.** With Tailscale on, Paseo listens on more than one address and Follow-up's tools failed to connect. Follow-up now uses Paseo's main address.
10
+
11
+ <details><summary>Full changelog since 2.5.0</summary>
12
+
13
+ ### Fixes
14
+
15
+ - Fixed Follow-up’s tools failing after turning on Tailscale in Paseo. Follow-up now connects to the main address when the host listens on several addresses.
16
+
17
+ </details>
18
+
5
19
  ## 2.5.0 (2026-11-26)
6
20
 
7
21
  Send a task at the time you pick, and read every release in one scroll.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "paseo-follow-up",
3
3
  "private": false,
4
- "version": "2.5.0",
4
+ "version": "2.5.1",
5
5
  "description": "Every agent, one inbox. Follow-up brings what all your coding agents need from you into one ranked list, and follows their work through merge, deploy and after.",
6
6
  "type": "module",
7
7
  "files": [
package/server/daemon.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { daemonUrl } from "../shared/daemon-url.mjs";
1
2
  import { imageSupport, imagesLeftOff } from "./image-support";
2
3
  import { taskAgentStates } from "../shared/task-status";
3
4
  import { settleWithin, type Deadline } from "./teardown";
@@ -117,7 +118,7 @@ export async function daemonOptions(): Promise<Record<string, unknown>> {
117
118
  let url = process.env.PASEO_DAEMON_URL;
118
119
  if (!url) {
119
120
  const config = JSON.parse(await readFile(join(paseoHome, "config.json"), "utf8"));
120
- url = `ws://${config.daemon?.listen ?? "127.0.0.1:6767"}/ws`;
121
+ url = daemonUrl(config);
121
122
  }
122
123
  return { url, clientId: "follow-up-worker", clientType: "cli", reconnect: { enabled: false }, connectTimeoutMs: 10_000, suppressSendErrors: true, ...(password ? { password } : {}) };
123
124
  }
@@ -8,6 +8,16 @@ export const mcpSource: string = [
8
8
  "import { existsSync, realpathSync } from \"node:fs\";",
9
9
  "import { join, delimiter } from \"node:path\";",
10
10
  "import { homedir } from \"node:os\";",
11
+ "// A copy of shared/daemon-url.mjs (the 2.5 bridge runs as one file with no build-time inlining);",
12
+ "// tests/daemon-url.test.ts keeps it equal to the shared resolver.",
13
+ "function daemonUrl(config, override) {",
14
+ " if (override) return override;",
15
+ " const listen = config.daemon?.listen ?? \"127.0.0.1:6767\";",
16
+ " if (listen.startsWith(\"pipe://\") || listen.startsWith(\"unix://\")) return `ws+unix://${listen.slice(7)}:/ws`;",
17
+ " if (listen.startsWith(\"\\\\\\\\.\\\\pipe\\\\\") || listen.startsWith(\"/\") || listen.startsWith(\"~\")) return `ws+unix://${listen}:/ws`;",
18
+ " const main = listen.split(\",\", 1)[0].trim();",
19
+ " return `ws://${/^\\d+$/.test(main) ? `127.0.0.1:${main}` : main}/ws`;",
20
+ "}",
11
21
  "",
12
22
  "/** Set by the worker's prelude (shared/legacy.ts withRuntimePrelude); absent when a test imports this file. */",
13
23
  "const runtime = globalThis.followUpRuntime ?? {};",
@@ -376,7 +386,7 @@ export const mcpSource: string = [
376
386
  " let password = process.env.PASEO_PASSWORD;",
377
387
  " if (!password && process.env.PASEO_PASSWORD_FILE) password = (await readFile(process.env.PASEO_PASSWORD_FILE, \"utf8\")).trim();",
378
388
  " if (!password && home === join(homedir(), \".paseo\")) password = await readFile(join(homedir(), \"paseo-hub/secrets/daemon-password\"), \"utf8\").then(s => s.trim()).catch(() => undefined);",
379
- " const client = new DaemonClient({ url: process.env.PASEO_DAEMON_URL ?? `ws://${config.daemon?.listen ?? \"127.0.0.1:6767\"}/ws`, clientId: \"follow-up-mcp\", clientType: \"cli\", reconnect: { enabled: false }, connectTimeoutMs: 10000, suppressSendErrors: true, ...(password ? { password } : {}) });",
389
+ " const client = new DaemonClient({ url: daemonUrl(config, process.env.PASEO_DAEMON_URL), clientId: \"follow-up-mcp\", clientType: \"cli\", reconnect: { enabled: false }, connectTimeoutMs: 10000, suppressSendErrors: true, ...(password ? { password } : {}) });",
380
390
  " try {",
381
391
  " await client.connect();",
382
392
  " let last;",
package/server/mcp.mjs CHANGED
@@ -6,6 +6,16 @@ import { readFile, stat } from "node:fs/promises";
6
6
  import { existsSync, realpathSync } from "node:fs";
7
7
  import { join, delimiter } from "node:path";
8
8
  import { homedir } from "node:os";
9
+ // A copy of shared/daemon-url.mjs (the 2.5 bridge runs as one file with no build-time inlining);
10
+ // tests/daemon-url.test.ts keeps it equal to the shared resolver.
11
+ function daemonUrl(config, override) {
12
+ if (override) return override;
13
+ const listen = config.daemon?.listen ?? "127.0.0.1:6767";
14
+ if (listen.startsWith("pipe://") || listen.startsWith("unix://")) return `ws+unix://${listen.slice(7)}:/ws`;
15
+ if (listen.startsWith("\\\\.\\pipe\\") || listen.startsWith("/") || listen.startsWith("~")) return `ws+unix://${listen}:/ws`;
16
+ const main = listen.split(",", 1)[0].trim();
17
+ return `ws://${/^\d+$/.test(main) ? `127.0.0.1:${main}` : main}/ws`;
18
+ }
9
19
 
10
20
  /** Set by the worker's prelude (shared/legacy.ts withRuntimePrelude); absent when a test imports this file. */
11
21
  const runtime = globalThis.followUpRuntime ?? {};
@@ -374,7 +384,7 @@ async function call(method, input) {
374
384
  let password = process.env.PASEO_PASSWORD;
375
385
  if (!password && process.env.PASEO_PASSWORD_FILE) password = (await readFile(process.env.PASEO_PASSWORD_FILE, "utf8")).trim();
376
386
  if (!password && home === join(homedir(), ".paseo")) password = await readFile(join(homedir(), "paseo-hub/secrets/daemon-password"), "utf8").then(s => s.trim()).catch(() => undefined);
377
- const client = new DaemonClient({ url: process.env.PASEO_DAEMON_URL ?? `ws://${config.daemon?.listen ?? "127.0.0.1:6767"}/ws`, clientId: "follow-up-mcp", clientType: "cli", reconnect: { enabled: false }, connectTimeoutMs: 10000, suppressSendErrors: true, ...(password ? { password } : {}) });
387
+ const client = new DaemonClient({ url: daemonUrl(config, process.env.PASEO_DAEMON_URL), clientId: "follow-up-mcp", clientType: "cli", reconnect: { enabled: false }, connectTimeoutMs: 10000, suppressSendErrors: true, ...(password ? { password } : {}) });
378
388
  try {
379
389
  await client.connect();
380
390
  let last;
@@ -0,0 +1,2 @@
1
+ /** Shared by the worker and the generated standalone bridge. */
2
+ export function daemonUrl(config: { daemon?: { listen?: string } }, override?: string): string;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * One config-to-URL rule for the worker and standalone bridge (inlined by scripts/build.mjs).
3
+ * Match Paseo's getMainListenAddress: socket/pipe paths are literal; TCP lists use the trimmed first entry.
4
+ */
5
+ export function daemonUrl(config, override) {
6
+ if (override) return override;
7
+ const listen = config.daemon?.listen ?? "127.0.0.1:6767";
8
+ if (listen.startsWith("pipe://") || listen.startsWith("unix://")) return `ws+unix://${listen.slice(7)}:/ws`;
9
+ if (listen.startsWith("\\\\.\\pipe\\") || listen.startsWith("/") || listen.startsWith("~")) return `ws+unix://${listen}:/ws`;
10
+ const main = listen.split(",", 1)[0].trim();
11
+ return `ws://${/^\d+$/.test(main) ? `127.0.0.1:${main}` : main}/ws`;
12
+ }