Make file subtasks return #main value and expose it as plan.result.
Quiet spawn still hides child stdout; workbooks solidify to **returns**, agent-kb lives in the plugin, and multi-step follows OKF file relay rather than print-based answers. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
fbece725e1
commit
d1b33c78c6
55 files changed
+3498
-169
No files matched your search
@@ -0,0 +1,22 @@
|
||||
---
|
||||
title: ext/agent plan live (DeepSeek)
|
||||
description: Full plan loop — spawn workbook, inspect; simple pong goal.
|
||||
> ext/ai/llm.mq.md
|
||||
> ext/ai/agent.mq.md
|
||||
> lib/json.mq.md
|
||||
> lib/fs.mq.md
|
||||
---
|
||||
|
||||
# main
|
||||
|
||||
*`goal`=> input "你想完成什么任务?"*
|
||||
|
||||
> llm.load_env path=.env
|
||||
|
||||
*`model` = > llm.llm *
|
||||
*`tools` = > json.parse text=[] *
|
||||
*`助手` = > agent.agent model=`model` tools=`tools` standing=You are a Marqdo agent-development master. Prefer DONE when the workbook already satisfies the goal. *
|
||||
|
||||
*`out` = > `助手`.plan goal=`goal` max_rounds=3 writeback=False *
|
||||
|
||||
> print `out`
|
||||
Reference in new issue
Block a user