diff --git a/plugin/hooks/grimoire_defs.sh b/plugin/hooks/grimoire_defs.sh index 16d899e7..21ab3b06 100644 --- a/plugin/hooks/grimoire_defs.sh +++ b/plugin/hooks/grimoire_defs.sh @@ -871,7 +871,9 @@ grimoire_config() { # Sent as `X-Grimoire-Plugin` on every request. The server keeps it on each # rule line it delivers, and counts a line toward a rule's open rate only # when it is there: a plugin that sends it also reports every open, so a - # line without it is one whose opens were never going to be heard. + # line without it is one whose opens were never going to be heard. The hooks + # that source this file read it, which shellcheck cannot see from here. + # shellcheck disable=SC2034 plugin_version=$(sed -n 's/^ *"version": *"\([^"]*\)".*/\1/p' \ "$(dirname "${BASH_SOURCE[0]}")/../.claude-plugin/plugin.json" 2>/dev/null | head -n 1) [ -n "$url" ] && [ -n "$token" ]