From cf321ea1ac56d6fd14abbf9712bc8ae2dd248a48 Mon Sep 17 00:00:00 2001 From: catlog22 Date: Thu, 19 Mar 2026 20:45:14 +0800 Subject: [PATCH] fix: update CodexLens MCP template with AST support defaults - Add [ast] extra to uvx install args (codexlens-search[mcp,ast]) - Add CODEXLENS_AST_CHUNKING to env defaults - Auto-inject AST_CHUNKING in buildMcpServerConfig Co-Authored-By: Claude Opus 4.6 --- ccw/src/core/routes/codexlens-routes.ts | 6 +++++- package.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ccw/src/core/routes/codexlens-routes.ts b/ccw/src/core/routes/codexlens-routes.ts index 66e4fe18..af39dcdb 100644 --- a/ccw/src/core/routes/codexlens-routes.ts +++ b/ccw/src/core/routes/codexlens-routes.ts @@ -99,6 +99,7 @@ const CODEXLENS_ENV_DEFAULTS: Record = { CODEXLENS_RERANKER_BATCH_SIZE: '32', CODEXLENS_INDEX_WORKERS: '2', CODEXLENS_CODE_AWARE_CHUNKING: 'true', + CODEXLENS_AST_CHUNKING: 'true', CODEXLENS_MAX_FILE_SIZE: '1000000', CODEXLENS_HNSW_EF: '150', CODEXLENS_HNSW_M: '32', @@ -141,9 +142,12 @@ function buildMcpServerConfig(savedEnv: Record): Record 0 ? { env: filteredEnv } : {}), }; } diff --git a/package.json b/package.json index 41d4beb0..572243da 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "claude-code-workflow", - "version": "7.2.8", + "version": "7.2.9", "description": "JSON-driven multi-agent development framework with intelligent CLI orchestration (Gemini/Qwen/Codex), context-first architecture, and automated workflow execution", "type": "module", "main": "ccw/dist/index.js",