@kokorolx/ai-sandbox-wrapper 3.0.7 → 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 +3 -6
- package/package.json +1 -1
package/bin/ai-run
CHANGED
|
@@ -783,15 +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 mount:
|
|
787
|
-
# Parent :ro protects index/sqlite/config from container writes
|
|
788
|
-
# Sub-mount :rw on logs/ allows CLI logging (appendFileSync in logger.ts)
|
|
789
|
-
# Sub-mount :rw on memory/ allows CLI write command (npx nano-brain write)
|
|
786
|
+
# Nano-brain mount: writable so container can modify config, write memory, logs, etc.
|
|
790
787
|
NANO_BRAIN_MOUNT=""
|
|
791
788
|
if [[ -d "$HOME/.nano-brain" ]]; then
|
|
792
789
|
mkdir -p "$HOME/.nano-brain/logs" "$HOME/.nano-brain/memory"
|
|
793
|
-
NANO_BRAIN_MOUNT="-v $HOME/.nano-brain:/home/agent/.nano-brain:
|
|
794
|
-
echo "ℹ️ Mounted .nano-brain (
|
|
790
|
+
NANO_BRAIN_MOUNT="-v $HOME/.nano-brain:/home/agent/.nano-brain:delegated"
|
|
791
|
+
echo "ℹ️ Mounted .nano-brain (rw)"
|
|
795
792
|
fi
|
|
796
793
|
|
|
797
794
|
|
package/package.json
CHANGED