diff --git a/CHANGELOG.md b/CHANGELOG.md index 18ed4ad..0f6414f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,8 +10,55 @@ CalVer image tags (`stable-YYYY.MM.N`, `dev-YYYY.MM.N`) are produced for every C ## [Unreleased] +### Added + +- **`/update-agnes-plugins` slash command** — installed automatically by + `agnes init` into `/.claude/commands/`. Runs + `agnes refresh-marketplace` (the chatty default mode) so the user sees + install/update progress streamed into the Claude Code transcript and + can react to errors interactively, instead of having a full reconcile + happen silently behind a SessionStart hook. + +- **`agnes refresh-marketplace --check`** — lightweight detector mode for + the SessionStart hook. Runs `git fetch` only, compares local `HEAD` + with remote `FETCH_HEAD`, and emits a Claude Code hook JSON message + pointing the user at `/update-agnes-plugins` when there are remote + changes. Silent when up to date. No `git reset`, no + `claude plugin marketplace update`, no plugin install/update side + effects. + +### Changed + +- **SessionStart marketplace hook is now read-only.** The hook installed + by `agnes init` was previously `agnes refresh-marketplace --quiet`, + which performed a full fetch+reset+install cycle on every session start + (slow, invisible to the user, not interactively recoverable). It now + runs `agnes refresh-marketplace --check` — detect-only — and surfaces a + hint to run `/update-agnes-plugins` when updates are available. + Existing workspaces auto-upgrade on next `agnes init` (the substring + marker `agnes refresh-marketplace` matches both the old and new entry + shapes, so the idempotent-replace path correctly rewrites them). + +- **Marketplace "Added to your stack" hint points at `/update-agnes-plugins`.** + The post-install green panel on plugin and skill/agent detail pages + used to suggest `agnes refresh-marketplace` in a shell prompt and + reference the SessionStart auto-install. With the hook now being + detect-only, that text was outdated. The hint is condensed to a + single instruction — open a new Claude Code session and run + `/update-agnes-plugins` — with the slash command in a copy chip. + Affects `marketplace_plugin_detail.html` and `marketplace_item_detail.html`. + ### Removed +- **BREAKING: `agnes refresh-marketplace --quiet` flag.** Replaced by + `--check` (detect-only) and the new `/update-agnes-plugins` slash + command (interactive update). Existing SessionStart hooks calling + `--quiet` will silent-noop after the CLI upgrade — the hook's + `2>/dev/null || true` swallows the unknown-flag error — until the user + re-runs `agnes init`, which rewrites the hook to use `--check` and + installs the slash command. Dashboard `/setup` flow re-runs + `agnes init` automatically on next paste. + - **BREAKING: legacy `git config --global http..sslVerify=false` downgrade in the install setup prompt.** The marketplace step (step 5) used to emit this line on `AGNES_DEBUG_AUTH=1` instances when no diff --git a/app/web/templates/marketplace_item_detail.html b/app/web/templates/marketplace_item_detail.html index 4817218..41a9ac6 100644 --- a/app/web/templates/marketplace_item_detail.html +++ b/app/web/templates/marketplace_item_detail.html @@ -523,18 +523,12 @@ ✓ Added to your stack -
To use it in Claude Code:
-
    -
  1. Open a new Claude Code session — it auto-installs via the SessionStart hook.
  2. -
  3. Or run now in your terminal: -
    - $ - agnes refresh-marketplace - -
    - Then in the running session: /reload-plugins -
  4. -
+
Open a new Claude Code session and run:
+
+ / + update-agnes-plugins + +