新增: skills 视图与标题编辑测试(未落库功能批量入库)

This commit is contained in:
lxy
2026-08-23 18:25:02 +08:00
parent 95f349bcd7
commit d54d0c4c63
12 changed files with 985 additions and 37 deletions
+5 -1
View File
@@ -56,7 +56,7 @@ func (m *Model) renderWorkspace() string {
func (m *Model) tabsColumnLines(w, listH int) []string {
var lines []string
total := len(Groups) + 1
total := len(Groups) + 2 // groups + 历史对话 + 技能
start, end := viewport(m.wsTabCur, total, listH)
focused := m.wsFocus == 0
@@ -66,6 +66,10 @@ func (m *Model) tabsColumnLines(w, listH int) []string {
renderNavEntry(&lines, w, "历史对话", "#7dcfff", m.wsTabCur == i, focused)
continue
}
if i == len(Groups)+1 {
renderNavEntry(&lines, w, "技能", "#7aa2f7", m.wsTabCur == i, focused)
continue
}
g := Groups[i]
label := g.Label