- requirements.txt 加 jedi: 装依赖即自动预装 L2 语义验证后端 (纯 Python) - launcher.third_party 加 jedi: scan_imports 重写 requirements 时不会丢 - 验证: py_detect 内缩进 import jedi 可被扫描正则捕获 - 无 jedi 仍自动降级纯标准库, 低配设备行为不变; 53 passed 零回归
26 lines
540 B
Plaintext
26 lines
540 B
Plaintext
# 小狸 Pro-CLI 依赖
|
||
# 生成于 2026-08-05 21:10
|
||
|
||
PIL
|
||
ascii_magic
|
||
colorama
|
||
cv2
|
||
numpy
|
||
ollama
|
||
openai
|
||
pygame
|
||
requests
|
||
tkinter
|
||
|
||
# LSP 智能感知(pylsp 作为工具之一:lsp__diagnostics/hover/definition/references/completion)
|
||
# 写/改 .py 文件后自动触发诊断并注入模型上下文
|
||
python-lsp-server
|
||
pyflakes
|
||
pycodestyle
|
||
rope
|
||
mccabe
|
||
|
||
# 自研本地 LSP 服务器 / py_detect L2 语义验证后端
|
||
# 纯 Python 语义引擎,装依赖即自动预装(L2 自动启用;无 jedi 自动降级为纯标准库模式)
|
||
jedi
|