feat: Add :clone command for intelligent conversation management#1962
Conversation
- Add support for :conversation clone to clone current conversation - Add support for :conversation clone <id> to clone specific conversation - Implement proper error handling for no active conversation scenarios - Add visual feedback with progress spinner and success/error messages - Extract and switch to new conversation ID automatically - Show conversation info after successful clone - Maintain backward compatibility with existing :conversation behavior Co-Authored-By: ForgeCode <noreply@forgecode.dev>
|
How about instead of using |
The name I would consider adding the alias I wonder to add other contextual functions:
|
|
What else could My Concerns with
|
We can use It could be shown as in CONVERSATIONS: we can do the same with other commands. |
|
Im not sure if I understood it. Will the user have to take two steps?
On a side note - |
there are two scenarios:
Automatic switching to cloned conversation is ok, because the old one stay untouched and user will able to return it easly. |
|
The first one When I work with Then I want to return to start point and clone it ones against , and continue with new idea. This scenario will works in interactive forge. In zsh plugin we hava |
|
I have rewritten a feature and rename it. It uses |
:clone command for intelligent conversation management
|
Tried the PR, but it still requires |
|
i need to check it maybe PR do not go as I expected. |
- Add new :clone command for interactive conversation cloning - Implement fzf interface similar to :conversation - Add conditional display logic: show full details only when cloning different conversations - Skip conversation show/info when cloning current conversation to avoid redundant output - Update documentation with usage examples and scenarios BREAKING CHANGE: None - adds new functionality
- Remove :conversation clone and :conversation clone <id> implementation - Keep dedicated :clone command as the primary way to clone conversations - Simplify _forge_action_conversation function by removing clone logic - Ensure clean separation between conversation management and cloning BREAKING CHANGE: :conversation clone commands are no longer available, use :clone instead
- Add :clone command to built-in commands list in UI - Replace hardcoded echo statements with _forge_log function in shell plugin - Ensure consistent logging format across all forge commands - Improve user experience with proper timestamped log messages
|
I have added |
0b198db to
c28b7bc
Compare
- Add _forge_action_clone function with fzf selection interface - Add _forge_clone_and_switch helper function - Add clone case to command dispatcher - Preserve conversation cloning and switching functionality - Maintain compatibility with existing workflow
c28b7bc to
9e9b1e0
Compare
- Add fixme.md and check.md to fixtures directory - Fix test failure caused by missing fixture files - Ensure test can properly parse built-in commands
- Update paths to use src/fixtures/commands/ instead of fixtures/commands/ - Fix test failure in CI environment where fixtures are in src/fixtures/ - Ensure test can find and load command fixtures correctly
- Restore original .forge/commands/ directory structure - Remove temporary fixtures from src/fixtures/commands/ - Fix test to use original paths: ../../.forge/commands/fixme.md - Ensure test validates real command files, not mocks - Preserve application's command functionality
- Add missing untracked files from .forge/skills/ and benchmarks/ - Remove incorrect fixtures from src/fixtures/commands/ - Ensure all files from main branch are properly tracked - Fix test paths to use original .forge/commands/ structure
- Reset all .forge/ and benchmarks/ files to origin/main state - These files are not part of this branch's functionality - Ensure clean separation from unrelated changes - Preserve only :clone functionality changes in shell plugin and built_in_commands.json
# Conflicts: # shell-plugin/README.md
Summary
Adds a new clone command to the Forge ZSH plugin that provides intelligent conversation cloning with smart display logic.
What It Does
User Experience
Key Features
Resolve one element of: #1818