Opencode already supports continuing old sessions with ctrl-x, l.