"content": "{\n \"description\": \"Watch your code garden grow with each session. Plants evolve from seeds to trees based on your activity, with dynamic weather effects. Displays: Plant stages (🌱 seed 0-9, 🌿 sprout 10-19, 🍃 sapling 20-29, 🌳 tree 30-39, 🌺 flower 40+), Weather (🌧️ rainy every 7 growth points, ☀️ sunny every 5 points, ⛅ cloudy default), Garden Level (stage number), Growth counter (total session interactions).\",\n \"statusLine\": {\n \"type\": \"command\",\n \"command\": \"bash -c 'input=$(cat); MODEL=$(echo \\\"$input\\\" | jq -r \\\".model.display_name\\\"); DIR=$(echo \\\"$input\\\" | jq -r \\\".workspace.current_dir\\\"); SESSION=$(echo \\\"$input\\\" | jq -r \\\".session_id\\\" | cut -c1-8); CACHE=\\\"/tmp/garden_$SESSION\\\"; if [ ! -f \\\"$CACHE\\\" ]; then echo \\\"0\\\" > \\\"$CACHE\\\"; fi; GROWTH=$(cat \\\"$CACHE\\\"); GROWTH=$((GROWTH + 1)); echo \\\"$GROWTH\\\" > \\\"$CACHE\\\"; STAGE=$((GROWTH / 10)); case $STAGE in 0) PLANT=\\\"🌱\\\";; 1) PLANT=\\\"🌿\\\";; 2) PLANT=\\\"🍃\\\";; 3) PLANT=\\\"🌳\\\";; *) PLANT=\\\"🌺\\\";; esac; WEATHER=$([ $((GROWTH % 7)) -eq 0 ] && echo \\\"🌧️\\\" || [ $((GROWTH % 5)) -eq 0 ] && echo \\\"☀️\\\" || echo \\\"⛅\\\"); echo \\\"[$MODEL] $PLANT $WEATHER Garden Lv.$STAGE | 📁 ${DIR##*/} | Growth: $GROWTH\\\"'\"\n }\n}",
0 commit comments