mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
f7fd805ef8
The resolveTwitterQueryId() function in shared.js fetches an external JSON file from GitHub without a timeout. If the network request stalls, the function never resolves and the twitter article command hangs indefinitely. Add a 5-second AbortController timeout so the fetch fails fast and falls back to the local script-scanning strategy. This fixes the reported hang when opencli twitter article loses network connectivity.