[FEATURE] Add ability to resume from other session despite current ongoing session
- Lingua principale
- Lua
- Stelle
- 3.1k
- Fork
- 216
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
## Feature Description
Right now, you can resume from a previous session when Claude Code hasn't yet been toggled on yet. However, if I want to potentially switch to another Claude Code session while you've already toggled it, then you need to 1) go to the current Claude Code session, 2) terminate the session, and 3) trigger `:ClaudeCode --resume`.
Ideally, we can just trigger something like `:ClaudeCode --resume` and that would just pull up the list of previous Claude Code session.
## Use Case
This would make Claude Code session management much easier.
## Proposed Solution
A nice solution would be to add a more generic `:ClaudeCodeCommand` that allows users to send arbitrary Claude Code commands, e.g. `:ClaudeCodeCommand clear` would run `/clear` within the Claude Code session.
## Alternatives Considered
The alternative is to 1) go to the current Claude Code session, 2) terminate the session, and 3) trigger `:ClaudeCode --resume`.
## Additional Context
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia tracciando l’implementazione di `:ClaudeCode --resume` e il modo in cui viene gestita una sessione Claude Code attiva. Confronta il flusso di ripresa attuale con il comportamento proposto di `:ClaudeCodeCommand`, quindi determina la semantica prevista del comando e i confini del cambio di sessione. Il lavoro è completato quando un comando di ripresa può mostrare le sessioni precedenti senza dover terminare manualmente quella corrente, e il comportamento rilevante è coperto da test, se il progetto li fornisce.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- lua, neovim
- Ambito
- cli, devtools
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100