web-search-plus-plugin 1.2.0 → 1.2.1

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.
@@ -2,7 +2,7 @@
2
2
  "id": "web-search-plus-plugin",
3
3
  "kind": "skill",
4
4
  "name": "Web Search Plus",
5
- "version": "1.2.0",
5
+ "version": "1.2.1",
6
6
  "description": "Multi-provider web search (Serper/Google, Tavily, Exa/Neural+Deep, Perplexity, You.com, SearXNG) with intelligent auto-routing",
7
7
  "configSchema": {
8
8
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-search-plus-plugin",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "OpenClaw plugin: multi-provider web search (Serper/Google, Tavily, Exa/Neural+Deep, Perplexity, You.com, SearXNG) with intelligent auto-routing",
5
5
  "type": "module",
6
6
  "main": "index.ts",
package/scripts/search.py CHANGED
@@ -753,6 +753,19 @@ class QueryAnalyzer:
753
753
  r'\bheadlines?\b': 3.0,
754
754
  r'\b202[4-9]\b': 2.0, # Current year mentions
755
755
  r'\blast (week|month|year)\b': 2.0,
756
+
757
+ # German local patterns
758
+ r'\bin der nähe\b': 4.0,
759
+ r'\bin meiner nähe\b': 4.0,
760
+ r'\böffnungszeiten\b': 3.0,
761
+ r'\badresse von\b': 3.0,
762
+ r'\bweg(beschreibung)? nach\b': 3.5,
763
+
764
+ # German news/recency patterns
765
+ r'\bheute\b': 2.5,
766
+ r'\bmorgen\b': 2.0,
767
+ r'\baktuell\b': 2.5,
768
+ r'\bnachrichten\b': 3.0,
756
769
  }
757
770
 
758
771
  # RAG/AI signals → You.com
@@ -805,6 +818,11 @@ class QueryAnalyzer:
805
818
  r'\bthings to do in\b': 4.0,
806
819
  r'\bnear me\b': 3.0,
807
820
  r'\bcan you (tell me|summarize|explain)\b': 3.5,
821
+ # German
822
+ r'\bwann\b': 3.0,
823
+ r'\bwer\b': 3.0,
824
+ r'\bwo\b': 2.5,
825
+ r'\bwie viele\b': 3.0,
808
826
  }
809
827
 
810
828
  # Privacy/Multi-source signals → SearXNG (self-hosted meta-search)
@@ -875,6 +893,14 @@ class QueryAnalyzer:
875
893
  r'\bstructured (output|data|report)\b': 4.0,
876
894
  r'\bmarket research\b': 4.0,
877
895
  r'\bindustry (report|analysis|overview)\b': 4.0,
896
+ r'\bresearch (on|about|into)\b': 4.0,
897
+ r'\bwhitepaper\b': 4.5,
898
+ r'\btechnical report\b': 4.0,
899
+ r'\bsurvey of\b': 4.5,
900
+ r'\bmeta.?analysis\b': 5.0,
901
+ r'\bsystematic review\b': 5.0,
902
+ r'\bcase study\b': 3.5,
903
+ r'\bbenchmark(s|ing)?\b': 3.5,
878
904
  # German
879
905
  r'\btiefenrecherche\b': 5.0,
880
906
  r'\bumfassende (analyse|übersicht|recherche)\b': 4.5,
@@ -898,11 +924,16 @@ class QueryAnalyzer:
898
924
  r'\bpatent (landscape|analysis|search)\b': 4.5,
899
925
  r'\bmarket intelligence\b': 4.5,
900
926
  r'\bcompetitive (intelligence|landscape)\b': 4.5,
927
+ r'\btrade.?offs?\b': 4.0,
928
+ r'\bpros and cons of\b': 4.0,
929
+ r'\bshould I (use|choose|pick)\b': 3.5,
930
+ r'\bwhich is better\b': 4.0,
901
931
  # German
902
932
  r'\bkomplexe analyse\b': 4.5,
903
933
  r'\bwidersprüche\b': 4.5,
904
934
  r'\bquellen abwägen\b': 4.5,
905
935
  r'\brechtliche analyse\b': 4.5,
936
+ r'\bvergleich(e|en)?\b': 3.5,
906
937
  }
907
938
 
908
939