Skip to content

style: update context usage display to match OpenCode TUI format#224

Closed
chriswritescode-dev wants to merge 27 commits intomainfrom
dev
Closed

style: update context usage display to match OpenCode TUI format#224
chriswritescode-dev wants to merge 27 commits intomainfrom
dev

Conversation

@chriswritescode-dev
Copy link
Copy Markdown
Owner

Summary

Update the context usage display in the header to match OpenCode's TUI format. Now shows tokens with percentage when context limit is known, and just tokens when context limit is unknown.

Type of Change

  • UI/UX improvement

Checklist

  • Code follows project style (no comments, named imports)
  • TypeScript types are properly defined
  • pnpm lint passes locally

* feat: per-agent model selection and UI refinements

- Add agentModels store with setAgentModel/getAgentModel
- PromptInput uses session model priority and stores agent model on change
- useContextUsage derives model from assistant message instead of global
- Migrate sub-agent/subtask badges from purple to blue with refined styling
- Fix MoreDrawer sentinel to skip history-back on navigation

* refactor: improve per-agent model selection and task tool call status indicators
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