fix: add cline agent support to resolve_session_id.sh and resume documentation
This commit is contained in:
@@ -104,6 +104,10 @@ case "$AGENT" in
|
|||||||
tmux new-session -d -s "$SESSION_NAME" -x 140 -y 40 -c "$WORKSPACE" \
|
tmux new-session -d -s "$SESSION_NAME" -x 140 -y 40 -c "$WORKSPACE" \
|
||||||
"hermes --resume $UUID"
|
"hermes --resume $UUID"
|
||||||
;;
|
;;
|
||||||
|
cline)
|
||||||
|
tmux new-session -d -s "$SESSION_NAME" -x 140 -y 40 -c "$WORKSPACE" \
|
||||||
|
"cline -i --id $UUID"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# 4. Update agent-sessions.yaml: status running, last_visible_status
|
# 4. Update agent-sessions.yaml: status running, last_visible_status
|
||||||
|
|||||||
@@ -33,8 +33,8 @@ done
|
|||||||
[ -n "$WORKSPACE" ] || { echo "ERROR: --workspace required" >&2; exit 2; }
|
[ -n "$WORKSPACE" ] || { echo "ERROR: --workspace required" >&2; exit 2; }
|
||||||
[ -n "$AGENT" ] || { echo "ERROR: --agent required" >&2; exit 2; }
|
[ -n "$AGENT" ] || { echo "ERROR: --agent required" >&2; exit 2; }
|
||||||
case "$AGENT" in
|
case "$AGENT" in
|
||||||
claude|agy|hermes) ;;
|
claude|agy|hermes|cline) ;;
|
||||||
*) echo "ERROR: --agent must be claude or agy or hermes" >&2; exit 2 ;;
|
*) echo "ERROR: --agent must be claude or agy or hermes or cline" >&2; exit 2 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
find_workspace_uuid "$WORKSPACE" "$AGENT"
|
find_workspace_uuid "$WORKSPACE" "$AGENT"
|
||||||
|
|||||||
Reference in New Issue
Block a user