Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

test(mcp-host): use fixture values for the logger secret control

Alfredo Lopeze331bba00df1
diff --git a/mcp-host/package-lock.json b/mcp-host/package-lock.json
index 5a8e071e0..d36460e4b 100644
--- a/mcp-host/package-lock.json
+++ b/mcp-host/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-mcp-host",
- "version": "0.1.443",
+ "version": "0.1.444",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-mcp-host",
- "version": "0.1.443",
+ "version": "0.1.444",
"license": "SEE LICENSE IN LICENSE",
"dependencies": {
"@anthropic-ai/sdk": "^0.32.0",
diff --git a/mcp-host/package.json b/mcp-host/package.json
index 15efdd75c..f850f608b 100644
--- a/mcp-host/package.json
+++ b/mcp-host/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-mcp-host",
- "version": "0.1.443",
+ "version": "0.1.444",
"description": "MCP Host - reads Host CRD and provides LLM access via OpenAI/Claude",
"main": "dist/main.js",
"engines": {
diff --git a/mcp-host/src/agent/__tests__/taskExecutor.test.ts b/mcp-host/src/agent/__tests__/taskExecutor.test.ts
index 3e757e906..289283bc7 100644
--- a/mcp-host/src/agent/__tests__/taskExecutor.test.ts
+++ b/mcp-host/src/agent/__tests__/taskExecutor.test.ts
@@ -2584,10 +2584,10 @@ describe('TaskExecutor subscription context window (#731 R3-4)', () => {
// Control: the same sink still redacts secret-named keys.
fresh.logger.info(
{
- accessToken: 'probe-access',
- refresh_token: 'probe-refresh',
- apiKey: 'probe-key',
- authorization: 'Bearer probe',
+ accessToken: 'fixture-access-token',
+ refresh_token: 'fixture-refresh-token',
+ apiKey: 'fixture-api-key',
+ authorization: 'Bearer fixture-authorization',
},
'secret control'
)
@@ -2613,7 +2613,7 @@ describe('TaskExecutor subscription context window (#731 R3-4)', () => {
authorization: '[Redacted]',
msg: 'secret control',
})
- expect(control).not.toContain('probe')
+ expect(control).not.toContain('fixture-')
} finally {
sink.mockRestore()
console.log = previousConsole.log