Description
Opening opencode from the home directory can make /sessions hide older home sessions.
In the failing case the TUI session query used path=home/cagedbird. Older home sessions in the database had directory=/home/cagedbird and an empty path, so they were filtered out even though opencode session list and the session API could still return them.
Plugins
rtk, opencode-browser
OpenCode version
1.15.11
Steps to reproduce
- Have existing home sessions stored with
directory=$HOME and empty path.
- Open opencode from
$HOME.
- Open
/sessions.
- Some home sessions are missing.
Screenshot and/or share link
Not available. Local logging showed the dialog query was {"path":"home/cagedbird"} while the missing session had path=''.
Operating System
Arch Linux
Terminal
Konsole / zsh
Description
Opening opencode from the home directory can make
/sessionshide older home sessions.In the failing case the TUI session query used
path=home/cagedbird. Older home sessions in the database haddirectory=/home/cagedbirdand an emptypath, so they were filtered out even thoughopencode session listand the session API could still return them.Plugins
rtk, opencode-browser
OpenCode version
1.15.11
Steps to reproduce
directory=$HOMEand emptypath.$HOME./sessions.Screenshot and/or share link
Not available. Local logging showed the dialog query was
{"path":"home/cagedbird"}while the missing session hadpath=''.Operating System
Arch Linux
Terminal
Konsole / zsh