Synced from monorepo

Changes:
- Persist submitter identity for /feedback
- Let custom models use rotating tokens from named auth providers
- Template stale tool/param name literals in server-native descriptions
- Minimal mode commits thinking in full, lookups as one-liners
- Tighten durable append internals
- Nudge model to end turn on no-op bash commands
- Per-fetch signing nonce in the managed-config envelope, with a server-side replay probe
- Include working tree in startup status
This commit is contained in:
grokkybara[bot] 2026-07-20 18:06:59 +01:00
commit a881e6703f
140 changed files with 6746 additions and 2377 deletions

View file

@ -233,7 +233,8 @@ mod tests {
});
let notif = HubNotification::parse(&value).expect("should parse as Unknown, not None");
assert!(
matches!(notif, HubNotification::Unknown { ref method, .. } if method == "tool.notification"),
matches!(notif, HubNotification::Unknown { ref method, .. }
if method == "tool.notification"),
"tool.notification without envelope session_id should fall back to Unknown, got {notif:?}"
);
}
@ -273,7 +274,8 @@ mod tests {
});
let notif = HubNotification::parse(&value).expect("should parse as Unknown, not None");
assert!(
matches!(notif, HubNotification::Unknown { ref method, .. } if method == "tools_changed"),
matches!(notif, HubNotification::Unknown { ref method, .. }
if method == "tools_changed"),
"malformed tools_changed should fall back to Unknown, got {notif:?}"
);
}
@ -355,7 +357,8 @@ mod tests {
});
let notif = HubNotification::parse(&value).expect("should parse as Unknown, not None");
assert!(
matches!(notif, HubNotification::Unknown { ref method, .. } if method == "tool.notification"),
matches!(notif, HubNotification::Unknown { ref method, .. }
if method == "tool.notification"),
"malformed tool.notification should fall back to Unknown, got {notif:?}"
);
}