name: handoff-search description: Find and list handed off conversations in the current workspace to resume work.
To find a handoff or plan doc:
- Look for a directory named
.jaiin the current working directory. - If it doesn't exist, inform the user that no saved handoffs or plans were found.
- List all markdown files (
*.md) inside.jai/conversations/and.jai/plans/. - For each file found, read its content to extract the
**Summary**:section (typically in the first few lines). - Present the list of files categorized under two distinct sections:
- Active Plans (files from
.jai/plans/) - Recent Conversations (files from
.jai/conversations/) Include the filename and its summary for each.
- Active Plans (files from
- If the user or context implies a specific topic, recommend the most relevant file from either category.
- Once the correct file is identified, read its full content to load the context.