@ak--47/dungeon-master 1.3.0 → 1.3.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.
Files changed (74) hide show
  1. package/dungeons/technical/array-of-object-lookup.js +0 -2
  2. package/dungeons/technical/simple.js +3 -4
  3. package/dungeons/technical/simplest-schema.json +5 -0
  4. package/dungeons/technical/text-generation.js +1 -1
  5. package/dungeons/vertical/ai-platform.js +192 -133
  6. package/dungeons/vertical/community.js +64 -34
  7. package/dungeons/vertical/crypto.js +333 -224
  8. package/dungeons/vertical/dating.js +228 -282
  9. package/dungeons/vertical/devtools.js +164 -62
  10. package/dungeons/vertical/ecommerce.js +240 -91
  11. package/dungeons/vertical/education.js +328 -310
  12. package/dungeons/vertical/fintech.js +437 -311
  13. package/dungeons/vertical/fitness.js +141 -58
  14. package/dungeons/vertical/food-delivery.js +298 -318
  15. package/dungeons/vertical/gaming.js +378 -231
  16. package/dungeons/vertical/healthcare.js +140 -60
  17. package/dungeons/vertical/insurance-application.js +168 -73
  18. package/dungeons/vertical/logistics.js +95 -6
  19. package/dungeons/vertical/marketplace.js +137 -51
  20. package/dungeons/vertical/media.js +241 -386
  21. package/dungeons/vertical/real-estate.js +322 -315
  22. package/dungeons/vertical/sass.js +253 -263
  23. package/dungeons/vertical/social.js +262 -206
  24. package/dungeons/vertical/travel.js +59 -16
  25. package/index.js +17 -17
  26. package/lib/core/config-validator.js +93 -21
  27. package/lib/core/context.js +10 -24
  28. package/lib/core/storage.js +6 -1
  29. package/lib/generators/events.js +11 -14
  30. package/lib/generators/funnels.js +12 -4
  31. package/lib/generators/mirror.js +3 -2
  32. package/lib/generators/product-names.js +1 -1
  33. package/lib/generators/scd.js +2 -1
  34. package/lib/generators/text.js +1 -1
  35. package/lib/orchestrators/user-loop.js +47 -47
  36. package/lib/utils/utils.js +71 -39
  37. package/package.json +1 -1
  38. package/scripts/smoke-test-all.mjs +162 -0
  39. package/scripts/verify-runner.mjs +72 -24
  40. package/types.d.ts +38 -15
  41. package/dungeons/technical/ad-spend-schema.json +0 -128
  42. package/dungeons/technical/anonymous-users-schema.json +0 -92
  43. package/dungeons/technical/array-of-object-lookup-schema.json +0 -191
  44. package/dungeons/technical/experiments-schema.json +0 -203
  45. package/dungeons/technical/foobar-schema.json +0 -362
  46. package/dungeons/technical/group-analytics-schema.json +0 -241
  47. package/dungeons/technical/mirror-strategies-schema.json +0 -84
  48. package/dungeons/technical/nested-objects-schema.json +0 -145
  49. package/dungeons/technical/retention-cadence-schema.json +0 -37
  50. package/dungeons/technical/sanity-schema.json +0 -185
  51. package/dungeons/technical/scale-test-schema.json +0 -70
  52. package/dungeons/technical/scd-schema.json +0 -467
  53. package/dungeons/technical/simple-schema.json +0 -362
  54. package/dungeons/technical/text-generation-schema.json +0 -1062
  55. package/dungeons/vertical/ai-platform-schema.json +0 -617
  56. package/dungeons/vertical/community-schema.json +0 -579
  57. package/dungeons/vertical/crypto-schema.json +0 -546
  58. package/dungeons/vertical/dating-schema.json +0 -401
  59. package/dungeons/vertical/devtools-schema.json +0 -601
  60. package/dungeons/vertical/ecommerce-schema.json +0 -604
  61. package/dungeons/vertical/education-schema.json +0 -5686
  62. package/dungeons/vertical/fintech-schema.json +0 -630
  63. package/dungeons/vertical/fitness-schema.json +0 -530
  64. package/dungeons/vertical/food-delivery-schema.json +0 -36728
  65. package/dungeons/vertical/gaming-schema.json +0 -2703
  66. package/dungeons/vertical/healthcare-schema.json +0 -549
  67. package/dungeons/vertical/insurance-application-schema.json +0 -485
  68. package/dungeons/vertical/logistics-schema.json +0 -574
  69. package/dungeons/vertical/marketplace-schema.json +0 -533
  70. package/dungeons/vertical/media-schema.json +0 -4749
  71. package/dungeons/vertical/real-estate-schema.json +0 -527
  72. package/dungeons/vertical/sass-schema.json +0 -3128
  73. package/dungeons/vertical/social-schema.json +0 -620
  74. package/dungeons/vertical/travel-schema.json +0 -580
@@ -1,574 +0,0 @@
1
- {
2
- "events": [
3
- {
4
- "event": "account created",
5
- "isFirstEvent": true,
6
- "properties": {
7
- "referral_source": [
8
- "organic",
9
- "partner_referral",
10
- "google_search",
11
- "trade_show",
12
- "linkedin"
13
- ]
14
- }
15
- },
16
- {
17
- "event": "inventory checked",
18
- "weight": 8,
19
- "properties": {
20
- "warehouse_id": {
21
- "$type": "string"
22
- },
23
- "sku_category": [
24
- "electronics",
25
- "apparel",
26
- "food_beverage",
27
- "pharma",
28
- "raw_materials",
29
- "packaging",
30
- "automotive_parts"
31
- ],
32
- "stock_level": {
33
- "$range": [
34
- 787,
35
- 4417
36
- ]
37
- },
38
- "reorder_point": {
39
- "$range": [
40
- 84,
41
- 399
42
- ]
43
- },
44
- "reorder_method": [
45
- "manual"
46
- ]
47
- }
48
- },
49
- {
50
- "event": "stockout alert",
51
- "weight": 5,
52
- "properties": {
53
- "warehouse_id": {
54
- "$type": "string"
55
- },
56
- "sku_category": [
57
- "electronics",
58
- "apparel",
59
- "food_beverage",
60
- "pharma",
61
- "raw_materials",
62
- "packaging"
63
- ],
64
- "items_affected": [
65
- 12,
66
- 31,
67
- 41,
68
- 35,
69
- 19
70
- ],
71
- "severity": [
72
- "low",
73
- "medium",
74
- "high",
75
- "critical"
76
- ],
77
- "response_time_hours": [
78
- 15,
79
- 33,
80
- 18,
81
- 34
82
- ]
83
- }
84
- },
85
- {
86
- "event": "purchase order created",
87
- "weight": 5,
88
- "properties": {
89
- "supplier_id": {
90
- "$type": "string"
91
- },
92
- "sku_category": [
93
- "electronics",
94
- "apparel",
95
- "food_beverage",
96
- "pharma",
97
- "raw_materials",
98
- "packaging",
99
- "automotive_parts"
100
- ],
101
- "quantity": {
102
- "$range": [
103
- 940,
104
- 4110
105
- ]
106
- },
107
- "unit_cost": {
108
- "$range": [
109
- 44,
110
- 164
111
- ]
112
- },
113
- "priority": [
114
- "standard",
115
- "expedited",
116
- "urgent"
117
- ],
118
- "estimated_delivery_days": [
119
- 10,
120
- 25,
121
- 9,
122
- 13,
123
- 8,
124
- 22
125
- ]
126
- }
127
- },
128
- {
129
- "event": "order received",
130
- "weight": 4,
131
- "properties": {
132
- "warehouse_id": {
133
- "$type": "string"
134
- },
135
- "supplier_id": {
136
- "$type": "string"
137
- },
138
- "quantity_received": {
139
- "$range": [
140
- 855,
141
- 4023
142
- ]
143
- },
144
- "quantity_damaged": {
145
- "$range": [
146
- 4,
147
- 16
148
- ]
149
- },
150
- "receiving_time_hours": [
151
- 6,
152
- 3
153
- ]
154
- }
155
- },
156
- {
157
- "event": "shipment tracked",
158
- "weight": 6,
159
- "properties": {
160
- "carrier": [
161
- "fedex",
162
- "ups",
163
- "dhl",
164
- "usps",
165
- "freight_line",
166
- "regional_courier"
167
- ],
168
- "shipment_status": [
169
- "in_transit",
170
- "delivered",
171
- "delayed",
172
- "exception"
173
- ],
174
- "origin_warehouse": {
175
- "$type": "string"
176
- },
177
- "estimated_days": [
178
- 5,
179
- 4
180
- ],
181
- "weight_kg": {
182
- "$range": [
183
- 323,
184
- 1668
185
- ]
186
- }
187
- }
188
- },
189
- {
190
- "event": "supplier contacted",
191
- "weight": 3,
192
- "properties": {
193
- "supplier_id": {
194
- "$type": "string"
195
- },
196
- "contact_reason": [
197
- "price_negotiation",
198
- "order_status",
199
- "quality_issue",
200
- "new_product",
201
- "contract_renewal",
202
- "returns"
203
- ],
204
- "contact_method": [
205
- "email",
206
- "phone",
207
- "portal"
208
- ],
209
- "supplier_access": [
210
- "email_only"
211
- ]
212
- }
213
- },
214
- {
215
- "event": "integration connected",
216
- "weight": 2,
217
- "properties": {
218
- "integration_type": [
219
- "erp",
220
- "accounting",
221
- "shipping",
222
- "ecommerce",
223
- "crm",
224
- "bi_tool"
225
- ],
226
- "integration_name": [
227
- "SAP",
228
- "QuickBooks",
229
- "ShipStation",
230
- "Shopify",
231
- "Salesforce",
232
- "NetSuite",
233
- "Xero"
234
- ],
235
- "setup_time_minutes": {
236
- "$range": [
237
- 27,
238
- 94
239
- ]
240
- }
241
- }
242
- },
243
- {
244
- "event": "report generated",
245
- "weight": 4,
246
- "properties": {
247
- "report_type": [
248
- "inventory_summary",
249
- "order_history",
250
- "supplier_performance",
251
- "cost_analysis",
252
- "forecast",
253
- "compliance"
254
- ],
255
- "report_pages": {
256
- "$range": [
257
- 7,
258
- 38
259
- ]
260
- },
261
- "export_format": [
262
- "pdf",
263
- "csv",
264
- "xlsx"
265
- ],
266
- "time_range_days": [
267
- 7,
268
- 14,
269
- 30,
270
- 90
271
- ]
272
- }
273
- },
274
- {
275
- "event": "alert configured",
276
- "weight": 2,
277
- "properties": {
278
- "alert_type": [
279
- "low_stock",
280
- "delivery_delay",
281
- "price_change",
282
- "quality_threshold",
283
- "expiry_warning"
284
- ],
285
- "threshold_value": {
286
- "$range": [
287
- 63,
288
- 419
289
- ]
290
- },
291
- "notification_channel": [
292
- "email",
293
- "sms",
294
- "push",
295
- "slack"
296
- ]
297
- }
298
- },
299
- {
300
- "event": "warehouse transfer",
301
- "weight": 3,
302
- "properties": {
303
- "from_warehouse": {
304
- "$type": "string"
305
- },
306
- "to_warehouse": {
307
- "$type": "string"
308
- },
309
- "sku_category": [
310
- "electronics",
311
- "apparel",
312
- "food_beverage",
313
- "pharma",
314
- "raw_materials"
315
- ],
316
- "transfer_quantity": {
317
- "$range": [
318
- 136,
319
- 850
320
- ]
321
- },
322
- "transfer_reason": [
323
- "rebalance",
324
- "demand_shift",
325
- "consolidation",
326
- "overflow",
327
- "seasonal"
328
- ]
329
- }
330
- },
331
- {
332
- "event": "quality inspection",
333
- "weight": 2,
334
- "properties": {
335
- "warehouse_id": {
336
- "$type": "string"
337
- },
338
- "inspection_result": [
339
- "pass",
340
- "minor_issue",
341
- "major_issue",
342
- "fail"
343
- ],
344
- "items_inspected": {
345
- "$range": [
346
- 100,
347
- 429
348
- ]
349
- },
350
- "defect_rate_pct": [
351
- 3,
352
- 4
353
- ]
354
- }
355
- },
356
- {
357
- "event": "invoice processed",
358
- "weight": 3,
359
- "properties": {
360
- "supplier_id": {
361
- "$type": "string"
362
- },
363
- "invoice_amount": {
364
- "$range": [
365
- 7161,
366
- 41928
367
- ]
368
- },
369
- "payment_terms": [
370
- "net_30",
371
- "net_60",
372
- "net_15",
373
- "on_receipt"
374
- ],
375
- "payment_status": [
376
- "paid",
377
- "pending",
378
- "overdue"
379
- ]
380
- }
381
- },
382
- {
383
- "event": "notification received",
384
- "weight": 6,
385
- "properties": {
386
- "notification_type": [
387
- "low_stock_alert",
388
- "delivery_update",
389
- "order_confirmation",
390
- "invoice_due",
391
- "system_update"
392
- ],
393
- "channel": [
394
- "email",
395
- "push",
396
- "sms"
397
- ],
398
- "opened": [
399
- true,
400
- false
401
- ]
402
- }
403
- },
404
- {
405
- "event": "support ticket",
406
- "properties": {
407
- "category": [
408
- "billing",
409
- "technical",
410
- "integration",
411
- "data_import",
412
- "feature_request",
413
- "training"
414
- ],
415
- "priority": [
416
- "low",
417
- "medium",
418
- "high"
419
- ],
420
- "resolution_hours": {
421
- "$range": [
422
- 12,
423
- 57
424
- ]
425
- }
426
- }
427
- },
428
- {
429
- "event": "app session",
430
- "weight": 7,
431
- "properties": {
432
- "session_duration_sec": {
433
- "$range": [
434
- 549,
435
- 3057
436
- ]
437
- },
438
- "pages_viewed": [
439
- 6,
440
- 9,
441
- 10,
442
- 12,
443
- 15
444
- ]
445
- }
446
- },
447
- {
448
- "event": "account deactivated",
449
- "isChurnEvent": true,
450
- "returnLikelihood": 0.1,
451
- "isStrictEvent": true,
452
- "properties": {
453
- "reason": [
454
- "too_expensive",
455
- "switched_competitor",
456
- "business_closed",
457
- "missing_features",
458
- "poor_support"
459
- ]
460
- }
461
- }
462
- ],
463
- "funnels": [
464
- {
465
- "sequence": [
466
- "account created",
467
- "inventory checked",
468
- "integration connected",
469
- "report generated"
470
- ],
471
- "name": "Onboarding",
472
- "isFirstFunnel": true,
473
- "conversionRate": 40,
474
- "timeToConvert": 72,
475
- "weight": 3
476
- },
477
- {
478
- "sequence": [
479
- "inventory checked",
480
- "purchase order created",
481
- "order received",
482
- "shipment tracked"
483
- ],
484
- "name": "Order Fulfillment",
485
- "conversionRate": 35,
486
- "timeToConvert": 168,
487
- "weight": 5
488
- },
489
- {
490
- "sequence": [
491
- "supplier contacted",
492
- "purchase order created",
493
- "invoice processed"
494
- ],
495
- "name": "Supplier Management",
496
- "conversionRate": 45,
497
- "timeToConvert": 336,
498
- "weight": 3
499
- },
500
- {
501
- "sequence": [
502
- "integration connected",
503
- "report generated",
504
- "alert configured"
505
- ],
506
- "name": "Integration Setup",
507
- "conversionRate": 30,
508
- "timeToConvert": 48,
509
- "weight": 2
510
- },
511
- {
512
- "sequence": [
513
- "stockout alert",
514
- "purchase order created",
515
- "order received"
516
- ],
517
- "name": "Alert Response",
518
- "conversionRate": 50,
519
- "timeToConvert": 120,
520
- "weight": 3
521
- }
522
- ],
523
- "superProps": {
524
- "Platform": [
525
- "web",
526
- "desktop_app"
527
- ],
528
- "subscription_plan": [
529
- "free_trial",
530
- "starter",
531
- "professional",
532
- "enterprise"
533
- ]
534
- },
535
- "userProps": {
536
- "company_tier": [
537
- "small_business"
538
- ],
539
- "warehouse_count": [
540
- 8,
541
- 3
542
- ],
543
- "employee_count": {
544
- "$range": [
545
- 94,
546
- 385
547
- ]
548
- },
549
- "industry": [
550
- "retail",
551
- "manufacturing",
552
- "food_beverage",
553
- "pharma",
554
- "electronics"
555
- ],
556
- "integration_count": [
557
- 0
558
- ]
559
- },
560
- "scdProps": {
561
- "company_tier": {
562
- "type": "user",
563
- "frequency": "month",
564
- "timing": "fuzzy",
565
- "max": 6,
566
- "values": [
567
- "trial",
568
- "starter",
569
- "professional",
570
- "enterprise"
571
- ]
572
- }
573
- }
574
- }