fix: pass appBaseUrl to generateLocalPairingOffer in daemon pair RPC (#1187)

Threads the configured app.baseUrl through daemonRuntimeConfig to generateLocalPairingOffer in the daemon pair RPC path, so `paseo daemon pair` honors a custom app.baseUrl when the daemon is already running.

Fixes #1494
Fixes #1186
This commit is contained in:
范东辉
2026-06-15 00:06:52 +08:00
committed by GitHub
parent a6ec352f07
commit 43e17c1e7c
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -1124,6 +1124,7 @@ export async function createPaseoDaemon(
{
listen: formatListenTarget(boundListenTarget ?? listenTarget),
worktreesRoot: config.worktreesRoot,
appBaseUrl: config.appBaseUrl,
relay: {
enabled: relayEnabled,
endpoint: relayEndpoint,
+2
View File
@@ -624,6 +624,7 @@ export interface SessionOptions {
daemonVersion?: string;
daemonRuntimeConfig?: {
listen: string | null;
appBaseUrl?: string;
relay: {
enabled: boolean;
endpoint: string;
@@ -3872,6 +3873,7 @@ export class Session {
relayPublicEndpoint: relay?.publicEndpoint,
relayUseTls: relay?.useTls,
relayPublicUseTls: relay?.publicUseTls,
appBaseUrl: this.daemonRuntimeConfig?.appBaseUrl,
includeQr: true,
logger: this.sessionLogger,
});
@@ -352,6 +352,7 @@ export class VoiceAssistantWebSocketServer {
private readonly daemonRuntimeConfig:
| {
listen: string | null;
appBaseUrl?: string;
relay: {
enabled: boolean;
endpoint: string;
@@ -447,6 +448,7 @@ export class VoiceAssistantWebSocketServer {
daemonRuntimeConfig?: {
listen: string | null;
worktreesRoot?: string;
appBaseUrl?: string;
relay: {
enabled: boolean;
endpoint: string;