wayfind 2.0.14 → 2.0.15
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
|
@@ -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/', '.claude-plugin/', 'Dockerfile', 'package.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,9 +17,33 @@ 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
|
+
|
|
20
37
|
check_hook_registered() {
|
|
21
38
|
echo ""
|
|
22
39
|
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
|
+
|
|
23
47
|
local SETTINGS="$HOME/.claude/settings.json"
|
|
24
48
|
if [ ! -f "$SETTINGS" ]; then
|
|
25
49
|
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.
|
|
3
|
+
"version": "2.0.15",
|
|
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"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"files": [
|
|
29
29
|
"bin/",
|
|
30
30
|
"plugin/",
|
|
31
|
-
"
|
|
31
|
+
".claude-plugin/",
|
|
32
32
|
"setup.sh",
|
|
33
33
|
"install.sh",
|
|
34
34
|
"uninstall.sh",
|
|
File without changes
|