wayfind 2.0.15 → 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/README.md CHANGED
@@ -12,19 +12,34 @@
12
12
 
13
13
  ## Install
14
14
 
15
- ```bash
16
- npm install -g wayfind
17
- wayfind init
15
+ ### Claude Code plugin (recommended)
16
+
17
+ In a Claude Code session:
18
+
19
+ ```
20
+ /plugin marketplace add usewayfind/wayfind
21
+ /plugin install wayfind@usewayfind
18
22
  ```
19
23
 
20
- Then in a Claude Code session:
24
+ Then initialize a repo:
21
25
 
22
26
  ```
23
- /init-memory # Persistent context for this repo
27
+ /wayfind:init-memory
24
28
  ```
25
29
 
26
30
  Your AI sessions now resume where you left off instead of cold-starting.
27
31
 
32
+ ### npm CLI
33
+
34
+ The plugin includes the CLI, but you can also install it standalone:
35
+
36
+ ```bash
37
+ npm install -g wayfind
38
+ wayfind init
39
+ ```
40
+
41
+ The CLI is required for digest generation, Slack bot, signal connectors, and team management. The plugin handles session hooks and slash commands.
42
+
28
43
  ---
29
44
 
30
45
  ## What It Does
@@ -45,8 +60,8 @@ Your AI sessions now resume where you left off instead of cold-starting.
45
60
 
46
61
  Only the engineer installs anything. Everyone else sees a Slack digest.
47
62
 
48
- ```bash
49
- /init-team # Set up team context, journals, and digests
63
+ ```
64
+ /wayfind:init-team # Set up team context, journals, and digests
50
65
  ```
51
66
 
52
67
  ---
@@ -64,7 +79,8 @@ All context is plain markdown in directories you control:
64
79
  journal/YYYY-MM-DD.md # Daily decision log
65
80
 
66
81
  <repo>/.claude/
67
- state.md # Per-repo: branch, status, next steps
82
+ team-state.md # Shared team context (committed)
83
+ personal-state.md # Your context (gitignored)
68
84
  ```
69
85
 
70
86
  No proprietary formats. No vendor lock-in. `grep` works if Wayfind breaks.
@@ -99,11 +115,24 @@ wayfind pull --all # All configured channels
99
115
 
100
116
  ## Commands
101
117
 
118
+ ### Plugin skills (in Claude Code)
119
+
120
+ | Skill | Description |
121
+ |-------|-------------|
122
+ | `/wayfind:init-memory` | Initialize context for the current repo |
123
+ | `/wayfind:init-team` | Set up team context, journals, and digests |
124
+ | `/wayfind:doctor` | Check installation health |
125
+ | `/wayfind:standup` | Daily standup summary |
126
+ | `/wayfind:journal` | Weekly journal digest and drift detection |
127
+ | `/wayfind:review-prs` | Review overnight PRs |
128
+
129
+ ### CLI commands
130
+
102
131
  | Command | Description |
103
132
  |---------|-------------|
104
133
  | `wayfind init` | Install for your AI tool |
105
134
  | `wayfind doctor` | Check installation health |
106
- | `wayfind update` | Update to latest version |
135
+ | `wayfind update` | Update hooks and commands |
107
136
  | `wayfind status` | Cross-project status |
108
137
  | `wayfind team create` | Create a new team |
109
138
  | `wayfind team join` | Join an existing team |
@@ -116,6 +145,7 @@ wayfind pull --all # All configured channels
116
145
  | `wayfind journal sync` | Sync journals to team repo |
117
146
  | `wayfind onboard <repo>` | Generate onboarding context pack |
118
147
  | `wayfind deploy init` | Scaffold Docker deployment |
148
+ | `wayfind migrate-to-plugin` | Remove old hooks (after plugin install) |
119
149
 
120
150
  Run `wayfind help` for the full list.
121
151
 
@@ -148,7 +178,8 @@ Run `wayfind help` for the full list.
148
178
 
149
179
  | Tool | Status | Setup |
150
180
  |------|--------|-------|
151
- | Claude Code | Full support | `wayfind init` |
181
+ | Claude Code | Full support (plugin) | `/plugin marketplace add usewayfind/wayfind` |
182
+ | Claude Code | Full support (npm) | `wayfind init` |
152
183
  | Cursor | Session protocol | `wayfind init-cursor` |
153
184
  | Generic | Manual | See `specializations/generic/` |
154
185
 
@@ -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/', '.claude-plugin/', 'Dockerfile', 'package.json', 'setup.sh',
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/doctor.sh CHANGED
@@ -17,33 +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
- # Plugins live under ~/.claude/plugins/ — look for any marketplace that contains our plugin
23
- local PLUGINS_DIR="$HOME/.claude/plugins"
24
- if [ -d "$PLUGINS_DIR" ]; then
25
- # Check marketplaces (e.g. ~/.claude/plugins/marketplaces/usewayfind-wayfind/plugin/)
26
- if find "$PLUGINS_DIR" -path '*/wayfind/plugin/.claude-plugin/plugin.json' -print -quit 2>/dev/null | grep -q .; then
27
- return 0
28
- fi
29
- # Also check direct plugin installs
30
- if find "$PLUGINS_DIR" -name 'plugin.json' -exec grep -l '"name": "wayfind"' {} + 2>/dev/null | grep -q .; then
31
- return 0
32
- fi
33
- fi
34
- return 1
35
- }
36
-
37
20
  check_hook_registered() {
38
21
  echo ""
39
22
  echo "Hook registration"
40
-
41
- # If installed as a plugin, hooks are provided by the plugin — skip legacy checks
42
- if is_plugin_installed; then
43
- ok "Installed as Claude Code plugin (hooks provided by plugin)"
44
- return
45
- fi
46
-
47
23
  local SETTINGS="$HOME/.claude/settings.json"
48
24
  if [ ! -f "$SETTINGS" ]; then
49
25
  err "settings.json not found — hook is not registered"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wayfind",
3
- "version": "2.0.15",
3
+ "version": "2.0.19",
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.15",
3
+ "version": "2.0.14",
4
4
  "description": "Team decision trail for AI-assisted development. Session memory, decision journals, and team digests.",
5
5
  "author": {
6
6
  "name": "Wayfind",
@@ -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 | head -1)
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 &