mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 22:03:45 +00:00
Add /branch command for conversation branching (fixes #16)
- Add /branch slash command to create conversation branches - New UserMessageSelectorComponent shows all user messages chronologically - Selecting a message creates new session with messages before selection - Selected message is placed in editor for modification/resubmission - SessionManager.createBranchedSession() creates new session files - Updated README.md and CHANGELOG.md with /branch documentation
This commit is contained in:
parent
85ea9f500c
commit
8ae236f956
6 changed files with 379 additions and 66 deletions
|
|
@ -107,6 +107,18 @@ Display the full changelog with all version history (newest last):
|
|||
/changelog
|
||||
```
|
||||
|
||||
### /branch
|
||||
|
||||
Create a new conversation branch from a previous message. Opens an interactive selector showing all your user messages in chronological order. Select a message to:
|
||||
1. Create a new session with all messages before the selected one
|
||||
2. Place the selected message in the editor for modification or resubmission
|
||||
|
||||
This allows you to explore alternative conversation paths without losing your current session.
|
||||
|
||||
```
|
||||
/branch
|
||||
```
|
||||
|
||||
## Editor Features
|
||||
|
||||
The interactive input editor includes several productivity features:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue