co-mono/packages
Mario Zechner f95f41b1c4 Add CLI file arguments support via @file prefix
Implements ability to include files directly in the initial message using @ prefix.

Features:
- All @file arguments are coalesced into the first user message
- Text files wrapped in <file name="path">content</file> tags
- Images (.jpg, .jpeg, .png, .gif, .webp) attached as base64-encoded attachments
- Supports ~ expansion, relative and absolute paths
- Empty files are skipped silently
- Non-existent files cause immediate error with clear message
- Works in interactive, --print, and --mode text/json modes
- Not supported in --mode rpc (errors with clear message)

Examples:
  pi @prompt.md @image.png "Do this"
  pi --print @code.ts "Review this code"
  pi @requirements.md @design.png "Implement this"

Closes #54
2025-11-27 12:47:11 +01:00
..
agent Release v0.10.0 2025-11-27 01:33:50 +01:00
ai Fix edit diff line number alignment and whitespace preservation 2025-11-27 11:53:00 +01:00
coding-agent Add CLI file arguments support via @file prefix 2025-11-27 12:47:11 +01:00
mom Fix edit diff line number alignment and whitespace preservation 2025-11-27 11:53:00 +01:00
pods Release v0.10.0 2025-11-27 01:33:50 +01:00
proxy Release v0.10.0 2025-11-27 01:33:50 +01:00
tui Fix editor cursor navigation for wrapped lines, add word navigation 2025-11-27 12:08:36 +01:00
web-ui Release v0.10.0 2025-11-27 01:33:50 +01:00