pi-usereq 0.41.0 → 0.42.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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.42.0](https://github.com/Ogekuri/PI-useReq/compare/v0.41.0..v0.42.0) - 2026-07-10
4
+ ### 🚜 Changes
5
+ - bundle pyright/ruff/eslint and add bundled-bin resolution [useReq] *(static-check)*
6
+ - Add pyright, ruff, and eslint as pinned npm dependencies with a best-effort postinstall installer (scripts/install-static-checkers.ts) that probes bundled node_modules/.bin, attempts npm install on miss, prints native-checker guidance, and always returns 0.
7
+ - Add resolveCheckerExecutable bundled-bin-plus-PATH resolver and checkDefaultCheckersAvailability session_start helper. Change TypeScript default static-check entry from npx+eslint to eslint. Emit one warning notification during session_start for missing enabled checkers without aborting.
8
+ - Add tests/static-check-bundled.test.ts covering resolveCheckerExecutable precedence, postinstall exit-code-0 invariant, and session_start missing-checker reporting. Update REQUIREMENTS.md (REQ-339..REQ-344, DES-017/018, TST-123..125), WORKFLOW.md, README.md, and REFERENCES.md.
9
+
3
10
  ## [0.41.0](https://github.com/Ogekuri/PI-useReq/compare/v0.40.0..v0.41.0) - 2026-07-10
4
11
  ### 🐛 Bug Fixes
5
12
  - await and suppress summary sendMessage to prevent unhandled rejection breaking worktree merge [useReq] *(prompt-delivery)*
@@ -585,6 +592,7 @@
585
592
  - \[0.39.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.39.0
586
593
  - \[0.40.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.40.0
587
594
  - \[0.41.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.41.0
595
+ - \[0.42.0\]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.42.0
588
596
 
589
597
  [0.1.0]: https://github.com/Ogekuri/PI-useReq/releases/tag/v0.1.0
590
598
  [0.2.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.1.0..v0.2.0
@@ -625,3 +633,4 @@
625
633
  [0.39.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.38.0..v0.39.0
626
634
  [0.40.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.39.0..v0.40.0
627
635
  [0.41.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.40.0..v0.41.0
636
+ [0.42.0]: https://github.com/Ogekuri/PI-useReq/compare/v0.41.0..v0.42.0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # PI-useReq/pi-usereq (0.41.0)
1
+ # PI-useReq/pi-usereq (0.42.0)
2
2
 
3
3
  <p align="center">
4
4
  <img src="https://img.shields.io/badge/python-3.11%2B-3776AB?style=flat-square&logo=python&logoColor=white" alt="Python 3.11+">
@@ -100,8 +100,6 @@ TODO: update/rewrite the project tree
100
100
 
101
101
  ### Install
102
102
 
103
- TODO: complete installation istructions
104
-
105
103
  Install:
106
104
  ```bash
107
105
  pi install npm:pi-usereq
@@ -114,6 +112,14 @@ pi install git:github.com/Ogekuri/PI-useReq
114
112
 
115
113
  Reload Pi.
116
114
 
115
+ Bundled static checkers (`pyright`, `ruff`, `eslint`) install automatically via the
116
+ `postinstall` script. Native checkers (`cppcheck`, `clang-format`) require a one-line
117
+ system install:
118
+
119
+ - Debian/Ubuntu: `sudo apt install cppcheck clang-format`
120
+ - macOS: `brew install cppcheck clang-format`
121
+ - Arch: `sudo pacman -S cppcheck clang`
122
+ - Windows: `choco install cppcheck llvm` or `scoop install cppcheck llvm`
117
123
 
118
124
  ### Uninstall
119
125
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-usereq",
3
- "version": "0.41.0",
3
+ "version": "0.42.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/Ogekuri/PI-useReq.git"
@@ -19,7 +19,8 @@
19
19
  "debug:ext:session": "node --import tsx ./scripts/debug-extension.ts session-start",
20
20
  "debug:ext:command": "node --import tsx ./scripts/debug-extension.ts command",
21
21
  "debug:ext:tool": "node --import tsx ./scripts/debug-extension.ts tool",
22
- "debug:ext:sdk": "node --import tsx ./scripts/debug-extension.ts sdk-smoke"
22
+ "debug:ext:sdk": "node --import tsx ./scripts/debug-extension.ts sdk-smoke",
23
+ "postinstall": "node --import tsx ./scripts/install-static-checkers.ts"
23
24
  },
24
25
  "pi": {
25
26
  "extensions": [
@@ -33,12 +34,14 @@
33
34
  "@sinclair/typebox": "^0.34.49"
34
35
  },
35
36
  "dependencies": {
37
+ "eslint": "^10.2.0",
36
38
  "fast-glob": "^3.3.3",
37
- "js-tiktoken": "^1.0.21"
39
+ "js-tiktoken": "^1.0.21",
40
+ "pyright": "^1.1.411",
41
+ "ruff": "^1.5.4"
38
42
  },
39
43
  "devDependencies": {
40
44
  "@eslint/js": "^10.0.1",
41
- "eslint": "^10.2.0",
42
45
  "tsx": "^4.21.0",
43
46
  "typescript": "^5.9.3",
44
47
  "typescript-eslint": "^8.58.2"