Add Opencode Webhook Plugin v0.0.1#2
Merged
zenibako merged 4 commits intoNov 20, 2025
Conversation
- Add "files" field to package.json to control what gets published - Add comprehensive npm pack step to CI workflow: - Creates tarball with npm pack - Verifies package contents and size - Checks that essential files are included - Ensures unwanted files (tests, node_modules) are excluded - Uploads package as artifact (7-day retention) - Add "package" npm script for local testing - Add *.tgz to .gitignore Package size: 8.5 KB (unpacked: 29.8 KB) Package includes: dist/, LICENSE, README.md, package.json
- Add npm run package to available scripts - Update CI workflow description to include packaging step
CI Pipeline Enhancements: - Add npm publish dry-run verification to catch issues early - Verify package can be published on every build - Ensures no surprises during actual release Release Workflow Enhancements: - Verify package.json version matches GitHub release tag - Create and publish npm package with provenance - Verify package availability on npm registry - Upload multiple release assets (npm tarball + source archive) - Generate detailed release summary with links Documentation: - Add RELEASE.md with complete release process guide - Document version management and semver guidelines - Add troubleshooting section for common issues - Update README with publishing information Features: - ✅ Automated version verification - ✅ Full quality checks before publish (lint, test, build) - ✅ NPM provenance for supply chain security - ✅ Post-publish verification - ✅ Release asset creation - ✅ Detailed GitHub Actions summaries Package verified: - Size: 8.9 KB (unpacked: 30.7 KB) - All 41 tests passing - Ready for npm publishing
- Update package version from 1.0.0 to 0.0.1 - Preparing for initial beta release - Follows semver for pre-1.0 development versions
PR Validation Results✅ All checks completed! Test Coverage
Build artifacts generated successfully. |
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment Thanks for integrating Codecov - We've got you covered ☂️ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Opencode Webhook Plugin
This PR adds a comprehensive TypeScript plugin for Opencode that enables sending webhook notifications on any Opencode event.
Features
shouldSendQuality
Package Details
@opencode/webhook-plugin0.0.1Installation
```bash
npm install @opencode/webhook-plugin
```
Next Steps
After merge, create a GitHub release with tag
v0.0.1to automatically publish to npm.