Stats
Actions
Tags
Help us improve
Share bugs, ideas, or general feedback.
From media
Runs a persistent state manager on session stop and a keyword detection script on every user prompt. Uses Bun to execute TypeScript hooks for session continuity and trigger logic.
2 events · 2 hooks
npx claudepluginhub udecode/dotai --plugin mediaWhere this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
DISABLED=$(node ${CLAUDE_PLUGIN_ROOT}/scripts/get-env.js CLAUDE_MEDIA_DISABLED false 2>/dev/null || echo 'false'); AUTO_PAUSE=$(node ${CLAUDE_PLUGIN_ROOT}/scripts/get-env.js CLAUDE_MEDIA_AUTO_PAUSE true 2>/dev/null || echo 'true'); if [ "$DISABLED" = "false" ] && [ "$AUTO_PAUSE" = "true" ]; then media-control pause 2>/dev/null || true; fiDISABLED=$(node ${CLAUDE_PLUGIN_ROOT}/scripts/get-env.js CLAUDE_MEDIA_DISABLED false 2>/dev/null || echo 'false'); AUTO_START=$(node ${CLAUDE_PLUGIN_ROOT}/scripts/get-env.js CLAUDE_MEDIA_AUTO_START true 2>/dev/null || echo 'true'); if [ "$DISABLED" = "false" ] && [ "$AUTO_START" = "true" ]; then media-control play 2>/dev/null || true; fiShare bugs, ideas, or general feedback.