yolont 0.4.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/README.md +4 -3
- package/dist/cli.js +354 -93
- package/dist/cli.js.map +4 -4
- package/docs/GUIDE.md +20 -4
- package/package.json +1 -1
package/docs/GUIDE.md
CHANGED
|
@@ -93,7 +93,8 @@ What Yolont is **not**:
|
|
|
93
93
|
does, so the human can spend their attention on what matters.
|
|
94
94
|
- Something that phones home. No telemetry. Your diff goes only to the LLM *you* configured,
|
|
95
95
|
and only after a secret scan passes. The only other services are the optional ones you
|
|
96
|
-
switch on yourself (see [Optional services](#optional-services)).
|
|
96
|
+
switch on yourself (see [Optional services](#optional-services)). The wizard does ask npm
|
|
97
|
+
"what's the latest yolont?" (a plain GET, nothing about you); `YOLONT_NO_UPDATE_CHECK=1` stops it.
|
|
97
98
|
|
|
98
99
|
---
|
|
99
100
|
|
|
@@ -129,7 +130,7 @@ What Yolont is **not**:
|
|
|
129
130
|
| Thing | Why | Check |
|
|
130
131
|
|---|---|---|
|
|
131
132
|
| Node **22.13+** | uses the built-in `node:sqlite` | `node -v` |
|
|
132
|
-
| [gitleaks](https://github.com/gitleaks/gitleaks#installing)
|
|
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) |
|
|
133
134
|
| git | local diffs, memory repos | `git --version` |
|
|
134
135
|
| A token for your git host | reads MRs, posts comments | see [Tokens](#tokens) |
|
|
135
136
|
| An LLM | does the reading | see [LLM providers](#15-llm-providers) |
|
|
@@ -137,6 +138,12 @@ What Yolont is **not**:
|
|
|
137
138
|
No gitleaks means no LLM call. That's on purpose: *fail closed* (see
|
|
138
139
|
[chapter 17](#17-security-model-the-paranoid-chapter)).
|
|
139
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
|
+
|
|
140
147
|
### Quick install: npx, once
|
|
141
148
|
|
|
142
149
|
```bash
|
|
@@ -172,6 +179,10 @@ yolont --help
|
|
|
172
179
|
npm update -g yolont # later, to upgrade
|
|
173
180
|
```
|
|
174
181
|
|
|
182
|
+
The wizard shows your version in its banner and status panel. When npm has a newer one, the
|
|
183
|
+
menu gets an **Update to vX.Y.Z** entry: on a global install it runs the `npm install -g` for
|
|
184
|
+
you; from npx or a source checkout it tells you the command. `yolont --version` prints it too.
|
|
185
|
+
|
|
175
186
|
### From a checkout (contributors)
|
|
176
187
|
|
|
177
188
|
```bash
|
|
@@ -869,6 +880,8 @@ Yolont reads other people's code and holds tokens that can comment on it. So:
|
|
|
869
880
|
secret.
|
|
870
881
|
- **Fork PRs are never executed.** With `pull_request_target`, Yolont reads them only through
|
|
871
882
|
the API.
|
|
883
|
+
- **Update check.** The wizard asks `registry.npmjs.org` for yolont's latest version: a GET
|
|
884
|
+
with no token, no project, no diff. Skipped in CI and with `YOLONT_NO_UPDATE_CHECK=1`.
|
|
872
885
|
- **Optional services leave the machine too.** Jev receives findings plus diff context, and MinIO
|
|
873
886
|
receives author history, but only when you configure them (see
|
|
874
887
|
[Optional services](#optional-services)).
|
|
@@ -883,6 +896,7 @@ Found a hole? Report it privately to the maintainers, not as a public issue.
|
|
|
883
896
|
|
|
884
897
|
```
|
|
885
898
|
yolont guided: set up what's missing, then the menu
|
|
899
|
+
yolont --version print the installed version
|
|
886
900
|
yolont setup [<address>] [--step forge|llm|conventions|zones|weights]
|
|
887
901
|
yolont review <MR/PR URL> [--pipeline-id N] [--focus "..."]
|
|
888
902
|
yolont sync-replies <MR/PR URL>
|
|
@@ -922,6 +936,8 @@ alias (`git@work:team/memory.git`), but it can't change a real https host.
|
|
|
922
936
|
| `YOLONT_CONFIG_DIR` | CLI | config dir (default `~/.config/yolont`) |
|
|
923
937
|
| `YOLONT_DATA_DIR` | CLI | data dir (default `~/.local/share/yolont`) |
|
|
924
938
|
| `YOLONT_NO_KEYCHAIN` | CLI | `1` = use the credentials file, never the OS keychain |
|
|
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`) |
|
|
925
941
|
| `YOLONT_PASSPHRASE` | CLI | encrypts `credentials.json` |
|
|
926
942
|
| `YOLONT_CHANGE_TYPE` | CI | `label` (default), `steer` or `off` |
|
|
927
943
|
| `YOLONT_IMAGE` | GitLab CI | image to run (pin a tag) |
|
|
@@ -956,8 +972,8 @@ It isn't installed globally. Use `npx yolont`, or `npm install -g yolont`. See [
|
|
|
956
972
|
(npx reuses its cache otherwise).
|
|
957
973
|
|
|
958
974
|
**"secret scan could not run"**
|
|
959
|
-
gitleaks isn't
|
|
960
|
-
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.
|
|
961
977
|
|
|
962
978
|
**The menu shows `□` instead of icons.**
|
|
963
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.
|
|
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": {
|