fix(macos-container): support git-gate launch
lint / lint (push) Successful in 1m56s
test / unit (pull_request) Successful in 41s
test / integration (pull_request) Successful in 22s

This commit is contained in:
2026-06-10 21:53:22 -04:00
parent 5498f20547
commit 0e823d2aff
6 changed files with 280 additions and 24 deletions
@@ -44,3 +44,15 @@ class MacosContainerBottlePlan(BottlePlan):
@property
def agent_provider_template(self) -> str:
return self.agent_provision.template
@property
def git_gate_insteadof_host(self) -> str:
if self.agent_git_gate_url.startswith("http://"):
return self.agent_git_gate_url.removeprefix("http://").rstrip("/")
return super().git_gate_insteadof_host
@property
def git_gate_insteadof_scheme(self) -> str:
if self.agent_git_gate_url.startswith("http://"):
return "http"
return super().git_gate_insteadof_scheme