oh-my-adhd 0.2.18 → 0.2.19

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.
@@ -155,8 +155,10 @@ export function registerWikiImport(server) {
155
155
  const page = rawPage;
156
156
  const slug = typeof page.slug === "string" ? page.slug : "";
157
157
  const content = typeof page.content === "string" ? page.content : "";
158
- if (!SLUG_RE.test(slug) || !content)
158
+ if (!SLUG_RE.test(slug) || !content) {
159
+ skippedPages++;
159
160
  continue;
161
+ }
160
162
  if (Buffer.byteLength(content, "utf-8") > MAX_CONTENT_BYTES) {
161
163
  skippedPages++;
162
164
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-adhd",
3
- "version": "0.2.18",
3
+ "version": "0.2.19",
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": {