lean-lsp-mcp 0.15.0__py3-none-any.whl → 0.16.1__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/utils.py CHANGED
@@ -353,3 +353,34 @@ def deprecated(func_or_msg: str | Callable | None = None) -> Callable:
353
353
  return _decorator
354
354
 
355
355
  return _decorator(func_or_msg)
356
+
357
+
358
+ # LSP CompletionItemKind enum
359
+ # https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/
360
+ COMPLETION_KIND: Dict[int, str] = {
361
+ 1: "text",
362
+ 2: "method",
363
+ 3: "function",
364
+ 4: "constructor",
365
+ 5: "field",
366
+ 6: "variable",
367
+ 7: "class",
368
+ 8: "interface",
369
+ 9: "module",
370
+ 10: "property",
371
+ 11: "unit",
372
+ 12: "value",
373
+ 13: "enum",
374
+ 14: "keyword",
375
+ 15: "snippet",
376
+ 16: "color",
377
+ 17: "file",
378
+ 18: "reference",
379
+ 19: "folder",
380
+ 20: "enum_member",
381
+ 21: "constant",
382
+ 22: "struct",
383
+ 23: "event",
384
+ 24: "operator",
385
+ 25: "type_parameter",
386
+ }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lean-lsp-mcp
3
- Version: 0.15.0
3
+ Version: 0.16.1
4
4
  Summary: Lean Theorem Prover MCP
5
5
  Author-email: Oliver Dressler <hey@oli.show>
6
6
  License-Expression: MIT
@@ -10,6 +10,7 @@ Description-Content-Type: text/markdown
10
10
  License-File: LICENSE
11
11
  Requires-Dist: leanclient==0.6.1
12
12
  Requires-Dist: mcp[cli]==1.23.1
13
+ Requires-Dist: mcp[cli]>=1.22.0
13
14
  Requires-Dist: orjson>=3.11.1
14
15
  Provides-Extra: lint
15
16
  Requires-Dist: ruff>=0.2.0; extra == "lint"
@@ -0,0 +1,17 @@
1
+ lean_lsp_mcp/__init__.py,sha256=MN_bNFyb5-p33JWWGbrlUYBd1UUMQKtZYGC9KCh2mtM,1403
2
+ lean_lsp_mcp/__main__.py,sha256=XnpTzfJc0T-j9tHtdkA8ovTr1c139ffTewcJGhxYDaM,49
3
+ lean_lsp_mcp/client_utils.py,sha256=HgPuB35rMitn2Xm8SCAErsFLq15trB6VMz3FDFgmPd8,4897
4
+ lean_lsp_mcp/file_utils.py,sha256=kCTYQSfmV-R2cm_NCi_L8W5Dcsm0_rTOPpTtpyAin78,1365
5
+ lean_lsp_mcp/instructions.py,sha256=S1y834V8v-SFSYJlxxy6Dj-Z0szMyEBT5SkEyM6Npr8,1756
6
+ lean_lsp_mcp/loogle.py,sha256=ChybtPM8jOxP8s28358yNqcLiYvGlQqkAEFFLzR87Zw,11971
7
+ lean_lsp_mcp/models.py,sha256=M8CmTg0_NL7KwcQ7UX_Zk7ZG1zXoWLINr41NPs_no2Y,4301
8
+ lean_lsp_mcp/outline_utils.py,sha256=-eoZNbx2eaKaYmuyFJnwUMWP8I9YXNWusue_2OYpDBM,10981
9
+ lean_lsp_mcp/search_utils.py,sha256=X2LPynDNLi767UDxbxHpMccOkbnfKJKv_HxvRNxIXM4,3984
10
+ lean_lsp_mcp/server.py,sha256=8QEkRlbLEKif4NfagD2l1min1w1IFF7Jw1TUUOK-xFg,39481
11
+ lean_lsp_mcp/utils.py,sha256=355kzyB3dkwU7_4Mfcg--JXEorFaE2gtqs6-HbH5rRE,11722
12
+ lean_lsp_mcp-0.16.1.dist-info/licenses/LICENSE,sha256=CQlxnf0tQyoVrBE93JYvAUYxv6Z5Yg6sX0pwogOkFvo,1071
13
+ lean_lsp_mcp-0.16.1.dist-info/METADATA,sha256=nwfjUYlagiUb49IkT3AWoOmJwH4fnwJ5ElyvD9V8zGw,20819
14
+ lean_lsp_mcp-0.16.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
15
+ lean_lsp_mcp-0.16.1.dist-info/entry_points.txt,sha256=nQbvwctWkWD7I-2f4VrdVQBZYGUw8CnUnFC6QjXxOSE,51
16
+ lean_lsp_mcp-0.16.1.dist-info/top_level.txt,sha256=LGEK0lgMSNPIQ6mG8EO-adaZEGPi_0daDs004epOTF0,13
17
+ lean_lsp_mcp-0.16.1.dist-info/RECORD,,
@@ -1,16 +0,0 @@
1
- lean_lsp_mcp/__init__.py,sha256=MN_bNFyb5-p33JWWGbrlUYBd1UUMQKtZYGC9KCh2mtM,1403
2
- lean_lsp_mcp/__main__.py,sha256=XnpTzfJc0T-j9tHtdkA8ovTr1c139ffTewcJGhxYDaM,49
3
- lean_lsp_mcp/client_utils.py,sha256=HgPuB35rMitn2Xm8SCAErsFLq15trB6VMz3FDFgmPd8,4897
4
- lean_lsp_mcp/file_utils.py,sha256=kCTYQSfmV-R2cm_NCi_L8W5Dcsm0_rTOPpTtpyAin78,1365
5
- lean_lsp_mcp/instructions.py,sha256=GUOCDILr5N4H_kNE5hiXtzy4Sz9tu-BnE7Y0ktXIF9M,955
6
- lean_lsp_mcp/loogle.py,sha256=NEs8b_P3RQ4EnWJG3LF9RLevsLS0F80T_uebEickx5c,9789
7
- lean_lsp_mcp/outline_utils.py,sha256=sZ5q19yxheWuDfb3w8FNfuL1ACGJ9ipqRsIQc-gb1SE,8249
8
- lean_lsp_mcp/search_utils.py,sha256=X2LPynDNLi767UDxbxHpMccOkbnfKJKv_HxvRNxIXM4,3984
9
- lean_lsp_mcp/server.py,sha256=m78vXmnVO3qUu6BIEsyOPhefeu6apU8EEZ7VIcVsTDU,39009
10
- lean_lsp_mcp/utils.py,sha256=qY2Ef82SmD46y0IgyX1jimigkgr6Q8-Hrme-yUYSBGo,11094
11
- lean_lsp_mcp-0.15.0.dist-info/licenses/LICENSE,sha256=CQlxnf0tQyoVrBE93JYvAUYxv6Z5Yg6sX0pwogOkFvo,1071
12
- lean_lsp_mcp-0.15.0.dist-info/METADATA,sha256=KtGWheExi2HzDKDwExeed8CRsa2k-0LHAYv8uRdhYBA,20787
13
- lean_lsp_mcp-0.15.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
14
- lean_lsp_mcp-0.15.0.dist-info/entry_points.txt,sha256=nQbvwctWkWD7I-2f4VrdVQBZYGUw8CnUnFC6QjXxOSE,51
15
- lean_lsp_mcp-0.15.0.dist-info/top_level.txt,sha256=LGEK0lgMSNPIQ6mG8EO-adaZEGPi_0daDs004epOTF0,13
16
- lean_lsp_mcp-0.15.0.dist-info/RECORD,,