yolont 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/GUIDE.md CHANGED
@@ -130,7 +130,7 @@ What Yolont is **not**:
130
130
  | Thing | Why | Check |
131
131
  |---|---|---|
132
132
  | Node **22.13+** | uses the built-in `node:sqlite` | `node -v` |
133
- | [gitleaks](https://github.com/gitleaks/gitleaks#installing) on `PATH` | scans every diff before any LLM sees it | `gitleaks version` |
133
+ | [gitleaks](https://github.com/gitleaks/gitleaks#installing) v8+ | scans every diff before any LLM sees it | `gitleaks version` (or let the wizard install it) |
134
134
  | git | local diffs, memory repos | `git --version` |
135
135
  | A token for your git host | reads MRs, posts comments | see [Tokens](#tokens) |
136
136
  | An LLM | does the reading | see [LLM providers](#15-llm-providers) |
@@ -138,6 +138,12 @@ What Yolont is **not**:
138
138
  No gitleaks means no LLM call. That's on purpose: *fail closed* (see
139
139
  [chapter 17](#17-security-model-the-paranoid-chapter)).
140
140
 
141
+ gitleaks is a Go program, so `npm install` can't bring it along. If it's missing, the wizard
142
+ offers to download one pinned official release from GitHub, checks its SHA-256 against the sum
143
+ built into Yolont, and keeps it in Yolont's data dir (`~/.local/share/yolont/bin/`). Yolont uses
144
+ that copy first; a gitleaks on `PATH` works too. `YOLONT_GITLEAKS=/path/to/gitleaks` picks
145
+ another one.
146
+
141
147
  ### Quick install: npx, once
142
148
 
143
149
  ```bash
@@ -931,6 +937,7 @@ alias (`git@work:team/memory.git`), but it can't change a real https host.
931
937
  | `YOLONT_DATA_DIR` | CLI | data dir (default `~/.local/share/yolont`) |
932
938
  | `YOLONT_NO_KEYCHAIN` | CLI | `1` = use the credentials file, never the OS keychain |
933
939
  | `YOLONT_NO_UPDATE_CHECK` | CLI | `1` = don't ask npm for a newer version |
940
+ | `YOLONT_GITLEAKS` | CLI, CI | path to the gitleaks binary (default: Yolont's downloaded copy, then `PATH`) |
934
941
  | `YOLONT_PASSPHRASE` | CLI | encrypts `credentials.json` |
935
942
  | `YOLONT_CHANGE_TYPE` | CI | `label` (default), `steer` or `off` |
936
943
  | `YOLONT_IMAGE` | GitLab CI | image to run (pin a tag) |
@@ -965,8 +972,8 @@ It isn't installed globally. Use `npx yolont`, or `npm install -g yolont`. See [
965
972
  (npx reuses its cache otherwise).
966
973
 
967
974
  **"secret scan could not run"**
968
- gitleaks isn't on `PATH`. Install it. Yolont won't send a diff it couldn't scan, and that's by
969
- design.
975
+ gitleaks isn't installed (or is older than v8). Run `yolont`: the wizard offers to download it.
976
+ Or install it yourself. Yolont won't send a diff it couldn't scan, and that's by design.
970
977
 
971
978
  **The menu shows `□` instead of icons.**
972
979
  Your font has no Nerd Font glyphs. Set `icons: plain` in `config.yaml`, or install a Nerd Font.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yolont",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Yolont: LLM pull request reviewer for GitHub and GitLab. Guided setup, team conventions, sensitive zones, a 0-100 score and a local panel.",
5
5
  "license": "FSL-1.1-ALv2",
6
6
  "repository": {