Skip to content

feat(tui): add spinnerVerbs config to customize TUI spinner text#33065

Open
dev-tnsq wants to merge 3 commits into
anomalyco:devfrom
dev-tnsq:spinner-verbs-config
Open

feat(tui): add spinnerVerbs config to customize TUI spinner text#33065
dev-tnsq wants to merge 3 commits into
anomalyco:devfrom
dev-tnsq:spinner-verbs-config

Conversation

@dev-tnsq

@dev-tnsq dev-tnsq commented Jun 20, 2026

Copy link
Copy Markdown

Issue for this PR

Closes #19401

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds a spinner_verbs config option to .opencode/tui.json that lets users customize the verb text shown next to the spinner while the model is thinking, matching a feature available in similar tools.

Users can set mode: "replace" to use only their own verbs, or mode: "append" to add to the default list. When the config is absent, behavior is unchanged — the spinner still shows the static "Thinking" text.

The Spinner component now accepts an optional verbs prop and cycles through the list on a 3-second interval. The verb list is resolved in TuiConfig.resolve() where user verbs are merged with defaults based on the mode.

How did you verify your code works?

  • Ran tsgo --noEmit across all 29 workspace packages — zero type errors
  • Started the TUI in dev mode, configured custom verbs, sent a complex prompt, and observed the spinner cycling through "Summoning demons..." → "Hallucinating..." → etc. in the live terminal output

Screenshots / recordings

⠹ Summoning demons...
⠦ Hallucinating...

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. and removed needs:compliance This means the issue will auto-close after 2 hours. labels Jun 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

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.

[FEATURE]:add spinnerVerbs config to customize TUI spinner text

1 participant