Check if daplug plugin has updates available
Check for daplug plugin updates and show current vs latest version. Use this when troubleshooting plugin issues or ensuring you have the latest features.
/plugin marketplace add cruzanstx/daplug/plugin install daplug@cruzanstxRun this command, then output the result to the user:
bash -c 'REMOTE=$(jq -r ".\"daplug\".source.url // empty" ~/.claude/plugins/known_marketplaces.json 2>/dev/null) && INSTALLED=$(jq -r ".plugins.\"daplug@cruzanstx\"[0].version // empty" ~/.claude/plugins/installed_plugins.json 2>/dev/null) && LATEST=$(git archive --remote="$REMOTE" HEAD plugins/daplug/.claude-plugin/plugin.json 2>/dev/null | tar -xO 2>/dev/null | jq -r ".version // empty") && echo "daplug: v${INSTALLED:-not installed} -> v${LATEST:-unknown}" && test "$INSTALLED" = "$LATEST" && echo "UP_TO_DATE" || echo "NEEDS_UPDATE"'
Based on output, respond:
daplug v{VERSION} is up to dateUpdate available! Run:
claude plugin uninstall daplug@cruzanstx && claude plugin marketplace update daplug && claude plugin install daplug@cruzanstx
Then resume session:
claude --resume
Note: You must uninstall first - claude plugin install won't overwrite an existing version.