feat: enhance search, ranking, reranker and CLI tooling across ccw and codex-lens

Major improvements to smart-search, chain-search cascade, ranking pipeline,
reranker factory, CLI history store, codex-lens integration, and uv-manager.
Simplify command-generator skill by inlining phases. Add comprehensive tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
catlog22
2026-03-16 20:35:08 +08:00
parent 1cd96b90e8
commit 5a4b18d9b1
73 changed files with 14684 additions and 2442 deletions

View File

@@ -105,7 +105,10 @@ describe('memory-embedder-bridge', () => {
assert.equal(spawnCalls.length, 1);
assert.equal(spawnCalls[0].args.at(-2), 'status');
assert.equal(spawnCalls[0].args.at(-1), 'C:\\tmp\\db.sqlite');
assert.equal(spawnCalls[0].options.shell, false);
assert.equal(spawnCalls[0].options.timeout, 30000);
assert.equal(spawnCalls[0].options.windowsHide, true);
assert.equal(spawnCalls[0].options.env.PYTHONIOENCODING, 'utf-8');
});
it('generateEmbeddings builds args for sourceId, batchSize, and force', async () => {
@@ -138,7 +141,10 @@ describe('memory-embedder-bridge', () => {
assert.equal(args[batchSizeIndex + 1], '4');
assert.ok(args.includes('--force'));
assert.equal(spawnCalls[0].options.shell, false);
assert.equal(spawnCalls[0].options.timeout, 300000);
assert.equal(spawnCalls[0].options.windowsHide, true);
assert.equal(spawnCalls[0].options.env.PYTHONIOENCODING, 'utf-8');
spawnCalls.length = 0;
spawnPlan.push({