Create a command-line tool /app/resolve that resolves a semver range expression against a list of available…
Create a command-line tool /app/resolve that resolves a semver range expression against a list of available…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The tool reads a JSON file whose path is given as the first argument: {"versions": ... …
The task
**Input contract:** - The tool reads a JSON file whose path is given as the first argument: `{"versions": [...], "range": "..."}` - `versions` is a JSON array of strings, each a valid semver 3-component version `MAJOR.MINOR.PATCH` (e.g., `"1.2.3"`). The array may be empty, may contain duplicates, and is not…
Part of ai-and/termgrade-environments.