Add devcontainer with pi-subagents
This commit is contained in:
parent
6887ae4087
commit
ddc0133830
38
.devcontainer/devcontainer.json
Normal file
38
.devcontainer/devcontainer.json
Normal file
@ -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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user