[FEATURE] Agent teams
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Non viene indicato alcun file, test o punto di ingresso. Inizia tracciando il server WebSocket, la gestione del file di lock e il percorso provider="none"; un possibile primo traguardo consiste nell’avere più server per worktree con file di lock separati, mentre le questioni più ampie relative all’ambito delle schede e al protocollo restano irrisolte.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Feature Description
Support for agent teams
As far as I can tell from the docs and the code, there would be issues when using agent teams with interacting with the worktrees and the neovim instance.
Use Case
Parallel worktrees with agents assigned to them via agent teams for larger projects
Proposed Solution
We could have a separate tab for each parallel worktree, where the tab's buffers are scoped to that worktree.
Main issue here is, how do we organize our directory structure so that when you are navigating between files, it is easy to see what is in what worktree? The only way I can think to do this is if you spawn your nvim instance from the parent directory. For example, if I have a project directory for my main work (without worktrees), I would need a project_wrapper directory (terrible name, but you get the idea) that has the project dir and the worktree dirs that the agents are spinning up as siblings.
The tab-per-worktree UI is one problem, but the bigger issue is probably the WebSocket server itself. Right now the plugin runs one server with one lock file. Even if we get tabs working perfectly, the worker agents spawned by agent teams would all be hitting the same server, and the diff/context routing has no concept of "this diff belongs to this worktree's tab." That's a pretty fundamental architectural thing to solve.
Also worth noting — the lock file convention (~/.claude/ide/[port].lock) is Anthropic's, not this plugin's. If agent team workers don't know how to look for separate lock files per worktree or per session, there's only so much the plugin can do here. Might be worth checking if this is actually something Anthropic needs to address on the CLI side first (maybe the lock file protocol needs a worktree discriminator or something).
One possible incremental step: support spinning up multiple WebSocket servers (one per worktree), each with its own lock file, under provider = "none". That way people using the tmux approach (like me) could at least get IDE integration per-pane without needing the full tab-scoping solution. Less ambitious, but probably more realistic as a first pass.
Has anyone looked at how the VS Code extension handles agent teams? That would tell us a lot about whether the protocol already supports this or if it's a gap everywhere.
EDIT: Turns out Anthropic doesn't support agent teams in the VS Code extension! So that's telling...
Alternatives Considered
What I do now is just...not use agent teams. I have to coordinate in separate tmux windows a separate nvim + agent.
- Lingua principale
- Lua
- Stelle
- 3.1k
- Fork
- 217
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di coder/claudecode.nvim
-
bug needs-triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
coder/claudecode.nvim#314 ·
-
bug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
coder/claudecode.nvim#313 ·
-
Is this plugin abondonned? Apertaneeds-triage
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
coder/claudecode.nvim#319 · 1 reazione ·
-
[BUG] 框选文本一直抱错误信息 Apertabug needs-triage
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
coder/claudecode.nvim#316 · 1 commento ·
-
needs-triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
coder/claudecode.nvim#309 ·
Tutte le issue di coder/claudecode.nvim
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
openSUSE/python-rpm-macros#219 ·
-
bug mini.bracketed
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
accessibility bug typst
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
quarto-dev/quarto-cli#14947 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
HenrikBengtsson/CBI-software#134 ·