diag: ready bind on root VBox to inspect AgentIO widget state

This commit is contained in:
ymq 2026-08-08 21:57:22 +08:00
parent 3399e10b4a
commit 0b03b310f0

View File

@ -200,5 +200,14 @@
}
]
}
],
"binds": [
{
"wid": "self",
"event": "ready",
"actiontype": "script",
"target": "self",
"script": "console.log('DIAG: VBox ready');var ai=bricks.getWidgetById('chat_input',bricks.app);console.log('DIAG: chat_input=',ai?'found':'NOT FOUND','type=',ai?ai.constructor.name:'N/A','url=',ai?ai.opts.url:'N/A');if(ai&&ai.inputw){ai.inputw.unbind('inputed');ai.inputw.bind('inputed',function(e){console.log('DIAG: inputed params=',JSON.stringify(e.params));});}"
}
]
}
}