@apmantza/greedysearch-pi 1.8.0 → 1.8.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.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.8.2 (2026-04-20)
4
+
5
+ ### Cross-Platform Testing
6
+ - **Node.js test runner (`test.mjs`)** — Added cross-platform test runner that works on Windows, macOS, and Linux without requiring bash. Runs smoke tests, quick tests, and edge case tests.
7
+ - **Updated npm scripts** — `npm test` now runs the Node.js test runner (was bash-only). Original bash tests available via `npm run test:bash`.
8
+
9
+ ### Project Metadata
10
+ - **Added `engines` field** — Package now specifies `node: ">=20.11.0"` requirement for `import.meta.dirname` support.
11
+ - **Updated README** — Added Testing section documenting both Node.js and bash test runners, clarified Node.js 20.11.0+ requirement.
12
+
3
13
  ## v1.8.0 (2026-04-16)
4
14
 
5
15
  ### Fixes
package/README.md CHANGED
@@ -55,7 +55,7 @@ node ~/.pi/agent/git/GreedySearch-pi/bin/launch.mjs --kill
55
55
  ## Requirements
56
56
 
57
57
  - Chrome
58
- - Node.js 22+
58
+ - Node.js 20.11.0+ (22+ recommended)
59
59
 
60
60
  ## Project layout
61
61
 
@@ -64,6 +64,22 @@ node ~/.pi/agent/git/GreedySearch-pi/bin/launch.mjs --kill
64
64
  - `src/` - ranking/fetching/formatting internals
65
65
  - `skills/` - Pi skill metadata
66
66
 
67
+ ## Testing
68
+
69
+ Cross-platform test runner (Windows + Unix):
70
+ ```bash
71
+ npm test # run all tests
72
+ npm run test:quick # skip slow tests
73
+ npm run test:smoke # basic health check
74
+ ```
75
+
76
+ Full bash test suite (Unix only):
77
+ ```bash
78
+ npm run test:bash # comprehensive tests
79
+ ./test.sh parallel # race condition tests
80
+ ./test.sh flags # flag/option tests
81
+ ```
82
+
67
83
  ## Changelog
68
84
 
69
85
  See `CHANGELOG.md`.