From a0bc2653e86c54a7367e8ae557db286dd4e16bf0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 8 Feb 2026 19:08:27 +0100 Subject: [PATCH] refactor: add opencode cache mounts to devcontainer.json MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- ReforceXY/.devcontainer/devcontainer.json | 4 +++- quickadapter/.devcontainer/devcontainer.json | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ReforceXY/.devcontainer/devcontainer.json b/ReforceXY/.devcontainer/devcontainer.json index a7b0afb..01992e5 100644 --- a/ReforceXY/.devcontainer/devcontainer.json +++ b/ReforceXY/.devcontainer/devcontainer.json @@ -13,7 +13,9 @@ "source=${localEnv:HOME}/.config/opencode,target=/home/ftuser/.config/opencode,type=bind,consistency=cached", "source=${localEnv:HOME}/.config/gh,target=/home/ftuser/.config/gh,type=bind,consistency=cached", "source=${localEnv:HOME}/.local/share/opencode,target=/home/ftuser/.local/share/opencode,type=bind,consistency=cached", - "source=${localEnv:HOME}/.local/state/opencode,target=/home/ftuser/.local/state/opencode,type=bind,consistency=cached" + "source=${localEnv:HOME}/.local/state/opencode,target=/home/ftuser/.local/state/opencode,type=bind,consistency=cached", + "source=${localEnv:HOME}/.cache/opencode,target=/home/ftuser/.cache/opencode,type=bind,consistency=cached", + "source=${localEnv:HOME}/.cache/oh-my-opencode,target=/home/ftuser/.cache/oh-my-opencode,type=bind,consistency=cached" ], "features": { "ghcr.io/devcontainers/features/nix:1": { diff --git a/quickadapter/.devcontainer/devcontainer.json b/quickadapter/.devcontainer/devcontainer.json index cf234f8..1a41daa 100644 --- a/quickadapter/.devcontainer/devcontainer.json +++ b/quickadapter/.devcontainer/devcontainer.json @@ -13,7 +13,9 @@ "source=${localEnv:HOME}/.config/opencode,target=/home/ftuser/.config/opencode,type=bind,consistency=cached", "source=${localEnv:HOME}/.config/gh,target=/home/ftuser/.config/gh,type=bind,consistency=cached", "source=${localEnv:HOME}/.local/share/opencode,target=/home/ftuser/.local/share/opencode,type=bind,consistency=cached", - "source=${localEnv:HOME}/.local/state/opencode,target=/home/ftuser/.local/state/opencode,type=bind,consistency=cached" + "source=${localEnv:HOME}/.local/state/opencode,target=/home/ftuser/.local/state/opencode,type=bind,consistency=cached", + "source=${localEnv:HOME}/.cache/opencode,target=/home/ftuser/.cache/opencode,type=bind,consistency=cached", + "source=${localEnv:HOME}/.cache/oh-my-opencode,target=/home/ftuser/.cache/oh-my-opencode,type=bind,consistency=cached" ], "features": { "ghcr.io/devcontainers/features/nix:1": { -- 2.43.0