fix(kugetsu): destroy --base and --pm-agent actually delete opencode sessions #113

Merged
shoko merged 1 commits from fix/destroy-removes-opencode-session into main 2026-04-02 15:30:48 +02:00

1 Commits

Author SHA1 Message Date
shokollm
4342347ac6 fix(kugetsu): destroy --base and --pm-agent actually delete opencode sessions
Previously destroy only removed local session files but didn't delete
the sessions from opencode's database. This caused init to reuse the
same session with old context.

Now destroy calls 'opencode session delete <id>' to properly remove
the session from opencode.
2026-04-02 13:28:47 +00:00