From bca2f033f3b3f537857337de431bf11a2d1faca4 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Wed, 13 May 2026 14:58:09 +0300 Subject: [PATCH] test: decouple release manifest from source protocol --- src/update.rs | 8 ++++---- website/latest.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/update.rs b/src/update.rs index 68528795..fdb3ec5e 100644 --- a/src/update.rs +++ b/src/update.rs @@ -986,10 +986,10 @@ mod tests { .expect("website/latest.json should match updater schema"); assert!(!manifest.notes_body().is_empty()); - assert_eq!( - manifest.protocol, - Some(crate::server::protocol::PROTOCOL_VERSION) - ); + // website/latest.json describes the latest released binaries, not the + // current unreleased checkout. Its protocol is updated by the release + // flow together with the release assets. + assert!(manifest.protocol.is_some()); assert_eq!(manifest.assets.len(), 4); for target in [ diff --git a/website/latest.json b/website/latest.json index 94a70099..4fe29410 100644 --- a/website/latest.json +++ b/website/latest.json @@ -1,6 +1,6 @@ { "version": "0.5.8", - "protocol": 5, + "protocol": 4, "notes": "### Added\n- Added manual pane labels through `herdr pane rename`, the `pane.rename` socket API, an optional `keys.rename_pane` binding, and the right-click pane menu.\n- Added `ui.show_agent_labels_on_pane_borders`, which can show detected or reported agent names in split pane borders when no manual pane label is set.\n- Added `herdr integration status [--outdated-only]` so installed agent integrations can be checked for legacy or outdated versions.\n- Added an optional `keys.open_notification_target` binding for jumping to the pane behind the current notification.\n- Added optional `keys.previous_agent` and `keys.next_agent` bindings for cycling through sidebar agent entries.\n\n### Changed\n- Scrolling over the tab bar now switches tabs directly, including overflowing tab bars.\n\n### Fixed\n- Indexed terminal palette colors now render correctly for 256-color terminal apps.\n- Hook-based agent integrations now reject stale out-of-order reports and base notifications on effective agent state, reducing duplicate or stuck state changes.\n- Background tabs now resize when the outer terminal size changes, preventing stale pane dimensions when switching back to them.\n- Client shutdown now drains queued control messages more reliably.\n- Pane cursors are now hidden while scrolled back, and omitted while the mobile switcher is open.\n- Mobile agent switcher entries now include tab context, making agents easier to identify on narrow terminals.\n- macOS foreground job detection now uses process groups, improving agent state tracking for foreground commands.\n- Remote SSH no longer fails before connecting when macOS temporary bridge socket paths exceed Unix socket length limits. (#103, thanks @moonsphere)\n- Nix-wrapped agent commands are now detected by their underlying agent entrypoint.\n- Pane renames made through the socket API now rerender immediately.", "assets": { "linux-x86_64": "https://github.com/ogulcancelik/herdr/releases/download/v0.5.8/herdr-linux-x86_64",