diff --git a/design/hide-screens.pen b/design/hide-screens.pen index 2659894a4a..cbdc73e6d2 100644 --- a/design/hide-screens.pen +++ b/design/hide-screens.pen @@ -3361,7 +3361,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#221" + "content": "221" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -3754,7 +3754,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#217" + "content": "217" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -4859,7 +4859,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#874" + "content": "874" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground", @@ -5227,7 +5227,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#1188" + "content": "1188" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground", @@ -6314,7 +6314,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#872" + "content": "872" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground", @@ -6501,7 +6501,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#809" + "content": "809" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground", @@ -6642,7 +6642,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#861" + "content": "861" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground", @@ -6762,7 +6762,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#869" + "content": "869" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground", @@ -6812,42 +6812,203 @@ }, { "type": "frame", - "id": "sfu-panel-l-idle-more", - "name": "Folded rest", + "id": "sfu-panel-l-idle-3", + "name": "코어 호스트 노드 이동 설계 문서", "children": [ { - "type": "icon", - "id": "sfu-panel-l-idle-more-g", - "name": "Glyph", - "enabled": true, - "width": 12, - "height": 12, - "icon": "chevron-right", - "library": "lucide", - "fill": "$--muted-foreground" + "type": "frame", + "id": "sfu-panel-l-idle-3-chev", + "name": "Chevron lane", + "children": [], + "layout": "none", + "width": 16, + "height": 28 }, { - "type": "text", - "id": "sfu-panel-l-idle-more-l", - "name": "그 외 2", - "content": "그 외 2", - "fill": "$--subtle-foreground", - "fontFamily": "$--font-ui", - "fontSize": "$--text-caption", - "fontWeight": "400" + "type": "frame", + "id": "sfu-panel-l-idle-3-body", + "name": "Lines", + "children": [ + { + "type": "frame", + "id": "sfu-panel-l-idle-3-head", + "name": "Line one", + "children": [ + { + "type": "text", + "id": "sfu-panel-l-idle-3-mark", + "name": "○", + "content": "○", + "fill": "$--muted-foreground", + "fontFamily": "$--font-mono", + "fontSize": "$--text-caption", + "fontWeight": "600" + }, + { + "type": "frame", + "id": "sfu-panel-l-idle-3-provider", + "name": "Provider", + "children": [], + "width": 14, + "height": 14, + "fill": { + "type": "image", + "enabled": true, + "url": "../web/src/assets/agent-claude.png", + "mode": "contain" + } + }, + { + "type": "text", + "id": "sfu-panel-l-idle-3-title", + "name": "코어 호스트 노드 이동 설계 문서", + "content": "코어 호스트 노드 이동 설계 문서", + "fill": "$--foreground", + "fontFamily": "$--font-ui", + "fontSize": "$--text-caption", + "fontWeight": "500", + "textGrowth": "fixed-width", + "width": "fill_container" + }, + { + "type": "text", + "id": "sfu-panel-l-idle-3-age", + "name": "1d", + "content": "1d", + "fill": "$--muted-foreground", + "fontFamily": "$--font-mono", + "fontSize": "$--text-caption", + "fontWeight": "400" + } + ], + "width": "fill_container", + "height": 20, + "layout": "horizontal", + "gap": 6, + "alignItems": "center" + } + ], + "width": "fill_container", + "layout": "vertical", + "gap": 2, + "padding": [ + 4, + 0, + 4, + 4 + ] } ], - "width": "fill_container", - "height": 28, + "width": 420, "layout": "horizontal", - "gap": 6, - "alignItems": "center", + "alignItems": "start", "padding": [ 0, - 12, + 8, 0, - 24 - ] + 4 + ], + "cornerRadius": "$--radius-xs" + }, + { + "type": "frame", + "id": "sfu-panel-l-idle-4", + "name": "Memory 기능 PRD 초안", + "children": [ + { + "type": "frame", + "id": "sfu-panel-l-idle-4-chev", + "name": "Chevron lane", + "children": [], + "layout": "none", + "width": 16, + "height": 28 + }, + { + "type": "frame", + "id": "sfu-panel-l-idle-4-body", + "name": "Lines", + "children": [ + { + "type": "frame", + "id": "sfu-panel-l-idle-4-head", + "name": "Line one", + "children": [ + { + "type": "text", + "id": "sfu-panel-l-idle-4-mark", + "name": "○", + "content": "○", + "fill": "$--muted-foreground", + "fontFamily": "$--font-mono", + "fontSize": "$--text-caption", + "fontWeight": "600" + }, + { + "type": "frame", + "id": "sfu-panel-l-idle-4-provider", + "name": "Provider", + "children": [], + "width": 14, + "height": 14, + "fill": { + "type": "image", + "enabled": true, + "url": "../web/src/assets/agent-claude.png", + "mode": "contain" + } + }, + { + "type": "text", + "id": "sfu-panel-l-idle-4-title", + "name": "Memory 기능 PRD 초안", + "content": "Memory 기능 PRD 초안", + "fill": "$--foreground", + "fontFamily": "$--font-ui", + "fontSize": "$--text-caption", + "fontWeight": "500", + "textGrowth": "fixed-width", + "width": "fill_container" + }, + { + "type": "text", + "id": "sfu-panel-l-idle-4-age", + "name": "1d", + "content": "1d", + "fill": "$--muted-foreground", + "fontFamily": "$--font-mono", + "fontSize": "$--text-caption", + "fontWeight": "400" + } + ], + "width": "fill_container", + "height": 20, + "layout": "horizontal", + "gap": 6, + "alignItems": "center" + } + ], + "width": "fill_container", + "layout": "vertical", + "gap": 2, + "padding": [ + 4, + 0, + 4, + 4 + ] + } + ], + "width": 420, + "layout": "horizontal", + "alignItems": "start", + "padding": [ + 0, + 8, + 0, + 4 + ], + "cornerRadius": "$--radius-xs" } ], "width": "fill_container", @@ -8705,7 +8866,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#208" + "content": "208" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -9069,7 +9230,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#12" + "content": "12" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -10725,7 +10886,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#208" + "content": "208" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -12462,7 +12623,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#221" + "content": "221" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -12855,7 +13016,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#217" + "content": "217" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -13960,7 +14121,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#874" + "content": "874" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground", @@ -14328,7 +14489,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#1188" + "content": "1188" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground", @@ -15415,7 +15576,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#872" + "content": "872" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground", @@ -15602,7 +15763,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#809" + "content": "809" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground", @@ -15743,7 +15904,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#861" + "content": "861" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground", @@ -15863,7 +16024,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#869" + "content": "869" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground", @@ -15913,42 +16074,203 @@ }, { "type": "frame", - "id": "sfu-panel-d-idle-more", - "name": "Folded rest", + "id": "sfu-panel-d-idle-3", + "name": "코어 호스트 노드 이동 설계 문서", "children": [ { - "type": "icon", - "id": "sfu-panel-d-idle-more-g", - "name": "Glyph", - "enabled": true, - "width": 12, - "height": 12, - "icon": "chevron-right", - "library": "lucide", - "fill": "$--muted-foreground" + "type": "frame", + "id": "sfu-panel-d-idle-3-chev", + "name": "Chevron lane", + "children": [], + "layout": "none", + "width": 16, + "height": 28 }, { - "type": "text", - "id": "sfu-panel-d-idle-more-l", - "name": "그 외 2", - "content": "그 외 2", - "fill": "$--subtle-foreground", - "fontFamily": "$--font-ui", - "fontSize": "$--text-caption", - "fontWeight": "400" + "type": "frame", + "id": "sfu-panel-d-idle-3-body", + "name": "Lines", + "children": [ + { + "type": "frame", + "id": "sfu-panel-d-idle-3-head", + "name": "Line one", + "children": [ + { + "type": "text", + "id": "sfu-panel-d-idle-3-mark", + "name": "○", + "content": "○", + "fill": "$--muted-foreground", + "fontFamily": "$--font-mono", + "fontSize": "$--text-caption", + "fontWeight": "600" + }, + { + "type": "frame", + "id": "sfu-panel-d-idle-3-provider", + "name": "Provider", + "children": [], + "width": 14, + "height": 14, + "fill": { + "type": "image", + "enabled": true, + "url": "../web/src/assets/agent-claude.png", + "mode": "contain" + } + }, + { + "type": "text", + "id": "sfu-panel-d-idle-3-title", + "name": "코어 호스트 노드 이동 설계 문서", + "content": "코어 호스트 노드 이동 설계 문서", + "fill": "$--foreground", + "fontFamily": "$--font-ui", + "fontSize": "$--text-caption", + "fontWeight": "500", + "textGrowth": "fixed-width", + "width": "fill_container" + }, + { + "type": "text", + "id": "sfu-panel-d-idle-3-age", + "name": "1d", + "content": "1d", + "fill": "$--muted-foreground", + "fontFamily": "$--font-mono", + "fontSize": "$--text-caption", + "fontWeight": "400" + } + ], + "width": "fill_container", + "height": 20, + "layout": "horizontal", + "gap": 6, + "alignItems": "center" + } + ], + "width": "fill_container", + "layout": "vertical", + "gap": 2, + "padding": [ + 4, + 0, + 4, + 4 + ] } ], - "width": "fill_container", - "height": 28, + "width": 420, "layout": "horizontal", - "gap": 6, - "alignItems": "center", + "alignItems": "start", "padding": [ 0, - 12, + 8, 0, - 24 - ] + 4 + ], + "cornerRadius": "$--radius-xs" + }, + { + "type": "frame", + "id": "sfu-panel-d-idle-4", + "name": "Memory 기능 PRD 초안", + "children": [ + { + "type": "frame", + "id": "sfu-panel-d-idle-4-chev", + "name": "Chevron lane", + "children": [], + "layout": "none", + "width": 16, + "height": 28 + }, + { + "type": "frame", + "id": "sfu-panel-d-idle-4-body", + "name": "Lines", + "children": [ + { + "type": "frame", + "id": "sfu-panel-d-idle-4-head", + "name": "Line one", + "children": [ + { + "type": "text", + "id": "sfu-panel-d-idle-4-mark", + "name": "○", + "content": "○", + "fill": "$--muted-foreground", + "fontFamily": "$--font-mono", + "fontSize": "$--text-caption", + "fontWeight": "600" + }, + { + "type": "frame", + "id": "sfu-panel-d-idle-4-provider", + "name": "Provider", + "children": [], + "width": 14, + "height": 14, + "fill": { + "type": "image", + "enabled": true, + "url": "../web/src/assets/agent-claude.png", + "mode": "contain" + } + }, + { + "type": "text", + "id": "sfu-panel-d-idle-4-title", + "name": "Memory 기능 PRD 초안", + "content": "Memory 기능 PRD 초안", + "fill": "$--foreground", + "fontFamily": "$--font-ui", + "fontSize": "$--text-caption", + "fontWeight": "500", + "textGrowth": "fixed-width", + "width": "fill_container" + }, + { + "type": "text", + "id": "sfu-panel-d-idle-4-age", + "name": "1d", + "content": "1d", + "fill": "$--muted-foreground", + "fontFamily": "$--font-mono", + "fontSize": "$--text-caption", + "fontWeight": "400" + } + ], + "width": "fill_container", + "height": 20, + "layout": "horizontal", + "gap": 6, + "alignItems": "center" + } + ], + "width": "fill_container", + "layout": "vertical", + "gap": 2, + "padding": [ + 4, + 0, + 4, + 4 + ] + } + ], + "width": 420, + "layout": "horizontal", + "alignItems": "start", + "padding": [ + 0, + 8, + 0, + 4 + ], + "cornerRadius": "$--radius-xs" } ], "width": "fill_container", @@ -17806,7 +18128,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#208" + "content": "208" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -18170,7 +18492,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#12" + "content": "12" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -19826,7 +20148,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#208" + "content": "208" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -21520,7 +21842,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#221" + "content": "221" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -21913,7 +22235,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#217" + "content": "217" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -23051,7 +23373,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#207" + "content": "207" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -23329,7 +23651,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#216" + "content": "216" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -27161,7 +27483,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#208" + "content": "208" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -27515,7 +27837,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#207" + "content": "207" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -28716,7 +29038,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#207" + "content": "207" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -31394,7 +31716,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#208" + "content": "208" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -34069,7 +34391,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#221" + "content": "221" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -38554,7 +38876,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#222" + "content": "222" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -38918,7 +39240,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#218" + "content": "218" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -39057,7 +39379,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#189" + "content": "189" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -39237,7 +39559,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#221" + "content": "221" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -39511,7 +39833,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#190" + "content": "190" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -39652,7 +39974,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#138" + "content": "138" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -39883,7 +40205,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#218" + "content": "218" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -41550,7 +41872,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#221" + "content": "221" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -41943,7 +42265,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#217" + "content": "217" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -43081,7 +43403,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#207" + "content": "207" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -43359,7 +43681,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#216" + "content": "216" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -47191,7 +47513,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#208" + "content": "208" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -47545,7 +47867,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#207" + "content": "207" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -48746,7 +49068,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#207" + "content": "207" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -51424,7 +51746,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#208" + "content": "208" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -54099,7 +54421,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#221" + "content": "221" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -58584,7 +58906,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#222" + "content": "222" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -58948,7 +59270,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#218" + "content": "218" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -59087,7 +59409,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#189" + "content": "189" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -59267,7 +59589,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#221" + "content": "221" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -59541,7 +59863,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#190" + "content": "190" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -59682,7 +60004,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#138" + "content": "138" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -59913,7 +60235,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#218" + "content": "218" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -76936,7 +77258,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#812" + "content": "812" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground", @@ -77263,7 +77585,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#811" + "content": "811" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground", @@ -77846,7 +78168,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#811" + "content": "811" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground", @@ -96793,7 +97115,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#812" + "content": "812" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground", @@ -97120,7 +97442,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#811" + "content": "811" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground", @@ -97703,7 +98025,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#811" + "content": "811" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground", @@ -122981,7 +123303,7 @@ }, "hideui:ath-row-pr/hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#180" + "content": "180" }, "hideui:ath-row-pr/hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -123083,7 +123405,7 @@ }, "hideui:ath-row-pr/hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#214" + "content": "214" }, "hideui:ath-row-pr/hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -123385,7 +123707,7 @@ }, "hideui:ath-row-pr/hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#838" + "content": "838" }, "hideui:ath-row-pr/hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -133012,7 +133334,7 @@ }, "hideui:ath-row-pr/hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#180" + "content": "180" }, "hideui:ath-row-pr/hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -133114,7 +133436,7 @@ }, "hideui:ath-row-pr/hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#214" + "content": "214" }, "hideui:ath-row-pr/hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -133416,7 +133738,7 @@ }, "hideui:ath-row-pr/hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#838" + "content": "838" }, "hideui:ath-row-pr/hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -176402,7 +176724,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#227" + "content": "227" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -176665,7 +176987,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#218" + "content": "218" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -176898,7 +177220,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#252" + "content": "252" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -177633,7 +177955,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#238" + "content": "238" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -177891,7 +178213,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#248" + "content": "248" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -178139,7 +178461,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#217" + "content": "217" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -179225,7 +179547,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#227" + "content": "227" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -179488,7 +179810,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#238" + "content": "238" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -179740,7 +180062,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#248" + "content": "248" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -179992,7 +180314,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#217" + "content": "217" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -181181,7 +181503,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#227" + "content": "227" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -181431,7 +181753,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#252" + "content": "252" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -181941,7 +182263,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#238" + "content": "238" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -183130,7 +183452,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#227" + "content": "227" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -183387,7 +183709,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#248" + "content": "248" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -184638,7 +184960,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#227" + "content": "227" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -188683,7 +189005,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#227" + "content": "227" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -188946,7 +189268,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#218" + "content": "218" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -189179,7 +189501,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#252" + "content": "252" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -189914,7 +190236,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#238" + "content": "238" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -190172,7 +190494,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#248" + "content": "248" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -190420,7 +190742,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#217" + "content": "217" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -191506,7 +191828,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#227" + "content": "227" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -191769,7 +192091,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#238" + "content": "238" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -192021,7 +192343,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#248" + "content": "248" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -192273,7 +192595,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#217" + "content": "217" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -193462,7 +193784,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#227" + "content": "227" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -193712,7 +194034,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#252" + "content": "252" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -194222,7 +194544,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#238" + "content": "238" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -195411,7 +195733,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#227" + "content": "227" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -195668,7 +195990,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#248" + "content": "248" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -196919,7 +197241,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#227" + "content": "227" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -199956,7 +200278,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#221" + "content": "221" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -200349,7 +200671,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#217" + "content": "217" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -202659,7 +202981,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#221" + "content": "221" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -203052,7 +203374,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#217" + "content": "217" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -205025,7 +205347,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#221" + "content": "221" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -205418,7 +205740,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#217" + "content": "217" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -207411,7 +207733,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#221" + "content": "221" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -207804,7 +208126,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#217" + "content": "217" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -209797,7 +210119,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#221" + "content": "221" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -210190,7 +210512,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#217" + "content": "217" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -212200,7 +212522,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#221" + "content": "221" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -212593,7 +212915,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#217" + "content": "217" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -214903,7 +215225,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#221" + "content": "221" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -215296,7 +215618,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#217" + "content": "217" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -217269,7 +217591,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#221" + "content": "221" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -217662,7 +217984,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#217" + "content": "217" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -219655,7 +219977,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#221" + "content": "221" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -220048,7 +220370,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#217" + "content": "217" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -222041,7 +222363,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#221" + "content": "221" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" @@ -222434,7 +222756,7 @@ }, "hideui:ath-pr-n": { "fill": "$--subtle-foreground", - "content": "#217" + "content": "217" }, "hideui:ath-pr-more": { "fill": "$--muted-foreground" diff --git a/design/hide-ui.lib.pen b/design/hide-ui.lib.pen index 3a145b3f35..4a6ff026c5 100644 --- a/design/hide-ui.lib.pen +++ b/design/hide-ui.lib.pen @@ -36822,8 +36822,8 @@ { "type": "text", "id": "agb-pr-n", - "name": "#221", - "content": "#221", + "name": "221", + "content": "221", "fill": "$--subtle-foreground", "fontFamily": "$--font-mono", "fontSize": "$--text-caption", @@ -38125,7 +38125,7 @@ "fill": "$--pr-failed" }, "agb-pr-n": { - "content": "#221" + "content": "221" }, "agb-pr-rv": { "enabled": true @@ -38550,7 +38550,7 @@ "fill": "$--pr-merged" }, "agb-pr-n": { - "content": "#216" + "content": "216" }, "agb-pr-rv": { "enabled": false @@ -39380,7 +39380,7 @@ "fill": "$--pr-failed" }, "agb-pr-n": { - "content": "#221" + "content": "221" }, "agb-pr-rv": { "enabled": true @@ -39805,7 +39805,7 @@ "fill": "$--pr-merged" }, "agb-pr-n": { - "content": "#216" + "content": "216" }, "agb-pr-rv": { "enabled": false @@ -40469,8 +40469,8 @@ { "type": "text", "id": "ath-pr-n", - "name": "#924", - "content": "#924", + "name": "924", + "content": "924", "fill": "$--subtle-foreground", "fontFamily": "$--font-mono", "fontSize": "$--text-caption", diff --git a/docs/UI_BEHAVIOR.md b/docs/UI_BEHAVIOR.md index 8d53817203..ae3e65e32a 100644 --- a/docs/UI_BEHAVIOR.md +++ b/docs/UI_BEHAVIOR.md @@ -545,12 +545,13 @@ The core supplies Needs You, Working, Done, Idle and Resolved in that order, lea Needs You and Done are the same agents as the sidebar's in the same scope; Working holds working agents and quiet roots whose descendants work; Idle holds stopped agents already seen. Delegated children and Factory workers are not Sessions rows of their own. Resolved holds work resolved in the last 24 hours, by the operator or automatically once the agent stopped with no demand and every PR it held merged or closed. -Within a group, Needs You waits longest first, Working puts a failed PR first and then the most recent, Done is most recent first, and Idle puts unfinished work, then a failed, mergeable, pending, draft or merged PR, before the rest; Idle rows with neither a PR nor unfinished work wait behind `그 외 N`. +Within a group, Needs You waits longest first, Working puts a failed PR first and then the most recent, Done is most recent first, and Idle puts unfinished work, then a failed, mergeable, pending, draft or merged PR, before the rest; every Idle row is drawn, as in Needs You, Working and Done. A row's first line is its mark, provider, title, own PR mark, descendant mark while its tree is closed, and elapsed time; a Needs You row has no PR mark and no descendant mark. +Every row, a child and a resolved row included, ends in the Resolve button's slot, so the times of the panel stand in one column as in the sidebar. There is no checkout name, front-checkout bar or status word on a root row. Its second line is the ask on Needs You, the label line on Working (or the line of the most recently changed working descendant while it waits on them), the finished turn's line on Done, and on Idle only the remaining work of an unfinished turn after `◐`; with no label line there is no second line. -The PR mark shows one PR as its state's icon and number, and several as the worst PR's (`#924 +1`); a closed PR is not counted, and each row, a child included, dims while the GitHub read behind its own PRs is stale, with that read's last time in the tooltip. +The PR mark shows one PR as its state's icon and number, and several as the worst PR's (`924 +1`); a closed PR is not counted, and each row, a child included, dims while the GitHub read behind its own PRs is stale, with that read's last time in the tooltip. Pressing the mark lists each PR with its mark and title, worst first, and choosing one opens the existing PR panel. The core verb ladder, read rules and PR summary are owned by [status-model.md](status-model.md#the-sessions-tool). Reading an AI question removes its Answer and Needs You attention; an active menu or plan approval stays until answered. @@ -558,10 +559,10 @@ A row with children, at any depth, opens them under its chevron, closed at first Five siblings show per parent and the rest wait behind `N개 더`, as in the sidebar (`web/src/sidebarTree.ts`). A child steps one indent right of its parent down to the third level below the root; deeper rows stay in the third level's column and hang from their parent's chevron lane, whose rail runs down through them, so a narrow Tools column keeps room for titles (`web/src/sessionTree.ts`). A child row has the root's first line without the Resolve button, and the same second line. -When the child works in another checkout than its parent, that line starts with the checkout's branch (the core's `branch_badge`, the name the sidebar gives the checkout) in dim mono, without the part up to the first `/` (`fix/`, `feat/`), cut with `…` past two fifths of the line, with the whole branch and the checkout's path in its tooltip; the label takes the rest of the line and is cut with `…`. +When the child works in another checkout than its parent, that line starts with the checkout's branch (the core's `branch_badge`, the name the sidebar gives the checkout) in dim mono, without the part up to the first `/` (`fix/`, `feat/`), cut with `…` past two fifths of the line when a label follows and at the line's end when it stands alone, with the whole branch and the checkout's path in its tooltip; the label takes the rest of the line and is cut with `…`. A child in its parent's checkout carries no branch, an Idle child with no label line and a branch has a second line with the branch alone, and a root row carries none. A child's title is quiet (subtle) unless it asks or is selected, by the sidebar's title rule; a root's title is not. -While a Workspace is in front, the row standing for its focused pane is selected as in the sidebar: the focused pane's row, or, when a closed tree or `N개 더` hides it, the nearest ancestor row the panel draws, with the sidebar's selected fill and `aria-current`; nothing opens by itself, and a root hidden behind `그 외 N` or the folded Resolved has no selected row. +While a Workspace is in front, the row standing for its focused pane is selected as in the sidebar: the focused pane's row, or, when a closed tree or `N개 더` hides it, the nearest ancestor row the panel draws, with the sidebar's selected fill and `aria-current`; nothing opens by itself, and a root hidden in the folded Resolved has no selected row. An agent is drawn once in Sessions: a raised child's ask rides its root's row, and the child's own row, where its root's tree is open, is the one selected. The selected fill stays under the pointer, and keyboard focus draws its ring over it. @@ -1054,7 +1055,7 @@ Any project row can be pinned from its right-click menu: a row Herdr shows witho The pin lives on the project's registration and survives a relaunch; removing the registration takes the pin with it. A pinned project is exempt from its device's inactive fold whatever its activity; its own stale worktrees still fold behind their own `Inactive N` row. PR state colour is a semantic-colour exception to otherwise neutral chrome, one colour per state on every surface, including during hover and selection (docs/status-model.md, Pull request visual states; operator approval, 2026-10-10): failed red, pending amber, mergeable green, draft grey, merged purple with the merge icon, and closed dim. -Every surface draws a pull request as the one PR mark (`web/src/components/pr-mark.tsx`): the state's icon in its colour and `#N` in the text colour, `+N` after it for an agent row's other PRs, with no border and no glyph; a pressable mark fills under the pointer, a mark whose GitHub read is stale dims with the last read time in its tooltip, and where the row already names the pull request (a checkout's glyph, a graph head, a search row) the mark drops the number. +Every surface draws a pull request as the one PR mark (`web/src/components/pr-mark.tsx`): the state's icon in its colour and the bare number `N` in the text colour (the icon already says pull request; `#N` stays where a number stands without the icon, such as a PR card's header or a tooltip), `+N` after it for an agent row's other PRs, with no border and no glyph; a pressable mark fills under the pointer, a mark whose GitHub read is stale dims with the last read time in its tooltip, and where the row already names the pull request (a checkout's glyph, a graph head, a search row) the mark drops the number. Only a change request keeps a word beside the mark, `변경 요청` in red, as failed checks are; the Overview chip, Issues, the graph box and the PRs row draw no separate checks mark. On the web a checkout row whose glyph is a pull request's mark makes that glyph a button (PRD checkout-pr-glyph-card): a ring in the state's colour under the pointer and the pointer cursor say so, a click opens the pull request as a browser display of the Workspace in front (an address the Workspace already shows is brought forward instead), and ⌘-click opens it in the default browser. While no Workspace is in front (the shared Overview page) or the checkout is an SSH device's, the click opens the default browser too. diff --git a/docs/status-model.md b/docs/status-model.md index bce467063f..ff392b985c 100644 --- a/docs/status-model.md +++ b/docs/status-model.md @@ -649,7 +649,7 @@ Regression owners: `herdr-core/src/request_view/tests.rs` for the verb, the pull A Needs You row draws its `row.state.ask` (verb and what to do) in place of a line, and a blocked one, which has no ask, its cause; a Working row its label line, or while it waits on its children the line of its most recently changed working descendant; a Done row its label line. An Idle row carries a line only for a stopped turn (`◐`, the same rule as the sidebar's Stopped mark), marked `unfinished`. Needs You is ordered by when the ask began, Working puts a failed PR first and then the most recent, Done is most recent first, and Resolved is most recently resolved first. -Idle puts unfinished work first, then a failed, mergeable, pending, draft and merged PR, then the rest, and publishes those with neither a PR nor unfinished work as `more`, which the panel folds behind `그 외 N`. +Idle puts unfinished work first, then a failed, mergeable, pending, draft and merged PR, then the rest, and the panel draws every Idle row as it draws the other groups, with no fold. A blocked menu takes Approval before an unread AI question's Answer. A current native `user_turn.kind = question` instead takes Answer while its session holds for a reply, including after it is read and when its content is absent. Native plan approval keeps Approval; the typed native wait, rather than a provider name or an AI question label, distinguishes these cases. diff --git a/herdr-core/src/agent_state/sessions.rs b/herdr-core/src/agent_state/sessions.rs index 92d0d08898..9374caaf24 100644 --- a/herdr-core/src/agent_state/sessions.rs +++ b/herdr-core/src/agent_state/sessions.rs @@ -105,8 +105,8 @@ pub(crate) fn row(agent: &SidebarAgentSnapshot) -> Row { line: label_line(), unfinished: false, }, - // A read block rests here with its cause, ahead of the fold - // (agent-blocked-state B2). + // A read block rests here with its cause, ahead of the other Idle + // rows (agent-blocked-state B2). _ if agent.demand == "error" => Row { group: Group::Idle, line: agent.detail.clone(), @@ -163,8 +163,6 @@ pub struct Section { pub group: Group, /// Member indices, in the order the panel draws them. pub members: Vec, - /// Idle rows with neither a PR nor unfinished work, folded as "N more". - pub more: Vec, } #[derive(Clone, Debug, Default, Eq, PartialEq, Serialize)] @@ -235,13 +233,9 @@ pub(crate) fn scope<'a>(members: impl Iterator, Vec<_>) = rows - .into_iter() - .partition(|(_, row)| group != Group::Idle || idle_rank(row) < 5); result.groups.push(Section { group, - members: shown.into_iter().map(|(member, _)| member).collect(), - more: more.into_iter().map(|(member, _)| member).collect(), + members: rows.into_iter().map(|(member, _)| member).collect(), }); } result diff --git a/herdr-core/src/request_view/tests.rs b/herdr-core/src/request_view/tests.rs index b742ccec6f..7a8c5e1a45 100644 --- a/herdr-core/src/request_view/tests.rs +++ b/herdr-core/src/request_view/tests.rs @@ -280,7 +280,7 @@ fn a_pr_reads_draft_then_failed_or_changes_requested_then_mergeable_then_pending } #[test] -fn sessions_keep_delegated_children_out_order_each_group_and_fold_quiet_idle_rows() { +fn sessions_keep_delegated_children_out_and_order_each_group_with_quiet_idle_rows_last() { use crate::agent_state::sessions::{Group, scope}; let mut rows = rows(&[ ("approval", "blocked"), @@ -316,16 +316,16 @@ fn sessions_keep_delegated_children_out_order_each_group_and_fold_quiet_idle_row let groups: Vec<_> = scope .groups .iter() - .map(|section| (section.group, section.members.clone(), section.more.clone())) + .map(|section| (section.group, section.members.clone())) .collect(); assert_eq!( groups, [ - (Group::NeedsYou, vec![0], vec![]), - (Group::Working, vec![1], vec![]), + (Group::NeedsYou, vec![0]), + (Group::Working, vec![1]), // Unfinished first, then a failed check, then mergeable; a row - // with neither a PR nor unfinished work folds into "N more". - (Group::Idle, vec![4, 5, 6], vec![2]), + // with neither a PR nor unfinished work comes last, not folded. + (Group::Idle, vec![4, 5, 6, 2]), ] ); assert_eq!( diff --git a/scripts/pen-agent-tree.mjs b/scripts/pen-agent-tree.mjs index 041145bd31..d6d8cdc5de 100644 --- a/scripts/pen-agent-tree.mjs +++ b/scripts/pen-agent-tree.mjs @@ -56,7 +56,7 @@ export function buildAgentTreeParts(tokens) { // variant hides the number where the row already names the pull request. const prIcon = frame(AGENT_TREE_MASTERS.prIcon, 'PR mark', {reusable: true, layout: 'horizontal', gap: '$--spacing-xxs', alignItems: 'center', width: 'fit_content', height: PR}, [ icon('ath-pr-g', 'git-pull-request', {size: PR, fill: '$--pr-failed'}), - caption('ath-pr-n', '#924', '$--subtle-foreground', {mono: true}), + caption('ath-pr-n', '924', '$--subtle-foreground', {mono: true}), {...caption('ath-pr-more', '+1', '$--muted-foreground', {mono: true}), enabled: false}, ]); diff --git a/scripts/pen-screens-disk.mjs b/scripts/pen-screens-disk.mjs index 1e1f9f7445..d5e2479175 100644 --- a/scripts/pen-screens-disk.mjs +++ b/scripts/pen-screens-disk.mjs @@ -34,7 +34,7 @@ export function diskCleanupRows(tokens, {themedXref, screenButton, screenDialogS // A checkout's pull request as the one PR mark (web/src/components/pr-mark.tsx). const prMark = (id, [number, state]) => { const [, glyph, fill] = PR_STATES.find(([key]) => key === state); - return themedXref(id, AGENT_TREE_MASTERS.prIcon, `PR #${number}`, {}, {'ath-pr-g': {icon: glyph, fill}, 'ath-pr-n': {content: `#${number}`}}); + return themedXref(id, AGENT_TREE_MASTERS.prIcon, `PR #${number}`, {}, {'ath-pr-g': {icon: glyph, fill}, 'ath-pr-n': {content: `${number}`}}); }; const HAIR = num(tokens, '--size-hairline'); const DIM = num(tokens, '--opacity-dimmed'); diff --git a/scripts/pen-screens-sessions.mjs b/scripts/pen-screens-sessions.mjs index 8b7ddd154d..3356e5ac20 100644 --- a/scripts/pen-screens-sessions.mjs +++ b/scripts/pen-screens-sessions.mjs @@ -14,7 +14,7 @@ export function sessionScreens(tokens, {frame, text, icon, themedXref, screenBut // The PR mark (web/src/components/pr-mark.tsx), a ref of Component / Agent tree parts: the state's icon and colour, the number, and `+N` for several (B22). const prChip = (id, {number, state, more = 0}) => { const [, glyph, fill] = PR_STATES.find(([key]) => key === state); - return themedXref(id, AGENT_TREE_MASTERS.prIcon, `PR #${number}`, {}, {'ath-pr-g': {icon: glyph, fill}, 'ath-pr-n': {content: `#${number}`}, 'ath-pr-more': more ? {enabled: true, content: `+${more}`} : {enabled: false}}); + return themedXref(id, AGENT_TREE_MASTERS.prIcon, `PR #${number}`, {}, {'ath-pr-g': {icon: glyph, fill}, 'ath-pr-n': {content: `${number}`}, 'ath-pr-more': more ? {enabled: true, content: `+${more}`} : {enabled: false}}); }; const chevron = (id, open) => frame(id, 'Chevron lane', {width:16,height:20,layout:'horizontal',justifyContent:'center',alignItems:'center'}, open === null ? [] : [icon(`${id}-g`, open ? 'chevron-down' : 'chevron-right', {size:12,fill:'$--muted-foreground'})]); @@ -67,16 +67,13 @@ export function sessionScreens(tokens, {frame, text, icon, themedXref, screenBut ]), ]); function panel(suffix, width=420, id=`sfu-panel-${suffix}`) { - const group=(key,title,rows,{folded=false,more=0,count}={})=>frame(`${id}-${key}`,title,{width:'fill_container',layout:'vertical',gap:0},[ + const group=(key,title,rows,{folded=false,count}={})=>frame(`${id}-${key}`,title,{width:'fill_container',layout:'vertical',gap:0},[ frame(`${id}-${key}-heading`,'Group heading',{width:'fill_container',height:32,layout:'horizontal',gap:6,alignItems:'center',padding:[0,12]},[ ...(folded?[icon(`${id}-${key}-fold`,'chevron-right',{size:12,fill:'$--muted-foreground'})]:[]), caption(`${id}-${key}-label`,title,key==='needs'?'$--warning':'$--subtle-foreground',{weight:'500'}), caption(`${id}-${key}-group-count`,String(count ?? rows.length)), ]), ...(folded?[]:rows.map((spec,index)=>row(`${id}-${key}-${index}`,spec,width))), - ...(more?[frame(`${id}-${key}-more`,'Folded rest',{width:'fill_container',height:28,layout:'horizontal',gap:6,alignItems:'center',padding:[0,12,0,24]},[ - icon(`${id}-${key}-more-g`,'chevron-right',{size:12,fill:'$--muted-foreground'}),caption(`${id}-${key}-more-l`,`그 외 ${more}`,'$--subtle-foreground'), - ])]:[]), ]); return frame(id,'Sessions panel',{width,height:760,layout:'vertical',gap:8,fill:'$--card',stroke:'$--border',strokeWidth:1,strokeAlignment:'inner',clip:true},[ frame(`${id}-tabs`,'Tools tabs',{width:'fill_container',height:32,layout:'horizontal',gap:12,padding:[0,12],alignItems:'center'},[ @@ -106,7 +103,9 @@ export function sessionScreens(tokens, {frame, text, icon, themedXref, screenBut {title:'P8 읽기 전용 준비 계획',provider:'codex',mark:'◐',tone:'$--warning',pr:{number:809,state:'failed'},age:'19h',line:'Grok 훅 연결 마무리 남음'}, {title:'에이전트 막힘 상태 PRD',mark:'○',tone:'$--muted-foreground',pr:{number:861,state:'failed'},age:'3h'}, {title:'세션 읽기 큰 레코드 건너뛰기',mark:'○',tone:'$--muted-foreground',pr:{number:869,state:'mergeable'},age:'2h'}, - ],{more:2,count:5}), + {title:'코어 호스트 노드 이동 설계 문서',mark:'○',tone:'$--muted-foreground',age:'1d'}, + {title:'Memory 기능 PRD 초안',mark:'○',tone:'$--muted-foreground',age:'1d'}, + ]), group('resolved','Resolved',[],{folded:true,count:7}), ]); } diff --git a/scripts/pen-screens.mjs b/scripts/pen-screens.mjs index a45b0388c6..ab5cb142ea 100644 --- a/scripts/pen-screens.mjs +++ b/scripts/pen-screens.mjs @@ -392,7 +392,7 @@ const PR_TREE = Object.fromEntries(PR_STATES.map(([state, glyph, fill]) => [stat // Agent tree parts master: the state's icon and colour, the number unless compact. function screenPrMark(id, {state, number, compact = false}) { const [glyph, fill] = PR_TREE[state]; - return themedXref(id, AGENT_TREE_MASTERS.prIcon, `PR #${number}`, {}, {'ath-pr-g': {icon: glyph, fill}, 'ath-pr-n': compact ? {enabled: false} : {content: `#${number}`}}); + return themedXref(id, AGENT_TREE_MASTERS.prIcon, `PR #${number}`, {}, {'ath-pr-g': {icon: glyph, fill}, 'ath-pr-n': compact ? {enabled: false} : {content: `${number}`}}); } function screenTreeRow(id, {title, symbol = '○', color = '$--muted-foreground', provider = 'claude', age, depth = 0, last = false, rail = false, chevron = null, pr, mark, device, offline = false, more = false, bright = false, selected = false, inset = 0, width = 268}) { const descendants = { @@ -406,7 +406,7 @@ function screenTreeRow(id, {title, symbol = '○', color = '$--muted-foreground' 'ath-row-elbow-v': {height: last ? 13 : 28}, 'ath-row-chev': chevron ? {enabled: true, icon: chevron === 'open' ? 'chevron-down' : 'chevron-right'} : {enabled: false}, 'ath-row-pr': pr ? {enabled: true} : {enabled: false}, - ...(pr ? {'ath-row-pr/ath-pr-g': {icon: PR_TREE[pr.state][0], fill: PR_TREE[pr.state][1]}, 'ath-row-pr/ath-pr-n': {content: `#${pr.number}`}} : {}), + ...(pr ? {'ath-row-pr/ath-pr-g': {icon: PR_TREE[pr.state][0], fill: PR_TREE[pr.state][1]}, 'ath-row-pr/ath-pr-n': {content: `${pr.number}`}} : {}), 'ath-row-desc': mark ? {enabled: true} : {enabled: false}, ...(mark ? { 'ath-row-desc/ath-mark-bang': {enabled: mark.kind === 'raised'}, diff --git a/scripts/pen-system.mjs b/scripts/pen-system.mjs index 08521079dc..9255408de4 100644 --- a/scripts/pen-system.mjs +++ b/scripts/pen-system.mjs @@ -771,7 +771,7 @@ function buildAgentGraphBox(tokens) { // a change request keeps its word, red as failed checks are. frame('agb-pr', 'PR mark', {layout: 'horizontal', gap: '$--spacing-xs', alignItems: 'center', padding: [0, '$--spacing-xxs'], height: LINE, cornerRadius: '$--radius-xs'}, [ frame('agb-pr-mark', 'Mark', {layout: 'horizontal', gap: '$--spacing-xxs', alignItems: 'center'}, [ - icon('agb-pr-g', 'git-pull-request', {size: ICON, fill: '$--pr-mergeable'}), caption('agb-pr-n', '#221', '$--subtle-foreground', true), + icon('agb-pr-g', 'git-pull-request', {size: ICON, fill: '$--pr-mergeable'}), caption('agb-pr-n', '221', '$--subtle-foreground', true), ]), disabled(caption('agb-pr-rv', '변경 요청', '$--pr-failed')), ]), @@ -876,7 +876,7 @@ function buildAgentGraphBox(tokens) { 'agb-pr': {enabled: Boolean(pr)}, ...(pr ? { 'agb-pr-g': prGlyph(pr.state), - 'agb-pr-n': {content: `#${pr.number}`}, + 'agb-pr-n': {content: `${pr.number}`}, 'agb-pr-rv': {enabled: Boolean(pr.changes)}, } : {}), 'agb-dist': {enabled: Boolean(distance), content: distance ?? ''}, diff --git a/web/e2e/session-panel.spec.ts b/web/e2e/session-panel.spec.ts index 5636f09f77..48a28bde6c 100644 --- a/web/e2e/session-panel.spec.ts +++ b/web/e2e/session-panel.spec.ts @@ -1,5 +1,5 @@ // Sessions on a real isolated Herdr and daemon. -import { expect, test, type Page } from "@playwright/test"; +import { expect, test, type Locator, type Page } from "@playwright/test"; import { execFileSync, spawnSync } from "node:child_process"; import fs from "node:fs"; import path from "node:path"; @@ -50,6 +50,13 @@ async function ensureSessions(page: Page) { await expect(page.locator("[data-session-panel]")).toBeVisible(); } +/** Where a laid-out element ends on the right, for checking that rows share a column. */ +async function rightEdge(locator: Locator): Promise { + const box = await locator.boundingBox(); + if (!box) throw new Error("element is not laid out"); + return box.x + box.width; +} + test("Sessions groups, read rules, child navigation and durable resolution share one project scope", async ({ page }) => { await page.setViewportSize({ width: 1600, height: 1000 }); const herdr = await startHerdr(); @@ -89,8 +96,8 @@ test("Sessions groups, read rules, child navigation and durable resolution share const row = (pane: string) => panel.locator(`[data-session-row="${pane}"]`); const group = (name: string) => panel.locator(`[data-session-group="${name}"]`); const head = (name: string) => group(name).locator('[data-session-focus="group"]'); - // agent-hierarchy-screens B26 to B32: Needs You asks with the verb; unfinished work is Idle with ◐, a read question - // folds behind 그 외 N; a chevron opens one level of children; Resolved holds a resolved row, folded. + // B26 to B32: Needs You asks with the verb; unfinished work is Idle with ◐, a read question rests in Idle unfolded; a + // chevron opens children, whose Resolve slot keeps the root's time column; Resolved holds a resolved row, folded. await expect(group("needs_you").locator(`[data-session-row="${asking}"]`)).toContainText("Approve", { timeout: 30_000 }); await expect(group("needs_you").locator(`[data-session-row="${question}"]`)).toContainText("Answer", { timeout: 30_000 }); await expect(group("idle").locator(`[data-session-row="${stopped}"] [data-session-unfinished]`)).toBeVisible({ timeout: 30_000 }); @@ -103,6 +110,7 @@ test("Sessions groups, read rules, child navigation and durable resolution share await expect(row(parent).locator('[data-descendant-mark="working"]')).toContainText("1"); await children.click(); await expect(panel.locator(`[data-session-child="${child}"]`)).toContainText("하위 작업 검증"); + expect(await rightEdge(panel.locator(`[data-session-child="${child}"] [data-resolve-slot]`))).toBe(await rightEdge(row(parent).locator("[data-session-resolve]"))); await children.click(); await expect(panel.locator(`[data-session-child="${child}"]`)).toHaveCount(0); await row(question).locator('[data-session-focus="row"]').focus(); @@ -110,7 +118,6 @@ test("Sessions groups, read rules, child navigation and durable resolution share await expect(page.locator(`[data-pane-view="${question}"]`)).toHaveAttribute("data-focused", "true"); await showSessions(); await expect(group("needs_you").locator(`[data-session-row="${question}"]`)).toHaveCount(0); - await group("idle").locator("[data-session-more]").click(); await expect(group("idle").locator(`[data-session-row="${question}"]`)).toBeVisible(); await expect(row(question)).not.toContainText("Answer"); await row(asking).locator('[data-session-focus="row"]').click(); diff --git a/web/src/AgentSessions.test.tsx b/web/src/AgentSessions.test.tsx index 89fc3cfdb1..d246783bb9 100644 --- a/web/src/AgentSessions.test.tsx +++ b/web/src/AgentSessions.test.tsx @@ -15,7 +15,7 @@ function fixture() { const agents = [row("first", "needs_you"), row("second", "working")]; const scope = (members: string[]): AgentScope => ({ ...emptyScope(), members: members.map((pane_id) => ({ pane_id, project_id: "project", checkout_id: pane_id === "first" ? "main" : "feature" })), - sessions: { groups: members.map((id, member) => ({ group: id === "first" ? "needs_you" as const : "working" as const, members: [member], more: [] })) }, + sessions: { groups: members.map((id, member) => ({ group: id === "first" ? "needs_you" as const : "working" as const, members: [member] })) }, }); const checkouts = ["main", "feature"].map((id, index) => ({ id, workspace_id: "project", label: id, branch: id, path: `/fixture/${id}`, agent_scope: scope([agents[index]!.pane_id]), tabs: [{ id: `tab-${id}`, panes: [{ id: agents[index]!.pane_id }] }] })) as Checkout[]; const project = { id: "project", device_id: "local", label: "프로젝트", path: "/fixture", is_git: true, agent_scope: scope(["first", "second"]), checkouts } as Workspace; diff --git a/web/src/AgentSessions.tsx b/web/src/AgentSessions.tsx index 82ad4e6820..5426977a4b 100644 --- a/web/src/AgentSessions.tsx +++ b/web/src/AgentSessions.tsx @@ -64,7 +64,6 @@ const SessionsContent = memo(function SessionsContent({ model, actions, folds, f }) { const { t } = useInterfaceTranslation(); const [resolvedOpen, setResolvedOpen] = useState(false); - const [idleOpen, setIdleOpen] = useState(false); // Siblings past five wait behind "N more" until asked, for this panel only, as in the sidebar. const [shownAll, setShownAll] = useState>(NO_PANES); const groups = model.scope?.sessions.groups ?? []; @@ -72,13 +71,13 @@ const SessionsContent = memo(function SessionsContent({ model, actions, folds, f const opened = useMemo(() => new Set(folds), [folds]); const byPane = useMemo(() => new Map(model.agents.map((row) => [row.pane_id, row])), [model.agents]); // Each shown root's drawn tree, so the selection knows every row the panel draws. - const sections = useMemo(() => groups.map(({ group, members, more }) => { - const shown = group === "resolved" && !resolvedOpen ? [] : [...members, ...(idleOpen ? more : [])]; - return { group, count: members.length + more.length, more: more.length, trees: shown.map((member) => { + const sections = useMemo(() => groups.map(({ group, members }) => { + const shown = group === "resolved" && !resolvedOpen ? [] : members; + return { group, count: members.length, trees: shown.map((member) => { const row = sessionMember(model, member); return { row, lines: sessionTreeLines(row.agent, byPane, opened, shownAll) }; }) }; - }), [groups, resolvedOpen, idleOpen, model, byPane, opened, shownAll]); + }), [groups, resolvedOpen, model, byPane, opened, shownAll]); const selected = useMemo(() => { const drawn = new Set(sections.flatMap(({ trees }) => trees.flatMap(({ lines }) => lines.flatMap((line) => (line.kind === "agent" ? [line.row.agent.pane_id] : []))))); return sidebarFocusPane(focusedPane, model.agents, drawn); @@ -96,7 +95,7 @@ const SessionsContent = memo(function SessionsContent({ model, actions, folds, f {!model.available ?

{model.reason ?? t("devices.rail.notConnected")}

: null}
{groups.length === 0 ?

{t("requests.nothingToDo")}

: null} - {sections.map(({ group, count, more, trees }) => { + {sections.map(({ group, count, trees }) => { const collapsible = group === "resolved"; const expanded = collapsible ? resolvedOpen : true; return
@@ -107,11 +106,6 @@ const SessionsContent = memo(function SessionsContent({ model, actions, folds, f {expanded ?
    {trees.map(({ row, lines }) => )} - {more > 0 && !idleOpen ?
  • - -
  • : null}
: null}
; })} @@ -178,7 +172,7 @@ const SessionRow = memo(function SessionRow({ row, model, actions, open, selecte {needsYou ? null : actions.openSessionPullRequest({ workspace_id: project.id, url: pull.url, number: pull.number })} />} {needsYou || open ? null : } - {!agent.resolved ? : null} + {!agent.resolved ? : }
@@ -214,12 +208,22 @@ function ChildRow({ parent, child, depth, model, actions, place, open, selected, actions.openSessionPullRequest({ workspace_id: workspace, url: pull.url, number: pull.number })} /> {open ? null : } + ; } +/** + * The Resolve button's slot on a row that has no Resolve button (a child, a + * resolved root), so every row's time stands in one column, as the sidebar's + * fold slot does. + */ +function ResolveLane() { + return ); diff --git a/web/src/gallery/SessionWorkflowScene.tsx b/web/src/gallery/SessionWorkflowScene.tsx index 1ba7c7accd..bafb2cc527 100644 --- a/web/src/gallery/SessionWorkflowScene.tsx +++ b/web/src/gallery/SessionWorkflowScene.tsx @@ -71,10 +71,10 @@ export function SessionWorkflowScene({ scene: kind, theme, content, scale }: Sce }; }); const feature = { ...checkout, id: "session-ui", label: "prd/session-ui", branch: "prd/session-ui" }; - const scope = { ...project.agent_scope, members: agents.map((agent, index) => ({ pane_id: agent.pane_id, project_id: project.id, checkout_id: index === 5 ? checkout.id : feature.id })), work: { s3: { pull: 0, more: 0, issues: [], issue_chips: [] }, s4: { pull: 0, more: 0, issues: [], issue_chips: [] }, s5: { pull: null, more: 0, issues: ["issue-219"], issue_chips: ["issue-219"] }, s6: { pull: 0, more: 0, issues: [], issue_chips: [] } }, sessions: { groups: [{ group: "needs_you" as const, members: [0, 1, 2], more: [] }, { group: "working" as const, members: [4, 5], more: [] }, { group: "done" as const, members: [3], more: [] }, { group: "idle" as const, members: [6], more: [7] }, { group: "resolved" as const, members: [8], more: [] }] } }; + const scope = { ...project.agent_scope, members: agents.map((agent, index) => ({ pane_id: agent.pane_id, project_id: project.id, checkout_id: index === 5 ? checkout.id : feature.id })), work: { s3: { pull: 0, more: 0, issues: [], issue_chips: [] }, s4: { pull: 0, more: 0, issues: [], issue_chips: [] }, s5: { pull: null, more: 0, issues: ["issue-219"], issue_chips: ["issue-219"] }, s6: { pull: 0, more: 0, issues: [], issue_chips: [] } }, sessions: { groups: [{ group: "needs_you" as const, members: [0, 1, 2] }, { group: "working" as const, members: [4, 5] }, { group: "done" as const, members: [3] }, { group: "idle" as const, members: [6, 7] }, { group: "resolved" as const, members: [8] }] } }; project.agent_scope = scope; project.tasks = { source: null, overflow: false, tasks: [{ key: "issue-219", source: "github", id: `#${219}`, url: "https://example.invalid/issue/219", title: "세션 패널 구현", open: true }] }; - checkout.agent_scope = { ...scope, members: [scope.members[5]!], sessions: { groups: [{ group: "working", members: [0], more: [] }] } }; + checkout.agent_scope = { ...scope, members: [scope.members[5]!], sessions: { groups: [{ group: "working", members: [0] }] } }; const panes = agents.map((agent) => ({ ...pane, id: agent.pane_id, identity_label: agent.identity_label })); checkout.tabs = [{ ...checkout.tabs[0]!, panes: [panes[5]!] }]; feature.tabs = [{ ...checkout.tabs[0]!, id: "session-ui-tab", panes: panes.filter((_, index) => index !== 5) }]; @@ -82,6 +82,8 @@ export function SessionWorkflowScene({ scene: kind, theme, content, scale }: Sce base.rest.navigator!.workspaces = [project]; base.rest.navigator!.focused_checkout_id = checkout.id; base.rest.navigator!.focused_workspace_id = project.id; + // The panel's tree opens on the row with children, so a child's columns are compared with its root's. + base.rest.ui_state = { ...base.rest.ui_state!, sessions_expanded_agent_pane_ids: ["s5"] }; const children = base.agents.filter((row) => ["a1c1", "a1c2"].includes(row.pane_id)); const headers = Object.fromEntries(BANDS.map(([id, band]) => [id, { working: id === "working", band: band && { ...band, since_unix_ms: ["approval", "answer", "fix", "merge", "raised", "result"].includes(id) ? Date.now() - 180_000 : band.since_unix_ms } }])); // The fix and merge panes own one PR each, so their header shows the own PR chip (B21, B22). diff --git a/web/src/i18n/resources/agentSessions.ts b/web/src/i18n/resources/agentSessions.ts index add69b81fb..73e4c51bff 100644 --- a/web/src/i18n/resources/agentSessions.ts +++ b/web/src/i18n/resources/agentSessions.ts @@ -28,7 +28,6 @@ export const agentSessionsEnglish = { "agentSessions.lastRead": "Last read: {{time}}", "agentSessions.group.idle": "Idle", "agentSessions.group.resolved": "Resolved", - "agentSessions.foldedMore": "{{count}} more", "agentSessions.verb.approval": "Approve", "agentSessions.verb.answer": "Answer", "agentSessions.verb.confirm": "Check", @@ -89,7 +88,6 @@ const ko: Messages = { "agentSessions.lastRead": "마지막 읽기: {{time}}", "agentSessions.group.idle": "쉬는 중", "agentSessions.group.resolved": "정리됨", - "agentSessions.foldedMore": "그 외 {{count}}", "agentSessions.verb.approval": "승인", "agentSessions.verb.answer": "답변", "agentSessions.verb.confirm": "확인", @@ -148,7 +146,6 @@ const zh: Messages = { "agentSessions.lastRead": "上次读取:{{time}}", "agentSessions.group.idle": "空闲", "agentSessions.group.resolved": "已整理", - "agentSessions.foldedMore": "其他 {{count}}", "agentSessions.verb.approval": "批准", "agentSessions.verb.answer": "回答", "agentSessions.verb.confirm": "确认", @@ -207,7 +204,6 @@ const ja: Messages = { "agentSessions.lastRead": "最終読み込み:{{time}}", "agentSessions.group.idle": "休止中", "agentSessions.group.resolved": "整理済み", - "agentSessions.foldedMore": "他 {{count}}", "agentSessions.verb.approval": "承認", "agentSessions.verb.answer": "回答", "agentSessions.verb.confirm": "確認",