TauriTavern/docs/CurrentState
2026-03-17 11:37:23 -04:00
..
EmbeddedRuntime.md perf (Frontend): Introduce ER 3.0 "Rendering Transactions"; add support for LittleWhiteBox. 2026-03-12 21:55:37 -04:00
MobileStyleAdaptation.md fix (iOS): fixed an issue in WKWebView on iOS where automatic safe-area insets caused a dead zone at the bottom. 2026-03-16 22:17:59 -04:00
README.md fix (chat): Perform JIT prompt backfill when the chat history within the split window is smaller than the context window. 2026-03-15 23:47:29 -04:00
StartupOptimization.md docs: startup optimization document 2026-03-15 01:29:49 -04:00
ThirdPartyExtensions.md fix (api): correct passthrough of additional parameters. 2026-03-17 11:37:23 -04:00
WindowedPayload.md fix (chat): Perform JIT prompt backfill when the chat history within the split window is smaller than the context window. 2026-03-15 23:47:29 -04:00

当前现状说明

本目录用于记录 已经落地 的模块现状,而不是方案讨论或未来规划。

它解决的是一个很具体的问题:

当我们要继续开发某个模块时,首先需要知道系统现在实际上怎样工作、边界在哪、哪些约束不能轻易打破。

因此,本目录下的文档应保持简短,并优先回答以下问题:

  1. 当前模块解决了什么问题
  2. 端到端链路现在如何工作
  3. 哪些能力已经支持,哪些明确不支持
  4. 后续开发时最容易误改的契约是什么

与其他文档目录的分工

  • docs/CurrentState/:当前实现快照与持续开发约束

当前条目

  1. docs/CurrentState/ThirdPartyExtensions.md

    • 第三方前端扩展兼容的当前状态
    • 包含前端加载链路、后端资源端点、目录语义与开发约束
  2. docs/CurrentState/MobileStyleAdaptation.md

    • 移动端样式适配现状(edge-to-edge / safe-area / 沉浸模式 / 第三方浮层兜底)
    • 包含 Android 原生注入链路、CSS 变量契约、前端消费与回归要点
  3. docs/CurrentState/EmbeddedRuntime.md

    • 消息内 iframe runtime(JSR/LWB)的生命周期管控现状(budget/park/hydrate/自愈/渲染事务)
    • 包含端到端链路、支持/不支持边界与持续开发约束
  4. docs/CurrentState/StartupOptimization.md

    • 开屏启动优化(Shell/Core/Full 分阶段启动)的当前实现快照
    • 包含前端启动编排、bootstrap 快照、扩展发现/激活、按需加载与可观测性约束
  5. docs/CurrentState/WindowedPayload.md

    • windowed payload(聊天记录分片读写)现状:tail 小窗口、before 分页、windowed patch/save 写入
    • 包含 Prompt-backfill(生成时按需回填)、页缓存与批量 IPC 的端到端链路与持续开发约束