Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
fix(mcp-host): redact userId from installed-client logs (R4-L3)
Diego Zacarias306bdb4392db
diff --git a/mcp-host/package-lock.json b/mcp-host/package-lock.jsonindex 7f859b2b6..cf13a33a3 100644--- a/mcp-host/package-lock.json+++ b/mcp-host/package-lock.json@@ -1,12 +1,12 @@{"name": "clerum-mcp-host",- "version": "0.1.292",+ "version": "0.1.293","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-mcp-host",- "version": "0.1.292",+ "version": "0.1.293","license": "SEE LICENSE IN LICENSE","dependencies": {"@anthropic-ai/sdk": "^0.32.0",diff --git a/mcp-host/package.json b/mcp-host/package.jsonindex ec70b2aca..8c4839332 100644--- a/mcp-host/package.json+++ b/mcp-host/package.json@@ -1,6 +1,6 @@{"name": "clerum-mcp-host",- "version": "0.1.292",+ "version": "0.1.293","description": "MCP Host - reads Host CRD and provides LLM access via OpenAI/Claude","main": "dist/main.js","engines": {diff --git a/mcp-host/src/mcp/manager.ts b/mcp-host/src/mcp/manager.tsindex 4c9017c7f..ca931b03f 100644--- a/mcp-host/src/mcp/manager.ts+++ b/mcp-host/src/mcp/manager.ts@@ -340,7 +340,11 @@ export class McpManager {this.pendingAdmissions.delete(key)this.installConnectedClient(key, serverConfig, client)control.onCommit?.()- console.log(`[McpManager] Installed client: ${key}`)+ console.log(+ `[McpManager] Installed client for server "${serverConfig.name}" (${+ ownsServerStatus ? 'shared' : 'per-user'+ } partition)`+ )return 'applied'} catch (error) {if (!isCurrent() || this.pendingAdmissions.get(key)?.attempt !== attempt) {@@ -349,7 +353,12 @@ export class McpManager {return 'stale'}this.pendingAdmissions.delete(key)- console.error(`[McpManager] Failed to install client ${key}:`, error)+ console.error(+ `[McpManager] Failed to install client for server "${serverConfig.name}" (${+ ownsServerStatus ? 'shared' : 'per-user'+ } partition):`,+ error+ )// Only the SHARED/eager path owns the per-serverName status transition. A// per-user admission failure must leave the representative's status intact.if (ownsServerStatus) this.recordAdmissionFailure(serverConfig, error)