Skip to content

Conversation

@cameronr
Copy link
Collaborator

Was using an old format.

Show the title if we have one, otherwise show session.id

Fixes #122

Was using an old format.

Show the title if we have one, otherwise show session.id

Fixes sudo-tee#122
@sudo-tee
Copy link
Owner

Thanks for the PR

@sudo-tee sudo-tee merged commit ac58e79 into sudo-tee:main Nov 16, 2025
5 checks passed
aweis89 added a commit to aweis89/opencode.nvim that referenced this pull request Dec 27, 2025
- implement dynamic input behavior, focusing on input when enabled
- auto-hide input window when navigating away if dynamic input is active
- revision of input displaying logic for cleaner state management
- update config to include dynamic input setting

Closes sudo-tee#123
aweis89 added a commit to aweis89/opencode.nvim that referenced this pull request Jan 6, 2026
- introduce toggle_input function to manage input window visibility
- add keybindings for toggling input window
- implement auto-hide behavior for input window after message submission
- adjust focus handling to include hidden input window

Closes sudo-tee#123
sudo-tee pushed a commit that referenced this pull request Jan 8, 2026
* feat(ui): add toggle input window functionality
- introduce toggle_input function to manage input window visibility
- add keybindings for toggling input window
- implement auto-hide behavior for input window after message submission
- adjust focus handling to include hidden input window

Closes #123

* refactor(config): disable auto_hide by default

* refactor(ui): remove unnecessary comments

* feat(ui): enhance auto-scroll functionality in input and output windows
- adjust scroll_to_bottom function to include a force parameter
- ensure auto-scrolling respects user scroll position unless forced
aweis89 added a commit to aweis89/opencode.nvim that referenced this pull request Jan 12, 2026
- add support for multi-selection with confirmation action
- introduce dynamic input handling for "Other" responses
- refactor user feedback notifications for better context
- utilize base_picker for streamlined option formatting and selection

Closes sudo-tee#123
sudo-tee pushed a commit that referenced this pull request Jan 12, 2026
* feat(ui): add question tool support

- Add API client methods for question endpoints (list, reply, reject)
- Add question event types (question.asked, question.replied, question.rejected)
- Add question picker UI that shows full question as notification and uses
  short header as prompt to avoid truncation
- Support single-select and multi-select questions with 'Other' option
- Add question icon to icon presets
- Wire up question.asked event handler in renderer

This enables opencode.nvim to handle the mcp_question tool that allows
the AI to ask users questions during execution.

* fix(ui): update question icon in icons.lua

* feat(ui): enhance question picker with multi-selection support
- add support for multi-selection with confirmation action
- introduce dynamic input handling for "Other" responses
- refactor user feedback notifications for better context
- utilize base_picker for streamlined option formatting and selection

Closes #123

* refactor(ui): simplify question picker logic by removing fallback

* fix(ui): add question to title

* refactor(ui): remove unecessary comments in question and snack pickers

* feat(ui): fix cancellation handling in pickers
- add logic to ensure callbacks are invoked when selections are made
- handle cases where selection is cancelled to call callback with nil
- update multiple UI components (telescope, mini_pick, snacks) for consistency
- improve user experience by managing selection states effectively

* style(docs): update comments guideline in code style section
- clarify that comments should explain *why* something is done, not *what*
- emphasize avoiding obvious comments that restate code functionality
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.

Fix session picker module import and formatting

2 participants