@nebulr-group/bridge-cli 0.6.0-beta.4 → 0.6.0-beta.6

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.
Files changed (32) hide show
  1. package/dist/commands/guide.command.d.ts +9 -0
  2. package/dist/commands/guide.command.d.ts.map +1 -1
  3. package/dist/commands/guide.command.js +39 -1
  4. package/dist/commands/guide.command.js.map +1 -1
  5. package/dist/commands/integration.command.d.ts +8 -0
  6. package/dist/commands/integration.command.d.ts.map +1 -1
  7. package/dist/commands/integration.command.js +92 -3
  8. package/dist/commands/integration.command.js.map +1 -1
  9. package/dist/commands/plan.command.d.ts +17 -0
  10. package/dist/commands/plan.command.d.ts.map +1 -1
  11. package/dist/commands/plan.command.js +94 -17
  12. package/dist/commands/plan.command.js.map +1 -1
  13. package/dist/commands/user.command.d.ts.map +1 -1
  14. package/dist/commands/user.command.js +21 -1
  15. package/dist/commands/user.command.js.map +1 -1
  16. package/dist/output.d.ts.map +1 -1
  17. package/dist/output.js +9 -0
  18. package/dist/output.js.map +1 -1
  19. package/dist/product-decisions.d.ts +40 -0
  20. package/dist/product-decisions.d.ts.map +1 -0
  21. package/dist/product-decisions.js +52 -0
  22. package/dist/product-decisions.js.map +1 -0
  23. package/dist/prompts/auth-master-integration-prompt.md +15 -0
  24. package/dist/prompts/billing/master.md +17 -1
  25. package/dist/prompts/decisions/going-live.md +2 -0
  26. package/dist/prompts/decisions/login.md +2 -0
  27. package/dist/prompts/decisions/look-and-feel.md +2 -0
  28. package/dist/prompts/decisions/payments.md +5 -1
  29. package/dist/prompts/decisions/teams.md +5 -1
  30. package/dist/prompts/mcp-tools.json +4 -3
  31. package/dist/prompts/product-decisions.json +338 -0
  32. package/package.json +1 -1
@@ -0,0 +1,338 @@
1
+ {
2
+ "_comment": [
3
+ "The product decisions Bridge tools and commands never make for the developer (TBP-713).",
4
+ "\"ask\": refused with DECISION_NEEDED, naming the question, and nothing changes. \"only-when-given\": never set unless passed.",
5
+ "Source: PRODUCT_DECISIONS in bridge-api, microservices/account/nebulr-api/mcp/tools/product-decisions.ts.",
6
+ "Generated, never edited by hand: in bridge-api run `bun scripts/generate-product-decisions-json.ts > <bridge-cli>/bridge-cli/prompts/product-decisions.json` (in the bridge-api container). guide-currency.spec.ts fails when the two disagree."
7
+ ],
8
+ "source": "bridge-api feature/mcp-journey ecfa0a2",
9
+ "decisions": [
10
+ {
11
+ "tool": "create_plan",
12
+ "cli": "bridge plan create",
13
+ "field": "amount",
14
+ "guide": "payments",
15
+ "enforcement": "ask",
16
+ "question": "What does this plan cost per billing period? (0 for a free or contact-sales plan)",
17
+ "type": "number"
18
+ },
19
+ {
20
+ "tool": "create_plan",
21
+ "cli": "bridge plan create",
22
+ "field": "interval",
23
+ "guide": "payments",
24
+ "enforcement": "ask",
25
+ "question": "Is it billed monthly, yearly, weekly or daily?",
26
+ "type": "enum",
27
+ "options": [
28
+ "day",
29
+ "week",
30
+ "month",
31
+ "year"
32
+ ]
33
+ },
34
+ {
35
+ "tool": "create_plan",
36
+ "cli": "bridge plan create",
37
+ "field": "currency",
38
+ "guide": "payments",
39
+ "enforcement": "ask",
40
+ "question": "In which currency is it charged? (ISO code, e.g. USD, EUR, SEK)",
41
+ "type": "string"
42
+ },
43
+ {
44
+ "tool": "create_plan",
45
+ "cli": "bridge plan create",
46
+ "field": "trial",
47
+ "guide": "payments",
48
+ "enforcement": "ask",
49
+ "question": "Is there a free trial on this plan?",
50
+ "type": "boolean"
51
+ },
52
+ {
53
+ "tool": "create_plan",
54
+ "cli": "bridge plan create",
55
+ "field": "trialDays",
56
+ "guide": "payments",
57
+ "enforcement": "ask",
58
+ "question": "How many days does the free trial last?",
59
+ "type": "number"
60
+ },
61
+ {
62
+ "tool": "apply_plan",
63
+ "cli": "bridge plan apply",
64
+ "field": "name",
65
+ "guide": "payments",
66
+ "enforcement": "ask",
67
+ "question": "What is this plan called?",
68
+ "type": "string"
69
+ },
70
+ {
71
+ "tool": "apply_plan",
72
+ "cli": "bridge plan apply",
73
+ "field": "prices.amount",
74
+ "guide": "payments",
75
+ "enforcement": "ask",
76
+ "question": "What does this plan cost per billing period? (0 for a free or contact-sales plan)",
77
+ "type": "number"
78
+ },
79
+ {
80
+ "tool": "apply_plan",
81
+ "cli": "bridge plan apply",
82
+ "field": "prices.interval",
83
+ "guide": "payments",
84
+ "enforcement": "ask",
85
+ "question": "Is it billed monthly, yearly, weekly or daily?",
86
+ "type": "enum",
87
+ "options": [
88
+ "day",
89
+ "week",
90
+ "month",
91
+ "year"
92
+ ]
93
+ },
94
+ {
95
+ "tool": "apply_plan",
96
+ "cli": "bridge plan apply",
97
+ "field": "prices.currency",
98
+ "guide": "payments",
99
+ "enforcement": "ask",
100
+ "question": "In which currency is it charged? (ISO code, e.g. USD, EUR, SEK)",
101
+ "type": "string"
102
+ },
103
+ {
104
+ "tool": "apply_plan",
105
+ "cli": "bridge plan apply",
106
+ "field": "trial",
107
+ "guide": "payments",
108
+ "enforcement": "ask",
109
+ "question": "Is there a free trial on this plan?",
110
+ "type": "boolean"
111
+ },
112
+ {
113
+ "tool": "apply_plan",
114
+ "cli": "bridge plan apply",
115
+ "field": "trialDays",
116
+ "guide": "payments",
117
+ "enforcement": "ask",
118
+ "question": "How many days does the free trial last?",
119
+ "type": "number"
120
+ },
121
+ {
122
+ "tool": "set_plan_price",
123
+ "cli": "bridge plan price set",
124
+ "field": "currency",
125
+ "guide": "payments",
126
+ "enforcement": "ask",
127
+ "question": "In which currency is it charged? (ISO code, e.g. USD, EUR, SEK)",
128
+ "type": "string"
129
+ },
130
+ {
131
+ "tool": "update_app",
132
+ "cli": "bridge app update",
133
+ "field": "paymentsAutoRedirect",
134
+ "guide": "payments",
135
+ "enforcement": "only-when-given",
136
+ "question": "Must a new customer pick a plan before they can use the app?",
137
+ "type": "boolean"
138
+ },
139
+ {
140
+ "tool": "invite_user",
141
+ "cli": "bridge user invite",
142
+ "field": "role",
143
+ "guide": "teams",
144
+ "enforcement": "ask",
145
+ "question": "Which role should this person get? (a role key; the app default is often Owner, rarely the right answer)",
146
+ "type": "string"
147
+ },
148
+ {
149
+ "tool": "update_app",
150
+ "cli": "bridge app update",
151
+ "field": "tenantSelfSignup",
152
+ "guide": "teams",
153
+ "enforcement": "only-when-given",
154
+ "question": "Can anyone sign up and get a workspace of their own, or only people who are invited?",
155
+ "type": "boolean"
156
+ },
157
+ {
158
+ "tool": "update_auth_methods",
159
+ "cli": "bridge app update",
160
+ "field": "mfaEnabled",
161
+ "guide": "login",
162
+ "enforcement": "only-when-given",
163
+ "question": "Should two-factor sign-in be available?",
164
+ "type": "boolean"
165
+ },
166
+ {
167
+ "tool": "update_auth_methods",
168
+ "cli": "bridge app update",
169
+ "field": "passkeysEnabled",
170
+ "guide": "login",
171
+ "enforcement": "only-when-given",
172
+ "question": "Should people be able to sign in with a passkey?",
173
+ "type": "boolean"
174
+ },
175
+ {
176
+ "tool": "update_auth_methods",
177
+ "cli": "bridge app update",
178
+ "field": "magicLinkEnabled",
179
+ "guide": "login",
180
+ "enforcement": "only-when-given",
181
+ "question": "Should people be able to sign in with an emailed link?",
182
+ "type": "boolean"
183
+ },
184
+ {
185
+ "tool": "update_auth_methods",
186
+ "cli": "bridge app update",
187
+ "field": "googleSsoEnabled",
188
+ "guide": "login",
189
+ "enforcement": "only-when-given",
190
+ "question": "Should people be able to sign in with Google?",
191
+ "type": "boolean"
192
+ },
193
+ {
194
+ "tool": "update_auth_methods",
195
+ "cli": "bridge app update",
196
+ "field": "linkedinSsoEnabled",
197
+ "guide": "login",
198
+ "enforcement": "only-when-given",
199
+ "question": "Should people be able to sign in with LinkedIn?",
200
+ "type": "boolean"
201
+ },
202
+ {
203
+ "tool": "update_auth_methods",
204
+ "cli": "bridge app update",
205
+ "field": "azureAdSsoEnabled",
206
+ "guide": "login",
207
+ "enforcement": "only-when-given",
208
+ "question": "Should people be able to sign in with Microsoft (Azure AD)?",
209
+ "type": "boolean"
210
+ },
211
+ {
212
+ "tool": "update_auth_methods",
213
+ "cli": "bridge app update",
214
+ "field": "appleSsoEnabled",
215
+ "guide": "login",
216
+ "enforcement": "only-when-given",
217
+ "question": "Should people be able to sign in with Apple?",
218
+ "type": "boolean"
219
+ },
220
+ {
221
+ "tool": "update_auth_methods",
222
+ "cli": "bridge app update",
223
+ "field": "githubSsoEnabled",
224
+ "guide": "login",
225
+ "enforcement": "only-when-given",
226
+ "question": "Should people be able to sign in with GitHub?",
227
+ "type": "boolean"
228
+ },
229
+ {
230
+ "tool": "update_auth_methods",
231
+ "cli": "bridge app update",
232
+ "field": "facebookSsoEnabled",
233
+ "guide": "login",
234
+ "enforcement": "only-when-given",
235
+ "question": "Should people be able to sign in with Facebook?",
236
+ "type": "boolean"
237
+ },
238
+ {
239
+ "tool": "update_branding",
240
+ "cli": "bridge branding update",
241
+ "field": "bgColor",
242
+ "guide": "look-and-feel",
243
+ "enforcement": "only-when-given",
244
+ "question": "Which page background colour?",
245
+ "type": "string"
246
+ },
247
+ {
248
+ "tool": "update_branding",
249
+ "cli": "bridge branding update",
250
+ "field": "textColor",
251
+ "guide": "look-and-feel",
252
+ "enforcement": "only-when-given",
253
+ "question": "Which text colour?",
254
+ "type": "string"
255
+ },
256
+ {
257
+ "tool": "update_branding",
258
+ "cli": "bridge branding update",
259
+ "field": "linkColor",
260
+ "guide": "look-and-feel",
261
+ "enforcement": "only-when-given",
262
+ "question": "Which link colour?",
263
+ "type": "string"
264
+ },
265
+ {
266
+ "tool": "update_branding",
267
+ "cli": "bridge branding update",
268
+ "field": "primaryButtonBgColor",
269
+ "guide": "look-and-feel",
270
+ "enforcement": "only-when-given",
271
+ "question": "Which colour for the main button?",
272
+ "type": "string"
273
+ },
274
+ {
275
+ "tool": "update_branding",
276
+ "cli": "bridge branding update",
277
+ "field": "primaryButtonTextColor",
278
+ "guide": "look-and-feel",
279
+ "enforcement": "only-when-given",
280
+ "question": "Which text colour on the main button?",
281
+ "type": "string"
282
+ },
283
+ {
284
+ "tool": "update_branding",
285
+ "cli": "bridge branding update",
286
+ "field": "fontFamily",
287
+ "guide": "look-and-feel",
288
+ "enforcement": "only-when-given",
289
+ "question": "Which font?",
290
+ "type": "string"
291
+ },
292
+ {
293
+ "tool": "update_branding",
294
+ "cli": "bridge branding update",
295
+ "field": "borderRadius",
296
+ "guide": "look-and-feel",
297
+ "enforcement": "only-when-given",
298
+ "question": "How rounded should corners be?",
299
+ "type": "string"
300
+ },
301
+ {
302
+ "tool": "update_app",
303
+ "cli": "bridge app update",
304
+ "field": "uiUrl",
305
+ "guide": "going-live",
306
+ "enforcement": "only-when-given",
307
+ "question": "What is the production address of the frontend?",
308
+ "type": "string"
309
+ },
310
+ {
311
+ "tool": "update_app",
312
+ "cli": "bridge app update",
313
+ "field": "defaultCallbackUri",
314
+ "guide": "going-live",
315
+ "enforcement": "only-when-given",
316
+ "question": "Which production address should sign-in return to?",
317
+ "type": "string"
318
+ },
319
+ {
320
+ "tool": "setup_communication",
321
+ "cli": "bridge setup communication",
322
+ "field": "fromAddress",
323
+ "guide": "going-live",
324
+ "enforcement": "only-when-given",
325
+ "question": "Which address should emails come from?",
326
+ "type": "string"
327
+ },
328
+ {
329
+ "tool": "setup_communication",
330
+ "cli": "bridge setup communication",
331
+ "field": "fromName",
332
+ "guide": "going-live",
333
+ "enforcement": "only-when-given",
334
+ "question": "Which sender name should emails show?",
335
+ "type": "string"
336
+ }
337
+ ]
338
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nebulr-group/bridge-cli",
3
- "version": "0.6.0-beta.4",
3
+ "version": "0.6.0-beta.6",
4
4
  "description": "Bridge platform CLI for AI coding agents and developers",
5
5
  "author": "Nebulr Group",
6
6
  "license": "MIT",