atproto git client atgc.codes

feat(images): resolve a body file's paths from its own directory first #1446

Merged permadeath.com
targeting main from claude/body-file-dir
Merged opened by and assigned to permadeath.com
targeting main from claude/body-file-dir

Today a relative image or video path in a body given with --body-file resolves against the working directory, then the repo root. The body file's own directory is never tried, so ![shot](shot.png) in docs/notes.md is refused when docs/shot.png is beside it, or uploads a different ./shot.png if one exists.

This PR tries the body file's own directory first, then the working directory, then the repo root. --body and --body-file - keep the old order, since neither has a file directory. The --body-file help, docs/agents.md and atgc agent media now describe the order.

help before and after

🤖 Generated with Claude Code

Commits 0