@ak--47/dungeon-master 1.2.3 → 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 (89) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +51 -13
  3. package/dungeons/technical/ad-spend.js +2 -2
  4. package/dungeons/technical/anonymous-users.js +2 -2
  5. package/dungeons/technical/array-of-object-lookup.js +2 -4
  6. package/dungeons/technical/experiments.js +2 -2
  7. package/dungeons/technical/foobar.js +2 -2
  8. package/dungeons/technical/group-analytics.js +2 -2
  9. package/dungeons/technical/mirror-strategies.js +2 -2
  10. package/dungeons/technical/nested-objects.js +2 -2
  11. package/dungeons/technical/retention-cadence.js +2 -3
  12. package/dungeons/technical/sanity.js +2 -2
  13. package/dungeons/technical/scale-test.js +2 -2
  14. package/dungeons/technical/scd.js +2 -2
  15. package/dungeons/technical/simple.js +5 -6
  16. package/dungeons/technical/simplest-schema.json +5 -0
  17. package/dungeons/technical/simplest.js +2 -2
  18. package/dungeons/technical/text-generation.js +3 -3
  19. package/dungeons/vertical/ai-platform.js +858 -0
  20. package/dungeons/vertical/community.js +84 -40
  21. package/dungeons/vertical/crypto.js +830 -0
  22. package/dungeons/vertical/dating.js +744 -0
  23. package/dungeons/vertical/devtools.js +175 -69
  24. package/dungeons/vertical/ecommerce.js +242 -94
  25. package/dungeons/vertical/education.js +330 -313
  26. package/dungeons/vertical/fintech.js +442 -313
  27. package/dungeons/vertical/fitness.js +143 -61
  28. package/dungeons/vertical/food-delivery.js +327 -353
  29. package/dungeons/vertical/gaming.js +912 -382
  30. package/dungeons/vertical/healthcare.js +142 -63
  31. package/dungeons/vertical/insurance-application.js +170 -76
  32. package/dungeons/vertical/logistics.js +115 -20
  33. package/dungeons/vertical/marketplace.js +152 -58
  34. package/dungeons/vertical/media.js +248 -384
  35. package/dungeons/vertical/real-estate.js +781 -0
  36. package/dungeons/vertical/sass.js +255 -266
  37. package/dungeons/vertical/social.js +264 -206
  38. package/dungeons/vertical/travel.js +117 -41
  39. package/index.js +17 -17
  40. package/lib/core/config-validator.js +159 -31
  41. package/lib/core/context.js +10 -24
  42. package/lib/core/storage.js +6 -1
  43. package/lib/generators/events.js +11 -14
  44. package/lib/generators/funnels.js +12 -4
  45. package/lib/generators/mirror.js +3 -2
  46. package/lib/generators/product-names.js +1 -1
  47. package/lib/generators/scd.js +2 -1
  48. package/lib/generators/text.js +1 -1
  49. package/lib/orchestrators/user-loop.js +81 -47
  50. package/lib/templates/macro-presets.js +111 -0
  51. package/lib/templates/soup-presets.js +19 -36
  52. package/lib/utils/utils.js +71 -39
  53. package/package.json +8 -2
  54. package/scripts/smoke-test-all.mjs +162 -0
  55. package/scripts/verify-runner.mjs +72 -24
  56. package/types.d.ts +251 -51
  57. package/dungeons/technical/ad-spend-schema.json +0 -128
  58. package/dungeons/technical/anonymous-users-schema.json +0 -92
  59. package/dungeons/technical/array-of-object-lookup-schema.json +0 -191
  60. package/dungeons/technical/experiments-schema.json +0 -203
  61. package/dungeons/technical/foobar-schema.json +0 -362
  62. package/dungeons/technical/group-analytics-schema.json +0 -241
  63. package/dungeons/technical/mirror-strategies-schema.json +0 -84
  64. package/dungeons/technical/nested-objects-schema.json +0 -145
  65. package/dungeons/technical/retention-cadence-schema.json +0 -37
  66. package/dungeons/technical/sanity-schema.json +0 -185
  67. package/dungeons/technical/scale-test-schema.json +0 -70
  68. package/dungeons/technical/scd-schema.json +0 -467
  69. package/dungeons/technical/simple-schema.json +0 -362
  70. package/dungeons/technical/text-generation-schema.json +0 -1062
  71. package/dungeons/user/.gitkeep +0 -0
  72. package/dungeons/vertical/community-schema.json +0 -579
  73. package/dungeons/vertical/devtools-schema.json +0 -601
  74. package/dungeons/vertical/ecommerce-schema.json +0 -604
  75. package/dungeons/vertical/education-schema.json +0 -5686
  76. package/dungeons/vertical/fintech-schema.json +0 -630
  77. package/dungeons/vertical/fitness-schema.json +0 -530
  78. package/dungeons/vertical/food-delivery-schema.json +0 -36728
  79. package/dungeons/vertical/gaming-schema.json +0 -438
  80. package/dungeons/vertical/healthcare-schema.json +0 -549
  81. package/dungeons/vertical/insurance-application-schema.json +0 -485
  82. package/dungeons/vertical/logistics-schema.json +0 -574
  83. package/dungeons/vertical/marketplace-schema.json +0 -533
  84. package/dungeons/vertical/media-schema.json +0 -4749
  85. package/dungeons/vertical/rpg-schema.json +0 -2491
  86. package/dungeons/vertical/rpg.js +0 -976
  87. package/dungeons/vertical/sass-schema.json +0 -3128
  88. package/dungeons/vertical/social-schema.json +0 -620
  89. 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
- }