feat(cli): add standalone ov watch subcommand#1841
feat(cli): add standalone ov watch subcommand#1841yeyitech wants to merge 6 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>
…templates (volcengine#578) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
volcengine#1662) 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
ov watchsubcommand group withlist,add,remove, andsetsubcommands~/.openviking/watches.json, decoupled fromadd-resourceprocessingov watch add <path> [--to <uri>] [--interval <seconds>]registers a path without triggering re-indexingov watch set <path> --interval <seconds>updates the polling interval without re-processing resourcesov watch remove <path>removes a watch entryov watch listshows all configured watches with path, target URI, interval, and timestampsCloses #1662
Test plan
ov watch listshows empty table when no watches configuredov watch add /tmp/mydir --to viking://resources/mydir --interval 60adds entry to watches.jsonov watch listshows the new entryov watch set /tmp/mydir --interval 120updates interval without re-indexingov watch remove /tmp/mydirremoves the entryov watch addfor same path raises clear error🤖 Generated with Claude Code