baseline: dsh 工作区基线快照(2026-09-10,全新历史起点)

本提交为 dsh_mcn_workshop 仓库的首个提交(旧仓 dsh_MCNProject 已停用),
完整固化 C:/Users/Administrator/.dsh 当前磁盘状态。

1) 临时数据清理:移出 sessions/(81M)、logs/、skill-backup-20260906/(14M)、
   scripts/__pycache__、storages/workspace.json.bak —— 合计 94M(.dsh 162M → 68M)
2) 凭据脱敏:.credentials.yaml(含明文 DEEPSEEK_API_KEY)移出 git 跟踪并加入
   .gitignore;mcn-data-insight/scripts/setup_redfox_key.py 中真实 key 示例改为占位符
3) .gitignore 增补 logs/、skill-backup-*/ 规则
4) 技能结构以当前磁盘状态为准:skills/ = mcn-short-video / impeccable / taste-skill /
   dsh-multi-user-migration;旧技能目录(mcn-dou-analysis、storyboard-prompt、
   short-video-script、browser-harness、mcn-data-insight)与
   profiles/web/node_modules/dsh-vision-router 本地已不存在,本提交记为删除
This commit is contained in:
admin committed 2026-09-10 22:31:45 +08:00
commit 856e632807
880 files changed
+225426

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
# dsh-plugin-mcn-schedule
计划任务插件(MCN 工作台功能插件):定时提醒 / 周期任务管理。
## 功能
- 创建任务:一次性(指定时间)或循环(固定间隔,最小 1 分钟)
- 到期触发:页面内 toast 提醒 + 触发记录(历史保留)
- 任务管理:编辑 / 启停 / 立即触发(测试)/ 删除
- 数据持久化:`~/.dsh/mcn-schedule.json`
## 入口
注册到 MCN 工作台入口网格(`window.__mcnEntries`),unshift 置顶显示。
## 接口
| 方法 | 路径 | 说明 |
|---|---|---|
| GET | /mcn/schedule/list | 任务列表(含 nextRunAt / 历史) |
| POST | /mcn/schedule/create | 创建 {name, type, at?, intervalMinutes?, prompt?, enabled?} |
| POST | /mcn/schedule/update | 更新 {id, ...} |
| POST | /mcn/schedule/delete | 删除 {id} |
| POST | /mcn/schedule/fire-now | 立即触发 {id}(测试) |
| GET | /mcn/schedule/events?since=ts | 轮询新触发事件 |
## 安装
插件目录放入 profile 的 `node_modules/`(如 `profiles/web/node_modules/dsh-plugin-mcn-schedule/`),
bundle patch(`cordis.patch.yml`)自动注册插件行,重启 DSH 后生效。