Merge pull request #67 from diegosouzapw/feature/docker-runtime-readme-updates

feat: add Docker runtime setup and README docs updates
This commit is contained in:
decolua 2026-02-07 11:24:10 +07:00 committed by GitHub
commit 20a86d6561
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 792 additions and 12 deletions

View file

@ -114,7 +114,7 @@ export default function CLIToolsPageClient({ machineId }) {
if (typeof window !== "undefined") {
return window.location.origin;
}
return "http://localhost:3000";
return "http://localhost:20128";
};
if (loading) {

View file

@ -20,7 +20,7 @@ export default function DefaultToolCard({ toolId, tool, isExpanded, onToggle, ba
: (!cloudEnabled ? "sk_9router" : "your-api-key");
// Add /v1 suffix only if not already present (DRY - avoid duplicate)
const normalizedBaseUrl = baseUrl || "http://localhost:3000";
const normalizedBaseUrl = baseUrl || "http://localhost:20128";
const baseUrlWithV1 = normalizedBaseUrl.endsWith("/v1")
? normalizedBaseUrl
: `${normalizedBaseUrl}/v1`;

View file

@ -163,7 +163,7 @@ async function handleDisable(machineId, request) {
}
// Update Claude CLI settings to use local endpoint
const host = request.headers.get("host") || "localhost:3000";
const host = request.headers.get("host") || "localhost:20128";
await updateClaudeSettingsToLocal(machineId, host);
return NextResponse.json({