wayfind 2.0.46 → 2.0.47

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.
@@ -1,6 +1,6 @@
1
1
  #!/bin/bash
2
2
  # Daily memory systems comparison report — posts to Slack via bot token.
3
- # Add to crontab: 43 8 * * * /home/greg/repos/greg/wayfind/bin/memory-report.sh
3
+ # Add to crontab: 43 8 * * * $(which wayfind | xargs dirname)/memory-report.sh
4
4
  #
5
5
  # Runs on host (needs access to ~/.claude/projects for auto-memory).
6
6
  # Pulls SLACK_BOT_TOKEN from the wayfind container if not set locally.
package/doctor.sh CHANGED
@@ -275,9 +275,7 @@ check_team_context_freshness() {
275
275
 
276
276
  # Find team-context path via wayfind CLI
277
277
  local TEAM_PATH=""
278
- if [ -f "$HOME/repos/greg/wayfind/bin/team-context.js" ]; then
279
- TEAM_PATH=$(node "$HOME/repos/greg/wayfind/bin/team-context.js" context show 2>/dev/null | grep 'Path:' | head -1 | sed 's/.*Path: *//' || true)
280
- elif command -v wayfind >/dev/null 2>&1; then
278
+ if command -v wayfind >/dev/null 2>&1; then
281
279
  TEAM_PATH=$(wayfind context show 2>/dev/null | grep 'Path:' | head -1 | sed 's/.*Path: *//' || true)
282
280
  fi
283
281
 
@@ -337,9 +335,7 @@ check_team_versions() {
337
335
 
338
336
  # Check min_version from check-version command output
339
337
  local CHECK_OUTPUT=""
340
- if [ -f "$HOME/repos/greg/wayfind/bin/team-context.js" ]; then
341
- CHECK_OUTPUT=$(node "$HOME/repos/greg/wayfind/bin/team-context.js" check-version 2>&1 || true)
342
- elif command -v wayfind >/dev/null 2>&1; then
338
+ if command -v wayfind >/dev/null 2>&1; then
343
339
  CHECK_OUTPUT=$(wayfind check-version 2>&1 || true)
344
340
  fi
345
341
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wayfind",
3
- "version": "2.0.46",
3
+ "version": "2.0.47",
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",
@@ -19,7 +19,6 @@ fi
19
19
  WAYFIND="$(command -v wayfind 2>/dev/null || echo "")"
20
20
  if [ -z "$WAYFIND" ]; then
21
21
  for candidate in \
22
- "$HOME/repos/greg/wayfind/bin/team-context.js" \
23
22
  "$HOME/repos/wayfind/bin/team-context.js"; do
24
23
  if [ -f "$candidate" ]; then
25
24
  WAYFIND="node $candidate"
@@ -10,7 +10,6 @@ WAYFIND="$(command -v wayfind 2>/dev/null || echo "")"
10
10
  if [ -z "$WAYFIND" ]; then
11
11
  # Try common local checkout paths
12
12
  for candidate in \
13
- "$HOME/repos/greg/wayfind/bin/team-context.js" \
14
13
  "$HOME/repos/wayfind/bin/team-context.js"; do
15
14
  if [ -f "$candidate" ]; then
16
15
  WAYFIND="node $candidate"
@@ -32,14 +32,14 @@ bash ~/.claude/team-context/journal-summary.sh --dir ~/.ai-memory/memory/journal
32
32
 
33
33
  ## Step 2: If journal-summary.sh is not installed
34
34
 
35
- Run setup.sh with `--update` to install it:
35
+ Run `wayfind update` to install it:
36
36
  ```bash
37
- bash ~/repos/greg/wayfind/setup.sh --tool claude-code --update
37
+ wayfind update
38
38
  ```
39
39
 
40
- Or install manually:
40
+ Or install manually from the npm package:
41
41
  ```bash
42
- cp ~/repos/greg/wayfind/journal-summary.sh ~/.claude/team-context/journal-summary.sh
42
+ cp "$(npm root -g)/wayfind/journal-summary.sh" ~/.claude/team-context/journal-summary.sh
43
43
  chmod +x ~/.claude/team-context/journal-summary.sh
44
44
  ```
45
45
 
@@ -10,15 +10,9 @@ Show a daily standup summary from journals and state files.
10
10
 
11
11
  ```bash
12
12
  # Current repo only (default)
13
- node ~/repos/greg/wayfind/bin/team-context.js standup
13
+ wayfind standup
14
14
 
15
15
  # All repos
16
- node ~/repos/greg/wayfind/bin/team-context.js standup --all
17
- ```
18
-
19
- If the local checkout isn't available:
20
- ```bash
21
- wayfind standup
22
16
  wayfind standup --all
23
17
  ```
24
18
 
@@ -9,12 +9,8 @@
9
9
 
10
10
  set -euo pipefail
11
11
 
12
- # Use local wayfind checkout if available, otherwise try npx
13
- WAYFIND_BIN="$HOME/repos/greg/wayfind/bin/team-context.js"
14
- if [ -f "$WAYFIND_BIN" ]; then
15
- node "$WAYFIND_BIN" status --write --quiet 2>/dev/null || true
16
- node "$WAYFIND_BIN" check-version 2>/dev/null || true
17
- elif command -v wayfind >/dev/null 2>&1; then
12
+ # Use installed wayfind CLI
13
+ if command -v wayfind >/dev/null 2>&1; then
18
14
  wayfind status --write --quiet 2>/dev/null || true
19
15
  wayfind check-version 2>/dev/null || true
20
16
  fi