cnks 0.2.1__py3-none-any.whl → 0.2.2__py3-none-any.whl

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.
cnks/__init__.py CHANGED
@@ -5,7 +5,7 @@ import json
5
5
  from typing import Optional, Dict, Any
6
6
 
7
7
  # 版本号
8
- __version__ = "0.2.1"
8
+ __version__ = "0.2.2"
9
9
 
10
10
  def add_note(name: str, content: str) -> None:
11
11
  """添加笔记到服务器"""
cnks/server.py CHANGED
@@ -759,7 +759,7 @@ async def main():
759
759
  write_stream,
760
760
  InitializationOptions(
761
761
  server_name="cnks",
762
- server_version="0.2.1",
762
+ server_version="0.2.2",
763
763
  capabilities=server.get_capabilities(
764
764
  notification_options=NotificationOptions(),
765
765
  experimental_capabilities={},
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cnks
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: CNKI Search tool with Chrome browser integration
5
5
  Author-email: bai-z-l <b@iziliang.com>
6
- Requires-Python: >=3.13
6
+ Requires-Python: >=3.10
7
7
  Requires-Dist: mcp[cli]>=1.6.0
8
8
  Requires-Dist: playwright>=1.51.0
9
9
  Requires-Dist: pydantic>=2.11.3
@@ -23,6 +23,12 @@ Description-Content-Type: text/markdown
23
23
 
24
24
  ## 版本更新
25
25
 
26
+ ### v0.2.2
27
+ - 优化Chrome浏览器本地调用,不再尝试下载Chromium
28
+ - 增强错误处理和日志记录
29
+ - 降低Python版本要求至3.10,提高兼容性
30
+ - 修复若干bug和稳定性问题
31
+
26
32
  ### v0.2.0
27
33
  - 简化工具接口,统一为单一的`mcp_cnks_search_and_extract`工具
28
34
  - 实现一步式搜索和内容提取
@@ -36,7 +42,7 @@ Description-Content-Type: text/markdown
36
42
 
37
43
  ## 安装
38
44
 
39
- 确保您已安装Python 3.13或更高版本,然后执行以下命令安装:
45
+ 确保您已安装Python 3.10或更高版本,然后执行以下命令安装:
40
46
 
41
47
  ```bash
42
48
  uv add "mcp[cli]"
@@ -0,0 +1,8 @@
1
+ cnks/__init__.py,sha256=wG3EMbmNepa8s90dSq7c_A4RnvsC--pzlbnxCBpdwpU,1899
2
+ cnks/chrome_extractor.py,sha256=upTO6DswZEqdY7XuWgRiw_xv-X20ldq0sxKA1MK7z-g,16262
3
+ cnks/extractor.py,sha256=VbRJ7flI6huWnXAjCUxufZBUfETxvc8TCw7NQMLGU4o,9998
4
+ cnks/server.py,sha256=L1ugCuCyKUpbwtWG2cKtjSnGAljzl9PLQEZBapoyb1g,34002
5
+ cnks-0.2.2.dist-info/METADATA,sha256=xbSj8F-Y5GtsW678mLEgv1RKvg-Qv0JxIWDBSMpGCBU,4198
6
+ cnks-0.2.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
7
+ cnks-0.2.2.dist-info/entry_points.txt,sha256=OkIiD7Ctn1Fn5B5zY09ltFFjIA8mJd3lw5V20AGtyYg,35
8
+ cnks-0.2.2.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- cnks/__init__.py,sha256=Ud0S83EgNwDPemSgxrJM9GyOvV1AwpsaqCHpphm1Fug,1899
2
- cnks/chrome_extractor.py,sha256=upTO6DswZEqdY7XuWgRiw_xv-X20ldq0sxKA1MK7z-g,16262
3
- cnks/extractor.py,sha256=VbRJ7flI6huWnXAjCUxufZBUfETxvc8TCw7NQMLGU4o,9998
4
- cnks/server.py,sha256=EBrQTfWPPwqrgfLJuMVso88IbchOyS_XGkq89P1NUHY,34002
5
- cnks-0.2.1.dist-info/METADATA,sha256=TU_9x3bc0NbI9bXYMLAurlzGXh_BCy9PaGnbzB97JSw,3997
6
- cnks-0.2.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
7
- cnks-0.2.1.dist-info/entry_points.txt,sha256=OkIiD7Ctn1Fn5B5zY09ltFFjIA8mJd3lw5V20AGtyYg,35
8
- cnks-0.2.1.dist-info/RECORD,,
File without changes