From e3148bde6f31c94a411179154d0b3b9964f051e7 Mon Sep 17 00:00:00 2001 From: ymq Date: Sat, 8 Aug 2026 23:14:40 +0800 Subject: [PATCH] clean: AgentIO native, no hooks, no patches --- wwwroot/index.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wwwroot/index.ui b/wwwroot/index.ui index 3cdf46f..889f2ba 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -81,7 +81,7 @@ "event": "changed", "actiontype": "script", "target": "self", - "script": "if(!bricks.HttpResponseStream._patched){\nbricks.HttpResponseStream._patched=true;\nvar orig=bricks.HttpResponseStream.prototype.handle_chunk;\nbricks.HttpResponseStream.prototype.handle_chunk=function(resp,handler){\nconsole.log('PATCHED handle_chunk');\nconst reader=resp.body.getReader();\nconst decoder=new TextDecoder('utf-8');\nlet result=await reader.read();\nvar buff_='';\nwhile(!result.done){\nconst text=decoder.decode(result.value);\nbuff_+=text;\nconst lines=buff_.split(String.fromCharCode(10));\nfor(var i=0;i