Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.41 KB

CONTRIBUTING.md

File metadata and controls

38 lines (27 loc) · 1.41 KB

Contributing

Thanks for helping out. Bug reports, ideas and pull requests are all welcome.

Setup

With Rust, Node.js 22+, the Tauri prerequisites and, on macOS, the Xcode Command Line Tools installed:

git clone https://github.com/EricTechPro/jarvis.git
cd jarvis/showcase/tauri
(cd sidecar && npm ci && npm test)
./build.sh dev        # debug build
./build.sh            # release bundle for this OS

On Windows, run these in Git Bash (it comes with Git for Windows), not PowerShell or Command Prompt: build.sh is a Bash script, and Windows PowerShell 5 doesn't accept &&.

Before you open a pull request

  • Run npm test in showcase/tauri/sidecar.
  • Run shellcheck on any shell script you changed.
  • Write commit subjects and the pull request title as <emoji> [type] scope: subject (see the Commits section of AGENTS.md); git config core.hooksPath .githooks checks them for you.
  • Keep CI (.github/workflows/ci.yml) green.
  • Keep pull requests small and focused on one thing.

The safety rule

Every tool that touches files, commands, URLs or other apps goes through showcase/tauri/sidecar/safety.mjs. Add a test case in showcase/tauri/sidecar/test/safety.test.mjs with every rule change.

Security problems

Please don't open a public issue. Report them as described in SECURITY.md.