feat: Update 7 files
All checks were successful
Build-Test-Publish / build (linux/amd64) (push) Successful in 35s
Build-Test-Publish / build (linux/arm64) (push) Successful in 3m15s

This commit is contained in:
j
2026-01-02 22:27:40 +13:00
parent 767692160d
commit ae5a6fabe9
7 changed files with 95 additions and 2 deletions

View File

@@ -21,6 +21,13 @@ chmod +x "${TEMP_DIR}/dehydrate"
# Ensure autogen directory exists
mkdir -p "${SCRIPT_DIR}/src/autogen"
# Generate agent hash BEFORE dehydration
# Hash all files in agent-remote (excluding agent.hash itself) to create a content fingerprint
echo "Generating agent hash..."
AGENT_HASH=$(find "${SCRIPT_DIR}/agent-remote" -type f ! -name 'agent.hash' -exec sha256sum {} \; | sort | sha256sum | cut -d' ' -f1)
echo "${AGENT_HASH}" > "${SCRIPT_DIR}/agent-remote/agent.hash"
echo "Agent hash: ${AGENT_HASH}"
# Run dehydrate from temp location
echo "Running dehydrate from temporary location"
"${TEMP_DIR}/dehydrate" "${SCRIPT_DIR}/agent-remote" "${SCRIPT_DIR}/src/autogen"