From b7b78ea0754360efe56cf3f3255f90efda737a91 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Tue, 5 Aug 2025 20:47:29 -0600 Subject: [PATCH] feat: add opencode state/cache to persistent_config (#27) --- cubbi/images/opencode/cubbi_image.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cubbi/images/opencode/cubbi_image.yaml b/cubbi/images/opencode/cubbi_image.yaml index d8ea0e4..4aac621 100644 --- a/cubbi/images/opencode/cubbi_image.yaml +++ b/cubbi/images/opencode/cubbi_image.yaml @@ -18,3 +18,11 @@ persistent_configs: target: "/cubbi-config/config-opencode" type: "directory" description: "Opencode configuration" + - source: "/home/cubbi/.local/state/opencode" + target: "/cubbi-config/state-opencode" + type: "directory" + description: "Opencode state" + - source: "/home/cubbi/.cache/opencode" + target: "/cubbi-config/cache-opencode" + type: "directory" + description: "Opencode cache"