Skip to content

feat: support durable mailbox delivery for device inbox - #23

Merged
Disdjj merged 7 commits into
mainfrom
更新-tb-sdk-版本支持-让消息通知支持mailbox
Aug 29, 2026

Hidden character warning

The head ref may contain hidden characters: "\u66f4\u65b0-tb-sdk-\u7248\u672c\u652f\u6301-\u8ba9\u6d88\u606f\u901a\u77e5\u652f\u6301mailbox"
Merged

feat: support durable mailbox delivery for device inbox#23
Disdjj merged 7 commits into
mainfrom
更新-tb-sdk-版本支持-让消息通知支持mailbox

Conversation

@Disdjj

@Disdjj Disdjj commented Aug 29, 2026

Copy link
Copy Markdown
Member

能力变化

  • @tool-bridge/sdk 升级到 0.20.1,接入正式 durable mailbox processor、journal 与 delivery metadata。
  • device.inbox.append 支持 realtimemailbox 两种 delivery;device.notify.local 仍仅接受 realtime
  • App 仅在 active 状态执行有界 mailbox drain;新增 SQLite v5 journal,覆盖重试、去重与 result_unknown 恢复。
  • 401 会话失效时清理同会话待处理项及安全凭据;消息正文、凭据不进入普通日志或 journal。
  • 同步 Expo 57 官方兼容补丁:Expo 57.0.18、expo-constants 57.0.16、expo-font 57.0.2。

权限与平台差异

  • 不新增系统权限、push 或后台轮询。
  • Android/iOS 共享 TypeScript 行为;原生权限与安全边界不变。
  • iOS 本机缺少完整 Xcode,未执行本地原生构建;由 PR 的 macOS CI 验证。

验证证据

  • pnpm verify:通过(82 suites / 388 tests,typecheck、lint、协议契约与 Expo compatibility check 全绿)。
  • Android clean debug build:通过(726 Gradle tasks)。
  • Android production Metro export:通过。
  • iOS production Metro export:通过。
  • llmdoc:0 impacted / 0 needs-review / 0 dirty。

回滚

  • 回滚本 PR 的 merge commit,并重新构建上一版本 App;不需要撤销新增权限或平台配置。

@Disdjj
Disdjj merged commit e497f90 into main Aug 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant