v0.1.11 - Agent Install Instructions in AGENTS.md
Automatically adds package installation instructions to AGENTS.md during init, guiding agents to use brin for all package operations
Automatically adds package installation instructions to AGENTS.md during init, guiding agents to use brin for all package operations.
Features
- Package installation instructions —
brin initnow appends a "Package Installation" section to AGENTS.md, instructing agents to usebrin add,brin remove,brin scan, andbrin checkinstead of running npm/yarn/pnpm/pip directly - Idempotent patching — Instructions are only added once, detected via a
## Package Installationmarker. Runningbrin initmultiple times won't duplicate the section - Auto-create AGENTS.md — If no AGENTS.md exists, one is created with the installation instructions included
Technical Changes
- New
INSTALL_INSTRUCTIONS_MARKERconstant for idempotent detection add_install_instructions()andadd_install_instructions_at_path()functions inagents_md.rs- Called automatically at the end of
brin initafter the docs index update - Three new tests covering: append to existing file, idempotency, and creation of new file