diff --git a/hooks/auto_sync.sh b/hooks/auto_sync.sh new file mode 100755 index 0000000..6fc3831 --- /dev/null +++ b/hooks/auto_sync.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# Automatically sync notifications at the end of the agent's turn +cd /home/cameron/void +./void-cli sync > /dev/null 2>&1 +exit 0 diff --git a/void-cli b/void-cli new file mode 100755 index 0000000..f4a5d55 --- /dev/null +++ b/void-cli @@ -0,0 +1,8 @@ +#!/bin/bash +# Direct entrypoint for Void CLI tools +# This script ensures we use the correct virtual environment and overrides ambient variables. + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" +cd "$DIR" + +exec ./.venv/bin/python -m void_tools.cli "$@"