wayfind 2.0.74 → 2.0.75
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.
package/bin/team-context.js
CHANGED
|
@@ -3698,6 +3698,7 @@ async function contextPull(args) {
|
|
|
3698
3698
|
} else if (result.error && result.error.code === 'ETIMEDOUT') {
|
|
3699
3699
|
log('[wayfind] Team-context pull timed out — using local state');
|
|
3700
3700
|
} else {
|
|
3701
|
+
log('[wayfind] Team-context pull failed — using local state');
|
|
3701
3702
|
const stderr = (result.stderr || '').toString().trim();
|
|
3702
3703
|
if (stderr && !quiet) {
|
|
3703
3704
|
console.error(`[wayfind] Team-context pull skipped: ${stderr.split('\n')[0]}`);
|
package/package.json
CHANGED
|
@@ -42,25 +42,12 @@ fi
|
|
|
42
42
|
|
|
43
43
|
# Solo mode: index last session's conversations now
|
|
44
44
|
# Teams rely on the container's scheduled reindex instead.
|
|
45
|
+
# wayfind reindex handles its own change detection — skips fast if nothing new.
|
|
45
46
|
if [ "$HAS_CONTAINER" = "false" ]; then
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
CHANGED=$(find "$HOME/.claude/projects" -name "*.jsonl" -newer "$LAST_RUN_FILE" -print -quit 2>/dev/null)
|
|
51
|
-
if [ -z "$CHANGED" ]; then
|
|
52
|
-
SHOULD_REINDEX=false
|
|
53
|
-
fi
|
|
54
|
-
fi
|
|
55
|
-
|
|
56
|
-
if [ "$SHOULD_REINDEX" = "true" ]; then
|
|
57
|
-
echo ""
|
|
58
|
-
echo " Indexing last session's conversations..."
|
|
59
|
-
echo ""
|
|
60
|
-
$WAYFIND reindex --conversations-only --export --write-stats 2>/dev/null || true
|
|
61
|
-
mkdir -p "${WAYFIND_DIR:-$HOME/.claude/team-context}"
|
|
62
|
-
touch "$LAST_RUN_FILE"
|
|
63
|
-
fi
|
|
47
|
+
echo ""
|
|
48
|
+
echo " Indexing last session's conversations..."
|
|
49
|
+
echo ""
|
|
50
|
+
$WAYFIND reindex --conversations-only --export --write-stats 2>/dev/null || true
|
|
64
51
|
fi
|
|
65
52
|
|
|
66
53
|
# Rebuild Active Projects index (writes to global-state.md)
|
|
@@ -45,25 +45,12 @@ fi
|
|
|
45
45
|
|
|
46
46
|
# Solo mode: index last session's conversations now
|
|
47
47
|
# Teams rely on the container's scheduled reindex instead.
|
|
48
|
+
# wayfind reindex handles its own change detection — skips fast if nothing new.
|
|
48
49
|
if [ "$HAS_CONTAINER" = "false" ]; then
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
CHANGED=$(find "$HOME/.claude/projects" -name "*.jsonl" -newer "$LAST_RUN_FILE" -print -quit 2>/dev/null)
|
|
54
|
-
if [ -z "$CHANGED" ]; then
|
|
55
|
-
SHOULD_REINDEX=false
|
|
56
|
-
fi
|
|
57
|
-
fi
|
|
58
|
-
|
|
59
|
-
if [ "$SHOULD_REINDEX" = "true" ]; then
|
|
60
|
-
echo ""
|
|
61
|
-
echo " Indexing last session's conversations..."
|
|
62
|
-
echo ""
|
|
63
|
-
$WAYFIND reindex --conversations-only --export --write-stats 2>/dev/null || true
|
|
64
|
-
mkdir -p "${WAYFIND_DIR:-$HOME/.claude/team-context}"
|
|
65
|
-
touch "$LAST_RUN_FILE"
|
|
66
|
-
fi
|
|
50
|
+
echo ""
|
|
51
|
+
echo " Indexing last session's conversations..."
|
|
52
|
+
echo ""
|
|
53
|
+
$WAYFIND reindex --conversations-only --export --write-stats 2>/dev/null || true
|
|
67
54
|
fi
|
|
68
55
|
|
|
69
56
|
# Rebuild Active Projects index (writes to global-state.md)
|