You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description = "Path to a dependency file or project directory for batch safety checks. npm: package-lock.json/package.json, cargo: Cargo.lock/Cargo.toml, pypi: requirements.txt/pyproject.toml. Defaults to current working directory."
77
-
)]
78
-
/// Path to a lockfile/manifest file or project directory.
106
+
#[schemars(schema_with = "lockfile_path_schema")]
79
107
pubpath:Option<String>,
80
108
81
-
#[schemars(
82
-
description = "Registry used for parsing and checks. Defaults to \"npm\". Supported: \"npm\", \"cargo\", \"pypi\"."
"Dependency safety policy: (1) For single dependency intent keywords (`add`, `install`, `update`, `upgrade`, `bump`, `pin`), call `check_package` first and do not edit files before the result. (2) For batch/file intent keywords ({lockfile_keywords}, `install deps`, `audit lockfile`), call `check_lockfile` first. (3) Enforce gating: if `allow=false`, do not proceed; return risk, reasons, and machine-readable evidence."
"Dependency safety policy: (1) For single dependency intent keywords (`add`, `install`, `update`, `upgrade`, `bump`, `pin`), call `check_package` first and do not edit files before the result. (2) For batch/file intent keywords (`package-lock.json`, `package.json`, `Cargo.lock`, `Cargo.toml`, `requirements.txt`, `pyproject.toml`, `install deps`, `audit lockfile`), call `check_lockfile` first. (3) Enforce gating: if `allow=false`, do not proceed; return risk, reasons, and machine-readable evidence.".into(),
0 commit comments