fix: GAP-06–10 parser, invoke Null, exec capture, SSE headers
Recover ## bodies after bad *…* terminators; bracket-aware call args;
invoke Null is 500 not fake ok; sys.exec capture={code,stdout,stderr};
proxy stream sets anti-buffer headers.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
68c4f8c822
commit
1637acce6e
14 files changed
+389
-45
No files matched your search
@@ -0,0 +1,40 @@
|
||||
---
|
||||
title: GAP-06/07 star + JSON array body keep following stmts
|
||||
description: Nested args=`args` and text=["…"] must not truncate the ## body.
|
||||
import json:lib/json.mq.md
|
||||
---
|
||||
|
||||
# main
|
||||
|
||||
*a = > case_backtick*
|
||||
*b = > case_json_array*
|
||||
*c = > case_recover*
|
||||
> print text=`a`
|
||||
> print text=`b`
|
||||
> print text=`c`
|
||||
|
||||
## case_backtick
|
||||
|
||||
`args` =
|
||||
|
||||
| x |
|
||||
|---|
|
||||
| ok |
|
||||
|
||||
*code = > len value=`args`*
|
||||
*y = 1*
|
||||
**y**
|
||||
|
||||
## case_json_array
|
||||
|
||||
*xs = > json.parse text=["scripts/legacy/web_search.py"]*
|
||||
*n = > len value=`xs`*
|
||||
**n**
|
||||
|
||||
## case_recover
|
||||
|
||||
故意少写闭合星号,后续语句仍须可执行:
|
||||
|
||||
*c = > json.parse text=[]`
|
||||
*z = 7*
|
||||
**z**
|
||||
Reference in new issue
Block a user