oh-my-adhd 0.2.22 → 0.2.23

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.
@@ -144,7 +144,8 @@ export function registerWikiImport(server) {
144
144
  existingIds.add(id); // prevent duplicate IDs within same import
145
145
  importedThreads++;
146
146
  }
147
- // Write updated manifest atomically inside lock
147
+ // Sort by updatedAt desc matches saveCapture/updateManifestEntry behavior
148
+ manifest.sort((a, b) => new Date(b.updatedAt).getTime() - new Date(a.updatedAt).getTime());
148
149
  const tmp = manifestFile + ".tmp";
149
150
  await fs.writeFile(tmp, JSON.stringify(manifest, null, 2), "utf-8");
150
151
  await fs.rename(tmp, manifestFile);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-adhd",
3
- "version": "0.2.22",
3
+ "version": "0.2.23",
4
4
  "description": "ADHD second brain — zero-friction capture, auto context restore, unstick. MCP-native Claude Code plugin.",
5
5
  "author": "Yeachan Heo",
6
6
  "repository": {