Eai. Task
(eai v0.1.11)
Copy Markdown
Task result management — the engine behind get_task_result / force_complete_task tools.
Manages per-task buffers (sentinel-based stream collection), interrupt flags, and timeout windows via the Cache. Lives at the tool layer, not in the sandbox.
Summary
Functions
流式收集 PTY 输出,哨兵匹配截取纯净结果
超时强制收集:从 buffer 尽力提取有效内容
查询任务结果