Commit Graph

3 Commits

Author SHA1 Message Date
Otto-AGPT
698dc45146 fix: More defensive tool installation with fallbacks
- Source nvm.sh to get node/pnpm in PATH
- Add fallback pip install for poetry if pipx missing
- Add fallback npm install for pnpm if not found
- Better error messages if tools fail to install
- Check Docker availability before pulling images
2026-02-11 17:27:18 +00:00
Otto-AGPT
214ab25b3c fix: Install poetry via pipx (Python feature provides pipx, not poetry)
The Python devcontainer feature installs pipx but not poetry by default.
Updated to:
1. Add poetry to toolsToInstall in devcontainer.json
2. Use pipx to install poetry in oncreate.sh
3. Ensure PATH includes /usr/local/py-utils/bin where pipx installs tools
2026-02-11 17:26:35 +00:00
Otto-AGPT
4daa25e3dc fix: Move devcontainer to repo root for Codespaces detection
GitHub Codespaces only looks for devcontainer.json in:
- .devcontainer/devcontainer.json
- .devcontainer/<subfolder>/devcontainer.json
- .devcontainer.json

It does NOT look inside project subfolders like autogpt_platform/.devcontainer/

Moved to .devcontainer/platform/ which:
1. Will be detected by Codespaces
2. Allows multiple configs (platform vs classic)
3. Updated all path references accordingly
2026-02-11 16:51:03 +00:00