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
@@ -39,3 +39,20 @@ description: English filesystem wrappers
|
||||
+ `path`
|
||||
|
||||
**> host_remove path=`path`**
|
||||
|
||||
## text_patch
|
||||
+ `path`
|
||||
+ `find`
|
||||
+ `replace`
|
||||
|
||||
Exact FIND→REPLACE once in a UTF-8 text file. `find` must match exactly once.
|
||||
|
||||
**> host_text_patch path=`path` find=`find` replace=`replace`**
|
||||
|
||||
## apply_patch_blocks
|
||||
+ `path`
|
||||
+ `text`
|
||||
|
||||
Apply plan-style `<<<` / FIND / === / REPLACE / `>>>` blocks from `text` to `path`.
|
||||
|
||||
**> host_apply_patch_blocks path=`path` text=`text`**
|
||||
Reference in new issue
Block a user