fix(kugetsu): remove broken session existence check (#38) #40
Reference in New Issue
Block a user
Delete Branch "fix/issue-38-remove-broken-session-check"
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
Remove the fundamentally broken
check_opencode_session_exists()function usage. The function relied onopencode session listwhich does NOT include forked sessions regardless of output format (table or JSON). This caused false 'session expired' reports.Changes
opencode runfail naturally if session is deadRoot Cause
opencode run --fork --sessioncreates sessions that are fully functional but do NOT appear inopencode session list. This is a fundamental limitation - the existence check was always going to fail for forked sessions.Testing
kugetsu initand verifykugetsu statusreturnsokIssue #38: #38
lgtm