mirror of
https://github.com/cline/cline.git
synced 2026-08-31 01:40:46 +08:00
e215d3d91c
* rename folders * fix examples reorg references * move over files * having agent fixing and validating all examples are still working * fix sidecar paths --------- Co-authored-by: abeatrix <beatrix@cline.bot>
15 lines
414 B
Bash
Executable File
15 lines
414 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Cline Hook: TaskStart
|
|
# Logs when an agent task starts
|
|
# Copy to ~/.cline/hooks/TaskStart.sh and chmod +x
|
|
|
|
input=$(cat)
|
|
timestamp=$(echo "$input" | jq -r '.timestamp // "unknown"')
|
|
sessionId=$(echo "$input" | jq -r '.sessionContext.rootSessionId // "unknown"')
|
|
|
|
echo "🚀 Task started at $timestamp" >&2
|
|
echo " Session: $sessionId" >&2
|
|
|
|
# Lifecycle events are informational only
|
|
echo '{}'
|