Documentation
¶
Overview ¶
Package offload 是 ToolEndHook:超大工具结果卸载到文件系统, 上下文里只保留头部摘要与文件路径,防止大输出(日志、转储、目录遍历) 撑爆上下文。写入失败时降级透传原文,绝不阻断工具执行。 结果后处理不耦合工具节点本身,故为 hook 而非 warp。
Index ¶
Constants ¶
View Source
const DefaultThreshold = 4096
DefaultThreshold 超过此字节数的结果触发卸载。
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.