# 0.1.0-beta.2

> 新增受限 File/Blob 协议附件、每任务 blobLimits 限额以及拉取式文件 Session 示例。

---

LLMS 索引： [llms.txt](/tasklane-web/llms.txt)

---

本版本将通信协议推进至 `v4`（当前最新版本已演进至 `v7`），新增了跨浏览器与 Node.js Worker 的 `File` / `Blob` 附件传输支持及独立的附件逻辑字节限额。

## 主要变化摘要

- **有界 `File` / `Blob` 附件表**：支持在协议包中直接传递最多 `256` 个 `Blob` 或 `File` 附件，并在浏览器与 Node.js `worker_threads` 两端完整保留 `File` 的 `name`、`type` 与 `lastModified` 元数据。
- **独立的每任务 `blobLimits`**：将文件附件的逻辑字节大小限制（`blobLimits.inputBytes` / `outputBytes`，默认 `0`）与内存缓冲区协议预算分开校验，要求非空附件必须显式声明上限。
- **补充文件分块与常驻 Session 指南**：提供基于 `Session` 的按范围文件分块读取示例、大型二进制数值缓存技巧以及常驻 `Session` 容量规划说明。

## 原始记录

以下内容完整保留 [tasklane CHANGELOG](https://github.com/mapseekai/tasklane/blob/b40ba606552c4b798ebb803528548151186b364b/CHANGELOG.md) 中此版本的英文原文，供核对完整技术变更：

- Protocol v4: bounded Blob/File attachments with preserved File metadata across browser and Node workers.
- Per-task logical input/output blob limits, separate from packet memory credits; attachments use structured cloning.
- Tested pull-based file Session example, binary cache guidance and resident Session capacity planning.
- Capability-focused usage, API and resource documentation.

## 相关文档

- [文件与分块](/docs/guides/files/)
- [状态型计算](/docs/guides/sessions/)
- [数据计费与消费工具](/docs/reference/data/)
