@deina-labs/deina-core 1.1.4 → 1.1.8
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.
- package/dist/answer-confirmations.d.ts.map +1 -1
- package/dist/answer-confirmations.js +2 -12
- package/dist/answer-confirmations.js.map +1 -1
- package/dist/classify.d.ts +1 -1
- package/dist/classify.d.ts.map +1 -1
- package/dist/classify.js +10 -58
- package/dist/classify.js.map +1 -1
- package/dist/fun-facts.d.ts.map +1 -1
- package/dist/fun-facts.js +0 -1
- package/dist/fun-facts.js.map +1 -1
- package/dist/quiz-questions.d.ts +4 -4
- package/dist/quiz-questions.d.ts.map +1 -1
- package/dist/quiz-questions.js +159 -175
- package/dist/quiz-questions.js.map +1 -1
- package/dist/section-hooks.d.ts.map +1 -1
- package/dist/section-hooks.js +1 -33
- package/dist/section-hooks.js.map +1 -1
- package/package.json +1 -1
- package/src/answer-confirmations.ts +2 -22
- package/src/classify.ts +10 -62
- package/src/fun-facts.ts +0 -1
- package/src/quiz-questions.ts +165 -196
- package/src/section-hooks.ts +1 -34
package/src/section-hooks.ts
CHANGED
|
@@ -16,12 +16,6 @@ export function getStandardsHook(answers: StandardsAnswers): string {
|
|
|
16
16
|
return typeof v === 'number' && v >= 4;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
// Follow-through option-based
|
|
20
|
-
const ft = answers.followThrough;
|
|
21
|
-
if (ft === 'I let it go — people forget' || ft === 'I notice but don\'t say anything') {
|
|
22
|
-
return 'You just admitted you let people break promises without saying a word. That\'s not patience — that\'s a pattern.';
|
|
23
|
-
}
|
|
24
|
-
|
|
25
19
|
// Long-term goals option-based
|
|
26
20
|
const ltg = answers.longTermGoals;
|
|
27
21
|
if (ltg === 'I avoid it because I\'m scared of what he\'ll say') {
|
|
@@ -34,18 +28,9 @@ export function getStandardsHook(answers: StandardsAnswers): string {
|
|
|
34
28
|
if (high('physicalAttraction') && low('emotionalStability')) {
|
|
35
29
|
return 'You rated attraction high and emotional stability low. You already know which one keeps winning.';
|
|
36
30
|
}
|
|
37
|
-
if (low('communicationFrequency') && low('initiativeAndEffort')) {
|
|
38
|
-
return 'You rated communication and effort low. You\'ve trained yourself to expect less — and you\'re getting exactly that.';
|
|
39
|
-
}
|
|
40
|
-
if (high('initiativeAndEffort') && low('followThrough' as StandardQuality)) {
|
|
41
|
-
return 'You want him to lead but you don\'t hold him to his word. That gap is where most of your disappointment lives.';
|
|
42
|
-
}
|
|
43
31
|
if (low('emotionalAvailability')) {
|
|
44
32
|
return 'You rated emotional availability low. You\'ve accepted silence as normal — but that doesn\'t mean it doesn\'t hurt.';
|
|
45
33
|
}
|
|
46
|
-
if (high('weeklyConsistency') && low('communicationFrequency')) {
|
|
47
|
-
return 'You need to see him but you don\'t need to hear from him? Or have you just stopped asking for both?';
|
|
48
|
-
}
|
|
49
34
|
|
|
50
35
|
// Generic fallback based on overall pattern
|
|
51
36
|
const numericValues = Object.entries(answers)
|
|
@@ -64,12 +49,6 @@ export function getStandardsHook(answers: StandardsAnswers): string {
|
|
|
64
49
|
}
|
|
65
50
|
|
|
66
51
|
export function getTimelineHook(answers: TimelineAnswers): string {
|
|
67
|
-
if (answers.exclusivityExpectation === 'I avoid bringing it up') {
|
|
68
|
-
return 'You won\'t even ask where you stand. That silence isn\'t peace — it\'s fear.';
|
|
69
|
-
}
|
|
70
|
-
if (answers.intentionClarity === 'I wait for them to bring it up') {
|
|
71
|
-
return 'You\'re leaving the biggest decision to someone who hasn\'t earned that power yet.';
|
|
72
|
-
}
|
|
73
52
|
if (answers.progressionPace === 'I go with whatever he sets') {
|
|
74
53
|
return 'You just said you follow his pace. That means you don\'t have one — you have his.';
|
|
75
54
|
}
|
|
@@ -102,13 +81,7 @@ export function getMindsetHook(answers: MindsetAnswers): string {
|
|
|
102
81
|
if (answers.effortInterpretation === 'I probably did something wrong') {
|
|
103
82
|
return 'His effort dropped and your first thought was that it\'s your fault. That instinct is protecting him, not you.';
|
|
104
83
|
}
|
|
105
|
-
if (answers.
|
|
106
|
-
return 'You replay conversations looking for what you did wrong. You\'re investigating yourself instead of evaluating him.';
|
|
107
|
-
}
|
|
108
|
-
if (answers.ambiguityTolerance === 'I convince myself he\'s losing interest and start spiraling') {
|
|
109
|
-
return 'One dry day and you\'re already spiraling. That\'s not intuition — that\'s anxiety making decisions for you.';
|
|
110
|
-
}
|
|
111
|
-
if (answers.emotionalInvestmentSpeed === 'Immediately — I can already picture it') {
|
|
84
|
+
if (answers.emotionalInvestmentSpeed === 'Immediately') {
|
|
112
85
|
return 'One date and you\'re already picturing a future. You fall for the idea of someone before you even know who they are.';
|
|
113
86
|
}
|
|
114
87
|
|
|
@@ -176,12 +149,6 @@ export function getTradeOffsHook(answers: TradeOffAnswers): string {
|
|
|
176
149
|
if (answers.stabilityVsIntensity === 'The passionate, intense one') {
|
|
177
150
|
return 'You\'re drawn to intensity. But intensity without stability isn\'t passion — it\'s chaos that feels familiar.';
|
|
178
151
|
}
|
|
179
|
-
if (answers.earlyDatingTendency === 'I get emotionally attached too fast') {
|
|
180
|
-
return 'You get attached too fast. Which means by the time you see someone clearly, you\'re already too deep to walk away easily.';
|
|
181
|
-
}
|
|
182
|
-
if (answers.earlyDatingTendency === 'I keep a wall up no matter what') {
|
|
183
|
-
return 'You keep a wall up. It protects you — but it also makes sure no one ever gets close enough to actually stay.';
|
|
184
|
-
}
|
|
185
152
|
if (answers.toleratedFlaw === 'Won\'t commit at your pace') {
|
|
186
153
|
return 'The flaw you tolerate the longest is someone who won\'t commit. You already know what that says about you.';
|
|
187
154
|
}
|