This project welcomes contributions. Most contributions require you to signoff on your commits via the Developer Certificate of Origin (DCO).
Before submitting:
- Search existing issues to avoid duplicates
- Use issue templates when available
Include:
- Hyperagent version (
hyperagent --version) - Operating system and hypervisor (KVM/MSHV/WHP)
- Steps to reproduce
- Expected vs actual behavior
- Relevant logs or error messages
Describe:
- Use case and motivation
- Proposed solution
- Alternatives considered
- Fork the repository
- Create a feature branch from
main - Make changes with tests
- Run
npm run check(must pass) - Submit PR against
main
Commits must be signed-off via DCO:
git commit -s -m "Description of change"This adds a Signed-off-by line certifying you wrote or have the right to submit the code.
- Tests pass (
npm test) - Type check passes (
npm run typecheck) - Code formatted (
npm run fmt) - Commits are signed-off (DCO)
PRs run tests on multiple platforms:
- Linux with KVM
- Azure Linux with MSHV
- Windows 11 with WHP (Hyper-V)
See docs/DEVELOPMENT.md for:
- Prerequisites (Node.js, Rust, hypervisor)
- Build commands
- Project structure
- Testing guidelines
- Formatting: Prettier (run
npm run fmt) - TypeScript: Strict mode enabled
- Plugins: Must be TypeScript files (enforced by tests)
By contributing, you agree that your contributions will be licensed under the Apache 2.0 License.