File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,17 +16,33 @@ jobs:
1616 runs-on : ubuntu-latest
1717 timeout-minutes : 15
1818 steps :
19+ - name : Check whether release already exists
20+ id : check
21+ env :
22+ GH_TOKEN : ${{ github.token }}
23+ run : |
24+ if gh release view "$GITHUB_REF_NAME" --repo "$GITHUB_REPOSITORY" >/dev/null 2>&1; then
25+ echo "Release $GITHUB_REF_NAME already exists; skipping workflow build."
26+ echo "exists=true" >> "$GITHUB_OUTPUT"
27+ else
28+ echo "exists=false" >> "$GITHUB_OUTPUT"
29+ fi
1930 - uses : actions/checkout@v4
31+ if : steps.check.outputs.exists != 'true'
2032 - uses : actions/setup-node@v4
33+ if : steps.check.outputs.exists != 'true'
2134 with :
2235 node-version : 22
2336 - name : Build 6 platform archives
37+ if : steps.check.outputs.exists != 'true'
2438 run : |
2539 set -o pipefail
2640 node scripts/package.mjs --expect-tag "$GITHUB_REF_NAME" | tee "$RUNNER_TEMP/checksums.txt"
2741 - name : Verify release archives
42+ if : steps.check.outputs.exists != 'true'
2843 run : node --test --test-timeout=60000 scripts/package/*.test.mjs
2944 - name : Publish GitHub Release
45+ if : steps.check.outputs.exists != 'true'
3046 env :
3147 GH_TOKEN : ${{ github.token }}
3248 PRERELEASE_TAGS : v0.1.0
Original file line number Diff line number Diff line change 1+ Python Support 首个预发布版本(M1 + M2 声明式插件),基于 Pyrefly ` 1.4.1 ` 与 debugpy ` 1.8.22 ` 为新版 Lithe 桌面端提供开箱即用的 Python 开发支持:
2+
3+ - ** Python 语言与静态分析** :识别 ` .py ` / ` .pyi ` / ` .pyw ` ,内置 6 平台预打包的 Pyrefly ` 1.4.1 ` 语言服务器(` pyrefly lsp ` ),提供实时类型检查、跳转定义、查找引用、悬停文档、自动导入补全及工作区排除目录同步,原生识别项目 ` .venv ` 虚拟环境。
4+ - ** 工具链与虚拟环境解析** :支持项目固定解释器、` .venv ` / ` venv ` 项目内虚拟环境(受宿主工作区信任开关保护)、` VIRTUAL_ENV ` 、` PATH ` 以及 Homebrew、Framework、系统路径、` pyenv ` / ` pyenv-win ` 、` uv ` 、` conda ` / ` miniforge ` / ` miniconda ` / ` anaconda ` 自动发现。
5+ - ** 项目模型、构建任务与测试** :纯静态 AST + ` tomllib ` / 内置 ` tomli ` 模型分析脚本(零用户代码执行),自动识别 ` [project.scripts] ` 、包 ` __main__.py ` 、顶层 ` __main__ ` 脚本、Django ` manage.py ` 、FastAPI 与 Flask 运行入口;拆分 ` python ` (` pip install -r requirements.txt ` 、` mypy ` 、` pytest ` JUnit XML 报告与用例过滤)、` uv ` (` sync ` / ` lock ` )、` conda ` (` env update ` )与 ` ruff ` (` check ` / ` format ` )四个独立构建系统。
6+ - ** 源码级调试与开发向导** :内置 ` debugpy ` ` 1.8.22 ` 调试适配器(支持本地单文件/目标 ` launch ` 与远程 ` attach ` 路径映射,自动保持已安装插件目录只读不写入字节码)、终端 Python Traceback 点击跳转源码,以及支持 ` None ` / ` venv ` / ` uv ` 环境初始化的新建 Python 项目向导与完整简体中文翻译。
7+
8+ 权限:` debug.attach ` 、` debug.launch ` 、` languageServer.launch ` 、` process.build ` 、` project.generate ` 。
9+
10+ 兼容性与已知限制:
11+ - 按插件契约 v0(` schemaVersion: 0 ` 、` pluginAPIVersion: 0 ` )构建,需配合支持声明式契约 v0 的新版 Lithe 桌面端(` desktop-v* ` 预发布);项目内 ` .venv ` / ` venv ` 解释器自动探测与信任开关需配合包含 ` 1lck/Lithe-IDEA#2136 ` (及 ` Lithe-IDEA/Lithe-core-rust#93 ` )的桌面端版本。
12+ - 本版本为预发布(Pre-release),Lithe Store 自动追踪会跳过它,暂不自动进入正式插件市场索引。
You can’t perform that action at this time.
0 commit comments