You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(skills): stop repeat auto-downloads (parse SKILL.md, stale tarball guard)
- Fix parse_version_from_skill_md: CRLF/BOM opening lines, optional v prefix, and do not use ? on non-version lines (was returning None on first line).
- After auto-update download, if skills still do not match CLI, suppress further auto attempts for this CLI version until skills install or CLI changes.
- Clear suppression when synced or when running skills install.
Some(v)if v >= current && all_skill_stores_present() => false,
157
+
_ => true,
158
+
};
159
+
160
+
if still_needed {
161
+
suppress_skill_auto_update_for_this_cli();
162
+
eprintln!(
163
+
"{}",
164
+
format!(
165
+
"warning: agent skills still do not match this CLI after download (release tarball may lag the binary). Automatic refresh is suppressed for CLI v{CURRENT_VERSION}; remove {} to retry, or run `hotdata skills install`.",
166
+
skill_auto_update_suppress_path().display()
167
+
)
168
+
.yellow()
169
+
);
170
+
return;
171
+
}
172
+
173
+
clear_skill_auto_update_suppression();
115
174
eprintln!(
116
175
"{}",
117
176
format!("Agent skills updated to v{current}.").green()
0 commit comments