@geminilight/mindos 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -111,7 +111,7 @@ export default function ActivityBar({
111
111
  // Browser/CLI: check npm registry
112
112
  const dismissed = localStorage.getItem('mindos_update_dismissed');
113
113
  const latest = localStorage.getItem('mindos_update_latest');
114
- if (latest && latest !== dismissed) { setHasUpdate(true); return; }
114
+ if (latest && latest !== dismissed) { setHasUpdate(true); }
115
115
  const timer = setTimeout(async () => {
116
116
  try {
117
117
  const res = await fetch('/api/update-check');
@@ -120,6 +120,7 @@ export default function ActivityBar({
120
120
  if (!data.hasUpdate) {
121
121
  localStorage.removeItem('mindos_update_latest');
122
122
  localStorage.removeItem('mindos_update_dismissed');
123
+ setHasUpdate(false);
123
124
  return;
124
125
  }
125
126
  const d = localStorage.getItem('mindos_update_dismissed');
@@ -258,6 +258,11 @@ function BrowserUpdateTab() {
258
258
  const data = await apiFetch<UpdateInfo>('/api/update-check');
259
259
  setInfo(data);
260
260
  if (!originalVersion.current) originalVersion.current = data.current;
261
+ if (!data.hasUpdate) {
262
+ localStorage.removeItem('mindos_update_latest');
263
+ localStorage.removeItem('mindos_update_dismissed');
264
+ window.dispatchEvent(new Event('mindos:update-dismissed'));
265
+ }
261
266
  setState('idle');
262
267
  } catch {
263
268
  setState('error');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geminilight/mindos",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "MindOS — Human-Agent Collaborative Mind System. Local-first knowledge base that syncs your mind to all AI Agents via MCP.",
5
5
  "keywords": [
6
6
  "mindos",