deepadata-edm-sdk 0.6.0-alpha

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 (51) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +240 -0
  3. package/dist/assembler.d.ts +37 -0
  4. package/dist/assembler.d.ts.map +1 -0
  5. package/dist/assembler.js +204 -0
  6. package/dist/assembler.js.map +1 -0
  7. package/dist/extractors/domain-extractors.d.ts +8 -0
  8. package/dist/extractors/domain-extractors.d.ts.map +1 -0
  9. package/dist/extractors/domain-extractors.js +173 -0
  10. package/dist/extractors/domain-extractors.js.map +1 -0
  11. package/dist/extractors/image-analyzer.d.ts +38 -0
  12. package/dist/extractors/image-analyzer.d.ts.map +1 -0
  13. package/dist/extractors/image-analyzer.js +101 -0
  14. package/dist/extractors/image-analyzer.js.map +1 -0
  15. package/dist/extractors/kimi-extractor.d.ts +22 -0
  16. package/dist/extractors/kimi-extractor.d.ts.map +1 -0
  17. package/dist/extractors/kimi-extractor.js +137 -0
  18. package/dist/extractors/kimi-extractor.js.map +1 -0
  19. package/dist/extractors/llm-extractor.d.ts +43 -0
  20. package/dist/extractors/llm-extractor.d.ts.map +1 -0
  21. package/dist/extractors/llm-extractor.js +295 -0
  22. package/dist/extractors/llm-extractor.js.map +1 -0
  23. package/dist/extractors/openai-extractor.d.ts +17 -0
  24. package/dist/extractors/openai-extractor.d.ts.map +1 -0
  25. package/dist/extractors/openai-extractor.js +97 -0
  26. package/dist/extractors/openai-extractor.js.map +1 -0
  27. package/dist/extractors/profile-prompts.d.ts +32 -0
  28. package/dist/extractors/profile-prompts.d.ts.map +1 -0
  29. package/dist/extractors/profile-prompts.js +283 -0
  30. package/dist/extractors/profile-prompts.js.map +1 -0
  31. package/dist/index.d.ts +38 -0
  32. package/dist/index.d.ts.map +1 -0
  33. package/dist/index.js +59 -0
  34. package/dist/index.js.map +1 -0
  35. package/dist/schema/edm-schema.d.ts +1645 -0
  36. package/dist/schema/edm-schema.d.ts.map +1 -0
  37. package/dist/schema/edm-schema.js +345 -0
  38. package/dist/schema/edm-schema.js.map +1 -0
  39. package/dist/schema/types.d.ts +94 -0
  40. package/dist/schema/types.d.ts.map +1 -0
  41. package/dist/schema/types.js +79 -0
  42. package/dist/schema/types.js.map +1 -0
  43. package/dist/stateless.d.ts +28 -0
  44. package/dist/stateless.d.ts.map +1 -0
  45. package/dist/stateless.js +100 -0
  46. package/dist/stateless.js.map +1 -0
  47. package/dist/validator.d.ts +24 -0
  48. package/dist/validator.d.ts.map +1 -0
  49. package/dist/validator.js +154 -0
  50. package/dist/validator.js.map +1 -0
  51. package/package.json +59 -0
@@ -0,0 +1,1645 @@
1
+ /**
2
+ * EDM v0.5.0 Zod Schema
3
+ * Generated from canonical JSON schema at deepadata-edm-spec
4
+ */
5
+ import { z } from "zod";
6
+ export declare const MetaSchema: z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ version: z.ZodString;
9
+ profile: z.ZodOptional<z.ZodEnum<["core", "extended", "full"]>>;
10
+ created_at: z.ZodString;
11
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ owner_user_id: z.ZodNullable<z.ZodString>;
14
+ parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ visibility: z.ZodEnum<["private", "shared", "public"]>;
16
+ pii_tier: z.ZodEnum<["none", "low", "moderate", "high", "extreme"]>;
17
+ source_type: z.ZodEnum<["text", "audio", "image", "video", "mixed"]>;
18
+ source_context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ consent_basis: z.ZodEnum<["consent", "contract", "legitimate_interest", "none"]>;
20
+ consent_scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ consent_revoked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
23
+ }, "strip", z.ZodTypeAny, {
24
+ id: string | null;
25
+ version: string;
26
+ created_at: string;
27
+ owner_user_id: string | null;
28
+ visibility: "private" | "shared" | "public";
29
+ pii_tier: "none" | "low" | "moderate" | "high" | "extreme";
30
+ source_type: "text" | "audio" | "image" | "video" | "mixed";
31
+ consent_basis: "none" | "consent" | "contract" | "legitimate_interest";
32
+ profile?: "core" | "extended" | "full" | undefined;
33
+ updated_at?: string | null | undefined;
34
+ locale?: string | null | undefined;
35
+ parent_id?: string | null | undefined;
36
+ source_context?: string | null | undefined;
37
+ consent_scope?: string | null | undefined;
38
+ consent_revoked_at?: string | null | undefined;
39
+ tags?: string[] | undefined;
40
+ }, {
41
+ id: string | null;
42
+ version: string;
43
+ created_at: string;
44
+ owner_user_id: string | null;
45
+ visibility: "private" | "shared" | "public";
46
+ pii_tier: "none" | "low" | "moderate" | "high" | "extreme";
47
+ source_type: "text" | "audio" | "image" | "video" | "mixed";
48
+ consent_basis: "none" | "consent" | "contract" | "legitimate_interest";
49
+ profile?: "core" | "extended" | "full" | undefined;
50
+ updated_at?: string | null | undefined;
51
+ locale?: string | null | undefined;
52
+ parent_id?: string | null | undefined;
53
+ source_context?: string | null | undefined;
54
+ consent_scope?: string | null | undefined;
55
+ consent_revoked_at?: string | null | undefined;
56
+ tags?: string[] | undefined;
57
+ }>;
58
+ export declare const CoreSchema: z.ZodObject<{
59
+ anchor: z.ZodNullable<z.ZodString>;
60
+ spark: z.ZodNullable<z.ZodString>;
61
+ wound: z.ZodNullable<z.ZodString>;
62
+ fuel: z.ZodNullable<z.ZodString>;
63
+ bridge: z.ZodNullable<z.ZodString>;
64
+ echo: z.ZodNullable<z.ZodString>;
65
+ narrative: z.ZodNullable<z.ZodString>;
66
+ }, "strip", z.ZodTypeAny, {
67
+ anchor: string | null;
68
+ spark: string | null;
69
+ wound: string | null;
70
+ fuel: string | null;
71
+ bridge: string | null;
72
+ echo: string | null;
73
+ narrative: string | null;
74
+ }, {
75
+ anchor: string | null;
76
+ spark: string | null;
77
+ wound: string | null;
78
+ fuel: string | null;
79
+ bridge: string | null;
80
+ echo: string | null;
81
+ narrative: string | null;
82
+ }>;
83
+ export declare const ConstellationSchema: z.ZodObject<{
84
+ emotion_primary: z.ZodNullable<z.ZodEnum<["joy", "sadness", "fear", "anger", "wonder", "peace", "tenderness", "reverence", "pride", "anxiety", "gratitude", "longing", "hope", "shame"]>>;
85
+ emotion_subtone: z.ZodArray<z.ZodString, "many">;
86
+ higher_order_emotion: z.ZodNullable<z.ZodString>;
87
+ meta_emotional_state: z.ZodNullable<z.ZodString>;
88
+ interpersonal_affect: z.ZodNullable<z.ZodString>;
89
+ narrative_arc: z.ZodNullable<z.ZodEnum<["overcoming", "transformation", "connection", "reflection", "closure"]>>;
90
+ relational_dynamics: z.ZodNullable<z.ZodEnum<["parent_child", "grandparent_grandchild", "romantic_partnership", "couple", "sibling_bond", "family", "friendship", "friend", "companionship", "colleague", "mentorship", "reunion", "community_ritual", "grief", "self_reflection", "professional", "therapeutic", "service", "adversarial"]>>;
91
+ temporal_context: z.ZodNullable<z.ZodEnum<["childhood", "early_adulthood", "midlife", "late_life", "recent", "future", "timeless"]>>;
92
+ memory_type: z.ZodNullable<z.ZodEnum<["legacy_artifact", "fleeting_moment", "milestone", "reflection", "formative_experience"]>>;
93
+ media_format: z.ZodNullable<z.ZodEnum<["photo", "video", "audio", "text", "photo_with_story"]>>;
94
+ narrative_archetype: z.ZodNullable<z.ZodEnum<["hero", "caregiver", "seeker", "sage", "lover", "outlaw", "innocent", "orphan", "magician", "creator", "everyman", "jester", "ruler", "mentor"]>>;
95
+ symbolic_anchor: z.ZodNullable<z.ZodString>;
96
+ relational_perspective: z.ZodNullable<z.ZodEnum<["self", "partner", "family", "friends", "community", "humanity"]>>;
97
+ temporal_rhythm: z.ZodNullable<z.ZodEnum<["still", "sudden", "rising", "fading", "recurring", "spiraling", "dragging", "suspended", "looping", "cyclic"]>>;
98
+ identity_thread: z.ZodNullable<z.ZodString>;
99
+ expressed_insight: z.ZodNullable<z.ZodString>;
100
+ transformational_pivot: z.ZodBoolean;
101
+ somatic_signature: z.ZodNullable<z.ZodString>;
102
+ }, "strip", z.ZodTypeAny, {
103
+ emotion_primary: "joy" | "sadness" | "fear" | "anger" | "wonder" | "peace" | "tenderness" | "reverence" | "pride" | "anxiety" | "gratitude" | "longing" | "hope" | "shame" | null;
104
+ emotion_subtone: string[];
105
+ higher_order_emotion: string | null;
106
+ meta_emotional_state: string | null;
107
+ interpersonal_affect: string | null;
108
+ narrative_arc: "overcoming" | "transformation" | "connection" | "reflection" | "closure" | null;
109
+ relational_dynamics: "parent_child" | "grandparent_grandchild" | "romantic_partnership" | "couple" | "sibling_bond" | "family" | "friendship" | "friend" | "companionship" | "colleague" | "mentorship" | "reunion" | "community_ritual" | "grief" | "self_reflection" | "professional" | "therapeutic" | "service" | "adversarial" | null;
110
+ temporal_context: "childhood" | "early_adulthood" | "midlife" | "late_life" | "recent" | "future" | "timeless" | null;
111
+ memory_type: "reflection" | "legacy_artifact" | "fleeting_moment" | "milestone" | "formative_experience" | null;
112
+ media_format: "text" | "audio" | "video" | "photo" | "photo_with_story" | null;
113
+ narrative_archetype: "hero" | "caregiver" | "seeker" | "sage" | "lover" | "outlaw" | "innocent" | "orphan" | "magician" | "creator" | "everyman" | "jester" | "ruler" | "mentor" | null;
114
+ symbolic_anchor: string | null;
115
+ relational_perspective: "family" | "self" | "partner" | "friends" | "community" | "humanity" | null;
116
+ temporal_rhythm: "still" | "sudden" | "rising" | "fading" | "recurring" | "spiraling" | "dragging" | "suspended" | "looping" | "cyclic" | null;
117
+ identity_thread: string | null;
118
+ expressed_insight: string | null;
119
+ transformational_pivot: boolean;
120
+ somatic_signature: string | null;
121
+ }, {
122
+ emotion_primary: "joy" | "sadness" | "fear" | "anger" | "wonder" | "peace" | "tenderness" | "reverence" | "pride" | "anxiety" | "gratitude" | "longing" | "hope" | "shame" | null;
123
+ emotion_subtone: string[];
124
+ higher_order_emotion: string | null;
125
+ meta_emotional_state: string | null;
126
+ interpersonal_affect: string | null;
127
+ narrative_arc: "overcoming" | "transformation" | "connection" | "reflection" | "closure" | null;
128
+ relational_dynamics: "parent_child" | "grandparent_grandchild" | "romantic_partnership" | "couple" | "sibling_bond" | "family" | "friendship" | "friend" | "companionship" | "colleague" | "mentorship" | "reunion" | "community_ritual" | "grief" | "self_reflection" | "professional" | "therapeutic" | "service" | "adversarial" | null;
129
+ temporal_context: "childhood" | "early_adulthood" | "midlife" | "late_life" | "recent" | "future" | "timeless" | null;
130
+ memory_type: "reflection" | "legacy_artifact" | "fleeting_moment" | "milestone" | "formative_experience" | null;
131
+ media_format: "text" | "audio" | "video" | "photo" | "photo_with_story" | null;
132
+ narrative_archetype: "hero" | "caregiver" | "seeker" | "sage" | "lover" | "outlaw" | "innocent" | "orphan" | "magician" | "creator" | "everyman" | "jester" | "ruler" | "mentor" | null;
133
+ symbolic_anchor: string | null;
134
+ relational_perspective: "family" | "self" | "partner" | "friends" | "community" | "humanity" | null;
135
+ temporal_rhythm: "still" | "sudden" | "rising" | "fading" | "recurring" | "spiraling" | "dragging" | "suspended" | "looping" | "cyclic" | null;
136
+ identity_thread: string | null;
137
+ expressed_insight: string | null;
138
+ transformational_pivot: boolean;
139
+ somatic_signature: string | null;
140
+ }>;
141
+ export declare const MilkyWaySchema: z.ZodObject<{
142
+ event_type: z.ZodNullable<z.ZodString>;
143
+ location_context: z.ZodNullable<z.ZodString>;
144
+ associated_people: z.ZodArray<z.ZodString, "many">;
145
+ visibility_context: z.ZodNullable<z.ZodEnum<["private", "family_only", "shared_publicly"]>>;
146
+ tone_shift: z.ZodNullable<z.ZodString>;
147
+ }, "strip", z.ZodTypeAny, {
148
+ event_type: string | null;
149
+ location_context: string | null;
150
+ associated_people: string[];
151
+ visibility_context: "private" | "family_only" | "shared_publicly" | null;
152
+ tone_shift: string | null;
153
+ }, {
154
+ event_type: string | null;
155
+ location_context: string | null;
156
+ associated_people: string[];
157
+ visibility_context: "private" | "family_only" | "shared_publicly" | null;
158
+ tone_shift: string | null;
159
+ }>;
160
+ export declare const GravitySchema: z.ZodObject<{
161
+ emotional_weight: z.ZodNumber;
162
+ emotional_density: z.ZodNullable<z.ZodEnum<["low", "medium", "high"]>>;
163
+ valence: z.ZodNullable<z.ZodEnum<["positive", "negative", "mixed"]>>;
164
+ viscosity: z.ZodNullable<z.ZodEnum<["low", "medium", "high", "enduring", "fluid"]>>;
165
+ gravity_type: z.ZodNullable<z.ZodString>;
166
+ tether_type: z.ZodNullable<z.ZodEnum<["person", "symbol", "event", "place", "ritual", "object", "tradition", "identity", "self"]>>;
167
+ recall_triggers: z.ZodArray<z.ZodString, "many">;
168
+ retrieval_keys: z.ZodArray<z.ZodString, "many">;
169
+ nearby_themes: z.ZodArray<z.ZodString, "many">;
170
+ legacy_embed: z.ZodBoolean;
171
+ recurrence_pattern: z.ZodNullable<z.ZodEnum<["cyclical", "isolated", "chronic", "emerging"]>>;
172
+ strength_score: z.ZodNumber;
173
+ temporal_decay: z.ZodNullable<z.ZodEnum<["fast", "moderate", "slow"]>>;
174
+ resilience_markers: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
175
+ adaptation_trajectory: z.ZodNullable<z.ZodEnum<["improving", "stable", "declining", "integrative", "emerging"]>>;
176
+ }, "strip", z.ZodTypeAny, {
177
+ emotional_weight: number;
178
+ emotional_density: "low" | "high" | "medium" | null;
179
+ valence: "mixed" | "positive" | "negative" | null;
180
+ viscosity: "low" | "high" | "medium" | "enduring" | "fluid" | null;
181
+ gravity_type: string | null;
182
+ tether_type: "symbol" | "object" | "self" | "person" | "event" | "place" | "ritual" | "tradition" | "identity" | null;
183
+ recall_triggers: string[];
184
+ retrieval_keys: string[];
185
+ nearby_themes: string[];
186
+ legacy_embed: boolean;
187
+ recurrence_pattern: "cyclical" | "isolated" | "chronic" | "emerging" | null;
188
+ strength_score: number;
189
+ temporal_decay: "moderate" | "fast" | "slow" | null;
190
+ resilience_markers: string[] | null;
191
+ adaptation_trajectory: "emerging" | "improving" | "stable" | "declining" | "integrative" | null;
192
+ }, {
193
+ emotional_weight: number;
194
+ emotional_density: "low" | "high" | "medium" | null;
195
+ valence: "mixed" | "positive" | "negative" | null;
196
+ viscosity: "low" | "high" | "medium" | "enduring" | "fluid" | null;
197
+ gravity_type: string | null;
198
+ tether_type: "symbol" | "object" | "self" | "person" | "event" | "place" | "ritual" | "tradition" | "identity" | null;
199
+ recall_triggers: string[];
200
+ retrieval_keys: string[];
201
+ nearby_themes: string[];
202
+ legacy_embed: boolean;
203
+ recurrence_pattern: "cyclical" | "isolated" | "chronic" | "emerging" | null;
204
+ strength_score: number;
205
+ temporal_decay: "moderate" | "fast" | "slow" | null;
206
+ resilience_markers: string[] | null;
207
+ adaptation_trajectory: "emerging" | "improving" | "stable" | "declining" | "integrative" | null;
208
+ }>;
209
+ export declare const ImpulseSchema: z.ZodObject<{
210
+ primary_energy: z.ZodNullable<z.ZodString>;
211
+ drive_state: z.ZodNullable<z.ZodEnum<["explore", "approach", "avoid", "repair", "persevere", "share", "confront", "protect", "process"]>>;
212
+ motivational_orientation: z.ZodNullable<z.ZodEnum<["belonging", "safety", "mastery", "meaning", "autonomy", "authenticity"]>>;
213
+ temporal_focus: z.ZodNullable<z.ZodEnum<["past", "present", "future"]>>;
214
+ directionality: z.ZodNullable<z.ZodEnum<["inward", "outward", "transcendent"]>>;
215
+ social_visibility: z.ZodNullable<z.ZodEnum<["private", "relational", "collective"]>>;
216
+ urgency: z.ZodNullable<z.ZodEnum<["calm", "elevated", "pressing", "acute"]>>;
217
+ risk_posture: z.ZodNullable<z.ZodEnum<["cautious", "balanced", "bold"]>>;
218
+ agency_level: z.ZodNullable<z.ZodEnum<["low", "medium", "high"]>>;
219
+ regulation_state: z.ZodNullable<z.ZodEnum<["regulated", "wavering", "dysregulated"]>>;
220
+ attachment_style: z.ZodNullable<z.ZodEnum<["secure", "anxious", "avoidant", "disorganized"]>>;
221
+ coping_style: z.ZodNullable<z.ZodEnum<["reframe_meaning", "seek_support", "distract", "ritualize", "confront", "detach", "process"]>>;
222
+ }, "strip", z.ZodTypeAny, {
223
+ primary_energy: string | null;
224
+ drive_state: "explore" | "approach" | "avoid" | "repair" | "persevere" | "share" | "confront" | "protect" | "process" | null;
225
+ motivational_orientation: "belonging" | "safety" | "mastery" | "meaning" | "autonomy" | "authenticity" | null;
226
+ temporal_focus: "future" | "past" | "present" | null;
227
+ directionality: "inward" | "outward" | "transcendent" | null;
228
+ social_visibility: "private" | "relational" | "collective" | null;
229
+ urgency: "calm" | "elevated" | "pressing" | "acute" | null;
230
+ risk_posture: "cautious" | "balanced" | "bold" | null;
231
+ agency_level: "low" | "high" | "medium" | null;
232
+ regulation_state: "regulated" | "wavering" | "dysregulated" | null;
233
+ attachment_style: "secure" | "anxious" | "avoidant" | "disorganized" | null;
234
+ coping_style: "confront" | "process" | "reframe_meaning" | "seek_support" | "distract" | "ritualize" | "detach" | null;
235
+ }, {
236
+ primary_energy: string | null;
237
+ drive_state: "explore" | "approach" | "avoid" | "repair" | "persevere" | "share" | "confront" | "protect" | "process" | null;
238
+ motivational_orientation: "belonging" | "safety" | "mastery" | "meaning" | "autonomy" | "authenticity" | null;
239
+ temporal_focus: "future" | "past" | "present" | null;
240
+ directionality: "inward" | "outward" | "transcendent" | null;
241
+ social_visibility: "private" | "relational" | "collective" | null;
242
+ urgency: "calm" | "elevated" | "pressing" | "acute" | null;
243
+ risk_posture: "cautious" | "balanced" | "bold" | null;
244
+ agency_level: "low" | "high" | "medium" | null;
245
+ regulation_state: "regulated" | "wavering" | "dysregulated" | null;
246
+ attachment_style: "secure" | "anxious" | "avoidant" | "disorganized" | null;
247
+ coping_style: "confront" | "process" | "reframe_meaning" | "seek_support" | "distract" | "ritualize" | "detach" | null;
248
+ }>;
249
+ export declare const RetentionPolicySchema: z.ZodObject<{
250
+ basis: z.ZodNullable<z.ZodEnum<["user_defined", "legal", "business_need"]>>;
251
+ ttl_days: z.ZodNullable<z.ZodNumber>;
252
+ on_expiry: z.ZodNullable<z.ZodEnum<["soft_delete", "hard_delete", "anonymize"]>>;
253
+ }, "strip", z.ZodTypeAny, {
254
+ basis: "user_defined" | "legal" | "business_need" | null;
255
+ ttl_days: number | null;
256
+ on_expiry: "soft_delete" | "hard_delete" | "anonymize" | null;
257
+ }, {
258
+ basis: "user_defined" | "legal" | "business_need" | null;
259
+ ttl_days: number | null;
260
+ on_expiry: "soft_delete" | "hard_delete" | "anonymize" | null;
261
+ }>;
262
+ export declare const SubjectRightsSchema: z.ZodObject<{
263
+ portable: z.ZodBoolean;
264
+ erasable: z.ZodBoolean;
265
+ explainable: z.ZodBoolean;
266
+ }, "strip", z.ZodTypeAny, {
267
+ portable: boolean;
268
+ erasable: boolean;
269
+ explainable: boolean;
270
+ }, {
271
+ portable: boolean;
272
+ erasable: boolean;
273
+ explainable: boolean;
274
+ }>;
275
+ export declare const KAnonymitySchema: z.ZodObject<{
276
+ k: z.ZodNullable<z.ZodNumber>;
277
+ groups: z.ZodArray<z.ZodString, "many">;
278
+ }, "strip", z.ZodTypeAny, {
279
+ k: number | null;
280
+ groups: string[];
281
+ }, {
282
+ k: number | null;
283
+ groups: string[];
284
+ }>;
285
+ export declare const GovernanceSchema: z.ZodObject<{
286
+ jurisdiction: z.ZodNullable<z.ZodEnum<["GDPR", "CCPA", "HIPAA", "PIPEDA", "LGPD", "None", "Mixed"]>>;
287
+ retention_policy: z.ZodNullable<z.ZodObject<{
288
+ basis: z.ZodNullable<z.ZodEnum<["user_defined", "legal", "business_need"]>>;
289
+ ttl_days: z.ZodNullable<z.ZodNumber>;
290
+ on_expiry: z.ZodNullable<z.ZodEnum<["soft_delete", "hard_delete", "anonymize"]>>;
291
+ }, "strip", z.ZodTypeAny, {
292
+ basis: "user_defined" | "legal" | "business_need" | null;
293
+ ttl_days: number | null;
294
+ on_expiry: "soft_delete" | "hard_delete" | "anonymize" | null;
295
+ }, {
296
+ basis: "user_defined" | "legal" | "business_need" | null;
297
+ ttl_days: number | null;
298
+ on_expiry: "soft_delete" | "hard_delete" | "anonymize" | null;
299
+ }>>;
300
+ subject_rights: z.ZodObject<{
301
+ portable: z.ZodBoolean;
302
+ erasable: z.ZodBoolean;
303
+ explainable: z.ZodBoolean;
304
+ }, "strip", z.ZodTypeAny, {
305
+ portable: boolean;
306
+ erasable: boolean;
307
+ explainable: boolean;
308
+ }, {
309
+ portable: boolean;
310
+ erasable: boolean;
311
+ explainable: boolean;
312
+ }>;
313
+ exportability: z.ZodEnum<["allowed", "restricted", "forbidden"]>;
314
+ k_anonymity: z.ZodNullable<z.ZodObject<{
315
+ k: z.ZodNullable<z.ZodNumber>;
316
+ groups: z.ZodArray<z.ZodString, "many">;
317
+ }, "strip", z.ZodTypeAny, {
318
+ k: number | null;
319
+ groups: string[];
320
+ }, {
321
+ k: number | null;
322
+ groups: string[];
323
+ }>>;
324
+ policy_labels: z.ZodArray<z.ZodEnum<["sensitive", "children", "health", "biometrics", "financial", "none"]>, "many">;
325
+ masking_rules: z.ZodArray<z.ZodString, "many">;
326
+ }, "strip", z.ZodTypeAny, {
327
+ jurisdiction: "GDPR" | "CCPA" | "HIPAA" | "PIPEDA" | "LGPD" | "None" | "Mixed" | null;
328
+ retention_policy: {
329
+ basis: "user_defined" | "legal" | "business_need" | null;
330
+ ttl_days: number | null;
331
+ on_expiry: "soft_delete" | "hard_delete" | "anonymize" | null;
332
+ } | null;
333
+ subject_rights: {
334
+ portable: boolean;
335
+ erasable: boolean;
336
+ explainable: boolean;
337
+ };
338
+ exportability: "allowed" | "restricted" | "forbidden";
339
+ k_anonymity: {
340
+ k: number | null;
341
+ groups: string[];
342
+ } | null;
343
+ policy_labels: ("none" | "sensitive" | "children" | "health" | "biometrics" | "financial")[];
344
+ masking_rules: string[];
345
+ }, {
346
+ jurisdiction: "GDPR" | "CCPA" | "HIPAA" | "PIPEDA" | "LGPD" | "None" | "Mixed" | null;
347
+ retention_policy: {
348
+ basis: "user_defined" | "legal" | "business_need" | null;
349
+ ttl_days: number | null;
350
+ on_expiry: "soft_delete" | "hard_delete" | "anonymize" | null;
351
+ } | null;
352
+ subject_rights: {
353
+ portable: boolean;
354
+ erasable: boolean;
355
+ explainable: boolean;
356
+ };
357
+ exportability: "allowed" | "restricted" | "forbidden";
358
+ k_anonymity: {
359
+ k: number | null;
360
+ groups: string[];
361
+ } | null;
362
+ policy_labels: ("none" | "sensitive" | "children" | "health" | "biometrics" | "financial")[];
363
+ masking_rules: string[];
364
+ }>;
365
+ export declare const TelemetrySchema: z.ZodObject<{
366
+ entry_confidence: z.ZodNumber;
367
+ extraction_model: z.ZodNullable<z.ZodString>;
368
+ extraction_provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<["anthropic", "openai", "kimi"]>>>;
369
+ extraction_notes: z.ZodNullable<z.ZodString>;
370
+ alignment_delta: z.ZodNullable<z.ZodNumber>;
371
+ }, "strip", z.ZodTypeAny, {
372
+ entry_confidence: number;
373
+ extraction_model: string | null;
374
+ extraction_notes: string | null;
375
+ alignment_delta: number | null;
376
+ extraction_provider?: "anthropic" | "openai" | "kimi" | null | undefined;
377
+ }, {
378
+ entry_confidence: number;
379
+ extraction_model: string | null;
380
+ extraction_notes: string | null;
381
+ alignment_delta: number | null;
382
+ extraction_provider?: "anthropic" | "openai" | "kimi" | null | undefined;
383
+ }>;
384
+ export declare const EmbeddingRefSchema: z.ZodObject<{
385
+ provider: z.ZodString;
386
+ sector: z.ZodString;
387
+ dim: z.ZodNumber;
388
+ quantized: z.ZodBoolean;
389
+ vector_ref: z.ZodString;
390
+ }, "strip", z.ZodTypeAny, {
391
+ provider: string;
392
+ sector: string;
393
+ dim: number;
394
+ quantized: boolean;
395
+ vector_ref: string;
396
+ }, {
397
+ provider: string;
398
+ sector: string;
399
+ dim: number;
400
+ quantized: boolean;
401
+ vector_ref: string;
402
+ }>;
403
+ export declare const SectorWeightsSchema: z.ZodObject<{
404
+ episodic: z.ZodNumber;
405
+ semantic: z.ZodNumber;
406
+ procedural: z.ZodNumber;
407
+ emotional: z.ZodNumber;
408
+ reflective: z.ZodNumber;
409
+ }, "strip", z.ZodTypeAny, {
410
+ episodic: number;
411
+ semantic: number;
412
+ procedural: number;
413
+ emotional: number;
414
+ reflective: number;
415
+ }, {
416
+ episodic: number;
417
+ semantic: number;
418
+ procedural: number;
419
+ emotional: number;
420
+ reflective: number;
421
+ }>;
422
+ export declare const IndicesSchema: z.ZodObject<{
423
+ waypoint_ids: z.ZodArray<z.ZodString, "many">;
424
+ sector_weights: z.ZodObject<{
425
+ episodic: z.ZodNumber;
426
+ semantic: z.ZodNumber;
427
+ procedural: z.ZodNumber;
428
+ emotional: z.ZodNumber;
429
+ reflective: z.ZodNumber;
430
+ }, "strip", z.ZodTypeAny, {
431
+ episodic: number;
432
+ semantic: number;
433
+ procedural: number;
434
+ emotional: number;
435
+ reflective: number;
436
+ }, {
437
+ episodic: number;
438
+ semantic: number;
439
+ procedural: number;
440
+ emotional: number;
441
+ reflective: number;
442
+ }>;
443
+ }, "strip", z.ZodTypeAny, {
444
+ waypoint_ids: string[];
445
+ sector_weights: {
446
+ episodic: number;
447
+ semantic: number;
448
+ procedural: number;
449
+ emotional: number;
450
+ reflective: number;
451
+ };
452
+ }, {
453
+ waypoint_ids: string[];
454
+ sector_weights: {
455
+ episodic: number;
456
+ semantic: number;
457
+ procedural: number;
458
+ emotional: number;
459
+ reflective: number;
460
+ };
461
+ }>;
462
+ export declare const SystemSchema: z.ZodObject<{
463
+ embeddings: z.ZodArray<z.ZodObject<{
464
+ provider: z.ZodString;
465
+ sector: z.ZodString;
466
+ dim: z.ZodNumber;
467
+ quantized: z.ZodBoolean;
468
+ vector_ref: z.ZodString;
469
+ }, "strip", z.ZodTypeAny, {
470
+ provider: string;
471
+ sector: string;
472
+ dim: number;
473
+ quantized: boolean;
474
+ vector_ref: string;
475
+ }, {
476
+ provider: string;
477
+ sector: string;
478
+ dim: number;
479
+ quantized: boolean;
480
+ vector_ref: string;
481
+ }>, "many">;
482
+ indices: z.ZodObject<{
483
+ waypoint_ids: z.ZodArray<z.ZodString, "many">;
484
+ sector_weights: z.ZodObject<{
485
+ episodic: z.ZodNumber;
486
+ semantic: z.ZodNumber;
487
+ procedural: z.ZodNumber;
488
+ emotional: z.ZodNumber;
489
+ reflective: z.ZodNumber;
490
+ }, "strip", z.ZodTypeAny, {
491
+ episodic: number;
492
+ semantic: number;
493
+ procedural: number;
494
+ emotional: number;
495
+ reflective: number;
496
+ }, {
497
+ episodic: number;
498
+ semantic: number;
499
+ procedural: number;
500
+ emotional: number;
501
+ reflective: number;
502
+ }>;
503
+ }, "strip", z.ZodTypeAny, {
504
+ waypoint_ids: string[];
505
+ sector_weights: {
506
+ episodic: number;
507
+ semantic: number;
508
+ procedural: number;
509
+ emotional: number;
510
+ reflective: number;
511
+ };
512
+ }, {
513
+ waypoint_ids: string[];
514
+ sector_weights: {
515
+ episodic: number;
516
+ semantic: number;
517
+ procedural: number;
518
+ emotional: number;
519
+ reflective: number;
520
+ };
521
+ }>;
522
+ }, "strip", z.ZodTypeAny, {
523
+ embeddings: {
524
+ provider: string;
525
+ sector: string;
526
+ dim: number;
527
+ quantized: boolean;
528
+ vector_ref: string;
529
+ }[];
530
+ indices: {
531
+ waypoint_ids: string[];
532
+ sector_weights: {
533
+ episodic: number;
534
+ semantic: number;
535
+ procedural: number;
536
+ emotional: number;
537
+ reflective: number;
538
+ };
539
+ };
540
+ }, {
541
+ embeddings: {
542
+ provider: string;
543
+ sector: string;
544
+ dim: number;
545
+ quantized: boolean;
546
+ vector_ref: string;
547
+ }[];
548
+ indices: {
549
+ waypoint_ids: string[];
550
+ sector_weights: {
551
+ episodic: number;
552
+ semantic: number;
553
+ procedural: number;
554
+ emotional: number;
555
+ reflective: number;
556
+ };
557
+ };
558
+ }>;
559
+ export declare const CrosswalksSchema: z.ZodObject<{
560
+ plutchik_primary: z.ZodNullable<z.ZodString>;
561
+ geneva_emotion_wheel: z.ZodNullable<z.ZodString>;
562
+ DSM5_specifiers: z.ZodNullable<z.ZodString>;
563
+ HMD_v2_memory_type: z.ZodNullable<z.ZodString>;
564
+ ISO_27557_labels: z.ZodNullable<z.ZodString>;
565
+ }, "strip", z.ZodTypeAny, {
566
+ plutchik_primary: string | null;
567
+ geneva_emotion_wheel: string | null;
568
+ DSM5_specifiers: string | null;
569
+ HMD_v2_memory_type: string | null;
570
+ ISO_27557_labels: string | null;
571
+ }, {
572
+ plutchik_primary: string | null;
573
+ geneva_emotion_wheel: string | null;
574
+ DSM5_specifiers: string | null;
575
+ HMD_v2_memory_type: string | null;
576
+ ISO_27557_labels: string | null;
577
+ }>;
578
+ export declare const EdmArtifactSchema: z.ZodObject<{
579
+ meta: z.ZodObject<{
580
+ id: z.ZodNullable<z.ZodString>;
581
+ version: z.ZodString;
582
+ profile: z.ZodOptional<z.ZodEnum<["core", "extended", "full"]>>;
583
+ created_at: z.ZodString;
584
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
585
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
586
+ owner_user_id: z.ZodNullable<z.ZodString>;
587
+ parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
588
+ visibility: z.ZodEnum<["private", "shared", "public"]>;
589
+ pii_tier: z.ZodEnum<["none", "low", "moderate", "high", "extreme"]>;
590
+ source_type: z.ZodEnum<["text", "audio", "image", "video", "mixed"]>;
591
+ source_context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
592
+ consent_basis: z.ZodEnum<["consent", "contract", "legitimate_interest", "none"]>;
593
+ consent_scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
594
+ consent_revoked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
595
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
596
+ }, "strip", z.ZodTypeAny, {
597
+ id: string | null;
598
+ version: string;
599
+ created_at: string;
600
+ owner_user_id: string | null;
601
+ visibility: "private" | "shared" | "public";
602
+ pii_tier: "none" | "low" | "moderate" | "high" | "extreme";
603
+ source_type: "text" | "audio" | "image" | "video" | "mixed";
604
+ consent_basis: "none" | "consent" | "contract" | "legitimate_interest";
605
+ profile?: "core" | "extended" | "full" | undefined;
606
+ updated_at?: string | null | undefined;
607
+ locale?: string | null | undefined;
608
+ parent_id?: string | null | undefined;
609
+ source_context?: string | null | undefined;
610
+ consent_scope?: string | null | undefined;
611
+ consent_revoked_at?: string | null | undefined;
612
+ tags?: string[] | undefined;
613
+ }, {
614
+ id: string | null;
615
+ version: string;
616
+ created_at: string;
617
+ owner_user_id: string | null;
618
+ visibility: "private" | "shared" | "public";
619
+ pii_tier: "none" | "low" | "moderate" | "high" | "extreme";
620
+ source_type: "text" | "audio" | "image" | "video" | "mixed";
621
+ consent_basis: "none" | "consent" | "contract" | "legitimate_interest";
622
+ profile?: "core" | "extended" | "full" | undefined;
623
+ updated_at?: string | null | undefined;
624
+ locale?: string | null | undefined;
625
+ parent_id?: string | null | undefined;
626
+ source_context?: string | null | undefined;
627
+ consent_scope?: string | null | undefined;
628
+ consent_revoked_at?: string | null | undefined;
629
+ tags?: string[] | undefined;
630
+ }>;
631
+ core: z.ZodObject<{
632
+ anchor: z.ZodNullable<z.ZodString>;
633
+ spark: z.ZodNullable<z.ZodString>;
634
+ wound: z.ZodNullable<z.ZodString>;
635
+ fuel: z.ZodNullable<z.ZodString>;
636
+ bridge: z.ZodNullable<z.ZodString>;
637
+ echo: z.ZodNullable<z.ZodString>;
638
+ narrative: z.ZodNullable<z.ZodString>;
639
+ }, "strip", z.ZodTypeAny, {
640
+ anchor: string | null;
641
+ spark: string | null;
642
+ wound: string | null;
643
+ fuel: string | null;
644
+ bridge: string | null;
645
+ echo: string | null;
646
+ narrative: string | null;
647
+ }, {
648
+ anchor: string | null;
649
+ spark: string | null;
650
+ wound: string | null;
651
+ fuel: string | null;
652
+ bridge: string | null;
653
+ echo: string | null;
654
+ narrative: string | null;
655
+ }>;
656
+ constellation: z.ZodObject<{
657
+ emotion_primary: z.ZodNullable<z.ZodEnum<["joy", "sadness", "fear", "anger", "wonder", "peace", "tenderness", "reverence", "pride", "anxiety", "gratitude", "longing", "hope", "shame"]>>;
658
+ emotion_subtone: z.ZodArray<z.ZodString, "many">;
659
+ higher_order_emotion: z.ZodNullable<z.ZodString>;
660
+ meta_emotional_state: z.ZodNullable<z.ZodString>;
661
+ interpersonal_affect: z.ZodNullable<z.ZodString>;
662
+ narrative_arc: z.ZodNullable<z.ZodEnum<["overcoming", "transformation", "connection", "reflection", "closure"]>>;
663
+ relational_dynamics: z.ZodNullable<z.ZodEnum<["parent_child", "grandparent_grandchild", "romantic_partnership", "couple", "sibling_bond", "family", "friendship", "friend", "companionship", "colleague", "mentorship", "reunion", "community_ritual", "grief", "self_reflection", "professional", "therapeutic", "service", "adversarial"]>>;
664
+ temporal_context: z.ZodNullable<z.ZodEnum<["childhood", "early_adulthood", "midlife", "late_life", "recent", "future", "timeless"]>>;
665
+ memory_type: z.ZodNullable<z.ZodEnum<["legacy_artifact", "fleeting_moment", "milestone", "reflection", "formative_experience"]>>;
666
+ media_format: z.ZodNullable<z.ZodEnum<["photo", "video", "audio", "text", "photo_with_story"]>>;
667
+ narrative_archetype: z.ZodNullable<z.ZodEnum<["hero", "caregiver", "seeker", "sage", "lover", "outlaw", "innocent", "orphan", "magician", "creator", "everyman", "jester", "ruler", "mentor"]>>;
668
+ symbolic_anchor: z.ZodNullable<z.ZodString>;
669
+ relational_perspective: z.ZodNullable<z.ZodEnum<["self", "partner", "family", "friends", "community", "humanity"]>>;
670
+ temporal_rhythm: z.ZodNullable<z.ZodEnum<["still", "sudden", "rising", "fading", "recurring", "spiraling", "dragging", "suspended", "looping", "cyclic"]>>;
671
+ identity_thread: z.ZodNullable<z.ZodString>;
672
+ expressed_insight: z.ZodNullable<z.ZodString>;
673
+ transformational_pivot: z.ZodBoolean;
674
+ somatic_signature: z.ZodNullable<z.ZodString>;
675
+ }, "strip", z.ZodTypeAny, {
676
+ emotion_primary: "joy" | "sadness" | "fear" | "anger" | "wonder" | "peace" | "tenderness" | "reverence" | "pride" | "anxiety" | "gratitude" | "longing" | "hope" | "shame" | null;
677
+ emotion_subtone: string[];
678
+ higher_order_emotion: string | null;
679
+ meta_emotional_state: string | null;
680
+ interpersonal_affect: string | null;
681
+ narrative_arc: "overcoming" | "transformation" | "connection" | "reflection" | "closure" | null;
682
+ relational_dynamics: "parent_child" | "grandparent_grandchild" | "romantic_partnership" | "couple" | "sibling_bond" | "family" | "friendship" | "friend" | "companionship" | "colleague" | "mentorship" | "reunion" | "community_ritual" | "grief" | "self_reflection" | "professional" | "therapeutic" | "service" | "adversarial" | null;
683
+ temporal_context: "childhood" | "early_adulthood" | "midlife" | "late_life" | "recent" | "future" | "timeless" | null;
684
+ memory_type: "reflection" | "legacy_artifact" | "fleeting_moment" | "milestone" | "formative_experience" | null;
685
+ media_format: "text" | "audio" | "video" | "photo" | "photo_with_story" | null;
686
+ narrative_archetype: "hero" | "caregiver" | "seeker" | "sage" | "lover" | "outlaw" | "innocent" | "orphan" | "magician" | "creator" | "everyman" | "jester" | "ruler" | "mentor" | null;
687
+ symbolic_anchor: string | null;
688
+ relational_perspective: "family" | "self" | "partner" | "friends" | "community" | "humanity" | null;
689
+ temporal_rhythm: "still" | "sudden" | "rising" | "fading" | "recurring" | "spiraling" | "dragging" | "suspended" | "looping" | "cyclic" | null;
690
+ identity_thread: string | null;
691
+ expressed_insight: string | null;
692
+ transformational_pivot: boolean;
693
+ somatic_signature: string | null;
694
+ }, {
695
+ emotion_primary: "joy" | "sadness" | "fear" | "anger" | "wonder" | "peace" | "tenderness" | "reverence" | "pride" | "anxiety" | "gratitude" | "longing" | "hope" | "shame" | null;
696
+ emotion_subtone: string[];
697
+ higher_order_emotion: string | null;
698
+ meta_emotional_state: string | null;
699
+ interpersonal_affect: string | null;
700
+ narrative_arc: "overcoming" | "transformation" | "connection" | "reflection" | "closure" | null;
701
+ relational_dynamics: "parent_child" | "grandparent_grandchild" | "romantic_partnership" | "couple" | "sibling_bond" | "family" | "friendship" | "friend" | "companionship" | "colleague" | "mentorship" | "reunion" | "community_ritual" | "grief" | "self_reflection" | "professional" | "therapeutic" | "service" | "adversarial" | null;
702
+ temporal_context: "childhood" | "early_adulthood" | "midlife" | "late_life" | "recent" | "future" | "timeless" | null;
703
+ memory_type: "reflection" | "legacy_artifact" | "fleeting_moment" | "milestone" | "formative_experience" | null;
704
+ media_format: "text" | "audio" | "video" | "photo" | "photo_with_story" | null;
705
+ narrative_archetype: "hero" | "caregiver" | "seeker" | "sage" | "lover" | "outlaw" | "innocent" | "orphan" | "magician" | "creator" | "everyman" | "jester" | "ruler" | "mentor" | null;
706
+ symbolic_anchor: string | null;
707
+ relational_perspective: "family" | "self" | "partner" | "friends" | "community" | "humanity" | null;
708
+ temporal_rhythm: "still" | "sudden" | "rising" | "fading" | "recurring" | "spiraling" | "dragging" | "suspended" | "looping" | "cyclic" | null;
709
+ identity_thread: string | null;
710
+ expressed_insight: string | null;
711
+ transformational_pivot: boolean;
712
+ somatic_signature: string | null;
713
+ }>;
714
+ milky_way: z.ZodObject<{
715
+ event_type: z.ZodNullable<z.ZodString>;
716
+ location_context: z.ZodNullable<z.ZodString>;
717
+ associated_people: z.ZodArray<z.ZodString, "many">;
718
+ visibility_context: z.ZodNullable<z.ZodEnum<["private", "family_only", "shared_publicly"]>>;
719
+ tone_shift: z.ZodNullable<z.ZodString>;
720
+ }, "strip", z.ZodTypeAny, {
721
+ event_type: string | null;
722
+ location_context: string | null;
723
+ associated_people: string[];
724
+ visibility_context: "private" | "family_only" | "shared_publicly" | null;
725
+ tone_shift: string | null;
726
+ }, {
727
+ event_type: string | null;
728
+ location_context: string | null;
729
+ associated_people: string[];
730
+ visibility_context: "private" | "family_only" | "shared_publicly" | null;
731
+ tone_shift: string | null;
732
+ }>;
733
+ gravity: z.ZodObject<{
734
+ emotional_weight: z.ZodNumber;
735
+ emotional_density: z.ZodNullable<z.ZodEnum<["low", "medium", "high"]>>;
736
+ valence: z.ZodNullable<z.ZodEnum<["positive", "negative", "mixed"]>>;
737
+ viscosity: z.ZodNullable<z.ZodEnum<["low", "medium", "high", "enduring", "fluid"]>>;
738
+ gravity_type: z.ZodNullable<z.ZodString>;
739
+ tether_type: z.ZodNullable<z.ZodEnum<["person", "symbol", "event", "place", "ritual", "object", "tradition", "identity", "self"]>>;
740
+ recall_triggers: z.ZodArray<z.ZodString, "many">;
741
+ retrieval_keys: z.ZodArray<z.ZodString, "many">;
742
+ nearby_themes: z.ZodArray<z.ZodString, "many">;
743
+ legacy_embed: z.ZodBoolean;
744
+ recurrence_pattern: z.ZodNullable<z.ZodEnum<["cyclical", "isolated", "chronic", "emerging"]>>;
745
+ strength_score: z.ZodNumber;
746
+ temporal_decay: z.ZodNullable<z.ZodEnum<["fast", "moderate", "slow"]>>;
747
+ resilience_markers: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
748
+ adaptation_trajectory: z.ZodNullable<z.ZodEnum<["improving", "stable", "declining", "integrative", "emerging"]>>;
749
+ }, "strip", z.ZodTypeAny, {
750
+ emotional_weight: number;
751
+ emotional_density: "low" | "high" | "medium" | null;
752
+ valence: "mixed" | "positive" | "negative" | null;
753
+ viscosity: "low" | "high" | "medium" | "enduring" | "fluid" | null;
754
+ gravity_type: string | null;
755
+ tether_type: "symbol" | "object" | "self" | "person" | "event" | "place" | "ritual" | "tradition" | "identity" | null;
756
+ recall_triggers: string[];
757
+ retrieval_keys: string[];
758
+ nearby_themes: string[];
759
+ legacy_embed: boolean;
760
+ recurrence_pattern: "cyclical" | "isolated" | "chronic" | "emerging" | null;
761
+ strength_score: number;
762
+ temporal_decay: "moderate" | "fast" | "slow" | null;
763
+ resilience_markers: string[] | null;
764
+ adaptation_trajectory: "emerging" | "improving" | "stable" | "declining" | "integrative" | null;
765
+ }, {
766
+ emotional_weight: number;
767
+ emotional_density: "low" | "high" | "medium" | null;
768
+ valence: "mixed" | "positive" | "negative" | null;
769
+ viscosity: "low" | "high" | "medium" | "enduring" | "fluid" | null;
770
+ gravity_type: string | null;
771
+ tether_type: "symbol" | "object" | "self" | "person" | "event" | "place" | "ritual" | "tradition" | "identity" | null;
772
+ recall_triggers: string[];
773
+ retrieval_keys: string[];
774
+ nearby_themes: string[];
775
+ legacy_embed: boolean;
776
+ recurrence_pattern: "cyclical" | "isolated" | "chronic" | "emerging" | null;
777
+ strength_score: number;
778
+ temporal_decay: "moderate" | "fast" | "slow" | null;
779
+ resilience_markers: string[] | null;
780
+ adaptation_trajectory: "emerging" | "improving" | "stable" | "declining" | "integrative" | null;
781
+ }>;
782
+ impulse: z.ZodObject<{
783
+ primary_energy: z.ZodNullable<z.ZodString>;
784
+ drive_state: z.ZodNullable<z.ZodEnum<["explore", "approach", "avoid", "repair", "persevere", "share", "confront", "protect", "process"]>>;
785
+ motivational_orientation: z.ZodNullable<z.ZodEnum<["belonging", "safety", "mastery", "meaning", "autonomy", "authenticity"]>>;
786
+ temporal_focus: z.ZodNullable<z.ZodEnum<["past", "present", "future"]>>;
787
+ directionality: z.ZodNullable<z.ZodEnum<["inward", "outward", "transcendent"]>>;
788
+ social_visibility: z.ZodNullable<z.ZodEnum<["private", "relational", "collective"]>>;
789
+ urgency: z.ZodNullable<z.ZodEnum<["calm", "elevated", "pressing", "acute"]>>;
790
+ risk_posture: z.ZodNullable<z.ZodEnum<["cautious", "balanced", "bold"]>>;
791
+ agency_level: z.ZodNullable<z.ZodEnum<["low", "medium", "high"]>>;
792
+ regulation_state: z.ZodNullable<z.ZodEnum<["regulated", "wavering", "dysregulated"]>>;
793
+ attachment_style: z.ZodNullable<z.ZodEnum<["secure", "anxious", "avoidant", "disorganized"]>>;
794
+ coping_style: z.ZodNullable<z.ZodEnum<["reframe_meaning", "seek_support", "distract", "ritualize", "confront", "detach", "process"]>>;
795
+ }, "strip", z.ZodTypeAny, {
796
+ primary_energy: string | null;
797
+ drive_state: "explore" | "approach" | "avoid" | "repair" | "persevere" | "share" | "confront" | "protect" | "process" | null;
798
+ motivational_orientation: "belonging" | "safety" | "mastery" | "meaning" | "autonomy" | "authenticity" | null;
799
+ temporal_focus: "future" | "past" | "present" | null;
800
+ directionality: "inward" | "outward" | "transcendent" | null;
801
+ social_visibility: "private" | "relational" | "collective" | null;
802
+ urgency: "calm" | "elevated" | "pressing" | "acute" | null;
803
+ risk_posture: "cautious" | "balanced" | "bold" | null;
804
+ agency_level: "low" | "high" | "medium" | null;
805
+ regulation_state: "regulated" | "wavering" | "dysregulated" | null;
806
+ attachment_style: "secure" | "anxious" | "avoidant" | "disorganized" | null;
807
+ coping_style: "confront" | "process" | "reframe_meaning" | "seek_support" | "distract" | "ritualize" | "detach" | null;
808
+ }, {
809
+ primary_energy: string | null;
810
+ drive_state: "explore" | "approach" | "avoid" | "repair" | "persevere" | "share" | "confront" | "protect" | "process" | null;
811
+ motivational_orientation: "belonging" | "safety" | "mastery" | "meaning" | "autonomy" | "authenticity" | null;
812
+ temporal_focus: "future" | "past" | "present" | null;
813
+ directionality: "inward" | "outward" | "transcendent" | null;
814
+ social_visibility: "private" | "relational" | "collective" | null;
815
+ urgency: "calm" | "elevated" | "pressing" | "acute" | null;
816
+ risk_posture: "cautious" | "balanced" | "bold" | null;
817
+ agency_level: "low" | "high" | "medium" | null;
818
+ regulation_state: "regulated" | "wavering" | "dysregulated" | null;
819
+ attachment_style: "secure" | "anxious" | "avoidant" | "disorganized" | null;
820
+ coping_style: "confront" | "process" | "reframe_meaning" | "seek_support" | "distract" | "ritualize" | "detach" | null;
821
+ }>;
822
+ governance: z.ZodObject<{
823
+ jurisdiction: z.ZodNullable<z.ZodEnum<["GDPR", "CCPA", "HIPAA", "PIPEDA", "LGPD", "None", "Mixed"]>>;
824
+ retention_policy: z.ZodNullable<z.ZodObject<{
825
+ basis: z.ZodNullable<z.ZodEnum<["user_defined", "legal", "business_need"]>>;
826
+ ttl_days: z.ZodNullable<z.ZodNumber>;
827
+ on_expiry: z.ZodNullable<z.ZodEnum<["soft_delete", "hard_delete", "anonymize"]>>;
828
+ }, "strip", z.ZodTypeAny, {
829
+ basis: "user_defined" | "legal" | "business_need" | null;
830
+ ttl_days: number | null;
831
+ on_expiry: "soft_delete" | "hard_delete" | "anonymize" | null;
832
+ }, {
833
+ basis: "user_defined" | "legal" | "business_need" | null;
834
+ ttl_days: number | null;
835
+ on_expiry: "soft_delete" | "hard_delete" | "anonymize" | null;
836
+ }>>;
837
+ subject_rights: z.ZodObject<{
838
+ portable: z.ZodBoolean;
839
+ erasable: z.ZodBoolean;
840
+ explainable: z.ZodBoolean;
841
+ }, "strip", z.ZodTypeAny, {
842
+ portable: boolean;
843
+ erasable: boolean;
844
+ explainable: boolean;
845
+ }, {
846
+ portable: boolean;
847
+ erasable: boolean;
848
+ explainable: boolean;
849
+ }>;
850
+ exportability: z.ZodEnum<["allowed", "restricted", "forbidden"]>;
851
+ k_anonymity: z.ZodNullable<z.ZodObject<{
852
+ k: z.ZodNullable<z.ZodNumber>;
853
+ groups: z.ZodArray<z.ZodString, "many">;
854
+ }, "strip", z.ZodTypeAny, {
855
+ k: number | null;
856
+ groups: string[];
857
+ }, {
858
+ k: number | null;
859
+ groups: string[];
860
+ }>>;
861
+ policy_labels: z.ZodArray<z.ZodEnum<["sensitive", "children", "health", "biometrics", "financial", "none"]>, "many">;
862
+ masking_rules: z.ZodArray<z.ZodString, "many">;
863
+ }, "strip", z.ZodTypeAny, {
864
+ jurisdiction: "GDPR" | "CCPA" | "HIPAA" | "PIPEDA" | "LGPD" | "None" | "Mixed" | null;
865
+ retention_policy: {
866
+ basis: "user_defined" | "legal" | "business_need" | null;
867
+ ttl_days: number | null;
868
+ on_expiry: "soft_delete" | "hard_delete" | "anonymize" | null;
869
+ } | null;
870
+ subject_rights: {
871
+ portable: boolean;
872
+ erasable: boolean;
873
+ explainable: boolean;
874
+ };
875
+ exportability: "allowed" | "restricted" | "forbidden";
876
+ k_anonymity: {
877
+ k: number | null;
878
+ groups: string[];
879
+ } | null;
880
+ policy_labels: ("none" | "sensitive" | "children" | "health" | "biometrics" | "financial")[];
881
+ masking_rules: string[];
882
+ }, {
883
+ jurisdiction: "GDPR" | "CCPA" | "HIPAA" | "PIPEDA" | "LGPD" | "None" | "Mixed" | null;
884
+ retention_policy: {
885
+ basis: "user_defined" | "legal" | "business_need" | null;
886
+ ttl_days: number | null;
887
+ on_expiry: "soft_delete" | "hard_delete" | "anonymize" | null;
888
+ } | null;
889
+ subject_rights: {
890
+ portable: boolean;
891
+ erasable: boolean;
892
+ explainable: boolean;
893
+ };
894
+ exportability: "allowed" | "restricted" | "forbidden";
895
+ k_anonymity: {
896
+ k: number | null;
897
+ groups: string[];
898
+ } | null;
899
+ policy_labels: ("none" | "sensitive" | "children" | "health" | "biometrics" | "financial")[];
900
+ masking_rules: string[];
901
+ }>;
902
+ telemetry: z.ZodObject<{
903
+ entry_confidence: z.ZodNumber;
904
+ extraction_model: z.ZodNullable<z.ZodString>;
905
+ extraction_provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<["anthropic", "openai", "kimi"]>>>;
906
+ extraction_notes: z.ZodNullable<z.ZodString>;
907
+ alignment_delta: z.ZodNullable<z.ZodNumber>;
908
+ }, "strip", z.ZodTypeAny, {
909
+ entry_confidence: number;
910
+ extraction_model: string | null;
911
+ extraction_notes: string | null;
912
+ alignment_delta: number | null;
913
+ extraction_provider?: "anthropic" | "openai" | "kimi" | null | undefined;
914
+ }, {
915
+ entry_confidence: number;
916
+ extraction_model: string | null;
917
+ extraction_notes: string | null;
918
+ alignment_delta: number | null;
919
+ extraction_provider?: "anthropic" | "openai" | "kimi" | null | undefined;
920
+ }>;
921
+ system: z.ZodObject<{
922
+ embeddings: z.ZodArray<z.ZodObject<{
923
+ provider: z.ZodString;
924
+ sector: z.ZodString;
925
+ dim: z.ZodNumber;
926
+ quantized: z.ZodBoolean;
927
+ vector_ref: z.ZodString;
928
+ }, "strip", z.ZodTypeAny, {
929
+ provider: string;
930
+ sector: string;
931
+ dim: number;
932
+ quantized: boolean;
933
+ vector_ref: string;
934
+ }, {
935
+ provider: string;
936
+ sector: string;
937
+ dim: number;
938
+ quantized: boolean;
939
+ vector_ref: string;
940
+ }>, "many">;
941
+ indices: z.ZodObject<{
942
+ waypoint_ids: z.ZodArray<z.ZodString, "many">;
943
+ sector_weights: z.ZodObject<{
944
+ episodic: z.ZodNumber;
945
+ semantic: z.ZodNumber;
946
+ procedural: z.ZodNumber;
947
+ emotional: z.ZodNumber;
948
+ reflective: z.ZodNumber;
949
+ }, "strip", z.ZodTypeAny, {
950
+ episodic: number;
951
+ semantic: number;
952
+ procedural: number;
953
+ emotional: number;
954
+ reflective: number;
955
+ }, {
956
+ episodic: number;
957
+ semantic: number;
958
+ procedural: number;
959
+ emotional: number;
960
+ reflective: number;
961
+ }>;
962
+ }, "strip", z.ZodTypeAny, {
963
+ waypoint_ids: string[];
964
+ sector_weights: {
965
+ episodic: number;
966
+ semantic: number;
967
+ procedural: number;
968
+ emotional: number;
969
+ reflective: number;
970
+ };
971
+ }, {
972
+ waypoint_ids: string[];
973
+ sector_weights: {
974
+ episodic: number;
975
+ semantic: number;
976
+ procedural: number;
977
+ emotional: number;
978
+ reflective: number;
979
+ };
980
+ }>;
981
+ }, "strip", z.ZodTypeAny, {
982
+ embeddings: {
983
+ provider: string;
984
+ sector: string;
985
+ dim: number;
986
+ quantized: boolean;
987
+ vector_ref: string;
988
+ }[];
989
+ indices: {
990
+ waypoint_ids: string[];
991
+ sector_weights: {
992
+ episodic: number;
993
+ semantic: number;
994
+ procedural: number;
995
+ emotional: number;
996
+ reflective: number;
997
+ };
998
+ };
999
+ }, {
1000
+ embeddings: {
1001
+ provider: string;
1002
+ sector: string;
1003
+ dim: number;
1004
+ quantized: boolean;
1005
+ vector_ref: string;
1006
+ }[];
1007
+ indices: {
1008
+ waypoint_ids: string[];
1009
+ sector_weights: {
1010
+ episodic: number;
1011
+ semantic: number;
1012
+ procedural: number;
1013
+ emotional: number;
1014
+ reflective: number;
1015
+ };
1016
+ };
1017
+ }>;
1018
+ crosswalks: z.ZodObject<{
1019
+ plutchik_primary: z.ZodNullable<z.ZodString>;
1020
+ geneva_emotion_wheel: z.ZodNullable<z.ZodString>;
1021
+ DSM5_specifiers: z.ZodNullable<z.ZodString>;
1022
+ HMD_v2_memory_type: z.ZodNullable<z.ZodString>;
1023
+ ISO_27557_labels: z.ZodNullable<z.ZodString>;
1024
+ }, "strip", z.ZodTypeAny, {
1025
+ plutchik_primary: string | null;
1026
+ geneva_emotion_wheel: string | null;
1027
+ DSM5_specifiers: string | null;
1028
+ HMD_v2_memory_type: string | null;
1029
+ ISO_27557_labels: string | null;
1030
+ }, {
1031
+ plutchik_primary: string | null;
1032
+ geneva_emotion_wheel: string | null;
1033
+ DSM5_specifiers: string | null;
1034
+ HMD_v2_memory_type: string | null;
1035
+ ISO_27557_labels: string | null;
1036
+ }>;
1037
+ }, "strip", z.ZodTypeAny, {
1038
+ core: {
1039
+ anchor: string | null;
1040
+ spark: string | null;
1041
+ wound: string | null;
1042
+ fuel: string | null;
1043
+ bridge: string | null;
1044
+ echo: string | null;
1045
+ narrative: string | null;
1046
+ };
1047
+ meta: {
1048
+ id: string | null;
1049
+ version: string;
1050
+ created_at: string;
1051
+ owner_user_id: string | null;
1052
+ visibility: "private" | "shared" | "public";
1053
+ pii_tier: "none" | "low" | "moderate" | "high" | "extreme";
1054
+ source_type: "text" | "audio" | "image" | "video" | "mixed";
1055
+ consent_basis: "none" | "consent" | "contract" | "legitimate_interest";
1056
+ profile?: "core" | "extended" | "full" | undefined;
1057
+ updated_at?: string | null | undefined;
1058
+ locale?: string | null | undefined;
1059
+ parent_id?: string | null | undefined;
1060
+ source_context?: string | null | undefined;
1061
+ consent_scope?: string | null | undefined;
1062
+ consent_revoked_at?: string | null | undefined;
1063
+ tags?: string[] | undefined;
1064
+ };
1065
+ constellation: {
1066
+ emotion_primary: "joy" | "sadness" | "fear" | "anger" | "wonder" | "peace" | "tenderness" | "reverence" | "pride" | "anxiety" | "gratitude" | "longing" | "hope" | "shame" | null;
1067
+ emotion_subtone: string[];
1068
+ higher_order_emotion: string | null;
1069
+ meta_emotional_state: string | null;
1070
+ interpersonal_affect: string | null;
1071
+ narrative_arc: "overcoming" | "transformation" | "connection" | "reflection" | "closure" | null;
1072
+ relational_dynamics: "parent_child" | "grandparent_grandchild" | "romantic_partnership" | "couple" | "sibling_bond" | "family" | "friendship" | "friend" | "companionship" | "colleague" | "mentorship" | "reunion" | "community_ritual" | "grief" | "self_reflection" | "professional" | "therapeutic" | "service" | "adversarial" | null;
1073
+ temporal_context: "childhood" | "early_adulthood" | "midlife" | "late_life" | "recent" | "future" | "timeless" | null;
1074
+ memory_type: "reflection" | "legacy_artifact" | "fleeting_moment" | "milestone" | "formative_experience" | null;
1075
+ media_format: "text" | "audio" | "video" | "photo" | "photo_with_story" | null;
1076
+ narrative_archetype: "hero" | "caregiver" | "seeker" | "sage" | "lover" | "outlaw" | "innocent" | "orphan" | "magician" | "creator" | "everyman" | "jester" | "ruler" | "mentor" | null;
1077
+ symbolic_anchor: string | null;
1078
+ relational_perspective: "family" | "self" | "partner" | "friends" | "community" | "humanity" | null;
1079
+ temporal_rhythm: "still" | "sudden" | "rising" | "fading" | "recurring" | "spiraling" | "dragging" | "suspended" | "looping" | "cyclic" | null;
1080
+ identity_thread: string | null;
1081
+ expressed_insight: string | null;
1082
+ transformational_pivot: boolean;
1083
+ somatic_signature: string | null;
1084
+ };
1085
+ milky_way: {
1086
+ event_type: string | null;
1087
+ location_context: string | null;
1088
+ associated_people: string[];
1089
+ visibility_context: "private" | "family_only" | "shared_publicly" | null;
1090
+ tone_shift: string | null;
1091
+ };
1092
+ gravity: {
1093
+ emotional_weight: number;
1094
+ emotional_density: "low" | "high" | "medium" | null;
1095
+ valence: "mixed" | "positive" | "negative" | null;
1096
+ viscosity: "low" | "high" | "medium" | "enduring" | "fluid" | null;
1097
+ gravity_type: string | null;
1098
+ tether_type: "symbol" | "object" | "self" | "person" | "event" | "place" | "ritual" | "tradition" | "identity" | null;
1099
+ recall_triggers: string[];
1100
+ retrieval_keys: string[];
1101
+ nearby_themes: string[];
1102
+ legacy_embed: boolean;
1103
+ recurrence_pattern: "cyclical" | "isolated" | "chronic" | "emerging" | null;
1104
+ strength_score: number;
1105
+ temporal_decay: "moderate" | "fast" | "slow" | null;
1106
+ resilience_markers: string[] | null;
1107
+ adaptation_trajectory: "emerging" | "improving" | "stable" | "declining" | "integrative" | null;
1108
+ };
1109
+ impulse: {
1110
+ primary_energy: string | null;
1111
+ drive_state: "explore" | "approach" | "avoid" | "repair" | "persevere" | "share" | "confront" | "protect" | "process" | null;
1112
+ motivational_orientation: "belonging" | "safety" | "mastery" | "meaning" | "autonomy" | "authenticity" | null;
1113
+ temporal_focus: "future" | "past" | "present" | null;
1114
+ directionality: "inward" | "outward" | "transcendent" | null;
1115
+ social_visibility: "private" | "relational" | "collective" | null;
1116
+ urgency: "calm" | "elevated" | "pressing" | "acute" | null;
1117
+ risk_posture: "cautious" | "balanced" | "bold" | null;
1118
+ agency_level: "low" | "high" | "medium" | null;
1119
+ regulation_state: "regulated" | "wavering" | "dysregulated" | null;
1120
+ attachment_style: "secure" | "anxious" | "avoidant" | "disorganized" | null;
1121
+ coping_style: "confront" | "process" | "reframe_meaning" | "seek_support" | "distract" | "ritualize" | "detach" | null;
1122
+ };
1123
+ governance: {
1124
+ jurisdiction: "GDPR" | "CCPA" | "HIPAA" | "PIPEDA" | "LGPD" | "None" | "Mixed" | null;
1125
+ retention_policy: {
1126
+ basis: "user_defined" | "legal" | "business_need" | null;
1127
+ ttl_days: number | null;
1128
+ on_expiry: "soft_delete" | "hard_delete" | "anonymize" | null;
1129
+ } | null;
1130
+ subject_rights: {
1131
+ portable: boolean;
1132
+ erasable: boolean;
1133
+ explainable: boolean;
1134
+ };
1135
+ exportability: "allowed" | "restricted" | "forbidden";
1136
+ k_anonymity: {
1137
+ k: number | null;
1138
+ groups: string[];
1139
+ } | null;
1140
+ policy_labels: ("none" | "sensitive" | "children" | "health" | "biometrics" | "financial")[];
1141
+ masking_rules: string[];
1142
+ };
1143
+ telemetry: {
1144
+ entry_confidence: number;
1145
+ extraction_model: string | null;
1146
+ extraction_notes: string | null;
1147
+ alignment_delta: number | null;
1148
+ extraction_provider?: "anthropic" | "openai" | "kimi" | null | undefined;
1149
+ };
1150
+ system: {
1151
+ embeddings: {
1152
+ provider: string;
1153
+ sector: string;
1154
+ dim: number;
1155
+ quantized: boolean;
1156
+ vector_ref: string;
1157
+ }[];
1158
+ indices: {
1159
+ waypoint_ids: string[];
1160
+ sector_weights: {
1161
+ episodic: number;
1162
+ semantic: number;
1163
+ procedural: number;
1164
+ emotional: number;
1165
+ reflective: number;
1166
+ };
1167
+ };
1168
+ };
1169
+ crosswalks: {
1170
+ plutchik_primary: string | null;
1171
+ geneva_emotion_wheel: string | null;
1172
+ DSM5_specifiers: string | null;
1173
+ HMD_v2_memory_type: string | null;
1174
+ ISO_27557_labels: string | null;
1175
+ };
1176
+ }, {
1177
+ core: {
1178
+ anchor: string | null;
1179
+ spark: string | null;
1180
+ wound: string | null;
1181
+ fuel: string | null;
1182
+ bridge: string | null;
1183
+ echo: string | null;
1184
+ narrative: string | null;
1185
+ };
1186
+ meta: {
1187
+ id: string | null;
1188
+ version: string;
1189
+ created_at: string;
1190
+ owner_user_id: string | null;
1191
+ visibility: "private" | "shared" | "public";
1192
+ pii_tier: "none" | "low" | "moderate" | "high" | "extreme";
1193
+ source_type: "text" | "audio" | "image" | "video" | "mixed";
1194
+ consent_basis: "none" | "consent" | "contract" | "legitimate_interest";
1195
+ profile?: "core" | "extended" | "full" | undefined;
1196
+ updated_at?: string | null | undefined;
1197
+ locale?: string | null | undefined;
1198
+ parent_id?: string | null | undefined;
1199
+ source_context?: string | null | undefined;
1200
+ consent_scope?: string | null | undefined;
1201
+ consent_revoked_at?: string | null | undefined;
1202
+ tags?: string[] | undefined;
1203
+ };
1204
+ constellation: {
1205
+ emotion_primary: "joy" | "sadness" | "fear" | "anger" | "wonder" | "peace" | "tenderness" | "reverence" | "pride" | "anxiety" | "gratitude" | "longing" | "hope" | "shame" | null;
1206
+ emotion_subtone: string[];
1207
+ higher_order_emotion: string | null;
1208
+ meta_emotional_state: string | null;
1209
+ interpersonal_affect: string | null;
1210
+ narrative_arc: "overcoming" | "transformation" | "connection" | "reflection" | "closure" | null;
1211
+ relational_dynamics: "parent_child" | "grandparent_grandchild" | "romantic_partnership" | "couple" | "sibling_bond" | "family" | "friendship" | "friend" | "companionship" | "colleague" | "mentorship" | "reunion" | "community_ritual" | "grief" | "self_reflection" | "professional" | "therapeutic" | "service" | "adversarial" | null;
1212
+ temporal_context: "childhood" | "early_adulthood" | "midlife" | "late_life" | "recent" | "future" | "timeless" | null;
1213
+ memory_type: "reflection" | "legacy_artifact" | "fleeting_moment" | "milestone" | "formative_experience" | null;
1214
+ media_format: "text" | "audio" | "video" | "photo" | "photo_with_story" | null;
1215
+ narrative_archetype: "hero" | "caregiver" | "seeker" | "sage" | "lover" | "outlaw" | "innocent" | "orphan" | "magician" | "creator" | "everyman" | "jester" | "ruler" | "mentor" | null;
1216
+ symbolic_anchor: string | null;
1217
+ relational_perspective: "family" | "self" | "partner" | "friends" | "community" | "humanity" | null;
1218
+ temporal_rhythm: "still" | "sudden" | "rising" | "fading" | "recurring" | "spiraling" | "dragging" | "suspended" | "looping" | "cyclic" | null;
1219
+ identity_thread: string | null;
1220
+ expressed_insight: string | null;
1221
+ transformational_pivot: boolean;
1222
+ somatic_signature: string | null;
1223
+ };
1224
+ milky_way: {
1225
+ event_type: string | null;
1226
+ location_context: string | null;
1227
+ associated_people: string[];
1228
+ visibility_context: "private" | "family_only" | "shared_publicly" | null;
1229
+ tone_shift: string | null;
1230
+ };
1231
+ gravity: {
1232
+ emotional_weight: number;
1233
+ emotional_density: "low" | "high" | "medium" | null;
1234
+ valence: "mixed" | "positive" | "negative" | null;
1235
+ viscosity: "low" | "high" | "medium" | "enduring" | "fluid" | null;
1236
+ gravity_type: string | null;
1237
+ tether_type: "symbol" | "object" | "self" | "person" | "event" | "place" | "ritual" | "tradition" | "identity" | null;
1238
+ recall_triggers: string[];
1239
+ retrieval_keys: string[];
1240
+ nearby_themes: string[];
1241
+ legacy_embed: boolean;
1242
+ recurrence_pattern: "cyclical" | "isolated" | "chronic" | "emerging" | null;
1243
+ strength_score: number;
1244
+ temporal_decay: "moderate" | "fast" | "slow" | null;
1245
+ resilience_markers: string[] | null;
1246
+ adaptation_trajectory: "emerging" | "improving" | "stable" | "declining" | "integrative" | null;
1247
+ };
1248
+ impulse: {
1249
+ primary_energy: string | null;
1250
+ drive_state: "explore" | "approach" | "avoid" | "repair" | "persevere" | "share" | "confront" | "protect" | "process" | null;
1251
+ motivational_orientation: "belonging" | "safety" | "mastery" | "meaning" | "autonomy" | "authenticity" | null;
1252
+ temporal_focus: "future" | "past" | "present" | null;
1253
+ directionality: "inward" | "outward" | "transcendent" | null;
1254
+ social_visibility: "private" | "relational" | "collective" | null;
1255
+ urgency: "calm" | "elevated" | "pressing" | "acute" | null;
1256
+ risk_posture: "cautious" | "balanced" | "bold" | null;
1257
+ agency_level: "low" | "high" | "medium" | null;
1258
+ regulation_state: "regulated" | "wavering" | "dysregulated" | null;
1259
+ attachment_style: "secure" | "anxious" | "avoidant" | "disorganized" | null;
1260
+ coping_style: "confront" | "process" | "reframe_meaning" | "seek_support" | "distract" | "ritualize" | "detach" | null;
1261
+ };
1262
+ governance: {
1263
+ jurisdiction: "GDPR" | "CCPA" | "HIPAA" | "PIPEDA" | "LGPD" | "None" | "Mixed" | null;
1264
+ retention_policy: {
1265
+ basis: "user_defined" | "legal" | "business_need" | null;
1266
+ ttl_days: number | null;
1267
+ on_expiry: "soft_delete" | "hard_delete" | "anonymize" | null;
1268
+ } | null;
1269
+ subject_rights: {
1270
+ portable: boolean;
1271
+ erasable: boolean;
1272
+ explainable: boolean;
1273
+ };
1274
+ exportability: "allowed" | "restricted" | "forbidden";
1275
+ k_anonymity: {
1276
+ k: number | null;
1277
+ groups: string[];
1278
+ } | null;
1279
+ policy_labels: ("none" | "sensitive" | "children" | "health" | "biometrics" | "financial")[];
1280
+ masking_rules: string[];
1281
+ };
1282
+ telemetry: {
1283
+ entry_confidence: number;
1284
+ extraction_model: string | null;
1285
+ extraction_notes: string | null;
1286
+ alignment_delta: number | null;
1287
+ extraction_provider?: "anthropic" | "openai" | "kimi" | null | undefined;
1288
+ };
1289
+ system: {
1290
+ embeddings: {
1291
+ provider: string;
1292
+ sector: string;
1293
+ dim: number;
1294
+ quantized: boolean;
1295
+ vector_ref: string;
1296
+ }[];
1297
+ indices: {
1298
+ waypoint_ids: string[];
1299
+ sector_weights: {
1300
+ episodic: number;
1301
+ semantic: number;
1302
+ procedural: number;
1303
+ emotional: number;
1304
+ reflective: number;
1305
+ };
1306
+ };
1307
+ };
1308
+ crosswalks: {
1309
+ plutchik_primary: string | null;
1310
+ geneva_emotion_wheel: string | null;
1311
+ DSM5_specifiers: string | null;
1312
+ HMD_v2_memory_type: string | null;
1313
+ ISO_27557_labels: string | null;
1314
+ };
1315
+ }>;
1316
+ export declare const LlmExtractedFieldsSchema: z.ZodObject<{
1317
+ core: z.ZodObject<{
1318
+ anchor: z.ZodNullable<z.ZodString>;
1319
+ spark: z.ZodNullable<z.ZodString>;
1320
+ wound: z.ZodNullable<z.ZodString>;
1321
+ fuel: z.ZodNullable<z.ZodString>;
1322
+ bridge: z.ZodNullable<z.ZodString>;
1323
+ echo: z.ZodNullable<z.ZodString>;
1324
+ narrative: z.ZodNullable<z.ZodString>;
1325
+ }, "strip", z.ZodTypeAny, {
1326
+ anchor: string | null;
1327
+ spark: string | null;
1328
+ wound: string | null;
1329
+ fuel: string | null;
1330
+ bridge: string | null;
1331
+ echo: string | null;
1332
+ narrative: string | null;
1333
+ }, {
1334
+ anchor: string | null;
1335
+ spark: string | null;
1336
+ wound: string | null;
1337
+ fuel: string | null;
1338
+ bridge: string | null;
1339
+ echo: string | null;
1340
+ narrative: string | null;
1341
+ }>;
1342
+ constellation: z.ZodObject<{
1343
+ emotion_primary: z.ZodNullable<z.ZodEnum<["joy", "sadness", "fear", "anger", "wonder", "peace", "tenderness", "reverence", "pride", "anxiety", "gratitude", "longing", "hope", "shame"]>>;
1344
+ emotion_subtone: z.ZodArray<z.ZodString, "many">;
1345
+ higher_order_emotion: z.ZodNullable<z.ZodString>;
1346
+ meta_emotional_state: z.ZodNullable<z.ZodString>;
1347
+ interpersonal_affect: z.ZodNullable<z.ZodString>;
1348
+ narrative_arc: z.ZodNullable<z.ZodEnum<["overcoming", "transformation", "connection", "reflection", "closure"]>>;
1349
+ relational_dynamics: z.ZodNullable<z.ZodEnum<["parent_child", "grandparent_grandchild", "romantic_partnership", "couple", "sibling_bond", "family", "friendship", "friend", "companionship", "colleague", "mentorship", "reunion", "community_ritual", "grief", "self_reflection", "professional", "therapeutic", "service", "adversarial"]>>;
1350
+ temporal_context: z.ZodNullable<z.ZodEnum<["childhood", "early_adulthood", "midlife", "late_life", "recent", "future", "timeless"]>>;
1351
+ memory_type: z.ZodNullable<z.ZodEnum<["legacy_artifact", "fleeting_moment", "milestone", "reflection", "formative_experience"]>>;
1352
+ media_format: z.ZodNullable<z.ZodEnum<["photo", "video", "audio", "text", "photo_with_story"]>>;
1353
+ narrative_archetype: z.ZodNullable<z.ZodEnum<["hero", "caregiver", "seeker", "sage", "lover", "outlaw", "innocent", "orphan", "magician", "creator", "everyman", "jester", "ruler", "mentor"]>>;
1354
+ symbolic_anchor: z.ZodNullable<z.ZodString>;
1355
+ relational_perspective: z.ZodNullable<z.ZodEnum<["self", "partner", "family", "friends", "community", "humanity"]>>;
1356
+ temporal_rhythm: z.ZodNullable<z.ZodEnum<["still", "sudden", "rising", "fading", "recurring", "spiraling", "dragging", "suspended", "looping", "cyclic"]>>;
1357
+ identity_thread: z.ZodNullable<z.ZodString>;
1358
+ expressed_insight: z.ZodNullable<z.ZodString>;
1359
+ transformational_pivot: z.ZodBoolean;
1360
+ somatic_signature: z.ZodNullable<z.ZodString>;
1361
+ }, "strip", z.ZodTypeAny, {
1362
+ emotion_primary: "joy" | "sadness" | "fear" | "anger" | "wonder" | "peace" | "tenderness" | "reverence" | "pride" | "anxiety" | "gratitude" | "longing" | "hope" | "shame" | null;
1363
+ emotion_subtone: string[];
1364
+ higher_order_emotion: string | null;
1365
+ meta_emotional_state: string | null;
1366
+ interpersonal_affect: string | null;
1367
+ narrative_arc: "overcoming" | "transformation" | "connection" | "reflection" | "closure" | null;
1368
+ relational_dynamics: "parent_child" | "grandparent_grandchild" | "romantic_partnership" | "couple" | "sibling_bond" | "family" | "friendship" | "friend" | "companionship" | "colleague" | "mentorship" | "reunion" | "community_ritual" | "grief" | "self_reflection" | "professional" | "therapeutic" | "service" | "adversarial" | null;
1369
+ temporal_context: "childhood" | "early_adulthood" | "midlife" | "late_life" | "recent" | "future" | "timeless" | null;
1370
+ memory_type: "reflection" | "legacy_artifact" | "fleeting_moment" | "milestone" | "formative_experience" | null;
1371
+ media_format: "text" | "audio" | "video" | "photo" | "photo_with_story" | null;
1372
+ narrative_archetype: "hero" | "caregiver" | "seeker" | "sage" | "lover" | "outlaw" | "innocent" | "orphan" | "magician" | "creator" | "everyman" | "jester" | "ruler" | "mentor" | null;
1373
+ symbolic_anchor: string | null;
1374
+ relational_perspective: "family" | "self" | "partner" | "friends" | "community" | "humanity" | null;
1375
+ temporal_rhythm: "still" | "sudden" | "rising" | "fading" | "recurring" | "spiraling" | "dragging" | "suspended" | "looping" | "cyclic" | null;
1376
+ identity_thread: string | null;
1377
+ expressed_insight: string | null;
1378
+ transformational_pivot: boolean;
1379
+ somatic_signature: string | null;
1380
+ }, {
1381
+ emotion_primary: "joy" | "sadness" | "fear" | "anger" | "wonder" | "peace" | "tenderness" | "reverence" | "pride" | "anxiety" | "gratitude" | "longing" | "hope" | "shame" | null;
1382
+ emotion_subtone: string[];
1383
+ higher_order_emotion: string | null;
1384
+ meta_emotional_state: string | null;
1385
+ interpersonal_affect: string | null;
1386
+ narrative_arc: "overcoming" | "transformation" | "connection" | "reflection" | "closure" | null;
1387
+ relational_dynamics: "parent_child" | "grandparent_grandchild" | "romantic_partnership" | "couple" | "sibling_bond" | "family" | "friendship" | "friend" | "companionship" | "colleague" | "mentorship" | "reunion" | "community_ritual" | "grief" | "self_reflection" | "professional" | "therapeutic" | "service" | "adversarial" | null;
1388
+ temporal_context: "childhood" | "early_adulthood" | "midlife" | "late_life" | "recent" | "future" | "timeless" | null;
1389
+ memory_type: "reflection" | "legacy_artifact" | "fleeting_moment" | "milestone" | "formative_experience" | null;
1390
+ media_format: "text" | "audio" | "video" | "photo" | "photo_with_story" | null;
1391
+ narrative_archetype: "hero" | "caregiver" | "seeker" | "sage" | "lover" | "outlaw" | "innocent" | "orphan" | "magician" | "creator" | "everyman" | "jester" | "ruler" | "mentor" | null;
1392
+ symbolic_anchor: string | null;
1393
+ relational_perspective: "family" | "self" | "partner" | "friends" | "community" | "humanity" | null;
1394
+ temporal_rhythm: "still" | "sudden" | "rising" | "fading" | "recurring" | "spiraling" | "dragging" | "suspended" | "looping" | "cyclic" | null;
1395
+ identity_thread: string | null;
1396
+ expressed_insight: string | null;
1397
+ transformational_pivot: boolean;
1398
+ somatic_signature: string | null;
1399
+ }>;
1400
+ milky_way: z.ZodObject<{
1401
+ event_type: z.ZodNullable<z.ZodString>;
1402
+ location_context: z.ZodNullable<z.ZodString>;
1403
+ associated_people: z.ZodArray<z.ZodString, "many">;
1404
+ visibility_context: z.ZodNullable<z.ZodEnum<["private", "family_only", "shared_publicly"]>>;
1405
+ tone_shift: z.ZodNullable<z.ZodString>;
1406
+ }, "strip", z.ZodTypeAny, {
1407
+ event_type: string | null;
1408
+ location_context: string | null;
1409
+ associated_people: string[];
1410
+ visibility_context: "private" | "family_only" | "shared_publicly" | null;
1411
+ tone_shift: string | null;
1412
+ }, {
1413
+ event_type: string | null;
1414
+ location_context: string | null;
1415
+ associated_people: string[];
1416
+ visibility_context: "private" | "family_only" | "shared_publicly" | null;
1417
+ tone_shift: string | null;
1418
+ }>;
1419
+ gravity: z.ZodObject<{
1420
+ emotional_weight: z.ZodNumber;
1421
+ emotional_density: z.ZodNullable<z.ZodEnum<["low", "medium", "high"]>>;
1422
+ valence: z.ZodNullable<z.ZodEnum<["positive", "negative", "mixed"]>>;
1423
+ viscosity: z.ZodNullable<z.ZodEnum<["low", "medium", "high", "enduring", "fluid"]>>;
1424
+ gravity_type: z.ZodNullable<z.ZodString>;
1425
+ tether_type: z.ZodNullable<z.ZodEnum<["person", "symbol", "event", "place", "ritual", "object", "tradition", "identity", "self"]>>;
1426
+ recall_triggers: z.ZodArray<z.ZodString, "many">;
1427
+ retrieval_keys: z.ZodArray<z.ZodString, "many">;
1428
+ nearby_themes: z.ZodArray<z.ZodString, "many">;
1429
+ legacy_embed: z.ZodBoolean;
1430
+ recurrence_pattern: z.ZodNullable<z.ZodEnum<["cyclical", "isolated", "chronic", "emerging"]>>;
1431
+ strength_score: z.ZodNumber;
1432
+ temporal_decay: z.ZodNullable<z.ZodEnum<["fast", "moderate", "slow"]>>;
1433
+ resilience_markers: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
1434
+ adaptation_trajectory: z.ZodNullable<z.ZodEnum<["improving", "stable", "declining", "integrative", "emerging"]>>;
1435
+ }, "strip", z.ZodTypeAny, {
1436
+ emotional_weight: number;
1437
+ emotional_density: "low" | "high" | "medium" | null;
1438
+ valence: "mixed" | "positive" | "negative" | null;
1439
+ viscosity: "low" | "high" | "medium" | "enduring" | "fluid" | null;
1440
+ gravity_type: string | null;
1441
+ tether_type: "symbol" | "object" | "self" | "person" | "event" | "place" | "ritual" | "tradition" | "identity" | null;
1442
+ recall_triggers: string[];
1443
+ retrieval_keys: string[];
1444
+ nearby_themes: string[];
1445
+ legacy_embed: boolean;
1446
+ recurrence_pattern: "cyclical" | "isolated" | "chronic" | "emerging" | null;
1447
+ strength_score: number;
1448
+ temporal_decay: "moderate" | "fast" | "slow" | null;
1449
+ resilience_markers: string[] | null;
1450
+ adaptation_trajectory: "emerging" | "improving" | "stable" | "declining" | "integrative" | null;
1451
+ }, {
1452
+ emotional_weight: number;
1453
+ emotional_density: "low" | "high" | "medium" | null;
1454
+ valence: "mixed" | "positive" | "negative" | null;
1455
+ viscosity: "low" | "high" | "medium" | "enduring" | "fluid" | null;
1456
+ gravity_type: string | null;
1457
+ tether_type: "symbol" | "object" | "self" | "person" | "event" | "place" | "ritual" | "tradition" | "identity" | null;
1458
+ recall_triggers: string[];
1459
+ retrieval_keys: string[];
1460
+ nearby_themes: string[];
1461
+ legacy_embed: boolean;
1462
+ recurrence_pattern: "cyclical" | "isolated" | "chronic" | "emerging" | null;
1463
+ strength_score: number;
1464
+ temporal_decay: "moderate" | "fast" | "slow" | null;
1465
+ resilience_markers: string[] | null;
1466
+ adaptation_trajectory: "emerging" | "improving" | "stable" | "declining" | "integrative" | null;
1467
+ }>;
1468
+ impulse: z.ZodObject<{
1469
+ primary_energy: z.ZodNullable<z.ZodString>;
1470
+ drive_state: z.ZodNullable<z.ZodEnum<["explore", "approach", "avoid", "repair", "persevere", "share", "confront", "protect", "process"]>>;
1471
+ motivational_orientation: z.ZodNullable<z.ZodEnum<["belonging", "safety", "mastery", "meaning", "autonomy", "authenticity"]>>;
1472
+ temporal_focus: z.ZodNullable<z.ZodEnum<["past", "present", "future"]>>;
1473
+ directionality: z.ZodNullable<z.ZodEnum<["inward", "outward", "transcendent"]>>;
1474
+ social_visibility: z.ZodNullable<z.ZodEnum<["private", "relational", "collective"]>>;
1475
+ urgency: z.ZodNullable<z.ZodEnum<["calm", "elevated", "pressing", "acute"]>>;
1476
+ risk_posture: z.ZodNullable<z.ZodEnum<["cautious", "balanced", "bold"]>>;
1477
+ agency_level: z.ZodNullable<z.ZodEnum<["low", "medium", "high"]>>;
1478
+ regulation_state: z.ZodNullable<z.ZodEnum<["regulated", "wavering", "dysregulated"]>>;
1479
+ attachment_style: z.ZodNullable<z.ZodEnum<["secure", "anxious", "avoidant", "disorganized"]>>;
1480
+ coping_style: z.ZodNullable<z.ZodEnum<["reframe_meaning", "seek_support", "distract", "ritualize", "confront", "detach", "process"]>>;
1481
+ }, "strip", z.ZodTypeAny, {
1482
+ primary_energy: string | null;
1483
+ drive_state: "explore" | "approach" | "avoid" | "repair" | "persevere" | "share" | "confront" | "protect" | "process" | null;
1484
+ motivational_orientation: "belonging" | "safety" | "mastery" | "meaning" | "autonomy" | "authenticity" | null;
1485
+ temporal_focus: "future" | "past" | "present" | null;
1486
+ directionality: "inward" | "outward" | "transcendent" | null;
1487
+ social_visibility: "private" | "relational" | "collective" | null;
1488
+ urgency: "calm" | "elevated" | "pressing" | "acute" | null;
1489
+ risk_posture: "cautious" | "balanced" | "bold" | null;
1490
+ agency_level: "low" | "high" | "medium" | null;
1491
+ regulation_state: "regulated" | "wavering" | "dysregulated" | null;
1492
+ attachment_style: "secure" | "anxious" | "avoidant" | "disorganized" | null;
1493
+ coping_style: "confront" | "process" | "reframe_meaning" | "seek_support" | "distract" | "ritualize" | "detach" | null;
1494
+ }, {
1495
+ primary_energy: string | null;
1496
+ drive_state: "explore" | "approach" | "avoid" | "repair" | "persevere" | "share" | "confront" | "protect" | "process" | null;
1497
+ motivational_orientation: "belonging" | "safety" | "mastery" | "meaning" | "autonomy" | "authenticity" | null;
1498
+ temporal_focus: "future" | "past" | "present" | null;
1499
+ directionality: "inward" | "outward" | "transcendent" | null;
1500
+ social_visibility: "private" | "relational" | "collective" | null;
1501
+ urgency: "calm" | "elevated" | "pressing" | "acute" | null;
1502
+ risk_posture: "cautious" | "balanced" | "bold" | null;
1503
+ agency_level: "low" | "high" | "medium" | null;
1504
+ regulation_state: "regulated" | "wavering" | "dysregulated" | null;
1505
+ attachment_style: "secure" | "anxious" | "avoidant" | "disorganized" | null;
1506
+ coping_style: "confront" | "process" | "reframe_meaning" | "seek_support" | "distract" | "ritualize" | "detach" | null;
1507
+ }>;
1508
+ }, "strip", z.ZodTypeAny, {
1509
+ core: {
1510
+ anchor: string | null;
1511
+ spark: string | null;
1512
+ wound: string | null;
1513
+ fuel: string | null;
1514
+ bridge: string | null;
1515
+ echo: string | null;
1516
+ narrative: string | null;
1517
+ };
1518
+ constellation: {
1519
+ emotion_primary: "joy" | "sadness" | "fear" | "anger" | "wonder" | "peace" | "tenderness" | "reverence" | "pride" | "anxiety" | "gratitude" | "longing" | "hope" | "shame" | null;
1520
+ emotion_subtone: string[];
1521
+ higher_order_emotion: string | null;
1522
+ meta_emotional_state: string | null;
1523
+ interpersonal_affect: string | null;
1524
+ narrative_arc: "overcoming" | "transformation" | "connection" | "reflection" | "closure" | null;
1525
+ relational_dynamics: "parent_child" | "grandparent_grandchild" | "romantic_partnership" | "couple" | "sibling_bond" | "family" | "friendship" | "friend" | "companionship" | "colleague" | "mentorship" | "reunion" | "community_ritual" | "grief" | "self_reflection" | "professional" | "therapeutic" | "service" | "adversarial" | null;
1526
+ temporal_context: "childhood" | "early_adulthood" | "midlife" | "late_life" | "recent" | "future" | "timeless" | null;
1527
+ memory_type: "reflection" | "legacy_artifact" | "fleeting_moment" | "milestone" | "formative_experience" | null;
1528
+ media_format: "text" | "audio" | "video" | "photo" | "photo_with_story" | null;
1529
+ narrative_archetype: "hero" | "caregiver" | "seeker" | "sage" | "lover" | "outlaw" | "innocent" | "orphan" | "magician" | "creator" | "everyman" | "jester" | "ruler" | "mentor" | null;
1530
+ symbolic_anchor: string | null;
1531
+ relational_perspective: "family" | "self" | "partner" | "friends" | "community" | "humanity" | null;
1532
+ temporal_rhythm: "still" | "sudden" | "rising" | "fading" | "recurring" | "spiraling" | "dragging" | "suspended" | "looping" | "cyclic" | null;
1533
+ identity_thread: string | null;
1534
+ expressed_insight: string | null;
1535
+ transformational_pivot: boolean;
1536
+ somatic_signature: string | null;
1537
+ };
1538
+ milky_way: {
1539
+ event_type: string | null;
1540
+ location_context: string | null;
1541
+ associated_people: string[];
1542
+ visibility_context: "private" | "family_only" | "shared_publicly" | null;
1543
+ tone_shift: string | null;
1544
+ };
1545
+ gravity: {
1546
+ emotional_weight: number;
1547
+ emotional_density: "low" | "high" | "medium" | null;
1548
+ valence: "mixed" | "positive" | "negative" | null;
1549
+ viscosity: "low" | "high" | "medium" | "enduring" | "fluid" | null;
1550
+ gravity_type: string | null;
1551
+ tether_type: "symbol" | "object" | "self" | "person" | "event" | "place" | "ritual" | "tradition" | "identity" | null;
1552
+ recall_triggers: string[];
1553
+ retrieval_keys: string[];
1554
+ nearby_themes: string[];
1555
+ legacy_embed: boolean;
1556
+ recurrence_pattern: "cyclical" | "isolated" | "chronic" | "emerging" | null;
1557
+ strength_score: number;
1558
+ temporal_decay: "moderate" | "fast" | "slow" | null;
1559
+ resilience_markers: string[] | null;
1560
+ adaptation_trajectory: "emerging" | "improving" | "stable" | "declining" | "integrative" | null;
1561
+ };
1562
+ impulse: {
1563
+ primary_energy: string | null;
1564
+ drive_state: "explore" | "approach" | "avoid" | "repair" | "persevere" | "share" | "confront" | "protect" | "process" | null;
1565
+ motivational_orientation: "belonging" | "safety" | "mastery" | "meaning" | "autonomy" | "authenticity" | null;
1566
+ temporal_focus: "future" | "past" | "present" | null;
1567
+ directionality: "inward" | "outward" | "transcendent" | null;
1568
+ social_visibility: "private" | "relational" | "collective" | null;
1569
+ urgency: "calm" | "elevated" | "pressing" | "acute" | null;
1570
+ risk_posture: "cautious" | "balanced" | "bold" | null;
1571
+ agency_level: "low" | "high" | "medium" | null;
1572
+ regulation_state: "regulated" | "wavering" | "dysregulated" | null;
1573
+ attachment_style: "secure" | "anxious" | "avoidant" | "disorganized" | null;
1574
+ coping_style: "confront" | "process" | "reframe_meaning" | "seek_support" | "distract" | "ritualize" | "detach" | null;
1575
+ };
1576
+ }, {
1577
+ core: {
1578
+ anchor: string | null;
1579
+ spark: string | null;
1580
+ wound: string | null;
1581
+ fuel: string | null;
1582
+ bridge: string | null;
1583
+ echo: string | null;
1584
+ narrative: string | null;
1585
+ };
1586
+ constellation: {
1587
+ emotion_primary: "joy" | "sadness" | "fear" | "anger" | "wonder" | "peace" | "tenderness" | "reverence" | "pride" | "anxiety" | "gratitude" | "longing" | "hope" | "shame" | null;
1588
+ emotion_subtone: string[];
1589
+ higher_order_emotion: string | null;
1590
+ meta_emotional_state: string | null;
1591
+ interpersonal_affect: string | null;
1592
+ narrative_arc: "overcoming" | "transformation" | "connection" | "reflection" | "closure" | null;
1593
+ relational_dynamics: "parent_child" | "grandparent_grandchild" | "romantic_partnership" | "couple" | "sibling_bond" | "family" | "friendship" | "friend" | "companionship" | "colleague" | "mentorship" | "reunion" | "community_ritual" | "grief" | "self_reflection" | "professional" | "therapeutic" | "service" | "adversarial" | null;
1594
+ temporal_context: "childhood" | "early_adulthood" | "midlife" | "late_life" | "recent" | "future" | "timeless" | null;
1595
+ memory_type: "reflection" | "legacy_artifact" | "fleeting_moment" | "milestone" | "formative_experience" | null;
1596
+ media_format: "text" | "audio" | "video" | "photo" | "photo_with_story" | null;
1597
+ narrative_archetype: "hero" | "caregiver" | "seeker" | "sage" | "lover" | "outlaw" | "innocent" | "orphan" | "magician" | "creator" | "everyman" | "jester" | "ruler" | "mentor" | null;
1598
+ symbolic_anchor: string | null;
1599
+ relational_perspective: "family" | "self" | "partner" | "friends" | "community" | "humanity" | null;
1600
+ temporal_rhythm: "still" | "sudden" | "rising" | "fading" | "recurring" | "spiraling" | "dragging" | "suspended" | "looping" | "cyclic" | null;
1601
+ identity_thread: string | null;
1602
+ expressed_insight: string | null;
1603
+ transformational_pivot: boolean;
1604
+ somatic_signature: string | null;
1605
+ };
1606
+ milky_way: {
1607
+ event_type: string | null;
1608
+ location_context: string | null;
1609
+ associated_people: string[];
1610
+ visibility_context: "private" | "family_only" | "shared_publicly" | null;
1611
+ tone_shift: string | null;
1612
+ };
1613
+ gravity: {
1614
+ emotional_weight: number;
1615
+ emotional_density: "low" | "high" | "medium" | null;
1616
+ valence: "mixed" | "positive" | "negative" | null;
1617
+ viscosity: "low" | "high" | "medium" | "enduring" | "fluid" | null;
1618
+ gravity_type: string | null;
1619
+ tether_type: "symbol" | "object" | "self" | "person" | "event" | "place" | "ritual" | "tradition" | "identity" | null;
1620
+ recall_triggers: string[];
1621
+ retrieval_keys: string[];
1622
+ nearby_themes: string[];
1623
+ legacy_embed: boolean;
1624
+ recurrence_pattern: "cyclical" | "isolated" | "chronic" | "emerging" | null;
1625
+ strength_score: number;
1626
+ temporal_decay: "moderate" | "fast" | "slow" | null;
1627
+ resilience_markers: string[] | null;
1628
+ adaptation_trajectory: "emerging" | "improving" | "stable" | "declining" | "integrative" | null;
1629
+ };
1630
+ impulse: {
1631
+ primary_energy: string | null;
1632
+ drive_state: "explore" | "approach" | "avoid" | "repair" | "persevere" | "share" | "confront" | "protect" | "process" | null;
1633
+ motivational_orientation: "belonging" | "safety" | "mastery" | "meaning" | "autonomy" | "authenticity" | null;
1634
+ temporal_focus: "future" | "past" | "present" | null;
1635
+ directionality: "inward" | "outward" | "transcendent" | null;
1636
+ social_visibility: "private" | "relational" | "collective" | null;
1637
+ urgency: "calm" | "elevated" | "pressing" | "acute" | null;
1638
+ risk_posture: "cautious" | "balanced" | "bold" | null;
1639
+ agency_level: "low" | "high" | "medium" | null;
1640
+ regulation_state: "regulated" | "wavering" | "dysregulated" | null;
1641
+ attachment_style: "secure" | "anxious" | "avoidant" | "disorganized" | null;
1642
+ coping_style: "confront" | "process" | "reframe_meaning" | "seek_support" | "distract" | "ritualize" | "detach" | null;
1643
+ };
1644
+ }>;
1645
+ //# sourceMappingURL=edm-schema.d.ts.map