feat: use label as container slug prefix when provided
When a user names a bottle via the TUI label field, that name is now used as the slug prefix for the container identity instead of always falling back to the agent name.
This commit is contained in:
@@ -34,7 +34,8 @@ from . import BottleSpec
|
||||
def mint_slug(spec: BottleSpec) -> str:
|
||||
"""Return the bottle identity: the recorded identity for a resume,
|
||||
or a freshly minted one for a new start."""
|
||||
return spec.identity or bottle_identity(spec.agent_name)
|
||||
name = spec.label or spec.agent_name
|
||||
return spec.identity or bottle_identity(name)
|
||||
|
||||
|
||||
def write_launch_metadata(
|
||||
|
||||
Reference in New Issue
Block a user