feat: add configurable paseo home and port

This commit is contained in:
Mohamed Boudra
2025-11-30 02:46:44 +00:00
parent cc34ea722a
commit b8d942cb6b
7 changed files with 50 additions and 114 deletions
@@ -38,6 +38,7 @@ import type {
ListPersistedAgentsOptions,
PersistedAgentDescriptor,
} from "../agent-sdk-types.js";
import { resolvePaseoPort } from "../../config.js";
const CLAUDE_CAPABILITIES: AgentCapabilityFlags = {
supportsStreaming: true,
@@ -92,7 +93,7 @@ type ClaudeAgentSessionOptions = {
};
const DEFAULT_AGENT_CONTROL_MCP: AgentControlMcpConfig = {
url: "http://127.0.0.1:6767/mcp/agents",
url: `http://127.0.0.1:${resolvePaseoPort()}/mcp/agents`,
headers: {
Authorization: "Basic bW86Ym8=",
},