DOC-FULL-002:ReadingSession V2 #103
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
目标
实现 V2 阅读会话模型。一次打开资料到关闭资料为一个 ReadingSession。
字段建议
status
规则
需要提供的方法
验收标准
完成证据
产物:
crates/zx_document_core/src/session_v2.rs(+141 行),crates/zx_document_ffi/src/lib.rs(+25 行)提交:
c30957efeat: ReadingSession V2 complete (DOC-FULL-002)新增状态: Interrupted / Failed(+ 原有 Active / Paused / Closed)
新增字段: closedAtMs (Option)
新增方法:
FFI 暴露: 6 个新接口 (set_session_closed_at_ms_v2 / mark_session_interrupted_v2 / mark_session_failed_v2 / get_active_session_v2 / get_session_v2_ffi)
规则验证:
构建: cargo check 0 errors, cargo test 167 passed / 0 failed