fix runner GitHub egress proxy defaults

This commit is contained in:
AgentRun Codex
2026-06-12 05:08:44 +08:00
parent 216c2edf9c
commit 418b4df4de
4 changed files with 6 additions and 13 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ const defaultConnectTimeoutSeconds = Number(process.env.AGENTRUN_GIT_CONNECT_TIM
const defaultLowSpeedLimit = Number(process.env.GIT_HTTP_LOW_SPEED_LIMIT || 1_024);
const defaultLowSpeedTime = Number(process.env.GIT_HTTP_LOW_SPEED_TIME || 15);
const defaultHttpVersion = process.env.AGENTRUN_GIT_HTTP_VERSION || process.env.GIT_HTTP_VERSION || "HTTP/1.1";
const defaultDirectHosts = ["github.com", "api.github.com", "codeload.github.com", "objects.githubusercontent.com", "raw.githubusercontent.com", "registry.npmjs.org", "registry.npmmirror.com"];
const defaultDirectHosts = ["registry.npmjs.org", "registry.npmmirror.com"];
function help() {
return {