更新: 359 个文件 - 2026-03-16 23:30:01

这个提交包含在:
hao
2026-03-16 23:30:01 -07:00
父节点 527990f535
当前提交 2974cd9ad9
修改 359 个文件,包含 6332 行新增673 行删除

14
scripts/lab/seed.py 普通文件
查看文件

@@ -0,0 +1,14 @@
from __future__ import annotations
from typing import Any, Dict, List
def run_seed(profile: Dict[str, Any]) -> List[Dict[str, Any]]:
steps = []
for action in profile.get("seed_actions", []):
kind = action.get("kind", "note")
if kind == "note":
steps.append({"kind": kind, "status": "recorded", "message": action.get("message", "")})
else:
steps.append({"kind": kind, "status": "skipped", "message": "Seed action type not yet automated"})
return steps