refactor: move bottle_state.py to top-level bot_bottle package

Both docker and smolmachines backends use bottle state helpers.
Moving to bot_bottle/ makes the sharing explicit and removes the
cross-backend dependency (smolmachines importing from ..docker).

All callers updated: docker backend, smolmachines backend, cli
modules, and tests.
This commit is contained in:
2026-06-08 14:38:24 +00:00
committed by didericis
parent fe8e15d211
commit af82f2ba20
20 changed files with 25 additions and 23 deletions
@@ -17,7 +17,7 @@ from pathlib import Path
from ...agent_provider import PROVIDER_TEMPLATES, agent_provision_plan, get_provider
from ...backend import BottleSpec
from ...backend.docker.bottle_state import (
from ...bottle_state import (
BottleMetadata,
agent_state_dir,
bottle_identity,