mirror of
https://github.com/usestrix/strix.git
synced 2026-09-06 08:15:56 +00:00
refactor: rename `strix_docker_client.py → docker_client.py`
The ``strix`` prefix on a file inside ``strix/runtime/`` was pure redundancy. Class name ``StrixDockerSandboxClient`` keeps the prefix since it disambiguates from the upstream SDK class it subclasses.
This commit is contained in:
parent
1424d62cb9
commit
f3c2252160
4 changed files with 3 additions and 3 deletions
|
|
@ -204,7 +204,7 @@ ignore = [
|
|||
"TC003", # collections.abc.AsyncIterator imported for return type
|
||||
]
|
||||
# Custom Docker subclass duplicates parent body; some imports are for annotations.
|
||||
"strix/runtime/strix_docker_client.py" = [
|
||||
"strix/runtime/docker_client.py" = [
|
||||
"TC002", # Manifest, Container imported for annotations
|
||||
"TC003", # uuid imported for annotation
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
"""Strix runtime — Docker-backed sandbox lifecycle on top of the Agents SDK.
|
||||
|
||||
- :class:`strix.runtime.strix_docker_client.StrixDockerSandboxClient` —
|
||||
- :class:`strix.runtime.docker_client.StrixDockerSandboxClient` —
|
||||
``DockerSandboxClient`` subclass that injects ``NET_ADMIN`` /
|
||||
``NET_RAW`` capabilities and ``host.docker.internal`` extra-hosts.
|
||||
- :mod:`.session_manager` — ``create_or_reuse`` / ``cleanup`` keyed
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ from agents.sandbox.manifest import Environment, Manifest
|
|||
from agents.sandbox.sandboxes.docker import DockerSandboxClientOptions
|
||||
|
||||
from strix.runtime.caido_bootstrap import bootstrap_caido
|
||||
from strix.runtime.strix_docker_client import StrixDockerSandboxClient
|
||||
from strix.runtime.docker_client import StrixDockerSandboxClient
|
||||
|
||||
|
||||
if TYPE_CHECKING:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue