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
Owner

Previously destroy only removed local session files but did not delete the sessions from opencode database. This caused init to reuse the same session with old context.

Now destroy calls opencode session delete to properly remove sessions.

Previously destroy only removed local session files but did not delete the sessions from opencode database. This caused init to reuse the same session with old context. Now destroy calls opencode session delete to properly remove sessions.
shoko added 1 commit 2026-04-02 15:29:03 +02:00
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.
han approved these changes 2026-04-02 15:30:28 +02:00
han left a comment
First-time contributor

lgtm

lgtm
shoko merged commit c4c3556247 into main 2026-04-02 15:30:48 +02:00
Sign in to join this conversation.