@rayburst/cc 3.0.3 → 3.1.0

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.
@@ -8,17 +8,11 @@ user-invocable: true
8
8
 
9
9
  # rb:init — Project Config Setup
10
10
 
11
- Initialize `.claude/rb-config.md` with API connection details, project URL, board selection, and user credentials. Other `rb:` skills read this file automatically.
12
-
13
- ## Prerequisites
14
-
15
- The `RAYBURST_API_KEY` environment variable must be set before the plugin's MCP server can connect. If not set, guide the user to set it.
11
+ Initialize `.claude/rb-config.md` with API connection details, project URL, board selection, and user credentials. The plugin's MCP server and hooks read this file automatically.
16
12
 
17
13
  ## MCP Tool Prefix
18
14
 
19
- All MCP tools in this skill use the prefix: `mcp__plugin_rayburst_rayburst__`
20
-
21
- Example: `mcp__plugin_rayburst_rayburst__rb_ping`
15
+ All MCP tools use: `mcp__plugin_rayburst_rayburst__`
22
16
 
23
17
  ---
24
18
 
@@ -56,24 +50,44 @@ Ask the user for their Rayburst API key:
56
50
  ```
57
51
  Rayburst API Key
58
52
  Enter your API key (starts with rb_user_...):
59
- Get one at https://www.rayburst.app/settings/api-keys
53
+ Get one at https://www.rayburst.app/profile?tab=mcp-agents
60
54
  ```
61
55
 
62
56
  Validate: non-empty, starts with `rb_`. Store as `api_key`.
63
57
 
64
- Then verify the connection works:
58
+ ---
59
+
60
+ ### Step 3: Write Minimal Config & Verify
61
+
62
+ **Before continuing with other prompts**, write a minimal config file so the MCP server can connect:
63
+
64
+ ```bash
65
+ mkdir -p .claude
66
+ ```
67
+
68
+ Write `.claude/rb-config.md` with just the API section:
69
+
70
+ ```markdown
71
+ # Rayburst Project Config
72
+
73
+ ## API
74
+ - API Key: <api_key>
75
+ - API URL: https://api.rayburst.app/api/v1/mcp
76
+ ```
77
+
78
+ Now verify the connection works:
65
79
 
66
80
  ```
67
81
  mcp__plugin_rayburst_rayburst__rb_ping()
68
82
  ```
69
83
 
70
- **If ping fails**, tell the user the key may be invalid or the API is unreachable. Ask them to double-check and re-enter.
84
+ **If ping fails**, the key may be invalid or the API unreachable. Ask the user to double-check and re-enter. Re-write the config and retry.
71
85
 
72
- > **Note:** The API key is stored in `.claude/rb-config.md`. If the user prefers, they can set `RAYBURST_API_KEY` as an env var instead — the env var takes priority over the config file.
86
+ **If ping succeeds**, continue to Step 4.
73
87
 
74
88
  ---
75
89
 
76
- ### Step 3: Prompt for Project URL
90
+ ### Step 4: Prompt for Project URL
77
91
 
78
92
  Ask the user:
79
93
 
@@ -88,7 +102,7 @@ Store as `project_url`.
88
102
 
89
103
  ---
90
104
 
91
- ### Step 4: Select Board
105
+ ### Step 5: Select Board
92
106
 
93
107
  List available boards:
94
108
 
@@ -110,44 +124,54 @@ Store the selected `board_id` and `board_slug`.
110
124
 
111
125
  ---
112
126
 
113
- ### Step 5: Identify Projects
127
+ ### Step 6: Select Projects
114
128
 
115
- Ask the user which projects this workspace maps to. Show any projects associated with the selected board if available, or ask:
129
+ List available projects in the organization:
116
130
 
117
131
  ```
118
- Project IDs
119
- Enter the frontend project ID (or press Enter to skip):
120
- Enter the backend project ID (or press Enter to skip):
132
+ mcp__plugin_rayburst_rayburst__rb_list_projects()
133
+ ```
134
+
135
+ Display them numbered and let the user pick one or more:
136
+
137
+ ```
138
+ Available projects:
139
+ 1. Rayburst Frontend (231165df-...) — local
140
+ 2. Rayburst API (7805dae1-...) — github
141
+ 3. Marketing Site (a1b2c3d4-...) — manual
142
+
143
+ Select project(s) for this workspace (comma-separated numbers, or Enter to skip):
144
+ e.g. 1,2
121
145
  ```
122
146
 
123
- Store as `frontend_project_id` and `backend_project_id`.
147
+ Store selected project IDs and names as `projects` list. If only one is selected, store it. If multiple, store all.
124
148
 
125
149
  ---
126
150
 
127
- ### Step 6: Collect Users (loop)
151
+ ### Step 7: Collect Users (loop)
128
152
 
129
153
  Initialize an empty `users` list.
130
154
 
131
155
  **For each user, ask in sequence:**
132
156
 
133
- **6a. Username / email**
157
+ **7a. Username / email**
134
158
  ```
135
159
  User <N> — Username or email:
136
160
  ```
137
161
 
138
- **6b. Password or env var**
162
+ **7b. Password or env var**
139
163
  ```
140
164
  User <N> — Password (or $ENV_VAR_NAME to reference an env variable):
141
165
  ```
142
166
 
143
167
  If input starts with `$`, store as-is. Otherwise store literal.
144
168
 
145
- **6c. Description**
169
+ **7c. Description**
146
170
  ```
147
171
  User <N> — Description (e.g. Admin, Viewer, Editor) [User <N>]:
148
172
  ```
149
173
 
150
- **6d. Add another user?**
174
+ **7d. Add another user?**
151
175
  ```
152
176
  Add another user? (yes / no) [no]:
153
177
  ```
@@ -156,9 +180,9 @@ At minimum one user required.
156
180
 
157
181
  ---
158
182
 
159
- ### Step 7: Preview & Write
183
+ ### Step 8: Write Full Config
160
184
 
161
- Show formatted preview, then write `.claude/rb-config.md`:
185
+ Write the complete `.claude/rb-config.md` (overwriting the minimal one from Step 3):
162
186
 
163
187
  ```markdown
164
188
  # Rayburst Project Config
@@ -175,8 +199,8 @@ Show formatted preview, then write `.claude/rb-config.md`:
175
199
  - Slug: <board_slug>
176
200
 
177
201
  ## Projects
178
- - Frontend: <frontend_project_id>
179
- - Backend: <backend_project_id>
202
+ - <project_name_1>: <project_id_1>
203
+ - <project_name_2>: <project_id_2>
180
204
 
181
205
  ## Users
182
206
 
@@ -190,21 +214,19 @@ Show formatted preview, then write `.claude/rb-config.md`:
190
214
 
191
215
  ---
192
216
 
193
- ### Step 8: Confirmation Summary
217
+ ### Step 9: Confirmation Summary
194
218
 
195
219
  ```
196
220
  Config saved to .claude/rb-config.md
197
221
 
222
+ API Key : <first 12 chars>...
198
223
  Project URL : <project_url>
199
224
  Board : <board_slug> (<board_id>)
200
- Projects : Frontend: <id>, Backend: <id>
225
+ Projects : <N> project(s) selected
201
226
  Users : <N> user(s) configured
202
227
 
203
- Next steps:
204
- /rb:status — Show feature atlas and board status
205
- /rb:plan <task> — Plan a feature with board card
206
- /rb:sync <task> — Sync a task to the feature atlas
207
- /rb:implement <cardId> — Implement a board card
228
+ Rayburst is now active. On your next session, Claude will automatically
229
+ have your feature atlas and board context. No commands needed — just code.
208
230
  ```
209
231
 
210
232
  ---
@@ -215,3 +237,4 @@ Next steps:
215
237
  - **At least one user required**
216
238
  - **URL must start with `http://` or `https://`**
217
239
  - **`.claude/` directory must exist** — create with `mkdir -p .claude` before writing
240
+ - **Write minimal config before pinging** — the MCP server reads from rb-config.md, not env vars