@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,128 +0,0 @@
1
- {
2
- "events": [
3
- {
4
- "event": "sign up",
5
- "isFirstEvent": true,
6
- "properties": {
7
- "method": [
8
- "email",
9
- "google",
10
- "facebook",
11
- "github"
12
- ]
13
- }
14
- },
15
- {
16
- "event": "page view",
17
- "weight": 10,
18
- "properties": {
19
- "page": [
20
- "/",
21
- "/pricing",
22
- "/features",
23
- "/docs",
24
- "/blog",
25
- "/signup"
26
- ]
27
- }
28
- },
29
- {
30
- "event": "purchase",
31
- "weight": 2,
32
- "properties": {
33
- "amount": {
34
- "$range": [
35
- 108,
36
- 392
37
- ]
38
- },
39
- "currency": [
40
- "USD",
41
- "EUR",
42
- "GBP"
43
- ],
44
- "item_count": {
45
- "$range": [
46
- 2,
47
- 7
48
- ]
49
- }
50
- }
51
- },
52
- {
53
- "event": "ad click",
54
- "weight": 6,
55
- "properties": {
56
- "partner": [
57
- "google",
58
- "facebook",
59
- "linkedin",
60
- "twitter",
61
- "bing",
62
- "tiktok"
63
- ],
64
- "ad_format": [
65
- "banner",
66
- "video",
67
- "carousel",
68
- "native",
69
- "search"
70
- ],
71
- "placement": [
72
- "feed",
73
- "sidebar",
74
- "header",
75
- "interstitial"
76
- ]
77
- }
78
- },
79
- {
80
- "event": "search",
81
- "weight": 5,
82
- "properties": {
83
- "query_length": {
84
- "$range": [
85
- 3,
86
- 28
87
- ]
88
- },
89
- "results_count": {
90
- "$range": [
91
- 21,
92
- 79
93
- ]
94
- }
95
- }
96
- },
97
- {
98
- "event": "share",
99
- "weight": 3,
100
- "properties": {
101
- "platform": [
102
- "twitter",
103
- "facebook",
104
- "linkedin",
105
- "email"
106
- ],
107
- "content_type": [
108
- "product",
109
- "page",
110
- "deal"
111
- ]
112
- }
113
- }
114
- ],
115
- "userProps": {
116
- "plan": [
117
- "free",
118
- "starter",
119
- "pro",
120
- "enterprise"
121
- ],
122
- "signup_source": [
123
- "organic",
124
- "paid",
125
- "referral"
126
- ]
127
- }
128
- }
@@ -1,92 +0,0 @@
1
- {
2
- "events": [
3
- {
4
- "event": "page view",
5
- "weight": 10,
6
- "properties": {
7
- "page": [
8
- "/",
9
- "/features",
10
- "/pricing",
11
- "/docs",
12
- "/blog"
13
- ],
14
- "referrer": [
15
- "direct",
16
- "google",
17
- "twitter",
18
- "linkedin"
19
- ]
20
- }
21
- },
22
- {
23
- "event": "signup",
24
- "isFirstEvent": true,
25
- "properties": {
26
- "method": [
27
- "email",
28
- "google",
29
- "github",
30
- "sso"
31
- ]
32
- }
33
- },
34
- {
35
- "event": "feature used",
36
- "weight": 7,
37
- "properties": {
38
- "feature": [
39
- "dashboard",
40
- "reports",
41
- "settings",
42
- "export",
43
- "import",
44
- "search"
45
- ]
46
- }
47
- },
48
- {
49
- "event": "purchase",
50
- "weight": 2,
51
- "properties": {
52
- "amount": {
53
- "$range": [
54
- 114,
55
- 397
56
- ]
57
- },
58
- "plan": [
59
- "monthly",
60
- "annual"
61
- ]
62
- }
63
- },
64
- {
65
- "event": "button click",
66
- "weight": 8,
67
- "properties": {
68
- "button": [
69
- "cta",
70
- "nav",
71
- "menu",
72
- "submit",
73
- "cancel",
74
- "back"
75
- ],
76
- "location": [
77
- "header",
78
- "body",
79
- "footer",
80
- "sidebar"
81
- ]
82
- }
83
- }
84
- ],
85
- "userProps": {
86
- "plan": [
87
- "free",
88
- "pro",
89
- "enterprise"
90
- ]
91
- }
92
- }
@@ -1,191 +0,0 @@
1
- {
2
- "events": [
3
- {
4
- "event": "checkout",
5
- "weight": 2,
6
- "properties": {
7
- "currency": [
8
- "USD",
9
- "CAD",
10
- "EUR",
11
- "BTC",
12
- "ETH",
13
- "JPY"
14
- ],
15
- "coupon": [
16
- "none",
17
- "10%OFF",
18
- "20%OFF",
19
- "30%OFF",
20
- "40%OFF",
21
- "50%OFF"
22
- ],
23
- "cart": {
24
- "$type": "object[]",
25
- "$keys": [
26
- "product_id",
27
- "product_url"
28
- ]
29
- },
30
- "discount_applied": [
31
- false
32
- ],
33
- "discount_percent": [
34
- 0
35
- ],
36
- "user_segment": [
37
- "regular"
38
- ]
39
- }
40
- },
41
- {
42
- "event": "add to cart",
43
- "weight": 4,
44
- "properties": {
45
- "item": {
46
- "$type": "object[]",
47
- "$keys": [
48
- "product_id",
49
- "product_url"
50
- ]
51
- },
52
- "user_segment": [
53
- "regular"
54
- ]
55
- }
56
- },
57
- {
58
- "event": "view item",
59
- "weight": 8,
60
- "properties": {
61
- "item": {
62
- "$type": "object[]",
63
- "$keys": [
64
- "product_id",
65
- "product_url"
66
- ]
67
- },
68
- "user_segment": [
69
- "regular"
70
- ]
71
- }
72
- },
73
- {
74
- "event": "save item",
75
- "weight": 5,
76
- "properties": {
77
- "item": {
78
- "$type": "object[]",
79
- "$keys": [
80
- "product_id",
81
- "product_url"
82
- ]
83
- },
84
- "save_context": [
85
- "weekday_intent"
86
- ],
87
- "user_segment": [
88
- "regular"
89
- ]
90
- }
91
- }
92
- ],
93
- "superProps": {
94
- "theme": [
95
- "light",
96
- "dark",
97
- "custom"
98
- ]
99
- },
100
- "userProps": {
101
- "spiritAnimal": [
102
- "duck",
103
- "dog",
104
- "otter",
105
- "penguin",
106
- "cat",
107
- "elephant",
108
- "lion",
109
- "cheetah",
110
- "giraffe",
111
- "zebra",
112
- "rhino",
113
- "hippo",
114
- "whale",
115
- "dolphin",
116
- "shark",
117
- "octopus",
118
- "squid",
119
- "jellyfish",
120
- "starfish",
121
- "seahorse",
122
- "crab",
123
- "lobster",
124
- "shrimp",
125
- "clam",
126
- "snail",
127
- "slug",
128
- "butterfly",
129
- "moth",
130
- "bee",
131
- "wasp",
132
- "ant",
133
- "beetle",
134
- "ladybug",
135
- "caterpillar",
136
- "centipede",
137
- "millipede",
138
- "scorpion",
139
- "spider",
140
- "tarantula",
141
- "tick",
142
- "mite",
143
- "mosquito",
144
- "fly",
145
- "dragonfly",
146
- "damselfly",
147
- "grasshopper",
148
- "cricket",
149
- "locust",
150
- "mantis",
151
- "cockroach",
152
- "termite",
153
- "praying mantis",
154
- "walking stick",
155
- "stick bug",
156
- "leaf insect",
157
- "lacewing",
158
- "aphid",
159
- "cicada",
160
- "thrips",
161
- "psyllid",
162
- "scale insect",
163
- "whitefly",
164
- "mealybug",
165
- "planthopper",
166
- "leafhopper",
167
- "treehopper",
168
- "flea",
169
- "louse",
170
- "bedbug",
171
- "flea beetle",
172
- "weevil",
173
- "longhorn beetle",
174
- "leaf beetle",
175
- "tiger beetle",
176
- "ground beetle",
177
- "lady beetle",
178
- "firefly",
179
- "click beetle",
180
- "rove beetle",
181
- "scarab beetle",
182
- "dung beetle",
183
- "stag beetle",
184
- "rhinoceros beetle",
185
- "hercules beetle",
186
- "goliath beetle",
187
- "jewel beetle",
188
- "tortoise beetle"
189
- ]
190
- }
191
- }
@@ -1,203 +0,0 @@
1
- {
2
- "events": [
3
- {
4
- "event": "page view",
5
- "weight": 10,
6
- "properties": {
7
- "page": [
8
- "/",
9
- "/features",
10
- "/pricing",
11
- "/docs",
12
- "/about"
13
- ]
14
- }
15
- },
16
- {
17
- "event": "signup",
18
- "isFirstEvent": true,
19
- "properties": {
20
- "method": [
21
- "email",
22
- "google",
23
- "github"
24
- ],
25
- "referral": [
26
- "organic",
27
- "ad",
28
- "friend"
29
- ]
30
- }
31
- },
32
- {
33
- "event": "feature viewed",
34
- "weight": 7,
35
- "properties": {
36
- "feature": [
37
- "analytics",
38
- "funnels",
39
- "retention",
40
- "flows",
41
- "reports"
42
- ],
43
- "source": [
44
- "nav",
45
- "search",
46
- "recommendation",
47
- "link"
48
- ]
49
- }
50
- },
51
- {
52
- "event": "action taken",
53
- "weight": 5,
54
- "properties": {
55
- "action": [
56
- "create",
57
- "edit",
58
- "delete",
59
- "share",
60
- "export"
61
- ],
62
- "target": [
63
- "report",
64
- "dashboard",
65
- "chart",
66
- "segment"
67
- ]
68
- }
69
- },
70
- {
71
- "event": "checkout",
72
- "weight": 2,
73
- "properties": {
74
- "amount": {
75
- "$range": [
76
- 123,
77
- 389
78
- ]
79
- },
80
- "plan": [
81
- "starter",
82
- "growth",
83
- "enterprise"
84
- ],
85
- "billing": [
86
- "monthly",
87
- "annual"
88
- ]
89
- }
90
- },
91
- {
92
- "event": "button click",
93
- "weight": 8,
94
- "properties": {
95
- "button": [
96
- "cta",
97
- "upgrade",
98
- "try-free",
99
- "learn-more",
100
- "contact-sales"
101
- ],
102
- "location": [
103
- "hero",
104
- "header",
105
- "pricing-card",
106
- "feature-section"
107
- ]
108
- }
109
- },
110
- {
111
- "event": "help viewed",
112
- "weight": 4,
113
- "properties": {
114
- "article": [
115
- "getting-started",
116
- "billing-faq",
117
- "api-docs",
118
- "integrations",
119
- "data-export"
120
- ]
121
- }
122
- }
123
- ],
124
- "funnels": [
125
- {
126
- "sequence": [
127
- "page view",
128
- "signup",
129
- "feature viewed",
130
- "action taken"
131
- ],
132
- "name": "Onboarding Flow",
133
- "isFirstFunnel": true,
134
- "conversionRate": 45,
135
- "timeToConvert": 3,
136
- "weight": 5,
137
- "experiment": true
138
- },
139
- {
140
- "sequence": [
141
- "page view",
142
- "feature viewed",
143
- "button click",
144
- "checkout"
145
- ],
146
- "name": "Purchase Funnel",
147
- "conversionRate": 30,
148
- "timeToConvert": 5,
149
- "order": "first-and-last-fixed",
150
- "weight": 8,
151
- "experiment": true
152
- },
153
- {
154
- "sequence": [
155
- "feature viewed",
156
- "action taken",
157
- "help viewed",
158
- "action taken"
159
- ],
160
- "name": "Feature Adoption",
161
- "conversionRate": 50,
162
- "timeToConvert": 2,
163
- "order": "random",
164
- "weight": 4,
165
- "requireRepeats": true,
166
- "experiment": true,
167
- "bindPropsIndex": 2,
168
- "props": {
169
- "experiment_cohort": [
170
- "new_ui",
171
- "classic_ui"
172
- ]
173
- }
174
- },
175
- {
176
- "sequence": [
177
- "page view",
178
- "button click",
179
- "signup"
180
- ],
181
- "name": "Quick Signup",
182
- "isFirstFunnel": true,
183
- "conversionRate": 40,
184
- "timeToConvert": 1,
185
- "weight": 6
186
- }
187
- ],
188
- "superProps": {
189
- "platform": [
190
- "web",
191
- "ios",
192
- "android"
193
- ]
194
- },
195
- "userProps": {
196
- "plan": [
197
- "free",
198
- "starter",
199
- "growth",
200
- "enterprise"
201
- ]
202
- }
203
- }