updateNotice function
The line attach shows when the last check found a newer glint on pub.dev; null when up to date or unknown.
Implementation
String? updateNotice() {
if (!_enabled) return null;
final latest = cachedPubVersion(_cache);
if (latest == null || !isNewerVersion(latest, glintVersion)) return null;
return 'glint $latest is out (this is $glintVersion): tell the user to run `dart pub global activate glint_mcp`, '
'then restart the MCP server ยท what\'s new: https://pub.dev/packages/glint_mcp/changelog';
}