重构:模块化 RRPP Lite 并更新入口

This commit is contained in:
RoyirinRosmontis
2026-09-16 23:13:28 +08:00
parent c37d8af821
commit 02d36c72f7
35 changed files with 2286 additions and 1079 deletions
+12
View File
@@ -0,0 +1,12 @@
@echo off
setlocal
rem Convert current Windows dir to a WSL path (lowercase drive + forward slashes)
set "WSLDIR=%CD:\=/%"
set "WSLDIR=%WSLDIR::=%"
set "DRIVE=%WSLDIR:~0,1%"
for %%C in (a b c d e f g h i j k l m n o p q r s t u v w x y z) do if /i "%%C"=="%DRIVE%" set "WSLDIR=%%C%WSLDIR:~1%"
set "WSLDIR=/mnt/%WSLDIR%"
rem -i is essential: in a non-interactive shell PS1 is empty, so ~/.bashrc's
rem interactive guard returns early and the model-mapping env vars are lost
wsl -e bash -ic "cd '%WSLDIR%' && /root/.local/bin/claude --continue"
pause