@claude-flow/cli 3.10.30 → 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.30",
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",
@@ -86,6 +86,18 @@ const BASELINES_BY_DATASET = {
86
86
  'BGE-large-v1.5 (pub)': 0.225,
87
87
  'SBERT msmarco': 0.122,
88
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
+ },
89
101
  };
90
102
 
91
103
  // Auto-detect dataset from DATA_DIR path; default to nfcorpus baselines.
@@ -43,6 +43,7 @@ const BASELINES_BY_DATASET = {
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
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 },
46
47
  };
47
48
  function detectDataset(path) {
48
49
  const p = path.toLowerCase();
@@ -122,10 +123,11 @@ async function main() {
122
123
  let crossEncoder = null;
123
124
  if (RERANK) {
124
125
  const ce = await import(join(CLI_ROOT, 'dist/src/memory/cross-encoder-rerank.js'));
125
- 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);
126
128
  if (!ceFn) { console.error('Cross-encoder failed to load:', ce.getCrossEncoderStatus()); process.exit(3); }
127
129
  crossEncoder = ceFn;
128
- console.log('Cross-encoder loaded: Xenova/ms-marco-MiniLM-L-6-v2');
130
+ console.log('Cross-encoder loaded: ' + CE_MODEL);
129
131
  }
130
132
 
131
133
  const queriesById = new Map(queries.map((q) => [q._id, q.text]));