Skip to content

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

TypeScript

fix(codeql): remove unused variable and bound slug regex

Alfredo Lopez293be7acb5a1
diff --git a/external-rest-api/src/releaseManifest.ts b/external-rest-api/src/releaseManifest.ts
index 6b0b4c17b..ec55fc7b8 100644
--- a/external-rest-api/src/releaseManifest.ts
+++ b/external-rest-api/src/releaseManifest.ts
@@ -9,7 +9,7 @@ export type ReleaseManifest = {
export const releaseManifest: ReleaseManifest = {
releaseId: 'v0.9.0',
externalRestApiVersion: '0.1.84',
- rpcProxyVersion: '0.1.94',
+ rpcProxyVersion: '0.1.95',
desktopVersion: '0.9.0',
minimumDesktopVersion: '0.1.252',
}
diff --git a/mcp-host/package-lock.json b/mcp-host/package-lock.json
index 3aa545b8f..b4fc20acb 100644
--- a/mcp-host/package-lock.json
+++ b/mcp-host/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-mcp-host",
- "version": "0.1.468",
+ "version": "0.1.469",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-mcp-host",
- "version": "0.1.468",
+ "version": "0.1.469",
"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 dcc62db72..c6c798718 100644
--- a/mcp-host/package.json
+++ b/mcp-host/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-mcp-host",
- "version": "0.1.468",
+ "version": "0.1.469",
"description": "MCP Host - reads Host CRD and provides LLM access via OpenAI/Claude",
"main": "dist/main.js",
"engines": {
diff --git a/mcp-host/src/core/orchestration/toolUseLoopIntentRecovery.ts b/mcp-host/src/core/orchestration/toolUseLoopIntentRecovery.ts
index c5a622354..f0674a371 100644
--- a/mcp-host/src/core/orchestration/toolUseLoopIntentRecovery.ts
+++ b/mcp-host/src/core/orchestration/toolUseLoopIntentRecovery.ts
@@ -89,8 +89,8 @@ export function shouldRecoverWorkflowTriggerTextResponse(
if (isWorkflowListIntent(userText)) return false
const normalizedUser = userText.toLowerCase()
- const directTrigger = userText.match(/^\s*(run|execute|trigger|start)\s+(.+?)\s*$/i)
- const directCandidate = directTrigger?.[2].replace(/[\u0060'"“”‘’]/g, '').trim()
+ const directTrigger = userText.match(/^\s*(?:run|execute|trigger|start)\s+(\S{1,128})\s*$/i)
+ const directCandidate = directTrigger?.[1].replace(/[\u0060'"""'']/g, '').trim()
const namesDirectRecipe =
directCandidate !== undefined && /^[a-z0-9]+(?:-[a-z0-9]+)+$/i.test(directCandidate)
const asksToTrigger = /\b(run|start|trigger|execute|launch)\b/.test(normalizedUser)
diff --git a/rpc-proxy/package-lock.json b/rpc-proxy/package-lock.json
index fa235616b..0796f6589 100644
--- a/rpc-proxy/package-lock.json
+++ b/rpc-proxy/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-rpc-proxy",
- "version": "0.1.94",
+ "version": "0.1.95",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-rpc-proxy",
- "version": "0.1.94",
+ "version": "0.1.95",
"dependencies": {
"cors": "^2.8.5",
"express": "^4.21.2",
diff --git a/rpc-proxy/package.json b/rpc-proxy/package.json
index cbaa8cf89..ef129fee1 100644
--- a/rpc-proxy/package.json
+++ b/rpc-proxy/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-rpc-proxy",
- "version": "0.1.94",
+ "version": "0.1.95",
"description": "External-facing RPC proxy for tenant-scoped MCP access",
"main": "dist/main.js",
"engines": {
diff --git a/rpc-proxy/src/routes/rpc.ts b/rpc-proxy/src/routes/rpc.ts
index 57dc46258..ea0cc0b7a 100644
--- a/rpc-proxy/src/routes/rpc.ts
+++ b/rpc-proxy/src/routes/rpc.ts
@@ -441,7 +441,6 @@ export function createRpcRouter(): Router {
`[RPC_PROXY] user=${auth.sub} host=${hostRef} method=host-message-rest${isAsync ? ' (async)' : ''} attachments=${attachmentCount}`
)
let upstreamResponse: Record<string, unknown> | null = null
- const wakeCapable = isWakeCapable(auth, hostRef, Date.now())
try {
// Always use the configured upstream timeout for the first POST.
// A separate statelessness pre-check would double-charge the