Skip to content

feat(tui): add configurable home prompt sizing presets#13902

Open
dmoliveira wants to merge 1 commit intoanomalyco:devfrom
dmoliveira:opencode-initial-prompt-sizing
Open

feat(tui): add configurable home prompt sizing presets#13902
dmoliveira wants to merge 1 commit intoanomalyco:devfrom
dmoliveira:opencode-initial-prompt-sizing

Conversation

@dmoliveira
Copy link

@dmoliveira dmoliveira commented Feb 16, 2026

Closes #13929

Summary

  • add tui.initial_prompt config with compact, medium, and large presets plus optional width_percent and height_percent overrides
  • wire home-route prompt width and input max height to terminal-aware preset and override resolution
  • include docs, config validation tests, and regenerated SDK/OpenAPI artifacts

Testing

  • bun run typecheck (from packages/opencode)
  • bun test test/config/config.test.ts -t "tui initial prompt" (from packages/opencode)
  • bun run build (from packages/web)
  • ./packages/sdk/js/script/build.ts
  • bun script/generate.ts

Introduce tui.initial_prompt settings with compact/medium/large presets and optional width/height percentage overrides so longer planning prompts have more visible context on the opening screen while preserving compact defaults.
@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@dmoliveira
Copy link
Author

Addressed ✅ Linked issue-first requirement by creating #13905 and updating the PR description with Closes #13905.

@dmoliveira
Copy link
Author

dmoliveira commented Feb 17, 2026

Updated for compliance: opened replacement issue #13929 using the feature template and relinked this PR to Closes #13929.

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]: configurable opening prompt size presets and overrides in TUI home

1 participant