Repository navigation
跨平台 ovh Python CLI 入口与 Windows 端到端出片链路 - #273
Merged
Merged
Conversation
… and E2E film pipeline
…I summary in cli_portable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
做了什么
tools/cli.py+ 包装器:新增bin/ovh、bin/ovh.cmd、bin/vh.cmd(保留bin/vhPOSIX 兼容),1:1 覆盖tools/commands.json全部 74 条命令;统一处理 UTF-8 I/O、镜像环境变量注入、activity.jsonl运行日志、进程组取消/信号透传(含 WindowsCTRL_BREAK_EVENT/.ovh/cancel/<run>标记与安全捕获)、doctor/new/frames/render/check/web/style等完整流程。tools/readpath.py内置纯 Pythoneffort(),去掉内部bash bin/vh依赖;tools/versions.py与tools/film/versions.mjs:shutil.disk_usage替代os.statvfs、独立进程组原子提交 + 信号屏蔽 + 中断后reconcile/entry_view自愈;tools/doctor.py与tools/modules.json:Windowspython3/字体/内存/st_blocks/原生安装提示,统一经platform_env.resolve_exe解析可执行文件;tools/platform_env.py:补齐三端 Playwright Chromium 与chromium_headless_shell发现、POSIX 绝对路径which、可信resolve_exe;tools/cancel.py&tools/procutil.py:跨平台进程组查活/清理、Node--eval=/-pe误匹配防护、Python--check-hash-based-pycs与 macOSps多空格/非 ASCIIvis(3)路径还原;tools/checkrec.py、tools/proxy.py及tools/{isoframes,speccheck,loudcheck,subcheck,scalecheck}.py、tools/film/*.mjs:透传绝对OVH_PYTHON/OVH_FFMPEG/OVH_FFPROBE避开 Windows CWD 搜索;严格多流解码(-xerror -err_detect explode -map 0:v? -map 0:a?);代理字符与 POSIX 原始字节路径安全边界;tools/audio/tts.py与文档:非 Apple Silicon 平台默认切至免 key 的edge,禁用选项缩写歧义;tools/plugin_version.py:LF 规范化与跨平台确定性排序,兼容 Windows CRLF 检出。tools/ci/py/static_checks/cli_portable.py并接入.github/workflows/ci.yml的windows-latestjob(路径门控 +--no-renames),无 WSL/Git Bash 跑通ovh doctor→ovh new --engine page→ovh frames→ovh render→ovh check --json→ovh status --json→ovh versions --json。怎么验证的
tools/ci.sh --committed43/43 组全部通过;cli_portable.py --with-e2e在 POSIX pipe 与OVH_CDP_TRANSPORT=ws双通道均通过;shellcheck、pyflakes、node --check、doctor --check、commands check、keyreads、module_paths、portable_primitives、browser_portable、ci_select --check均通过;windows-latest)全部跑绿后准备合并。