@nathan33/nao-skill 0.21.0 → 0.21.1
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.
|
@@ -1654,10 +1654,10 @@ cmd_status() {
|
|
|
1654
1654
|
while IFS= read -r rl; do [[ -n "$rl" ]] && roots_blob+="$rl"$'\n'; done < <(repo_anchor_roots)
|
|
1655
1655
|
local -A pane_cwds=() roster_cwds=()
|
|
1656
1656
|
local pn pname pcwd rn rcwd prev
|
|
1657
|
-
#
|
|
1658
|
-
#
|
|
1659
|
-
#
|
|
1660
|
-
while IFS=$'\t' read -r pn
|
|
1657
|
+
# M20261101:pane_cwd_snapshot 字段序 = `会话名<TAB>pane_id<TAB>cwd` ⇒ 必须按**会话名**建键
|
|
1658
|
+
# (与下面 pane_cwds["$dname"] 的查询口径一致)。此前误读成 `pane_id<TAB>…`,键成了 pane_id
|
|
1659
|
+
# ⇒ 查询恒空、「pane cwd 优先」层从未生效。同名多 pane(分屏)仍拼接多行后再判定(BR5)。
|
|
1660
|
+
while IFS=$'\t' read -r pname pn pcwd; do
|
|
1661
1661
|
[[ -n "$pname" ]] || continue
|
|
1662
1662
|
prev="${pane_cwds[$pname]:-}"
|
|
1663
1663
|
pane_cwds["$pname"]="$prev$pcwd"$'\n'
|