refactor(bottles): rename DockerBottleSpec to BottleSpec
test / run tests/run_tests.py (pull_request) Successful in 13s

The spec is intent-only and platform-agnostic — only the plan carries
Docker-specific fields. Drop the 'Docker' prefix and re-export from
claude_bottle.bottles so callers see it as cross-platform.
This commit is contained in:
2026-05-10 22:40:19 -04:00
parent 4f16b3a9e1
commit 236c4fa50c
3 changed files with 13 additions and 10 deletions
+3 -1
View File
@@ -25,7 +25,9 @@ from dataclasses import dataclass
from typing import Callable, Protocol
from ..log import die
from .docker import launch_docker_bottle, prepare_docker_bottle
from .docker import BottleSpec, launch_docker_bottle, prepare_docker_bottle
__all__ = ["Bottle", "BottlePlatform", "BottleSpec", "get_bottle_platform"]
class Bottle(Protocol):