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:
cflmyandCursor committed 2026-08-07 17:53:14 +08:00
1 parent fbece725e1
commit d1b33c78c6
55 files changed
+3498 -169

No files matched your search

+1 -1
View File
@@ -15,6 +15,6 @@ description: Spawn file, function, or foreign code in parallel
| `code=` | foreign ``` fence ``` subprocess | stdout text |
| `lang=` + `source=` | foreign source subprocess | stdout text |
Also: `poll id=`, `kill id=`, `wait_all`. Parent exit kills file/foreign children.
File children are silent unless `quiet=False`. Also: `poll id=`, `kill id=`, `wait_all`. Parent exit kills file/foreign children.
> print text=subtask overview ok
+1 -1
View File
@@ -15,6 +15,6 @@ description: 文件、函数或外联代码并行执行
| `代码=` | 外联代码块子进程 | stdout 文本 |
| `语言=` + `源码=` | 外联源码子进程 | stdout 文本 |
另有:`探测`、`终止`、`等待全部`。父进程结束会终止文件/外联子进程。
文件子任务默认静默;`静默=假` 时继承父终端。另有:`探测`、`终止`、`等待全部`。父进程结束会终止文件/外联子进程。
> 打印 内容=子任务总览就绪