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:
@@ -1124,6 +1124,7 @@ export async function createPaseoDaemon(
|
||||
{
|
||||
listen: formatListenTarget(boundListenTarget ?? listenTarget),
|
||||
worktreesRoot: config.worktreesRoot,
|
||||
appBaseUrl: config.appBaseUrl,
|
||||
relay: {
|
||||
enabled: relayEnabled,
|
||||
endpoint: relayEndpoint,
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user