lean-lsp-mcp 0.17.0__py3-none-any.whl → 0.17.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.
- lean_lsp_mcp/outline_utils.py +5 -1
- {lean_lsp_mcp-0.17.0.dist-info → lean_lsp_mcp-0.17.2.dist-info}/METADATA +3 -3
- {lean_lsp_mcp-0.17.0.dist-info → lean_lsp_mcp-0.17.2.dist-info}/RECORD +7 -7
- {lean_lsp_mcp-0.17.0.dist-info → lean_lsp_mcp-0.17.2.dist-info}/WHEEL +0 -0
- {lean_lsp_mcp-0.17.0.dist-info → lean_lsp_mcp-0.17.2.dist-info}/entry_points.txt +0 -0
- {lean_lsp_mcp-0.17.0.dist-info → lean_lsp_mcp-0.17.2.dist-info}/licenses/LICENSE +0 -0
- {lean_lsp_mcp-0.17.0.dist-info → lean_lsp_mcp-0.17.2.dist-info}/top_level.txt +0 -0
lean_lsp_mcp/outline_utils.py
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import re
|
|
2
2
|
from typing import Dict, List, Optional, Tuple
|
|
3
|
+
|
|
3
4
|
from leanclient import LeanLSPClient
|
|
4
5
|
from leanclient.utils import DocumentContentChange
|
|
5
6
|
|
|
6
7
|
from lean_lsp_mcp.models import FileOutline, OutlineEntry
|
|
7
8
|
|
|
8
|
-
|
|
9
9
|
METHOD_KIND = {6, "method"}
|
|
10
10
|
KIND_TAGS = {"namespace": "Ns"}
|
|
11
11
|
|
|
@@ -41,6 +41,10 @@ def _get_info_trees(
|
|
|
41
41
|
for line in sorted(symbol_by_line.keys(), reverse=True)
|
|
42
42
|
],
|
|
43
43
|
)
|
|
44
|
+
|
|
45
|
+
# Force file reload to reset diagnostics after the insert/revert cycle.
|
|
46
|
+
client.open_file(path, force_reopen=True)
|
|
47
|
+
|
|
44
48
|
return info_trees
|
|
45
49
|
|
|
46
50
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lean-lsp-mcp
|
|
3
|
-
Version: 0.17.
|
|
3
|
+
Version: 0.17.2
|
|
4
4
|
Summary: Lean Theorem Prover MCP
|
|
5
5
|
Author-email: Oliver Dressler <hey@oli.show>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -8,8 +8,8 @@ Project-URL: Repository, https://github.com/oOo0oOo/lean-lsp-mcp
|
|
|
8
8
|
Requires-Python: >=3.10
|
|
9
9
|
Description-Content-Type: text/markdown
|
|
10
10
|
License-File: LICENSE
|
|
11
|
-
Requires-Dist: leanclient==0.
|
|
12
|
-
Requires-Dist: mcp[cli]==1.
|
|
11
|
+
Requires-Dist: leanclient==0.8.0
|
|
12
|
+
Requires-Dist: mcp[cli]==1.25.0
|
|
13
13
|
Requires-Dist: orjson>=3.11.1
|
|
14
14
|
Provides-Extra: lint
|
|
15
15
|
Requires-Dist: ruff>=0.2.0; extra == "lint"
|
|
@@ -5,13 +5,13 @@ lean_lsp_mcp/file_utils.py,sha256=kCTYQSfmV-R2cm_NCi_L8W5Dcsm0_rTOPpTtpyAin78,13
|
|
|
5
5
|
lean_lsp_mcp/instructions.py,sha256=iJk_oD67tqNaC8K5OXEuXafULKSbbiHjZAsSRebOwdw,1904
|
|
6
6
|
lean_lsp_mcp/loogle.py,sha256=zUgnDWoTIqa4G6GXStAIxxJUR545YbU8Z-8KMjddKV0,15500
|
|
7
7
|
lean_lsp_mcp/models.py,sha256=2pLmvNsrMdn4vO1k119Jw8gqYeaeGKewWW0q1TabBCY,6604
|
|
8
|
-
lean_lsp_mcp/outline_utils.py,sha256
|
|
8
|
+
lean_lsp_mcp/outline_utils.py,sha256=i7xL27UO2rTT48IdKXkoMq5FVJNxyA3tPuQREOBf_gU,11105
|
|
9
9
|
lean_lsp_mcp/search_utils.py,sha256=MLqKGe4bhEvyfFLIBCmiDxkbcH4O5J3vl9mWnRSb_v0,6801
|
|
10
10
|
lean_lsp_mcp/server.py,sha256=1G7-FZz1TNJ7uU36eSTm9yponWyMO3QhQiyOhhTNOH8,40626
|
|
11
11
|
lean_lsp_mcp/utils.py,sha256=MmGgdhrLEvCtRRVNgN_vflO9_A25h76QbJXhBD-OKt0,12721
|
|
12
|
-
lean_lsp_mcp-0.17.
|
|
13
|
-
lean_lsp_mcp-0.17.
|
|
14
|
-
lean_lsp_mcp-0.17.
|
|
15
|
-
lean_lsp_mcp-0.17.
|
|
16
|
-
lean_lsp_mcp-0.17.
|
|
17
|
-
lean_lsp_mcp-0.17.
|
|
12
|
+
lean_lsp_mcp-0.17.2.dist-info/licenses/LICENSE,sha256=CQlxnf0tQyoVrBE93JYvAUYxv6Z5Yg6sX0pwogOkFvo,1071
|
|
13
|
+
lean_lsp_mcp-0.17.2.dist-info/METADATA,sha256=3DrsuvvG0QlourPaQIsOPVz37AeFOMQOxpPX7aS2VUA,20787
|
|
14
|
+
lean_lsp_mcp-0.17.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
15
|
+
lean_lsp_mcp-0.17.2.dist-info/entry_points.txt,sha256=nQbvwctWkWD7I-2f4VrdVQBZYGUw8CnUnFC6QjXxOSE,51
|
|
16
|
+
lean_lsp_mcp-0.17.2.dist-info/top_level.txt,sha256=LGEK0lgMSNPIQ6mG8EO-adaZEGPi_0daDs004epOTF0,13
|
|
17
|
+
lean_lsp_mcp-0.17.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|