feat: startup git clone for template repo + pass config through

- ensure_repo_ready() at startup: clone if missing, fetch if exists
- TemplateRepoConfig gains local_path field
- list_all_templates/select_template/extract_repo_template accept repo config
- Remove hardcoded repo_dir(), use config.local_path
This commit is contained in:
Fam Zheng
2026-03-09 08:42:23 +00:00
parent 815477a73b
commit d4d9edeb78
5 changed files with 93 additions and 18 deletions

View File

@@ -1,7 +1,13 @@
需求输入和展示,多行,复杂需求,界面不够优化,输入框不够大。
# Tori TODO
在前端计划和日志每一个条目都应有一个小小的comment按钮按一下直接快速引用然后输入docus到反馈输入那里表示要评论的是这
个地方。这样llm也知道用户具体在指啥。 同时允许多处引用再点一个其他的comment按钮就引用两处等等。按钮做的不要太眨眼间
如用hover显示或者就是小一点不占地方但要ui意图清晰易用。
## 前端
时间观察app
- [ ] 需求输入优化 — 多行、复杂需求时输入框不够大,展示不够好
- [ ] 时间观察 apptimer/scheduler 可视化)
## Runtime
- [ ] 回退粒度 — 支持有选择地回退某些步骤,而非 docker-cache 式全部 invalidate
- [ ] 长任务生命周期 — `execute` 同步等待不适合 30min+ 的构建/测试任务
- [ ] 产出物累积 — scratchpad 之外需要结构化的"工作产出"概念
- [ ] 上下文管理 — `current_step_chat_history` 需要 token 预算控制 + 历史截断