Skip to content

core: migrate standalone web search to extension-owned turn items#31525

Merged
owenlin0 merged 1 commit into
mainfrom
owen/migrate_standalone_web_search_extension_item
Jul 8, 2026
Merged

core: migrate standalone web search to extension-owned turn items#31525
owenlin0 merged 1 commit into
mainfrom
owen/migrate_standalone_web_search_extension_item

Conversation

@owenlin0

@owenlin0 owenlin0 commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Description

This PR migrates standalone web search onto the extension-owned turn-item path introduced in #31283.

Standalone web search now emits ExtensionItem::WebSearch through generic TurnItem::Extension, while app-server still exposes the existing typed ThreadItem::WebSearch JSON shape. Hosted Responses API web search stays on core-owned TurnItem::WebSearch.

What changed

  • Added web_search::WebSearchItem and WebSearchAction to codex-extension-items under the stable web.search kind.
  • Collapsed ExtensionTurnItem to generic { item, legacy_events } now that no typed extension special cases remain.
  • Kept the existing WebSearchBegin / WebSearchEnd compatibility events and canonical-first ordering.
  • Updated app-server projection/history and generated TypeScript; the app-server JSON schema is unchanged.

@owenlin0 owenlin0 merged commit a219b6f into main Jul 8, 2026
62 of 66 checks passed
@owenlin0 owenlin0 deleted the owen/migrate_standalone_web_search_extension_item branch July 8, 2026 16:40
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants