Plan parent-first decompose, reasoning streaming, TTY input editing.

Reorder non-hit plan pipeline so the parent decomposes before spawning the child, stream DeepSeek thinking (reasoning_content) to TTY, and add Unicode-aware line editing for interactive input to fix CJK backspace corruption.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-08-10 11:45:58 +08:00
1 parent b6bb42e460
commit d1ddb74235
16 files changed
+606 -111

No files matched your search

+5 -2
View File
@@ -17,6 +17,9 @@ description: Full plan loop — spawn workbook, inspect; simple pong goal.
*`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 *
流式开在 plan 上:非命中先 plan:decompose(父分解增量),再 plan:await(子 quiet),然后父修订轮。
> print `out`
*`out` = > `助手`.plan goal=`goal` max_rounds=3 writeback=False stream=True echo=True force=True *
*`result` = > json.get value=`out` key=result *
> print text=`result`