refactor(platform): rename claude_bottle/bottles -> claude_bottle/platform
test / run tests/run_tests.py (pull_request) Successful in 13s
test / run tests/run_tests.py (pull_request) Successful in 13s
'bottles' was the package name when it held a single Bottle Protocol; since we added BottlePlatform / BottlePlan / BottleCleanupPlan and made it the home of platform dispatch, 'platform' describes the package better. The 'bottle' concept (and the manifest field) stays. CLI imports update from ..bottles to ..platform; internal relative imports inside the package survive the rename unchanged. Git detected all 7 file renames.
This commit is contained in:
@@ -5,7 +5,7 @@ from __future__ import annotations
|
||||
|
||||
import sys
|
||||
|
||||
from ..bottles import get_bottle_platform
|
||||
from ..platform import get_bottle_platform
|
||||
from ..log import info
|
||||
from ._common import read_tty_line
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
|
||||
from ..bottles import get_bottle_platform
|
||||
from ..platform import get_bottle_platform
|
||||
from ..manifest import Manifest
|
||||
from ._common import PROG, USER_CWD
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ import sys
|
||||
import tempfile
|
||||
from pathlib import Path
|
||||
|
||||
from ..bottles import BottleSpec, get_bottle_platform
|
||||
from ..platform import BottleSpec, get_bottle_platform
|
||||
from ..log import info
|
||||
from ..manifest import Manifest
|
||||
from ._common import PROG, USER_CWD, read_tty_line
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ The bulk of the implementation lives in sibling modules:
|
||||
- platform: DockerBottlePlatform
|
||||
|
||||
This file only re-exports the public names so
|
||||
`from claude_bottle.bottles.docker import DockerBottlePlatform` keeps
|
||||
`from claude_bottle.platform.docker import DockerBottlePlatform` keeps
|
||||
working.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user