ECC/scripts
Affaan Mustafa 90ea2f327c fix: 2 bugs fixed, 17 tests added for hook scripts
Bug fixes:
- evaluate-session.js: whitespace-tolerant regex for counting user
  messages in JSONL transcripts (/"type":"user"/ → /"type"\s*:\s*"user"/)
- session-end.js: guard against null elements in content arrays
  (c.text → (c && c.text) to prevent TypeError)

New tests (17):
- evaluate-session: whitespace JSON regression test
- session-end: null content array elements regression test
- post-edit-console-warn: 5 tests (warn, skip non-JS, clean files,
  missing file, stdout passthrough)
- post-edit-format: 3 tests (empty stdin, non-JS skip, invalid JSON)
- post-edit-typecheck: 4 tests (empty stdin, non-TS skip, missing file,
  no tsconfig)

Total test count: 191 (up from 164)
2026-02-12 16:02:31 -08:00
..
ci fix: add async/timeout to hooks schema and validate in CI 2026-02-12 15:58:59 -08:00
hooks fix: 2 bugs fixed, 17 tests added for hook scripts 2026-02-12 16:02:31 -08:00
lib fix: Windows path support, error handling, and dedup in validators 2026-02-12 15:57:20 -08:00
release.sh fix: harden CI validators, shell scripts, and expand test suite 2026-02-12 14:11:33 -08:00
setup-package-manager.js fix: resolve ESLint errors and update tests for project-name fallback 2026-01-29 02:58:51 -08:00
skill-create-output.js fix: resolve ESLint errors and update tests for project-name fallback 2026-01-29 02:58:51 -08:00