ddgs-mcp-server 0.5.0__tar.gz → 0.5.1__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.
@@ -177,4 +177,6 @@ cython_debug/
177
177
  # exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
178
178
  # refer to https://docs.cursor.com/context/ignore-files
179
179
  .cursorignore
180
- .cursorindexingignore
180
+ .cursorindexingignore
181
+ test_output.txt
182
+ tests/test_server_real.py
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ddgs-mcp-server
3
- Version: 0.5.0
3
+ Version: 0.5.1
4
4
  Summary: DuckDuckGo Search MCP Server with full page content extraction
5
5
  License-File: LICENSE
6
6
  Requires-Python: >=3.10
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "ddgs-mcp-server"
7
- version = "0.5.0"
7
+ version = "0.5.1"
8
8
  description = "DuckDuckGo Search MCP Server with full page content extraction"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -250,7 +250,7 @@ async def call_tool(name: str, arguments: dict) -> list[types.TextContent | type
250
250
  else:
251
251
  raise ValueError(f"Unknown tool: {name}")
252
252
 
253
- return [types.TextContent(type="text", text=json.dumps(results, indent=2))]
253
+ return [types.TextContent(type="text", text=json.dumps(results, indent=2, ensure_ascii=False))]
254
254
 
255
255
  except Exception as e:
256
256
  logger.error(f"Error executing {name}: {e}")
@@ -204,7 +204,7 @@ async def call_tool(name: str, arguments: dict) -> list[types.TextContent | type
204
204
  )
205
205
  results = list(results) if results else []
206
206
 
207
- return [types.TextContent(type="text", text=json.dumps(results, indent=2))]
207
+ return [types.TextContent(type="text", text=json.dumps(results, indent=2, ensure_ascii=False))]
208
208
 
209
209
  except Exception as e:
210
210
  logger.error(f"Error executing {name}: {e}")
File without changes
File without changes