pi-lens 4.5.1 → 4.5.2
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/CHANGELOG-USER.md +6 -6
- package/CHANGELOG.md +121 -0
- package/README.md +9 -2
- package/dist/{chunk-ZVQUYCBU.js → chunk-2ERVW2UF.js} +161 -100
- package/dist/{chunk-AFSG6YUB.js → chunk-2K7BUOKS.js} +13 -13
- package/dist/{chunk-BJGWP4UX.js → chunk-3JJ4OAJI.js} +10 -10
- package/dist/{chunk-GIK6VUCY.js → chunk-3UHGSUVL.js} +1 -1
- package/dist/{chunk-EKQDQPX6.js → chunk-463WN3VP.js} +1 -1
- package/dist/{chunk-F7BFIENK.js → chunk-4X3ML2UQ.js} +29 -32
- package/dist/{chunk-7JMEPY6P.js → chunk-5BI5YP57.js} +10 -10
- package/dist/{chunk-MKW7ZUTT.js → chunk-5Z4XLUFF.js} +3 -3
- package/dist/{chunk-NIZKGBOU.js → chunk-62AJH3IN.js} +12 -14
- package/dist/{chunk-4GLSO2EM.js → chunk-6F34GMP7.js} +12 -12
- package/dist/{chunk-35UJUF27.js → chunk-6LIUVGOR.js} +13 -3
- package/dist/{chunk-WJ7GY5WJ.js → chunk-6REF4GCO.js} +1 -1
- package/dist/{chunk-HFIFEH46.js → chunk-7KRR24GO.js} +3 -3
- package/dist/{chunk-WAK2AXQQ.js → chunk-7OMOMBEQ.js} +9 -9
- package/dist/{chunk-S7KUDW73.js → chunk-7ZFXICNN.js} +15 -15
- package/dist/{chunk-VEF3GFOL.js → chunk-ABKRQVOY.js} +28 -52
- package/dist/{chunk-Y2LIOCA7.js → chunk-ANSLRJBG.js} +1 -1
- package/dist/{chunk-ARTCVE6I.js → chunk-AWMFBPGJ.js} +9 -9
- package/dist/{chunk-H6DNTQ4V.js → chunk-BG7KHGNX.js} +2 -2
- package/dist/{chunk-FD4LJQ6Y.js → chunk-BK2R2223.js} +10 -8
- package/dist/{chunk-TWAQFMLW.js → chunk-BXXC6KRR.js} +31 -34
- package/dist/{chunk-S247BOH2.js → chunk-CKJS2AUI.js} +4 -4
- package/dist/{chunk-GNK2IHVG.js → chunk-COGU5KQJ.js} +15 -15
- package/dist/{chunk-P7EV5ISR.js → chunk-CQNXALZJ.js} +12 -6
- package/dist/{chunk-IO6P3NBP.js → chunk-CSZESDPP.js} +1 -1
- package/dist/chunk-CZ5TCJPB.js +98 -0
- package/dist/{chunk-DLGJYQML.js → chunk-D2LFEA5U.js} +9 -2
- package/dist/chunk-D3KLF5CD.js +50 -0
- package/dist/{chunk-W2JPGW7Q.js → chunk-ENJ2M76Y.js} +20 -20
- package/dist/{chunk-2DWNYVUN.js → chunk-EQKF6BAK.js} +3 -3
- package/dist/{chunk-KIQSNH3F.js → chunk-F2SAP2FM.js} +38 -45
- package/dist/{chunk-BYIEU4E4.js → chunk-F6QAJXQV.js} +2 -2
- package/dist/chunk-GR2QDWH5.js +25 -0
- package/dist/{chunk-T2D2WWP6.js → chunk-GVE5VZYQ.js} +5 -5
- package/dist/{chunk-HMXWZUQW.js → chunk-GWZZOJD2.js} +1 -1
- package/dist/chunk-GZS6VPIE.js +27 -0
- package/dist/chunk-H4B4SC7I.js +71 -0
- package/dist/{chunk-2RQREVGO.js → chunk-HA6TUJOE.js} +1 -1
- package/dist/{chunk-NAACKIKT.js → chunk-HKPJTI47.js} +2 -2
- package/dist/{chunk-NHHS5T52.js → chunk-HPKC55MA.js} +1 -1
- package/dist/{chunk-B2QO7GHY.js → chunk-I65CQLCG.js} +1 -1
- package/dist/{chunk-BQ72NQQM.js → chunk-IDKLWVKY.js} +11 -11
- package/dist/chunk-IUM2Q7NF.js +25 -0
- package/dist/{chunk-PVV27TOX.js → chunk-J24IS3KZ.js} +5 -5
- package/dist/{chunk-DKXIUGNA.js → chunk-J2DAHH4T.js} +2 -2
- package/dist/{chunk-CDAJQBKJ.js → chunk-JBDZVOFL.js} +11 -11
- package/dist/{chunk-T7KHGEJ5.js → chunk-JC6NFC57.js} +3 -3
- package/dist/{chunk-BWGNVM33.js → chunk-JTHEUTW7.js} +11 -11
- package/dist/{chunk-WWZLT6AM.js → chunk-JWW3ODBN.js} +2 -2
- package/dist/{chunk-Q32RJDYC.js → chunk-K3ZIYLHT.js} +4 -4
- package/dist/{chunk-LDPY22FS.js → chunk-KDPZA2UE.js} +2 -3
- package/dist/{chunk-YIEHUKX2.js → chunk-KMY2OU4T.js} +489 -285
- package/dist/{chunk-WH6O4IFD.js → chunk-KQF7VT26.js} +10 -10
- package/dist/{chunk-OG3UCAHV.js → chunk-KVGA7X76.js} +3 -3
- package/dist/{chunk-TABDCX35.js → chunk-KW7O72AK.js} +2 -2
- package/dist/{chunk-AOEVZXR6.js → chunk-LEQTVRSV.js} +9 -9
- package/dist/{chunk-7BWPQZHE.js → chunk-LKPSBM6S.js} +3 -3
- package/dist/{chunk-WA6U2URH.js → chunk-LKW2HFSZ.js} +6 -6
- package/dist/{chunk-M3QGXGY4.js → chunk-LURFD4HD.js} +624 -97
- package/dist/{chunk-2YQ5LI7R.js → chunk-M6ELTECW.js} +4 -4
- package/dist/{chunk-OHTHVILU.js → chunk-MGVVYYKW.js} +12 -12
- package/dist/{chunk-W2YHHNY3.js → chunk-MQBKGRSB.js} +7 -7
- package/dist/{chunk-MET776XM.js → chunk-MVG2ZEAO.js} +6 -6
- package/dist/{chunk-2XALJI2K.js → chunk-MY4XNNTX.js} +39 -41
- package/dist/{chunk-GFCPPCNR.js → chunk-N4AJVFRF.js} +11 -11
- package/dist/{chunk-UARVPNAU.js → chunk-OFKKMXWM.js} +31 -36
- package/dist/{chunk-DHFJS2I4.js → chunk-OFZE4ANN.js} +8 -8
- package/dist/chunk-OLXBUTJR.js +61 -0
- package/dist/{chunk-SJ2SR432.js → chunk-OZGEHOSG.js} +38 -17
- package/dist/{chunk-6MDWNZ7E.js → chunk-PKGOROPQ.js} +40 -2
- package/dist/{chunk-3IWMNN2S.js → chunk-Q6D5QKRG.js} +17 -17
- package/dist/{chunk-JGCBMCCS.js → chunk-QECLJFHI.js} +12 -17
- package/dist/{chunk-KXKM2DFP.js → chunk-QJA33VD5.js} +4 -4
- package/dist/{chunk-YV7XVYSJ.js → chunk-R5XVJ6AN.js} +11 -11
- package/dist/{chunk-62PIU4TO.js → chunk-REZL4OM4.js} +1 -1
- package/dist/{chunk-NNDZ7DOP.js → chunk-RK5RBREN.js} +74 -107
- package/dist/chunk-RP5ZQTHO.js +86 -0
- package/dist/{chunk-HKRESBMC.js → chunk-RURPX2YV.js} +23 -23
- package/dist/chunk-TB5MGZLS.js +53 -0
- package/dist/chunk-TC63XRYP.js +27 -0
- package/dist/chunk-TJOYHAXJ.js +69 -0
- package/dist/{chunk-NZ7NSKIW.js → chunk-TRXKDCBP.js} +13 -13
- package/dist/{chunk-7WAQ3K26.js → chunk-TTK37D7R.js} +22 -23
- package/dist/{chunk-ALTHJUZO.js → chunk-UH3QHLR5.js} +2 -2
- package/dist/{chunk-6MZLS6CK.js → chunk-UNTJJ7GN.js} +7 -7
- package/dist/{chunk-XRLZ75YY.js → chunk-UPAFSETJ.js} +54 -59
- package/dist/{chunk-N2U644ZW.js → chunk-UX75PTQW.js} +50 -17
- package/dist/{chunk-EXHSWN3P.js → chunk-V353PYMK.js} +423 -233
- package/dist/{chunk-SL4G67AP.js → chunk-V4TFQY5G.js} +2 -2
- package/dist/{chunk-YOMLAKU6.js → chunk-VC3W54G3.js} +289 -138
- package/dist/{chunk-KSQJBGRO.js → chunk-VSBCJVPC.js} +5 -5
- package/dist/{chunk-EBXCYEII.js → chunk-WAQQGXVV.js} +3 -3
- package/dist/{chunk-7ORBRDFY.js → chunk-WLEVWR7Y.js} +2 -2
- package/dist/{chunk-Q4UQNTLB.js → chunk-WPMPVP5I.js} +4 -4
- package/dist/{chunk-TQKWR5AZ.js → chunk-WXNLFOC2.js} +7 -7
- package/dist/{chunk-HOWHAKXO.js → chunk-Y3ZNOZZS.js} +6 -6
- package/dist/{chunk-DNJJVKJZ.js → chunk-YL6JQTWC.js} +29 -32
- package/dist/{chunk-HUWW77QY.js → chunk-YVE5Q2UU.js} +86 -217
- package/dist/{chunk-25CAONWT.js → chunk-YZNARDMM.js} +12 -9
- package/dist/{chunk-HERQPNY6.js → chunk-ZDWNFZJ2.js} +8 -8
- package/dist/{chunk-MKQFSW2Q.js → chunk-ZEUF7BIN.js} +2 -2
- package/dist/{chunk-AB26NAHA.js → chunk-ZIF4WLWR.js} +45 -25
- package/dist/{chunk-6MWX2J5H.js → chunk-ZSPVF7KI.js} +227 -24
- package/dist/{chunk-QQGZY2BR.js → chunk-ZX6OKBVO.js} +2 -2
- package/dist/index.js +6455 -5243
- package/dist/mcp/analyze-cli.js +8 -8
- package/dist/mcp/cli.js +39 -41
- package/dist/mcp/server.js +870 -559
- package/dist/mcp/worker.js +68 -59
- package/dist/probes/installer.js +19 -20
- package/docs/configuration.md +24 -10
- package/docs/defect-shapes.md +18 -2
- package/docs/environment-variables.md +18 -9
- package/docs/globalconfig.md +16 -0
- package/docs/invariants/dispatch-runners.md +7 -0
- package/docs/invariants/lsp-trust-exec.md +33 -3
- package/docs/lsp-capability-matrix.md +23 -10
- package/docs/lsp-idle-eviction.md +8 -3
- package/docs/release-qa-baseline.md +22 -17
- package/docs/servercapabilities.md +1 -1
- package/docs/settings.md +9 -2
- package/docs/tools.md +1 -1
- package/package.json +3 -3
- package/dist/chunk-3UTDLQWO.js +0 -88
- package/dist/chunk-3Z7Z3B7V.js +0 -27
- package/dist/chunk-4E4OCW3L.js +0 -38
- package/dist/chunk-5HVDD7IA.js +0 -17
- package/dist/chunk-BKJ6WZKP.js +0 -255
- package/dist/chunk-D3UQWOCB.js +0 -46
- package/dist/chunk-EH6EHFW2.js +0 -73
- package/dist/chunk-J7VNGHLN.js +0 -69
- package/dist/chunk-L3Q72QGQ.js +0 -25
- package/dist/chunk-TFSBHRL2.js +0 -25
- package/dist/chunk-UWBD3JMH.js +0 -56
- package/dist/chunk-XWWFESYZ.js +0 -27
- package/dist/chunk-XZSXSM4K.js +0 -27
package/CHANGELOG-USER.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# User changelog
|
|
2
2
|
|
|
3
|
+
## [4.5.2] - 2026-11-22
|
|
4
|
+
|
|
5
|
+
1 feature, 23 fixes, 2 other changes.
|
|
6
|
+
|
|
7
|
+
Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.5.2
|
|
8
|
+
|
|
3
9
|
## [4.5.1] - 2026-11-16
|
|
4
10
|
|
|
5
11
|
1 feature, 26 fixes, 1 other change.
|
|
@@ -23,9 +29,3 @@ Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.4.12
|
|
|
23
29
|
32 fixes, 2 other changes.
|
|
24
30
|
|
|
25
31
|
Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.4.11
|
|
26
|
-
|
|
27
|
-
## [4.4.10] - 2026-11-06
|
|
28
|
-
|
|
29
|
-
2 features, 7 fixes, 1 other change.
|
|
30
|
-
|
|
31
|
-
Full notes: https://github.com/apmantza/pi-lens/releases/tag/v4.4.10
|
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,127 @@ All notable changes to pi-lens will be documented in this file.
|
|
|
16
16
|
|
|
17
17
|
### Security
|
|
18
18
|
|
|
19
|
+
## [4.5.2] - 2026-11-22
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
#### Configuration and flags
|
|
24
|
+
|
|
25
|
+
- **The diagnostics widget can now move above the editor or hide when clean.** Set `widget.position` to `"aboveEditor"` or `"belowEditor"` (the default), and set `widget.hideWhenClean` to `true` to hide the widget 5 seconds after it first shows `✓ clean`. With the hide on, the widget also draws nothing until a first check gives it something to show. It returns on any finding, unchecked file, suppressed finding, failed formatter or starting server. Both keys are global-only and have no CLI flag. (refs #5724)
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
#### Install and updates
|
|
30
|
+
|
|
31
|
+
- **The jscpd installer pins 5.4.3, and pi 1.5.2 is the tested host.** New installs get jscpd 5.4.3 in place of 5.4.2. (refs #5670)
|
|
32
|
+
|
|
33
|
+
- **pi-lens no longer installs rubocop, rustfmt or rust-clippy without asking.** Their installs (`gem install`, `rustup component add`) change your whole gem root or toolchain. The three still run when present. When they are absent, the rubocop runner reports `not-installed`, the rust-clippy runner reports `probe-rejected`, and the rustfmt and rubocop formatters skip silently. (refs #5410)
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
|
|
37
|
+
#### Language servers
|
|
38
|
+
|
|
39
|
+
- **Esc now cancels a project-wide diagnostics pull and a TypeScript project probe.** A `lens_diagnostics` full scan and the `projectInfo` request sent when a TypeScript file opens used to keep waiting on the language server after you aborted. Both now send a cancel and return at once. (refs #5097)
|
|
40
|
+
|
|
41
|
+
- **A language-server edit keeps the line ending of the edited line.** In a file with mixed line endings, new lines inserted by a rename or code action took the file's first line ending, so a CRLF line in an LF-first file got a bare LF (and the reverse). Files with one line-ending style are unchanged. (refs #5670)
|
|
42
|
+
|
|
43
|
+
- **Python servers reach global fallbacks, and PATH never runs unadmitted project files.** Python servers now reach global fallbacks for adopted projects: absent project candidates are reported as missing before trust is considered, while existing refused candidates no longer end a launch stage when installation is disabled. For an adopted project, or one pi has not trusted, a PATH entry inside the project (relative entries such as `bin` or `.` included) is skipped when a language server is looked up, and a PATH link into the project is refused. When PATH reaches such a project, managed lookups read only the pi-lens tool store, so the TypeScript and Jedi fallbacks and the Go, Ruby and .NET runtime installs no longer probe or run its `tsc`, `python` or `go`. (refs #5674)
|
|
44
|
+
|
|
45
|
+
- **The cascade now re-asks a push-only server about dependents it answered before your edit.** A server such as jdtls republishes a dependent when its own model changes, not when asked, so importers of an edited Java file stayed unconfirmed every time. For a server declared to re-check unchanged bytes (jdtls, TypeScript, Python) the cascade re-sends the dependent once per run and reads the answer; other servers are left as they were. A server that stays silent still leaves the dependent unconfirmed, never clean. (refs #5675)
|
|
46
|
+
|
|
47
|
+
- **LSP timeout notices now name the server and cause.** An unconfirmed document no longer reports only the generic unavailable message; the dispatch record carries the same reason for later inspection. (refs #5692)
|
|
48
|
+
|
|
49
|
+
- **On Windows, more language servers now end when pi ends.** A server whose path held a space, such as PowerShell 7 under `C:\Program Files`, or one installed as an npm 9 or later `.cmd` shim, ran behind `cmd.exe`, so pi's exit ended only the wrapper and the server kept running. pi-lens now starts these servers as its own direct child, so Windows ends them with pi even when pi is killed. A server started through another wrapper, such as a pnpm shim or a shim that passes Node flags, still runs behind `cmd.exe` and can outlive pi; pi-lens records each one as `lsp-server-uncontained`. (refs #5694)
|
|
50
|
+
|
|
51
|
+
- **Language servers now end with the pi or MCP process that started them.** On Linux and macOS, a server that ignored stdin EOF and SIGTERM outlived a pi quit, an MCP client disconnect, a SIGTERM to the MCP host and every `fresh` analysis worker. pi-lens now sends each held server's process group SIGKILL when its host exits. A host killed before that keeps its `instances.json` row, and the next pi or MCP start reaps the server. A server's child that ignores SIGTERM after the server exits is killed too, and `fresh` analysis now reads `lsp.json`. (refs #5699)
|
|
52
|
+
|
|
53
|
+
- **Language servers close old files and stop when a session goes idle.** Each client keeps at most 256 documents open (`PI_LENS_LSP_OPEN_DOCUMENT_CAP`) and closes the least recently sent one with `didClose`. A closed file's last findings stay readable, marked `closed: true` in the `lsp_navigation` workspace snapshot, and the next touch opens it again. Every server not declared `resident` is now released after the idle window on the pi host and the MCP host. Before, 32 servers, including every server a project declares, were never released. Only five project indexers (expert, kotlin, powershell, rust, svelte) stay resident. The pi host's session idle reset now restarts after a turn that edited files; before, such a turn cancelled it and nothing armed it again. (refs #5700)
|
|
54
|
+
|
|
55
|
+
- **Deno projects now use the Deno language server for TypeScript files.** TypeScript no longer claims files governed by `deno.json` or `deno.jsonc`, allowing the configured Deno fallback to start. (refs #5720)
|
|
56
|
+
|
|
57
|
+
- **An uncaught host error now runs exit cleanup for held language servers.** The LSP crash guard prints the stack and exits non-zero through Node's normal exit path, so pi RPC/print mode and the MCP host no longer leave a server behind. The stack report writes at most 16 KiB and waits at most 1 s for a full stderr pipe, so it cannot hold a crashing host. (refs #5744)
|
|
58
|
+
|
|
59
|
+
- **A checkout or rebase in a sibling worktree now refreshes the language server.**
|
|
60
|
+
A bash command that moved HEAD in another linked worktree it named, or
|
|
61
|
+
discarded edits there, left the server holding the old files with no record,
|
|
62
|
+
so it reported errors against code that no longer existed. (refs #5718)
|
|
63
|
+
|
|
64
|
+
#### Blockers and sessions
|
|
65
|
+
|
|
66
|
+
- **A file reached through a symlink no longer blocks its own export.** The duplicate-export STOP, the cached-export refresh and the deferred runner blocker each compared two spellings of one file as two files, so an edit through the real path left a removed export cached, the next write that declared it was refused, and a deferred blocker lost its line text. All three now compare by path identity. (refs #2556)
|
|
67
|
+
|
|
68
|
+
- **A fixed ast-grep blocker no longer stays "Still unfixed" while the language server is silent.** When a file's language server did not answer or could not start, pi-lens kept every blocker it had recorded for the file, including ast-grep ones that the ast-grep server had just checked clean. The fix then read as unfixed, stayed in `lens_diagnostics`, was listed again at turn end, and kept the commit gate shut. A recorded blocker is now judged by its own server's answer; blockers of a server that did not answer still stay. (refs #5727)
|
|
69
|
+
|
|
70
|
+
- **A STOP block now names the file a cross-file blocker belongs to.** The mypy
|
|
71
|
+
runner reports errors in the modules an edit imports, and those rows used to read as
|
|
72
|
+
lines of the edited file, with that file's line shown as their snippet. An
|
|
73
|
+
agent then marked them against the wrong file, where the mark never applied. (refs #5710)
|
|
74
|
+
|
|
75
|
+
- **A false-positive mark made from a STOP block now hides that finding.** Marking
|
|
76
|
+
what the block shows (the `[rule]` bracket as the rule, the rest as the message,
|
|
77
|
+
no tool) used to anchor on an identity the finding never had, so the same
|
|
78
|
+
finding came back on every edit. (refs #5709)
|
|
79
|
+
|
|
80
|
+
#### Runners and scanners
|
|
81
|
+
|
|
82
|
+
- **Prisma and Vite+ project edits no longer start an extra process per save.** The prisma and oxlint runners probed `prisma --version` and `vp --version` on PATH and kept no answer, so a tool that was slow to start or failed its probe cost every edit again. Both now read the shared per-project verdict like every other runner. (refs #5410)
|
|
83
|
+
|
|
84
|
+
- **A project that ships its own jscpd is no longer reported as missing.** The duplicate-code, circular-dependency, unused-code and secret scans now check their binary the way the linters do, so a managed gitleaks or opengrep that fails its version check falls back to the one on PATH instead of triggering an install. (refs #5410)
|
|
85
|
+
|
|
86
|
+
#### Tools and reports
|
|
87
|
+
|
|
88
|
+
- **Suppressing a diagnostic no longer rewrites a CRLF file's line endings.** The inline `pi-lens-ignore` comment takes the ending of the line it is inserted above, every existing line ending is kept, and a whitespace-only CRLF line no longer lends its bare `\r` to the inserted comment's indentation. (refs #5686)
|
|
89
|
+
|
|
90
|
+
#### Configuration and flags
|
|
91
|
+
|
|
92
|
+
- **Config readers now agree on `ignorePaths`, `effective_config` tools and legacy files.** A rule's `ignorePaths` match from the folder of the config file that declares them, so `/gen/**` in `repo/.pi-lens.json` skips `repo/gen` wherever you start pi. `effective_config` reports the tool switches your session uses, from the repository's own `.pi-lens.json` and your global config. Once a `.pi-lens.json` sits in the chain from your working directory up to the git root, a legacy `pi-lens.json` is ignored everywhere except the language-server settings. (refs #5738, #5739, #5740)
|
|
93
|
+
|
|
94
|
+
#### Install and updates
|
|
95
|
+
|
|
96
|
+
- **Installer downloads are streamed into bounded temporary files.** Release assets no longer collect the full download and decompressed binary in memory before installation. Downloads are capped, timed out, cleaned on failure, and only then moved into the managed install. (refs #5701)
|
|
97
|
+
|
|
98
|
+
#### Hosts and integrations
|
|
99
|
+
|
|
100
|
+
- **pi-lens now reaps its leftover logs, state and sockets at session start.** Oversized tool-result spill logs, saved session state, endpoint sockets whose owner process is gone, and project data directories whose project no longer exists used to accumulate forever; a disk audit measured 431 MB of project directories, 16 spill files from September, and 36 stale sockets on one machine. The session-start sweep now reaps each of these past its retention window. A project data directory goes only after 30 days, only when no path on disk can still be the project it was named for, and never on Windows; anything the sweep cannot judge stays. (refs #5702)
|
|
101
|
+
|
|
102
|
+
#### Security
|
|
103
|
+
|
|
104
|
+
- **A directory named with a backslash no longer counts as inside the project.** On Linux and macOS, a sibling directory such as `proj\evil` next to the session root `proj` was treated as part of it, so edits there got session treatment. (refs #2556)
|
|
105
|
+
|
|
106
|
+
- **On Windows, an untrusted project's gopls or rust-analyzer no longer runs through a sibling file.** When `$GOPATH\bin` or `$CARGO_HOME\bin` sat inside the repository and pi did not trust it, pi-lens refused the project's `<tool>.exe` but still offered the extensionless name, which Windows completes to any `.cmd`, `.bat` or `.com` beside it. The extensionless name is now withheld from an untrusted project directory, and refusing a sibling file that exists there is recorded as `trust-refusal`. (refs #5715)
|
|
107
|
+
|
|
108
|
+
### Internal
|
|
109
|
+
|
|
110
|
+
<details>
|
|
111
|
+
<summary>10 internal changes: tests, CI, tooling, and refactors</summary>
|
|
112
|
+
|
|
113
|
+
- A settled `publishes after save only` cell in the LSP capability matrix now changes only after two nights agree, as `clean-behavior` does. One night's silent no-save arm had flipped powershell from `no` to `yes (saved write)` on 2026-11-15. (refs #3405)
|
|
114
|
+
|
|
115
|
+
- The idle-eviction doc's `result`, `reason`, `respawn` and `coverage` cells now change only after two nights agree, a night that could not spawn a server leaves its row alone, and the nightly seed step restores the doc with the matrix, so one night's reading no longer flips a row (opengrep on 2026-11-14) and a move between `unavailable` and `eligible` (csharp, dart, fsharp, go and ruby on 2026-11-06) waits for its second agreeing night. A census names the hold or the reason for every generated measured column. (refs #5667)
|
|
116
|
+
|
|
117
|
+
- The `--no-lens` control case in `tests/index-4913-cli-flag-timing.test.ts` and the mark-only turn case in `tests/index-4698-mark-only-turn-gate.test.ts` no longer carry the process's one-time cold start inside their 5 s cap, so both keep their headroom on a slow CI runner, and their stale timeout-headroom baseline rows are gone. (refs #5731)
|
|
118
|
+
|
|
119
|
+
- The whole-module `vi.mock` export ratchet now reds on a baseline count above the live count, as the flake-shape and LSP-double ratchets do. (refs #4907)
|
|
120
|
+
|
|
121
|
+
- The PR-gating `host range · newest-in-range` lane now installs the newest stable pi (the npm dist-tag `latest`) with no hand-kept ceiling, so a new pi release is exercised by a gating lane at once; a registry failure resolving `latest` fails the lane closed. The `PI_HOST_SUPPORTED_RANGE` ceiling is gone and the floor stays 0.86.1. (refs #5749)
|
|
122
|
+
|
|
123
|
+
- The nightly LSP census tracker files its drift issue only when a census output is not success. A job failure outside the census no longer files an issue with an empty census section (refs #5676).
|
|
124
|
+
|
|
125
|
+
- The `forgetTurnSession` FileTime test now passes on macOS. It looked up FileTime
|
|
126
|
+
under the temp directory's linked spelling, while the read guard stamps a
|
|
127
|
+
file's resolved path, so it failed whenever `TMPDIR` was a link. (refs #5716)
|
|
128
|
+
|
|
129
|
+
- Test workers no longer inherit the shell's active Python environment. An
|
|
130
|
+
exported `VIRTUAL_ENV`, `CONDA_PREFIX` or `UV_PROJECT_ENVIRONMENT`, and the bin
|
|
131
|
+
directory activation put on PATH, gave every test that environment's tools.
|
|
132
|
+
A developer with a global venv active saw tests read its pyright and pytest. (refs #5712)
|
|
133
|
+
|
|
134
|
+
- The Qodo review bot is retired: its trial ended and its billing notice read as unanswered findings at the land gate. `.pr_agent.toml` is deleted; CodeRabbit and Greptile keep their configs. (refs #4685)
|
|
135
|
+
|
|
136
|
+
- Four process-wide slots (the spawn-timeout cooldown, the opaque baseline store, the probe-home memo and safe-spawn's lifetime registry) now live behind `getProcessSingleton`, and a new sweep (`tests/config/process-slot-sweep.test.ts`) reds a hand-rolled `globalThis`, `Symbol.for` or `process` slot outside it. (refs #4907)
|
|
137
|
+
|
|
138
|
+
</details>
|
|
139
|
+
|
|
19
140
|
## [4.5.1] - 2026-11-16
|
|
20
141
|
|
|
21
142
|
### Added
|
package/README.md
CHANGED
|
@@ -77,7 +77,7 @@ Project-local binaries, such as `node_modules/.bin/eslint` or `.venv/bin/ruff`,
|
|
|
77
77
|
| Command | What it does |
|
|
78
78
|
|---|---|
|
|
79
79
|
| `/lens-health` | Show runtime health, latency, and degradation counts |
|
|
80
|
-
| `/lens-widget-toggle` | Show or hide the diagnostics widget
|
|
80
|
+
| `/lens-widget-toggle` | Show or hide the diagnostics widget |
|
|
81
81
|
| `/lens-toggle` | Turn pi-lens on or off for the session |
|
|
82
82
|
| `/lens-map` | Build an interactive HTML dependency map of the project |
|
|
83
83
|
| `/lens-allow-edit <path>` | Override the read-before-edit guard for one edit |
|
|
@@ -296,7 +296,7 @@ Thanks goes to these wonderful people:
|
|
|
296
296
|
</tr>
|
|
297
297
|
<tr>
|
|
298
298
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/kevinkirkup"><img src="https://avatars.githubusercontent.com/u/38406?v=4" width="100px;" alt=""/><br /><sub><b>Kevin S Kirkup</b></sub></a><br /><a href="#bug-kevinkirkup" title="Bug reports">🐛</a></td>
|
|
299
|
-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/georgeharker"><img src="https://avatars.githubusercontent.com/u/2169888?v=4" width="100px;" alt=""/><br /><sub><b>George Harker</b></sub></a><br /><a href="#code-georgeharker" title="Code">💻</a> <a href="#bug-georgeharker" title="Bug reports">🐛</a> <a href="#ideas-georgeharker" title="Ideas & Planning">🤔</a></td>
|
|
299
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/georgeharker"><img src="https://avatars.githubusercontent.com/u/2169888?v=4" width="100px;" alt=""/><br /><sub><b>George Harker</b></sub></a><br /><a href="#code-georgeharker" title="Code">💻</a> <a href="#bug-georgeharker" title="Bug reports">🐛</a> <a href="#ideas-georgeharker" title="Ideas & Planning">🤔</a> <a href="#doc-georgeharker" title="Documentation">📖</a> <a href="https://github.com/apmantza/pi-lens/commits?author=georgeharker" title="Tests">⚠️</a></td>
|
|
300
300
|
<td align="center" valign="top" width="14.28%"><a href="https://zuey.me"><img src="https://avatars.githubusercontent.com/u/6857382?v=4" width="100px;" alt=""/><br /><sub><b>Duy /zuey/</b></sub></a><br /><a href="#ideas-mrgoonie" title="Ideas & Planning">🤔</a> <a href="#code-mrgoonie" title="Code">💻</a></td>
|
|
301
301
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/luw2007"><img src="https://avatars.githubusercontent.com/u/1415541?v=4" width="100px;" alt=""/><br /><sub><b>luw2007</b></sub></a><br /><a href="#bug-luw2007" title="Bug reports">🐛</a></td>
|
|
302
302
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/WrongWorry"><img src="https://avatars.githubusercontent.com/u/188037855?v=4" width="100px;" alt=""/><br /><sub><b>WrongWorry</b></sub></a><br /><a href="#bug-WrongWorry" title="Bug reports">🐛</a></td>
|
|
@@ -443,6 +443,13 @@ Thanks goes to these wonderful people:
|
|
|
443
443
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/dmarchevsky"><img src="https://avatars.githubusercontent.com/u/32597866?v=4" width="100px;" alt=""/><br /><sub><b>Dima Marchevskyi</b></sub></a><br /><a href="#bug-dmarchevsky" title="Bug reports">🐛</a></td>
|
|
444
444
|
<td align="center" valign="top" width="14.28%"><a href="https://jennyleidig.straw.page/"><img src="https://avatars.githubusercontent.com/u/131712584?v=4" width="100px;" alt=""/><br /><sub><b>Jenny Leidig</b></sub></a><br /><a href="#code-jennymaeleidig" title="Code">💻</a> <a href="#ideas-jennymaeleidig" title="Ideas & Planning">🤔</a></td>
|
|
445
445
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/yorch"><img src="https://avatars.githubusercontent.com/u/60499?v=4" width="100px;" alt=""/><br /><sub><b>Jorge Barnaby</b></sub></a><br /><a href="#bug-yorch" title="Bug reports">🐛</a></td>
|
|
446
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/aloneangel45"><img src="https://avatars.githubusercontent.com/u/63845775?v=4" width="100px;" alt=""/><br /><sub><b>Aloneangel20</b></sub></a><br /><a href="#code-aloneangel45" title="Code">💻</a></td>
|
|
447
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ody"><img src="https://avatars.githubusercontent.com/u/193064?v=4" width="100px;" alt=""/><br /><sub><b>Cody Herriges</b></sub></a><br /><a href="#code-ody" title="Code">💻</a> <a href="#ideas-ody" title="Ideas & Planning">🤔</a></td>
|
|
448
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/slacktracer"><img src="https://avatars.githubusercontent.com/u/1865407?v=4" width="100px;" alt=""/><br /><sub><b>Thiago F</b></sub></a><br /><a href="#bug-slacktracer" title="Bug reports">🐛</a></td>
|
|
449
|
+
</tr>
|
|
450
|
+
<tr>
|
|
451
|
+
<td align="center" valign="top" width="14.28%"><a href="https://etcherfx.dev/"><img src="https://avatars.githubusercontent.com/u/96310503?v=4" width="100px;" alt=""/><br /><sub><b>EtcherFX </b></sub></a><br /><a href="#bug-etcherfx" title="Bug reports">🐛</a></td>
|
|
452
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/carhartl"><img src="https://avatars.githubusercontent.com/u/21918?v=4" width="100px;" alt=""/><br /><sub><b>Klaus Hartl</b></sub></a><br /><a href="#ideas-carhartl" title="Ideas & Planning">🤔</a></td>
|
|
446
453
|
</tr>
|
|
447
454
|
</tbody>
|
|
448
455
|
</table>
|