fix: improve CodexLens env defaults, self-exclusion, and route handling

- Adjust env defaults (embed batch 64, workers 2) and add HNSW/chunking params
- Exclude .codexlens directory from indexing and file watching
- Expand codexlens-routes with improved validation and error handling
- Enhance integration tests for broader route coverage

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
catlog22
2026-03-19 10:34:18 +08:00
parent 683b85228f
commit 00672ec8e5
11 changed files with 478 additions and 191 deletions

View File

@@ -237,7 +237,7 @@ export async function initializeCsrfToken(): Promise<void> {
/**
* Base fetch wrapper with CSRF token and error handling
*/
async function fetchApi<T>(
export async function fetchApi<T>(
url: string,
options: RequestInit = {}
): Promise<T> {