Skip to content

refactor(session): move context into prompt footer#19486

Merged
thdxr merged 2 commits intodevfrom
thdxr/session-prompt-footer
Mar 28, 2026
Merged

refactor(session): move context into prompt footer#19486
thdxr merged 2 commits intodevfrom
thdxr/session-prompt-footer

Conversation

@thdxr
Copy link
Copy Markdown
Member

@thdxr thdxr commented Mar 28, 2026

Summary

  • surface session context usage and spend in the prompt footer when a session has token data
  • keep the existing variant, agent, and command hotkeys as the fallback when there is no session usage to show
  • remove the standalone session header, its toggle, and the extra layout row now that the prompt footer owns that metadata

Testing

  • bun typecheck (from packages/opencode)

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps bot left a comment

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 force-pushed the thdxr/session-prompt-footer branch 4 times, most recently from b7a0a37 to 23bf79d Compare March 28, 2026 04:25
Keep active session usage beside the prompt instead of a separate header row. Remove the standalone session header and toggle now that the prompt footer owns that metadata.
@thdxr thdxr force-pushed the thdxr/session-prompt-footer branch from 23bf79d to 673cfd6 Compare March 28, 2026 04:25
@thdxr thdxr merged commit 8446719 into dev Mar 28, 2026
8 checks passed
@thdxr thdxr deleted the thdxr/session-prompt-footer branch March 28, 2026 05:05
katosun2 pushed a commit to katosun2/opencode that referenced this pull request Mar 28, 2026
Copilot AI pushed a commit to ian-morgan99/opencode that referenced this pull request Mar 28, 2026
@axsuul
Copy link
Copy Markdown

axsuul commented Mar 29, 2026

@thdxr Are there plans to add back in the session title somewhere? It was useful info.

e-n-0 pushed a commit to e-n-0/opencode that referenced this pull request Mar 29, 2026
loocor pushed a commit to loocor/opencode that referenced this pull request Mar 30, 2026
afanty2021 pushed a commit to afanty2021/opencode that referenced this pull request Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants