oh-my-adhd 0.2.19 → 0.2.20

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.
@@ -112,12 +112,14 @@ export function registerWikiImport(server) {
112
112
  // Write thread content file if present
113
113
  if (typeof thread.content === "string") {
114
114
  const contentBytes = Buffer.byteLength(thread.content, "utf-8");
115
- if (contentBytes <= MAX_CONTENT_BYTES) {
116
- const threadFile = path.join(threadsDir, `${id}.md`);
117
- const tmp = threadFile + ".tmp";
118
- await fs.writeFile(tmp, thread.content, "utf-8");
119
- await fs.rename(tmp, threadFile);
115
+ if (contentBytes > MAX_CONTENT_BYTES) {
116
+ skippedThreads++;
117
+ continue;
120
118
  }
119
+ const threadFile = path.join(threadsDir, `${id}.md`);
120
+ const tmp = threadFile + ".tmp";
121
+ await fs.writeFile(tmp, thread.content, "utf-8");
122
+ await fs.rename(tmp, threadFile);
121
123
  }
122
124
  // Project only allowed ThreadMeta fields — no arbitrary spread
123
125
  const meta = { id, title };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-adhd",
3
- "version": "0.2.19",
3
+ "version": "0.2.20",
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": {