Skip to content

v0.1.5 — Glob unification, fast-path fix, ESLint, coverage

Choose a tag to compare

@celstnblacc celstnblacc released this 12 Jun 17:57
· 20 commits to main since this release
da4da8b

What's Changed

Fixed

  • P2-C: Color fast-path now returns success: false when fill diffs match zero CSS declarations (was silent success with 0 files). Partial matches surface as success: true with warnings[].
  • P2-B: New `src/glob-matcher.ts` unifies glob matching across watcher and hasher. Supports brace `{a,b}` expansion and `[..]` character classes. Watcher now watches `codeDir` directly (chokidar v4 dropped glob support) and filters events through `matches()`.
  • MODEL_PRICING: Added `claude-opus-4-8` pricing; `estimateCost` now warns when falling back to Sonnet pricing for an unknown model.

Added

  • ESLint: `eslint.config.js` flat config with `typescript-eslint`, `no-floating-promises` (error), `no-unused-vars`/`no-explicit-any` (warn). `npm run lint` exits 0.
  • Coverage: `@vitest/coverage-v8` provider with enforced thresholds: lines ≥81%, functions ≥83%, branches ≥77%, statements ≥80%.

Stats

  • 347 tests passing across 22 test files
  • Coverage baseline: Stmts 82.55%, Branch 79.5%, Funcs 85.87%, Lines 83.88%