Compare commits

...
Author SHA1 Message Date
bendtherules 890749aa9a chore(release): 0.0.8 2026-03-21 17:58:06 +05:30
bendtherules 8368cd8015 fix: add OTP prompt for npm publish to enhance security 2026-03-21 17:58:00 +05:30
2 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "opencode-multi-model", "name": "opencode-multi-model",
"version": "0.0.7", "version": "0.0.8",
"description": "Launch multiple AI models in tmux sessions - OpenCode Plugin, CLI, and Project Tool", "description": "Launch multiple AI models in tmux sessions - OpenCode Plugin, CLI, and Project Tool",
"type": "module", "type": "module",
"main": "./dist/index.js", "main": "./dist/index.js",
+7 -2
View File
@@ -30,8 +30,13 @@ if [[ "$confirm" != "y" && "$confirm" != "Y" ]]; then
exit 0 exit 0
fi fi
# Publish to npm # Prompt for OTP
npm publish read -p "Enter npm OTP (leave blank if not using 2FA): " otp
if [[ -n "$otp" ]]; then
npm publish --otp "$otp"
else
npm publish
fi
# Push git commits and tags # Push git commits and tags
git push && git push --tags git push && git push --tags