updates source code (docker) (1 file)

This commit is contained in:
-Puter
2026-06-01 23:03:20 +05:30
parent 86ec1fa603
commit 068b57c553

View File

@@ -15,6 +15,20 @@ ln -sfn "$GROWQR_HOME/prompts" /root/.config/opencode/prompts
ln -sfn "$GROWQR_HOME/agents" /root/.local/share/opencode/agents
ln -sfn "$GROWQR_HOME/prompts" /root/.local/share/opencode/prompts
# OpenCode runs with /workspace as the project root. GrowQR prompt packs live in
# /opt/growqr, so allow read/glob/grep access there without interactive approval;
# otherwise backend API calls can hang waiting on an approval prompt.
cat > /root/.config/opencode/opencode.jsonc <<EOF
{
"\$schema": "https://opencode.ai/config.json",
"permission": {
"external_directory": {
"$GROWQR_HOME/**": "allow"
}
}
}
EOF
# Seed an empty mounted workspace with the GrowQR Git-backed memory shape. The
# backend later clones the user's central Gitea repo over this workspace when it
# provisions the user stack. This only runs for truly empty workspaces.