fix: remove dead proxy variables from isolation environment prefix
This commit is contained in:
@@ -1259,8 +1259,7 @@ isolation_env_prefix() {
|
|||||||
local agent="$1" root="$2"
|
local agent="$1" root="$2"
|
||||||
case "$agent" in
|
case "$agent" in
|
||||||
claude) printf 'CLAUDE_CONFIG_DIR=%q ' "$root" ;;
|
claude) printf 'CLAUDE_CONFIG_DIR=%q ' "$root" ;;
|
||||||
agy) printf 'HOME=%q https_proxy=http://127.0.0.1:9999 no_proxy=googleapis.com ' "$root" ;;
|
agy|hermes) printf 'HOME=%q ' "$root" ;;
|
||||||
hermes) printf 'HOME=%q ' "$root" ;;
|
|
||||||
*) : ;;
|
*) : ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ def test_create_isolation_env_prefix(mam_sandbox):
|
|||||||
|
|
||||||
res2 = run_lib_func(mam_sandbox, "isolation_env_prefix", "agy", "/tmp/iso")
|
res2 = run_lib_func(mam_sandbox, "isolation_env_prefix", "agy", "/tmp/iso")
|
||||||
assert res2.returncode == 0
|
assert res2.returncode == 0
|
||||||
assert res2.stdout == "HOME=/tmp/iso https_proxy=http://127.0.0.1:9999 no_proxy=googleapis.com "
|
assert res2.stdout == "HOME=/tmp/iso "
|
||||||
|
|
||||||
res3 = run_lib_func(mam_sandbox, "isolation_env_prefix", "cline", "/tmp/iso")
|
res3 = run_lib_func(mam_sandbox, "isolation_env_prefix", "cline", "/tmp/iso")
|
||||||
assert res3.returncode == 0
|
assert res3.returncode == 0
|
||||||
|
|||||||
Reference in New Issue
Block a user