Skip to content

refactor(tui): replace v2 sync with data context#31826

Merged
thdxr merged 1 commit into
devfrom
tui-data-context
Jun 11, 2026
Merged

refactor(tui): replace v2 sync with data context#31826
thdxr merged 1 commit into
devfrom
tui-data-context

Conversation

@thdxr

@thdxr thdxr commented Jun 11, 2026

Copy link
Copy Markdown
Member

Summary

  • replace the sync-v2 context with a private, domain-oriented DataProvider
  • migrate agent, model, provider, location, reference, and connectivity consumers to useData
  • preserve configured-reference autocomplete and refresh it from reference.updated events
  • remove the obsolete experimental v2 session debug plugin
  • rename and update the provider test suite

Naming

  • no SyncV2, syncV2, useSyncV2, SyncProviderV2, or sync-v2 references remain under packages

Validation

  • bun typecheck in packages/tui
  • bun typecheck in packages/opencode
  • bun test test/cli/tui/data.test.tsx: 6 passed
  • repository-wide pre-push typecheck: 23 packages passed
  • tmux smoke test confirmed the normal TUI prompt renders, focuses, and accepts input

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@thdxr thdxr merged commit 47a4560 into dev Jun 11, 2026
10 checks passed
@thdxr thdxr deleted the tui-data-context branch June 11, 2026 03:34
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