feat(cli): add --no-context-files / -c flag to skip AGENTS.md and CLAUDE.md context loading#21
Conversation
…UDE.md context loading - Adds CLI arg --no-context-files with short form -c - Adds no_context_files field to ContextInfo struct - load_agents_md_files_from_dir returns early when env vars are set - Wire value into both prompt builder callers
|
@zombi3butt Thanks for your contribution.I will review and merge it soon |
|
Hi @zombi3butt, thanks a lot for picking up issue #9 and sending this in — direction is right and the diff is small and focused — thank you for the contribution! Before merging, I have a few concerns; the first one is blocking. Blocking1. The
|
What
Adds a new CLI flag
--no-context-files(short form:-c) to skip loading AGENTS.md and CLAUDE.md context files in the system prompt.This addresses issue #9: #9
Changes
--no-context-filesglobal CLI arg with short form-cno_context_files: boolfield toContextInfostructload_agents_md_files_from_dir(): early return with empty context when env varsJCODE_NO_CONTEXT_FILESorJCODE_NCare setbuild_system_prompt_fullandbuild_system_prompt_splitcallersNotes