feat(tui): implement prompt submit when used with a specific session command (--session, --continue, --fork) in the CLI#14442
Conversation
|
Awesome! Appreciate the help 🫡 |
Update!After some updates to the codebase I edited this PR, Now it fully makes use of the navigation and route data, but adds a new field |
… continue a session
…ing session navigation
2ebc996 to
79d44b2
Compare
Screen.Recording.2026-05-02.at.22.11.15.movLatest Vid Showing the PR works as should! |
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
…ific-session # Conflicts: # packages/tui/src/context/route.tsx
Issue for this PR
Closes #14349
Closes #8850
Closes #21829
Closes #29262
Type of change
What does this PR do?
Makes use of the same logic that adds prompts passed in through the CLI to create a new session. This just adds the logic to the session route so when users are navigated to a new session it checks if these agrs have been passed then submits the prompt to the session.
How did you verify your code works?
Tested on my local machine.
Screenshots / recordings
Screen.Recording.2026-02-20.at.14.30.29.mov
Checklist