DOC-FULL-007 P0 | FFI DTO 更新到 V2 【status:todo】 #56

Closed
opened 2026-06-07 11:33:13 +08:00 by wangdl · 1 comment
Owner

v2 新增 DTO

FfiReadingMaterialRef, FfiReadingSessionHandle, FfiReadingEventV2, FfiReadingEventTypeV2

新增 FFI 方法

start_reading_session_v2 / push_heartbeat_v2 / export_pending_events_v2 / ack_events_v2 等

兼容

V1 方法保留 deprecated

## v2 新增 DTO FfiReadingMaterialRef, FfiReadingSessionHandle, FfiReadingEventV2, FfiReadingEventTypeV2 ## 新增 FFI 方法 start_reading_session_v2 / push_heartbeat_v2 / export_pending_events_v2 / ack_events_v2 等 ## 兼容 V1 方法保留 deprecated
wangdl added this to the M-DOC-FULL:Document Runtime 完整阅读内核与学习事件协议 milestone 2026-06-07 11:33:13 +08:00
wangdl changed title from DOC-FULL-007 P0 | FFI DTO 与 UniFFI 暴露模型 to DOC-FULL-007 P0 | FFI DTO 更新到 V2 2026-06-07 11:45:16 +08:00
wangdl changed title from DOC-FULL-007 P0 | FFI DTO 更新到 V2 to DOC-FULL-007 P0 | FFI DTO 更新到 V2 【status:todo】 2026-06-07 19:15:02 +08:00
Author
Owner

审查结论:document runtime 当前有文件类型识别/MaterialType/PreviewMode/DocumentInfo(基本)/Markdown解析/Text解析/ImageMeta/Search(V1 Markdown+Text)/NoteAnchor(V1)/ReadingEvent(V1)/ReadingPosition(V1)/EventBuffer(V1基础)/iOS构建/UniFFI绑定/docs。但 V2 核心模型(ReadingSession/EventV2/ActiveTimeTracker)不存在,EventBuffer 缺 ack/failed,Position 缺 camelCase+clamp,PDF/EPUB/Office 为 stub,测试覆盖不足 V2。

本 Issue: FFI 导出 V1 类型。V2 类型不存在。需等 DOC-FULL-001~003 完成。blocked-by:doc-v2-core

状态: status:todo
工作类型: work:extend-existing

## 审查结论:document runtime 当前有文件类型识别/MaterialType/PreviewMode/DocumentInfo(基本)/Markdown解析/Text解析/ImageMeta/Search(V1 Markdown+Text)/NoteAnchor(V1)/ReadingEvent(V1)/ReadingPosition(V1)/EventBuffer(V1基础)/iOS构建/UniFFI绑定/docs。但 V2 核心模型(ReadingSession/EventV2/ActiveTimeTracker)不存在,EventBuffer 缺 ack/failed,Position 缺 camelCase+clamp,PDF/EPUB/Office 为 stub,测试覆盖不足 V2。 **本 Issue**: FFI 导出 V1 类型。V2 类型不存在。需等 DOC-FULL-001~003 完成。blocked-by:doc-v2-core **状态**: status:todo **工作类型**: work:extend-existing
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wangdl/zhixi-document-runtime#56
No description provided.