refactor: optimize matrix channel — optional deps, trim comments, simplify methods

This commit is contained in:
Re-bin
2026-02-26 03:04:01 +00:00
parent 84f2f3c316
commit 988a85d8de
4 changed files with 236 additions and 714 deletions

View File

@@ -42,12 +42,14 @@ dependencies = [
"prompt-toolkit>=3.0.50,<4.0.0",
"mcp>=1.26.0,<2.0.0",
"json-repair>=0.57.0,<1.0.0",
]
[project.optional-dependencies]
matrix = [
"matrix-nio[e2e]>=0.25.2",
"mistune>=3.0.0,<4.0.0",
"nh3>=0.2.17,<1.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=9.0.0,<10.0.0",
"pytest-asyncio>=1.3.0,<2.0.0",