Spaces:
Running

sameerkatte Claude Opus 4.6 (1M context) commited on
Commit
8d618ab
·
1 Parent(s): ee2d45e

Pass openenv validate: add multi-mode deployment + runtime endpoints

Browse files

Local validator (openenv validate .):
- Add pyproject.toml with openenv-core>=0.2.0 dependency
- Add server/app.py with main() entry point
- Add uv.lock for reproducible builds
- Update openenv.yaml to spec_version: 1 format
- Result: [OK] Ready for multi-mode deployment (docker, openenv_serve, uv_run, python_module)

Runtime validator (openenv validate --url):
- Fix /health to return {"status": "healthy"} (was "ok")
- Add /metadata endpoint (name, description, version, tasks)
- Add /schema endpoint (action, observation, state JSON schemas)
- Add /mcp endpoint (minimal JSON-RPC 2.0 shim with tools/list)
- Result: 6/6 criteria pass

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

6 files changed +3290 -24
Files changed (6)
app/main.py+110-5
openenv.yaml+5-19
pyproject.tomlAdded+60
server/__init__.pyAdded
Empty file
server/app.pyAdded+29
uv.lockAdded
The diff for this file is too large to render. See raw diff