fix: 插件最终版(stdin 机制)+ 踩坑经验归档

- dsh-scheduler: shell 请求无 args 字段,改 stdin 传脚本 + JS 字面量持久化(Unicode 安全)
- dsh-usage: 余额查询同样改 stdin 机制
- 记录 CollectedOutput.text / sandboxPolicy danger-full-access / exitCode / workdir 等关键经验
This commit is contained in:
江晨
2026-08-17 12:06:47 +08:00
parent c7da6a32ce
commit c33fe31f49
4 changed files with 89 additions and 55 deletions
+7 -6
View File
@@ -19,16 +19,17 @@
### 1️⃣ GitHub / Gitea 集成(进行中)
- [x] 验证 Gitea 凭据(git 协议 + API basic auth
- [ ] 装 gh CLI(沙箱内 github CDN 不通,需换网络或用户手动装)
- [x] 留档仓库 jiangchen/dsh-enhancements 已在 Gitea 上线
- [ ] 装 gh CLI(沙箱内 github CDN 不通,需用户手动 winget 安装)
- [ ] dsh-git 插件:repo_status / gh_issue / gh_pr / gh_commit / gh_push
- [ ] GUI"Git 中心"面板
### 2️⃣ 定时任务插件(进行中
### 2️⃣ 定时任务插件 ✅(核心完成
- [x] dsh-schedulercron 表达式 + every:N 间隔 + 命令动作
- [x] 工具:sched_add / sched_list / sched_remove / sched_run_now / sched_toggle
- [x] 持久化到 %DSH_HOME%\storages\dsh-scheduler.json
- [ ] 解决宿主 shell 沙箱策略问题(sched_diag 诊断中)
- [ ] GUI 管理面板
- [x] 工具:sched_add / sched_list / sched_remove / sched_run_now / sched_toggle / sched_diag
- [x] 持久化到 %DSH_HOME%\storages\dsh-scheduler.jsonUnicode 安全)
- [x] 端到端验证:任务自动执行、重启保留
- [ ] GUI 管理面板(下一阶段)
### 3️⃣ 电脑操作模式(核心)
- [ ] screen_capture(截图)