Files
cline/sdk/examples/hooks/TaskStart.sh
T
Renee Huang e215d3d91c chore: rename example folders; fix references (#60)
* 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>
2026-05-07 20:38:04 -07:00

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 '{}'