Roli Bosch
Roli Bosch
## What The Redis vector store returned the raw cosine `vector_distance` (lower = more similar) in the `score` field, but downstream scoring treats `score` as a similarity (higher = more...
## What I observed In mem0 2.0.0, `Memory.search()` returns the same `score: 1.0` for every result in the response, regardless of relevance. The matching memory is indistinguishable from unrelated memories....
## Summary - Replace `is-ci` package with native `process.env.CI` check - Remove `is-ci` and `@types/is-ci` from devDependencies - The `CI` environment variable is set by all major CI providers (GitHub...
## Summary - Replace `lodash.isEqual` with a lightweight inline `deepEqual` utility - Remove `lodash` and `@types/lodash` from dependencies - Reduces bundle size by removing ~530KB lodash dependency ## Changes -...
## Summary - Replace `chalk` dependency with the smaller `picocolors` package - `picocolors` provides the same terminal coloring API with ~14x smaller install size - All existing type colors (red,...
## Summary Replaces all occurrences of the deprecated `context.getSourceCode()` method with the `context.sourceCode` property (with `??` fallback) across 9 rule files. This fixes the `TypeError: context.getSourceCode is not a function`...
## Summary - Replace `fs-extra` dependency with native `node:fs` equivalents - Node.js has supported `fs.mkdir({ recursive: true })`, `fs.rmSync`, and `fs.cpSync` natively since v16, which is well within the project's...
## Summary - Replace `chalk` (136KB + deps) with `picocolors` (3.8KB, zero deps) for terminal color output - All chained style calls converted to function composition (e.g. `chalk.red.bold(x)` → `pc.red(pc.bold(x))`)...
## Summary - Replaces all `fs-extra` usage with native Node.js `fs` module equivalents - Adds inline `copySync` helper with file permission preservation and symlink dereferencing support - Removes `fs-extra` and...
## Summary Replace the `slash` package with an inline implementation in `jest-util`. The entire `slash` package is `path.replace(/\\/g, '/')` — a one-liner that doesn't need an external dependency. - New...