lightpdf-aipdf-mcp 0.1.33__tar.gz → 0.1.34__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lightpdf-aipdf-mcp
3
- Version: 0.1.33
3
+ Version: 0.1.34
4
4
  Summary: MCP Server for LightPDF AI-PDF
5
5
  Author: LightPDF Team
6
6
  License: Proprietary
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "lightpdf-aipdf-mcp"
7
- version = "0.1.33"
7
+ version = "0.1.34"
8
8
  description = "MCP Server for LightPDF AI-PDF"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -32,13 +32,13 @@ class Logger:
32
32
  self._info_log.append(message)
33
33
 
34
34
  level_map = {
35
- "debug": LoggingLevel.Debug,
36
- "info": LoggingLevel.Info,
37
- "warning": LoggingLevel.Warning,
38
- "error": LoggingLevel.Error
35
+ "debug": "debug",
36
+ "info": "info",
37
+ "warning": "warning",
38
+ "error": "error"
39
39
  }
40
40
 
41
- mcp_level = level_map.get(level.lower(), LoggingLevel.Info)
41
+ mcp_level = level_map.get(level.lower(), "info")
42
42
 
43
43
  # 使用更简洁的send_log_message方法
44
44
  await self.context.session.send_log_message(mcp_level, message)