Skip to content

Commit b06a8da

Browse files
Kasper Jungeclaude
authored andcommitted
release: v0.8.3
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3ea8b6c commit b06a8da

5 files changed

Lines changed: 12 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## [Unreleased]
44

5+
## [0.8.3] - 2026-04-12
6+
7+
### Added
8+
- `agr upgrade [handle...]` command — re-fetches dependencies past the pinned commit (or re-copies local paths) and refreshes `agr.lock`. Supports full handles, short names, local paths, multiple targets, and `--global`. Targeted upgrades leave untargeted siblings alone.
9+
10+
### Changed
11+
- Extracted `_run_pre_install_setup` and `_run_install_pipeline` from `run_sync` so `sync` and `upgrade` share classify/install/lockfile/report.
12+
513
## [0.8.2] - 2026-04-09
614

715
### Added

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ Browse the full list in the [Skill Directory](https://computerlovetech.github.io
171171
| `agr add <handle> -o` | Update to the latest version |
172172
| `agr remove <handle>` | Uninstall a skill |
173173
| `agr sync` | Install all from `agr.toml` |
174+
| `agr upgrade [handle...]` | Re-fetch deps past the pinned commit |
174175
| `agr list` | Show installed skills |
175176
| `agr init` | Create `agr.toml` (auto-detects tools) |
176177
| `agr init <name>` | Create a new skill |

agr/commands/upgrade.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@ def _run_global_upgrade(handles: list[str]) -> None:
7979
if loaded is None:
8080
# Handles were supplied but there's no global config to look them up
8181
# in — exit non-zero instead of masquerading as success.
82-
error_exit(
83-
f"No global agr.toml found. Cannot upgrade: {', '.join(handles)}."
84-
)
82+
error_exit(f"No global agr.toml found. Cannot upgrade: {', '.join(handles)}.")
8583

8684
matched = _match_handles(
8785
handles, loaded.config.dependencies, scope_label="global agr.toml"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "agr"
7-
version = "0.8.2"
7+
version = "0.8.3"
88
description = "Agent Resources - The package manager for AI agents. Built for teams."
99
readme = "README.md"
1010
requires-python = ">=3.10"

tests/cli/agr/test_upgrade.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,7 @@ def test_upgrade_one_sibling_leaves_other_alone(
324324
alpha_md = (
325325
cli_project / ".claude" / "skills" / "alpha" / "SKILL.md"
326326
).read_text()
327-
beta_md = (
328-
cli_project / ".claude" / "skills" / "beta" / "SKILL.md"
329-
).read_text()
327+
beta_md = (cli_project / ".claude" / "skills" / "beta" / "SKILL.md").read_text()
330328
assert "Alpha v2" in alpha_md
331329
assert "Beta v1" in beta_md # sibling untouched on disk
332330

0 commit comments

Comments
 (0)