diff --git a/senses/git-workspace-status/index.js b/senses/git-workspace-status/index.js index f087c97..a5732c7 100644 --- a/senses/git-workspace-status/index.js +++ b/senses/git-workspace-status/index.js @@ -41,7 +41,7 @@ function countPorcelainLines(output) { if (!output) return 0; return output.split("\n").filter((line) => line.length > 0).length; } -async function compute(_signal) { +async function compute() { const root = workspaceRoot(); const ts = Date.now(); let branch = ""; diff --git a/senses/git-workspace-status/src/index.ts b/senses/git-workspace-status/src/index.ts index a95af29..16bb0c1 100644 --- a/senses/git-workspace-status/src/index.ts +++ b/senses/git-workspace-status/src/index.ts @@ -31,7 +31,7 @@ function countPorcelainLines(output: string): number { return output.split("\n").filter((line) => line.length > 0).length; } -export async function compute(_signal: AbortSignal) { +export async function compute() { const root = workspaceRoot(); const ts = Date.now(); diff --git a/senses/hermes-gateway-health/index.js b/senses/hermes-gateway-health/index.js index b385faf..e87c3e5 100644 --- a/senses/hermes-gateway-health/index.js +++ b/senses/hermes-gateway-health/index.js @@ -274,7 +274,7 @@ async function countDirectChildren(mainPid) { return 0; } } -async function compute(_signal) { +async function compute() { const ts = Date.now(); let mainPid = 0; let systemdActiveRunning = false; diff --git a/senses/hermes-gateway-health/src/index.ts b/senses/hermes-gateway-health/src/index.ts index b1e2172..f23d2ca 100644 --- a/senses/hermes-gateway-health/src/index.ts +++ b/senses/hermes-gateway-health/src/index.ts @@ -314,7 +314,7 @@ async function countDirectChildren(mainPid: number): Promise { } } -export async function compute(_signal: AbortSignal) { +export async function compute() { const ts = Date.now(); let mainPid = 0; diff --git a/senses/hermes-session-message-stats/index.js b/senses/hermes-session-message-stats/index.js index 79b22bc..916a333 100644 --- a/senses/hermes-session-message-stats/index.js +++ b/senses/hermes-session-message-stats/index.js @@ -61,7 +61,7 @@ async function aggregateJsonlFile(filePath, cutoffMs, nowMs) { } return { user, assistant, tool, fileHadActivity }; } -async function compute(_signal) { +async function compute() { const nowMs = Date.now(); const cutoffMs = nowMs - MEASUREMENT_WINDOW_MS; const ts = nowMs; diff --git a/senses/hermes-session-message-stats/src/index.ts b/senses/hermes-session-message-stats/src/index.ts index 5fb6b62..a388c92 100644 --- a/senses/hermes-session-message-stats/src/index.ts +++ b/senses/hermes-session-message-stats/src/index.ts @@ -63,7 +63,7 @@ async function aggregateJsonlFile(filePath: string, cutoffMs: number, nowMs: num return { user, assistant, tool, fileHadActivity }; } -export async function compute(_signal: AbortSignal) { +export async function compute() { const nowMs = Date.now(); const cutoffMs = nowMs - MEASUREMENT_WINDOW_MS; const ts = nowMs; diff --git a/senses/linux-system-health/index.js b/senses/linux-system-health/index.js index 06c0b0a..0143ac5 100644 --- a/senses/linux-system-health/index.js +++ b/senses/linux-system-health/index.js @@ -53,7 +53,7 @@ function parseSockstat(content) { } return { socketsUsed, tcpInuse, tcpOrphan, tcpTw, tcpAlloc, tcpMemPages }; } -async function compute(_signal) { +async function compute() { const [load1, load5, load15] = loadavg(); const memTotal = totalmem(); const memFree = freemem(); diff --git a/senses/linux-system-health/src/index.ts b/senses/linux-system-health/src/index.ts index 0e167a7..b9bcf3e 100644 --- a/senses/linux-system-health/src/index.ts +++ b/senses/linux-system-health/src/index.ts @@ -42,7 +42,7 @@ function parseSockstat(content: string): SockstatResult { return { socketsUsed, tcpInuse, tcpOrphan, tcpTw, tcpAlloc, tcpMemPages }; } -export async function compute(_signal: AbortSignal) { +export async function compute() { const [load1, load5, load15] = loadavg(); const memTotal = totalmem(); diff --git a/senses/worker-process-metrics/index.js b/senses/worker-process-metrics/index.js index cfc0c2e..d7423f1 100644 --- a/senses/worker-process-metrics/index.js +++ b/senses/worker-process-metrics/index.js @@ -13,7 +13,7 @@ var workerProcessMetrics = sqliteTable("worker_process_metrics", { function round2(n) { return Math.round(n * 100) / 100; } -async function compute(_signal) { +async function compute() { const ts = Date.now(); const pid = process.pid; const uptimeSec = process.uptime(); diff --git a/senses/worker-process-metrics/src/index.ts b/senses/worker-process-metrics/src/index.ts index 910307d..e18e1d9 100644 --- a/senses/worker-process-metrics/src/index.ts +++ b/senses/worker-process-metrics/src/index.ts @@ -4,7 +4,7 @@ function round2(n: number): number { return Math.round(n * 100) / 100; } -export async function compute(_signal: AbortSignal) { +export async function compute() { const ts = Date.now(); const pid = process.pid; const uptimeSec = process.uptime();