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>
922 B
922 B
title, description
| title | description |
|---|---|
| lib/fs | English filesystem wrappers |
read_text
+ `path`
> host_read_text path=path
write_text
+ `path`
+ `text`
> host_write_text path=path text=text
append_text
+ `path`
+ `text`
> host_append_text path=path text=text
exists
+ `path`
> host_exists path=path
list_dir
+ `path`
> host_list_dir path=path
make_dir
+ `path`
> host_make_dir path=path
remove
+ `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