Spaces:
Running
Running
|
Download CONTRIBUTING.md from Jishnupg/Opencode-Cli: direct link, hf CLI and curl.
- Browser
- Download file 2.25 kB
-
https://huggingface.co/spaces/Jishnupg/Opencode-Cli/resolve/main/CONTRIBUTING.md
- Command line
-
hf download hf://spaces/Jishnupg/Opencode-Cli/CONTRIBUTING.md
-
curl -L -o CONTRIBUTING.md https://huggingface.co/spaces/Jishnupg/Opencode-Cli/resolve/main/CONTRIBUTING.md
2.25 kB
Contributing to OpenCode CLI
Thank you for your interest in contributing to OpenCode CLI! We welcome contributions, bug reports, feature requests, and pull requests.
π Table of Contents
- Code of Conduct
- How to Contribute
- Development Setup
- Pull Request Process
- Coding & Architecture Standards
π Code of Conduct
Please be polite, respectful, and collaborative in all communications.
π€ How to Contribute
- Reporting Bugs: Open an issue on GitHub describing the steps to reproduce, expected behavior, actual behavior, and container logs.
- Feature Requests: Open an issue detailing the use case, proposed architecture, and benefit to the community.
- Pull Requests: Fork the repository, create a topic branch, implement your changes with tests/validations, and submit a PR.
π οΈ Development Setup
- Clone the repository:
git clone https://github.com/JishnuPG-tech/Project.git cd Project - Environment File:
Copy
.env.exampleto.envand set local test secrets. - Syntax Checks:
- Python:
python -m py_compile gateway/*.py proxy.py tg_streamer.py - Shell:
bash -n entrypoint.sh
- Python:
π Pull Request Process
- Branch Naming: Use descriptive branch names like
feat/new-router,fix/hermes-config,docs/update-readme. - Commit Messages: Follow Conventional Commits:
feat(gateway): add new endpoint for agent metricsfix(hermes): resolve port binding configurationdocs(readme): add client integration examples
- Architecture Verification: Ensure your changes adhere to the locked architecture documents (
ARCHITECTURE.md,HERMES_ARCHITECTURE.md).
π Coding & Architecture Standards
- No Hardcoded Secrets: Secrets must be loaded via environment variables or secret store.
- Persistent Volume Safety: All writable state must sync to
/data/volumes to survive container restarts. - Non-Blocking Proxies: Use async HTTP client (
httpx/aiohttp) for high-throughput routing.