@remnic/core 9.69.13 → 9.69.14

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 (38) hide show
  1. package/dist/access-admin-ops-surface.d.ts +1 -1
  2. package/dist/access-authorization-probe.d.ts +1 -1
  3. package/dist/access-boundary.d.ts +1 -1
  4. package/dist/access-extraction-force-flush.d.ts +1 -1
  5. package/dist/access-http-lcm-compaction.d.ts +1 -1
  6. package/dist/access-http-lifecycle-flush.d.ts +1 -1
  7. package/dist/access-http-offline-stream.d.ts +1 -1
  8. package/dist/access-http.d.ts +2 -2
  9. package/dist/access-lcm-surface.d.ts +1 -1
  10. package/dist/access-mcp.d.ts +1 -1
  11. package/dist/access-observe-write-surface.d.ts +1 -1
  12. package/dist/access-operations.d.ts +6 -6
  13. package/dist/access-recall-concurrency.d.ts +1 -1
  14. package/dist/access-recall-response.d.ts +1 -1
  15. package/dist/access-recall-surface.d.ts +1 -1
  16. package/dist/access-schema.d.ts +91 -91
  17. package/dist/access-service-helpers.d.ts +1 -1
  18. package/dist/access-service.d.ts +1 -1
  19. package/dist/access-surface-catalog.d.ts +1 -1
  20. package/dist/{cli-DXXy60A4.d.ts → cli-BI9YYpKx.d.ts} +1 -1
  21. package/dist/cli.d.ts +2 -2
  22. package/dist/deep-recall-http-glue.d.ts +1 -1
  23. package/dist/deep-recall-mcp-tools.d.ts +1 -1
  24. package/dist/external-wiki-access.d.ts +1 -1
  25. package/dist/external-wiki-mcp-tools.d.ts +1 -1
  26. package/dist/index.d.ts +680 -680
  27. package/dist/mcp-memory-inspector-app.d.ts +1 -1
  28. package/dist/memory-subject-cli.d.ts +1 -1
  29. package/dist/memory-subject.d.ts +1 -1
  30. package/dist/{public-http-NQ3UUp6W.d.ts → public-http-Bocro5ZU.d.ts} +1 -1
  31. package/dist/schemas.d.ts +176 -176
  32. package/dist/shared-context/manager.d.ts +6 -6
  33. package/dist/support-passport/index.d.ts +4 -4
  34. package/dist/transfer/types.d.ts +78 -78
  35. package/dist/who-knows-cli.d.ts +1 -1
  36. package/dist/who-knows.d.ts +1 -1
  37. package/package.json +2 -2
  38. package/dist/{access-service-Bb2Fykzc.d.ts → access-service-tcC_jK6C.d.ts} +64 -64
package/dist/schemas.d.ts CHANGED
@@ -7,15 +7,15 @@ declare const MemoryActionEligibilityContextSchema: z.ZodObject<{
7
7
  importance: z.ZodNumber;
8
8
  source: z.ZodEnum<["extraction", "consolidation", "replay", "manual", "unknown"]>;
9
9
  }, "strict", z.ZodTypeAny, {
10
- source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
10
+ source: "manual" | "unknown" | "extraction" | "consolidation" | "replay";
11
11
  confidence: number;
12
+ lifecycleState: "stale" | "active" | "archived" | "candidate" | "validated";
12
13
  importance: number;
13
- lifecycleState: "active" | "archived" | "stale" | "candidate" | "validated";
14
14
  }, {
15
- source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
15
+ source: "manual" | "unknown" | "extraction" | "consolidation" | "replay";
16
16
  confidence: number;
17
+ lifecycleState: "stale" | "active" | "archived" | "candidate" | "validated";
17
18
  importance: number;
18
- lifecycleState: "active" | "archived" | "stale" | "candidate" | "validated";
19
19
  }>;
20
20
  declare function parseMemoryActionType(value: unknown): z.infer<typeof MemoryActionTypeSchema>;
21
21
  declare function parseMemoryActionEligibilityContext(value: unknown): z.infer<typeof MemoryActionEligibilityContextSchema>;
@@ -63,11 +63,11 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
63
63
  type: z.ZodEnum<["entity", "file", "tool", "outcome", "constraint", "date"]>;
64
64
  value: z.ZodString;
65
65
  }, "strip", z.ZodTypeAny, {
66
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
67
66
  value: string;
67
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
68
68
  }, {
69
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
70
69
  value: string;
70
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
71
71
  }>, "many">>>;
72
72
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
73
73
  scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
@@ -113,11 +113,11 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
113
113
  order: z.ZodNumber;
114
114
  description: z.ZodString;
115
115
  }, "strip", z.ZodTypeAny, {
116
- description: string;
117
116
  order: number;
118
- }, {
119
117
  description: string;
118
+ }, {
120
119
  order: number;
120
+ description: string;
121
121
  }>, "many">;
122
122
  finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
123
123
  final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -125,8 +125,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
125
125
  observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
126
126
  }, "strip", z.ZodTypeAny, {
127
127
  steps: {
128
- description: string;
129
128
  order: number;
129
+ description: string;
130
130
  }[];
131
131
  finalAnswer?: string | null | undefined;
132
132
  final_answer?: string | null | undefined;
@@ -134,8 +134,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
134
134
  observed_outcome?: string | null | undefined;
135
135
  }, {
136
136
  steps: {
137
- description: string;
138
137
  order: number;
138
+ description: string;
139
139
  }[];
140
140
  finalAnswer?: string | null | undefined;
141
141
  final_answer?: string | null | undefined;
@@ -143,8 +143,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
143
143
  observed_outcome?: string | null | undefined;
144
144
  }>, {
145
145
  steps: {
146
- description: string;
147
146
  order: number;
147
+ description: string;
148
148
  }[];
149
149
  finalAnswer?: string | null | undefined;
150
150
  final_answer?: string | null | undefined;
@@ -152,8 +152,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
152
152
  observed_outcome?: string | null | undefined;
153
153
  }, {
154
154
  steps: {
155
- description: string;
156
155
  order: number;
156
+ description: string;
157
157
  }[];
158
158
  finalAnswer?: string | null | undefined;
159
159
  final_answer?: string | null | undefined;
@@ -163,17 +163,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
163
163
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
164
164
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
165
165
  }, "strip", z.ZodTypeAny, {
166
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
166
+ tags: string[];
167
167
  content: string;
168
168
  confidence: number;
169
- tags: string[];
169
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
170
+ scope?: "project" | "global" | null | undefined;
170
171
  subject?: "user" | "agent" | null | undefined;
171
172
  entityRef?: string | null | undefined;
172
173
  structuredAttributes?: Record<string, string> | null | undefined;
173
- scope?: "project" | "global" | null | undefined;
174
174
  cueAnchors?: {
175
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
176
175
  value: string;
176
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
177
177
  }[] | null | undefined;
178
178
  promptedByQuestion?: string | null | undefined;
179
179
  quote?: string | null | undefined;
@@ -189,8 +189,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
189
189
  }[] | null | undefined;
190
190
  reasoningTrace?: {
191
191
  steps: {
192
- description: string;
193
192
  order: number;
193
+ description: string;
194
194
  }[];
195
195
  finalAnswer?: string | null | undefined;
196
196
  final_answer?: string | null | undefined;
@@ -200,17 +200,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
200
200
  eventTime?: string | null | undefined;
201
201
  event_time?: string | null | undefined;
202
202
  }, {
203
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
203
+ tags: string[];
204
204
  content: string;
205
205
  confidence: number;
206
- tags: string[];
206
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
207
+ scope?: "project" | "global" | null | undefined;
207
208
  subject?: "user" | "agent" | null | undefined;
208
209
  entityRef?: string | null | undefined;
209
210
  structuredAttributes?: Record<string, string> | null | undefined;
210
- scope?: "project" | "global" | null | undefined;
211
211
  cueAnchors?: {
212
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
213
212
  value: string;
213
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
214
214
  }[] | null | undefined;
215
215
  promptedByQuestion?: string | null | undefined;
216
216
  quote?: string | null | undefined;
@@ -226,8 +226,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
226
226
  }[] | null | undefined;
227
227
  reasoningTrace?: {
228
228
  steps: {
229
- description: string;
230
229
  order: number;
230
+ description: string;
231
231
  }[];
232
232
  finalAnswer?: string | null | undefined;
233
233
  final_answer?: string | null | undefined;
@@ -237,17 +237,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
237
237
  eventTime?: string | null | undefined;
238
238
  event_time?: string | null | undefined;
239
239
  }>, {
240
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
240
+ tags: string[];
241
241
  content: string;
242
242
  confidence: number;
243
- tags: string[];
243
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
244
+ scope?: "project" | "global" | null | undefined;
244
245
  subject?: "user" | "agent" | null | undefined;
245
246
  entityRef?: string | null | undefined;
246
247
  structuredAttributes?: Record<string, string> | null | undefined;
247
- scope?: "project" | "global" | null | undefined;
248
248
  cueAnchors?: {
249
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
250
249
  value: string;
250
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
251
251
  }[] | null | undefined;
252
252
  promptedByQuestion?: string | null | undefined;
253
253
  quote?: string | null | undefined;
@@ -263,8 +263,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
263
263
  }[] | null | undefined;
264
264
  reasoningTrace?: {
265
265
  steps: {
266
- description: string;
267
266
  order: number;
267
+ description: string;
268
268
  }[];
269
269
  finalAnswer?: string | null | undefined;
270
270
  final_answer?: string | null | undefined;
@@ -274,17 +274,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
274
274
  eventTime?: string | null | undefined;
275
275
  event_time?: string | null | undefined;
276
276
  }, {
277
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
277
+ tags: string[];
278
278
  content: string;
279
279
  confidence: number;
280
- tags: string[];
280
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
281
+ scope?: "project" | "global" | null | undefined;
281
282
  subject?: "user" | "agent" | null | undefined;
282
283
  entityRef?: string | null | undefined;
283
284
  structuredAttributes?: Record<string, string> | null | undefined;
284
- scope?: "project" | "global" | null | undefined;
285
285
  cueAnchors?: {
286
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
287
286
  value: string;
287
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
288
288
  }[] | null | undefined;
289
289
  promptedByQuestion?: string | null | undefined;
290
290
  quote?: string | null | undefined;
@@ -300,8 +300,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
300
300
  }[] | null | undefined;
301
301
  reasoningTrace?: {
302
302
  steps: {
303
- description: string;
304
303
  order: number;
304
+ description: string;
305
305
  }[];
306
306
  finalAnswer?: string | null | undefined;
307
307
  final_answer?: string | null | undefined;
@@ -321,32 +321,32 @@ declare const EntityMentionSchema: z.ZodObject<{
321
321
  title: z.ZodString;
322
322
  facts: z.ZodArray<z.ZodString, "many">;
323
323
  }, "strip", z.ZodTypeAny, {
324
- key: string;
325
324
  title: string;
325
+ key: string;
326
326
  facts: string[];
327
327
  }, {
328
- key: string;
329
328
  title: string;
329
+ key: string;
330
330
  facts: string[];
331
331
  }>, "many">>>;
332
332
  }, "strip", z.ZodTypeAny, {
333
- type: "project" | "other" | "tool" | "person" | "company" | "place";
334
333
  name: string;
334
+ type: "project" | "other" | "tool" | "person" | "company" | "place";
335
335
  facts: string[];
336
336
  promptedByQuestion?: string | null | undefined;
337
337
  structuredSections?: {
338
- key: string;
339
338
  title: string;
339
+ key: string;
340
340
  facts: string[];
341
341
  }[] | null | undefined;
342
342
  }, {
343
- type: "project" | "other" | "tool" | "person" | "company" | "place";
344
343
  name: string;
344
+ type: "project" | "other" | "tool" | "person" | "company" | "place";
345
345
  facts: string[];
346
346
  promptedByQuestion?: string | null | undefined;
347
347
  structuredSections?: {
348
- key: string;
349
348
  title: string;
349
+ key: string;
350
350
  facts: string[];
351
351
  }[] | null | undefined;
352
352
  }>;
@@ -396,13 +396,13 @@ declare const ExtractedRelationshipSchema: z.ZodObject<{
396
396
  label: z.ZodString;
397
397
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
398
398
  }, "strip", z.ZodTypeAny, {
399
- label: string;
400
399
  source: string;
400
+ label: string;
401
401
  target: string;
402
402
  promptedByQuestion?: string | null | undefined;
403
403
  }, {
404
- label: string;
405
404
  source: string;
405
+ label: string;
406
406
  target: string;
407
407
  promptedByQuestion?: string | null | undefined;
408
408
  }>;
@@ -417,11 +417,11 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
417
417
  type: z.ZodEnum<["entity", "file", "tool", "outcome", "constraint", "date"]>;
418
418
  value: z.ZodString;
419
419
  }, "strip", z.ZodTypeAny, {
420
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
421
420
  value: string;
421
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
422
422
  }, {
423
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
424
423
  value: string;
424
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
425
425
  }>, "many">>>;
426
426
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
427
427
  scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
@@ -467,11 +467,11 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
467
467
  order: z.ZodNumber;
468
468
  description: z.ZodString;
469
469
  }, "strip", z.ZodTypeAny, {
470
- description: string;
471
470
  order: number;
472
- }, {
473
471
  description: string;
472
+ }, {
474
473
  order: number;
474
+ description: string;
475
475
  }>, "many">;
476
476
  finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
477
477
  final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -479,8 +479,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
479
479
  observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
480
480
  }, "strip", z.ZodTypeAny, {
481
481
  steps: {
482
- description: string;
483
482
  order: number;
483
+ description: string;
484
484
  }[];
485
485
  finalAnswer?: string | null | undefined;
486
486
  final_answer?: string | null | undefined;
@@ -488,8 +488,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
488
488
  observed_outcome?: string | null | undefined;
489
489
  }, {
490
490
  steps: {
491
- description: string;
492
491
  order: number;
492
+ description: string;
493
493
  }[];
494
494
  finalAnswer?: string | null | undefined;
495
495
  final_answer?: string | null | undefined;
@@ -497,8 +497,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
497
497
  observed_outcome?: string | null | undefined;
498
498
  }>, {
499
499
  steps: {
500
- description: string;
501
500
  order: number;
501
+ description: string;
502
502
  }[];
503
503
  finalAnswer?: string | null | undefined;
504
504
  final_answer?: string | null | undefined;
@@ -506,8 +506,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
506
506
  observed_outcome?: string | null | undefined;
507
507
  }, {
508
508
  steps: {
509
- description: string;
510
509
  order: number;
510
+ description: string;
511
511
  }[];
512
512
  finalAnswer?: string | null | undefined;
513
513
  final_answer?: string | null | undefined;
@@ -517,17 +517,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
517
517
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
518
518
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
519
519
  }, "strip", z.ZodTypeAny, {
520
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
520
+ tags: string[];
521
521
  content: string;
522
522
  confidence: number;
523
- tags: string[];
523
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
524
+ scope?: "project" | "global" | null | undefined;
524
525
  subject?: "user" | "agent" | null | undefined;
525
526
  entityRef?: string | null | undefined;
526
527
  structuredAttributes?: Record<string, string> | null | undefined;
527
- scope?: "project" | "global" | null | undefined;
528
528
  cueAnchors?: {
529
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
530
529
  value: string;
530
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
531
531
  }[] | null | undefined;
532
532
  promptedByQuestion?: string | null | undefined;
533
533
  quote?: string | null | undefined;
@@ -543,8 +543,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
543
543
  }[] | null | undefined;
544
544
  reasoningTrace?: {
545
545
  steps: {
546
- description: string;
547
546
  order: number;
547
+ description: string;
548
548
  }[];
549
549
  finalAnswer?: string | null | undefined;
550
550
  final_answer?: string | null | undefined;
@@ -554,17 +554,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
554
554
  eventTime?: string | null | undefined;
555
555
  event_time?: string | null | undefined;
556
556
  }, {
557
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
557
+ tags: string[];
558
558
  content: string;
559
559
  confidence: number;
560
- tags: string[];
560
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
561
+ scope?: "project" | "global" | null | undefined;
561
562
  subject?: "user" | "agent" | null | undefined;
562
563
  entityRef?: string | null | undefined;
563
564
  structuredAttributes?: Record<string, string> | null | undefined;
564
- scope?: "project" | "global" | null | undefined;
565
565
  cueAnchors?: {
566
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
567
566
  value: string;
567
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
568
568
  }[] | null | undefined;
569
569
  promptedByQuestion?: string | null | undefined;
570
570
  quote?: string | null | undefined;
@@ -580,8 +580,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
580
580
  }[] | null | undefined;
581
581
  reasoningTrace?: {
582
582
  steps: {
583
- description: string;
584
583
  order: number;
584
+ description: string;
585
585
  }[];
586
586
  finalAnswer?: string | null | undefined;
587
587
  final_answer?: string | null | undefined;
@@ -591,17 +591,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
591
591
  eventTime?: string | null | undefined;
592
592
  event_time?: string | null | undefined;
593
593
  }>, {
594
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
594
+ tags: string[];
595
595
  content: string;
596
596
  confidence: number;
597
- tags: string[];
597
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
598
+ scope?: "project" | "global" | null | undefined;
598
599
  subject?: "user" | "agent" | null | undefined;
599
600
  entityRef?: string | null | undefined;
600
601
  structuredAttributes?: Record<string, string> | null | undefined;
601
- scope?: "project" | "global" | null | undefined;
602
602
  cueAnchors?: {
603
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
604
603
  value: string;
604
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
605
605
  }[] | null | undefined;
606
606
  promptedByQuestion?: string | null | undefined;
607
607
  quote?: string | null | undefined;
@@ -617,8 +617,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
617
617
  }[] | null | undefined;
618
618
  reasoningTrace?: {
619
619
  steps: {
620
- description: string;
621
620
  order: number;
621
+ description: string;
622
622
  }[];
623
623
  finalAnswer?: string | null | undefined;
624
624
  final_answer?: string | null | undefined;
@@ -628,17 +628,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
628
628
  eventTime?: string | null | undefined;
629
629
  event_time?: string | null | undefined;
630
630
  }, {
631
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
631
+ tags: string[];
632
632
  content: string;
633
633
  confidence: number;
634
- tags: string[];
634
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
635
+ scope?: "project" | "global" | null | undefined;
635
636
  subject?: "user" | "agent" | null | undefined;
636
637
  entityRef?: string | null | undefined;
637
638
  structuredAttributes?: Record<string, string> | null | undefined;
638
- scope?: "project" | "global" | null | undefined;
639
639
  cueAnchors?: {
640
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
641
640
  value: string;
641
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
642
642
  }[] | null | undefined;
643
643
  promptedByQuestion?: string | null | undefined;
644
644
  quote?: string | null | undefined;
@@ -654,8 +654,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
654
654
  }[] | null | undefined;
655
655
  reasoningTrace?: {
656
656
  steps: {
657
- description: string;
658
657
  order: number;
658
+ description: string;
659
659
  }[];
660
660
  finalAnswer?: string | null | undefined;
661
661
  final_answer?: string | null | undefined;
@@ -676,32 +676,32 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
676
676
  title: z.ZodString;
677
677
  facts: z.ZodArray<z.ZodString, "many">;
678
678
  }, "strip", z.ZodTypeAny, {
679
- key: string;
680
679
  title: string;
680
+ key: string;
681
681
  facts: string[];
682
682
  }, {
683
- key: string;
684
683
  title: string;
684
+ key: string;
685
685
  facts: string[];
686
686
  }>, "many">>>;
687
687
  }, "strip", z.ZodTypeAny, {
688
- type: "project" | "other" | "tool" | "person" | "company" | "place";
689
688
  name: string;
689
+ type: "project" | "other" | "tool" | "person" | "company" | "place";
690
690
  facts: string[];
691
691
  promptedByQuestion?: string | null | undefined;
692
692
  structuredSections?: {
693
- key: string;
694
693
  title: string;
694
+ key: string;
695
695
  facts: string[];
696
696
  }[] | null | undefined;
697
697
  }, {
698
- type: "project" | "other" | "tool" | "person" | "company" | "place";
699
698
  name: string;
699
+ type: "project" | "other" | "tool" | "person" | "company" | "place";
700
700
  facts: string[];
701
701
  promptedByQuestion?: string | null | undefined;
702
702
  structuredSections?: {
703
- key: string;
704
703
  title: string;
704
+ key: string;
705
705
  facts: string[];
706
706
  }[] | null | undefined;
707
707
  }>, "many">;
@@ -711,29 +711,29 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
711
711
  label: z.ZodString;
712
712
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
713
713
  }, "strip", z.ZodTypeAny, {
714
- label: string;
715
714
  source: string;
715
+ label: string;
716
716
  target: string;
717
717
  promptedByQuestion?: string | null | undefined;
718
718
  }, {
719
- label: string;
720
719
  source: string;
720
+ label: string;
721
721
  target: string;
722
722
  promptedByQuestion?: string | null | undefined;
723
723
  }>, "many">>>;
724
724
  }, "strip", z.ZodTypeAny, {
725
725
  facts: {
726
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
726
+ tags: string[];
727
727
  content: string;
728
728
  confidence: number;
729
- tags: string[];
729
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
730
+ scope?: "project" | "global" | null | undefined;
730
731
  subject?: "user" | "agent" | null | undefined;
731
732
  entityRef?: string | null | undefined;
732
733
  structuredAttributes?: Record<string, string> | null | undefined;
733
- scope?: "project" | "global" | null | undefined;
734
734
  cueAnchors?: {
735
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
736
735
  value: string;
736
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
737
737
  }[] | null | undefined;
738
738
  promptedByQuestion?: string | null | undefined;
739
739
  quote?: string | null | undefined;
@@ -749,8 +749,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
749
749
  }[] | null | undefined;
750
750
  reasoningTrace?: {
751
751
  steps: {
752
- description: string;
753
752
  order: number;
753
+ description: string;
754
754
  }[];
755
755
  finalAnswer?: string | null | undefined;
756
756
  final_answer?: string | null | undefined;
@@ -761,36 +761,36 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
761
761
  event_time?: string | null | undefined;
762
762
  }[];
763
763
  entities: {
764
- type: "project" | "other" | "tool" | "person" | "company" | "place";
765
764
  name: string;
765
+ type: "project" | "other" | "tool" | "person" | "company" | "place";
766
766
  facts: string[];
767
767
  promptedByQuestion?: string | null | undefined;
768
768
  structuredSections?: {
769
- key: string;
770
769
  title: string;
770
+ key: string;
771
771
  facts: string[];
772
772
  }[] | null | undefined;
773
773
  }[];
774
774
  profileUpdates: string[];
775
775
  relationships?: {
776
- label: string;
777
776
  source: string;
777
+ label: string;
778
778
  target: string;
779
779
  promptedByQuestion?: string | null | undefined;
780
780
  }[] | null | undefined;
781
781
  }, {
782
782
  facts: {
783
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
783
+ tags: string[];
784
784
  content: string;
785
785
  confidence: number;
786
- tags: string[];
786
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
787
+ scope?: "project" | "global" | null | undefined;
787
788
  subject?: "user" | "agent" | null | undefined;
788
789
  entityRef?: string | null | undefined;
789
790
  structuredAttributes?: Record<string, string> | null | undefined;
790
- scope?: "project" | "global" | null | undefined;
791
791
  cueAnchors?: {
792
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
793
792
  value: string;
793
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
794
794
  }[] | null | undefined;
795
795
  promptedByQuestion?: string | null | undefined;
796
796
  quote?: string | null | undefined;
@@ -806,8 +806,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
806
806
  }[] | null | undefined;
807
807
  reasoningTrace?: {
808
808
  steps: {
809
- description: string;
810
809
  order: number;
810
+ description: string;
811
811
  }[];
812
812
  finalAnswer?: string | null | undefined;
813
813
  final_answer?: string | null | undefined;
@@ -818,37 +818,37 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
818
818
  event_time?: string | null | undefined;
819
819
  }[];
820
820
  entities: {
821
- type: "project" | "other" | "tool" | "person" | "company" | "place";
822
821
  name: string;
822
+ type: "project" | "other" | "tool" | "person" | "company" | "place";
823
823
  facts: string[];
824
824
  promptedByQuestion?: string | null | undefined;
825
825
  structuredSections?: {
826
- key: string;
827
826
  title: string;
827
+ key: string;
828
828
  facts: string[];
829
829
  }[] | null | undefined;
830
830
  }[];
831
831
  profileUpdates: string[];
832
832
  relationships?: {
833
- label: string;
834
833
  source: string;
834
+ label: string;
835
835
  target: string;
836
836
  promptedByQuestion?: string | null | undefined;
837
837
  }[] | null | undefined;
838
838
  }>;
839
839
  declare const ExtractionResultSchema: z.ZodObject<{
840
840
  facts: z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
841
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
841
+ tags: string[];
842
842
  content: string;
843
843
  confidence: number;
844
- tags: string[];
844
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
845
+ scope?: "project" | "global" | null | undefined;
845
846
  subject?: "user" | "agent" | null | undefined;
846
847
  entityRef?: string | null | undefined;
847
848
  structuredAttributes?: Record<string, string> | null | undefined;
848
- scope?: "project" | "global" | null | undefined;
849
849
  cueAnchors?: {
850
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
851
850
  value: string;
851
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
852
852
  }[] | null | undefined;
853
853
  promptedByQuestion?: string | null | undefined;
854
854
  quote?: string | null | undefined;
@@ -864,8 +864,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
864
864
  }[] | null | undefined;
865
865
  reasoningTrace?: {
866
866
  steps: {
867
- description: string;
868
867
  order: number;
868
+ description: string;
869
869
  }[];
870
870
  finalAnswer?: string | null | undefined;
871
871
  final_answer?: string | null | undefined;
@@ -877,13 +877,13 @@ declare const ExtractionResultSchema: z.ZodObject<{
877
877
  }[], unknown[]>;
878
878
  profileUpdates: z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, string[], unknown[]>;
879
879
  entities: z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
880
- type: "project" | "other" | "tool" | "person" | "company" | "place";
881
880
  name: string;
881
+ type: "project" | "other" | "tool" | "person" | "company" | "place";
882
882
  facts: string[];
883
883
  promptedByQuestion?: string | null | undefined;
884
884
  structuredSections?: {
885
- key: string;
886
885
  title: string;
886
+ key: string;
887
887
  facts: string[];
888
888
  }[] | null | undefined;
889
889
  }[], unknown[]>;
@@ -895,8 +895,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
895
895
  identityReflection: z.ZodNullable<z.ZodOptional<z.ZodString>>;
896
896
  episodeTitle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
897
897
  relationships: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
898
- label: string;
899
898
  source: string;
899
+ label: string;
900
900
  target: string;
901
901
  promptedByQuestion?: string | null | undefined;
902
902
  }[], unknown[]>>>;
@@ -907,17 +907,17 @@ declare const ExtractionResultSchema: z.ZodObject<{
907
907
  context: string;
908
908
  }[];
909
909
  facts: {
910
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
910
+ tags: string[];
911
911
  content: string;
912
912
  confidence: number;
913
- tags: string[];
913
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
914
+ scope?: "project" | "global" | null | undefined;
914
915
  subject?: "user" | "agent" | null | undefined;
915
916
  entityRef?: string | null | undefined;
916
917
  structuredAttributes?: Record<string, string> | null | undefined;
917
- scope?: "project" | "global" | null | undefined;
918
918
  cueAnchors?: {
919
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
920
919
  value: string;
920
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
921
921
  }[] | null | undefined;
922
922
  promptedByQuestion?: string | null | undefined;
923
923
  quote?: string | null | undefined;
@@ -933,8 +933,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
933
933
  }[] | null | undefined;
934
934
  reasoningTrace?: {
935
935
  steps: {
936
- description: string;
937
936
  order: number;
937
+ description: string;
938
938
  }[];
939
939
  finalAnswer?: string | null | undefined;
940
940
  final_answer?: string | null | undefined;
@@ -945,20 +945,20 @@ declare const ExtractionResultSchema: z.ZodObject<{
945
945
  event_time?: string | null | undefined;
946
946
  }[];
947
947
  entities: {
948
- type: "project" | "other" | "tool" | "person" | "company" | "place";
949
948
  name: string;
949
+ type: "project" | "other" | "tool" | "person" | "company" | "place";
950
950
  facts: string[];
951
951
  promptedByQuestion?: string | null | undefined;
952
952
  structuredSections?: {
953
- key: string;
954
953
  title: string;
954
+ key: string;
955
955
  facts: string[];
956
956
  }[] | null | undefined;
957
957
  }[];
958
958
  profileUpdates: string[];
959
959
  relationships?: {
960
- label: string;
961
960
  source: string;
961
+ label: string;
962
962
  target: string;
963
963
  promptedByQuestion?: string | null | undefined;
964
964
  }[] | null | undefined;
@@ -990,11 +990,11 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
990
990
  type: z.ZodEnum<["entity", "file", "tool", "outcome", "constraint", "date"]>;
991
991
  value: z.ZodString;
992
992
  }, "strip", z.ZodTypeAny, {
993
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
994
993
  value: string;
994
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
995
995
  }, {
996
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
997
996
  value: string;
997
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
998
998
  }>, "many">>>;
999
999
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1000
1000
  scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
@@ -1040,11 +1040,11 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1040
1040
  order: z.ZodNumber;
1041
1041
  description: z.ZodString;
1042
1042
  }, "strip", z.ZodTypeAny, {
1043
- description: string;
1044
1043
  order: number;
1045
- }, {
1046
1044
  description: string;
1045
+ }, {
1047
1046
  order: number;
1047
+ description: string;
1048
1048
  }>, "many">;
1049
1049
  finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1050
1050
  final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1052,8 +1052,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1052
1052
  observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1053
1053
  }, "strip", z.ZodTypeAny, {
1054
1054
  steps: {
1055
- description: string;
1056
1055
  order: number;
1056
+ description: string;
1057
1057
  }[];
1058
1058
  finalAnswer?: string | null | undefined;
1059
1059
  final_answer?: string | null | undefined;
@@ -1061,8 +1061,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1061
1061
  observed_outcome?: string | null | undefined;
1062
1062
  }, {
1063
1063
  steps: {
1064
- description: string;
1065
1064
  order: number;
1065
+ description: string;
1066
1066
  }[];
1067
1067
  finalAnswer?: string | null | undefined;
1068
1068
  final_answer?: string | null | undefined;
@@ -1070,8 +1070,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1070
1070
  observed_outcome?: string | null | undefined;
1071
1071
  }>, {
1072
1072
  steps: {
1073
- description: string;
1074
1073
  order: number;
1074
+ description: string;
1075
1075
  }[];
1076
1076
  finalAnswer?: string | null | undefined;
1077
1077
  final_answer?: string | null | undefined;
@@ -1079,8 +1079,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1079
1079
  observed_outcome?: string | null | undefined;
1080
1080
  }, {
1081
1081
  steps: {
1082
- description: string;
1083
1082
  order: number;
1083
+ description: string;
1084
1084
  }[];
1085
1085
  finalAnswer?: string | null | undefined;
1086
1086
  final_answer?: string | null | undefined;
@@ -1090,17 +1090,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1090
1090
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1091
1091
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1092
1092
  }, "strip", z.ZodTypeAny, {
1093
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1093
+ tags: string[];
1094
1094
  content: string;
1095
1095
  confidence: number;
1096
- tags: string[];
1096
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
1097
+ scope?: "project" | "global" | null | undefined;
1097
1098
  subject?: "user" | "agent" | null | undefined;
1098
1099
  entityRef?: string | null | undefined;
1099
1100
  structuredAttributes?: Record<string, string> | null | undefined;
1100
- scope?: "project" | "global" | null | undefined;
1101
1101
  cueAnchors?: {
1102
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1103
1102
  value: string;
1103
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
1104
1104
  }[] | null | undefined;
1105
1105
  promptedByQuestion?: string | null | undefined;
1106
1106
  quote?: string | null | undefined;
@@ -1116,8 +1116,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1116
1116
  }[] | null | undefined;
1117
1117
  reasoningTrace?: {
1118
1118
  steps: {
1119
- description: string;
1120
1119
  order: number;
1120
+ description: string;
1121
1121
  }[];
1122
1122
  finalAnswer?: string | null | undefined;
1123
1123
  final_answer?: string | null | undefined;
@@ -1127,17 +1127,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1127
1127
  eventTime?: string | null | undefined;
1128
1128
  event_time?: string | null | undefined;
1129
1129
  }, {
1130
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1130
+ tags: string[];
1131
1131
  content: string;
1132
1132
  confidence: number;
1133
- tags: string[];
1133
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
1134
+ scope?: "project" | "global" | null | undefined;
1134
1135
  subject?: "user" | "agent" | null | undefined;
1135
1136
  entityRef?: string | null | undefined;
1136
1137
  structuredAttributes?: Record<string, string> | null | undefined;
1137
- scope?: "project" | "global" | null | undefined;
1138
1138
  cueAnchors?: {
1139
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1140
1139
  value: string;
1140
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
1141
1141
  }[] | null | undefined;
1142
1142
  promptedByQuestion?: string | null | undefined;
1143
1143
  quote?: string | null | undefined;
@@ -1153,8 +1153,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1153
1153
  }[] | null | undefined;
1154
1154
  reasoningTrace?: {
1155
1155
  steps: {
1156
- description: string;
1157
1156
  order: number;
1157
+ description: string;
1158
1158
  }[];
1159
1159
  finalAnswer?: string | null | undefined;
1160
1160
  final_answer?: string | null | undefined;
@@ -1164,17 +1164,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1164
1164
  eventTime?: string | null | undefined;
1165
1165
  event_time?: string | null | undefined;
1166
1166
  }>, {
1167
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1167
+ tags: string[];
1168
1168
  content: string;
1169
1169
  confidence: number;
1170
- tags: string[];
1170
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
1171
+ scope?: "project" | "global" | null | undefined;
1171
1172
  subject?: "user" | "agent" | null | undefined;
1172
1173
  entityRef?: string | null | undefined;
1173
1174
  structuredAttributes?: Record<string, string> | null | undefined;
1174
- scope?: "project" | "global" | null | undefined;
1175
1175
  cueAnchors?: {
1176
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1177
1176
  value: string;
1177
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
1178
1178
  }[] | null | undefined;
1179
1179
  promptedByQuestion?: string | null | undefined;
1180
1180
  quote?: string | null | undefined;
@@ -1190,8 +1190,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1190
1190
  }[] | null | undefined;
1191
1191
  reasoningTrace?: {
1192
1192
  steps: {
1193
- description: string;
1194
1193
  order: number;
1194
+ description: string;
1195
1195
  }[];
1196
1196
  finalAnswer?: string | null | undefined;
1197
1197
  final_answer?: string | null | undefined;
@@ -1201,17 +1201,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1201
1201
  eventTime?: string | null | undefined;
1202
1202
  event_time?: string | null | undefined;
1203
1203
  }, {
1204
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1204
+ tags: string[];
1205
1205
  content: string;
1206
1206
  confidence: number;
1207
- tags: string[];
1207
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
1208
+ scope?: "project" | "global" | null | undefined;
1208
1209
  subject?: "user" | "agent" | null | undefined;
1209
1210
  entityRef?: string | null | undefined;
1210
1211
  structuredAttributes?: Record<string, string> | null | undefined;
1211
- scope?: "project" | "global" | null | undefined;
1212
1212
  cueAnchors?: {
1213
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1214
1213
  value: string;
1214
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
1215
1215
  }[] | null | undefined;
1216
1216
  promptedByQuestion?: string | null | undefined;
1217
1217
  quote?: string | null | undefined;
@@ -1227,8 +1227,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1227
1227
  }[] | null | undefined;
1228
1228
  reasoningTrace?: {
1229
1229
  steps: {
1230
- description: string;
1231
1230
  order: number;
1231
+ description: string;
1232
1232
  }[];
1233
1233
  finalAnswer?: string | null | undefined;
1234
1234
  final_answer?: string | null | undefined;
@@ -1249,32 +1249,32 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1249
1249
  title: z.ZodString;
1250
1250
  facts: z.ZodArray<z.ZodString, "many">;
1251
1251
  }, "strip", z.ZodTypeAny, {
1252
- key: string;
1253
1252
  title: string;
1253
+ key: string;
1254
1254
  facts: string[];
1255
1255
  }, {
1256
- key: string;
1257
1256
  title: string;
1257
+ key: string;
1258
1258
  facts: string[];
1259
1259
  }>, "many">>>;
1260
1260
  }, "strip", z.ZodTypeAny, {
1261
- type: "project" | "other" | "tool" | "person" | "company" | "place";
1262
1261
  name: string;
1262
+ type: "project" | "other" | "tool" | "person" | "company" | "place";
1263
1263
  facts: string[];
1264
1264
  promptedByQuestion?: string | null | undefined;
1265
1265
  structuredSections?: {
1266
- key: string;
1267
1266
  title: string;
1267
+ key: string;
1268
1268
  facts: string[];
1269
1269
  }[] | null | undefined;
1270
1270
  }, {
1271
- type: "project" | "other" | "tool" | "person" | "company" | "place";
1272
1271
  name: string;
1272
+ type: "project" | "other" | "tool" | "person" | "company" | "place";
1273
1273
  facts: string[];
1274
1274
  promptedByQuestion?: string | null | undefined;
1275
1275
  structuredSections?: {
1276
- key: string;
1277
1276
  title: string;
1277
+ key: string;
1278
1278
  facts: string[];
1279
1279
  }[] | null | undefined;
1280
1280
  }>, "many">;
@@ -1299,13 +1299,13 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1299
1299
  label: z.ZodString;
1300
1300
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1301
1301
  }, "strip", z.ZodTypeAny, {
1302
- label: string;
1303
1302
  source: string;
1303
+ label: string;
1304
1304
  target: string;
1305
1305
  promptedByQuestion?: string | null | undefined;
1306
1306
  }, {
1307
- label: string;
1308
1307
  source: string;
1308
+ label: string;
1309
1309
  target: string;
1310
1310
  promptedByQuestion?: string | null | undefined;
1311
1311
  }>, "many">>>;
@@ -1316,17 +1316,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1316
1316
  context: string;
1317
1317
  }[];
1318
1318
  facts: {
1319
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1319
+ tags: string[];
1320
1320
  content: string;
1321
1321
  confidence: number;
1322
- tags: string[];
1322
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
1323
+ scope?: "project" | "global" | null | undefined;
1323
1324
  subject?: "user" | "agent" | null | undefined;
1324
1325
  entityRef?: string | null | undefined;
1325
1326
  structuredAttributes?: Record<string, string> | null | undefined;
1326
- scope?: "project" | "global" | null | undefined;
1327
1327
  cueAnchors?: {
1328
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1329
1328
  value: string;
1329
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
1330
1330
  }[] | null | undefined;
1331
1331
  promptedByQuestion?: string | null | undefined;
1332
1332
  quote?: string | null | undefined;
@@ -1342,8 +1342,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1342
1342
  }[] | null | undefined;
1343
1343
  reasoningTrace?: {
1344
1344
  steps: {
1345
- description: string;
1346
1345
  order: number;
1346
+ description: string;
1347
1347
  }[];
1348
1348
  finalAnswer?: string | null | undefined;
1349
1349
  final_answer?: string | null | undefined;
@@ -1354,20 +1354,20 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1354
1354
  event_time?: string | null | undefined;
1355
1355
  }[];
1356
1356
  entities: {
1357
- type: "project" | "other" | "tool" | "person" | "company" | "place";
1358
1357
  name: string;
1358
+ type: "project" | "other" | "tool" | "person" | "company" | "place";
1359
1359
  facts: string[];
1360
1360
  promptedByQuestion?: string | null | undefined;
1361
1361
  structuredSections?: {
1362
- key: string;
1363
1362
  title: string;
1363
+ key: string;
1364
1364
  facts: string[];
1365
1365
  }[] | null | undefined;
1366
1366
  }[];
1367
1367
  profileUpdates: string[];
1368
1368
  relationships?: {
1369
- label: string;
1370
1369
  source: string;
1370
+ label: string;
1371
1371
  target: string;
1372
1372
  promptedByQuestion?: string | null | undefined;
1373
1373
  }[] | null | undefined;
@@ -1380,17 +1380,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1380
1380
  context: string;
1381
1381
  }[];
1382
1382
  facts: {
1383
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1383
+ tags: string[];
1384
1384
  content: string;
1385
1385
  confidence: number;
1386
- tags: string[];
1386
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
1387
+ scope?: "project" | "global" | null | undefined;
1387
1388
  subject?: "user" | "agent" | null | undefined;
1388
1389
  entityRef?: string | null | undefined;
1389
1390
  structuredAttributes?: Record<string, string> | null | undefined;
1390
- scope?: "project" | "global" | null | undefined;
1391
1391
  cueAnchors?: {
1392
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1393
1392
  value: string;
1393
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
1394
1394
  }[] | null | undefined;
1395
1395
  promptedByQuestion?: string | null | undefined;
1396
1396
  quote?: string | null | undefined;
@@ -1406,8 +1406,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1406
1406
  }[] | null | undefined;
1407
1407
  reasoningTrace?: {
1408
1408
  steps: {
1409
- description: string;
1410
1409
  order: number;
1410
+ description: string;
1411
1411
  }[];
1412
1412
  finalAnswer?: string | null | undefined;
1413
1413
  final_answer?: string | null | undefined;
@@ -1418,20 +1418,20 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1418
1418
  event_time?: string | null | undefined;
1419
1419
  }[];
1420
1420
  entities: {
1421
- type: "project" | "other" | "tool" | "person" | "company" | "place";
1422
1421
  name: string;
1422
+ type: "project" | "other" | "tool" | "person" | "company" | "place";
1423
1423
  facts: string[];
1424
1424
  promptedByQuestion?: string | null | undefined;
1425
1425
  structuredSections?: {
1426
- key: string;
1427
1426
  title: string;
1427
+ key: string;
1428
1428
  facts: string[];
1429
1429
  }[] | null | undefined;
1430
1430
  }[];
1431
1431
  profileUpdates: string[];
1432
1432
  relationships?: {
1433
- label: string;
1434
1433
  source: string;
1434
+ label: string;
1435
1435
  target: string;
1436
1436
  promptedByQuestion?: string | null | undefined;
1437
1437
  }[] | null | undefined;
@@ -1445,14 +1445,14 @@ declare const ConsolidationItemSchema: z.ZodObject<{
1445
1445
  updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1446
1446
  reason: z.ZodString;
1447
1447
  }, "strip", z.ZodTypeAny, {
1448
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1449
1448
  reason: string;
1449
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1450
1450
  existingId: string;
1451
1451
  mergeWith?: string | null | undefined;
1452
1452
  updatedContent?: string | null | undefined;
1453
1453
  }, {
1454
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1455
1454
  reason: string;
1455
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1456
1456
  existingId: string;
1457
1457
  mergeWith?: string | null | undefined;
1458
1458
  updatedContent?: string | null | undefined;
@@ -1465,14 +1465,14 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1465
1465
  updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1466
1466
  reason: z.ZodString;
1467
1467
  }, "strip", z.ZodTypeAny, {
1468
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1469
1468
  reason: string;
1469
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1470
1470
  existingId: string;
1471
1471
  mergeWith?: string | null | undefined;
1472
1472
  updatedContent?: string | null | undefined;
1473
1473
  }, {
1474
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1475
1474
  reason: string;
1475
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1476
1476
  existingId: string;
1477
1477
  mergeWith?: string | null | undefined;
1478
1478
  updatedContent?: string | null | undefined;
@@ -1488,72 +1488,72 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1488
1488
  title: z.ZodString;
1489
1489
  facts: z.ZodArray<z.ZodString, "many">;
1490
1490
  }, "strip", z.ZodTypeAny, {
1491
- key: string;
1492
1491
  title: string;
1492
+ key: string;
1493
1493
  facts: string[];
1494
1494
  }, {
1495
- key: string;
1496
1495
  title: string;
1496
+ key: string;
1497
1497
  facts: string[];
1498
1498
  }>, "many">>>;
1499
1499
  }, "strip", z.ZodTypeAny, {
1500
- type: "project" | "other" | "tool" | "person" | "company" | "place";
1501
1500
  name: string;
1501
+ type: "project" | "other" | "tool" | "person" | "company" | "place";
1502
1502
  facts: string[];
1503
1503
  promptedByQuestion?: string | null | undefined;
1504
1504
  structuredSections?: {
1505
- key: string;
1506
1505
  title: string;
1506
+ key: string;
1507
1507
  facts: string[];
1508
1508
  }[] | null | undefined;
1509
1509
  }, {
1510
- type: "project" | "other" | "tool" | "person" | "company" | "place";
1511
1510
  name: string;
1511
+ type: "project" | "other" | "tool" | "person" | "company" | "place";
1512
1512
  facts: string[];
1513
1513
  promptedByQuestion?: string | null | undefined;
1514
1514
  structuredSections?: {
1515
- key: string;
1516
1515
  title: string;
1516
+ key: string;
1517
1517
  facts: string[];
1518
1518
  }[] | null | undefined;
1519
1519
  }>, "many">;
1520
1520
  }, "strip", z.ZodTypeAny, {
1521
1521
  items: {
1522
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1523
1522
  reason: string;
1523
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1524
1524
  existingId: string;
1525
1525
  mergeWith?: string | null | undefined;
1526
1526
  updatedContent?: string | null | undefined;
1527
1527
  }[];
1528
1528
  profileUpdates: string[];
1529
1529
  entityUpdates: {
1530
- type: "project" | "other" | "tool" | "person" | "company" | "place";
1531
1530
  name: string;
1531
+ type: "project" | "other" | "tool" | "person" | "company" | "place";
1532
1532
  facts: string[];
1533
1533
  promptedByQuestion?: string | null | undefined;
1534
1534
  structuredSections?: {
1535
- key: string;
1536
1535
  title: string;
1536
+ key: string;
1537
1537
  facts: string[];
1538
1538
  }[] | null | undefined;
1539
1539
  }[];
1540
1540
  }, {
1541
1541
  items: {
1542
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1543
1542
  reason: string;
1543
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1544
1544
  existingId: string;
1545
1545
  mergeWith?: string | null | undefined;
1546
1546
  updatedContent?: string | null | undefined;
1547
1547
  }[];
1548
1548
  profileUpdates: string[];
1549
1549
  entityUpdates: {
1550
- type: "project" | "other" | "tool" | "person" | "company" | "place";
1551
1550
  name: string;
1551
+ type: "project" | "other" | "tool" | "person" | "company" | "place";
1552
1552
  facts: string[];
1553
1553
  promptedByQuestion?: string | null | undefined;
1554
1554
  structuredSections?: {
1555
- key: string;
1556
1555
  title: string;
1556
+ key: string;
1557
1557
  facts: string[];
1558
1558
  }[] | null | undefined;
1559
1559
  }[];