diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..3b363c1 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,22 @@ +{ + "name": "Omni Engineer", + "image": "mcr.microsoft.com/devcontainers/python:1-3.11-bullseye", + "features": { + "ghcr.io/devcontainers/features/git:1": {} + }, + "postCreateCommand": "python -m pip install --upgrade pip && pip install -r requirements.txt && cp -n .env.example .env || true", + "customizations": { + "vscode": { + "extensions": [ + "ms-python.python", + "ms-python.vscode-pylance" + ], + "settings": { + "python.defaultInterpreterPath": "/usr/local/bin/python" + } + } + }, + "remoteEnv": { + "PYTHONUNBUFFERED": "1" + } +} diff --git a/README.md b/README.md index 8ff7a32..1a7be39 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,24 @@ Omni Engineer is a spiritual successor to [Claude Engineer](https://github.com/D ``` 4. Run the main script: ``` - python omni-eng.py + python main.py + ``` + +## Daytona / Dev Container + +This repository includes a `.devcontainer/devcontainer.json` for Daytona and +other Dev Container-compatible tools. The container uses Python 3.11, installs +`requirements.txt`, and copies `.env.example` to `.env` on first creation so you +can add your own `OPENROUTER_API_KEY` without committing secrets. + +To use it with Daytona: + +1. Create a Daytona workspace from this repository. +2. Open a terminal in the workspace. +3. Add your OpenRouter key to `.env`. +4. Run Omni Engineer with: + ``` + python main.py ``` ## 📚 Usage