fix(resume): add grok agent support to resolve_session_id and resume_session

This commit is contained in:
2026-08-26 15:10:03 +09:00
parent 7797b31d45
commit 5ed9ec79d7
2 changed files with 3 additions and 3 deletions
@@ -36,8 +36,8 @@ done
[ -n "$WORKSPACE" ] || { echo "ERROR: --workspace required" >&2; exit 2; }
[ -n "$AGENT" ] || { echo "ERROR: --agent required" >&2; exit 2; }
case "$AGENT" in
claude|agy|hermes|cline) ;;
*) echo "ERROR: --agent must be claude or agy or hermes or cline" >&2; exit 2 ;;
claude|agy|hermes|cline|grok) ;;
*) echo "ERROR: --agent must be claude, agy, hermes, cline, or grok" >&2; exit 2 ;;
esac
find_workspace_uuid "$WORKSPACE" "$AGENT" "$SESSION_NAME"
@@ -42,7 +42,7 @@ done
[ -n "$WORKSPACE" ] || { echo "ERROR: --workspace required" >&2; exit 2; }
[ -n "$AGENT" ] || { echo "ERROR: --agent required" >&2; exit 2; }
case "$AGENT" in
claude|agy|hermes|cline) ;;
claude|agy|hermes|cline|grok) ;;
*) echo "ERROR: unsupported agent: $AGENT" >&2; exit 2 ;;
esac
[ -n "$SESSION_NAME" ] || { echo "ERROR: --session required" >&2; exit 2; }