@claude-flow/cli 3.10.29 → 3.10.31

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-flow/cli",
3
- "version": "3.10.29",
3
+ "version": "3.10.31",
4
4
  "type": "module",
5
5
  "description": "Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
6
6
  "main": "dist/src/index.js",
@@ -74,6 +74,30 @@ const BASELINES_BY_DATASET = {
74
74
  'BGE-large-v1.5 (pub)': 0.636,
75
75
  'SBERT msmarco': 0.371,
76
76
  },
77
+ scidocs: {
78
+ 'BM25 (Lucene)': 0.158,
79
+ 'DocT5query': 0.162,
80
+ 'TAS-B': 0.149,
81
+ 'GenQ': 0.143,
82
+ 'ColBERT': 0.145,
83
+ 'Contriever': 0.165,
84
+ 'GTR-XL': 0.174,
85
+ 'SPLADE++': 0.159,
86
+ 'BGE-large-v1.5 (pub)': 0.225,
87
+ 'SBERT msmarco': 0.122,
88
+ },
89
+ 'trec-covid': {
90
+ 'BM25 (Lucene)': 0.656,
91
+ 'DocT5query': 0.713,
92
+ 'TAS-B': 0.481,
93
+ 'GenQ': 0.619,
94
+ 'ColBERT': 0.677,
95
+ 'Contriever': 0.596,
96
+ 'GTR-XL': 0.557,
97
+ 'SPLADE++': 0.711,
98
+ 'BGE-large-v1.5 (pub)': 0.778,
99
+ 'SBERT msmarco': 0.487,
100
+ },
77
101
  };
78
102
 
79
103
  // Auto-detect dataset from DATA_DIR path; default to nfcorpus baselines.
@@ -42,6 +42,8 @@ const BASELINES_BY_DATASET = {
42
42
  nfcorpus: { 'BM25 (Lucene)': 0.325, 'DocT5query': 0.328, 'TAS-B': 0.319, 'GenQ': 0.319, 'ColBERT': 0.305, 'Contriever': 0.328, 'GTR-XL': 0.343, 'SPLADE++': 0.347, 'BGE-large-v1.5 (pub)': 0.380, 'SBERT msmarco': 0.272 },
43
43
  scifact: { 'BM25 (Lucene)': 0.679, 'DocT5query': 0.675, 'TAS-B': 0.643, 'GenQ': 0.644, 'ColBERT': 0.671, 'Contriever': 0.677, 'GTR-XL': 0.662, 'SPLADE++': 0.704, 'BGE-large-v1.5 (pub)': 0.722, 'SBERT msmarco': 0.555 },
44
44
  arguana: { 'BM25 (Lucene)': 0.397, 'DocT5query': 0.349, 'TAS-B': 0.429, 'GenQ': 0.493, 'ColBERT': 0.233, 'Contriever': 0.379, 'GTR-XL': 0.439, 'SPLADE++': 0.521, 'BGE-large-v1.5 (pub)': 0.636, 'SBERT msmarco': 0.371 },
45
+ scidocs: { 'BM25 (Lucene)': 0.158, 'DocT5query': 0.162, 'TAS-B': 0.149, 'GenQ': 0.143, 'ColBERT': 0.145, 'Contriever': 0.165, 'GTR-XL': 0.174, 'SPLADE++': 0.159, 'BGE-large-v1.5 (pub)': 0.225, 'SBERT msmarco': 0.122 },
46
+ 'trec-covid': { 'BM25 (Lucene)': 0.656, 'DocT5query': 0.713, 'TAS-B': 0.481, 'GenQ': 0.619, 'ColBERT': 0.677, 'Contriever': 0.596, 'GTR-XL': 0.557, 'SPLADE++': 0.711, 'BGE-large-v1.5 (pub)': 0.778, 'SBERT msmarco': 0.487 },
45
47
  };
46
48
  function detectDataset(path) {
47
49
  const p = path.toLowerCase();
@@ -121,10 +123,11 @@ async function main() {
121
123
  let crossEncoder = null;
122
124
  if (RERANK) {
123
125
  const ce = await import(join(CLI_ROOT, 'dist/src/memory/cross-encoder-rerank.js'));
124
- const ceFn = await ce.getCrossEncoder('Xenova/ms-marco-MiniLM-L-6-v2');
126
+ const CE_MODEL = process.env.CE_MODEL || 'Xenova/ms-marco-MiniLM-L-6-v2';
127
+ const ceFn = await ce.getCrossEncoder(CE_MODEL);
125
128
  if (!ceFn) { console.error('Cross-encoder failed to load:', ce.getCrossEncoderStatus()); process.exit(3); }
126
129
  crossEncoder = ceFn;
127
- console.log('Cross-encoder loaded: Xenova/ms-marco-MiniLM-L-6-v2');
130
+ console.log('Cross-encoder loaded: ' + CE_MODEL);
128
131
  }
129
132
 
130
133
  const queriesById = new Map(queries.map((q) => [q._id, q.text]));