Add v0.2 surface syntax, writeback/subtask stdlib, and view input deferral.

Use + for parameters, ordered-list branches, backtick identifiers, and quoted strings with escapes. Add writeback and subtask host libs, optional parameter defaults, narrative-bold comment fix, and defer view execution until preset stdin is submitted.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-08-06 17:52:33 +08:00
1 parent 92d88fe761
commit 63e5be80ab
116 files changed
+2226 -559

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
---
title: lib/subtask
description: OS subprocess subtasks (parent exit kills children)
---
## spawn
+ `path`
**> host_subtask_spawn path=`path`**
## poll
+ `id`
**> host_subtask_poll id=`id`**
## wait
+ `id`
**> host_subtask_join id=`id`**
## kill
+ `id`
**> host_subtask_kill id=`id`**
## wait_all
**> host_subtask_wait_all**