Handoff
이 내용은 아직 번역본이 없습니다.
Handoff creates focused handoff prompts for continuing work in new OpenCode sessions — inspired by Amp’s handoff command.
Key features
| Feature | Description |
|---|---|
/handoff <goal> | Analyzes the conversation and generates a continuation prompt |
| File references | Guides the AI to include relevant @file references so the next session starts with context loaded |
| Editable draft | Opens a new session with the prompt as an editable draft |
read_session tool | Retrieves full conversation transcripts from previous sessions when the handoff summary is not sufficient |
Requirements
- OpenCode v1.2.15 or later
Installation
Add to ~/.config/opencode/opencode.json:
{
"plugin": ["opencode-handoff"]
}
Restart OpenCode. Optionally pin to a specific version for stability ([email protected]).