Skip to content

MEMORY: /memory slash command (edit each scope in $EDITOR) #491

@Hmbown

Description

@Hmbown

Part of #489.

Summary

Add a /memory slash command that lets the user open any memory file in $EDITOR (or $VISUAL) without leaving the TUI.

Subcommands

  • /memory — interactive picker (user / project / local)
  • /memory user — edit ~/.deepseek/AGENTS.md
  • /memory project — edit <repo>/AGENTS.md (creating it if missing)
  • /memory local — edit <repo>/AGENTS.local.md (creating + adding to .gitignore if missing)
  • /memory list — show what's currently loaded with sizes

Reference

reference-cc/src/commands/memory/memory.tsx:14-89.

Acceptance

  • Editor spawn works on macOS/Linux/Windows.
  • Parent dirs are auto-created.
  • Re-loads memory after the editor exits — no client restart needed.

Effort: S (~150 LoC).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestv0.8.8Targeting v0.8.8

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions