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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wayfind",
3
- "version": "2.0.74",
3
+ "version": "2.0.75",
4
4
  "description": "Team decision trail for AI-assisted development. The connective tissue between product, engineering, and strategy.",
5
5
  "bin": {
6
6
  "wayfind": "./bin/team-context.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wayfind",
3
- "version": "2.0.74",
3
+ "version": "2.0.75",
4
4
  "description": "Team decision trail for AI-assisted development. Session memory, decision journals, and team digests.",
5
5
  "author": {
6
6
  "name": "Wayfind",
@@ -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
- LAST_RUN_FILE="${WAYFIND_DIR:-$HOME/.claude/team-context}/.last-reindex"
47
- SHOULD_REINDEX=true
48
-
49
- if [ -f "$LAST_RUN_FILE" ]; then
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
- LAST_RUN_FILE="${WAYFIND_DIR:-$HOME/.claude/team-context}/.last-reindex"
50
- SHOULD_REINDEX=true
51
-
52
- if [ -f "$LAST_RUN_FILE" ]; then
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)