Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python agent-contextagent-memoryagent-pluginsagentic-ragcontext-databasedsh-pluginknowledge-basememorymemory-managementself-evolvingvector-database
docs(cli): clarify snapshot commit path requirements (#5442)
Evocadf9c58bf8b
diff --git a/crates/ov_cli/src/help_ui.rs b/crates/ov_cli/src/help_ui.rsindex 2facc148e..a81bd6450 100644--- a/crates/ov_cli/src/help_ui.rs+++ b/crates/ov_cli/src/help_ui.rs@@ -575,8 +575,8 @@ const COMMAND_HELP_SPECS: &[CommandHelpSpec] = &[purpose: "Manage workspace snapshots: commit, restore, show, diff, and walk history.",examples: &[HelpItem {- label: "ov snapshot commit -m \"checkpoint before refactor\"",- description: "Commit the current workspace state.",+ label: "ov snapshot commit -m \"checkpoint before refactor\" --paths viking://resources/my_project",+ description: "Commit a project directory for which you have write access.",},HelpItem {label: "ov snapshot log --branch main",@@ -601,11 +601,11 @@ const COMMAND_HELP_SPECS: &[CommandHelpSpec] = &[purpose: "Commit the current workspace state as a new snapshot.",examples: &[HelpItem {- label: "ov snapshot commit -m \"checkpoint before refactor\"",- description: "Commit the full workspace on the main branch.",+ label: "ov snapshot commit -m \"checkpoint before refactor\" --paths viking://resources/my_project",+ description: "Commit a writable project directory on the main branch. Omit --paths only in local ROOT mode.",},HelpItem {- label: "ov snapshot commit -m \"docs only\" --paths viking://docs",+ label: "ov snapshot commit -m \"docs only\" --paths viking://resources/docs",description: "Commit only the given viking:// URIs. Directories are expanded recursively (with snapshot pruning rules applied).",},],@@ -724,7 +724,7 @@ const COMMAND_HELP_SPECS: &[CommandHelpSpec] = &[},],next_steps: &[HelpItem {- label: "ov snapshot commit -m \"with ignore\"",+ label: "ov snapshot commit -m \"with ignore\" --paths viking://resources/my_project",description: "Commit; matching files are excluded (see the `ignored` count).",}],},diff --git a/crates/ov_cli/src/main.rs b/crates/ov_cli/src/main.rsindex 00acdf6f2..d53c4dcab 100644--- a/crates/ov_cli/src/main.rs+++ b/crates/ov_cli/src/main.rs@@ -1397,7 +1397,7 @@ pub(crate) enum SnapshotCmd {Commit {#[arg(short = 'm', long)]message: String,- /// Limit to specific viking:// URIs (comma-separated); accepts files and directories. Directories are expanded recursively with the snapshot pruning rules. Omit to snapshot the full account tree.+ /// Limit to specific viking:// URIs (comma-separated); accepts files and directories. Directories are expanded recursively with the snapshot pruning rules. Required for USER/ADMIN callers; only local ROOT mode may omit paths to snapshot the full account tree.#[arg(long, value_delimiter = ',')]paths: Option<Vec<String>>,#[arg(long, default_value = "main")]