Skip to content

Commit 3e32124

Browse files
committed
fix(os): wire bundled skills path in live runtime
1 parent 5699486 commit 3e32124

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

  • packages/os/linux/variants/milady-tails

packages/os/linux/variants/milady-tails/scripts/static-smoke.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,10 @@ grep -q 'ELIZAOS_CLOSE_MINIMIZES_TO_TRAY.*:-1' \
554554
tails/config/chroot_local-includes/usr/local/bin/milady
555555
grep -q 'ELIZAOS_CEF_PROFILE_COMPAT.*:-1' \
556556
tails/config/chroot_local-includes/usr/local/bin/milady
557+
grep -q 'ELIZAOS_BUNDLED_SKILLS_DIR' \
558+
tails/config/chroot_local-includes/usr/local/bin/milady
559+
grep -q '@elizaos/skills/skills' \
560+
tails/config/chroot_local-includes/usr/local/bin/milady
557561
grep -q 'normalize_tcp_port' \
558562
tails/config/chroot_local-includes/usr/local/bin/milady
559563
grep -q 'normalize_loopback_bind' \

packages/os/linux/variants/milady-tails/tails/config/chroot_local-includes/usr/local/bin/milady

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ export ELIZAOS_LIVE_EMBEDDING_FALLBACK="${ELIZAOS_LIVE_EMBEDDING_FALLBACK:-1}"
8282
export ELIZA_DISABLE_PROACTIVE_AGENT="${ELIZA_DISABLE_PROACTIVE_AGENT:-1}"
8383
export ELIZAOS_CLOSE_MINIMIZES_TO_TRAY="${ELIZAOS_CLOSE_MINIMIZES_TO_TRAY:-1}"
8484
export ELIZAOS_CEF_PROFILE_COMPAT="${ELIZAOS_CEF_PROFILE_COMPAT:-1}"
85+
if [ -z "${ELIZAOS_BUNDLED_SKILLS_DIR:-}" ]; then
86+
bundled_skills_dir="${ELIZAOS_RUNTIME_ROOT}/Resources/app/eliza-dist/node_modules/@elizaos/skills/skills"
87+
if [ -d "${bundled_skills_dir}" ]; then
88+
export ELIZAOS_BUNDLED_SKILLS_DIR="${bundled_skills_dir}"
89+
export BUNDLED_SKILLS_DIRS="${BUNDLED_SKILLS_DIRS:-${bundled_skills_dir}}"
90+
fi
91+
fi
8592
ELIZA_API_PORT="$(normalize_tcp_port "${ELIZA_API_PORT:-31337}" 31337)"
8693
export ELIZA_API_PORT
8794
ELIZA_PORT="$(normalize_tcp_port "${ELIZA_PORT:-${ELIZA_API_PORT}}" "${ELIZA_API_PORT}")"

0 commit comments

Comments
 (0)