mirror of
https://github.com/herdrdev/herdr.git
synced 2026-09-22 00:01:06 +00:00
test: decouple release manifest from source protocol
This commit is contained in:
+4
-4
@@ -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 [
|
||||
|
||||
+1
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user