oh-my-adhd 0.2.0 → 0.2.1
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.
|
@@ -12,7 +12,7 @@ export function registerWikiRecall(server) {
|
|
|
12
12
|
const candidates = threads.slice(0, Math.max(limit * 10, 50));
|
|
13
13
|
// Use manifest-cached signal fields where available; fall back to file reads only for uncached
|
|
14
14
|
const uncachedIdx = candidates
|
|
15
|
-
.map((t, i) => (t.is_open
|
|
15
|
+
.map((t, i) => (t.is_open == null ? i : -1))
|
|
16
16
|
.filter((i) => i >= 0);
|
|
17
17
|
const fileContents = new Map();
|
|
18
18
|
if (uncachedIdx.length > 0) {
|
|
@@ -30,7 +30,7 @@ export function registerWikiRecall(server) {
|
|
|
30
30
|
let capture_count;
|
|
31
31
|
let next_action;
|
|
32
32
|
let blocker;
|
|
33
|
-
if (t.is_open
|
|
33
|
+
if (t.is_open != null && t.last_action != null && t.capture_count != null) {
|
|
34
34
|
// Fast path: use manifest cache
|
|
35
35
|
is_open = t.is_open;
|
|
36
36
|
last_action = t.last_action;
|
package/package.json
CHANGED