@reconcrap/boss-recommend-mcp 1.3.2 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reconcrap/boss-recommend-mcp",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Unified MCP pipeline for recommend-page filtering and screening on Boss Zhipin",
5
5
  "keywords": [
6
6
  "boss",
@@ -629,6 +629,7 @@ function browserActivateCandidate(options = {}) {
629
629
 
630
630
  function browserScrollCustomerList(options = {}) {
631
631
  const ratio = Number(options.ratio || 0.72);
632
+ const clamp = (value, low, high) => Math.max(low, Math.min(high, value));
632
633
  const isScrollable = (el) =>
633
634
  el instanceof HTMLElement &&
634
635
  Number(el.scrollHeight || 0) > Number(el.clientHeight || 0) + 16 &&