docs: standardize trans passthrough alias

This commit is contained in:
Codex
2026-06-03 01:44:46 +00:00
parent f445f2abd8
commit faee528ed4
29 changed files with 261 additions and 248 deletions
+5 -5
View File
@@ -4,9 +4,9 @@
## 入口
- UniDesk 侧从主 server 仓库执行:`bun scripts/cli.ts ssh D601 -- '<command>'`
- UniDesk 侧从主 server 仓库执行:`trans D601 -- '<command>'`
- 当前真实工作区路径是 D601 WSL 内的 `/mnt/f/Work/ConStart`。用户口头说的 `/mnt/f/work/constar` 可视为简称;实际执行前要先解析到真实大小写路径。
- 远端工作优先使用 UniDesk SSH helper`ssh D601 skills``ssh D601 find``ssh D601 glob``ssh D601 py``ssh D601 apply-patch`,避免多层 shell/Windows 路径转义问题。
- 远端工作优先使用 UniDesk SSH helper`trans D601 skills``trans D601 find``trans D601 glob``trans D601 py``trans D601 apply-patch`,避免多层 shell/Windows 路径转义问题。
- 不要宽泛扫描 `/mnt/*`;Windows 挂载层可能很慢且有权限噪声。应把查找范围限制到 `/mnt/f/Work/ConStart` 或已知子目录。
## D601 skill 栈
@@ -21,9 +21,9 @@ D601 WSL 用户的 `~/.local/bin` 已提供项目级 wrapper
基础自检:
```bash
bun scripts/cli.ts ssh D601 skills --limit 80
bun scripts/cli.ts ssh D601 -- 'export PATH="$HOME/.local/bin:$PATH"; command -v win-py win-npm keil serial-monitor board-comm'
bun scripts/cli.ts ssh D601 -- 'export PATH="$HOME/.local/bin:$PATH"; keil status; serial-monitor ports; board-comm debug build-jrpctcp-request get api'
trans D601 skills --limit 80
trans D601 -- 'export PATH="$HOME/.local/bin:$PATH"; command -v win-py win-npm keil serial-monitor board-comm'
trans D601 -- 'export PATH="$HOME/.local/bin:$PATH"; keil status; serial-monitor ports; board-comm debug build-jrpctcp-request get api'
```
## ConStart 项目地图