From 1d2aad417d1e39b7d35e6288dee124bcc84a2d3d Mon Sep 17 00:00:00 2001 From: SmallThing Date: Sat, 2 May 2026 14:05:59 +0200 Subject: [PATCH] fix(dgclaw.sh): detect provider memo in entries field (acp-cli v2 format) The acp-cli now returns job history under .entries instead of .memoHistory. Without this fix, fund_acp_job never detects the provider's trigger memo and times out at attempt 40/40. Fallback added; backward compatible. --- scripts/dgclaw.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dgclaw.sh b/scripts/dgclaw.sh index 953681a..fbaa00e 100755 --- a/scripts/dgclaw.sh +++ b/scripts/dgclaw.sh @@ -79,7 +79,7 @@ fund_acp_job() { local trigger_found trigger_found=$(echo "$status_response" | jq --arg t "$trigger" ' (if type == "array" then .[0] else . end) - | .memoHistory // [] + | (.memoHistory // .entries // []) | [.. | strings | select(contains($t))] | length > 0' 2>/dev/null || echo "false")