From 70d6ac9dafcb9998bda14953008f495d9ae8ddf0 Mon Sep 17 00:00:00 2001 From: bigphoot Date: Fri, 23 Jan 2026 23:23:36 -0800 Subject: [PATCH] fix: Use chromadb v3.2.2 with v2 API heartbeat endpoint - Updated chromadb from ^1.9.2 to ^3.2.2 (includes CLI binary) - Changed heartbeat endpoint from /api/v1 to /api/v2 The 1.9.x version did not include the CLI, causing `npx chroma run` to fail. Version 3.2.2 includes the chroma CLI and uses the v2 API. Co-Authored-By: Claude Opus 4.5 --- package.json | 2 +- src/services/sync/ChromaServerManager.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7a863bb5..5d88329f 100644 --- a/package.json +++ b/package.json @@ -87,8 +87,8 @@ "dependencies": { "@anthropic-ai/claude-agent-sdk": "^0.1.76", "@modelcontextprotocol/sdk": "^1.25.1", - "chromadb": "^1.9.2", "ansi-to-html": "^0.7.2", + "chromadb": "^3.2.2", "express": "^4.18.2", "glob": "^11.0.3", "handlebars": "^4.7.8", diff --git a/src/services/sync/ChromaServerManager.ts b/src/services/sync/ChromaServerManager.ts index b184a76a..8864dbac 100644 --- a/src/services/sync/ChromaServerManager.ts +++ b/src/services/sync/ChromaServerManager.ts @@ -131,7 +131,7 @@ export class ChromaServerManager { while (Date.now() - startTime < timeoutMs) { try { const response = await fetch( - `http://${this.config.host}:${this.config.port}/api/v1/heartbeat` + `http://${this.config.host}:${this.config.port}/api/v2/heartbeat` ); if (response.ok) { this.ready = true;