The old code passed `--files <abspath>` to `claude -p`, but the CLI has no such flag — it errored out with "unknown option '--files'" on the first /run call carrying a file. The flag had been there since the file-attachment path was added and was apparently never exercised end to end against current claude versions. New behavior: each file_path is hardlinked (cross-fs falls back to copy) into the per-run cwd under a stable `attachment-N.<ext>` name, and the prompt is appended with a `Attached files in the current directory:` manifest pointing at the relative paths. claude -p's Read tool then loads each file on demand — including image content for vision models. acpx /sessions path unaffected — it has its own _format_prompt_with_files. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| acpx_runner.py | ||
| auth.py | ||
| config.py | ||
| runner.py | ||
| server.py | ||
| store.py | ||