changedInput schema / additionalProperties
Previous value: -trueNew value: +false
changedInput schema / examples
Previous value: -[
- {
- "change": {
- "name": "lodash",
- "to_version": "latest"
- }
- },
- {
- "change": {
- "from_version": "4.18.2",
- "name": "express",
- "to_version": "^5.0.0"
- }
- },
- {
- "change": {
- "dependency_type": "runtime",
- "name": "zod",
- "to_version": "3.23.8"
- },
- "policy_profile": "strict",
- "project": {
- "direct_dependencies": {
- "zod": "^3.22.0"
- },
- "installed_versions": {
- "zod": "3.22.4"
- },
- "node_version": "20.11.0",
- "package_manager": "pnpm",
- "scripts": [
- "build",
- "test"
- ]
- }
- }
-]New value: +[
+ {
+ "dependency": "lodash",
+ "to_version": "4.17.21"
+ },
+ {
+ "dependency": "express",
+ "from_version": "4.18.2",
+ "to_version": "^5.0.0"
+ },
+ {
+ "dependency": "zod",
+ "policy_profile": "strict",
+ "project": {
+ "direct_dependencies": {
+ "zod": "^3.22.0"
+ },
+ "installed_versions": {
+ "zod": "3.22.4"
+ },
+ "node_version": "20.11.0",
+ "package_manager": "pnpm",
+ "scripts": [
+ "build",
+ "test"
+ ]
+ },
+ "to_version": "3.23.8"
+ }
+]
removedInput schema / properties / change
Removed value: -{
- "additionalProperties": true,
- "description": "The single dependency you are about to add or upgrade. One dependency per call.",
- "properties": {
- "dependency_type": {
- "default": "runtime",
- "description": "Where the dependency goes. Defaults to runtime.",
- "enum": [
- "runtime",
- "development",
- "optional",
- "peer"
- ],
- "type": "string"
- },
- "ecosystem": {
- "const": "npm",
- "default": "npm",
- "description": "Always npm. Omit it.",
- "type": "string"
- },
- "from_version": {
- "description": "The version currently installed, or null / omitted when adding a new dependency. Supplying it is what produces a before/after advisory comparison. Alias keys \"current_version\", \"old_version\", \"previous_version\", and \"installed_version\" are adopted onto it.",
- "maxLength": 128,
- "type": [
- "string",
- "null"
- ]
- },
- "name": {
- "description": "The npm package name on its own — \"lodash\", \"@types/node\". Do NOT append a version here; a \"name@version\" spec is split for you and reported in input_adjustments. Alias keys \"package\", \"package_name\", \"pkg\", \"dep\", \"dependency\", \"dependency_name\", \"module\", \"library\", \"npm_package\", \"npm_package_name\", \"package_spec\", and \"dependency_spec\" are adopted onto it, as is any case or separator variant of \"name\".",
- "maxLength": 214,
- "minLength": 1,
- "type": "string"
- },
- "to_version": {
- "description": "The version you intend to install: an exact version (\"4.18.1\"), a dist-tag (\"latest\"), or a SemVer range (\"^4.17.0\", \"~1.2\", \"4.x\"). Omit it entirely to evaluate the latest published version, which is what plain `npm install <pkg>` would give you. Ranges and tags resolve to one exact version — read change.to_version in the response for the version the verdict actually covers. Alias keys \"version\", \"target_version\", \"new_version\", \"desired_version\", and \"requested_version\" are adopted onto it.",
- "maxLength": 128,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
-}
addedInput schema / properties / dependency
Added value: +{
+ "description": "The npm package name on its own, with no version — \"lodash\", \"@types/node\".",
+ "maxLength": 214,
+ "minLength": 1,
+ "pattern": "^(@[^/\\s]+/)?[^@/\\s][^/\\s]*$",
+ "type": "string"
+}
addedInput schema / properties / dependency_type
Added value: +{
+ "default": "runtime",
+ "description": "Where the dependency goes. Defaults to runtime.",
+ "enum": [
+ "runtime",
+ "development",
+ "optional",
+ "peer"
+ ],
+ "type": "string"
+}
addedInput schema / properties / from_version
Added value: +{
+ "description": "The version currently installed, or omitted when adding a new dependency. Supplying it produces a before/after advisory comparison.",
+ "maxLength": 128,
+ "type": [
+ "string",
+ "null"
+ ]
+}
changedInput schema / properties / intent / description
Previous value: -"Optional free text describing why you are making this change. Advisory only; it changes no verdict. Note this is a plain string here — plan_repo_task takes an object under the same name."New value: +"Optional free text describing why you are making this change. Advisory only; it changes no verdict."
addedInput schema / properties / package_manager
Added value: +{
+ "description": "Optional. Only affects the commands and lockfile named in the verification plan. Inferred from project.lockfile_path when you send a project snapshot, and assumed to be npm otherwise.",
+ "enum": [
+ "npm",
+ "pnpm",
+ "yarn",
+ "bun"
+ ],
+ "type": "string"
+}
changedInput schema / properties / policy_profile / description
Previous value: -"Named team dependency policy. Strict requires provenance and denies package install hooks. This is the one key that must be spelled exactly — a near-miss spelling is rejected rather than guessed, because reading it wrong would answer under a policy you did not ask for."New value: +"Named team dependency policy. Strict requires provenance and denies package install hooks. Must be spelled exactly — a near-miss spelling is rejected rather than guessed, because reading it wrong would answer under a policy you did not ask for."
changedInput schema / properties / project / additionalProperties
Previous value: -trueNew value: +false
changedInput schema / properties / project / description
Previous value: -"Optional, source-free facts about the project you are changing. Supplying it adds Node/peer/license compatibility and a command-level verification plan. Omit it entirely and compatibility comes back \"unknown\" — read that as not checked, never as no problem found. If you DO send it, package_manager is the one field you must include: it selects the lockfile and the commands in the verification plan, so guessing it would hand you instructions for the wrong repository. Every other field is optional and any that are missing are defaulted and reported, not rejected. Never send source code."New value: +"Optional, source-free facts about the project you are changing. Supplying it adds Node/peer/license compatibility and a command-level verification plan. Omit it entirely and compatibility comes back \"unknown\" - read that as not checked, never as no problem found. Every field is optional; anything missing is defaulted and reported in input_adjustments, never rejected. Never send source code."
removedInput schema / properties / project / required
Removed value: -[
- "package_manager"
-]
addedInput schema / properties / to_version
Added value: +{
+ "description": "The version you intend to install: an exact version (\"4.18.1\"), a dist-tag (\"latest\"), or a SemVer range (\"^4.17.0\"). Omit to evaluate the latest published version.",
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+}
changedInput schema / required
Previous value: -[
- "change"
-]New value: +[
+ "dependency"
+]