From 6368559c024de12ddb443999b4945d72a64b6ce5 Mon Sep 17 00:00:00 2001 From: Martin Garramon Date: Sat, 18 Apr 2026 11:22:31 -0300 Subject: [PATCH] chore(scripts): bump slack media.ts fetch-allowlist line numbers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `lint:tmp:no-raw-channel-fetch` allowlist pins exact line numbers (scripts/check-no-raw-channel-fetch.mjs:63-65). The previous commit added `import { logVerbose } from "openclaw/plugin-sdk/runtime-env";` on line 8 of `extensions/slack/src/monitor/media.ts`, shifting the three allowlisted raw `fetch()` callsites from 96/115/120 → 97/116/121. Updates the allowlist to match the new positions. No behavior change — the same callsites remain allowlisted. --- scripts/check-no-raw-channel-fetch.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/check-no-raw-channel-fetch.mjs b/scripts/check-no-raw-channel-fetch.mjs index ff5724257e0..01d486d539a 100644 --- a/scripts/check-no-raw-channel-fetch.mjs +++ b/scripts/check-no-raw-channel-fetch.mjs @@ -60,9 +60,9 @@ const allowedRawFetchCallsites = new Set([ bundledPluginCallsite("qqbot", "src/tools/channel.ts", 180), bundledPluginCallsite("qqbot", "src/utils/audio-convert.ts", 377), bundledPluginCallsite("signal", "src/install-signal-cli.ts", 224), - bundledPluginCallsite("slack", "src/monitor/media.ts", 96), - bundledPluginCallsite("slack", "src/monitor/media.ts", 115), - bundledPluginCallsite("slack", "src/monitor/media.ts", 120), + bundledPluginCallsite("slack", "src/monitor/media.ts", 97), + bundledPluginCallsite("slack", "src/monitor/media.ts", 116), + bundledPluginCallsite("slack", "src/monitor/media.ts", 121), bundledPluginCallsite("tlon", "src/tlon-api.ts", 185), bundledPluginCallsite("tlon", "src/tlon-api.ts", 235), bundledPluginCallsite("tlon", "src/tlon-api.ts", 289),