Skip to content

Commit 719de6f

Browse files
authored
Merge pull request #8 from facebookexternal/env_code
basic skeleton for creating a client from docker image'd server
2 parents 995487b + 895df99 commit 719de6f

File tree

11 files changed

+274
-431
lines changed

11 files changed

+274
-431
lines changed

src/__init__.py

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -5,41 +5,3 @@
55
# LICENSE file in the root directory of this source tree.
66

77
"""EnvTorch: Standardized agentic execution environments."""
8-
9-
# Core interfaces and types
10-
from .core.env import (
11-
Environment, Transform, Tool, ToolRegistry,
12-
Action, CodeAction, Observation, CodeObservation,
13-
State, CodeState, ExecutionResult,
14-
CompositeTransform, NullTransform,
15-
CodeExecutionEnvironment
16-
)
17-
18-
# Docker execution
19-
from .core.docker import DockerExecutor
20-
21-
# Environment implementations
22-
from .envs import CodingEnv
23-
24-
__version__ = "0.1.0"
25-
26-
__all__ = [
27-
# Core interfaces
28-
"Environment", "Transform", "Tool", "ToolRegistry",
29-
30-
# Types
31-
"Action", "CodeAction", "Observation", "CodeObservation",
32-
"State", "CodeState", "ExecutionResult",
33-
34-
# Base transforms
35-
"CompositeTransform", "NullTransform",
36-
37-
# Base environment implementation
38-
"CodeExecutionEnvironment",
39-
40-
# Execution engines
41-
"DockerExecutor",
42-
43-
# Concrete environment implementations
44-
"CodingEnv",
45-
]

src/core/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88

99
# Re-export main components from submodules for convenience
1010
from .env_server import *
11-
from .docker import *
11+
from .http_env_client import HTTPEnvClient
12+
from .types import StepResult
1213

1314
# Note: MCP module doesn't export anything yet
15+
16+
__all__ = [
17+
"HTTPEnvClient",
18+
"StepResult",
19+
]

src/core/base.py

Lines changed: 0 additions & 49 deletions
This file was deleted.

src/core/base_env_client.py

Lines changed: 0 additions & 82 deletions
This file was deleted.

src/core/docker/__init__.py

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)