fix(kugetsu): use --format json for session existence check (#38) #39
Reference in New Issue
Block a user
Delete Branch "fix/issue-38-session-checking"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Use
opencode session list --format jsonwith grep instead of table output to makecheck_opencode_session_exists()more reliable.This fixes issue #38 where forked sessions may not appear in the table format output, causing false 'session expired' reports.
Changes
skills/kugetsu/scripts/kugetsu:306- Changed from:Testing
kugetsu initand verify session checking works correctlyNotes
lgtm