@evomap/evolver 1.92.0 β†’ 1.92.1

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.
Files changed (59) hide show
  1. package/README.md +13 -7
  2. package/package.json +1 -1
  3. package/src/adapters/scripts/_runtimePaths.js +10 -1
  4. package/src/adapters/scripts/evolver-session-end.js +10 -1
  5. package/src/evolve/guards.js +1 -1
  6. package/src/evolve/pipeline/collect.js +1 -1
  7. package/src/evolve/pipeline/dispatch.js +1 -1
  8. package/src/evolve/pipeline/enrich.js +1 -1
  9. package/src/evolve/pipeline/hub.js +1 -1
  10. package/src/evolve/pipeline/select.js +1 -1
  11. package/src/evolve/pipeline/signals.js +1 -1
  12. package/src/evolve/utils.js +1 -1
  13. package/src/evolve.js +1 -1
  14. package/src/gep/a2aProtocol.js +1 -1
  15. package/src/gep/antiAbuseTelemetry.js +1 -1
  16. package/src/gep/autoDistillConv.js +1 -1
  17. package/src/gep/autoDistillLlm.js +1 -1
  18. package/src/gep/candidateEval.js +1 -1
  19. package/src/gep/candidates.js +1 -1
  20. package/src/gep/contentHash.js +1 -1
  21. package/src/gep/conversationDistiller.js +1 -1
  22. package/src/gep/conversationSniffer.js +1 -1
  23. package/src/gep/crypto.js +1 -1
  24. package/src/gep/curriculum.js +1 -1
  25. package/src/gep/deviceId.js +1 -1
  26. package/src/gep/envFingerprint.js +1 -1
  27. package/src/gep/epigenetics.js +1 -1
  28. package/src/gep/execBridge.js +1 -1
  29. package/src/gep/explore.js +1 -1
  30. package/src/gep/hash.js +1 -1
  31. package/src/gep/hubFetch.js +1 -1
  32. package/src/gep/hubReview.js +1 -1
  33. package/src/gep/hubSearch.js +1 -1
  34. package/src/gep/hubVerify.js +1 -1
  35. package/src/gep/learningSignals.js +1 -1
  36. package/src/gep/memoryGraph.js +1 -1
  37. package/src/gep/memoryGraphAdapter.js +1 -1
  38. package/src/gep/mutation.js +1 -1
  39. package/src/gep/narrativeMemory.js +1 -1
  40. package/src/gep/openPRRegistry.js +1 -1
  41. package/src/gep/personality.js +1 -1
  42. package/src/gep/policyCheck.js +1 -1
  43. package/src/gep/prompt.js +1 -1
  44. package/src/gep/recallInject.js +1 -1
  45. package/src/gep/recallVerifier.js +1 -1
  46. package/src/gep/reflection.js +1 -1
  47. package/src/gep/savingsCore.js +1 -1
  48. package/src/gep/selector.js +1 -1
  49. package/src/gep/skillDistiller.js +1 -1
  50. package/src/gep/solidify.js +1 -1
  51. package/src/gep/strategy.js +1 -1
  52. package/src/gep/syncAsset.js +1 -1
  53. package/src/gep/tokenSavings.js +1 -1
  54. package/src/gep/trajectoryExport.js +1 -1
  55. package/src/gep/workspaceKeychain.js +1 -1
  56. package/src/proxy/extensions/traceControl.js +1 -1
  57. package/src/proxy/inject.js +1 -1
  58. package/src/proxy/trace/extractor.js +1 -1
  59. package/src/proxy/trace/usage.js +1 -1
package/README.md CHANGED
@@ -1,12 +1,18 @@
1
- # 🧬 Evolver
1
+ ![Evolver Cover](assets/cover.png)
2
2
 
3
- [![GitHub stars](https://img.shields.io/badge/Stars-8.9k-2b3137?logo=github&logoColor=white)](https://github.com/EvoMap/evolver/stargazers)
4
- [![License: GPL-3.0](https://img.shields.io/badge/License-GPL--3.0-blue.svg)](https://opensource.org/licenses/GPL-3.0)
5
- [![Node.js >= 18](https://img.shields.io/badge/Node.js-%3E%3D%2018-green.svg)](https://nodejs.org/)
6
- [![npm downloads](https://img.shields.io/npm/dm/@evomap/evolver.svg)](https://www.npmjs.com/package/@evomap/evolver)
7
- [![arXiv](https://img.shields.io/badge/arXiv-2604.15097-b31b1b.svg)](https://arxiv.org/abs/2604.15097)
3
+ <h1 align="center">🧬 Evolver</h1>
8
4
 
9
- ![Evolver Cover](assets/cover.png)
5
+ <p align="center">
6
+ <a href="https://trendshift.io/repositories/26015?utm_source=repository-badge&amp;utm_medium=badge&amp;utm_campaign=badge-repository-26015" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/repositories/26015" alt="EvoMap%2Fevolver | Trendshift" width="250" height="55"/></a>
7
+ </p>
8
+
9
+ <p align="center">
10
+ <a href="https://github.com/EvoMap/evolver/stargazers"><img src="https://img.shields.io/badge/Stars-8.9k-2b3137?logo=github&amp;logoColor=white" alt="GitHub stars"/></a>
11
+ <a href="https://opensource.org/licenses/GPL-3.0"><img src="https://img.shields.io/badge/License-GPL--3.0-blue.svg" alt="License: GPL-3.0"/></a>
12
+ <a href="https://nodejs.org/"><img src="https://img.shields.io/badge/Node.js-%3E%3D%2018-green.svg" alt="Node.js &gt;= 18"/></a>
13
+ <a href="https://www.npmjs.com/package/@evomap/evolver"><img src="https://img.shields.io/npm/dm/@evomap/evolver.svg" alt="npm downloads"/></a>
14
+ <a href="https://arxiv.org/abs/2604.15097"><img src="https://img.shields.io/badge/arXiv-2604.15097-b31b1b.svg" alt="arXiv"/></a>
15
+ </p>
10
16
 
11
17
  **[evomap.ai](https://evomap.ai)** | [Documentation](https://evomap.ai/wiki) | [Chinese / δΈ­ζ–‡ζ–‡ζ‘£](README.zh-CN.md) | [Japanese / ζ—₯本θͺžγƒ‰γ‚­γƒ₯γƒ‘γƒ³γƒˆ](README.ja-JP.md) | [Korean / ν•œκ΅­μ–΄ λ¬Έμ„œ](README.ko-KR.md) | [GitHub](https://github.com/EvoMap/evolver) | [Releases](https://github.com/EvoMap/evolver/releases)
12
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evomap/evolver",
3
- "version": "1.92.0",
3
+ "version": "1.92.1",
4
4
  "description": "A GEP-powered self-evolution engine for AI agents. Features automated log analysis and Genome Evolution Protocol (GEP) for auditable, reusable evolution assets.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -402,6 +402,15 @@ function findMemoryGraph(evolverRoot) {
402
402
  return path.join(userDir, 'memory_graph.jsonl');
403
403
  }
404
404
 
405
+ function gitExecutable() {
406
+ if (process.platform !== 'win32') {
407
+ const xcodeGit = '/Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git';
408
+ if (fs.existsSync(xcodeGit)) return xcodeGit;
409
+ if (fs.existsSync('/usr/bin/git')) return '/usr/bin/git';
410
+ }
411
+ return 'git';
412
+ }
413
+
405
414
  // Is `dir` inside a git work tree? Cheap, no-shell `git rev-parse`. Returns
406
415
  // false on any error (git missing, not a repo, timeout) and never throws.
407
416
  // The session-start hook uses this only to decide whether to surface a
@@ -409,7 +418,7 @@ function findMemoryGraph(evolverRoot) {
409
418
  // suppresses the notice rather than breaking anything.
410
419
  function isGitWorkspace(dir) {
411
420
  try {
412
- const res = spawnSync('git', ['rev-parse', '--is-inside-work-tree'], {
421
+ const res = spawnSync(gitExecutable(), ['rev-parse', '--is-inside-work-tree'], {
413
422
  cwd: dir,
414
423
  encoding: 'utf8',
415
424
  timeout: 5000,
@@ -24,12 +24,21 @@ const { findEvolverRoot, findMemoryGraph, resolveProjectDir, resolveWorkspaceId
24
24
  // consistent with the review-time reader in src/evolve/pipeline/collect.js
25
25
  // (Bugbot PR #109 round-1 MEDIUM; reader/writer drift flagged on PR #555).
26
26
 
27
+ function gitExecutable() {
28
+ if (process.platform !== 'win32') {
29
+ const xcodeGit = '/Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git';
30
+ if (fs.existsSync(xcodeGit)) return xcodeGit;
31
+ if (fs.existsSync('/usr/bin/git')) return '/usr/bin/git';
32
+ }
33
+ return 'git';
34
+ }
35
+
27
36
  function runGit(args, cwd) {
28
37
  // Argv-array form, no shell. Avoids POSIX `2>/dev/null` redirects that
29
38
  // break on Windows cmd.exe (#537). Failures (e.g. no HEAD~1 in a fresh
30
39
  // repo) are surfaced as a non-zero status; callers distinguish them
31
40
  // from successful empty output via the `ok` flag (PR #94 round-6 LOW).
32
- const res = spawnSync('git', args, {
41
+ const res = spawnSync(gitExecutable(), args, {
33
42
  cwd,
34
43
  encoding: 'utf8',
35
44
  timeout: 5000,