From aff4d70b71a7d8c503168a2f29b118518be975c5 Mon Sep 17 00:00:00 2001 From: yeuimu <2197651308@qq.com> Date: Fri, 7 Aug 2026 18:44:54 +0000 Subject: [PATCH] chore(cli): rebuild dist for search[] tuple fix --- dist/lib/client.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dist/lib/client.js b/dist/lib/client.js index 01af9b4..5b42378 100644 --- a/dist/lib/client.js +++ b/dist/lib/client.js @@ -98,6 +98,11 @@ class Client { else if (typeof v === 'object') { out[k] = JSON.stringify(v); } + else if (k === 'search' && typeof v === 'string') { + // The records list API expects `search[]=value` (tuple), not a plain + // `search=value` string. https://github.com/colinhacks/zod + out['search[]'] = v; + } else { out[k] = String(v); }