Merge pull request 'fix(kugetsu): use --format json for session existence check (#38)' (#39) from fix/issue-38-session-checking into main
This commit was merged in pull request #39.
This commit is contained in:
@@ -303,7 +303,7 @@ validate_issue_ref() {
|
||||
|
||||
check_opencode_session_exists() {
|
||||
local session_id="$1"
|
||||
opencode session list 2>/dev/null | grep -q "^$session_id"
|
||||
opencode session list --format json 2>/dev/null | grep -q "\"$session_id\""
|
||||
}
|
||||
|
||||
kugetsu_get_pm_context() {
|
||||
|
||||
Reference in New Issue
Block a user