공개: alpha.5 기준선 갱신

This commit is contained in:
Ian 2026-04-16 12:04:40 +09:00
commit 00da320d96
62 changed files with 883 additions and 175 deletions

View file

@ -149,12 +149,8 @@ PY
capture_window() {
local window_id="$1"
local target_path="$2"
local root_capture="${target_path%.*}-root.${target_path##*.}"
local geometry
read -r crop_x crop_y crop_w crop_h < <(wait_for_geometry "$window_id")
import -window root "$root_capture"
convert "$root_capture" -crop "${crop_w}x${crop_h}+${crop_x}+${crop_y}" +repage "$target_path"
rm -f "$root_capture"
wait_for_geometry "$window_id" >/dev/null
import -window "$window_id" "$target_path"
}
create_conversation_fallback() {