wayfind 0.0.1 → 2.0.1
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 +120 -0
- package/bin/connectors/github.js +617 -0
- package/bin/connectors/index.js +13 -0
- package/bin/connectors/intercom.js +595 -0
- package/bin/connectors/llm.js +469 -0
- package/bin/connectors/notion.js +747 -0
- package/bin/connectors/transport.js +325 -0
- package/bin/content-store.js +2006 -0
- package/bin/digest.js +813 -0
- package/bin/rebuild-status.js +297 -0
- package/bin/slack-bot.js +1535 -0
- package/bin/slack.js +342 -0
- package/bin/storage/index.js +171 -0
- package/bin/storage/json-backend.js +348 -0
- package/bin/storage/sqlite-backend.js +415 -0
- package/bin/team-context.js +4209 -0
- package/bin/telemetry.js +159 -0
- package/doctor.sh +291 -0
- package/install.sh +144 -0
- package/journal-summary.sh +577 -0
- package/package.json +48 -6
- package/setup.sh +641 -0
- package/specializations/claude-code/CLAUDE.md-global-fragment.md +53 -0
- package/specializations/claude-code/CLAUDE.md-repo-fragment.md +16 -0
- package/specializations/claude-code/README.md +99 -0
- package/specializations/claude-code/commands/doctor.md +31 -0
- package/specializations/claude-code/commands/init-memory.md +154 -0
- package/specializations/claude-code/commands/init-team.md +415 -0
- package/specializations/claude-code/commands/journal.md +66 -0
- package/specializations/claude-code/commands/review-prs.md +119 -0
- package/specializations/claude-code/hooks/check-global-state.sh +20 -0
- package/specializations/claude-code/hooks/session-end.sh +36 -0
- package/specializations/claude-code/settings.json +15 -0
- package/specializations/cursor/README.md +120 -0
- package/specializations/cursor/global-rule.mdc +53 -0
- package/specializations/cursor/repo-rule.mdc +25 -0
- package/specializations/generic/README.md +47 -0
- package/templates/autopilot/design.md +22 -0
- package/templates/autopilot/engineering.md +22 -0
- package/templates/autopilot/product.md +22 -0
- package/templates/autopilot/strategy.md +22 -0
- package/templates/autopilot/unified.md +24 -0
- package/templates/deploy/.env.example +110 -0
- package/templates/deploy/docker-compose.yml +63 -0
- package/templates/deploy/slack-app-manifest.json +45 -0
- package/templates/github-actions/wayfind-digest.yml +85 -0
- package/templates/global.md +79 -0
- package/templates/memory-file.md +18 -0
- package/templates/personal-state.md +14 -0
- package/templates/personas.json +28 -0
- package/templates/product-state.md +41 -0
- package/templates/prompts-readme.md +19 -0
- package/templates/repo-state.md +18 -0
- package/templates/session-protocol-fragment.md +46 -0
- package/templates/slack-app-manifest.json +27 -0
- package/templates/statusline.sh +22 -0
- package/templates/strategy-state.md +39 -0
- package/templates/team-state.md +55 -0
- package/uninstall.sh +105 -0
- package/README.md +0 -4
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
# Bootstrap Prompt
|
|
2
|
+
|
|
3
|
+
Copy and paste the block below into a new Claude Code session. That's it.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
Please set up Wayfind for my Claude Code environment.
|
|
9
|
+
|
|
10
|
+
Run these commands:
|
|
11
|
+
npm install -g wayfind
|
|
12
|
+
wayfind init
|
|
13
|
+
|
|
14
|
+
Once it completes:
|
|
15
|
+
1. Tell me what was installed and what still needs to be configured
|
|
16
|
+
2. Run /init-memory to initialize memory for the current repo
|
|
17
|
+
3. Ask me what my preferences are (communication style, tool preferences, commit
|
|
18
|
+
conventions, anything I want Claude to always know) so we can fill in
|
|
19
|
+
global-state.md together
|
|
20
|
+
4. Ask me if I want to set up backup (see below) — I will need to provide a
|
|
21
|
+
private GitHub repo URL before you can proceed with that step
|
|
22
|
+
5. Run `wayfind whoami --setup` so I can provide my Slack user ID (used for @mentions and DMs)
|
|
23
|
+
6. Ask me if I want to set up team context (/init-team) for shared journals,
|
|
24
|
+
digests, and product state
|
|
25
|
+
7. Let me know about opt-in telemetry (set TEAM_CONTEXT_TELEMETRY=true to enable)
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## What happens
|
|
31
|
+
|
|
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`
|
|
38
|
+
|
|
39
|
+
After the paste, Claude will walk you through filling in your preferences. From
|
|
40
|
+
then on, every session in every repo will start with full context of where you
|
|
41
|
+
left off. You don't need to do anything special — just open Claude Code and
|
|
42
|
+
start working. Claude reads the state files automatically.
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Setting up backup (recommended)
|
|
47
|
+
|
|
48
|
+
Your memory files live locally at `~/.claude/`. If you want them backed up and
|
|
49
|
+
synced across machines, you need to provide a **private GitHub repo**.
|
|
50
|
+
|
|
51
|
+
**You must create this repo yourself** — Claude cannot do it for you.
|
|
52
|
+
|
|
53
|
+
Steps:
|
|
54
|
+
1. Go to github.com/new
|
|
55
|
+
2. Create a **private** repo (name it anything — e.g. `claude-memory`)
|
|
56
|
+
3. Copy the repo URL (SSH preferred: `git@github.com:you/claude-memory.git`)
|
|
57
|
+
4. Tell Claude: *"Set up backup using <your-repo-url>"*
|
|
58
|
+
|
|
59
|
+
Claude will then run:
|
|
60
|
+
```
|
|
61
|
+
bash ~/.claude/team-context/backup/setup.sh <your-repo-url>
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
This will:
|
|
65
|
+
- Clone your backup repo to `~/.claude-backup/`
|
|
66
|
+
- Do an initial sync of your memory files
|
|
67
|
+
- Install hooks that automatically restore at session start and push at session end
|
|
68
|
+
|
|
69
|
+
After that, your memory is backed up silently on every session — no manual steps.
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## Setting up team context (optional)
|
|
74
|
+
|
|
75
|
+
Once you have the basics working, run `/init-team` in a Claude Code session to set up:
|
|
76
|
+
- A shared team context repo for journals and digests
|
|
77
|
+
- Slack integration for weekly digest posts
|
|
78
|
+
- Notion integration for browseable product state and digest archives
|
|
79
|
+
- Product state for your pilot repo (PM intent, success criteria, constraints)
|
|
80
|
+
|
|
81
|
+
This is the team-level layer — it turns individual session context into shared
|
|
82
|
+
visibility across product, engineering, and strategy.
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## Per-repo initialization
|
|
87
|
+
|
|
88
|
+
In any repo you work in, run:
|
|
89
|
+
```
|
|
90
|
+
/init-memory
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
Claude will create `.claude/team-state.md` (shared) and `.claude/personal-state.md`
|
|
94
|
+
(gitignored), fix your `.gitignore`, and register the repo in your global index.
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## For Cursor users
|
|
99
|
+
|
|
100
|
+
```
|
|
101
|
+
npm install -g wayfind
|
|
102
|
+
wayfind init-cursor
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## Source
|
|
108
|
+
|
|
109
|
+
https://github.com/usewayfind/wayfind
|
|
110
|
+
|
|
111
|
+
To install a specific version:
|
|
112
|
+
```
|
|
113
|
+
npm install -g wayfind@1.1.0
|
|
114
|
+
wayfind init
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Or via the shell installer with a pinned version:
|
|
118
|
+
```
|
|
119
|
+
WAYFIND_VERSION=v1.1.0 bash <(curl -fsSL https://raw.githubusercontent.com/usewayfind/wayfind/main/install.sh)
|
|
120
|
+
```
|