m10-sessions
main
Sessions (M10).
/new
/clear
hx_core::session
list
list_all
Meta
dir
new_path
title
model
/sessions
/resume
hx -r
tab
ctrl-d
●
ctrl-p
hx -r <query>
new session
sessions {scope}
new
resume {path}
state.title
Verified: tests/all.sh green (74 unit tests; m7 e2e covers rpc sessions/new/resume and hx -r match/no-match; tui smoke covers /new, /sessions filter + resume), plus pty render.
tests/all.sh
Closes #86, closes #87, closes #88, closes #89, closes #90, closes #91
No dependencies set.
The note is not visible to the blocked user.
Sessions (M10).
/newstarts a new session file;/clearis now an alias (it used to rebase inside the same file, stranding history). Old file untouched and resumable.hx_core::session:list,list_all,Meta(title, modified, messages, model, branches, project),dir,new_path,title. Assistant entries recordmodel(optional; old files load)./sessions(also/resumewithout arg,hx -r): full-screen picker with fuzzy filter, preview (text + tool lines),tabproject/all scope,ctrl-ddelete with y/n (current session protected), current marked●.ctrl-pshows 5 newest sessions + "more sessions…".hx -r <query>resumes the best title match; errors when nothing matches.new sessionuntil first prompt; dropped first on narrow terminals); OSC 2 sets the terminal title.sessions {scope},new,resume {path};state.title.Verified:
tests/all.shgreen (74 unit tests; m7 e2e covers rpc sessions/new/resume andhx -rmatch/no-match; tui smoke covers /new, /sessions filter + resume), plus pty render.Closes #86, closes #87, closes #88, closes #89, closes #90, closes #91