Skip to content

feat(outline): add opt-in answer outline data engine - #1935

Closed
0xTotoroX wants to merge 2 commits into
BigPizzaV3:mainfrom
0xTotoroX:codex/answer-outline-engine
Closed

feat(outline): add opt-in answer outline data engine#1935
0xTotoroX wants to merge 2 commits into
BigPizzaV3:mainfrom
0xTotoroX:codex/answer-outline-engine

Conversation

@0xTotoroX

@0xTotoroX 0xTotoroX commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

变更概述

新增独立的回答大纲数据层,为悬浮面板提供结构化标题、层级和跳转锚点。

变更范围

  • 从当前助手回答中提取标题、编号和层级信息,并进行归一化、去重和数量限制。
  • 新增 /answer-outline/parse Bridge 路由,只有明确启用时才执行,默认不改变现有行为。
  • 提供稳定的当前回答识别、刷新和跳转数据,供后续面板功能消费。
  • 不包含悬浮面板 UI、视觉主题、Stepwise 请求逻辑或 Manager 设置。

验证

  • node --check assets/inject/answer-outline-inject.js
  • cargo test -p codex-plus-core --test bridge_routes:33/33 通过

该 PR 仅负责回答大纲的数据提取与运行时契约,可独立审查、测试和回退。

@0xTotoroX 0xTotoroX changed the title feat(outline): add an opt-in answer outline parsing bridge feat(outline): add opt-in answer outline data engine Aug 22, 2026
@0xTotoroX
0xTotoroX marked this pull request as ready for review August 22, 2026 17:02
@0xTotoroX
0xTotoroX marked this pull request as draft August 22, 2026 18:28
@0xTotoroX 0xTotoroX closed this Aug 23, 2026
@0xTotoroX
0xTotoroX deleted the codex/answer-outline-engine branch August 23, 2026 02:56
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