mirror of
https://github.com/backnotprop/plannotator.git
synced 2026-09-14 14:17:26 +08:00
Add prominent OpenCode notice to install script
OpenCode users were running the Claude Code install script and getting confused. Added a clear banner at the end directing them to use the npm plugin instead. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
+17
-3
@@ -72,10 +72,24 @@ if ! echo "$PATH" | tr ':' '\n' | grep -qx "$INSTALL_DIR"; then
|
||||
echo " source ${shell_config}"
|
||||
fi
|
||||
|
||||
# Clear any cached OpenCode plugin to force fresh download on next run
|
||||
rm -rf ~/.cache/opencode/node_modules/@plannotator
|
||||
|
||||
echo ""
|
||||
echo "Test the install:"
|
||||
echo ' echo '"'"'{"tool_input":{"plan":"# Test Plan\\\\n\\\\nHello world"}}'"'"' | plannotator'
|
||||
echo "=========================================="
|
||||
echo " USING OPENCODE? YOU DON'T NEED THIS!"
|
||||
echo "=========================================="
|
||||
echo ""
|
||||
echo "Then install the Claude Code plugin:"
|
||||
echo "OpenCode users don't need this binary. Just add to your opencode.json:"
|
||||
echo ""
|
||||
echo ' "plugin": ["@plannotator/opencode@latest"]'
|
||||
echo ""
|
||||
echo "Then restart OpenCode. We've cleared any cached versions for you."
|
||||
echo ""
|
||||
echo "=========================================="
|
||||
echo " CLAUDE CODE USERS: YOU'RE ALL SET!"
|
||||
echo "=========================================="
|
||||
echo ""
|
||||
echo "Install the Claude Code plugin:"
|
||||
echo " /plugin marketplace add backnotprop/plannotator"
|
||||
echo " /plugin install plannotator@plannotator"
|
||||
|
||||
Reference in New Issue
Block a user