sdkasper_lean-obsidian-term.../docs/claude-code-integration.md
LeanProductivity edbb51f4ef docs: extract reference sections into standalone docs
Break down the overly long README into focused reference docs:
- Usage: command and keyboard shortcut reference
- Settings: configuration table and descriptions
- Session Persistence: tab state save/restore details
- Claude Code Integration: integration setup and features
- URI Handler: obsidian:// protocol reference
- Security: security review summary and checksums

README now focuses on Features, Installation, How It Works, and key sections (Feedback, Development, Contributors, License). Users are directed to the docs/ folder for detailed reference material.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-05-11 13:47:02 +03:00

796 B

Claude Code Integration

Disabled by default. When enabled in settings, the plugin:

  • Scans ~/.claude/projects/ for conversation sessions associated with the current vault
  • Generates a markdown registry note on demand (Refresh Claude session registry command) with clickable Resume links
  • Registers the obsidian://lean-terminal?resume=<session-id> URI so links in the registry (or any note) open a new terminal tab and run claude --resume <session-id> once the shell is ready
  • Includes Claude sessions alongside recently closed tabs in the Restore recent terminal session picker, sorted by most recent

Sessions started by typing claude manually inside a tab are not auto-tracked, but appear in the picker on its next open (the scan runs fresh each time) - click to resume.