-
feat: add support for AGENTS.md in Rust CLI (#885)
发布于
2025-05-11 00:52:59 +00:00 The TypeScript CLI already has support for including the contents of
AGENTS.mdin the instructions sent with the first turn of a
conversation. This PR brings this functionality to the Rust CLI.To be considered,
AGENTS.mdmust be in thecwdof the session, or in
one of the parent folders up to a Git/filesystem root (whichever is
encountered first).By default, a maximum of 32 KiB of
AGENTS.mdwill be included, though
this is configurable using the new-in-this-PRproject_doc_max_bytes
option inconfig.toml.下载附件