diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..e7d5451 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,38 @@ +{ + "$schema": "https://containers.dev/implementors/json_schema/", + "image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04", + "remoteUser": "vscode", + "runArgs": [], + "features": { + "ghcr.io/devcontainers/features/node:1": {}, + "ghcr.io/devcontainers/features/python:1": {}, + "ghcr.io/jsburckhardt/devcontainer-features/uv:1": {}, + "ghcr.io/jsburckhardt/devcontainer-features/ruff:1": {} + }, + "mounts": [ + "source=${localEnv:HOME}/.pi/agent/models.json,target=/home/vscode/.pi/agent/models.json,type=bind,consistency=cached", + "source=${localEnv:HOME}/.pi/agent/sessions,target=/home/vscode/.pi/agent/sessions,type=bind,consistency=cached", + "source=${localEnv:HOME}/.pi/agent/tools,target=/home/vscode/.pi/agent/tools,type=bind,consistency=cached", + "source=${localEnv:HOME}/.pi/agent/bin,target=/home/vscode/.pi/agent/bin,type=bind,consistency=cached" + ], + "postCreateCommand": { + "pi-agent": "bash -ic 'npm install -g @mariozechner/pi-coding-agent && pi install npm:pi-subagents'" + }, + + "customizations": { + "jetbrains": { + "settings": { + "com.intellij:app:HttpConfigurable.use_proxy_pac": true + } + }, + "vscode": { + "settings": { + "terminal.integrated.defaultProfile.linux": "bash" + }, + "extensions": [ + "ms-python.python", + "ms-toolsai.jupyter" + ] + } + } +}