fix(agent): hide auth placeholder env in preflight
test / unit (pull_request) Successful in 31s
test / integration (pull_request) Successful in 55s

This commit is contained in:
2026-05-28 19:00:39 -04:00
parent 43cd83d77b
commit 9399626ba6
4 changed files with 58 additions and 4 deletions
@@ -19,7 +19,7 @@ from ...log import info
from ...pipelock import PipelockProxyPlan
from ...supervise import SupervisePlan
from .. import BottlePlan
from ..print_util import print_multi
from ..print_util import print_multi, visible_agent_env_names
@dataclass(frozen=True)
@@ -107,7 +107,10 @@ class SmolmachinesBottlePlan(BottlePlan):
agent = manifest.agents[spec.agent_name]
bottle = manifest.bottle_for(spec.agent_name)
env_names = sorted(bottle.env.keys())
env_names = visible_agent_env_names(
sorted(bottle.env.keys()),
agent_provider_template=self.agent_provider_template,
)
upstreams = [
f"{g.Name}{g.Upstream}" for g in bottle.git
]