@stacklink/sdk 0.4.0 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -0
- package/compatibility.json +1 -1
- package/dist/src/domain/billing-plans.d.ts +827 -0
- package/dist/src/domain/billing-plans.d.ts.map +1 -0
- package/dist/src/domain/billing-plans.js +893 -0
- package/dist/src/domain/billing-plans.js.map +1 -0
- package/dist/src/domain/bot-contract.d.ts +838 -747
- package/dist/src/domain/bot-contract.d.ts.map +1 -1
- package/dist/src/domain/bot-contract.js +8 -2
- package/dist/src/domain/bot-contract.js.map +1 -1
- package/dist/src/domain/memory-contract.d.ts +231 -231
- package/dist/src/domain/platform-approval-contract.d.ts +24 -24
- package/dist/src/domain/provider-branding.d.ts.map +1 -1
- package/dist/src/domain/provider-branding.js +3 -0
- package/dist/src/domain/provider-branding.js.map +1 -1
- package/dist/src/domain/stacklink-meta-tools.d.ts +18 -2
- package/dist/src/domain/stacklink-meta-tools.d.ts.map +1 -1
- package/dist/src/domain/stacklink-meta-tools.js +26 -15
- package/dist/src/domain/stacklink-meta-tools.js.map +1 -1
- package/dist/src/domain/workflow-contract.d.ts +24747 -0
- package/dist/src/domain/workflow-contract.d.ts.map +1 -0
- package/dist/src/domain/workflow-contract.js +123 -0
- package/dist/src/domain/workflow-contract.js.map +1 -0
- package/dist/src/sdk/index.d.ts +225 -10
- package/dist/src/sdk/index.d.ts.map +1 -1
- package/dist/src/sdk/index.js +72 -7
- package/dist/src/sdk/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -184,13 +184,13 @@ export declare const memoryEvidenceReferenceSchema: z.ZodObject<{
|
|
|
184
184
|
id: z.ZodString;
|
|
185
185
|
observed: z.ZodOptional<z.ZodString>;
|
|
186
186
|
}, "strip", z.ZodTypeAny, {
|
|
187
|
-
kind: string;
|
|
188
187
|
id: string;
|
|
188
|
+
kind: string;
|
|
189
189
|
name: string;
|
|
190
190
|
observed?: string | undefined;
|
|
191
191
|
}, {
|
|
192
|
-
kind: string;
|
|
193
192
|
id: string;
|
|
193
|
+
kind: string;
|
|
194
194
|
name: string;
|
|
195
195
|
observed?: string | undefined;
|
|
196
196
|
}>>;
|
|
@@ -213,13 +213,13 @@ export declare const memoryEvidenceReferenceSchema: z.ZodObject<{
|
|
|
213
213
|
speaker: z.ZodOptional<z.ZodString>;
|
|
214
214
|
assistant: z.ZodOptional<z.ZodBoolean>;
|
|
215
215
|
}, "strip", z.ZodTypeAny, {
|
|
216
|
-
speaker?: string | undefined;
|
|
217
216
|
sessionId?: string | undefined;
|
|
217
|
+
speaker?: string | undefined;
|
|
218
218
|
turn?: string | undefined;
|
|
219
219
|
assistant?: boolean | undefined;
|
|
220
220
|
}, {
|
|
221
|
-
speaker?: string | undefined;
|
|
222
221
|
sessionId?: string | undefined;
|
|
222
|
+
speaker?: string | undefined;
|
|
223
223
|
turn?: string | undefined;
|
|
224
224
|
assistant?: boolean | undefined;
|
|
225
225
|
}>>;
|
|
@@ -239,54 +239,59 @@ export declare const memoryEvidenceReferenceSchema: z.ZodObject<{
|
|
|
239
239
|
by: z.ZodOptional<z.ZodString>;
|
|
240
240
|
requestId: z.ZodOptional<z.ZodString>;
|
|
241
241
|
}, "strict", z.ZodTypeAny, {
|
|
242
|
-
kind: "object" | "
|
|
242
|
+
kind: "object" | "message" | "unknown" | "email" | "api" | "file" | "manual" | "conversation";
|
|
243
243
|
contract: "stacklink.memory.evidence.v1";
|
|
244
244
|
availability: "unknown" | "available" | "deleted";
|
|
245
245
|
object?: {
|
|
246
|
-
kind: string;
|
|
247
246
|
id: string;
|
|
247
|
+
kind: string;
|
|
248
248
|
name: string;
|
|
249
249
|
observed?: string | undefined;
|
|
250
250
|
} | undefined;
|
|
251
|
+
channel?: string | undefined;
|
|
252
|
+
fields?: {
|
|
253
|
+
label: string;
|
|
254
|
+
after: string;
|
|
255
|
+
before?: string | null | undefined;
|
|
256
|
+
}[] | undefined;
|
|
251
257
|
file?: {
|
|
252
258
|
title: string;
|
|
253
259
|
section?: string | undefined;
|
|
254
260
|
edited?: string | undefined;
|
|
255
261
|
} | undefined;
|
|
256
|
-
channel?: string | undefined;
|
|
257
262
|
from?: {
|
|
258
263
|
name: string;
|
|
259
264
|
address?: string | undefined;
|
|
260
265
|
} | undefined;
|
|
261
266
|
requestId?: string | undefined;
|
|
262
267
|
conversation?: {
|
|
263
|
-
speaker?: string | undefined;
|
|
264
268
|
sessionId?: string | undefined;
|
|
269
|
+
speaker?: string | undefined;
|
|
265
270
|
turn?: string | undefined;
|
|
266
271
|
assistant?: boolean | undefined;
|
|
267
272
|
} | undefined;
|
|
268
273
|
href?: string | undefined;
|
|
269
274
|
subject?: string | undefined;
|
|
270
|
-
fields?: {
|
|
271
|
-
label: string;
|
|
272
|
-
after: string;
|
|
273
|
-
before?: string | null | undefined;
|
|
274
|
-
}[] | undefined;
|
|
275
275
|
by?: string | undefined;
|
|
276
276
|
}, {
|
|
277
|
-
kind: "object" | "
|
|
277
|
+
kind: "object" | "message" | "unknown" | "email" | "api" | "file" | "manual" | "conversation";
|
|
278
278
|
object?: {
|
|
279
|
-
kind: string;
|
|
280
279
|
id: string;
|
|
280
|
+
kind: string;
|
|
281
281
|
name: string;
|
|
282
282
|
observed?: string | undefined;
|
|
283
283
|
} | undefined;
|
|
284
|
+
channel?: string | undefined;
|
|
285
|
+
fields?: {
|
|
286
|
+
label: string;
|
|
287
|
+
after: string;
|
|
288
|
+
before?: string | null | undefined;
|
|
289
|
+
}[] | undefined;
|
|
284
290
|
file?: {
|
|
285
291
|
title: string;
|
|
286
292
|
section?: string | undefined;
|
|
287
293
|
edited?: string | undefined;
|
|
288
294
|
} | undefined;
|
|
289
|
-
channel?: string | undefined;
|
|
290
295
|
from?: {
|
|
291
296
|
name: string;
|
|
292
297
|
address?: string | undefined;
|
|
@@ -294,19 +299,14 @@ export declare const memoryEvidenceReferenceSchema: z.ZodObject<{
|
|
|
294
299
|
requestId?: string | undefined;
|
|
295
300
|
contract?: "stacklink.memory.evidence.v1" | undefined;
|
|
296
301
|
conversation?: {
|
|
297
|
-
speaker?: string | undefined;
|
|
298
302
|
sessionId?: string | undefined;
|
|
303
|
+
speaker?: string | undefined;
|
|
299
304
|
turn?: string | undefined;
|
|
300
305
|
assistant?: boolean | undefined;
|
|
301
306
|
} | undefined;
|
|
302
307
|
href?: string | undefined;
|
|
303
308
|
availability?: "unknown" | "available" | "deleted" | undefined;
|
|
304
309
|
subject?: string | undefined;
|
|
305
|
-
fields?: {
|
|
306
|
-
label: string;
|
|
307
|
-
after: string;
|
|
308
|
-
before?: string | null | undefined;
|
|
309
|
-
}[] | undefined;
|
|
310
310
|
by?: string | undefined;
|
|
311
311
|
}>;
|
|
312
312
|
export type MemoryEvidenceReference = z.input<typeof memoryEvidenceReferenceSchema>;
|
|
@@ -368,13 +368,13 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
368
368
|
id: z.ZodString;
|
|
369
369
|
observed: z.ZodOptional<z.ZodString>;
|
|
370
370
|
}, "strip", z.ZodTypeAny, {
|
|
371
|
-
kind: string;
|
|
372
371
|
id: string;
|
|
372
|
+
kind: string;
|
|
373
373
|
name: string;
|
|
374
374
|
observed?: string | undefined;
|
|
375
375
|
}, {
|
|
376
|
-
kind: string;
|
|
377
376
|
id: string;
|
|
377
|
+
kind: string;
|
|
378
378
|
name: string;
|
|
379
379
|
observed?: string | undefined;
|
|
380
380
|
}>>;
|
|
@@ -397,13 +397,13 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
397
397
|
speaker: z.ZodOptional<z.ZodString>;
|
|
398
398
|
assistant: z.ZodOptional<z.ZodBoolean>;
|
|
399
399
|
}, "strip", z.ZodTypeAny, {
|
|
400
|
-
speaker?: string | undefined;
|
|
401
400
|
sessionId?: string | undefined;
|
|
401
|
+
speaker?: string | undefined;
|
|
402
402
|
turn?: string | undefined;
|
|
403
403
|
assistant?: boolean | undefined;
|
|
404
404
|
}, {
|
|
405
|
-
speaker?: string | undefined;
|
|
406
405
|
sessionId?: string | undefined;
|
|
406
|
+
speaker?: string | undefined;
|
|
407
407
|
turn?: string | undefined;
|
|
408
408
|
assistant?: boolean | undefined;
|
|
409
409
|
}>>;
|
|
@@ -423,54 +423,59 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
423
423
|
by: z.ZodOptional<z.ZodString>;
|
|
424
424
|
requestId: z.ZodOptional<z.ZodString>;
|
|
425
425
|
}, "strict", z.ZodTypeAny, {
|
|
426
|
-
kind: "object" | "
|
|
426
|
+
kind: "object" | "message" | "unknown" | "email" | "api" | "file" | "manual" | "conversation";
|
|
427
427
|
contract: "stacklink.memory.evidence.v1";
|
|
428
428
|
availability: "unknown" | "available" | "deleted";
|
|
429
429
|
object?: {
|
|
430
|
-
kind: string;
|
|
431
430
|
id: string;
|
|
431
|
+
kind: string;
|
|
432
432
|
name: string;
|
|
433
433
|
observed?: string | undefined;
|
|
434
434
|
} | undefined;
|
|
435
|
+
channel?: string | undefined;
|
|
436
|
+
fields?: {
|
|
437
|
+
label: string;
|
|
438
|
+
after: string;
|
|
439
|
+
before?: string | null | undefined;
|
|
440
|
+
}[] | undefined;
|
|
435
441
|
file?: {
|
|
436
442
|
title: string;
|
|
437
443
|
section?: string | undefined;
|
|
438
444
|
edited?: string | undefined;
|
|
439
445
|
} | undefined;
|
|
440
|
-
channel?: string | undefined;
|
|
441
446
|
from?: {
|
|
442
447
|
name: string;
|
|
443
448
|
address?: string | undefined;
|
|
444
449
|
} | undefined;
|
|
445
450
|
requestId?: string | undefined;
|
|
446
451
|
conversation?: {
|
|
447
|
-
speaker?: string | undefined;
|
|
448
452
|
sessionId?: string | undefined;
|
|
453
|
+
speaker?: string | undefined;
|
|
449
454
|
turn?: string | undefined;
|
|
450
455
|
assistant?: boolean | undefined;
|
|
451
456
|
} | undefined;
|
|
452
457
|
href?: string | undefined;
|
|
453
458
|
subject?: string | undefined;
|
|
454
|
-
fields?: {
|
|
455
|
-
label: string;
|
|
456
|
-
after: string;
|
|
457
|
-
before?: string | null | undefined;
|
|
458
|
-
}[] | undefined;
|
|
459
459
|
by?: string | undefined;
|
|
460
460
|
}, {
|
|
461
|
-
kind: "object" | "
|
|
461
|
+
kind: "object" | "message" | "unknown" | "email" | "api" | "file" | "manual" | "conversation";
|
|
462
462
|
object?: {
|
|
463
|
-
kind: string;
|
|
464
463
|
id: string;
|
|
464
|
+
kind: string;
|
|
465
465
|
name: string;
|
|
466
466
|
observed?: string | undefined;
|
|
467
467
|
} | undefined;
|
|
468
|
+
channel?: string | undefined;
|
|
469
|
+
fields?: {
|
|
470
|
+
label: string;
|
|
471
|
+
after: string;
|
|
472
|
+
before?: string | null | undefined;
|
|
473
|
+
}[] | undefined;
|
|
468
474
|
file?: {
|
|
469
475
|
title: string;
|
|
470
476
|
section?: string | undefined;
|
|
471
477
|
edited?: string | undefined;
|
|
472
478
|
} | undefined;
|
|
473
|
-
channel?: string | undefined;
|
|
474
479
|
from?: {
|
|
475
480
|
name: string;
|
|
476
481
|
address?: string | undefined;
|
|
@@ -478,19 +483,14 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
478
483
|
requestId?: string | undefined;
|
|
479
484
|
contract?: "stacklink.memory.evidence.v1" | undefined;
|
|
480
485
|
conversation?: {
|
|
481
|
-
speaker?: string | undefined;
|
|
482
486
|
sessionId?: string | undefined;
|
|
487
|
+
speaker?: string | undefined;
|
|
483
488
|
turn?: string | undefined;
|
|
484
489
|
assistant?: boolean | undefined;
|
|
485
490
|
} | undefined;
|
|
486
491
|
href?: string | undefined;
|
|
487
492
|
availability?: "unknown" | "available" | "deleted" | undefined;
|
|
488
493
|
subject?: string | undefined;
|
|
489
|
-
fields?: {
|
|
490
|
-
label: string;
|
|
491
|
-
after: string;
|
|
492
|
-
before?: string | null | undefined;
|
|
493
|
-
}[] | undefined;
|
|
494
494
|
by?: string | undefined;
|
|
495
495
|
}>>;
|
|
496
496
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -503,39 +503,39 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
503
503
|
toolExecutionId?: string | undefined;
|
|
504
504
|
applicationKey?: string | undefined;
|
|
505
505
|
evidence?: {
|
|
506
|
-
kind: "object" | "
|
|
506
|
+
kind: "object" | "message" | "unknown" | "email" | "api" | "file" | "manual" | "conversation";
|
|
507
507
|
contract: "stacklink.memory.evidence.v1";
|
|
508
508
|
availability: "unknown" | "available" | "deleted";
|
|
509
509
|
object?: {
|
|
510
|
-
kind: string;
|
|
511
510
|
id: string;
|
|
511
|
+
kind: string;
|
|
512
512
|
name: string;
|
|
513
513
|
observed?: string | undefined;
|
|
514
514
|
} | undefined;
|
|
515
|
+
channel?: string | undefined;
|
|
516
|
+
fields?: {
|
|
517
|
+
label: string;
|
|
518
|
+
after: string;
|
|
519
|
+
before?: string | null | undefined;
|
|
520
|
+
}[] | undefined;
|
|
515
521
|
file?: {
|
|
516
522
|
title: string;
|
|
517
523
|
section?: string | undefined;
|
|
518
524
|
edited?: string | undefined;
|
|
519
525
|
} | undefined;
|
|
520
|
-
channel?: string | undefined;
|
|
521
526
|
from?: {
|
|
522
527
|
name: string;
|
|
523
528
|
address?: string | undefined;
|
|
524
529
|
} | undefined;
|
|
525
530
|
requestId?: string | undefined;
|
|
526
531
|
conversation?: {
|
|
527
|
-
speaker?: string | undefined;
|
|
528
532
|
sessionId?: string | undefined;
|
|
533
|
+
speaker?: string | undefined;
|
|
529
534
|
turn?: string | undefined;
|
|
530
535
|
assistant?: boolean | undefined;
|
|
531
536
|
} | undefined;
|
|
532
537
|
href?: string | undefined;
|
|
533
538
|
subject?: string | undefined;
|
|
534
|
-
fields?: {
|
|
535
|
-
label: string;
|
|
536
|
-
after: string;
|
|
537
|
-
before?: string | null | undefined;
|
|
538
|
-
}[] | undefined;
|
|
539
539
|
by?: string | undefined;
|
|
540
540
|
} | undefined;
|
|
541
541
|
}, {
|
|
@@ -548,19 +548,24 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
548
548
|
toolExecutionId?: string | undefined;
|
|
549
549
|
applicationKey?: string | undefined;
|
|
550
550
|
evidence?: {
|
|
551
|
-
kind: "object" | "
|
|
551
|
+
kind: "object" | "message" | "unknown" | "email" | "api" | "file" | "manual" | "conversation";
|
|
552
552
|
object?: {
|
|
553
|
-
kind: string;
|
|
554
553
|
id: string;
|
|
554
|
+
kind: string;
|
|
555
555
|
name: string;
|
|
556
556
|
observed?: string | undefined;
|
|
557
557
|
} | undefined;
|
|
558
|
+
channel?: string | undefined;
|
|
559
|
+
fields?: {
|
|
560
|
+
label: string;
|
|
561
|
+
after: string;
|
|
562
|
+
before?: string | null | undefined;
|
|
563
|
+
}[] | undefined;
|
|
558
564
|
file?: {
|
|
559
565
|
title: string;
|
|
560
566
|
section?: string | undefined;
|
|
561
567
|
edited?: string | undefined;
|
|
562
568
|
} | undefined;
|
|
563
|
-
channel?: string | undefined;
|
|
564
569
|
from?: {
|
|
565
570
|
name: string;
|
|
566
571
|
address?: string | undefined;
|
|
@@ -568,19 +573,14 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
568
573
|
requestId?: string | undefined;
|
|
569
574
|
contract?: "stacklink.memory.evidence.v1" | undefined;
|
|
570
575
|
conversation?: {
|
|
571
|
-
speaker?: string | undefined;
|
|
572
576
|
sessionId?: string | undefined;
|
|
577
|
+
speaker?: string | undefined;
|
|
573
578
|
turn?: string | undefined;
|
|
574
579
|
assistant?: boolean | undefined;
|
|
575
580
|
} | undefined;
|
|
576
581
|
href?: string | undefined;
|
|
577
582
|
availability?: "unknown" | "available" | "deleted" | undefined;
|
|
578
583
|
subject?: string | undefined;
|
|
579
|
-
fields?: {
|
|
580
|
-
label: string;
|
|
581
|
-
after: string;
|
|
582
|
-
before?: string | null | undefined;
|
|
583
|
-
}[] | undefined;
|
|
584
584
|
by?: string | undefined;
|
|
585
585
|
} | undefined;
|
|
586
586
|
}>>;
|
|
@@ -604,7 +604,6 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
604
604
|
}>>;
|
|
605
605
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
606
606
|
}, "strip", z.ZodTypeAny, {
|
|
607
|
-
kind: "block" | "fact" | "episode" | "profile_item";
|
|
608
607
|
source: {
|
|
609
608
|
kind: "provider" | "artifact" | "tool_execution" | "direct" | "conversation" | "document";
|
|
610
609
|
externalId?: string | undefined;
|
|
@@ -615,45 +614,46 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
615
614
|
toolExecutionId?: string | undefined;
|
|
616
615
|
applicationKey?: string | undefined;
|
|
617
616
|
evidence?: {
|
|
618
|
-
kind: "object" | "
|
|
617
|
+
kind: "object" | "message" | "unknown" | "email" | "api" | "file" | "manual" | "conversation";
|
|
619
618
|
contract: "stacklink.memory.evidence.v1";
|
|
620
619
|
availability: "unknown" | "available" | "deleted";
|
|
621
620
|
object?: {
|
|
622
|
-
kind: string;
|
|
623
621
|
id: string;
|
|
622
|
+
kind: string;
|
|
624
623
|
name: string;
|
|
625
624
|
observed?: string | undefined;
|
|
626
625
|
} | undefined;
|
|
626
|
+
channel?: string | undefined;
|
|
627
|
+
fields?: {
|
|
628
|
+
label: string;
|
|
629
|
+
after: string;
|
|
630
|
+
before?: string | null | undefined;
|
|
631
|
+
}[] | undefined;
|
|
627
632
|
file?: {
|
|
628
633
|
title: string;
|
|
629
634
|
section?: string | undefined;
|
|
630
635
|
edited?: string | undefined;
|
|
631
636
|
} | undefined;
|
|
632
|
-
channel?: string | undefined;
|
|
633
637
|
from?: {
|
|
634
638
|
name: string;
|
|
635
639
|
address?: string | undefined;
|
|
636
640
|
} | undefined;
|
|
637
641
|
requestId?: string | undefined;
|
|
638
642
|
conversation?: {
|
|
639
|
-
speaker?: string | undefined;
|
|
640
643
|
sessionId?: string | undefined;
|
|
644
|
+
speaker?: string | undefined;
|
|
641
645
|
turn?: string | undefined;
|
|
642
646
|
assistant?: boolean | undefined;
|
|
643
647
|
} | undefined;
|
|
644
648
|
href?: string | undefined;
|
|
645
649
|
subject?: string | undefined;
|
|
646
|
-
fields?: {
|
|
647
|
-
label: string;
|
|
648
|
-
after: string;
|
|
649
|
-
before?: string | null | undefined;
|
|
650
|
-
}[] | undefined;
|
|
651
650
|
by?: string | undefined;
|
|
652
651
|
} | undefined;
|
|
653
652
|
};
|
|
653
|
+
kind: "block" | "fact" | "episode" | "profile_item";
|
|
654
|
+
mode: "exact" | "extract";
|
|
654
655
|
metadata: Record<string, unknown>;
|
|
655
656
|
content: string;
|
|
656
|
-
mode: "exact" | "extract";
|
|
657
657
|
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
658
658
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
659
659
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
@@ -661,11 +661,11 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
661
661
|
tenantId?: string | undefined;
|
|
662
662
|
sessionId?: string | undefined;
|
|
663
663
|
language?: string | undefined;
|
|
664
|
+
title?: string | undefined;
|
|
664
665
|
idempotencyKey?: string | undefined;
|
|
665
666
|
validFrom?: string | undefined;
|
|
666
667
|
validTo?: string | undefined;
|
|
667
668
|
externalTenantId?: string | undefined;
|
|
668
|
-
title?: string | undefined;
|
|
669
669
|
subjects?: {
|
|
670
670
|
type: "custom" | "run" | "user" | "agent" | "tenant" | "application";
|
|
671
671
|
externalId: string;
|
|
@@ -680,8 +680,6 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
680
680
|
occurredAt?: string | undefined;
|
|
681
681
|
}, {
|
|
682
682
|
content: string;
|
|
683
|
-
kind?: "block" | "fact" | "episode" | "profile_item" | undefined;
|
|
684
|
-
tenantId?: string | undefined;
|
|
685
683
|
source?: {
|
|
686
684
|
kind?: "provider" | "artifact" | "tool_execution" | "direct" | "conversation" | "document" | undefined;
|
|
687
685
|
externalId?: string | undefined;
|
|
@@ -692,19 +690,24 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
692
690
|
toolExecutionId?: string | undefined;
|
|
693
691
|
applicationKey?: string | undefined;
|
|
694
692
|
evidence?: {
|
|
695
|
-
kind: "object" | "
|
|
693
|
+
kind: "object" | "message" | "unknown" | "email" | "api" | "file" | "manual" | "conversation";
|
|
696
694
|
object?: {
|
|
697
|
-
kind: string;
|
|
698
695
|
id: string;
|
|
696
|
+
kind: string;
|
|
699
697
|
name: string;
|
|
700
698
|
observed?: string | undefined;
|
|
701
699
|
} | undefined;
|
|
700
|
+
channel?: string | undefined;
|
|
701
|
+
fields?: {
|
|
702
|
+
label: string;
|
|
703
|
+
after: string;
|
|
704
|
+
before?: string | null | undefined;
|
|
705
|
+
}[] | undefined;
|
|
702
706
|
file?: {
|
|
703
707
|
title: string;
|
|
704
708
|
section?: string | undefined;
|
|
705
709
|
edited?: string | undefined;
|
|
706
710
|
} | undefined;
|
|
707
|
-
channel?: string | undefined;
|
|
708
711
|
from?: {
|
|
709
712
|
name: string;
|
|
710
713
|
address?: string | undefined;
|
|
@@ -712,31 +715,28 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
712
715
|
requestId?: string | undefined;
|
|
713
716
|
contract?: "stacklink.memory.evidence.v1" | undefined;
|
|
714
717
|
conversation?: {
|
|
715
|
-
speaker?: string | undefined;
|
|
716
718
|
sessionId?: string | undefined;
|
|
719
|
+
speaker?: string | undefined;
|
|
717
720
|
turn?: string | undefined;
|
|
718
721
|
assistant?: boolean | undefined;
|
|
719
722
|
} | undefined;
|
|
720
723
|
href?: string | undefined;
|
|
721
724
|
availability?: "unknown" | "available" | "deleted" | undefined;
|
|
722
725
|
subject?: string | undefined;
|
|
723
|
-
fields?: {
|
|
724
|
-
label: string;
|
|
725
|
-
after: string;
|
|
726
|
-
before?: string | null | undefined;
|
|
727
|
-
}[] | undefined;
|
|
728
726
|
by?: string | undefined;
|
|
729
727
|
} | undefined;
|
|
730
728
|
} | undefined;
|
|
729
|
+
kind?: "block" | "fact" | "episode" | "profile_item" | undefined;
|
|
730
|
+
tenantId?: string | undefined;
|
|
731
731
|
sessionId?: string | undefined;
|
|
732
|
-
metadata?: Record<string, unknown> | undefined;
|
|
733
|
-
mode?: "exact" | "extract" | undefined;
|
|
734
732
|
language?: string | undefined;
|
|
733
|
+
mode?: "exact" | "extract" | undefined;
|
|
734
|
+
title?: string | undefined;
|
|
735
|
+
metadata?: Record<string, unknown> | undefined;
|
|
735
736
|
idempotencyKey?: string | undefined;
|
|
736
737
|
validFrom?: string | undefined;
|
|
737
738
|
validTo?: string | undefined;
|
|
738
739
|
externalTenantId?: string | undefined;
|
|
739
|
-
title?: string | undefined;
|
|
740
740
|
subjects?: {
|
|
741
741
|
type: "custom" | "run" | "user" | "agent" | "tenant" | "application";
|
|
742
742
|
externalId: string;
|
|
@@ -754,7 +754,6 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
754
754
|
} | undefined;
|
|
755
755
|
occurredAt?: string | undefined;
|
|
756
756
|
}>, {
|
|
757
|
-
kind: "block" | "fact" | "episode" | "profile_item";
|
|
758
757
|
source: {
|
|
759
758
|
kind: "provider" | "artifact" | "tool_execution" | "direct" | "conversation" | "document";
|
|
760
759
|
externalId?: string | undefined;
|
|
@@ -765,45 +764,46 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
765
764
|
toolExecutionId?: string | undefined;
|
|
766
765
|
applicationKey?: string | undefined;
|
|
767
766
|
evidence?: {
|
|
768
|
-
kind: "object" | "
|
|
767
|
+
kind: "object" | "message" | "unknown" | "email" | "api" | "file" | "manual" | "conversation";
|
|
769
768
|
contract: "stacklink.memory.evidence.v1";
|
|
770
769
|
availability: "unknown" | "available" | "deleted";
|
|
771
770
|
object?: {
|
|
772
|
-
kind: string;
|
|
773
771
|
id: string;
|
|
772
|
+
kind: string;
|
|
774
773
|
name: string;
|
|
775
774
|
observed?: string | undefined;
|
|
776
775
|
} | undefined;
|
|
776
|
+
channel?: string | undefined;
|
|
777
|
+
fields?: {
|
|
778
|
+
label: string;
|
|
779
|
+
after: string;
|
|
780
|
+
before?: string | null | undefined;
|
|
781
|
+
}[] | undefined;
|
|
777
782
|
file?: {
|
|
778
783
|
title: string;
|
|
779
784
|
section?: string | undefined;
|
|
780
785
|
edited?: string | undefined;
|
|
781
786
|
} | undefined;
|
|
782
|
-
channel?: string | undefined;
|
|
783
787
|
from?: {
|
|
784
788
|
name: string;
|
|
785
789
|
address?: string | undefined;
|
|
786
790
|
} | undefined;
|
|
787
791
|
requestId?: string | undefined;
|
|
788
792
|
conversation?: {
|
|
789
|
-
speaker?: string | undefined;
|
|
790
793
|
sessionId?: string | undefined;
|
|
794
|
+
speaker?: string | undefined;
|
|
791
795
|
turn?: string | undefined;
|
|
792
796
|
assistant?: boolean | undefined;
|
|
793
797
|
} | undefined;
|
|
794
798
|
href?: string | undefined;
|
|
795
799
|
subject?: string | undefined;
|
|
796
|
-
fields?: {
|
|
797
|
-
label: string;
|
|
798
|
-
after: string;
|
|
799
|
-
before?: string | null | undefined;
|
|
800
|
-
}[] | undefined;
|
|
801
800
|
by?: string | undefined;
|
|
802
801
|
} | undefined;
|
|
803
802
|
};
|
|
803
|
+
kind: "block" | "fact" | "episode" | "profile_item";
|
|
804
|
+
mode: "exact" | "extract";
|
|
804
805
|
metadata: Record<string, unknown>;
|
|
805
806
|
content: string;
|
|
806
|
-
mode: "exact" | "extract";
|
|
807
807
|
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
808
808
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
809
809
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
@@ -811,11 +811,11 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
811
811
|
tenantId?: string | undefined;
|
|
812
812
|
sessionId?: string | undefined;
|
|
813
813
|
language?: string | undefined;
|
|
814
|
+
title?: string | undefined;
|
|
814
815
|
idempotencyKey?: string | undefined;
|
|
815
816
|
validFrom?: string | undefined;
|
|
816
817
|
validTo?: string | undefined;
|
|
817
818
|
externalTenantId?: string | undefined;
|
|
818
|
-
title?: string | undefined;
|
|
819
819
|
subjects?: {
|
|
820
820
|
type: "custom" | "run" | "user" | "agent" | "tenant" | "application";
|
|
821
821
|
externalId: string;
|
|
@@ -830,8 +830,6 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
830
830
|
occurredAt?: string | undefined;
|
|
831
831
|
}, {
|
|
832
832
|
content: string;
|
|
833
|
-
kind?: "block" | "fact" | "episode" | "profile_item" | undefined;
|
|
834
|
-
tenantId?: string | undefined;
|
|
835
833
|
source?: {
|
|
836
834
|
kind?: "provider" | "artifact" | "tool_execution" | "direct" | "conversation" | "document" | undefined;
|
|
837
835
|
externalId?: string | undefined;
|
|
@@ -842,19 +840,24 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
842
840
|
toolExecutionId?: string | undefined;
|
|
843
841
|
applicationKey?: string | undefined;
|
|
844
842
|
evidence?: {
|
|
845
|
-
kind: "object" | "
|
|
843
|
+
kind: "object" | "message" | "unknown" | "email" | "api" | "file" | "manual" | "conversation";
|
|
846
844
|
object?: {
|
|
847
|
-
kind: string;
|
|
848
845
|
id: string;
|
|
846
|
+
kind: string;
|
|
849
847
|
name: string;
|
|
850
848
|
observed?: string | undefined;
|
|
851
849
|
} | undefined;
|
|
850
|
+
channel?: string | undefined;
|
|
851
|
+
fields?: {
|
|
852
|
+
label: string;
|
|
853
|
+
after: string;
|
|
854
|
+
before?: string | null | undefined;
|
|
855
|
+
}[] | undefined;
|
|
852
856
|
file?: {
|
|
853
857
|
title: string;
|
|
854
858
|
section?: string | undefined;
|
|
855
859
|
edited?: string | undefined;
|
|
856
860
|
} | undefined;
|
|
857
|
-
channel?: string | undefined;
|
|
858
861
|
from?: {
|
|
859
862
|
name: string;
|
|
860
863
|
address?: string | undefined;
|
|
@@ -862,31 +865,28 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
862
865
|
requestId?: string | undefined;
|
|
863
866
|
contract?: "stacklink.memory.evidence.v1" | undefined;
|
|
864
867
|
conversation?: {
|
|
865
|
-
speaker?: string | undefined;
|
|
866
868
|
sessionId?: string | undefined;
|
|
869
|
+
speaker?: string | undefined;
|
|
867
870
|
turn?: string | undefined;
|
|
868
871
|
assistant?: boolean | undefined;
|
|
869
872
|
} | undefined;
|
|
870
873
|
href?: string | undefined;
|
|
871
874
|
availability?: "unknown" | "available" | "deleted" | undefined;
|
|
872
875
|
subject?: string | undefined;
|
|
873
|
-
fields?: {
|
|
874
|
-
label: string;
|
|
875
|
-
after: string;
|
|
876
|
-
before?: string | null | undefined;
|
|
877
|
-
}[] | undefined;
|
|
878
876
|
by?: string | undefined;
|
|
879
877
|
} | undefined;
|
|
880
878
|
} | undefined;
|
|
879
|
+
kind?: "block" | "fact" | "episode" | "profile_item" | undefined;
|
|
880
|
+
tenantId?: string | undefined;
|
|
881
881
|
sessionId?: string | undefined;
|
|
882
|
-
metadata?: Record<string, unknown> | undefined;
|
|
883
|
-
mode?: "exact" | "extract" | undefined;
|
|
884
882
|
language?: string | undefined;
|
|
883
|
+
mode?: "exact" | "extract" | undefined;
|
|
884
|
+
title?: string | undefined;
|
|
885
|
+
metadata?: Record<string, unknown> | undefined;
|
|
885
886
|
idempotencyKey?: string | undefined;
|
|
886
887
|
validFrom?: string | undefined;
|
|
887
888
|
validTo?: string | undefined;
|
|
888
889
|
externalTenantId?: string | undefined;
|
|
889
|
-
title?: string | undefined;
|
|
890
890
|
subjects?: {
|
|
891
891
|
type: "custom" | "run" | "user" | "agent" | "tenant" | "application";
|
|
892
892
|
externalId: string;
|
|
@@ -977,7 +977,6 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
977
977
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
978
978
|
}, "strip", z.ZodTypeAny, {
|
|
979
979
|
kind: "block" | "fact" | "episode" | "profile_item";
|
|
980
|
-
metadata: Record<string, unknown>;
|
|
981
980
|
input: {
|
|
982
981
|
type: "file";
|
|
983
982
|
mediaType: string;
|
|
@@ -988,6 +987,7 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
988
987
|
url: string;
|
|
989
988
|
};
|
|
990
989
|
mode: "exact" | "extract";
|
|
990
|
+
metadata: Record<string, unknown>;
|
|
991
991
|
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
992
992
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
993
993
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
@@ -995,11 +995,11 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
995
995
|
tenantId?: string | undefined;
|
|
996
996
|
sessionId?: string | undefined;
|
|
997
997
|
language?: string | undefined;
|
|
998
|
+
title?: string | undefined;
|
|
998
999
|
idempotencyKey?: string | undefined;
|
|
999
1000
|
validFrom?: string | undefined;
|
|
1000
1001
|
validTo?: string | undefined;
|
|
1001
1002
|
externalTenantId?: string | undefined;
|
|
1002
|
-
title?: string | undefined;
|
|
1003
1003
|
subjects?: {
|
|
1004
1004
|
type: "custom" | "run" | "user" | "agent" | "tenant" | "application";
|
|
1005
1005
|
externalId: string;
|
|
@@ -1025,14 +1025,14 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1025
1025
|
kind?: "block" | "fact" | "episode" | "profile_item" | undefined;
|
|
1026
1026
|
tenantId?: string | undefined;
|
|
1027
1027
|
sessionId?: string | undefined;
|
|
1028
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1029
|
-
mode?: "exact" | "extract" | undefined;
|
|
1030
1028
|
language?: string | undefined;
|
|
1029
|
+
mode?: "exact" | "extract" | undefined;
|
|
1030
|
+
title?: string | undefined;
|
|
1031
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1031
1032
|
idempotencyKey?: string | undefined;
|
|
1032
1033
|
validFrom?: string | undefined;
|
|
1033
1034
|
validTo?: string | undefined;
|
|
1034
1035
|
externalTenantId?: string | undefined;
|
|
1035
|
-
title?: string | undefined;
|
|
1036
1036
|
subjects?: {
|
|
1037
1037
|
type: "custom" | "run" | "user" | "agent" | "tenant" | "application";
|
|
1038
1038
|
externalId: string;
|
|
@@ -1051,7 +1051,6 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1051
1051
|
occurredAt?: string | undefined;
|
|
1052
1052
|
}>, {
|
|
1053
1053
|
kind: "block" | "fact" | "episode" | "profile_item";
|
|
1054
|
-
metadata: Record<string, unknown>;
|
|
1055
1054
|
input: {
|
|
1056
1055
|
type: "file";
|
|
1057
1056
|
mediaType: string;
|
|
@@ -1062,6 +1061,7 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1062
1061
|
url: string;
|
|
1063
1062
|
};
|
|
1064
1063
|
mode: "exact" | "extract";
|
|
1064
|
+
metadata: Record<string, unknown>;
|
|
1065
1065
|
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
1066
1066
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
1067
1067
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
@@ -1069,11 +1069,11 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1069
1069
|
tenantId?: string | undefined;
|
|
1070
1070
|
sessionId?: string | undefined;
|
|
1071
1071
|
language?: string | undefined;
|
|
1072
|
+
title?: string | undefined;
|
|
1072
1073
|
idempotencyKey?: string | undefined;
|
|
1073
1074
|
validFrom?: string | undefined;
|
|
1074
1075
|
validTo?: string | undefined;
|
|
1075
1076
|
externalTenantId?: string | undefined;
|
|
1076
|
-
title?: string | undefined;
|
|
1077
1077
|
subjects?: {
|
|
1078
1078
|
type: "custom" | "run" | "user" | "agent" | "tenant" | "application";
|
|
1079
1079
|
externalId: string;
|
|
@@ -1099,14 +1099,14 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1099
1099
|
kind?: "block" | "fact" | "episode" | "profile_item" | undefined;
|
|
1100
1100
|
tenantId?: string | undefined;
|
|
1101
1101
|
sessionId?: string | undefined;
|
|
1102
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1103
|
-
mode?: "exact" | "extract" | undefined;
|
|
1104
1102
|
language?: string | undefined;
|
|
1103
|
+
mode?: "exact" | "extract" | undefined;
|
|
1104
|
+
title?: string | undefined;
|
|
1105
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1105
1106
|
idempotencyKey?: string | undefined;
|
|
1106
1107
|
validFrom?: string | undefined;
|
|
1107
1108
|
validTo?: string | undefined;
|
|
1108
1109
|
externalTenantId?: string | undefined;
|
|
1109
|
-
title?: string | undefined;
|
|
1110
1110
|
subjects?: {
|
|
1111
1111
|
type: "custom" | "run" | "user" | "agent" | "tenant" | "application";
|
|
1112
1112
|
externalId: string;
|
|
@@ -1297,7 +1297,7 @@ export declare const memoryContextInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1297
1297
|
includeGraph: boolean;
|
|
1298
1298
|
includeSourceRefs: boolean;
|
|
1299
1299
|
includeRecentEpisodes: boolean;
|
|
1300
|
-
promptFormat: "
|
|
1300
|
+
promptFormat: "text" | "markdown";
|
|
1301
1301
|
tenantId?: string | undefined;
|
|
1302
1302
|
sessionId?: string | undefined;
|
|
1303
1303
|
kinds?: ("block" | "fact" | "episode" | "profile_item")[] | undefined;
|
|
@@ -1345,7 +1345,7 @@ export declare const memoryContextInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1345
1345
|
includeProfile?: boolean | undefined;
|
|
1346
1346
|
includeBlocks?: boolean | undefined;
|
|
1347
1347
|
includeRecentEpisodes?: boolean | undefined;
|
|
1348
|
-
promptFormat?: "
|
|
1348
|
+
promptFormat?: "text" | "markdown" | undefined;
|
|
1349
1349
|
}>, {
|
|
1350
1350
|
limit: number;
|
|
1351
1351
|
query: string;
|
|
@@ -1353,7 +1353,7 @@ export declare const memoryContextInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1353
1353
|
includeGraph: boolean;
|
|
1354
1354
|
includeSourceRefs: boolean;
|
|
1355
1355
|
includeRecentEpisodes: boolean;
|
|
1356
|
-
promptFormat: "
|
|
1356
|
+
promptFormat: "text" | "markdown";
|
|
1357
1357
|
tenantId?: string | undefined;
|
|
1358
1358
|
sessionId?: string | undefined;
|
|
1359
1359
|
kinds?: ("block" | "fact" | "episode" | "profile_item")[] | undefined;
|
|
@@ -1401,7 +1401,7 @@ export declare const memoryContextInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1401
1401
|
includeProfile?: boolean | undefined;
|
|
1402
1402
|
includeBlocks?: boolean | undefined;
|
|
1403
1403
|
includeRecentEpisodes?: boolean | undefined;
|
|
1404
|
-
promptFormat?: "
|
|
1404
|
+
promptFormat?: "text" | "markdown" | undefined;
|
|
1405
1405
|
}>;
|
|
1406
1406
|
export type MemoryContextInput = z.input<typeof memoryContextInputSchema>;
|
|
1407
1407
|
export type ParsedMemoryContextInput = z.output<typeof memoryContextInputSchema>;
|
|
@@ -1527,52 +1527,52 @@ export declare const memoryRecordUpdateInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1527
1527
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1528
1528
|
}, "strip", z.ZodTypeAny, {
|
|
1529
1529
|
reason?: string | undefined;
|
|
1530
|
+
language?: string | null | undefined;
|
|
1531
|
+
title?: string | null | undefined;
|
|
1530
1532
|
metadata?: Record<string, unknown> | undefined;
|
|
1531
1533
|
content?: string | undefined;
|
|
1532
|
-
language?: string | null | undefined;
|
|
1533
1534
|
state?: "current" | "conflicted" | undefined;
|
|
1534
1535
|
validFrom?: string | null | undefined;
|
|
1535
1536
|
validTo?: string | null | undefined;
|
|
1536
|
-
title?: string | null | undefined;
|
|
1537
1537
|
memoryType?: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact" | undefined;
|
|
1538
1538
|
sensitivityClass?: "standard" | "personal" | "restricted" | "secret" | undefined;
|
|
1539
1539
|
restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
|
|
1540
1540
|
topicTags?: string[] | undefined;
|
|
1541
1541
|
}, {
|
|
1542
1542
|
reason?: string | undefined;
|
|
1543
|
+
language?: string | null | undefined;
|
|
1544
|
+
title?: string | null | undefined;
|
|
1543
1545
|
metadata?: Record<string, unknown> | undefined;
|
|
1544
1546
|
content?: string | undefined;
|
|
1545
|
-
language?: string | null | undefined;
|
|
1546
1547
|
state?: "current" | "conflicted" | undefined;
|
|
1547
1548
|
validFrom?: string | null | undefined;
|
|
1548
1549
|
validTo?: string | null | undefined;
|
|
1549
|
-
title?: string | null | undefined;
|
|
1550
1550
|
memoryType?: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact" | undefined;
|
|
1551
1551
|
sensitivityClass?: "standard" | "personal" | "restricted" | "secret" | undefined;
|
|
1552
1552
|
restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
|
|
1553
1553
|
topicTags?: string[] | undefined;
|
|
1554
1554
|
}>, {
|
|
1555
1555
|
reason?: string | undefined;
|
|
1556
|
+
language?: string | null | undefined;
|
|
1557
|
+
title?: string | null | undefined;
|
|
1556
1558
|
metadata?: Record<string, unknown> | undefined;
|
|
1557
1559
|
content?: string | undefined;
|
|
1558
|
-
language?: string | null | undefined;
|
|
1559
1560
|
state?: "current" | "conflicted" | undefined;
|
|
1560
1561
|
validFrom?: string | null | undefined;
|
|
1561
1562
|
validTo?: string | null | undefined;
|
|
1562
|
-
title?: string | null | undefined;
|
|
1563
1563
|
memoryType?: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact" | undefined;
|
|
1564
1564
|
sensitivityClass?: "standard" | "personal" | "restricted" | "secret" | undefined;
|
|
1565
1565
|
restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
|
|
1566
1566
|
topicTags?: string[] | undefined;
|
|
1567
1567
|
}, {
|
|
1568
1568
|
reason?: string | undefined;
|
|
1569
|
+
language?: string | null | undefined;
|
|
1570
|
+
title?: string | null | undefined;
|
|
1569
1571
|
metadata?: Record<string, unknown> | undefined;
|
|
1570
1572
|
content?: string | undefined;
|
|
1571
|
-
language?: string | null | undefined;
|
|
1572
1573
|
state?: "current" | "conflicted" | undefined;
|
|
1573
1574
|
validFrom?: string | null | undefined;
|
|
1574
1575
|
validTo?: string | null | undefined;
|
|
1575
|
-
title?: string | null | undefined;
|
|
1576
1576
|
memoryType?: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact" | undefined;
|
|
1577
1577
|
sensitivityClass?: "standard" | "personal" | "restricted" | "secret" | undefined;
|
|
1578
1578
|
restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
|
|
@@ -1650,8 +1650,8 @@ export declare const memoryRecordQualityReviewInputSchema: z.ZodEffects<z.ZodObj
|
|
|
1650
1650
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
1651
1651
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
1652
1652
|
disposition: "keep" | "correct" | "convert_to_episode" | "restrict";
|
|
1653
|
-
salience: "
|
|
1654
|
-
evidenceConfidence: "
|
|
1653
|
+
salience: "medium" | "low" | "high";
|
|
1654
|
+
evidenceConfidence: "medium" | "low" | "high";
|
|
1655
1655
|
actorEntity: {
|
|
1656
1656
|
canonicalKey: string;
|
|
1657
1657
|
entityType: string;
|
|
@@ -1664,11 +1664,11 @@ export declare const memoryRecordQualityReviewInputSchema: z.ZodEffects<z.ZodObj
|
|
|
1664
1664
|
attributes: Record<string, unknown>;
|
|
1665
1665
|
displayName?: string | null | undefined;
|
|
1666
1666
|
};
|
|
1667
|
-
content?: string | undefined;
|
|
1668
1667
|
language?: string | null | undefined;
|
|
1668
|
+
title?: string | null | undefined;
|
|
1669
|
+
content?: string | undefined;
|
|
1669
1670
|
validFrom?: string | null | undefined;
|
|
1670
1671
|
validTo?: string | null | undefined;
|
|
1671
|
-
title?: string | null | undefined;
|
|
1672
1672
|
topicTags?: string[] | undefined;
|
|
1673
1673
|
}, {
|
|
1674
1674
|
reason: string;
|
|
@@ -1676,8 +1676,8 @@ export declare const memoryRecordQualityReviewInputSchema: z.ZodEffects<z.ZodObj
|
|
|
1676
1676
|
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
1677
1677
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
1678
1678
|
disposition: "keep" | "correct" | "convert_to_episode" | "restrict";
|
|
1679
|
-
salience: "
|
|
1680
|
-
evidenceConfidence: "
|
|
1679
|
+
salience: "medium" | "low" | "high";
|
|
1680
|
+
evidenceConfidence: "medium" | "low" | "high";
|
|
1681
1681
|
actorEntity: {
|
|
1682
1682
|
canonicalKey: string;
|
|
1683
1683
|
entityType: string;
|
|
@@ -1690,11 +1690,11 @@ export declare const memoryRecordQualityReviewInputSchema: z.ZodEffects<z.ZodObj
|
|
|
1690
1690
|
displayName?: string | null | undefined;
|
|
1691
1691
|
attributes?: Record<string, unknown> | undefined;
|
|
1692
1692
|
};
|
|
1693
|
-
content?: string | undefined;
|
|
1694
1693
|
language?: string | null | undefined;
|
|
1694
|
+
title?: string | null | undefined;
|
|
1695
|
+
content?: string | undefined;
|
|
1695
1696
|
validFrom?: string | null | undefined;
|
|
1696
1697
|
validTo?: string | null | undefined;
|
|
1697
|
-
title?: string | null | undefined;
|
|
1698
1698
|
restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
|
|
1699
1699
|
topicTags?: string[] | undefined;
|
|
1700
1700
|
}>, {
|
|
@@ -1704,8 +1704,8 @@ export declare const memoryRecordQualityReviewInputSchema: z.ZodEffects<z.ZodObj
|
|
|
1704
1704
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
1705
1705
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
1706
1706
|
disposition: "keep" | "correct" | "convert_to_episode" | "restrict";
|
|
1707
|
-
salience: "
|
|
1708
|
-
evidenceConfidence: "
|
|
1707
|
+
salience: "medium" | "low" | "high";
|
|
1708
|
+
evidenceConfidence: "medium" | "low" | "high";
|
|
1709
1709
|
actorEntity: {
|
|
1710
1710
|
canonicalKey: string;
|
|
1711
1711
|
entityType: string;
|
|
@@ -1718,11 +1718,11 @@ export declare const memoryRecordQualityReviewInputSchema: z.ZodEffects<z.ZodObj
|
|
|
1718
1718
|
attributes: Record<string, unknown>;
|
|
1719
1719
|
displayName?: string | null | undefined;
|
|
1720
1720
|
};
|
|
1721
|
-
content?: string | undefined;
|
|
1722
1721
|
language?: string | null | undefined;
|
|
1722
|
+
title?: string | null | undefined;
|
|
1723
|
+
content?: string | undefined;
|
|
1723
1724
|
validFrom?: string | null | undefined;
|
|
1724
1725
|
validTo?: string | null | undefined;
|
|
1725
|
-
title?: string | null | undefined;
|
|
1726
1726
|
topicTags?: string[] | undefined;
|
|
1727
1727
|
}, {
|
|
1728
1728
|
reason: string;
|
|
@@ -1730,8 +1730,8 @@ export declare const memoryRecordQualityReviewInputSchema: z.ZodEffects<z.ZodObj
|
|
|
1730
1730
|
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
1731
1731
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
1732
1732
|
disposition: "keep" | "correct" | "convert_to_episode" | "restrict";
|
|
1733
|
-
salience: "
|
|
1734
|
-
evidenceConfidence: "
|
|
1733
|
+
salience: "medium" | "low" | "high";
|
|
1734
|
+
evidenceConfidence: "medium" | "low" | "high";
|
|
1735
1735
|
actorEntity: {
|
|
1736
1736
|
canonicalKey: string;
|
|
1737
1737
|
entityType: string;
|
|
@@ -1744,11 +1744,11 @@ export declare const memoryRecordQualityReviewInputSchema: z.ZodEffects<z.ZodObj
|
|
|
1744
1744
|
displayName?: string | null | undefined;
|
|
1745
1745
|
attributes?: Record<string, unknown> | undefined;
|
|
1746
1746
|
};
|
|
1747
|
-
content?: string | undefined;
|
|
1748
1747
|
language?: string | null | undefined;
|
|
1748
|
+
title?: string | null | undefined;
|
|
1749
|
+
content?: string | undefined;
|
|
1749
1750
|
validFrom?: string | null | undefined;
|
|
1750
1751
|
validTo?: string | null | undefined;
|
|
1751
|
-
title?: string | null | undefined;
|
|
1752
1752
|
restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
|
|
1753
1753
|
topicTags?: string[] | undefined;
|
|
1754
1754
|
}>;
|
|
@@ -1782,10 +1782,10 @@ export declare const memoryBlockInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1782
1782
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1783
1783
|
}, "strip", z.ZodTypeAny, {
|
|
1784
1784
|
required: boolean;
|
|
1785
|
+
title: string;
|
|
1785
1786
|
metadata: Record<string, unknown>;
|
|
1786
1787
|
content: string;
|
|
1787
1788
|
access: "read_only" | "editable";
|
|
1788
|
-
title: string;
|
|
1789
1789
|
priority: number;
|
|
1790
1790
|
tenantId?: string | undefined;
|
|
1791
1791
|
sessionId?: string | undefined;
|
|
@@ -1795,8 +1795,8 @@ export declare const memoryBlockInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1795
1795
|
externalId: string;
|
|
1796
1796
|
}[] | undefined;
|
|
1797
1797
|
}, {
|
|
1798
|
-
content: string;
|
|
1799
1798
|
title: string;
|
|
1799
|
+
content: string;
|
|
1800
1800
|
tenantId?: string | undefined;
|
|
1801
1801
|
required?: boolean | undefined;
|
|
1802
1802
|
sessionId?: string | undefined;
|
|
@@ -1810,10 +1810,10 @@ export declare const memoryBlockInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1810
1810
|
priority?: number | undefined;
|
|
1811
1811
|
}>, {
|
|
1812
1812
|
required: boolean;
|
|
1813
|
+
title: string;
|
|
1813
1814
|
metadata: Record<string, unknown>;
|
|
1814
1815
|
content: string;
|
|
1815
1816
|
access: "read_only" | "editable";
|
|
1816
|
-
title: string;
|
|
1817
1817
|
priority: number;
|
|
1818
1818
|
tenantId?: string | undefined;
|
|
1819
1819
|
sessionId?: string | undefined;
|
|
@@ -1823,8 +1823,8 @@ export declare const memoryBlockInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1823
1823
|
externalId: string;
|
|
1824
1824
|
}[] | undefined;
|
|
1825
1825
|
}, {
|
|
1826
|
-
content: string;
|
|
1827
1826
|
title: string;
|
|
1827
|
+
content: string;
|
|
1828
1828
|
tenantId?: string | undefined;
|
|
1829
1829
|
required?: boolean | undefined;
|
|
1830
1830
|
sessionId?: string | undefined;
|
|
@@ -2602,8 +2602,8 @@ export declare const memoryConversationTurnInputSchema: z.ZodObject<{
|
|
|
2602
2602
|
content: string;
|
|
2603
2603
|
applicationKey: string;
|
|
2604
2604
|
turnId: string;
|
|
2605
|
-
metadata?: Record<string, unknown> | undefined;
|
|
2606
2605
|
title?: string | undefined;
|
|
2606
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2607
2607
|
consent?: {
|
|
2608
2608
|
status: "granted";
|
|
2609
2609
|
basis: "contract" | "user_consent" | "legitimate_interest" | "project_policy";
|
|
@@ -2923,6 +2923,7 @@ export declare const memoryProjectPolicyInputSchema: z.ZodObject<{
|
|
|
2923
2923
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2924
2924
|
}, "strip", z.ZodTypeAny, {
|
|
2925
2925
|
key: string;
|
|
2926
|
+
retentionDays: number | null;
|
|
2926
2927
|
context: Record<string, unknown>;
|
|
2927
2928
|
metadata: Record<string, unknown>;
|
|
2928
2929
|
languages: string[];
|
|
@@ -2933,10 +2934,10 @@ export declare const memoryProjectPolicyInputSchema: z.ZodObject<{
|
|
|
2933
2934
|
captureMode: "explicit" | "bound_sources";
|
|
2934
2935
|
extractionEnabled: boolean;
|
|
2935
2936
|
profileEnabled: boolean;
|
|
2936
|
-
retentionDays: number | null;
|
|
2937
2937
|
extraction: Record<string, unknown>;
|
|
2938
2938
|
}, {
|
|
2939
2939
|
key?: string | undefined;
|
|
2940
|
+
retentionDays?: number | null | undefined;
|
|
2940
2941
|
context?: Record<string, unknown> | undefined;
|
|
2941
2942
|
metadata?: Record<string, unknown> | undefined;
|
|
2942
2943
|
languages?: string[] | undefined;
|
|
@@ -2947,7 +2948,6 @@ export declare const memoryProjectPolicyInputSchema: z.ZodObject<{
|
|
|
2947
2948
|
captureMode?: "explicit" | "bound_sources" | undefined;
|
|
2948
2949
|
extractionEnabled?: boolean | undefined;
|
|
2949
2950
|
profileEnabled?: boolean | undefined;
|
|
2950
|
-
retentionDays?: number | null | undefined;
|
|
2951
2951
|
extraction?: Record<string, unknown> | undefined;
|
|
2952
2952
|
}>;
|
|
2953
2953
|
export declare const memoryProjectPolicyUpdateInputSchema: z.ZodObject<Omit<{
|
|
@@ -2967,6 +2967,7 @@ export declare const memoryProjectPolicyUpdateInputSchema: z.ZodObject<Omit<{
|
|
|
2967
2967
|
}, "key"> & {
|
|
2968
2968
|
expectedVersion: z.ZodNumber;
|
|
2969
2969
|
}, "strict", z.ZodTypeAny, {
|
|
2970
|
+
retentionDays: number | null;
|
|
2970
2971
|
context: Record<string, unknown>;
|
|
2971
2972
|
metadata: Record<string, unknown>;
|
|
2972
2973
|
languages: string[];
|
|
@@ -2977,11 +2978,11 @@ export declare const memoryProjectPolicyUpdateInputSchema: z.ZodObject<Omit<{
|
|
|
2977
2978
|
captureMode: "explicit" | "bound_sources";
|
|
2978
2979
|
extractionEnabled: boolean;
|
|
2979
2980
|
profileEnabled: boolean;
|
|
2980
|
-
retentionDays: number | null;
|
|
2981
2981
|
extraction: Record<string, unknown>;
|
|
2982
2982
|
expectedVersion: number;
|
|
2983
2983
|
}, {
|
|
2984
2984
|
expectedVersion: number;
|
|
2985
|
+
retentionDays?: number | null | undefined;
|
|
2985
2986
|
context?: Record<string, unknown> | undefined;
|
|
2986
2987
|
metadata?: Record<string, unknown> | undefined;
|
|
2987
2988
|
languages?: string[] | undefined;
|
|
@@ -2992,7 +2993,6 @@ export declare const memoryProjectPolicyUpdateInputSchema: z.ZodObject<Omit<{
|
|
|
2992
2993
|
captureMode?: "explicit" | "bound_sources" | undefined;
|
|
2993
2994
|
extractionEnabled?: boolean | undefined;
|
|
2994
2995
|
profileEnabled?: boolean | undefined;
|
|
2995
|
-
retentionDays?: number | null | undefined;
|
|
2996
2996
|
extraction?: Record<string, unknown> | undefined;
|
|
2997
2997
|
}>;
|
|
2998
2998
|
export declare const memoryPolicyPreviewInputSchema: z.ZodObject<{
|
|
@@ -3016,6 +3016,7 @@ export declare const memoryPolicyPreviewInputSchema: z.ZodObject<{
|
|
|
3016
3016
|
context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3017
3017
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3018
3018
|
}, "key">, "strip", z.ZodTypeAny, {
|
|
3019
|
+
retentionDays: number | null;
|
|
3019
3020
|
context: Record<string, unknown>;
|
|
3020
3021
|
metadata: Record<string, unknown>;
|
|
3021
3022
|
languages: string[];
|
|
@@ -3026,9 +3027,9 @@ export declare const memoryPolicyPreviewInputSchema: z.ZodObject<{
|
|
|
3026
3027
|
captureMode: "explicit" | "bound_sources";
|
|
3027
3028
|
extractionEnabled: boolean;
|
|
3028
3029
|
profileEnabled: boolean;
|
|
3029
|
-
retentionDays: number | null;
|
|
3030
3030
|
extraction: Record<string, unknown>;
|
|
3031
3031
|
}, {
|
|
3032
|
+
retentionDays?: number | null | undefined;
|
|
3032
3033
|
context?: Record<string, unknown> | undefined;
|
|
3033
3034
|
metadata?: Record<string, unknown> | undefined;
|
|
3034
3035
|
languages?: string[] | undefined;
|
|
@@ -3039,11 +3040,11 @@ export declare const memoryPolicyPreviewInputSchema: z.ZodObject<{
|
|
|
3039
3040
|
captureMode?: "explicit" | "bound_sources" | undefined;
|
|
3040
3041
|
extractionEnabled?: boolean | undefined;
|
|
3041
3042
|
profileEnabled?: boolean | undefined;
|
|
3042
|
-
retentionDays?: number | null | undefined;
|
|
3043
3043
|
extraction?: Record<string, unknown> | undefined;
|
|
3044
3044
|
}>>;
|
|
3045
3045
|
}, "strict", z.ZodTypeAny, {
|
|
3046
3046
|
policy: {
|
|
3047
|
+
retentionDays: number | null;
|
|
3047
3048
|
context: Record<string, unknown>;
|
|
3048
3049
|
metadata: Record<string, unknown>;
|
|
3049
3050
|
languages: string[];
|
|
@@ -3054,7 +3055,6 @@ export declare const memoryPolicyPreviewInputSchema: z.ZodObject<{
|
|
|
3054
3055
|
captureMode: "explicit" | "bound_sources";
|
|
3055
3056
|
extractionEnabled: boolean;
|
|
3056
3057
|
profileEnabled: boolean;
|
|
3057
|
-
retentionDays: number | null;
|
|
3058
3058
|
extraction: Record<string, unknown>;
|
|
3059
3059
|
};
|
|
3060
3060
|
content: string;
|
|
@@ -3066,6 +3066,7 @@ export declare const memoryPolicyPreviewInputSchema: z.ZodObject<{
|
|
|
3066
3066
|
content: string;
|
|
3067
3067
|
idempotencyKey: string;
|
|
3068
3068
|
policy?: {
|
|
3069
|
+
retentionDays?: number | null | undefined;
|
|
3069
3070
|
context?: Record<string, unknown> | undefined;
|
|
3070
3071
|
metadata?: Record<string, unknown> | undefined;
|
|
3071
3072
|
languages?: string[] | undefined;
|
|
@@ -3076,7 +3077,6 @@ export declare const memoryPolicyPreviewInputSchema: z.ZodObject<{
|
|
|
3076
3077
|
captureMode?: "explicit" | "bound_sources" | undefined;
|
|
3077
3078
|
extractionEnabled?: boolean | undefined;
|
|
3078
3079
|
profileEnabled?: boolean | undefined;
|
|
3079
|
-
retentionDays?: number | null | undefined;
|
|
3080
3080
|
extraction?: Record<string, unknown> | undefined;
|
|
3081
3081
|
} | undefined;
|
|
3082
3082
|
language?: string | undefined;
|
|
@@ -3145,14 +3145,14 @@ export declare const memoryExtractedEntitySchema: z.ZodObject<{
|
|
|
3145
3145
|
displayName: z.ZodNullable<z.ZodString>;
|
|
3146
3146
|
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3147
3147
|
}, "strict", z.ZodTypeAny, {
|
|
3148
|
-
type: string;
|
|
3149
3148
|
key: string;
|
|
3149
|
+
type: string;
|
|
3150
3150
|
displayName: string | null;
|
|
3151
3151
|
canonicalKey: string;
|
|
3152
3152
|
attributes: Record<string, unknown>;
|
|
3153
3153
|
}, {
|
|
3154
|
-
type: string;
|
|
3155
3154
|
key: string;
|
|
3155
|
+
type: string;
|
|
3156
3156
|
displayName: string | null;
|
|
3157
3157
|
canonicalKey: string;
|
|
3158
3158
|
attributes: Record<string, unknown>;
|
|
@@ -3289,14 +3289,14 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3289
3289
|
displayName: z.ZodNullable<z.ZodString>;
|
|
3290
3290
|
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3291
3291
|
}, "strict", z.ZodTypeAny, {
|
|
3292
|
-
type: string;
|
|
3293
3292
|
key: string;
|
|
3293
|
+
type: string;
|
|
3294
3294
|
displayName: string | null;
|
|
3295
3295
|
canonicalKey: string;
|
|
3296
3296
|
attributes: Record<string, unknown>;
|
|
3297
3297
|
}, {
|
|
3298
|
-
type: string;
|
|
3299
3298
|
key: string;
|
|
3299
|
+
type: string;
|
|
3300
3300
|
displayName: string | null;
|
|
3301
3301
|
canonicalKey: string;
|
|
3302
3302
|
attributes: Record<string, unknown>;
|
|
@@ -3344,14 +3344,14 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3344
3344
|
}>, "many">;
|
|
3345
3345
|
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3346
3346
|
}, "strict", z.ZodTypeAny, {
|
|
3347
|
-
content: string;
|
|
3348
3347
|
language: string;
|
|
3348
|
+
title: string;
|
|
3349
|
+
content: string;
|
|
3349
3350
|
qualityContractVersion: 1;
|
|
3350
3351
|
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
3351
3352
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed";
|
|
3352
3353
|
validFrom: string | null;
|
|
3353
3354
|
validTo: string | null;
|
|
3354
|
-
title: string;
|
|
3355
3355
|
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
3356
3356
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3357
3357
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
@@ -3364,8 +3364,8 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3364
3364
|
quotedText: string;
|
|
3365
3365
|
}[];
|
|
3366
3366
|
attributes: Record<string, unknown>;
|
|
3367
|
-
salience: "
|
|
3368
|
-
evidenceConfidence: "
|
|
3367
|
+
salience: "medium" | "low" | "high";
|
|
3368
|
+
evidenceConfidence: "medium" | "low" | "high";
|
|
3369
3369
|
subjectEntityKey: string | null;
|
|
3370
3370
|
candidateId: string;
|
|
3371
3371
|
recordKind: "fact" | "episode";
|
|
@@ -3374,8 +3374,8 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3374
3374
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
3375
3375
|
contextEligible: boolean;
|
|
3376
3376
|
entities: {
|
|
3377
|
-
type: string;
|
|
3378
3377
|
key: string;
|
|
3378
|
+
type: string;
|
|
3379
3379
|
displayName: string | null;
|
|
3380
3380
|
canonicalKey: string;
|
|
3381
3381
|
attributes: Record<string, unknown>;
|
|
@@ -3390,12 +3390,12 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3390
3390
|
literalValue?: unknown;
|
|
3391
3391
|
}[];
|
|
3392
3392
|
}, {
|
|
3393
|
-
content: string;
|
|
3394
3393
|
language: string;
|
|
3394
|
+
title: string;
|
|
3395
|
+
content: string;
|
|
3395
3396
|
qualityContractVersion: 1;
|
|
3396
3397
|
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
3397
3398
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed";
|
|
3398
|
-
title: string;
|
|
3399
3399
|
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
3400
3400
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3401
3401
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
@@ -3408,8 +3408,8 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3408
3408
|
quotedText: string;
|
|
3409
3409
|
}[];
|
|
3410
3410
|
attributes: Record<string, unknown>;
|
|
3411
|
-
salience: "
|
|
3412
|
-
evidenceConfidence: "
|
|
3411
|
+
salience: "medium" | "low" | "high";
|
|
3412
|
+
evidenceConfidence: "medium" | "low" | "high";
|
|
3413
3413
|
subjectEntityKey: string | null;
|
|
3414
3414
|
candidateId: string;
|
|
3415
3415
|
recordKind: "fact" | "episode";
|
|
@@ -3418,8 +3418,8 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3418
3418
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
3419
3419
|
contextEligible: boolean;
|
|
3420
3420
|
entities: {
|
|
3421
|
-
type: string;
|
|
3422
3421
|
key: string;
|
|
3422
|
+
type: string;
|
|
3423
3423
|
displayName: string | null;
|
|
3424
3424
|
canonicalKey: string;
|
|
3425
3425
|
attributes: Record<string, unknown>;
|
|
@@ -3436,14 +3436,14 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3436
3436
|
validFrom?: unknown;
|
|
3437
3437
|
validTo?: unknown;
|
|
3438
3438
|
}>, {
|
|
3439
|
-
content: string;
|
|
3440
3439
|
language: string;
|
|
3440
|
+
title: string;
|
|
3441
|
+
content: string;
|
|
3441
3442
|
qualityContractVersion: 1;
|
|
3442
3443
|
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
3443
3444
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed";
|
|
3444
3445
|
validFrom: string | null;
|
|
3445
3446
|
validTo: string | null;
|
|
3446
|
-
title: string;
|
|
3447
3447
|
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
3448
3448
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3449
3449
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
@@ -3456,8 +3456,8 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3456
3456
|
quotedText: string;
|
|
3457
3457
|
}[];
|
|
3458
3458
|
attributes: Record<string, unknown>;
|
|
3459
|
-
salience: "
|
|
3460
|
-
evidenceConfidence: "
|
|
3459
|
+
salience: "medium" | "low" | "high";
|
|
3460
|
+
evidenceConfidence: "medium" | "low" | "high";
|
|
3461
3461
|
subjectEntityKey: string | null;
|
|
3462
3462
|
candidateId: string;
|
|
3463
3463
|
recordKind: "fact" | "episode";
|
|
@@ -3466,8 +3466,8 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3466
3466
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
3467
3467
|
contextEligible: boolean;
|
|
3468
3468
|
entities: {
|
|
3469
|
-
type: string;
|
|
3470
3469
|
key: string;
|
|
3470
|
+
type: string;
|
|
3471
3471
|
displayName: string | null;
|
|
3472
3472
|
canonicalKey: string;
|
|
3473
3473
|
attributes: Record<string, unknown>;
|
|
@@ -3482,12 +3482,12 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3482
3482
|
literalValue?: unknown;
|
|
3483
3483
|
}[];
|
|
3484
3484
|
}, {
|
|
3485
|
-
content: string;
|
|
3486
3485
|
language: string;
|
|
3486
|
+
title: string;
|
|
3487
|
+
content: string;
|
|
3487
3488
|
qualityContractVersion: 1;
|
|
3488
3489
|
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
3489
3490
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed";
|
|
3490
|
-
title: string;
|
|
3491
3491
|
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
3492
3492
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3493
3493
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
@@ -3500,8 +3500,8 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3500
3500
|
quotedText: string;
|
|
3501
3501
|
}[];
|
|
3502
3502
|
attributes: Record<string, unknown>;
|
|
3503
|
-
salience: "
|
|
3504
|
-
evidenceConfidence: "
|
|
3503
|
+
salience: "medium" | "low" | "high";
|
|
3504
|
+
evidenceConfidence: "medium" | "low" | "high";
|
|
3505
3505
|
subjectEntityKey: string | null;
|
|
3506
3506
|
candidateId: string;
|
|
3507
3507
|
recordKind: "fact" | "episode";
|
|
@@ -3510,8 +3510,8 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3510
3510
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
3511
3511
|
contextEligible: boolean;
|
|
3512
3512
|
entities: {
|
|
3513
|
-
type: string;
|
|
3514
3513
|
key: string;
|
|
3514
|
+
type: string;
|
|
3515
3515
|
displayName: string | null;
|
|
3516
3516
|
canonicalKey: string;
|
|
3517
3517
|
attributes: Record<string, unknown>;
|
|
@@ -3589,14 +3589,14 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3589
3589
|
displayName: z.ZodNullable<z.ZodString>;
|
|
3590
3590
|
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3591
3591
|
}, "strict", z.ZodTypeAny, {
|
|
3592
|
-
type: string;
|
|
3593
3592
|
key: string;
|
|
3593
|
+
type: string;
|
|
3594
3594
|
displayName: string | null;
|
|
3595
3595
|
canonicalKey: string;
|
|
3596
3596
|
attributes: Record<string, unknown>;
|
|
3597
3597
|
}, {
|
|
3598
|
-
type: string;
|
|
3599
3598
|
key: string;
|
|
3599
|
+
type: string;
|
|
3600
3600
|
displayName: string | null;
|
|
3601
3601
|
canonicalKey: string;
|
|
3602
3602
|
attributes: Record<string, unknown>;
|
|
@@ -3644,14 +3644,14 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3644
3644
|
}>, "many">;
|
|
3645
3645
|
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3646
3646
|
}, "strict", z.ZodTypeAny, {
|
|
3647
|
-
content: string;
|
|
3648
3647
|
language: string;
|
|
3648
|
+
title: string;
|
|
3649
|
+
content: string;
|
|
3649
3650
|
qualityContractVersion: 1;
|
|
3650
3651
|
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
3651
3652
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed";
|
|
3652
3653
|
validFrom: string | null;
|
|
3653
3654
|
validTo: string | null;
|
|
3654
|
-
title: string;
|
|
3655
3655
|
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
3656
3656
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3657
3657
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
@@ -3664,8 +3664,8 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3664
3664
|
quotedText: string;
|
|
3665
3665
|
}[];
|
|
3666
3666
|
attributes: Record<string, unknown>;
|
|
3667
|
-
salience: "
|
|
3668
|
-
evidenceConfidence: "
|
|
3667
|
+
salience: "medium" | "low" | "high";
|
|
3668
|
+
evidenceConfidence: "medium" | "low" | "high";
|
|
3669
3669
|
subjectEntityKey: string | null;
|
|
3670
3670
|
candidateId: string;
|
|
3671
3671
|
recordKind: "fact" | "episode";
|
|
@@ -3674,8 +3674,8 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3674
3674
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
3675
3675
|
contextEligible: boolean;
|
|
3676
3676
|
entities: {
|
|
3677
|
-
type: string;
|
|
3678
3677
|
key: string;
|
|
3678
|
+
type: string;
|
|
3679
3679
|
displayName: string | null;
|
|
3680
3680
|
canonicalKey: string;
|
|
3681
3681
|
attributes: Record<string, unknown>;
|
|
@@ -3690,12 +3690,12 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3690
3690
|
literalValue?: unknown;
|
|
3691
3691
|
}[];
|
|
3692
3692
|
}, {
|
|
3693
|
-
content: string;
|
|
3694
3693
|
language: string;
|
|
3694
|
+
title: string;
|
|
3695
|
+
content: string;
|
|
3695
3696
|
qualityContractVersion: 1;
|
|
3696
3697
|
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
3697
3698
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed";
|
|
3698
|
-
title: string;
|
|
3699
3699
|
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
3700
3700
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3701
3701
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
@@ -3708,8 +3708,8 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3708
3708
|
quotedText: string;
|
|
3709
3709
|
}[];
|
|
3710
3710
|
attributes: Record<string, unknown>;
|
|
3711
|
-
salience: "
|
|
3712
|
-
evidenceConfidence: "
|
|
3711
|
+
salience: "medium" | "low" | "high";
|
|
3712
|
+
evidenceConfidence: "medium" | "low" | "high";
|
|
3713
3713
|
subjectEntityKey: string | null;
|
|
3714
3714
|
candidateId: string;
|
|
3715
3715
|
recordKind: "fact" | "episode";
|
|
@@ -3718,8 +3718,8 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3718
3718
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
3719
3719
|
contextEligible: boolean;
|
|
3720
3720
|
entities: {
|
|
3721
|
-
type: string;
|
|
3722
3721
|
key: string;
|
|
3722
|
+
type: string;
|
|
3723
3723
|
displayName: string | null;
|
|
3724
3724
|
canonicalKey: string;
|
|
3725
3725
|
attributes: Record<string, unknown>;
|
|
@@ -3736,14 +3736,14 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3736
3736
|
validFrom?: unknown;
|
|
3737
3737
|
validTo?: unknown;
|
|
3738
3738
|
}>, {
|
|
3739
|
-
content: string;
|
|
3740
3739
|
language: string;
|
|
3740
|
+
title: string;
|
|
3741
|
+
content: string;
|
|
3741
3742
|
qualityContractVersion: 1;
|
|
3742
3743
|
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
3743
3744
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed";
|
|
3744
3745
|
validFrom: string | null;
|
|
3745
3746
|
validTo: string | null;
|
|
3746
|
-
title: string;
|
|
3747
3747
|
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
3748
3748
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3749
3749
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
@@ -3756,8 +3756,8 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3756
3756
|
quotedText: string;
|
|
3757
3757
|
}[];
|
|
3758
3758
|
attributes: Record<string, unknown>;
|
|
3759
|
-
salience: "
|
|
3760
|
-
evidenceConfidence: "
|
|
3759
|
+
salience: "medium" | "low" | "high";
|
|
3760
|
+
evidenceConfidence: "medium" | "low" | "high";
|
|
3761
3761
|
subjectEntityKey: string | null;
|
|
3762
3762
|
candidateId: string;
|
|
3763
3763
|
recordKind: "fact" | "episode";
|
|
@@ -3766,8 +3766,8 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3766
3766
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
3767
3767
|
contextEligible: boolean;
|
|
3768
3768
|
entities: {
|
|
3769
|
-
type: string;
|
|
3770
3769
|
key: string;
|
|
3770
|
+
type: string;
|
|
3771
3771
|
displayName: string | null;
|
|
3772
3772
|
canonicalKey: string;
|
|
3773
3773
|
attributes: Record<string, unknown>;
|
|
@@ -3782,12 +3782,12 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3782
3782
|
literalValue?: unknown;
|
|
3783
3783
|
}[];
|
|
3784
3784
|
}, {
|
|
3785
|
-
content: string;
|
|
3786
3785
|
language: string;
|
|
3786
|
+
title: string;
|
|
3787
|
+
content: string;
|
|
3787
3788
|
qualityContractVersion: 1;
|
|
3788
3789
|
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
3789
3790
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed";
|
|
3790
|
-
title: string;
|
|
3791
3791
|
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
3792
3792
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3793
3793
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
@@ -3800,8 +3800,8 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3800
3800
|
quotedText: string;
|
|
3801
3801
|
}[];
|
|
3802
3802
|
attributes: Record<string, unknown>;
|
|
3803
|
-
salience: "
|
|
3804
|
-
evidenceConfidence: "
|
|
3803
|
+
salience: "medium" | "low" | "high";
|
|
3804
|
+
evidenceConfidence: "medium" | "low" | "high";
|
|
3805
3805
|
subjectEntityKey: string | null;
|
|
3806
3806
|
candidateId: string;
|
|
3807
3807
|
recordKind: "fact" | "episode";
|
|
@@ -3810,8 +3810,8 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3810
3810
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
3811
3811
|
contextEligible: boolean;
|
|
3812
3812
|
entities: {
|
|
3813
|
-
type: string;
|
|
3814
3813
|
key: string;
|
|
3814
|
+
type: string;
|
|
3815
3815
|
displayName: string | null;
|
|
3816
3816
|
canonicalKey: string;
|
|
3817
3817
|
attributes: Record<string, unknown>;
|
|
@@ -3830,14 +3830,14 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3830
3830
|
}>, "many">;
|
|
3831
3831
|
}, "strict", z.ZodTypeAny, {
|
|
3832
3832
|
records: {
|
|
3833
|
-
content: string;
|
|
3834
3833
|
language: string;
|
|
3834
|
+
title: string;
|
|
3835
|
+
content: string;
|
|
3835
3836
|
qualityContractVersion: 1;
|
|
3836
3837
|
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
3837
3838
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed";
|
|
3838
3839
|
validFrom: string | null;
|
|
3839
3840
|
validTo: string | null;
|
|
3840
|
-
title: string;
|
|
3841
3841
|
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
3842
3842
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3843
3843
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
@@ -3850,8 +3850,8 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3850
3850
|
quotedText: string;
|
|
3851
3851
|
}[];
|
|
3852
3852
|
attributes: Record<string, unknown>;
|
|
3853
|
-
salience: "
|
|
3854
|
-
evidenceConfidence: "
|
|
3853
|
+
salience: "medium" | "low" | "high";
|
|
3854
|
+
evidenceConfidence: "medium" | "low" | "high";
|
|
3855
3855
|
subjectEntityKey: string | null;
|
|
3856
3856
|
candidateId: string;
|
|
3857
3857
|
recordKind: "fact" | "episode";
|
|
@@ -3860,8 +3860,8 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3860
3860
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
3861
3861
|
contextEligible: boolean;
|
|
3862
3862
|
entities: {
|
|
3863
|
-
type: string;
|
|
3864
3863
|
key: string;
|
|
3864
|
+
type: string;
|
|
3865
3865
|
displayName: string | null;
|
|
3866
3866
|
canonicalKey: string;
|
|
3867
3867
|
attributes: Record<string, unknown>;
|
|
@@ -3878,12 +3878,12 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3878
3878
|
}[];
|
|
3879
3879
|
}, {
|
|
3880
3880
|
records: {
|
|
3881
|
-
content: string;
|
|
3882
3881
|
language: string;
|
|
3882
|
+
title: string;
|
|
3883
|
+
content: string;
|
|
3883
3884
|
qualityContractVersion: 1;
|
|
3884
3885
|
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
3885
3886
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed";
|
|
3886
|
-
title: string;
|
|
3887
3887
|
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
3888
3888
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3889
3889
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
@@ -3896,8 +3896,8 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3896
3896
|
quotedText: string;
|
|
3897
3897
|
}[];
|
|
3898
3898
|
attributes: Record<string, unknown>;
|
|
3899
|
-
salience: "
|
|
3900
|
-
evidenceConfidence: "
|
|
3899
|
+
salience: "medium" | "low" | "high";
|
|
3900
|
+
evidenceConfidence: "medium" | "low" | "high";
|
|
3901
3901
|
subjectEntityKey: string | null;
|
|
3902
3902
|
candidateId: string;
|
|
3903
3903
|
recordKind: "fact" | "episode";
|
|
@@ -3906,8 +3906,8 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3906
3906
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
3907
3907
|
contextEligible: boolean;
|
|
3908
3908
|
entities: {
|
|
3909
|
-
type: string;
|
|
3910
3909
|
key: string;
|
|
3910
|
+
type: string;
|
|
3911
3911
|
displayName: string | null;
|
|
3912
3912
|
canonicalKey: string;
|
|
3913
3913
|
attributes: Record<string, unknown>;
|
|
@@ -3939,7 +3939,7 @@ export declare const memorySafetyDecisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3939
3939
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3940
3940
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
3941
3941
|
candidateId: string;
|
|
3942
|
-
retentionStatus: "memory" | "
|
|
3942
|
+
retentionStatus: "memory" | "uncertain" | "source_only" | "reject_noise";
|
|
3943
3943
|
authorshipStatus?: "uncertain" | "verified_sender_text" | "quoted_or_forwarded" | undefined;
|
|
3944
3944
|
}, {
|
|
3945
3945
|
status: "uncertain" | "classified";
|
|
@@ -3947,7 +3947,7 @@ export declare const memorySafetyDecisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3947
3947
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3948
3948
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
3949
3949
|
candidateId: string;
|
|
3950
|
-
retentionStatus: "memory" | "
|
|
3950
|
+
retentionStatus: "memory" | "uncertain" | "source_only" | "reject_noise";
|
|
3951
3951
|
authorshipStatus?: "uncertain" | "verified_sender_text" | "quoted_or_forwarded" | undefined;
|
|
3952
3952
|
}>, {
|
|
3953
3953
|
status: "uncertain" | "classified";
|
|
@@ -3955,7 +3955,7 @@ export declare const memorySafetyDecisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3955
3955
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3956
3956
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
3957
3957
|
candidateId: string;
|
|
3958
|
-
retentionStatus: "memory" | "
|
|
3958
|
+
retentionStatus: "memory" | "uncertain" | "source_only" | "reject_noise";
|
|
3959
3959
|
authorshipStatus?: "uncertain" | "verified_sender_text" | "quoted_or_forwarded" | undefined;
|
|
3960
3960
|
}, {
|
|
3961
3961
|
status: "uncertain" | "classified";
|
|
@@ -3963,7 +3963,7 @@ export declare const memorySafetyDecisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3963
3963
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3964
3964
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
3965
3965
|
candidateId: string;
|
|
3966
|
-
retentionStatus: "memory" | "
|
|
3966
|
+
retentionStatus: "memory" | "uncertain" | "source_only" | "reject_noise";
|
|
3967
3967
|
authorshipStatus?: "uncertain" | "verified_sender_text" | "quoted_or_forwarded" | undefined;
|
|
3968
3968
|
}>;
|
|
3969
3969
|
export declare const memorySafetyResultSchema: z.ZodObject<{
|
|
@@ -3981,7 +3981,7 @@ export declare const memorySafetyResultSchema: z.ZodObject<{
|
|
|
3981
3981
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3982
3982
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
3983
3983
|
candidateId: string;
|
|
3984
|
-
retentionStatus: "memory" | "
|
|
3984
|
+
retentionStatus: "memory" | "uncertain" | "source_only" | "reject_noise";
|
|
3985
3985
|
authorshipStatus?: "uncertain" | "verified_sender_text" | "quoted_or_forwarded" | undefined;
|
|
3986
3986
|
}, {
|
|
3987
3987
|
status: "uncertain" | "classified";
|
|
@@ -3989,7 +3989,7 @@ export declare const memorySafetyResultSchema: z.ZodObject<{
|
|
|
3989
3989
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3990
3990
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
3991
3991
|
candidateId: string;
|
|
3992
|
-
retentionStatus: "memory" | "
|
|
3992
|
+
retentionStatus: "memory" | "uncertain" | "source_only" | "reject_noise";
|
|
3993
3993
|
authorshipStatus?: "uncertain" | "verified_sender_text" | "quoted_or_forwarded" | undefined;
|
|
3994
3994
|
}>, {
|
|
3995
3995
|
status: "uncertain" | "classified";
|
|
@@ -3997,7 +3997,7 @@ export declare const memorySafetyResultSchema: z.ZodObject<{
|
|
|
3997
3997
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3998
3998
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
3999
3999
|
candidateId: string;
|
|
4000
|
-
retentionStatus: "memory" | "
|
|
4000
|
+
retentionStatus: "memory" | "uncertain" | "source_only" | "reject_noise";
|
|
4001
4001
|
authorshipStatus?: "uncertain" | "verified_sender_text" | "quoted_or_forwarded" | undefined;
|
|
4002
4002
|
}, {
|
|
4003
4003
|
status: "uncertain" | "classified";
|
|
@@ -4005,7 +4005,7 @@ export declare const memorySafetyResultSchema: z.ZodObject<{
|
|
|
4005
4005
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
4006
4006
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
4007
4007
|
candidateId: string;
|
|
4008
|
-
retentionStatus: "memory" | "
|
|
4008
|
+
retentionStatus: "memory" | "uncertain" | "source_only" | "reject_noise";
|
|
4009
4009
|
authorshipStatus?: "uncertain" | "verified_sender_text" | "quoted_or_forwarded" | undefined;
|
|
4010
4010
|
}>, "many">;
|
|
4011
4011
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -4015,7 +4015,7 @@ export declare const memorySafetyResultSchema: z.ZodObject<{
|
|
|
4015
4015
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
4016
4016
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
4017
4017
|
candidateId: string;
|
|
4018
|
-
retentionStatus: "memory" | "
|
|
4018
|
+
retentionStatus: "memory" | "uncertain" | "source_only" | "reject_noise";
|
|
4019
4019
|
authorshipStatus?: "uncertain" | "verified_sender_text" | "quoted_or_forwarded" | undefined;
|
|
4020
4020
|
}[];
|
|
4021
4021
|
}, {
|
|
@@ -4025,7 +4025,7 @@ export declare const memorySafetyResultSchema: z.ZodObject<{
|
|
|
4025
4025
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
4026
4026
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
4027
4027
|
candidateId: string;
|
|
4028
|
-
retentionStatus: "memory" | "
|
|
4028
|
+
retentionStatus: "memory" | "uncertain" | "source_only" | "reject_noise";
|
|
4029
4029
|
authorshipStatus?: "uncertain" | "verified_sender_text" | "quoted_or_forwarded" | undefined;
|
|
4030
4030
|
}[];
|
|
4031
4031
|
}>;
|