Stats
Actions
Tags
From herald
Runs a shell script on session start to initialize the plugin environment. Executes bash commands.
1 event · 1 hook
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
*bash -c 'DB="${HERALD_DATA_DIR:-$HOME/.herald}/herald.db"; [ -f "$DB" ] && python3 -c "import sqlite3,time; db=sqlite3.connect(\"$DB\"); r=db.execute(\"SELECT finished_at FROM pipeline_runs ORDER BY id DESC LIMIT 1\").fetchone(); fresh=r and (time.time()-r[0])<86400; print(\"Herald digest ready — /news-digest to read.\") if fresh else print(\"Herald digest stale (>24h). Run /news-run to update.\")" 2>/dev/null'2msnpx claudepluginhub heurema/herald