Skip to content

Commit 5d10c46

Browse files
CopilotDarktex
andauthored
Merge main and rename MCP types to mcp_types.py (#231)
* Initial plan * Merge main into branch and resolve conflicts, rename types.py MCP types to mcp_types.py Co-authored-by: Darktex <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Darktex <[email protected]>
1 parent 40dcea2 commit 5d10c46

29 files changed

+2473
-73
lines changed

.github/workflows/docker-build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ jobs:
8585
dockerfile: src/envs/textarena_env/server/Dockerfile
8686
- name: browsergym-env
8787
dockerfile: src/envs/browsergym_env/server/Dockerfile
88+
- name: snake-env
89+
dockerfile: src/envs/snake_env/server/Dockerfile
8890

8991
steps:
9092
- name: Checkout code
@@ -109,7 +111,7 @@ jobs:
109111
type=raw,value=latest,enable={{is_default_branch}}
110112
type=sha
111113
112-
- name: Build and push environment image
114+
- name: Build and push ${{ matrix.image.name }}
113115
uses: docker/build-push-action@v5
114116
with:
115117
context: .

.github/workflows/publish-pypi-core.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ jobs:
3535
3636
- name: Build package
3737
run: |
38-
cd src/core
38+
cd src
3939
python -m build
4040
4141
- name: Check package
4242
run: |
43-
cd src/core
43+
cd src
4444
twine check dist/*
4545
4646
- name: List package contents
4747
run: |
48-
cd src/core
48+
cd src
4949
tar -tzf dist/*.tar.gz | head -20
5050
5151
- name: Publish to Test PyPI
@@ -54,7 +54,7 @@ jobs:
5454
TWINE_USERNAME: __token__
5555
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
5656
run: |
57-
cd src/core
57+
cd src
5858
twine upload --repository testpypi dist/*
5959
6060
- name: Publish to PyPI
@@ -63,5 +63,5 @@ jobs:
6363
TWINE_USERNAME: __token__
6464
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
6565
run: |
66-
cd src/core
66+
cd src
6767
twine upload dist/*

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ Executes arbitrary Python code in a sandboxed environment. Features:
287287

288288
See: [`src/envs/coding_env/README.md`](src/envs/coding_env/README.md)
289289

290-
## Community Support & Acknowledgments
290+
## Community Support & Acknowledgments
291291
This is an open and community-centric project. If you would like to add your name here, please put up a pull request and tag @jspisak for review. Ty!!
292292

293293
Supporters include: Meta-PyTorch, Hugging Face, [Patronus AI](https://patronus.ai), [Surge AI](https://surgehq.ai), [LastMile AI](https://www.lastmileai.dev), Unsloth AI, Reflection AI, vLLM, SkyRL (UC-Berkeley), LightningAI, Axolotl AI, Stanford Scaling Intelligence Lab, Mithril, [OpenMined](https://openmined.org/), [Fleet AI](https://fleetai.com), [Halluminate](https://halluminate.ai/) ..

docs/environments.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,25 @@ The OpenEnv community has built a catalog of ready-to-run environments that cove
181181
</div>
182182
</div>
183183

184+
<div class="environment-card">
185+
<div class="environment-card__body">
186+
<span class="environment-card__tag">Snake</span>
187+
<p class="environment-card__description">
188+
Classic snake game environment for RL research with configurable grids, partial observability, and customizable rewards.
189+
</p>
190+
</div>
191+
<div class="environment-card__links">
192+
<a class="environment-card__icon" href="/OpenEnv/environments/snake/" aria-label="Snake docs">
193+
<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false">
194+
<path d="M6 3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V9l-6-6H6zm8 1.5L18.5 9H14V4.5z" fill="currentColor"/>
195+
</svg>
196+
</a>
197+
<a class="environment-card__icon environment-card__icon--hf" href="https://huggingface.co/spaces/Crashbandicoote2/snake_env" target="_blank" rel="noreferrer noopener" aria-label="Snake on Hugging Face">
198+
<img src="https://huggingface.co/front/assets/huggingface_logo-noborder.svg" alt="" aria-hidden="true" />
199+
</a>
200+
</div>
201+
</div>
202+
184203
</div>
185204

186205
> Want to publish your own environment? Head over to the [Build Your Own Environment](environment-builder.md) guide for a step-by-step walkthrough.

docs/environments/snake.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
--8<-- "../../src/envs/snake_env/README.md"
2+

0 commit comments

Comments
 (0)