Skip to content

feat(tui): render initial config-options banner at session startup#482

Merged
CSRessel merged 1 commit into
mainfrom
feat-startup-config-banner
May 18, 2026
Merged

feat(tui): render initial config-options banner at session startup#482
CSRessel merged 1 commit into
mainfrom
feat-startup-config-banner

Conversation

@CSRessel
Copy link
Copy Markdown
Collaborator

Summary

🤖 Generated with Nori

  • Show an explicit banner the first time the agent announces its session config options at startup:
    `• Claude Code options: Mode=Default, Model=Opus 4.6, Effort=High (/config to change)`
  • Replaces the previous baseline-only behavior (feat(tui): Make agent option history user-facing #480) which silently swallowed the initial `SessionConfigUpdate` and left no on-screen indication of the agent's options or how to change them.
  • Subsequent updates continue to render only changed values (no behavior change after the banner).

Pairs with #480 (config-options diff rendering) and #481 (mode-changed cell) — finishes the cleanup of the original `ACP config options updated: …` jargon line.

Test Plan

  • New unit test `session_config_update_history_renders_startup_banner_on_first_snapshot` (snapshot in `session_config_update_startup_banner.snap`)
  • Existing `session_config_update_history_shows_only_changed_values_after_baseline` updated to drain the new banner and still snapshot just the diff
  • `cargo test -p nori-tui` — 1304 passed
  • `just fmt` + `just fix -p nori-tui` — clean

Share Nori with your team: https://www.npmjs.com/package/nori-skillsets

The first SessionConfigUpdate the agent emits at session boot used to
produce no history (it only seeded the diff baseline). Render an
explicit banner so the user can see what they're starting with and
how to change it:

  • Claude Code options: Mode=Default, Model=Opus 4.6, Effort=High (/config to change)

Values stay cyan+bold for consistency with the existing change-diff
cell; the trailing /config hint is dim. Subsequent updates continue to
render only changed values, unchanged.
🤖 Generated with [Nori](https://noriagentic.com)

Co-Authored-By: Nori <contact@tilework.tech>
@CSRessel CSRessel merged commit 7137450 into main May 18, 2026
3 checks passed
@CSRessel CSRessel deleted the feat-startup-config-banner branch May 18, 2026 20:25
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