@kokorolx/ai-sandbox-wrapper 3.0.6 → 3.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/ai-run +4 -4
- package/package.json +1 -1
package/bin/ai-run
CHANGED
|
@@ -783,12 +783,12 @@ if [[ -d "$HOST_SKILLS_DIR" ]]; then
|
|
|
783
783
|
SHARED_CACHE_MOUNTS="$SHARED_CACHE_MOUNTS -v $HOST_SKILLS_DIR:/home/agent/.config/opencode/skills:ro"
|
|
784
784
|
fi
|
|
785
785
|
|
|
786
|
-
# Nano-brain
|
|
787
|
-
# Exposes logs/index/sqlite files to container while preventing writes
|
|
786
|
+
# Nano-brain mount: writable so container can modify config, write memory, logs, etc.
|
|
788
787
|
NANO_BRAIN_MOUNT=""
|
|
789
788
|
if [[ -d "$HOME/.nano-brain" ]]; then
|
|
790
|
-
|
|
791
|
-
|
|
789
|
+
mkdir -p "$HOME/.nano-brain/logs" "$HOME/.nano-brain/memory"
|
|
790
|
+
NANO_BRAIN_MOUNT="-v $HOME/.nano-brain:/home/agent/.nano-brain:delegated"
|
|
791
|
+
echo "ℹ️ Mounted .nano-brain (rw)"
|
|
792
792
|
fi
|
|
793
793
|
|
|
794
794
|
|
package/package.json
CHANGED