feat(cli): add --summary-instruction to ov add-resource#1839
feat(cli): add --summary-instruction to ov add-resource#1839yeyitech wants to merge 4 commits intovolcengine:mainfrom
Conversation
…teError (volcengine#1758) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…volcengine#1737) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…h embedded credentials (volcengine#1734) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…mary customization (volcengine#578) Thread a new `summary_instruction` parameter from the CLI option `--summary-instruction` through the full pipeline: CLI command → BaseClient/HTTPClient/LocalClient → HTTP router → ResourceService → ResourceProcessor → TreeBuilder → SemanticMsg.instruction, so SemanticProcessor can use it when generating per-file abstracts and directory overviews via VLM. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Summary
--summary-instructionoption toov add-resourceCLI commandSemanticMsg.instructionSemanticProcessoruses the instruction when generating per-file abstracts and directory overviews via VLMov add-resource ./sdk-docs --summary-instruction "Focus on public API surface, function signatures, and return types. Ignore internal implementation details."produces targeted, high-quality summaries for SDK documentationCloses #578 (partial — covers the CLI/server pipeline; prompt template changes in companion PR)
Test plan
ov add-resource --helpshows--summary-instructionoption--summary-instruction "..."does not break existing add-resource flowSemanticMsgcreated by resource service has correctinstructionvalue🤖 Generated with Claude Code