Frontmatter imports are now valid YAML (`import:` / `导入:` with bind→target entries), removing spaced keys. Add `marqdo migrate imports`, hard-error the old one-liner form, and migrate lib/ext/examples/tests/docs accordingly. Co-authored-by: Cursor <cursoragent@cursor.com>
909 B
909 B
title, description, import
| title | description | import | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| agent plan confirm (offline) | Create workbook skeleton with confirm=True; no LLM spawn loop. |
|
main
llm.load_env path=.env
model = > llm.llm
tools = > json.parse text=[]
助手 = > agent.agent model=model tools=tools standing="offline plan confirm"
out = > 助手.plan goal="say hi" confirm=True workbook_dir=".marqdo/agent-runs" writeback=False
st = > json.get value=out key="status"
print text=
st
path = > json.get value=out key="workbook"
ex = > fs.exists path=path
ex
print text=workbook-ok
print text=workbook-missing
src = > fs.read_text path=path
parts = > split value=src sep="agent.agent"
n = > len value=parts
n> 1
print text=skeleton-ok
print text=skeleton-bad