wayfind 2.0.16 → 2.0.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.
- package/BOOTSTRAP_PROMPT.md +15 -22
- package/bin/team-context.js +1 -1
- package/bin/telemetry.js +1 -1
- package/doctor.sh +0 -28
- package/package.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/scripts/session-end.sh +1 -1
package/BOOTSTRAP_PROMPT.md
CHANGED
|
@@ -7,39 +7,34 @@ Copy and paste the block below into a new Claude Code session. That's it.
|
|
|
7
7
|
```
|
|
8
8
|
Please set up Wayfind for my Claude Code environment.
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
Run these commands:
|
|
11
11
|
npm install -g wayfind
|
|
12
12
|
wayfind init
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
/plugin marketplace add usewayfind/wayfind
|
|
16
|
-
/plugin install wayfind@usewayfind
|
|
17
|
-
|
|
18
|
-
Once both steps complete:
|
|
14
|
+
Once it completes:
|
|
19
15
|
1. Tell me what was installed and what still needs to be configured
|
|
20
|
-
2. Run /
|
|
16
|
+
2. Run /init-memory to initialize memory for the current repo
|
|
21
17
|
3. Ask me what my preferences are (communication style, tool preferences, commit
|
|
22
18
|
conventions, anything I want Claude to always know) so we can fill in
|
|
23
19
|
global-state.md together
|
|
24
20
|
4. Ask me if I want to set up backup (see below) — I will need to provide a
|
|
25
21
|
private GitHub repo URL before you can proceed with that step
|
|
26
22
|
5. Run `wayfind whoami --setup` so I can provide my Slack user ID (used for @mentions and DMs)
|
|
27
|
-
6. Ask me if I want to set up team context (/
|
|
23
|
+
6. Ask me if I want to set up team context (/init-team) for shared journals,
|
|
28
24
|
digests, and product state
|
|
29
|
-
7. Let me know
|
|
25
|
+
7. Let me know about opt-in telemetry (set TEAM_CONTEXT_TELEMETRY=true to enable)
|
|
30
26
|
```
|
|
31
27
|
|
|
32
28
|
---
|
|
33
29
|
|
|
34
30
|
## What happens
|
|
35
31
|
|
|
36
|
-
The
|
|
37
|
-
- `~/.claude/memory/` and `~/.claude/memory/journal/`
|
|
38
|
-
- `~/.claude/global-state.md` (your persistent index)
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
-
|
|
42
|
-
- Slash commands: `/wayfind:init-memory`, `/wayfind:init-team`, `/wayfind:journal`, `/wayfind:doctor`, `/wayfind:standup`
|
|
32
|
+
The install command will:
|
|
33
|
+
- Create `~/.claude/memory/` and `~/.claude/memory/journal/`
|
|
34
|
+
- Install `~/.claude/global-state.md` (your persistent index)
|
|
35
|
+
- Install `~/.claude/hooks/check-global-state.sh` (warns when state is stale)
|
|
36
|
+
- Install slash commands: `/init-memory`, `/init-team`, `/journal`, `/doctor`
|
|
37
|
+
- Register the hook in `~/.claude/settings.json`
|
|
43
38
|
|
|
44
39
|
After the paste, Claude will walk you through filling in your preferences. From
|
|
45
40
|
then on, every session in every repo will start with full context of where you
|
|
@@ -77,7 +72,7 @@ After that, your memory is backed up silently on every session — no manual ste
|
|
|
77
72
|
|
|
78
73
|
## Setting up team context (optional)
|
|
79
74
|
|
|
80
|
-
Once you have the basics working, run `/
|
|
75
|
+
Once you have the basics working, run `/init-team` in a Claude Code session to set up:
|
|
81
76
|
- A shared team context repo for journals and digests
|
|
82
77
|
- Slack integration for weekly digest posts
|
|
83
78
|
- Notion integration for browseable product state and digest archives
|
|
@@ -92,7 +87,7 @@ visibility across product, engineering, and strategy.
|
|
|
92
87
|
|
|
93
88
|
In any repo you work in, run:
|
|
94
89
|
```
|
|
95
|
-
/
|
|
90
|
+
/init-memory
|
|
96
91
|
```
|
|
97
92
|
|
|
98
93
|
Claude will create `.claude/team-state.md` (shared) and `.claude/personal-state.md`
|
|
@@ -107,8 +102,6 @@ npm install -g wayfind
|
|
|
107
102
|
wayfind init-cursor
|
|
108
103
|
```
|
|
109
104
|
|
|
110
|
-
(The Claude Code plugin is not available for Cursor — use the CLI-only setup.)
|
|
111
|
-
|
|
112
105
|
---
|
|
113
106
|
|
|
114
107
|
## Source
|
|
@@ -117,11 +110,11 @@ https://github.com/usewayfind/wayfind
|
|
|
117
110
|
|
|
118
111
|
To install a specific version:
|
|
119
112
|
```
|
|
120
|
-
npm install -g wayfind@
|
|
113
|
+
npm install -g wayfind@1.1.0
|
|
121
114
|
wayfind init
|
|
122
115
|
```
|
|
123
116
|
|
|
124
117
|
Or via the shell installer with a pinned version:
|
|
125
118
|
```
|
|
126
|
-
WAYFIND_VERSION=
|
|
119
|
+
WAYFIND_VERSION=v1.1.0 bash <(curl -fsSL https://raw.githubusercontent.com/usewayfind/wayfind/main/install.sh)
|
|
127
120
|
```
|
package/bin/team-context.js
CHANGED
|
@@ -4448,7 +4448,7 @@ const COMMANDS = {
|
|
|
4448
4448
|
// Files and directories to sync
|
|
4449
4449
|
const syncItems = [
|
|
4450
4450
|
'bin/', 'templates/', 'specializations/', 'plugin/', 'tests/', 'simulation/',
|
|
4451
|
-
'backup/', '.github/', '
|
|
4451
|
+
'backup/', '.github/', 'Dockerfile', 'package.json', 'marketplace.json', 'setup.sh',
|
|
4452
4452
|
'install.sh', 'uninstall.sh', 'doctor.sh', 'journal-summary.sh',
|
|
4453
4453
|
'BOOTSTRAP_PROMPT.md', '.gitattributes', '.gitignore', 'VERSIONS.md',
|
|
4454
4454
|
];
|
package/bin/telemetry.js
CHANGED
|
@@ -12,7 +12,7 @@ let enabled = false;
|
|
|
12
12
|
function init() {
|
|
13
13
|
if (client !== null) return; // already initialized (or disabled)
|
|
14
14
|
|
|
15
|
-
enabled = (process.env.TEAM_CONTEXT_TELEMETRY || '').toLowerCase()
|
|
15
|
+
enabled = (process.env.TEAM_CONTEXT_TELEMETRY || '').toLowerCase() === 'true';
|
|
16
16
|
if (!enabled) {
|
|
17
17
|
client = false; // marker: checked but disabled
|
|
18
18
|
return;
|
package/doctor.sh
CHANGED
|
@@ -17,37 +17,9 @@ info() { echo " $1"; }
|
|
|
17
17
|
|
|
18
18
|
ISSUES=0
|
|
19
19
|
|
|
20
|
-
is_plugin_installed() {
|
|
21
|
-
# Check if wayfind is installed as a Claude Code plugin
|
|
22
|
-
# Method 1: Check enabledPlugins in settings.json (authoritative — what Claude Code reads)
|
|
23
|
-
local SETTINGS="$HOME/.claude/settings.json"
|
|
24
|
-
if [ -f "$SETTINGS" ] && grep -q '"wayfind@' "$SETTINGS" 2>/dev/null; then
|
|
25
|
-
return 0
|
|
26
|
-
fi
|
|
27
|
-
|
|
28
|
-
# Method 2: Check plugin files on disk
|
|
29
|
-
local PLUGINS_DIR="$HOME/.claude/plugins"
|
|
30
|
-
if [ -d "$PLUGINS_DIR" ]; then
|
|
31
|
-
if find "$PLUGINS_DIR" -path '*/wayfind/plugin/.claude-plugin/plugin.json' -print -quit 2>/dev/null | grep -q .; then
|
|
32
|
-
return 0
|
|
33
|
-
fi
|
|
34
|
-
if find "$PLUGINS_DIR" -name 'plugin.json' -exec grep -l '"name": "wayfind"' {} + 2>/dev/null | grep -q .; then
|
|
35
|
-
return 0
|
|
36
|
-
fi
|
|
37
|
-
fi
|
|
38
|
-
return 1
|
|
39
|
-
}
|
|
40
|
-
|
|
41
20
|
check_hook_registered() {
|
|
42
21
|
echo ""
|
|
43
22
|
echo "Hook registration"
|
|
44
|
-
|
|
45
|
-
# If installed as a plugin, hooks are provided by the plugin — skip legacy checks
|
|
46
|
-
if is_plugin_installed; then
|
|
47
|
-
ok "Installed as Claude Code plugin (hooks provided by plugin)"
|
|
48
|
-
return
|
|
49
|
-
fi
|
|
50
|
-
|
|
51
23
|
local SETTINGS="$HOME/.claude/settings.json"
|
|
52
24
|
if [ ! -f "$SETTINGS" ]; then
|
|
53
25
|
err "settings.json not found — hook is not registered"
|
package/package.json
CHANGED
|
@@ -36,7 +36,7 @@ fi
|
|
|
36
36
|
# ── Fast path: skip reindex if no conversation files changed ──────────────────
|
|
37
37
|
LAST_RUN_FILE="$HOME/.claude/team-context/.last-reindex"
|
|
38
38
|
if [ -f "$LAST_RUN_FILE" ]; then
|
|
39
|
-
CHANGED=$(find "$HOME/.claude/projects" -name "*.jsonl" -newer "$LAST_RUN_FILE" 2>/dev/null
|
|
39
|
+
CHANGED=$(find "$HOME/.claude/projects" -name "*.jsonl" -newer "$LAST_RUN_FILE" -print -quit 2>/dev/null)
|
|
40
40
|
if [ -z "$CHANGED" ]; then
|
|
41
41
|
# No conversation files changed — skip expensive reindex, just sync journals
|
|
42
42
|
$WAYFIND journal sync 2>/dev/null &
|