Skip to content

Conversation

@j4rviscmd
Copy link
Owner

@j4rviscmd j4rviscmd commented Jan 20, 2026

Summary

  • Add CAUTION block explaining that OpenCode does not execute npm postinstall scripts
  • Provide one-time manual setup command for users to copy slash command files
  • Emphasize "one-time setup" to reduce installation friction

Test plan

  • Verify CAUTION block renders correctly on GitHub
  • Confirm manual command works: cd ~/.cache/opencode/node_modules/opencode-agent-modes && node dist/postinstall.js

🤖 Generated with Claude Code

j4rviscmd and others added 2 commits January 20, 2026 17:23
OpenCode does not execute npm postinstall scripts when installing
plugins, so users need to manually run the postinstall command once
after initial installation to copy slash command files.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
postinstall requires dist/ which doesn't exist before build step.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@j4rviscmd j4rviscmd merged commit 6c78e88 into main Jan 20, 2026
1 check passed
@j4rviscmd j4rviscmd deleted the docs/add-manual-postinstall-instructions branch January 20, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant