@humanu/orchestra 0.5.40 → 0.5.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -189,7 +189,8 @@ json_array_from_lines() {
|
|
|
189
189
|
local input="$1"
|
|
190
190
|
case "$BRIDGE_JSON_BACKEND" in
|
|
191
191
|
jq)
|
|
192
|
-
|
|
192
|
+
# More robust handling: split and filter out empty lines, then convert to JSON array
|
|
193
|
+
printf '%s' "$input" | jq -R -s 'split("\n") | map(select(length > 0))'
|
|
193
194
|
;;
|
|
194
195
|
python)
|
|
195
196
|
printf '%s' "$input" | python3 <<'PY'
|