feat: add multi-encoding support, .gitignore integration, and WebSocket optimization

- Add multi-encoding file support (UTF-8, GBK, GB2312, Latin-1)
- Add .gitignore integration for automatic pattern exclusion
- Optimize WebSocket reconnection with exponential backoff
- Change tool response format from list to dict for better compatibility
- Add bilingual README (Chinese and English)
- Update installation instructions
- Add project description to pyproject.toml
This commit is contained in:
wmymz
2025-11-07 13:20:18 +08:00
parent ab4451b777
commit c15139f5ee
10 changed files with 747 additions and 153 deletions

13
uv.lock generated
View File

@@ -4,7 +4,7 @@ requires-python = ">=3.10"
[[package]]
name = "acemcp"
version = "0.1.3"
version = "0.1.4"
source = { editable = "." }
dependencies = [
{ name = "dynaconf" },
@@ -12,6 +12,7 @@ dependencies = [
{ name = "httpx" },
{ name = "loguru" },
{ name = "mcp" },
{ name = "pathspec" },
{ name = "toml" },
{ name = "uvicorn", extra = ["standard"] },
{ name = "websockets" },
@@ -31,6 +32,7 @@ requires-dist = [
{ name = "httpx", specifier = ">=0.28.1" },
{ name = "loguru", specifier = ">=0.7.3" },
{ name = "mcp", specifier = ">=1.1.2" },
{ name = "pathspec", specifier = ">=0.12.1" },
{ name = "toml", specifier = ">=0.10.2" },
{ name = "uvicorn", extras = ["standard"], specifier = ">=0.34.0" },
{ name = "websockets", specifier = ">=14.1" },
@@ -504,6 +506,15 @@ wheels = [
{ url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/d2/1d/1b658dbd2b9fa9c4c9f32accbfc0205d532c8c6194dc0f2a4c0428e7128a/nodeenv-1.9.1-py2.py3-none-any.whl", hash = "sha256:ba11c9782d29c27c70ffbdda2d7415098754709be8a7056d79a737cd901155c9", size = 22314, upload-time = "2024-06-04T18:44:08.352Z" },
]
[[package]]
name = "pathspec"
version = "0.12.1"
source = { registry = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/" }
sdist = { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/ca/bc/f35b8446f4531a7cb215605d100cd88b7ac6f44ab3fc94870c120ab3adbf/pathspec-0.12.1.tar.gz", hash = "sha256:a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712", size = 51043, upload-time = "2023-12-10T22:30:45Z" }
wheels = [
{ url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/cc/20/ff623b09d963f88bfde16306a54e12ee5ea43e9b597108672ff3a408aad6/pathspec-0.12.1-py3-none-any.whl", hash = "sha256:a0d503e138a4c123b27490a4f7beda6a01c6f288df0e4a8b79c7eb0dc7b4cc08", size = 31191, upload-time = "2023-12-10T22:30:43.14Z" },
]
[[package]]
name = "pip"
version = "25.3"