@stacklink/sdk 0.6.4 → 0.6.5
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 +16 -0
- package/compatibility.json +1 -1
- package/dist/src/domain/billing-plans.d.ts +139 -10
- package/dist/src/domain/billing-plans.d.ts.map +1 -1
- package/dist/src/domain/billing-plans.js +64 -10
- package/dist/src/domain/billing-plans.js.map +1 -1
- package/dist/src/domain/bot-contract.d.ts +1691 -1122
- package/dist/src/domain/bot-contract.d.ts.map +1 -1
- package/dist/src/domain/bot-contract.js +41 -2
- package/dist/src/domain/bot-contract.js.map +1 -1
- package/dist/src/domain/bot-library.d.ts +192 -0
- package/dist/src/domain/bot-library.d.ts.map +1 -0
- package/dist/src/domain/bot-library.js +180 -0
- package/dist/src/domain/bot-library.js.map +1 -0
- package/dist/src/domain/memory-contract.d.ts +776 -683
- package/dist/src/domain/memory-contract.d.ts.map +1 -1
- package/dist/src/domain/memory-contract.js +43 -15
- package/dist/src/domain/memory-contract.js.map +1 -1
- package/dist/src/domain/platform-approval-contract.d.ts +52 -52
- package/dist/src/domain/stacklink-meta-tools.d.ts +1 -1
- package/dist/src/domain/stacklink-meta-tools.js +2 -2
- package/dist/src/domain/stacklink-meta-tools.js.map +1 -1
- package/dist/src/domain/workflow-contract.d.ts +1236 -1236
- package/dist/src/sdk/index.d.ts +55 -7
- package/dist/src/sdk/index.d.ts.map +1 -1
- package/dist/src/sdk/index.js +13 -1
- package/dist/src/sdk/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -6,41 +6,41 @@ export declare const completedConversationContentSchema: z.ZodObject<{
|
|
|
6
6
|
role: z.ZodLiteral<"user">;
|
|
7
7
|
content: z.ZodString;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
role: "user";
|
|
10
9
|
content: string;
|
|
11
|
-
}, {
|
|
12
10
|
role: "user";
|
|
11
|
+
}, {
|
|
13
12
|
content: string;
|
|
13
|
+
role: "user";
|
|
14
14
|
}>;
|
|
15
15
|
assistant: z.ZodObject<{
|
|
16
16
|
role: z.ZodLiteral<"assistant">;
|
|
17
17
|
content: z.ZodString;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
role: "assistant";
|
|
20
19
|
content: string;
|
|
21
|
-
}, {
|
|
22
20
|
role: "assistant";
|
|
21
|
+
}, {
|
|
23
22
|
content: string;
|
|
23
|
+
role: "assistant";
|
|
24
24
|
}>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
user: {
|
|
27
|
-
role: "user";
|
|
28
27
|
content: string;
|
|
28
|
+
role: "user";
|
|
29
29
|
};
|
|
30
30
|
schemaVersion: "stacklink.conversation.turn.v1";
|
|
31
31
|
assistant: {
|
|
32
|
-
role: "assistant";
|
|
33
32
|
content: string;
|
|
33
|
+
role: "assistant";
|
|
34
34
|
};
|
|
35
35
|
}, {
|
|
36
36
|
user: {
|
|
37
|
-
role: "user";
|
|
38
37
|
content: string;
|
|
38
|
+
role: "user";
|
|
39
39
|
};
|
|
40
40
|
schemaVersion: "stacklink.conversation.turn.v1";
|
|
41
41
|
assistant: {
|
|
42
|
-
role: "assistant";
|
|
43
42
|
content: string;
|
|
43
|
+
role: "assistant";
|
|
44
44
|
};
|
|
45
45
|
}>;
|
|
46
46
|
export declare function serializeCompletedConversationTurn(input: {
|
|
@@ -70,12 +70,12 @@ export declare const memoryWriteAuthoritySchema: z.ZodDiscriminatedUnion<"kind",
|
|
|
70
70
|
action: z.ZodEnum<["save", "confirm", "correct", "review"]>;
|
|
71
71
|
}, "strict", z.ZodTypeAny, {
|
|
72
72
|
kind: "dashboard_user";
|
|
73
|
-
actorId: string;
|
|
74
73
|
action: "save" | "confirm" | "correct" | "review";
|
|
74
|
+
actorId: string;
|
|
75
75
|
}, {
|
|
76
76
|
kind: "dashboard_user";
|
|
77
|
-
actorId: string;
|
|
78
77
|
action: "save" | "confirm" | "correct" | "review";
|
|
78
|
+
actorId: string;
|
|
79
79
|
}>, z.ZodObject<{
|
|
80
80
|
kind: z.ZodLiteral<"provider_projection">;
|
|
81
81
|
sourceEventId: z.ZodString;
|
|
@@ -118,44 +118,44 @@ export declare const memoryIntegrityCorrectionSchema: z.ZodObject<{
|
|
|
118
118
|
evidenceConfidence: z.ZodEnum<["low", "medium", "high"]>;
|
|
119
119
|
contextEligible: z.ZodBoolean;
|
|
120
120
|
}, "strict", z.ZodTypeAny, {
|
|
121
|
-
|
|
121
|
+
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
122
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
122
123
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed" | "caller_asserted";
|
|
123
124
|
durability: "durable" | "episodic" | "transient";
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
evidenceConfidence: "medium" | "low" | "high";
|
|
125
|
+
salience: "low" | "medium" | "high";
|
|
126
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
127
127
|
contextEligible: boolean;
|
|
128
128
|
}, {
|
|
129
|
-
|
|
129
|
+
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
130
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
130
131
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed" | "caller_asserted";
|
|
131
132
|
durability: "durable" | "episodic" | "transient";
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
evidenceConfidence: "medium" | "low" | "high";
|
|
133
|
+
salience: "low" | "medium" | "high";
|
|
134
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
135
135
|
contextEligible: boolean;
|
|
136
136
|
}>;
|
|
137
137
|
}, "strict", z.ZodTypeAny, {
|
|
138
138
|
expectedSourceEventIds: string[];
|
|
139
139
|
evidence: "preserve" | "correction";
|
|
140
140
|
quality: {
|
|
141
|
-
|
|
141
|
+
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
142
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
142
143
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed" | "caller_asserted";
|
|
143
144
|
durability: "durable" | "episodic" | "transient";
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
evidenceConfidence: "medium" | "low" | "high";
|
|
145
|
+
salience: "low" | "medium" | "high";
|
|
146
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
147
147
|
contextEligible: boolean;
|
|
148
148
|
};
|
|
149
149
|
}, {
|
|
150
150
|
expectedSourceEventIds: string[];
|
|
151
151
|
evidence: "preserve" | "correction";
|
|
152
152
|
quality: {
|
|
153
|
-
|
|
153
|
+
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
154
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
154
155
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed" | "caller_asserted";
|
|
155
156
|
durability: "durable" | "episodic" | "transient";
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
evidenceConfidence: "medium" | "low" | "high";
|
|
157
|
+
salience: "low" | "medium" | "high";
|
|
158
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
159
159
|
contextEligible: boolean;
|
|
160
160
|
};
|
|
161
161
|
}>;
|
|
@@ -226,17 +226,17 @@ export declare const memoryProviderQualityContextSchema: z.ZodObject<{
|
|
|
226
226
|
defaultDestination: z.ZodEnum<["durable_memory", "episodic_memory", "restricted_candidate", "source_only", "reject_noise"]>;
|
|
227
227
|
allowedMemoryTypes: z.ZodArray<z.ZodEnum<["preference", "decision", "commitment", "goal", "constraint", "relationship", "durable_fact"]>, "many">;
|
|
228
228
|
}, "strict", z.ZodTypeAny, {
|
|
229
|
-
authorshipClass: "
|
|
229
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
230
230
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed" | "caller_asserted";
|
|
231
231
|
canonicalKey: string;
|
|
232
232
|
defaultDestination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
233
|
-
allowedMemoryTypes: ("
|
|
233
|
+
allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
|
|
234
234
|
}, {
|
|
235
|
-
authorshipClass: "
|
|
235
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
236
236
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed" | "caller_asserted";
|
|
237
237
|
canonicalKey: string;
|
|
238
238
|
defaultDestination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
239
|
-
allowedMemoryTypes: ("
|
|
239
|
+
allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
|
|
240
240
|
}>, "many">>;
|
|
241
241
|
connectedUserCanonicalKey: z.ZodNullable<z.ZodString>;
|
|
242
242
|
allowConnectedUserIntent: z.ZodBoolean;
|
|
@@ -248,20 +248,20 @@ export declare const memoryProviderQualityContextSchema: z.ZodObject<{
|
|
|
248
248
|
validFrom: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
249
249
|
validTo: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
250
250
|
}, "strict", z.ZodTypeAny, {
|
|
251
|
-
authorshipClass: "
|
|
251
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
252
252
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed" | "caller_asserted";
|
|
253
253
|
contract: "stacklink.memory.source-quality.v1";
|
|
254
254
|
qualityContractVersion: 1;
|
|
255
255
|
sourceClass: "human_communication" | "structured_temporal" | "structured_profile" | "authored_document" | "operational_event" | "external_feed";
|
|
256
256
|
actorCanonicalKey: string | null;
|
|
257
257
|
defaultDestination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
258
|
-
allowedMemoryTypes: ("
|
|
258
|
+
allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
|
|
259
259
|
actors: {
|
|
260
|
-
authorshipClass: "
|
|
260
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
261
261
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed" | "caller_asserted";
|
|
262
262
|
canonicalKey: string;
|
|
263
263
|
defaultDestination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
264
|
-
allowedMemoryTypes: ("
|
|
264
|
+
allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
|
|
265
265
|
}[];
|
|
266
266
|
connectedUserCanonicalKey: string | null;
|
|
267
267
|
allowConnectedUserIntent: boolean;
|
|
@@ -276,14 +276,14 @@ export declare const memoryProviderQualityContextSchema: z.ZodObject<{
|
|
|
276
276
|
} | undefined;
|
|
277
277
|
authorshipBoundary?: "exact_source_unit" | "message_may_include_quotes" | undefined;
|
|
278
278
|
}, {
|
|
279
|
-
authorshipClass: "
|
|
279
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
280
280
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed" | "caller_asserted";
|
|
281
281
|
contract: "stacklink.memory.source-quality.v1";
|
|
282
282
|
qualityContractVersion: 1;
|
|
283
283
|
sourceClass: "human_communication" | "structured_temporal" | "structured_profile" | "authored_document" | "operational_event" | "external_feed";
|
|
284
284
|
actorCanonicalKey: string | null;
|
|
285
285
|
defaultDestination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
286
|
-
allowedMemoryTypes: ("
|
|
286
|
+
allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
|
|
287
287
|
connectedUserCanonicalKey: string | null;
|
|
288
288
|
allowConnectedUserIntent: boolean;
|
|
289
289
|
defaultDurability: "durable" | "episodic" | "transient";
|
|
@@ -295,11 +295,11 @@ export declare const memoryProviderQualityContextSchema: z.ZodObject<{
|
|
|
295
295
|
} | undefined;
|
|
296
296
|
authorshipBoundary?: "exact_source_unit" | "message_may_include_quotes" | undefined;
|
|
297
297
|
actors?: {
|
|
298
|
-
authorshipClass: "
|
|
298
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
299
299
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed" | "caller_asserted";
|
|
300
300
|
canonicalKey: string;
|
|
301
301
|
defaultDestination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
302
|
-
allowedMemoryTypes: ("
|
|
302
|
+
allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
|
|
303
303
|
}[] | undefined;
|
|
304
304
|
validFrom?: string | null | undefined;
|
|
305
305
|
validTo?: string | null | undefined;
|
|
@@ -372,20 +372,20 @@ export declare const memoryTenantSelectorSchema: z.ZodEffects<z.ZodObject<{
|
|
|
372
372
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
373
373
|
}, "strip", z.ZodTypeAny, {
|
|
374
374
|
tenantId?: string | undefined;
|
|
375
|
-
externalTenantId?: string | undefined;
|
|
376
375
|
sessionId?: string | undefined;
|
|
376
|
+
externalTenantId?: string | undefined;
|
|
377
377
|
}, {
|
|
378
378
|
tenantId?: string | undefined;
|
|
379
|
-
externalTenantId?: string | undefined;
|
|
380
379
|
sessionId?: string | undefined;
|
|
380
|
+
externalTenantId?: string | undefined;
|
|
381
381
|
}>, {
|
|
382
382
|
tenantId?: string | undefined;
|
|
383
|
-
externalTenantId?: string | undefined;
|
|
384
383
|
sessionId?: string | undefined;
|
|
384
|
+
externalTenantId?: string | undefined;
|
|
385
385
|
}, {
|
|
386
386
|
tenantId?: string | undefined;
|
|
387
|
-
externalTenantId?: string | undefined;
|
|
388
387
|
sessionId?: string | undefined;
|
|
388
|
+
externalTenantId?: string | undefined;
|
|
389
389
|
}>;
|
|
390
390
|
/** Minimal retained provenance, independent of the original source payload. */
|
|
391
391
|
export declare const memoryEvidenceReferenceSchema: z.ZodObject<{
|
|
@@ -412,13 +412,13 @@ export declare const memoryEvidenceReferenceSchema: z.ZodObject<{
|
|
|
412
412
|
observed: z.ZodOptional<z.ZodString>;
|
|
413
413
|
}, "strip", z.ZodTypeAny, {
|
|
414
414
|
kind: string;
|
|
415
|
-
name: string;
|
|
416
415
|
id: string;
|
|
416
|
+
name: string;
|
|
417
417
|
observed?: string | undefined;
|
|
418
418
|
}, {
|
|
419
419
|
kind: string;
|
|
420
|
-
name: string;
|
|
421
420
|
id: string;
|
|
421
|
+
name: string;
|
|
422
422
|
observed?: string | undefined;
|
|
423
423
|
}>>;
|
|
424
424
|
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -432,16 +432,16 @@ export declare const memoryEvidenceReferenceSchema: z.ZodObject<{
|
|
|
432
432
|
label: string;
|
|
433
433
|
after: string | number | boolean | null;
|
|
434
434
|
before?: string | number | boolean | null | undefined;
|
|
435
|
+
format?: "json" | "text" | "timestamp" | undefined;
|
|
435
436
|
beforeDisplay?: string | undefined;
|
|
436
437
|
afterDisplay?: string | undefined;
|
|
437
|
-
format?: "text" | "json" | "timestamp" | undefined;
|
|
438
438
|
}, {
|
|
439
439
|
label: string;
|
|
440
440
|
after: string | number | boolean | null;
|
|
441
441
|
before?: string | number | boolean | null | undefined;
|
|
442
|
+
format?: "json" | "text" | "timestamp" | undefined;
|
|
442
443
|
beforeDisplay?: string | undefined;
|
|
443
444
|
afterDisplay?: string | undefined;
|
|
444
|
-
format?: "text" | "json" | "timestamp" | undefined;
|
|
445
445
|
}>, "many">>;
|
|
446
446
|
conversation: z.ZodOptional<z.ZodObject<{
|
|
447
447
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -449,15 +449,15 @@ export declare const memoryEvidenceReferenceSchema: z.ZodObject<{
|
|
|
449
449
|
speaker: z.ZodOptional<z.ZodString>;
|
|
450
450
|
assistant: z.ZodOptional<z.ZodBoolean>;
|
|
451
451
|
}, "strip", z.ZodTypeAny, {
|
|
452
|
-
|
|
452
|
+
speaker?: string | undefined;
|
|
453
453
|
sessionId?: string | undefined;
|
|
454
|
+
assistant?: boolean | undefined;
|
|
454
455
|
turn?: string | undefined;
|
|
455
|
-
speaker?: string | undefined;
|
|
456
456
|
}, {
|
|
457
|
-
|
|
457
|
+
speaker?: string | undefined;
|
|
458
458
|
sessionId?: string | undefined;
|
|
459
|
+
assistant?: boolean | undefined;
|
|
459
460
|
turn?: string | undefined;
|
|
460
|
-
speaker?: string | undefined;
|
|
461
461
|
}>>;
|
|
462
462
|
file: z.ZodOptional<z.ZodObject<{
|
|
463
463
|
title: z.ZodString;
|
|
@@ -475,81 +475,81 @@ export declare const memoryEvidenceReferenceSchema: z.ZodObject<{
|
|
|
475
475
|
by: z.ZodOptional<z.ZodString>;
|
|
476
476
|
requestId: z.ZodOptional<z.ZodString>;
|
|
477
477
|
}, "strict", z.ZodTypeAny, {
|
|
478
|
-
kind: "object" | "
|
|
478
|
+
kind: "object" | "file" | "message" | "unknown" | "email" | "manual" | "api" | "conversation";
|
|
479
479
|
contract: "stacklink.memory.evidence.v1";
|
|
480
480
|
availability: "unknown" | "available" | "deleted";
|
|
481
481
|
object?: {
|
|
482
482
|
kind: string;
|
|
483
|
-
name: string;
|
|
484
483
|
id: string;
|
|
484
|
+
name: string;
|
|
485
485
|
observed?: string | undefined;
|
|
486
486
|
} | undefined;
|
|
487
|
-
conversation?: {
|
|
488
|
-
assistant?: boolean | undefined;
|
|
489
|
-
sessionId?: string | undefined;
|
|
490
|
-
turn?: string | undefined;
|
|
491
|
-
speaker?: string | undefined;
|
|
492
|
-
} | undefined;
|
|
493
487
|
file?: {
|
|
494
488
|
title: string;
|
|
495
489
|
section?: string | undefined;
|
|
496
490
|
edited?: string | undefined;
|
|
497
491
|
} | undefined;
|
|
498
|
-
|
|
492
|
+
channel?: string | undefined;
|
|
499
493
|
from?: {
|
|
500
494
|
name: string;
|
|
501
495
|
address?: string | undefined;
|
|
502
496
|
} | undefined;
|
|
497
|
+
requestId?: string | undefined;
|
|
498
|
+
conversation?: {
|
|
499
|
+
speaker?: string | undefined;
|
|
500
|
+
sessionId?: string | undefined;
|
|
501
|
+
assistant?: boolean | undefined;
|
|
502
|
+
turn?: string | undefined;
|
|
503
|
+
} | undefined;
|
|
504
|
+
href?: string | undefined;
|
|
503
505
|
subject?: string | undefined;
|
|
504
|
-
channel?: string | undefined;
|
|
505
506
|
fields?: {
|
|
506
507
|
label: string;
|
|
507
508
|
after: string | number | boolean | null;
|
|
508
509
|
before?: string | number | boolean | null | undefined;
|
|
510
|
+
format?: "json" | "text" | "timestamp" | undefined;
|
|
509
511
|
beforeDisplay?: string | undefined;
|
|
510
512
|
afterDisplay?: string | undefined;
|
|
511
|
-
format?: "text" | "json" | "timestamp" | undefined;
|
|
512
513
|
}[] | undefined;
|
|
513
514
|
by?: string | undefined;
|
|
514
|
-
requestId?: string | undefined;
|
|
515
515
|
}, {
|
|
516
|
-
kind: "object" | "
|
|
516
|
+
kind: "object" | "file" | "message" | "unknown" | "email" | "manual" | "api" | "conversation";
|
|
517
517
|
object?: {
|
|
518
518
|
kind: string;
|
|
519
|
-
name: string;
|
|
520
519
|
id: string;
|
|
520
|
+
name: string;
|
|
521
521
|
observed?: string | undefined;
|
|
522
522
|
} | undefined;
|
|
523
|
-
contract?: "stacklink.memory.evidence.v1" | undefined;
|
|
524
|
-
conversation?: {
|
|
525
|
-
assistant?: boolean | undefined;
|
|
526
|
-
sessionId?: string | undefined;
|
|
527
|
-
turn?: string | undefined;
|
|
528
|
-
speaker?: string | undefined;
|
|
529
|
-
} | undefined;
|
|
530
523
|
file?: {
|
|
531
524
|
title: string;
|
|
532
525
|
section?: string | undefined;
|
|
533
526
|
edited?: string | undefined;
|
|
534
527
|
} | undefined;
|
|
535
|
-
|
|
536
|
-
availability?: "unknown" | "available" | "deleted" | undefined;
|
|
528
|
+
channel?: string | undefined;
|
|
537
529
|
from?: {
|
|
538
530
|
name: string;
|
|
539
531
|
address?: string | undefined;
|
|
540
532
|
} | undefined;
|
|
533
|
+
requestId?: string | undefined;
|
|
534
|
+
contract?: "stacklink.memory.evidence.v1" | undefined;
|
|
535
|
+
conversation?: {
|
|
536
|
+
speaker?: string | undefined;
|
|
537
|
+
sessionId?: string | undefined;
|
|
538
|
+
assistant?: boolean | undefined;
|
|
539
|
+
turn?: string | undefined;
|
|
540
|
+
} | undefined;
|
|
541
|
+
href?: string | undefined;
|
|
542
|
+
availability?: "unknown" | "available" | "deleted" | undefined;
|
|
541
543
|
subject?: string | undefined;
|
|
542
|
-
channel?: string | undefined;
|
|
543
544
|
fields?: {
|
|
544
545
|
label: string;
|
|
545
546
|
after: string | number | boolean | null;
|
|
546
547
|
before?: string | number | boolean | null | undefined;
|
|
548
|
+
format?: "json" | "text" | "timestamp" | undefined;
|
|
547
549
|
beforeDisplay?: string | undefined;
|
|
548
550
|
afterDisplay?: string | undefined;
|
|
549
|
-
format?: "text" | "json" | "timestamp" | undefined;
|
|
550
551
|
}[] | undefined;
|
|
551
552
|
by?: string | undefined;
|
|
552
|
-
requestId?: string | undefined;
|
|
553
553
|
}>;
|
|
554
554
|
export type MemoryEvidenceReference = z.input<typeof memoryEvidenceReferenceSchema>;
|
|
555
555
|
export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -611,13 +611,13 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
611
611
|
observed: z.ZodOptional<z.ZodString>;
|
|
612
612
|
}, "strip", z.ZodTypeAny, {
|
|
613
613
|
kind: string;
|
|
614
|
-
name: string;
|
|
615
614
|
id: string;
|
|
615
|
+
name: string;
|
|
616
616
|
observed?: string | undefined;
|
|
617
617
|
}, {
|
|
618
618
|
kind: string;
|
|
619
|
-
name: string;
|
|
620
619
|
id: string;
|
|
620
|
+
name: string;
|
|
621
621
|
observed?: string | undefined;
|
|
622
622
|
}>>;
|
|
623
623
|
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -631,16 +631,16 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
631
631
|
label: string;
|
|
632
632
|
after: string | number | boolean | null;
|
|
633
633
|
before?: string | number | boolean | null | undefined;
|
|
634
|
+
format?: "json" | "text" | "timestamp" | undefined;
|
|
634
635
|
beforeDisplay?: string | undefined;
|
|
635
636
|
afterDisplay?: string | undefined;
|
|
636
|
-
format?: "text" | "json" | "timestamp" | undefined;
|
|
637
637
|
}, {
|
|
638
638
|
label: string;
|
|
639
639
|
after: string | number | boolean | null;
|
|
640
640
|
before?: string | number | boolean | null | undefined;
|
|
641
|
+
format?: "json" | "text" | "timestamp" | undefined;
|
|
641
642
|
beforeDisplay?: string | undefined;
|
|
642
643
|
afterDisplay?: string | undefined;
|
|
643
|
-
format?: "text" | "json" | "timestamp" | undefined;
|
|
644
644
|
}>, "many">>;
|
|
645
645
|
conversation: z.ZodOptional<z.ZodObject<{
|
|
646
646
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -648,15 +648,15 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
648
648
|
speaker: z.ZodOptional<z.ZodString>;
|
|
649
649
|
assistant: z.ZodOptional<z.ZodBoolean>;
|
|
650
650
|
}, "strip", z.ZodTypeAny, {
|
|
651
|
-
|
|
651
|
+
speaker?: string | undefined;
|
|
652
652
|
sessionId?: string | undefined;
|
|
653
|
+
assistant?: boolean | undefined;
|
|
653
654
|
turn?: string | undefined;
|
|
654
|
-
speaker?: string | undefined;
|
|
655
655
|
}, {
|
|
656
|
-
|
|
656
|
+
speaker?: string | undefined;
|
|
657
657
|
sessionId?: string | undefined;
|
|
658
|
+
assistant?: boolean | undefined;
|
|
658
659
|
turn?: string | undefined;
|
|
659
|
-
speaker?: string | undefined;
|
|
660
660
|
}>>;
|
|
661
661
|
file: z.ZodOptional<z.ZodObject<{
|
|
662
662
|
title: z.ZodString;
|
|
@@ -674,176 +674,176 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
674
674
|
by: z.ZodOptional<z.ZodString>;
|
|
675
675
|
requestId: z.ZodOptional<z.ZodString>;
|
|
676
676
|
}, "strict", z.ZodTypeAny, {
|
|
677
|
-
kind: "object" | "
|
|
677
|
+
kind: "object" | "file" | "message" | "unknown" | "email" | "manual" | "api" | "conversation";
|
|
678
678
|
contract: "stacklink.memory.evidence.v1";
|
|
679
679
|
availability: "unknown" | "available" | "deleted";
|
|
680
680
|
object?: {
|
|
681
681
|
kind: string;
|
|
682
|
-
name: string;
|
|
683
682
|
id: string;
|
|
683
|
+
name: string;
|
|
684
684
|
observed?: string | undefined;
|
|
685
685
|
} | undefined;
|
|
686
|
-
conversation?: {
|
|
687
|
-
assistant?: boolean | undefined;
|
|
688
|
-
sessionId?: string | undefined;
|
|
689
|
-
turn?: string | undefined;
|
|
690
|
-
speaker?: string | undefined;
|
|
691
|
-
} | undefined;
|
|
692
686
|
file?: {
|
|
693
687
|
title: string;
|
|
694
688
|
section?: string | undefined;
|
|
695
689
|
edited?: string | undefined;
|
|
696
690
|
} | undefined;
|
|
697
|
-
|
|
691
|
+
channel?: string | undefined;
|
|
698
692
|
from?: {
|
|
699
693
|
name: string;
|
|
700
694
|
address?: string | undefined;
|
|
701
695
|
} | undefined;
|
|
696
|
+
requestId?: string | undefined;
|
|
697
|
+
conversation?: {
|
|
698
|
+
speaker?: string | undefined;
|
|
699
|
+
sessionId?: string | undefined;
|
|
700
|
+
assistant?: boolean | undefined;
|
|
701
|
+
turn?: string | undefined;
|
|
702
|
+
} | undefined;
|
|
703
|
+
href?: string | undefined;
|
|
702
704
|
subject?: string | undefined;
|
|
703
|
-
channel?: string | undefined;
|
|
704
705
|
fields?: {
|
|
705
706
|
label: string;
|
|
706
707
|
after: string | number | boolean | null;
|
|
707
708
|
before?: string | number | boolean | null | undefined;
|
|
709
|
+
format?: "json" | "text" | "timestamp" | undefined;
|
|
708
710
|
beforeDisplay?: string | undefined;
|
|
709
711
|
afterDisplay?: string | undefined;
|
|
710
|
-
format?: "text" | "json" | "timestamp" | undefined;
|
|
711
712
|
}[] | undefined;
|
|
712
713
|
by?: string | undefined;
|
|
713
|
-
requestId?: string | undefined;
|
|
714
714
|
}, {
|
|
715
|
-
kind: "object" | "
|
|
715
|
+
kind: "object" | "file" | "message" | "unknown" | "email" | "manual" | "api" | "conversation";
|
|
716
716
|
object?: {
|
|
717
717
|
kind: string;
|
|
718
|
-
name: string;
|
|
719
718
|
id: string;
|
|
719
|
+
name: string;
|
|
720
720
|
observed?: string | undefined;
|
|
721
721
|
} | undefined;
|
|
722
|
-
contract?: "stacklink.memory.evidence.v1" | undefined;
|
|
723
|
-
conversation?: {
|
|
724
|
-
assistant?: boolean | undefined;
|
|
725
|
-
sessionId?: string | undefined;
|
|
726
|
-
turn?: string | undefined;
|
|
727
|
-
speaker?: string | undefined;
|
|
728
|
-
} | undefined;
|
|
729
722
|
file?: {
|
|
730
723
|
title: string;
|
|
731
724
|
section?: string | undefined;
|
|
732
725
|
edited?: string | undefined;
|
|
733
726
|
} | undefined;
|
|
734
|
-
|
|
735
|
-
availability?: "unknown" | "available" | "deleted" | undefined;
|
|
727
|
+
channel?: string | undefined;
|
|
736
728
|
from?: {
|
|
737
729
|
name: string;
|
|
738
730
|
address?: string | undefined;
|
|
739
731
|
} | undefined;
|
|
732
|
+
requestId?: string | undefined;
|
|
733
|
+
contract?: "stacklink.memory.evidence.v1" | undefined;
|
|
734
|
+
conversation?: {
|
|
735
|
+
speaker?: string | undefined;
|
|
736
|
+
sessionId?: string | undefined;
|
|
737
|
+
assistant?: boolean | undefined;
|
|
738
|
+
turn?: string | undefined;
|
|
739
|
+
} | undefined;
|
|
740
|
+
href?: string | undefined;
|
|
741
|
+
availability?: "unknown" | "available" | "deleted" | undefined;
|
|
740
742
|
subject?: string | undefined;
|
|
741
|
-
channel?: string | undefined;
|
|
742
743
|
fields?: {
|
|
743
744
|
label: string;
|
|
744
745
|
after: string | number | boolean | null;
|
|
745
746
|
before?: string | number | boolean | null | undefined;
|
|
747
|
+
format?: "json" | "text" | "timestamp" | undefined;
|
|
746
748
|
beforeDisplay?: string | undefined;
|
|
747
749
|
afterDisplay?: string | undefined;
|
|
748
|
-
format?: "text" | "json" | "timestamp" | undefined;
|
|
749
750
|
}[] | undefined;
|
|
750
751
|
by?: string | undefined;
|
|
751
|
-
requestId?: string | undefined;
|
|
752
752
|
}>>;
|
|
753
753
|
}, "strict", z.ZodTypeAny, {
|
|
754
754
|
kind: "provider" | "tool_execution" | "direct" | "conversation" | "document" | "artifact";
|
|
755
|
+
externalId?: string | undefined;
|
|
756
|
+
connectedAccountId?: string | undefined;
|
|
757
|
+
providerKey?: string | undefined;
|
|
758
|
+
resourceId?: string | undefined;
|
|
755
759
|
evidence?: {
|
|
756
|
-
kind: "object" | "
|
|
760
|
+
kind: "object" | "file" | "message" | "unknown" | "email" | "manual" | "api" | "conversation";
|
|
757
761
|
contract: "stacklink.memory.evidence.v1";
|
|
758
762
|
availability: "unknown" | "available" | "deleted";
|
|
759
763
|
object?: {
|
|
760
764
|
kind: string;
|
|
761
|
-
name: string;
|
|
762
765
|
id: string;
|
|
766
|
+
name: string;
|
|
763
767
|
observed?: string | undefined;
|
|
764
768
|
} | undefined;
|
|
765
|
-
conversation?: {
|
|
766
|
-
assistant?: boolean | undefined;
|
|
767
|
-
sessionId?: string | undefined;
|
|
768
|
-
turn?: string | undefined;
|
|
769
|
-
speaker?: string | undefined;
|
|
770
|
-
} | undefined;
|
|
771
769
|
file?: {
|
|
772
770
|
title: string;
|
|
773
771
|
section?: string | undefined;
|
|
774
772
|
edited?: string | undefined;
|
|
775
773
|
} | undefined;
|
|
776
|
-
|
|
774
|
+
channel?: string | undefined;
|
|
777
775
|
from?: {
|
|
778
776
|
name: string;
|
|
779
777
|
address?: string | undefined;
|
|
780
778
|
} | undefined;
|
|
779
|
+
requestId?: string | undefined;
|
|
780
|
+
conversation?: {
|
|
781
|
+
speaker?: string | undefined;
|
|
782
|
+
sessionId?: string | undefined;
|
|
783
|
+
assistant?: boolean | undefined;
|
|
784
|
+
turn?: string | undefined;
|
|
785
|
+
} | undefined;
|
|
786
|
+
href?: string | undefined;
|
|
781
787
|
subject?: string | undefined;
|
|
782
|
-
channel?: string | undefined;
|
|
783
788
|
fields?: {
|
|
784
789
|
label: string;
|
|
785
790
|
after: string | number | boolean | null;
|
|
786
791
|
before?: string | number | boolean | null | undefined;
|
|
792
|
+
format?: "json" | "text" | "timestamp" | undefined;
|
|
787
793
|
beforeDisplay?: string | undefined;
|
|
788
794
|
afterDisplay?: string | undefined;
|
|
789
|
-
format?: "text" | "json" | "timestamp" | undefined;
|
|
790
795
|
}[] | undefined;
|
|
791
796
|
by?: string | undefined;
|
|
792
|
-
requestId?: string | undefined;
|
|
793
797
|
} | undefined;
|
|
794
|
-
externalId?: string | undefined;
|
|
795
|
-
providerKey?: string | undefined;
|
|
796
|
-
connectedAccountId?: string | undefined;
|
|
797
798
|
resourceType?: string | undefined;
|
|
798
|
-
resourceId?: string | undefined;
|
|
799
799
|
toolExecutionId?: string | undefined;
|
|
800
800
|
applicationKey?: string | undefined;
|
|
801
801
|
}, {
|
|
802
802
|
kind?: "provider" | "tool_execution" | "direct" | "conversation" | "document" | "artifact" | undefined;
|
|
803
|
+
externalId?: string | undefined;
|
|
804
|
+
connectedAccountId?: string | undefined;
|
|
805
|
+
providerKey?: string | undefined;
|
|
806
|
+
resourceId?: string | undefined;
|
|
803
807
|
evidence?: {
|
|
804
|
-
kind: "object" | "
|
|
808
|
+
kind: "object" | "file" | "message" | "unknown" | "email" | "manual" | "api" | "conversation";
|
|
805
809
|
object?: {
|
|
806
810
|
kind: string;
|
|
807
|
-
name: string;
|
|
808
811
|
id: string;
|
|
812
|
+
name: string;
|
|
809
813
|
observed?: string | undefined;
|
|
810
814
|
} | undefined;
|
|
811
|
-
contract?: "stacklink.memory.evidence.v1" | undefined;
|
|
812
|
-
conversation?: {
|
|
813
|
-
assistant?: boolean | undefined;
|
|
814
|
-
sessionId?: string | undefined;
|
|
815
|
-
turn?: string | undefined;
|
|
816
|
-
speaker?: string | undefined;
|
|
817
|
-
} | undefined;
|
|
818
815
|
file?: {
|
|
819
816
|
title: string;
|
|
820
817
|
section?: string | undefined;
|
|
821
818
|
edited?: string | undefined;
|
|
822
819
|
} | undefined;
|
|
823
|
-
|
|
824
|
-
availability?: "unknown" | "available" | "deleted" | undefined;
|
|
820
|
+
channel?: string | undefined;
|
|
825
821
|
from?: {
|
|
826
822
|
name: string;
|
|
827
823
|
address?: string | undefined;
|
|
828
824
|
} | undefined;
|
|
825
|
+
requestId?: string | undefined;
|
|
826
|
+
contract?: "stacklink.memory.evidence.v1" | undefined;
|
|
827
|
+
conversation?: {
|
|
828
|
+
speaker?: string | undefined;
|
|
829
|
+
sessionId?: string | undefined;
|
|
830
|
+
assistant?: boolean | undefined;
|
|
831
|
+
turn?: string | undefined;
|
|
832
|
+
} | undefined;
|
|
833
|
+
href?: string | undefined;
|
|
834
|
+
availability?: "unknown" | "available" | "deleted" | undefined;
|
|
829
835
|
subject?: string | undefined;
|
|
830
|
-
channel?: string | undefined;
|
|
831
836
|
fields?: {
|
|
832
837
|
label: string;
|
|
833
838
|
after: string | number | boolean | null;
|
|
834
839
|
before?: string | number | boolean | null | undefined;
|
|
840
|
+
format?: "json" | "text" | "timestamp" | undefined;
|
|
835
841
|
beforeDisplay?: string | undefined;
|
|
836
842
|
afterDisplay?: string | undefined;
|
|
837
|
-
format?: "text" | "json" | "timestamp" | undefined;
|
|
838
843
|
}[] | undefined;
|
|
839
844
|
by?: string | undefined;
|
|
840
|
-
requestId?: string | undefined;
|
|
841
845
|
} | undefined;
|
|
842
|
-
externalId?: string | undefined;
|
|
843
|
-
providerKey?: string | undefined;
|
|
844
|
-
connectedAccountId?: string | undefined;
|
|
845
846
|
resourceType?: string | undefined;
|
|
846
|
-
resourceId?: string | undefined;
|
|
847
847
|
toolExecutionId?: string | undefined;
|
|
848
848
|
applicationKey?: string | undefined;
|
|
849
849
|
}>>;
|
|
@@ -867,63 +867,65 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
867
867
|
}>>;
|
|
868
868
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
869
869
|
}, "strip", z.ZodTypeAny, {
|
|
870
|
+
kind: "block" | "fact" | "episode" | "profile_item";
|
|
870
871
|
source: {
|
|
871
872
|
kind: "provider" | "tool_execution" | "direct" | "conversation" | "document" | "artifact";
|
|
873
|
+
externalId?: string | undefined;
|
|
874
|
+
connectedAccountId?: string | undefined;
|
|
875
|
+
providerKey?: string | undefined;
|
|
876
|
+
resourceId?: string | undefined;
|
|
872
877
|
evidence?: {
|
|
873
|
-
kind: "object" | "
|
|
878
|
+
kind: "object" | "file" | "message" | "unknown" | "email" | "manual" | "api" | "conversation";
|
|
874
879
|
contract: "stacklink.memory.evidence.v1";
|
|
875
880
|
availability: "unknown" | "available" | "deleted";
|
|
876
881
|
object?: {
|
|
877
882
|
kind: string;
|
|
878
|
-
name: string;
|
|
879
883
|
id: string;
|
|
884
|
+
name: string;
|
|
880
885
|
observed?: string | undefined;
|
|
881
886
|
} | undefined;
|
|
882
|
-
conversation?: {
|
|
883
|
-
assistant?: boolean | undefined;
|
|
884
|
-
sessionId?: string | undefined;
|
|
885
|
-
turn?: string | undefined;
|
|
886
|
-
speaker?: string | undefined;
|
|
887
|
-
} | undefined;
|
|
888
887
|
file?: {
|
|
889
888
|
title: string;
|
|
890
889
|
section?: string | undefined;
|
|
891
890
|
edited?: string | undefined;
|
|
892
891
|
} | undefined;
|
|
893
|
-
|
|
892
|
+
channel?: string | undefined;
|
|
894
893
|
from?: {
|
|
895
894
|
name: string;
|
|
896
895
|
address?: string | undefined;
|
|
897
896
|
} | undefined;
|
|
897
|
+
requestId?: string | undefined;
|
|
898
|
+
conversation?: {
|
|
899
|
+
speaker?: string | undefined;
|
|
900
|
+
sessionId?: string | undefined;
|
|
901
|
+
assistant?: boolean | undefined;
|
|
902
|
+
turn?: string | undefined;
|
|
903
|
+
} | undefined;
|
|
904
|
+
href?: string | undefined;
|
|
898
905
|
subject?: string | undefined;
|
|
899
|
-
channel?: string | undefined;
|
|
900
906
|
fields?: {
|
|
901
907
|
label: string;
|
|
902
908
|
after: string | number | boolean | null;
|
|
903
909
|
before?: string | number | boolean | null | undefined;
|
|
910
|
+
format?: "json" | "text" | "timestamp" | undefined;
|
|
904
911
|
beforeDisplay?: string | undefined;
|
|
905
912
|
afterDisplay?: string | undefined;
|
|
906
|
-
format?: "text" | "json" | "timestamp" | undefined;
|
|
907
913
|
}[] | undefined;
|
|
908
914
|
by?: string | undefined;
|
|
909
|
-
requestId?: string | undefined;
|
|
910
915
|
} | undefined;
|
|
911
|
-
externalId?: string | undefined;
|
|
912
|
-
providerKey?: string | undefined;
|
|
913
|
-
connectedAccountId?: string | undefined;
|
|
914
916
|
resourceType?: string | undefined;
|
|
915
|
-
resourceId?: string | undefined;
|
|
916
917
|
toolExecutionId?: string | undefined;
|
|
917
918
|
applicationKey?: string | undefined;
|
|
918
919
|
};
|
|
920
|
+
metadata: Record<string, unknown>;
|
|
919
921
|
content: string;
|
|
920
|
-
kind: "fact" | "episode" | "profile_item" | "block";
|
|
921
922
|
mode: "exact" | "extract";
|
|
922
|
-
memoryType: "
|
|
923
|
+
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
923
924
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
924
925
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
925
926
|
topicTags: string[];
|
|
926
|
-
|
|
927
|
+
tenantId?: string | undefined;
|
|
928
|
+
sessionId?: string | undefined;
|
|
927
929
|
policyKey?: string | undefined;
|
|
928
930
|
validFrom?: string | undefined;
|
|
929
931
|
validTo?: string | undefined;
|
|
@@ -934,9 +936,7 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
934
936
|
reference?: string | undefined;
|
|
935
937
|
} | undefined;
|
|
936
938
|
idempotencyKey?: string | undefined;
|
|
937
|
-
tenantId?: string | undefined;
|
|
938
939
|
externalTenantId?: string | undefined;
|
|
939
|
-
sessionId?: string | undefined;
|
|
940
940
|
title?: string | undefined;
|
|
941
941
|
subjects?: {
|
|
942
942
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
@@ -946,56 +946,59 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
946
946
|
occurredAt?: string | undefined;
|
|
947
947
|
}, {
|
|
948
948
|
content: string;
|
|
949
|
+
kind?: "block" | "fact" | "episode" | "profile_item" | undefined;
|
|
950
|
+
tenantId?: string | undefined;
|
|
949
951
|
source?: {
|
|
950
952
|
kind?: "provider" | "tool_execution" | "direct" | "conversation" | "document" | "artifact" | undefined;
|
|
953
|
+
externalId?: string | undefined;
|
|
954
|
+
connectedAccountId?: string | undefined;
|
|
955
|
+
providerKey?: string | undefined;
|
|
956
|
+
resourceId?: string | undefined;
|
|
951
957
|
evidence?: {
|
|
952
|
-
kind: "object" | "
|
|
958
|
+
kind: "object" | "file" | "message" | "unknown" | "email" | "manual" | "api" | "conversation";
|
|
953
959
|
object?: {
|
|
954
960
|
kind: string;
|
|
955
|
-
name: string;
|
|
956
961
|
id: string;
|
|
962
|
+
name: string;
|
|
957
963
|
observed?: string | undefined;
|
|
958
964
|
} | undefined;
|
|
959
|
-
contract?: "stacklink.memory.evidence.v1" | undefined;
|
|
960
|
-
conversation?: {
|
|
961
|
-
assistant?: boolean | undefined;
|
|
962
|
-
sessionId?: string | undefined;
|
|
963
|
-
turn?: string | undefined;
|
|
964
|
-
speaker?: string | undefined;
|
|
965
|
-
} | undefined;
|
|
966
965
|
file?: {
|
|
967
966
|
title: string;
|
|
968
967
|
section?: string | undefined;
|
|
969
968
|
edited?: string | undefined;
|
|
970
969
|
} | undefined;
|
|
971
|
-
|
|
972
|
-
availability?: "unknown" | "available" | "deleted" | undefined;
|
|
970
|
+
channel?: string | undefined;
|
|
973
971
|
from?: {
|
|
974
972
|
name: string;
|
|
975
973
|
address?: string | undefined;
|
|
976
974
|
} | undefined;
|
|
975
|
+
requestId?: string | undefined;
|
|
976
|
+
contract?: "stacklink.memory.evidence.v1" | undefined;
|
|
977
|
+
conversation?: {
|
|
978
|
+
speaker?: string | undefined;
|
|
979
|
+
sessionId?: string | undefined;
|
|
980
|
+
assistant?: boolean | undefined;
|
|
981
|
+
turn?: string | undefined;
|
|
982
|
+
} | undefined;
|
|
983
|
+
href?: string | undefined;
|
|
984
|
+
availability?: "unknown" | "available" | "deleted" | undefined;
|
|
977
985
|
subject?: string | undefined;
|
|
978
|
-
channel?: string | undefined;
|
|
979
986
|
fields?: {
|
|
980
987
|
label: string;
|
|
981
988
|
after: string | number | boolean | null;
|
|
982
989
|
before?: string | number | boolean | null | undefined;
|
|
990
|
+
format?: "json" | "text" | "timestamp" | undefined;
|
|
983
991
|
beforeDisplay?: string | undefined;
|
|
984
992
|
afterDisplay?: string | undefined;
|
|
985
|
-
format?: "text" | "json" | "timestamp" | undefined;
|
|
986
993
|
}[] | undefined;
|
|
987
994
|
by?: string | undefined;
|
|
988
|
-
requestId?: string | undefined;
|
|
989
995
|
} | undefined;
|
|
990
|
-
externalId?: string | undefined;
|
|
991
|
-
providerKey?: string | undefined;
|
|
992
|
-
connectedAccountId?: string | undefined;
|
|
993
996
|
resourceType?: string | undefined;
|
|
994
|
-
resourceId?: string | undefined;
|
|
995
997
|
toolExecutionId?: string | undefined;
|
|
996
998
|
applicationKey?: string | undefined;
|
|
997
999
|
} | undefined;
|
|
998
|
-
|
|
1000
|
+
sessionId?: string | undefined;
|
|
1001
|
+
metadata?: Record<string, unknown> | undefined;
|
|
999
1002
|
policyKey?: string | undefined;
|
|
1000
1003
|
validFrom?: string | undefined;
|
|
1001
1004
|
validTo?: string | undefined;
|
|
@@ -1007,79 +1010,78 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1007
1010
|
} | undefined;
|
|
1008
1011
|
idempotencyKey?: string | undefined;
|
|
1009
1012
|
mode?: "exact" | "extract" | undefined;
|
|
1010
|
-
tenantId?: string | undefined;
|
|
1011
1013
|
externalTenantId?: string | undefined;
|
|
1012
|
-
sessionId?: string | undefined;
|
|
1013
1014
|
title?: string | undefined;
|
|
1014
1015
|
subjects?: {
|
|
1015
1016
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
1016
1017
|
externalId: string;
|
|
1017
1018
|
}[] | undefined;
|
|
1018
|
-
memoryType?: "
|
|
1019
|
+
memoryType?: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact" | undefined;
|
|
1019
1020
|
sensitivityClass?: "standard" | "personal" | "restricted" | "secret" | undefined;
|
|
1020
1021
|
restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
|
|
1021
1022
|
topicTags?: string[] | undefined;
|
|
1022
1023
|
language?: string | undefined;
|
|
1023
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1024
1024
|
occurredAt?: string | undefined;
|
|
1025
1025
|
}>, {
|
|
1026
|
+
kind: "block" | "fact" | "episode" | "profile_item";
|
|
1026
1027
|
source: {
|
|
1027
1028
|
kind: "provider" | "tool_execution" | "direct" | "conversation" | "document" | "artifact";
|
|
1029
|
+
externalId?: string | undefined;
|
|
1030
|
+
connectedAccountId?: string | undefined;
|
|
1031
|
+
providerKey?: string | undefined;
|
|
1032
|
+
resourceId?: string | undefined;
|
|
1028
1033
|
evidence?: {
|
|
1029
|
-
kind: "object" | "
|
|
1034
|
+
kind: "object" | "file" | "message" | "unknown" | "email" | "manual" | "api" | "conversation";
|
|
1030
1035
|
contract: "stacklink.memory.evidence.v1";
|
|
1031
1036
|
availability: "unknown" | "available" | "deleted";
|
|
1032
1037
|
object?: {
|
|
1033
1038
|
kind: string;
|
|
1034
|
-
name: string;
|
|
1035
1039
|
id: string;
|
|
1040
|
+
name: string;
|
|
1036
1041
|
observed?: string | undefined;
|
|
1037
1042
|
} | undefined;
|
|
1038
|
-
conversation?: {
|
|
1039
|
-
assistant?: boolean | undefined;
|
|
1040
|
-
sessionId?: string | undefined;
|
|
1041
|
-
turn?: string | undefined;
|
|
1042
|
-
speaker?: string | undefined;
|
|
1043
|
-
} | undefined;
|
|
1044
1043
|
file?: {
|
|
1045
1044
|
title: string;
|
|
1046
1045
|
section?: string | undefined;
|
|
1047
1046
|
edited?: string | undefined;
|
|
1048
1047
|
} | undefined;
|
|
1049
|
-
|
|
1048
|
+
channel?: string | undefined;
|
|
1050
1049
|
from?: {
|
|
1051
1050
|
name: string;
|
|
1052
1051
|
address?: string | undefined;
|
|
1053
1052
|
} | undefined;
|
|
1053
|
+
requestId?: string | undefined;
|
|
1054
|
+
conversation?: {
|
|
1055
|
+
speaker?: string | undefined;
|
|
1056
|
+
sessionId?: string | undefined;
|
|
1057
|
+
assistant?: boolean | undefined;
|
|
1058
|
+
turn?: string | undefined;
|
|
1059
|
+
} | undefined;
|
|
1060
|
+
href?: string | undefined;
|
|
1054
1061
|
subject?: string | undefined;
|
|
1055
|
-
channel?: string | undefined;
|
|
1056
1062
|
fields?: {
|
|
1057
1063
|
label: string;
|
|
1058
1064
|
after: string | number | boolean | null;
|
|
1059
1065
|
before?: string | number | boolean | null | undefined;
|
|
1066
|
+
format?: "json" | "text" | "timestamp" | undefined;
|
|
1060
1067
|
beforeDisplay?: string | undefined;
|
|
1061
1068
|
afterDisplay?: string | undefined;
|
|
1062
|
-
format?: "text" | "json" | "timestamp" | undefined;
|
|
1063
1069
|
}[] | undefined;
|
|
1064
1070
|
by?: string | undefined;
|
|
1065
|
-
requestId?: string | undefined;
|
|
1066
1071
|
} | undefined;
|
|
1067
|
-
externalId?: string | undefined;
|
|
1068
|
-
providerKey?: string | undefined;
|
|
1069
|
-
connectedAccountId?: string | undefined;
|
|
1070
1072
|
resourceType?: string | undefined;
|
|
1071
|
-
resourceId?: string | undefined;
|
|
1072
1073
|
toolExecutionId?: string | undefined;
|
|
1073
1074
|
applicationKey?: string | undefined;
|
|
1074
1075
|
};
|
|
1076
|
+
metadata: Record<string, unknown>;
|
|
1075
1077
|
content: string;
|
|
1076
|
-
kind: "fact" | "episode" | "profile_item" | "block";
|
|
1077
1078
|
mode: "exact" | "extract";
|
|
1078
|
-
memoryType: "
|
|
1079
|
+
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
1079
1080
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
1080
1081
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
1081
1082
|
topicTags: string[];
|
|
1082
|
-
|
|
1083
|
+
tenantId?: string | undefined;
|
|
1084
|
+
sessionId?: string | undefined;
|
|
1083
1085
|
policyKey?: string | undefined;
|
|
1084
1086
|
validFrom?: string | undefined;
|
|
1085
1087
|
validTo?: string | undefined;
|
|
@@ -1090,9 +1092,7 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1090
1092
|
reference?: string | undefined;
|
|
1091
1093
|
} | undefined;
|
|
1092
1094
|
idempotencyKey?: string | undefined;
|
|
1093
|
-
tenantId?: string | undefined;
|
|
1094
1095
|
externalTenantId?: string | undefined;
|
|
1095
|
-
sessionId?: string | undefined;
|
|
1096
1096
|
title?: string | undefined;
|
|
1097
1097
|
subjects?: {
|
|
1098
1098
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
@@ -1102,56 +1102,59 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1102
1102
|
occurredAt?: string | undefined;
|
|
1103
1103
|
}, {
|
|
1104
1104
|
content: string;
|
|
1105
|
+
kind?: "block" | "fact" | "episode" | "profile_item" | undefined;
|
|
1106
|
+
tenantId?: string | undefined;
|
|
1105
1107
|
source?: {
|
|
1106
1108
|
kind?: "provider" | "tool_execution" | "direct" | "conversation" | "document" | "artifact" | undefined;
|
|
1109
|
+
externalId?: string | undefined;
|
|
1110
|
+
connectedAccountId?: string | undefined;
|
|
1111
|
+
providerKey?: string | undefined;
|
|
1112
|
+
resourceId?: string | undefined;
|
|
1107
1113
|
evidence?: {
|
|
1108
|
-
kind: "object" | "
|
|
1114
|
+
kind: "object" | "file" | "message" | "unknown" | "email" | "manual" | "api" | "conversation";
|
|
1109
1115
|
object?: {
|
|
1110
1116
|
kind: string;
|
|
1111
|
-
name: string;
|
|
1112
1117
|
id: string;
|
|
1118
|
+
name: string;
|
|
1113
1119
|
observed?: string | undefined;
|
|
1114
1120
|
} | undefined;
|
|
1115
|
-
contract?: "stacklink.memory.evidence.v1" | undefined;
|
|
1116
|
-
conversation?: {
|
|
1117
|
-
assistant?: boolean | undefined;
|
|
1118
|
-
sessionId?: string | undefined;
|
|
1119
|
-
turn?: string | undefined;
|
|
1120
|
-
speaker?: string | undefined;
|
|
1121
|
-
} | undefined;
|
|
1122
1121
|
file?: {
|
|
1123
1122
|
title: string;
|
|
1124
1123
|
section?: string | undefined;
|
|
1125
1124
|
edited?: string | undefined;
|
|
1126
1125
|
} | undefined;
|
|
1127
|
-
|
|
1128
|
-
availability?: "unknown" | "available" | "deleted" | undefined;
|
|
1126
|
+
channel?: string | undefined;
|
|
1129
1127
|
from?: {
|
|
1130
1128
|
name: string;
|
|
1131
1129
|
address?: string | undefined;
|
|
1132
1130
|
} | undefined;
|
|
1131
|
+
requestId?: string | undefined;
|
|
1132
|
+
contract?: "stacklink.memory.evidence.v1" | undefined;
|
|
1133
|
+
conversation?: {
|
|
1134
|
+
speaker?: string | undefined;
|
|
1135
|
+
sessionId?: string | undefined;
|
|
1136
|
+
assistant?: boolean | undefined;
|
|
1137
|
+
turn?: string | undefined;
|
|
1138
|
+
} | undefined;
|
|
1139
|
+
href?: string | undefined;
|
|
1140
|
+
availability?: "unknown" | "available" | "deleted" | undefined;
|
|
1133
1141
|
subject?: string | undefined;
|
|
1134
|
-
channel?: string | undefined;
|
|
1135
1142
|
fields?: {
|
|
1136
1143
|
label: string;
|
|
1137
1144
|
after: string | number | boolean | null;
|
|
1138
1145
|
before?: string | number | boolean | null | undefined;
|
|
1146
|
+
format?: "json" | "text" | "timestamp" | undefined;
|
|
1139
1147
|
beforeDisplay?: string | undefined;
|
|
1140
1148
|
afterDisplay?: string | undefined;
|
|
1141
|
-
format?: "text" | "json" | "timestamp" | undefined;
|
|
1142
1149
|
}[] | undefined;
|
|
1143
1150
|
by?: string | undefined;
|
|
1144
|
-
requestId?: string | undefined;
|
|
1145
1151
|
} | undefined;
|
|
1146
|
-
externalId?: string | undefined;
|
|
1147
|
-
providerKey?: string | undefined;
|
|
1148
|
-
connectedAccountId?: string | undefined;
|
|
1149
1152
|
resourceType?: string | undefined;
|
|
1150
|
-
resourceId?: string | undefined;
|
|
1151
1153
|
toolExecutionId?: string | undefined;
|
|
1152
1154
|
applicationKey?: string | undefined;
|
|
1153
1155
|
} | undefined;
|
|
1154
|
-
|
|
1156
|
+
sessionId?: string | undefined;
|
|
1157
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1155
1158
|
policyKey?: string | undefined;
|
|
1156
1159
|
validFrom?: string | undefined;
|
|
1157
1160
|
validTo?: string | undefined;
|
|
@@ -1163,20 +1166,17 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1163
1166
|
} | undefined;
|
|
1164
1167
|
idempotencyKey?: string | undefined;
|
|
1165
1168
|
mode?: "exact" | "extract" | undefined;
|
|
1166
|
-
tenantId?: string | undefined;
|
|
1167
1169
|
externalTenantId?: string | undefined;
|
|
1168
|
-
sessionId?: string | undefined;
|
|
1169
1170
|
title?: string | undefined;
|
|
1170
1171
|
subjects?: {
|
|
1171
1172
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
1172
1173
|
externalId: string;
|
|
1173
1174
|
}[] | undefined;
|
|
1174
|
-
memoryType?: "
|
|
1175
|
+
memoryType?: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact" | undefined;
|
|
1175
1176
|
sensitivityClass?: "standard" | "personal" | "restricted" | "secret" | undefined;
|
|
1176
1177
|
restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
|
|
1177
1178
|
topicTags?: string[] | undefined;
|
|
1178
1179
|
language?: string | undefined;
|
|
1179
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1180
1180
|
occurredAt?: string | undefined;
|
|
1181
1181
|
}>;
|
|
1182
1182
|
export type MemoryIngestInput = z.input<typeof memoryIngestInputSchema>;
|
|
@@ -1207,13 +1207,13 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1207
1207
|
dataBase64: z.ZodString;
|
|
1208
1208
|
}, "strict", z.ZodTypeAny, {
|
|
1209
1209
|
type: "file";
|
|
1210
|
-
filename: string;
|
|
1211
1210
|
mediaType: string;
|
|
1211
|
+
filename: string;
|
|
1212
1212
|
dataBase64: string;
|
|
1213
1213
|
}, {
|
|
1214
1214
|
type: "file";
|
|
1215
|
-
filename: string;
|
|
1216
1215
|
mediaType: string;
|
|
1216
|
+
filename: string;
|
|
1217
1217
|
dataBase64: string;
|
|
1218
1218
|
}>, z.ZodObject<{
|
|
1219
1219
|
type: z.ZodLiteral<"url">;
|
|
@@ -1251,22 +1251,24 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1251
1251
|
}>>;
|
|
1252
1252
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1253
1253
|
}, "strip", z.ZodTypeAny, {
|
|
1254
|
-
kind: "
|
|
1255
|
-
mode: "exact" | "extract";
|
|
1256
|
-
memoryType: "preference" | "decision" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
1257
|
-
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
1258
|
-
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
1259
|
-
topicTags: string[];
|
|
1254
|
+
kind: "block" | "fact" | "episode" | "profile_item";
|
|
1260
1255
|
metadata: Record<string, unknown>;
|
|
1261
1256
|
input: {
|
|
1262
1257
|
type: "file";
|
|
1263
|
-
filename: string;
|
|
1264
1258
|
mediaType: string;
|
|
1259
|
+
filename: string;
|
|
1265
1260
|
dataBase64: string;
|
|
1266
1261
|
} | {
|
|
1267
1262
|
type: "url";
|
|
1268
1263
|
url: string;
|
|
1269
1264
|
};
|
|
1265
|
+
mode: "exact" | "extract";
|
|
1266
|
+
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
1267
|
+
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
1268
|
+
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
1269
|
+
topicTags: string[];
|
|
1270
|
+
tenantId?: string | undefined;
|
|
1271
|
+
sessionId?: string | undefined;
|
|
1270
1272
|
policyKey?: string | undefined;
|
|
1271
1273
|
validFrom?: string | undefined;
|
|
1272
1274
|
validTo?: string | undefined;
|
|
@@ -1277,9 +1279,7 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1277
1279
|
reference?: string | undefined;
|
|
1278
1280
|
} | undefined;
|
|
1279
1281
|
idempotencyKey?: string | undefined;
|
|
1280
|
-
tenantId?: string | undefined;
|
|
1281
1282
|
externalTenantId?: string | undefined;
|
|
1282
|
-
sessionId?: string | undefined;
|
|
1283
1283
|
title?: string | undefined;
|
|
1284
1284
|
subjects?: {
|
|
1285
1285
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
@@ -1290,14 +1290,17 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1290
1290
|
}, {
|
|
1291
1291
|
input: {
|
|
1292
1292
|
type: "file";
|
|
1293
|
-
filename: string;
|
|
1294
1293
|
mediaType: string;
|
|
1294
|
+
filename: string;
|
|
1295
1295
|
dataBase64: string;
|
|
1296
1296
|
} | {
|
|
1297
1297
|
type: "url";
|
|
1298
1298
|
url: string;
|
|
1299
1299
|
};
|
|
1300
|
-
kind?: "
|
|
1300
|
+
kind?: "block" | "fact" | "episode" | "profile_item" | undefined;
|
|
1301
|
+
tenantId?: string | undefined;
|
|
1302
|
+
sessionId?: string | undefined;
|
|
1303
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1301
1304
|
policyKey?: string | undefined;
|
|
1302
1305
|
validFrom?: string | undefined;
|
|
1303
1306
|
validTo?: string | undefined;
|
|
@@ -1309,38 +1312,37 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1309
1312
|
} | undefined;
|
|
1310
1313
|
idempotencyKey?: string | undefined;
|
|
1311
1314
|
mode?: "exact" | "extract" | undefined;
|
|
1312
|
-
tenantId?: string | undefined;
|
|
1313
1315
|
externalTenantId?: string | undefined;
|
|
1314
|
-
sessionId?: string | undefined;
|
|
1315
1316
|
title?: string | undefined;
|
|
1316
1317
|
subjects?: {
|
|
1317
1318
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
1318
1319
|
externalId: string;
|
|
1319
1320
|
}[] | undefined;
|
|
1320
|
-
memoryType?: "
|
|
1321
|
+
memoryType?: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact" | undefined;
|
|
1321
1322
|
sensitivityClass?: "standard" | "personal" | "restricted" | "secret" | undefined;
|
|
1322
1323
|
restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
|
|
1323
1324
|
topicTags?: string[] | undefined;
|
|
1324
1325
|
language?: string | undefined;
|
|
1325
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1326
1326
|
occurredAt?: string | undefined;
|
|
1327
1327
|
}>, {
|
|
1328
|
-
kind: "
|
|
1329
|
-
mode: "exact" | "extract";
|
|
1330
|
-
memoryType: "preference" | "decision" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
1331
|
-
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
1332
|
-
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
1333
|
-
topicTags: string[];
|
|
1328
|
+
kind: "block" | "fact" | "episode" | "profile_item";
|
|
1334
1329
|
metadata: Record<string, unknown>;
|
|
1335
1330
|
input: {
|
|
1336
1331
|
type: "file";
|
|
1337
|
-
filename: string;
|
|
1338
1332
|
mediaType: string;
|
|
1333
|
+
filename: string;
|
|
1339
1334
|
dataBase64: string;
|
|
1340
1335
|
} | {
|
|
1341
1336
|
type: "url";
|
|
1342
1337
|
url: string;
|
|
1343
1338
|
};
|
|
1339
|
+
mode: "exact" | "extract";
|
|
1340
|
+
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
1341
|
+
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
1342
|
+
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
1343
|
+
topicTags: string[];
|
|
1344
|
+
tenantId?: string | undefined;
|
|
1345
|
+
sessionId?: string | undefined;
|
|
1344
1346
|
policyKey?: string | undefined;
|
|
1345
1347
|
validFrom?: string | undefined;
|
|
1346
1348
|
validTo?: string | undefined;
|
|
@@ -1351,9 +1353,7 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1351
1353
|
reference?: string | undefined;
|
|
1352
1354
|
} | undefined;
|
|
1353
1355
|
idempotencyKey?: string | undefined;
|
|
1354
|
-
tenantId?: string | undefined;
|
|
1355
1356
|
externalTenantId?: string | undefined;
|
|
1356
|
-
sessionId?: string | undefined;
|
|
1357
1357
|
title?: string | undefined;
|
|
1358
1358
|
subjects?: {
|
|
1359
1359
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
@@ -1364,14 +1364,17 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1364
1364
|
}, {
|
|
1365
1365
|
input: {
|
|
1366
1366
|
type: "file";
|
|
1367
|
-
filename: string;
|
|
1368
1367
|
mediaType: string;
|
|
1368
|
+
filename: string;
|
|
1369
1369
|
dataBase64: string;
|
|
1370
1370
|
} | {
|
|
1371
1371
|
type: "url";
|
|
1372
1372
|
url: string;
|
|
1373
1373
|
};
|
|
1374
|
-
kind?: "
|
|
1374
|
+
kind?: "block" | "fact" | "episode" | "profile_item" | undefined;
|
|
1375
|
+
tenantId?: string | undefined;
|
|
1376
|
+
sessionId?: string | undefined;
|
|
1377
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1375
1378
|
policyKey?: string | undefined;
|
|
1376
1379
|
validFrom?: string | undefined;
|
|
1377
1380
|
validTo?: string | undefined;
|
|
@@ -1383,20 +1386,17 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1383
1386
|
} | undefined;
|
|
1384
1387
|
idempotencyKey?: string | undefined;
|
|
1385
1388
|
mode?: "exact" | "extract" | undefined;
|
|
1386
|
-
tenantId?: string | undefined;
|
|
1387
1389
|
externalTenantId?: string | undefined;
|
|
1388
|
-
sessionId?: string | undefined;
|
|
1389
1390
|
title?: string | undefined;
|
|
1390
1391
|
subjects?: {
|
|
1391
1392
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
1392
1393
|
externalId: string;
|
|
1393
1394
|
}[] | undefined;
|
|
1394
|
-
memoryType?: "
|
|
1395
|
+
memoryType?: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact" | undefined;
|
|
1395
1396
|
sensitivityClass?: "standard" | "personal" | "restricted" | "secret" | undefined;
|
|
1396
1397
|
restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
|
|
1397
1398
|
topicTags?: string[] | undefined;
|
|
1398
1399
|
language?: string | undefined;
|
|
1399
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1400
1400
|
occurredAt?: string | undefined;
|
|
1401
1401
|
}>;
|
|
1402
1402
|
export type MemoryRichIngestInput = z.input<typeof memoryRichIngestInputSchema>;
|
|
@@ -1436,21 +1436,21 @@ export declare const memorySearchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1436
1436
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1437
1437
|
semanticCandidateLimit: z.ZodOptional<z.ZodNumber>;
|
|
1438
1438
|
}, "strip", z.ZodTypeAny, {
|
|
1439
|
+
limit: number;
|
|
1439
1440
|
query: string;
|
|
1440
1441
|
states: ("current" | "conflicted")[];
|
|
1441
1442
|
includeGraph: boolean;
|
|
1442
1443
|
includeSourceRefs: boolean;
|
|
1443
|
-
limit: number;
|
|
1444
|
-
recordedAt?: string | undefined;
|
|
1445
1444
|
tenantId?: string | undefined;
|
|
1446
|
-
externalTenantId?: string | undefined;
|
|
1447
1445
|
sessionId?: string | undefined;
|
|
1446
|
+
kinds?: ("block" | "fact" | "episode" | "profile_item")[] | undefined;
|
|
1447
|
+
recordedAt?: string | undefined;
|
|
1448
|
+
externalTenantId?: string | undefined;
|
|
1448
1449
|
subjects?: {
|
|
1449
1450
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
1450
1451
|
externalId: string;
|
|
1451
1452
|
}[] | undefined;
|
|
1452
|
-
|
|
1453
|
-
memoryTypes?: ("preference" | "decision" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
1453
|
+
memoryTypes?: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
1454
1454
|
providerKeys?: string[] | undefined;
|
|
1455
1455
|
sourceFamilyKeys?: string[] | undefined;
|
|
1456
1456
|
connectedAccountIds?: string[] | undefined;
|
|
@@ -1460,16 +1460,17 @@ export declare const memorySearchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1460
1460
|
semanticCandidateLimit?: number | undefined;
|
|
1461
1461
|
}, {
|
|
1462
1462
|
query: string;
|
|
1463
|
-
recordedAt?: string | undefined;
|
|
1464
1463
|
tenantId?: string | undefined;
|
|
1465
|
-
externalTenantId?: string | undefined;
|
|
1466
1464
|
sessionId?: string | undefined;
|
|
1465
|
+
limit?: number | undefined;
|
|
1466
|
+
kinds?: ("block" | "fact" | "episode" | "profile_item")[] | undefined;
|
|
1467
|
+
recordedAt?: string | undefined;
|
|
1468
|
+
externalTenantId?: string | undefined;
|
|
1467
1469
|
subjects?: {
|
|
1468
1470
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
1469
1471
|
externalId: string;
|
|
1470
1472
|
}[] | undefined;
|
|
1471
|
-
|
|
1472
|
-
memoryTypes?: ("preference" | "decision" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
1473
|
+
memoryTypes?: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
1473
1474
|
providerKeys?: string[] | undefined;
|
|
1474
1475
|
sourceFamilyKeys?: string[] | undefined;
|
|
1475
1476
|
connectedAccountIds?: string[] | undefined;
|
|
@@ -1479,24 +1480,23 @@ export declare const memorySearchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1479
1480
|
validAt?: string | undefined;
|
|
1480
1481
|
includeGraph?: boolean | undefined;
|
|
1481
1482
|
includeSourceRefs?: boolean | undefined;
|
|
1482
|
-
limit?: number | undefined;
|
|
1483
1483
|
semanticCandidateLimit?: number | undefined;
|
|
1484
1484
|
}>, {
|
|
1485
|
+
limit: number;
|
|
1485
1486
|
query: string;
|
|
1486
1487
|
states: ("current" | "conflicted")[];
|
|
1487
1488
|
includeGraph: boolean;
|
|
1488
1489
|
includeSourceRefs: boolean;
|
|
1489
|
-
limit: number;
|
|
1490
|
-
recordedAt?: string | undefined;
|
|
1491
1490
|
tenantId?: string | undefined;
|
|
1492
|
-
externalTenantId?: string | undefined;
|
|
1493
1491
|
sessionId?: string | undefined;
|
|
1492
|
+
kinds?: ("block" | "fact" | "episode" | "profile_item")[] | undefined;
|
|
1493
|
+
recordedAt?: string | undefined;
|
|
1494
|
+
externalTenantId?: string | undefined;
|
|
1494
1495
|
subjects?: {
|
|
1495
1496
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
1496
1497
|
externalId: string;
|
|
1497
1498
|
}[] | undefined;
|
|
1498
|
-
|
|
1499
|
-
memoryTypes?: ("preference" | "decision" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
1499
|
+
memoryTypes?: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
1500
1500
|
providerKeys?: string[] | undefined;
|
|
1501
1501
|
sourceFamilyKeys?: string[] | undefined;
|
|
1502
1502
|
connectedAccountIds?: string[] | undefined;
|
|
@@ -1506,16 +1506,17 @@ export declare const memorySearchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1506
1506
|
semanticCandidateLimit?: number | undefined;
|
|
1507
1507
|
}, {
|
|
1508
1508
|
query: string;
|
|
1509
|
-
recordedAt?: string | undefined;
|
|
1510
1509
|
tenantId?: string | undefined;
|
|
1511
|
-
externalTenantId?: string | undefined;
|
|
1512
1510
|
sessionId?: string | undefined;
|
|
1511
|
+
limit?: number | undefined;
|
|
1512
|
+
kinds?: ("block" | "fact" | "episode" | "profile_item")[] | undefined;
|
|
1513
|
+
recordedAt?: string | undefined;
|
|
1514
|
+
externalTenantId?: string | undefined;
|
|
1513
1515
|
subjects?: {
|
|
1514
1516
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
1515
1517
|
externalId: string;
|
|
1516
1518
|
}[] | undefined;
|
|
1517
|
-
|
|
1518
|
-
memoryTypes?: ("preference" | "decision" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
1519
|
+
memoryTypes?: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
1519
1520
|
providerKeys?: string[] | undefined;
|
|
1520
1521
|
sourceFamilyKeys?: string[] | undefined;
|
|
1521
1522
|
connectedAccountIds?: string[] | undefined;
|
|
@@ -1525,7 +1526,6 @@ export declare const memorySearchInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1525
1526
|
validAt?: string | undefined;
|
|
1526
1527
|
includeGraph?: boolean | undefined;
|
|
1527
1528
|
includeSourceRefs?: boolean | undefined;
|
|
1528
|
-
limit?: number | undefined;
|
|
1529
1529
|
semanticCandidateLimit?: number | undefined;
|
|
1530
1530
|
}>;
|
|
1531
1531
|
export type MemorySearchInput = z.input<typeof memorySearchInputSchema>;
|
|
@@ -1566,23 +1566,23 @@ export declare const memoryContextInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1566
1566
|
includeRecentEpisodes: z.ZodDefault<z.ZodBoolean>;
|
|
1567
1567
|
promptFormat: z.ZodDefault<z.ZodEnum<["text", "markdown"]>>;
|
|
1568
1568
|
}, "strip", z.ZodTypeAny, {
|
|
1569
|
+
limit: number;
|
|
1569
1570
|
query: string;
|
|
1570
1571
|
states: ("current" | "conflicted")[];
|
|
1571
1572
|
includeGraph: boolean;
|
|
1572
1573
|
includeSourceRefs: boolean;
|
|
1573
|
-
limit: number;
|
|
1574
1574
|
includeRecentEpisodes: boolean;
|
|
1575
|
-
promptFormat: "
|
|
1576
|
-
recordedAt?: string | undefined;
|
|
1575
|
+
promptFormat: "markdown" | "text";
|
|
1577
1576
|
tenantId?: string | undefined;
|
|
1578
|
-
externalTenantId?: string | undefined;
|
|
1579
1577
|
sessionId?: string | undefined;
|
|
1578
|
+
kinds?: ("block" | "fact" | "episode" | "profile_item")[] | undefined;
|
|
1579
|
+
recordedAt?: string | undefined;
|
|
1580
|
+
externalTenantId?: string | undefined;
|
|
1580
1581
|
subjects?: {
|
|
1581
1582
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
1582
1583
|
externalId: string;
|
|
1583
1584
|
}[] | undefined;
|
|
1584
|
-
|
|
1585
|
-
memoryTypes?: ("preference" | "decision" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
1585
|
+
memoryTypes?: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
1586
1586
|
providerKeys?: string[] | undefined;
|
|
1587
1587
|
sourceFamilyKeys?: string[] | undefined;
|
|
1588
1588
|
connectedAccountIds?: string[] | undefined;
|
|
@@ -1595,16 +1595,17 @@ export declare const memoryContextInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1595
1595
|
includeBlocks?: boolean | undefined;
|
|
1596
1596
|
}, {
|
|
1597
1597
|
query: string;
|
|
1598
|
-
recordedAt?: string | undefined;
|
|
1599
1598
|
tenantId?: string | undefined;
|
|
1600
|
-
externalTenantId?: string | undefined;
|
|
1601
1599
|
sessionId?: string | undefined;
|
|
1600
|
+
limit?: number | undefined;
|
|
1601
|
+
kinds?: ("block" | "fact" | "episode" | "profile_item")[] | undefined;
|
|
1602
|
+
recordedAt?: string | undefined;
|
|
1603
|
+
externalTenantId?: string | undefined;
|
|
1602
1604
|
subjects?: {
|
|
1603
1605
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
1604
1606
|
externalId: string;
|
|
1605
1607
|
}[] | undefined;
|
|
1606
|
-
|
|
1607
|
-
memoryTypes?: ("preference" | "decision" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
1608
|
+
memoryTypes?: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
1608
1609
|
providerKeys?: string[] | undefined;
|
|
1609
1610
|
sourceFamilyKeys?: string[] | undefined;
|
|
1610
1611
|
connectedAccountIds?: string[] | undefined;
|
|
@@ -1614,31 +1615,30 @@ export declare const memoryContextInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1614
1615
|
validAt?: string | undefined;
|
|
1615
1616
|
includeGraph?: boolean | undefined;
|
|
1616
1617
|
includeSourceRefs?: boolean | undefined;
|
|
1617
|
-
limit?: number | undefined;
|
|
1618
1618
|
semanticCandidateLimit?: number | undefined;
|
|
1619
1619
|
tokenBudget?: number | undefined;
|
|
1620
1620
|
includeProfile?: boolean | undefined;
|
|
1621
1621
|
includeBlocks?: boolean | undefined;
|
|
1622
1622
|
includeRecentEpisodes?: boolean | undefined;
|
|
1623
|
-
promptFormat?: "
|
|
1623
|
+
promptFormat?: "markdown" | "text" | undefined;
|
|
1624
1624
|
}>, {
|
|
1625
|
+
limit: number;
|
|
1625
1626
|
query: string;
|
|
1626
1627
|
states: ("current" | "conflicted")[];
|
|
1627
1628
|
includeGraph: boolean;
|
|
1628
1629
|
includeSourceRefs: boolean;
|
|
1629
|
-
limit: number;
|
|
1630
1630
|
includeRecentEpisodes: boolean;
|
|
1631
|
-
promptFormat: "
|
|
1632
|
-
recordedAt?: string | undefined;
|
|
1631
|
+
promptFormat: "markdown" | "text";
|
|
1633
1632
|
tenantId?: string | undefined;
|
|
1634
|
-
externalTenantId?: string | undefined;
|
|
1635
1633
|
sessionId?: string | undefined;
|
|
1634
|
+
kinds?: ("block" | "fact" | "episode" | "profile_item")[] | undefined;
|
|
1635
|
+
recordedAt?: string | undefined;
|
|
1636
|
+
externalTenantId?: string | undefined;
|
|
1636
1637
|
subjects?: {
|
|
1637
1638
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
1638
1639
|
externalId: string;
|
|
1639
1640
|
}[] | undefined;
|
|
1640
|
-
|
|
1641
|
-
memoryTypes?: ("preference" | "decision" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
1641
|
+
memoryTypes?: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
1642
1642
|
providerKeys?: string[] | undefined;
|
|
1643
1643
|
sourceFamilyKeys?: string[] | undefined;
|
|
1644
1644
|
connectedAccountIds?: string[] | undefined;
|
|
@@ -1651,16 +1651,17 @@ export declare const memoryContextInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1651
1651
|
includeBlocks?: boolean | undefined;
|
|
1652
1652
|
}, {
|
|
1653
1653
|
query: string;
|
|
1654
|
-
recordedAt?: string | undefined;
|
|
1655
1654
|
tenantId?: string | undefined;
|
|
1656
|
-
externalTenantId?: string | undefined;
|
|
1657
1655
|
sessionId?: string | undefined;
|
|
1656
|
+
limit?: number | undefined;
|
|
1657
|
+
kinds?: ("block" | "fact" | "episode" | "profile_item")[] | undefined;
|
|
1658
|
+
recordedAt?: string | undefined;
|
|
1659
|
+
externalTenantId?: string | undefined;
|
|
1658
1660
|
subjects?: {
|
|
1659
1661
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
1660
1662
|
externalId: string;
|
|
1661
1663
|
}[] | undefined;
|
|
1662
|
-
|
|
1663
|
-
memoryTypes?: ("preference" | "decision" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
1664
|
+
memoryTypes?: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
1664
1665
|
providerKeys?: string[] | undefined;
|
|
1665
1666
|
sourceFamilyKeys?: string[] | undefined;
|
|
1666
1667
|
connectedAccountIds?: string[] | undefined;
|
|
@@ -1670,13 +1671,12 @@ export declare const memoryContextInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1670
1671
|
validAt?: string | undefined;
|
|
1671
1672
|
includeGraph?: boolean | undefined;
|
|
1672
1673
|
includeSourceRefs?: boolean | undefined;
|
|
1673
|
-
limit?: number | undefined;
|
|
1674
1674
|
semanticCandidateLimit?: number | undefined;
|
|
1675
1675
|
tokenBudget?: number | undefined;
|
|
1676
1676
|
includeProfile?: boolean | undefined;
|
|
1677
1677
|
includeBlocks?: boolean | undefined;
|
|
1678
1678
|
includeRecentEpisodes?: boolean | undefined;
|
|
1679
|
-
promptFormat?: "
|
|
1679
|
+
promptFormat?: "markdown" | "text" | undefined;
|
|
1680
1680
|
}>;
|
|
1681
1681
|
export type MemoryContextInput = z.input<typeof memoryContextInputSchema>;
|
|
1682
1682
|
export type ParsedMemoryContextInput = z.output<typeof memoryContextInputSchema>;
|
|
@@ -1693,48 +1693,48 @@ export declare const memoryRecordListQuerySchema: z.ZodEffects<z.ZodObject<{
|
|
|
1693
1693
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1694
1694
|
}, "strip", z.ZodTypeAny, {
|
|
1695
1695
|
limit: number;
|
|
1696
|
-
kind?: "
|
|
1696
|
+
kind?: "block" | "fact" | "episode" | "profile_item" | undefined;
|
|
1697
1697
|
tenantId?: string | undefined;
|
|
1698
|
-
externalTenantId?: string | undefined;
|
|
1699
1698
|
sessionId?: string | undefined;
|
|
1699
|
+
cursor?: string | undefined;
|
|
1700
1700
|
state?: "current" | "conflicted" | undefined;
|
|
1701
|
+
externalTenantId?: string | undefined;
|
|
1701
1702
|
subjectType?: "custom" | "user" | "agent" | "tenant" | "run" | "application" | undefined;
|
|
1702
1703
|
externalSubjectId?: string | undefined;
|
|
1703
1704
|
sourceKind?: "provider" | "tool_execution" | "direct" | "conversation" | "document" | "artifact" | undefined;
|
|
1704
|
-
cursor?: string | undefined;
|
|
1705
1705
|
}, {
|
|
1706
|
-
kind?: "
|
|
1706
|
+
kind?: "block" | "fact" | "episode" | "profile_item" | undefined;
|
|
1707
1707
|
tenantId?: string | undefined;
|
|
1708
|
-
externalTenantId?: string | undefined;
|
|
1709
1708
|
sessionId?: string | undefined;
|
|
1709
|
+
cursor?: string | undefined;
|
|
1710
1710
|
limit?: number | undefined;
|
|
1711
1711
|
state?: "current" | "conflicted" | undefined;
|
|
1712
|
+
externalTenantId?: string | undefined;
|
|
1712
1713
|
subjectType?: "custom" | "user" | "agent" | "tenant" | "run" | "application" | undefined;
|
|
1713
1714
|
externalSubjectId?: string | undefined;
|
|
1714
1715
|
sourceKind?: "provider" | "tool_execution" | "direct" | "conversation" | "document" | "artifact" | undefined;
|
|
1715
|
-
cursor?: string | undefined;
|
|
1716
1716
|
}>, {
|
|
1717
1717
|
limit: number;
|
|
1718
|
-
kind?: "
|
|
1718
|
+
kind?: "block" | "fact" | "episode" | "profile_item" | undefined;
|
|
1719
1719
|
tenantId?: string | undefined;
|
|
1720
|
-
externalTenantId?: string | undefined;
|
|
1721
1720
|
sessionId?: string | undefined;
|
|
1721
|
+
cursor?: string | undefined;
|
|
1722
1722
|
state?: "current" | "conflicted" | undefined;
|
|
1723
|
+
externalTenantId?: string | undefined;
|
|
1723
1724
|
subjectType?: "custom" | "user" | "agent" | "tenant" | "run" | "application" | undefined;
|
|
1724
1725
|
externalSubjectId?: string | undefined;
|
|
1725
1726
|
sourceKind?: "provider" | "tool_execution" | "direct" | "conversation" | "document" | "artifact" | undefined;
|
|
1726
|
-
cursor?: string | undefined;
|
|
1727
1727
|
}, {
|
|
1728
|
-
kind?: "
|
|
1728
|
+
kind?: "block" | "fact" | "episode" | "profile_item" | undefined;
|
|
1729
1729
|
tenantId?: string | undefined;
|
|
1730
|
-
externalTenantId?: string | undefined;
|
|
1731
1730
|
sessionId?: string | undefined;
|
|
1731
|
+
cursor?: string | undefined;
|
|
1732
1732
|
limit?: number | undefined;
|
|
1733
1733
|
state?: "current" | "conflicted" | undefined;
|
|
1734
|
+
externalTenantId?: string | undefined;
|
|
1734
1735
|
subjectType?: "custom" | "user" | "agent" | "tenant" | "run" | "application" | undefined;
|
|
1735
1736
|
externalSubjectId?: string | undefined;
|
|
1736
1737
|
sourceKind?: "provider" | "tool_execution" | "direct" | "conversation" | "document" | "artifact" | undefined;
|
|
1737
|
-
cursor?: string | undefined;
|
|
1738
1738
|
}>;
|
|
1739
1739
|
export declare const memoryForgottenRecordListQuerySchema: z.ZodEffects<z.ZodObject<{
|
|
1740
1740
|
readonly tenantId: z.ZodOptional<z.ZodString>;
|
|
@@ -1748,44 +1748,44 @@ export declare const memoryForgottenRecordListQuerySchema: z.ZodEffects<z.ZodObj
|
|
|
1748
1748
|
readonly limit: z.ZodDefault<z.ZodNumber>;
|
|
1749
1749
|
}, "strip", z.ZodTypeAny, {
|
|
1750
1750
|
limit: number;
|
|
1751
|
-
kind?: "
|
|
1751
|
+
kind?: "block" | "fact" | "episode" | "profile_item" | undefined;
|
|
1752
1752
|
tenantId?: string | undefined;
|
|
1753
|
-
externalTenantId?: string | undefined;
|
|
1754
1753
|
sessionId?: string | undefined;
|
|
1754
|
+
cursor?: string | undefined;
|
|
1755
|
+
externalTenantId?: string | undefined;
|
|
1755
1756
|
subjectType?: "custom" | "user" | "agent" | "tenant" | "run" | "application" | undefined;
|
|
1756
1757
|
externalSubjectId?: string | undefined;
|
|
1757
1758
|
sourceKind?: "provider" | "tool_execution" | "direct" | "conversation" | "document" | "artifact" | undefined;
|
|
1758
|
-
cursor?: string | undefined;
|
|
1759
1759
|
}, {
|
|
1760
|
-
kind?: "
|
|
1760
|
+
kind?: "block" | "fact" | "episode" | "profile_item" | undefined;
|
|
1761
1761
|
tenantId?: string | undefined;
|
|
1762
|
-
externalTenantId?: string | undefined;
|
|
1763
1762
|
sessionId?: string | undefined;
|
|
1763
|
+
cursor?: string | undefined;
|
|
1764
1764
|
limit?: number | undefined;
|
|
1765
|
+
externalTenantId?: string | undefined;
|
|
1765
1766
|
subjectType?: "custom" | "user" | "agent" | "tenant" | "run" | "application" | undefined;
|
|
1766
1767
|
externalSubjectId?: string | undefined;
|
|
1767
1768
|
sourceKind?: "provider" | "tool_execution" | "direct" | "conversation" | "document" | "artifact" | undefined;
|
|
1768
|
-
cursor?: string | undefined;
|
|
1769
1769
|
}>, {
|
|
1770
1770
|
limit: number;
|
|
1771
|
-
kind?: "
|
|
1771
|
+
kind?: "block" | "fact" | "episode" | "profile_item" | undefined;
|
|
1772
1772
|
tenantId?: string | undefined;
|
|
1773
|
-
externalTenantId?: string | undefined;
|
|
1774
1773
|
sessionId?: string | undefined;
|
|
1774
|
+
cursor?: string | undefined;
|
|
1775
|
+
externalTenantId?: string | undefined;
|
|
1775
1776
|
subjectType?: "custom" | "user" | "agent" | "tenant" | "run" | "application" | undefined;
|
|
1776
1777
|
externalSubjectId?: string | undefined;
|
|
1777
1778
|
sourceKind?: "provider" | "tool_execution" | "direct" | "conversation" | "document" | "artifact" | undefined;
|
|
1778
|
-
cursor?: string | undefined;
|
|
1779
1779
|
}, {
|
|
1780
|
-
kind?: "
|
|
1780
|
+
kind?: "block" | "fact" | "episode" | "profile_item" | undefined;
|
|
1781
1781
|
tenantId?: string | undefined;
|
|
1782
|
-
externalTenantId?: string | undefined;
|
|
1783
1782
|
sessionId?: string | undefined;
|
|
1783
|
+
cursor?: string | undefined;
|
|
1784
1784
|
limit?: number | undefined;
|
|
1785
|
+
externalTenantId?: string | undefined;
|
|
1785
1786
|
subjectType?: "custom" | "user" | "agent" | "tenant" | "run" | "application" | undefined;
|
|
1786
1787
|
externalSubjectId?: string | undefined;
|
|
1787
1788
|
sourceKind?: "provider" | "tool_execution" | "direct" | "conversation" | "document" | "artifact" | undefined;
|
|
1788
|
-
cursor?: string | undefined;
|
|
1789
1789
|
}>;
|
|
1790
1790
|
export declare const memoryRecordUpdateInputSchema: z.ZodEffects<z.ZodObject<{
|
|
1791
1791
|
content: z.ZodOptional<z.ZodString>;
|
|
@@ -1801,57 +1801,57 @@ export declare const memoryRecordUpdateInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1801
1801
|
reason: z.ZodOptional<z.ZodString>;
|
|
1802
1802
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1803
1803
|
}, "strip", z.ZodTypeAny, {
|
|
1804
|
+
reason?: string | undefined;
|
|
1805
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1804
1806
|
content?: string | undefined;
|
|
1807
|
+
state?: "current" | "conflicted" | undefined;
|
|
1805
1808
|
validFrom?: string | null | undefined;
|
|
1806
1809
|
validTo?: string | null | undefined;
|
|
1807
1810
|
title?: string | null | undefined;
|
|
1808
|
-
memoryType?: "
|
|
1811
|
+
memoryType?: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact" | undefined;
|
|
1809
1812
|
sensitivityClass?: "standard" | "personal" | "restricted" | "secret" | undefined;
|
|
1810
1813
|
restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
|
|
1811
1814
|
topicTags?: string[] | undefined;
|
|
1812
1815
|
language?: string | null | undefined;
|
|
1813
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1814
|
-
state?: "current" | "conflicted" | undefined;
|
|
1815
|
-
reason?: string | undefined;
|
|
1816
1816
|
}, {
|
|
1817
|
+
reason?: string | undefined;
|
|
1818
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1817
1819
|
content?: string | undefined;
|
|
1820
|
+
state?: "current" | "conflicted" | undefined;
|
|
1818
1821
|
validFrom?: string | null | undefined;
|
|
1819
1822
|
validTo?: string | null | undefined;
|
|
1820
1823
|
title?: string | null | undefined;
|
|
1821
|
-
memoryType?: "
|
|
1824
|
+
memoryType?: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact" | undefined;
|
|
1822
1825
|
sensitivityClass?: "standard" | "personal" | "restricted" | "secret" | undefined;
|
|
1823
1826
|
restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
|
|
1824
1827
|
topicTags?: string[] | undefined;
|
|
1825
1828
|
language?: string | null | undefined;
|
|
1826
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1827
|
-
state?: "current" | "conflicted" | undefined;
|
|
1828
|
-
reason?: string | undefined;
|
|
1829
1829
|
}>, {
|
|
1830
|
+
reason?: string | undefined;
|
|
1831
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1830
1832
|
content?: string | undefined;
|
|
1833
|
+
state?: "current" | "conflicted" | undefined;
|
|
1831
1834
|
validFrom?: string | null | undefined;
|
|
1832
1835
|
validTo?: string | null | undefined;
|
|
1833
1836
|
title?: string | null | undefined;
|
|
1834
|
-
memoryType?: "
|
|
1837
|
+
memoryType?: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact" | undefined;
|
|
1835
1838
|
sensitivityClass?: "standard" | "personal" | "restricted" | "secret" | undefined;
|
|
1836
1839
|
restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
|
|
1837
1840
|
topicTags?: string[] | undefined;
|
|
1838
1841
|
language?: string | null | undefined;
|
|
1839
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1840
|
-
state?: "current" | "conflicted" | undefined;
|
|
1841
|
-
reason?: string | undefined;
|
|
1842
1842
|
}, {
|
|
1843
|
+
reason?: string | undefined;
|
|
1844
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1843
1845
|
content?: string | undefined;
|
|
1846
|
+
state?: "current" | "conflicted" | undefined;
|
|
1844
1847
|
validFrom?: string | null | undefined;
|
|
1845
1848
|
validTo?: string | null | undefined;
|
|
1846
1849
|
title?: string | null | undefined;
|
|
1847
|
-
memoryType?: "
|
|
1850
|
+
memoryType?: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact" | undefined;
|
|
1848
1851
|
sensitivityClass?: "standard" | "personal" | "restricted" | "secret" | undefined;
|
|
1849
1852
|
restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
|
|
1850
1853
|
topicTags?: string[] | undefined;
|
|
1851
1854
|
language?: string | null | undefined;
|
|
1852
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1853
|
-
state?: "current" | "conflicted" | undefined;
|
|
1854
|
-
reason?: string | undefined;
|
|
1855
1855
|
}>;
|
|
1856
1856
|
export type MemoryRecordUpdateInput = z.infer<typeof memoryRecordUpdateInputSchema>;
|
|
1857
1857
|
export declare const memoryQualityReviewDispositions: readonly ["keep", "correct", "convert_to_episode", "restrict"];
|
|
@@ -1919,13 +1919,13 @@ export declare const memoryRecordQualityReviewInputSchema: z.ZodEffects<z.ZodObj
|
|
|
1919
1919
|
}>;
|
|
1920
1920
|
reason: z.ZodString;
|
|
1921
1921
|
}, "strict", z.ZodTypeAny, {
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1922
|
+
reason: string;
|
|
1923
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
1924
|
+
salience: "low" | "medium" | "high";
|
|
1925
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
1926
|
+
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
1926
1927
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
1927
1928
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
1928
|
-
reason: string;
|
|
1929
1929
|
disposition: "correct" | "keep" | "convert_to_episode" | "restrict";
|
|
1930
1930
|
actorEntity: {
|
|
1931
1931
|
canonicalKey: string;
|
|
@@ -1946,12 +1946,12 @@ export declare const memoryRecordQualityReviewInputSchema: z.ZodEffects<z.ZodObj
|
|
|
1946
1946
|
topicTags?: string[] | undefined;
|
|
1947
1947
|
language?: string | null | undefined;
|
|
1948
1948
|
}, {
|
|
1949
|
-
authorshipClass: "application" | "unknown" | "connected_user" | "other_human" | "bot" | "system";
|
|
1950
|
-
salience: "medium" | "low" | "high";
|
|
1951
|
-
evidenceConfidence: "medium" | "low" | "high";
|
|
1952
|
-
memoryType: "preference" | "decision" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
1953
|
-
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
1954
1949
|
reason: string;
|
|
1950
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
1951
|
+
salience: "low" | "medium" | "high";
|
|
1952
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
1953
|
+
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
1954
|
+
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
1955
1955
|
disposition: "correct" | "keep" | "convert_to_episode" | "restrict";
|
|
1956
1956
|
actorEntity: {
|
|
1957
1957
|
canonicalKey: string;
|
|
@@ -1973,13 +1973,13 @@ export declare const memoryRecordQualityReviewInputSchema: z.ZodEffects<z.ZodObj
|
|
|
1973
1973
|
topicTags?: string[] | undefined;
|
|
1974
1974
|
language?: string | null | undefined;
|
|
1975
1975
|
}>, {
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1976
|
+
reason: string;
|
|
1977
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
1978
|
+
salience: "low" | "medium" | "high";
|
|
1979
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
1980
|
+
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
1980
1981
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
1981
1982
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
1982
|
-
reason: string;
|
|
1983
1983
|
disposition: "correct" | "keep" | "convert_to_episode" | "restrict";
|
|
1984
1984
|
actorEntity: {
|
|
1985
1985
|
canonicalKey: string;
|
|
@@ -2000,12 +2000,12 @@ export declare const memoryRecordQualityReviewInputSchema: z.ZodEffects<z.ZodObj
|
|
|
2000
2000
|
topicTags?: string[] | undefined;
|
|
2001
2001
|
language?: string | null | undefined;
|
|
2002
2002
|
}, {
|
|
2003
|
-
authorshipClass: "application" | "unknown" | "connected_user" | "other_human" | "bot" | "system";
|
|
2004
|
-
salience: "medium" | "low" | "high";
|
|
2005
|
-
evidenceConfidence: "medium" | "low" | "high";
|
|
2006
|
-
memoryType: "preference" | "decision" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
2007
|
-
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
2008
2003
|
reason: string;
|
|
2004
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
2005
|
+
salience: "low" | "medium" | "high";
|
|
2006
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
2007
|
+
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
2008
|
+
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
2009
2009
|
disposition: "correct" | "keep" | "convert_to_episode" | "restrict";
|
|
2010
2010
|
actorEntity: {
|
|
2011
2011
|
canonicalKey: string;
|
|
@@ -2056,15 +2056,15 @@ export declare const memoryBlockInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2056
2056
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2057
2057
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2058
2058
|
}, "strip", z.ZodTypeAny, {
|
|
2059
|
-
content: string;
|
|
2060
2059
|
required: boolean;
|
|
2061
|
-
title: string;
|
|
2062
2060
|
metadata: Record<string, unknown>;
|
|
2061
|
+
content: string;
|
|
2063
2062
|
access: "read_only" | "editable";
|
|
2063
|
+
title: string;
|
|
2064
2064
|
priority: number;
|
|
2065
2065
|
tenantId?: string | undefined;
|
|
2066
|
-
externalTenantId?: string | undefined;
|
|
2067
2066
|
sessionId?: string | undefined;
|
|
2067
|
+
externalTenantId?: string | undefined;
|
|
2068
2068
|
subjects?: {
|
|
2069
2069
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
2070
2070
|
externalId: string;
|
|
@@ -2072,27 +2072,27 @@ export declare const memoryBlockInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2072
2072
|
}, {
|
|
2073
2073
|
content: string;
|
|
2074
2074
|
title: string;
|
|
2075
|
-
required?: boolean | undefined;
|
|
2076
2075
|
tenantId?: string | undefined;
|
|
2077
|
-
|
|
2076
|
+
required?: boolean | undefined;
|
|
2078
2077
|
sessionId?: string | undefined;
|
|
2078
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2079
|
+
access?: "read_only" | "editable" | undefined;
|
|
2080
|
+
externalTenantId?: string | undefined;
|
|
2079
2081
|
subjects?: {
|
|
2080
2082
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
2081
2083
|
externalId: string;
|
|
2082
2084
|
}[] | undefined;
|
|
2083
|
-
metadata?: Record<string, unknown> | undefined;
|
|
2084
|
-
access?: "read_only" | "editable" | undefined;
|
|
2085
2085
|
priority?: number | undefined;
|
|
2086
2086
|
}>, {
|
|
2087
|
-
content: string;
|
|
2088
2087
|
required: boolean;
|
|
2089
|
-
title: string;
|
|
2090
2088
|
metadata: Record<string, unknown>;
|
|
2089
|
+
content: string;
|
|
2091
2090
|
access: "read_only" | "editable";
|
|
2091
|
+
title: string;
|
|
2092
2092
|
priority: number;
|
|
2093
2093
|
tenantId?: string | undefined;
|
|
2094
|
-
externalTenantId?: string | undefined;
|
|
2095
2094
|
sessionId?: string | undefined;
|
|
2095
|
+
externalTenantId?: string | undefined;
|
|
2096
2096
|
subjects?: {
|
|
2097
2097
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
2098
2098
|
externalId: string;
|
|
@@ -2100,16 +2100,16 @@ export declare const memoryBlockInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2100
2100
|
}, {
|
|
2101
2101
|
content: string;
|
|
2102
2102
|
title: string;
|
|
2103
|
-
required?: boolean | undefined;
|
|
2104
2103
|
tenantId?: string | undefined;
|
|
2105
|
-
|
|
2104
|
+
required?: boolean | undefined;
|
|
2106
2105
|
sessionId?: string | undefined;
|
|
2106
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2107
|
+
access?: "read_only" | "editable" | undefined;
|
|
2108
|
+
externalTenantId?: string | undefined;
|
|
2107
2109
|
subjects?: {
|
|
2108
2110
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
2109
2111
|
externalId: string;
|
|
2110
2112
|
}[] | undefined;
|
|
2111
|
-
metadata?: Record<string, unknown> | undefined;
|
|
2112
|
-
access?: "read_only" | "editable" | undefined;
|
|
2113
2113
|
priority?: number | undefined;
|
|
2114
2114
|
}>;
|
|
2115
2115
|
export declare const memorySourceBindingInputSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -2170,19 +2170,19 @@ export declare const memorySourceBindingInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2170
2170
|
kind: "artifact";
|
|
2171
2171
|
artifactIds: string[];
|
|
2172
2172
|
};
|
|
2173
|
-
policyKey: string;
|
|
2174
2173
|
metadata: Record<string, unknown>;
|
|
2174
|
+
policyKey: string;
|
|
2175
2175
|
targets: {
|
|
2176
2176
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
2177
2177
|
externalId: string;
|
|
2178
2178
|
}[];
|
|
2179
|
+
tenantId?: string | undefined;
|
|
2179
2180
|
consent?: {
|
|
2180
2181
|
status: "granted";
|
|
2181
2182
|
basis: "contract" | "user_consent" | "legitimate_interest" | "project_policy";
|
|
2182
2183
|
recordedAt: string;
|
|
2183
2184
|
reference?: string | undefined;
|
|
2184
2185
|
} | undefined;
|
|
2185
|
-
tenantId?: string | undefined;
|
|
2186
2186
|
externalTenantId?: string | undefined;
|
|
2187
2187
|
}, {
|
|
2188
2188
|
source: {
|
|
@@ -2196,6 +2196,8 @@ export declare const memorySourceBindingInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2196
2196
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
2197
2197
|
externalId: string;
|
|
2198
2198
|
}[];
|
|
2199
|
+
tenantId?: string | undefined;
|
|
2200
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2199
2201
|
policyKey?: string | undefined;
|
|
2200
2202
|
consent?: {
|
|
2201
2203
|
status: "granted";
|
|
@@ -2203,9 +2205,7 @@ export declare const memorySourceBindingInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2203
2205
|
recordedAt: string;
|
|
2204
2206
|
reference?: string | undefined;
|
|
2205
2207
|
} | undefined;
|
|
2206
|
-
tenantId?: string | undefined;
|
|
2207
2208
|
externalTenantId?: string | undefined;
|
|
2208
|
-
metadata?: Record<string, unknown> | undefined;
|
|
2209
2209
|
}>, {
|
|
2210
2210
|
source: {
|
|
2211
2211
|
kind: "conversation";
|
|
@@ -2214,19 +2214,19 @@ export declare const memorySourceBindingInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2214
2214
|
kind: "artifact";
|
|
2215
2215
|
artifactIds: string[];
|
|
2216
2216
|
};
|
|
2217
|
-
policyKey: string;
|
|
2218
2217
|
metadata: Record<string, unknown>;
|
|
2218
|
+
policyKey: string;
|
|
2219
2219
|
targets: {
|
|
2220
2220
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
2221
2221
|
externalId: string;
|
|
2222
2222
|
}[];
|
|
2223
|
+
tenantId?: string | undefined;
|
|
2223
2224
|
consent?: {
|
|
2224
2225
|
status: "granted";
|
|
2225
2226
|
basis: "contract" | "user_consent" | "legitimate_interest" | "project_policy";
|
|
2226
2227
|
recordedAt: string;
|
|
2227
2228
|
reference?: string | undefined;
|
|
2228
2229
|
} | undefined;
|
|
2229
|
-
tenantId?: string | undefined;
|
|
2230
2230
|
externalTenantId?: string | undefined;
|
|
2231
2231
|
}, {
|
|
2232
2232
|
source: {
|
|
@@ -2240,6 +2240,8 @@ export declare const memorySourceBindingInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2240
2240
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
2241
2241
|
externalId: string;
|
|
2242
2242
|
}[];
|
|
2243
|
+
tenantId?: string | undefined;
|
|
2244
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2243
2245
|
policyKey?: string | undefined;
|
|
2244
2246
|
consent?: {
|
|
2245
2247
|
status: "granted";
|
|
@@ -2247,9 +2249,7 @@ export declare const memorySourceBindingInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2247
2249
|
recordedAt: string;
|
|
2248
2250
|
reference?: string | undefined;
|
|
2249
2251
|
} | undefined;
|
|
2250
|
-
tenantId?: string | undefined;
|
|
2251
2252
|
externalTenantId?: string | undefined;
|
|
2252
|
-
metadata?: Record<string, unknown> | undefined;
|
|
2253
2253
|
}>;
|
|
2254
2254
|
export type MemorySourceBindingInput = z.input<typeof memorySourceBindingInputSchema>;
|
|
2255
2255
|
export declare const memoryConnectedSourceBackfillRangeSchema: z.ZodEnum<["future_only", "last_30_days", "last_90_days", "all"]>;
|
|
@@ -2310,11 +2310,11 @@ export declare const memoryConnectedSourceInputSchema: z.ZodEffects<z.ZodObject<
|
|
|
2310
2310
|
}>>;
|
|
2311
2311
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2312
2312
|
}, "strict", z.ZodTypeAny, {
|
|
2313
|
-
allowedMemoryTypes: ("preference" | "decision" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
|
|
2314
|
-
idempotencyKey: string;
|
|
2315
|
-
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
2316
2313
|
connectedAccountId: string;
|
|
2317
2314
|
metadata: Record<string, unknown>;
|
|
2315
|
+
allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
|
|
2316
|
+
idempotencyKey: string;
|
|
2317
|
+
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
2318
2318
|
resourceIds: string[];
|
|
2319
2319
|
targets: {
|
|
2320
2320
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
@@ -2323,10 +2323,10 @@ export declare const memoryConnectedSourceInputSchema: z.ZodEffects<z.ZodObject<
|
|
|
2323
2323
|
approvedOperationalActorCanonicalKeys: string[];
|
|
2324
2324
|
sourceFamilyKey: string;
|
|
2325
2325
|
selectionMode: "selected_resources" | "recipe_default";
|
|
2326
|
-
existingContent: "
|
|
2326
|
+
existingContent: "all" | "future_only" | "last_30_days" | "last_90_days";
|
|
2327
2327
|
maxBackfillItems: number | null;
|
|
2328
2328
|
deliveryMode: "auto" | "webhook" | "polling";
|
|
2329
|
-
authorizationPerspective: "
|
|
2329
|
+
authorizationPerspective: "bot" | "provider_default" | "user";
|
|
2330
2330
|
includeAttachments: boolean;
|
|
2331
2331
|
includeFileContent: boolean;
|
|
2332
2332
|
includeEmailBodies: boolean;
|
|
@@ -2339,43 +2339,43 @@ export declare const memoryConnectedSourceInputSchema: z.ZodEffects<z.ZodObject<
|
|
|
2339
2339
|
rememberInstructions: string;
|
|
2340
2340
|
excludeInstructions: string;
|
|
2341
2341
|
sourceRetentionDays: number | null;
|
|
2342
|
+
tenantId?: string | undefined;
|
|
2343
|
+
sessionId?: string | undefined;
|
|
2342
2344
|
consent?: {
|
|
2343
2345
|
status: "granted";
|
|
2344
2346
|
basis: "contract" | "user_consent" | "legitimate_interest" | "project_policy";
|
|
2345
2347
|
recordedAt: string;
|
|
2346
2348
|
reference?: string | undefined;
|
|
2347
2349
|
} | undefined;
|
|
2348
|
-
tenantId?: string | undefined;
|
|
2349
2350
|
externalTenantId?: string | undefined;
|
|
2350
|
-
sessionId?: string | undefined;
|
|
2351
2351
|
learnedRetentionDays?: number | null | undefined;
|
|
2352
2352
|
}, {
|
|
2353
|
-
idempotencyKey: string;
|
|
2354
2353
|
connectedAccountId: string;
|
|
2354
|
+
idempotencyKey: string;
|
|
2355
2355
|
targets: {
|
|
2356
2356
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
2357
2357
|
externalId: string;
|
|
2358
2358
|
}[];
|
|
2359
2359
|
sourceFamilyKey: string;
|
|
2360
|
-
|
|
2360
|
+
tenantId?: string | undefined;
|
|
2361
|
+
sessionId?: string | undefined;
|
|
2362
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2363
|
+
allowedMemoryTypes?: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
2361
2364
|
consent?: {
|
|
2362
2365
|
status: "granted";
|
|
2363
2366
|
basis: "contract" | "user_consent" | "legitimate_interest" | "project_policy";
|
|
2364
2367
|
recordedAt: string;
|
|
2365
2368
|
reference?: string | undefined;
|
|
2366
2369
|
} | undefined;
|
|
2367
|
-
tenantId?: string | undefined;
|
|
2368
2370
|
externalTenantId?: string | undefined;
|
|
2369
|
-
sessionId?: string | undefined;
|
|
2370
2371
|
restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
|
|
2371
|
-
metadata?: Record<string, unknown> | undefined;
|
|
2372
2372
|
resourceIds?: string[] | undefined;
|
|
2373
2373
|
approvedOperationalActorCanonicalKeys?: string[] | undefined;
|
|
2374
2374
|
selectionMode?: "selected_resources" | "recipe_default" | undefined;
|
|
2375
|
-
existingContent?: "
|
|
2375
|
+
existingContent?: "all" | "future_only" | "last_30_days" | "last_90_days" | undefined;
|
|
2376
2376
|
maxBackfillItems?: number | null | undefined;
|
|
2377
2377
|
deliveryMode?: "auto" | "webhook" | "polling" | undefined;
|
|
2378
|
-
authorizationPerspective?: "
|
|
2378
|
+
authorizationPerspective?: "bot" | "provider_default" | "user" | undefined;
|
|
2379
2379
|
includeAttachments?: boolean | undefined;
|
|
2380
2380
|
includeFileContent?: boolean | undefined;
|
|
2381
2381
|
includeEmailBodies?: boolean | undefined;
|
|
@@ -2390,11 +2390,11 @@ export declare const memoryConnectedSourceInputSchema: z.ZodEffects<z.ZodObject<
|
|
|
2390
2390
|
learnedRetentionDays?: number | null | undefined;
|
|
2391
2391
|
sourceRetentionDays?: number | null | undefined;
|
|
2392
2392
|
}>, {
|
|
2393
|
-
allowedMemoryTypes: ("preference" | "decision" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
|
|
2394
|
-
idempotencyKey: string;
|
|
2395
|
-
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
2396
2393
|
connectedAccountId: string;
|
|
2397
2394
|
metadata: Record<string, unknown>;
|
|
2395
|
+
allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
|
|
2396
|
+
idempotencyKey: string;
|
|
2397
|
+
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
2398
2398
|
resourceIds: string[];
|
|
2399
2399
|
targets: {
|
|
2400
2400
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
@@ -2403,10 +2403,10 @@ export declare const memoryConnectedSourceInputSchema: z.ZodEffects<z.ZodObject<
|
|
|
2403
2403
|
approvedOperationalActorCanonicalKeys: string[];
|
|
2404
2404
|
sourceFamilyKey: string;
|
|
2405
2405
|
selectionMode: "selected_resources" | "recipe_default";
|
|
2406
|
-
existingContent: "
|
|
2406
|
+
existingContent: "all" | "future_only" | "last_30_days" | "last_90_days";
|
|
2407
2407
|
maxBackfillItems: number | null;
|
|
2408
2408
|
deliveryMode: "auto" | "webhook" | "polling";
|
|
2409
|
-
authorizationPerspective: "
|
|
2409
|
+
authorizationPerspective: "bot" | "provider_default" | "user";
|
|
2410
2410
|
includeAttachments: boolean;
|
|
2411
2411
|
includeFileContent: boolean;
|
|
2412
2412
|
includeEmailBodies: boolean;
|
|
@@ -2419,43 +2419,43 @@ export declare const memoryConnectedSourceInputSchema: z.ZodEffects<z.ZodObject<
|
|
|
2419
2419
|
rememberInstructions: string;
|
|
2420
2420
|
excludeInstructions: string;
|
|
2421
2421
|
sourceRetentionDays: number | null;
|
|
2422
|
+
tenantId?: string | undefined;
|
|
2423
|
+
sessionId?: string | undefined;
|
|
2422
2424
|
consent?: {
|
|
2423
2425
|
status: "granted";
|
|
2424
2426
|
basis: "contract" | "user_consent" | "legitimate_interest" | "project_policy";
|
|
2425
2427
|
recordedAt: string;
|
|
2426
2428
|
reference?: string | undefined;
|
|
2427
2429
|
} | undefined;
|
|
2428
|
-
tenantId?: string | undefined;
|
|
2429
2430
|
externalTenantId?: string | undefined;
|
|
2430
|
-
sessionId?: string | undefined;
|
|
2431
2431
|
learnedRetentionDays?: number | null | undefined;
|
|
2432
2432
|
}, {
|
|
2433
|
-
idempotencyKey: string;
|
|
2434
2433
|
connectedAccountId: string;
|
|
2434
|
+
idempotencyKey: string;
|
|
2435
2435
|
targets: {
|
|
2436
2436
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
2437
2437
|
externalId: string;
|
|
2438
2438
|
}[];
|
|
2439
2439
|
sourceFamilyKey: string;
|
|
2440
|
-
|
|
2440
|
+
tenantId?: string | undefined;
|
|
2441
|
+
sessionId?: string | undefined;
|
|
2442
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2443
|
+
allowedMemoryTypes?: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
2441
2444
|
consent?: {
|
|
2442
2445
|
status: "granted";
|
|
2443
2446
|
basis: "contract" | "user_consent" | "legitimate_interest" | "project_policy";
|
|
2444
2447
|
recordedAt: string;
|
|
2445
2448
|
reference?: string | undefined;
|
|
2446
2449
|
} | undefined;
|
|
2447
|
-
tenantId?: string | undefined;
|
|
2448
2450
|
externalTenantId?: string | undefined;
|
|
2449
|
-
sessionId?: string | undefined;
|
|
2450
2451
|
restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
|
|
2451
|
-
metadata?: Record<string, unknown> | undefined;
|
|
2452
2452
|
resourceIds?: string[] | undefined;
|
|
2453
2453
|
approvedOperationalActorCanonicalKeys?: string[] | undefined;
|
|
2454
2454
|
selectionMode?: "selected_resources" | "recipe_default" | undefined;
|
|
2455
|
-
existingContent?: "
|
|
2455
|
+
existingContent?: "all" | "future_only" | "last_30_days" | "last_90_days" | undefined;
|
|
2456
2456
|
maxBackfillItems?: number | null | undefined;
|
|
2457
2457
|
deliveryMode?: "auto" | "webhook" | "polling" | undefined;
|
|
2458
|
-
authorizationPerspective?: "
|
|
2458
|
+
authorizationPerspective?: "bot" | "provider_default" | "user" | undefined;
|
|
2459
2459
|
includeAttachments?: boolean | undefined;
|
|
2460
2460
|
includeFileContent?: boolean | undefined;
|
|
2461
2461
|
includeEmailBodies?: boolean | undefined;
|
|
@@ -2494,8 +2494,8 @@ export declare const memoryConnectedSourcePreviewInputSchema: z.ZodEffects<z.Zod
|
|
|
2494
2494
|
resourceIds: string[];
|
|
2495
2495
|
approvedOperationalActorCanonicalKeys: string[];
|
|
2496
2496
|
sourceFamilyKey: string;
|
|
2497
|
-
existingContent: "
|
|
2498
|
-
authorizationPerspective: "
|
|
2497
|
+
existingContent: "all" | "future_only" | "last_30_days" | "last_90_days";
|
|
2498
|
+
authorizationPerspective: "bot" | "provider_default" | "user";
|
|
2499
2499
|
includeAttachments: boolean;
|
|
2500
2500
|
includeFileContent: boolean;
|
|
2501
2501
|
includeEmailBodies: boolean;
|
|
@@ -2506,18 +2506,18 @@ export declare const memoryConnectedSourcePreviewInputSchema: z.ZodEffects<z.Zod
|
|
|
2506
2506
|
includeBotMessages: boolean;
|
|
2507
2507
|
excludedActorCanonicalKeys: string[];
|
|
2508
2508
|
tenantId?: string | undefined;
|
|
2509
|
-
externalTenantId?: string | undefined;
|
|
2510
2509
|
sessionId?: string | undefined;
|
|
2510
|
+
externalTenantId?: string | undefined;
|
|
2511
2511
|
}, {
|
|
2512
2512
|
connectedAccountId: string;
|
|
2513
2513
|
sourceFamilyKey: string;
|
|
2514
2514
|
tenantId?: string | undefined;
|
|
2515
|
-
externalTenantId?: string | undefined;
|
|
2516
2515
|
sessionId?: string | undefined;
|
|
2516
|
+
externalTenantId?: string | undefined;
|
|
2517
2517
|
resourceIds?: string[] | undefined;
|
|
2518
2518
|
approvedOperationalActorCanonicalKeys?: string[] | undefined;
|
|
2519
|
-
existingContent?: "
|
|
2520
|
-
authorizationPerspective?: "
|
|
2519
|
+
existingContent?: "all" | "future_only" | "last_30_days" | "last_90_days" | undefined;
|
|
2520
|
+
authorizationPerspective?: "bot" | "provider_default" | "user" | undefined;
|
|
2521
2521
|
includeAttachments?: boolean | undefined;
|
|
2522
2522
|
includeFileContent?: boolean | undefined;
|
|
2523
2523
|
includeEmailBodies?: boolean | undefined;
|
|
@@ -2532,8 +2532,8 @@ export declare const memoryConnectedSourcePreviewInputSchema: z.ZodEffects<z.Zod
|
|
|
2532
2532
|
resourceIds: string[];
|
|
2533
2533
|
approvedOperationalActorCanonicalKeys: string[];
|
|
2534
2534
|
sourceFamilyKey: string;
|
|
2535
|
-
existingContent: "
|
|
2536
|
-
authorizationPerspective: "
|
|
2535
|
+
existingContent: "all" | "future_only" | "last_30_days" | "last_90_days";
|
|
2536
|
+
authorizationPerspective: "bot" | "provider_default" | "user";
|
|
2537
2537
|
includeAttachments: boolean;
|
|
2538
2538
|
includeFileContent: boolean;
|
|
2539
2539
|
includeEmailBodies: boolean;
|
|
@@ -2544,18 +2544,18 @@ export declare const memoryConnectedSourcePreviewInputSchema: z.ZodEffects<z.Zod
|
|
|
2544
2544
|
includeBotMessages: boolean;
|
|
2545
2545
|
excludedActorCanonicalKeys: string[];
|
|
2546
2546
|
tenantId?: string | undefined;
|
|
2547
|
-
externalTenantId?: string | undefined;
|
|
2548
2547
|
sessionId?: string | undefined;
|
|
2548
|
+
externalTenantId?: string | undefined;
|
|
2549
2549
|
}, {
|
|
2550
2550
|
connectedAccountId: string;
|
|
2551
2551
|
sourceFamilyKey: string;
|
|
2552
2552
|
tenantId?: string | undefined;
|
|
2553
|
-
externalTenantId?: string | undefined;
|
|
2554
2553
|
sessionId?: string | undefined;
|
|
2554
|
+
externalTenantId?: string | undefined;
|
|
2555
2555
|
resourceIds?: string[] | undefined;
|
|
2556
2556
|
approvedOperationalActorCanonicalKeys?: string[] | undefined;
|
|
2557
|
-
existingContent?: "
|
|
2558
|
-
authorizationPerspective?: "
|
|
2557
|
+
existingContent?: "all" | "future_only" | "last_30_days" | "last_90_days" | undefined;
|
|
2558
|
+
authorizationPerspective?: "bot" | "provider_default" | "user" | undefined;
|
|
2559
2559
|
includeAttachments?: boolean | undefined;
|
|
2560
2560
|
includeFileContent?: boolean | undefined;
|
|
2561
2561
|
includeEmailBodies?: boolean | undefined;
|
|
@@ -2595,14 +2595,14 @@ export declare const memoryConnectedSourceSettingsInputSchema: z.ZodObject<{
|
|
|
2595
2595
|
learnedRetentionDays: z.ZodNullable<z.ZodNumber>;
|
|
2596
2596
|
sourceRetentionDays: z.ZodNullable<z.ZodNumber>;
|
|
2597
2597
|
}, "strict", z.ZodTypeAny, {
|
|
2598
|
-
allowedMemoryTypes: ("
|
|
2598
|
+
allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
|
|
2599
2599
|
resourceIds: string[];
|
|
2600
2600
|
targets: {
|
|
2601
2601
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
2602
2602
|
externalId: string;
|
|
2603
2603
|
}[];
|
|
2604
2604
|
approvedOperationalActorCanonicalKeys: string[];
|
|
2605
|
-
existingContent: "
|
|
2605
|
+
existingContent: "all" | "future_only" | "last_30_days" | "last_90_days";
|
|
2606
2606
|
includeAttachments: boolean;
|
|
2607
2607
|
includeFileContent: boolean;
|
|
2608
2608
|
includeEmailBodies: boolean;
|
|
@@ -2617,13 +2617,13 @@ export declare const memoryConnectedSourceSettingsInputSchema: z.ZodObject<{
|
|
|
2617
2617
|
learnedRetentionDays: number | null;
|
|
2618
2618
|
sourceRetentionDays: number | null;
|
|
2619
2619
|
}, {
|
|
2620
|
-
allowedMemoryTypes: ("
|
|
2620
|
+
allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
|
|
2621
2621
|
resourceIds: string[];
|
|
2622
2622
|
targets: {
|
|
2623
2623
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
2624
2624
|
externalId: string;
|
|
2625
2625
|
}[];
|
|
2626
|
-
existingContent: "
|
|
2626
|
+
existingContent: "all" | "future_only" | "last_30_days" | "last_90_days";
|
|
2627
2627
|
rememberInstructions: string;
|
|
2628
2628
|
excludeInstructions: string;
|
|
2629
2629
|
learnedRetentionDays: number | null;
|
|
@@ -2670,14 +2670,14 @@ export declare const memorySourceBindingUpdateInputSchema: z.ZodEffects<z.ZodObj
|
|
|
2670
2670
|
learnedRetentionDays: z.ZodNullable<z.ZodNumber>;
|
|
2671
2671
|
sourceRetentionDays: z.ZodNullable<z.ZodNumber>;
|
|
2672
2672
|
}, "strict", z.ZodTypeAny, {
|
|
2673
|
-
allowedMemoryTypes: ("
|
|
2673
|
+
allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
|
|
2674
2674
|
resourceIds: string[];
|
|
2675
2675
|
targets: {
|
|
2676
2676
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
2677
2677
|
externalId: string;
|
|
2678
2678
|
}[];
|
|
2679
2679
|
approvedOperationalActorCanonicalKeys: string[];
|
|
2680
|
-
existingContent: "
|
|
2680
|
+
existingContent: "all" | "future_only" | "last_30_days" | "last_90_days";
|
|
2681
2681
|
includeAttachments: boolean;
|
|
2682
2682
|
includeFileContent: boolean;
|
|
2683
2683
|
includeEmailBodies: boolean;
|
|
@@ -2692,13 +2692,13 @@ export declare const memorySourceBindingUpdateInputSchema: z.ZodEffects<z.ZodObj
|
|
|
2692
2692
|
learnedRetentionDays: number | null;
|
|
2693
2693
|
sourceRetentionDays: number | null;
|
|
2694
2694
|
}, {
|
|
2695
|
-
allowedMemoryTypes: ("
|
|
2695
|
+
allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
|
|
2696
2696
|
resourceIds: string[];
|
|
2697
2697
|
targets: {
|
|
2698
2698
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
2699
2699
|
externalId: string;
|
|
2700
2700
|
}[];
|
|
2701
|
-
existingContent: "
|
|
2701
|
+
existingContent: "all" | "future_only" | "last_30_days" | "last_90_days";
|
|
2702
2702
|
rememberInstructions: string;
|
|
2703
2703
|
excludeInstructions: string;
|
|
2704
2704
|
learnedRetentionDays: number | null;
|
|
@@ -2715,16 +2715,16 @@ export declare const memorySourceBindingUpdateInputSchema: z.ZodEffects<z.ZodObj
|
|
|
2715
2715
|
excludedActorCanonicalKeys?: string[] | undefined;
|
|
2716
2716
|
}>>;
|
|
2717
2717
|
}, "strict", z.ZodTypeAny, {
|
|
2718
|
-
status?: "
|
|
2718
|
+
status?: "paused" | "active" | undefined;
|
|
2719
2719
|
connectedSource?: {
|
|
2720
|
-
allowedMemoryTypes: ("
|
|
2720
|
+
allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
|
|
2721
2721
|
resourceIds: string[];
|
|
2722
2722
|
targets: {
|
|
2723
2723
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
2724
2724
|
externalId: string;
|
|
2725
2725
|
}[];
|
|
2726
2726
|
approvedOperationalActorCanonicalKeys: string[];
|
|
2727
|
-
existingContent: "
|
|
2727
|
+
existingContent: "all" | "future_only" | "last_30_days" | "last_90_days";
|
|
2728
2728
|
includeAttachments: boolean;
|
|
2729
2729
|
includeFileContent: boolean;
|
|
2730
2730
|
includeEmailBodies: boolean;
|
|
@@ -2740,15 +2740,15 @@ export declare const memorySourceBindingUpdateInputSchema: z.ZodEffects<z.ZodObj
|
|
|
2740
2740
|
sourceRetentionDays: number | null;
|
|
2741
2741
|
} | undefined;
|
|
2742
2742
|
}, {
|
|
2743
|
-
status?: "
|
|
2743
|
+
status?: "paused" | "active" | undefined;
|
|
2744
2744
|
connectedSource?: {
|
|
2745
|
-
allowedMemoryTypes: ("
|
|
2745
|
+
allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
|
|
2746
2746
|
resourceIds: string[];
|
|
2747
2747
|
targets: {
|
|
2748
2748
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
2749
2749
|
externalId: string;
|
|
2750
2750
|
}[];
|
|
2751
|
-
existingContent: "
|
|
2751
|
+
existingContent: "all" | "future_only" | "last_30_days" | "last_90_days";
|
|
2752
2752
|
rememberInstructions: string;
|
|
2753
2753
|
excludeInstructions: string;
|
|
2754
2754
|
learnedRetentionDays: number | null;
|
|
@@ -2765,16 +2765,16 @@ export declare const memorySourceBindingUpdateInputSchema: z.ZodEffects<z.ZodObj
|
|
|
2765
2765
|
excludedActorCanonicalKeys?: string[] | undefined;
|
|
2766
2766
|
} | undefined;
|
|
2767
2767
|
}>, {
|
|
2768
|
-
status?: "
|
|
2768
|
+
status?: "paused" | "active" | undefined;
|
|
2769
2769
|
connectedSource?: {
|
|
2770
|
-
allowedMemoryTypes: ("
|
|
2770
|
+
allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
|
|
2771
2771
|
resourceIds: string[];
|
|
2772
2772
|
targets: {
|
|
2773
2773
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
2774
2774
|
externalId: string;
|
|
2775
2775
|
}[];
|
|
2776
2776
|
approvedOperationalActorCanonicalKeys: string[];
|
|
2777
|
-
existingContent: "
|
|
2777
|
+
existingContent: "all" | "future_only" | "last_30_days" | "last_90_days";
|
|
2778
2778
|
includeAttachments: boolean;
|
|
2779
2779
|
includeFileContent: boolean;
|
|
2780
2780
|
includeEmailBodies: boolean;
|
|
@@ -2790,15 +2790,15 @@ export declare const memorySourceBindingUpdateInputSchema: z.ZodEffects<z.ZodObj
|
|
|
2790
2790
|
sourceRetentionDays: number | null;
|
|
2791
2791
|
} | undefined;
|
|
2792
2792
|
}, {
|
|
2793
|
-
status?: "
|
|
2793
|
+
status?: "paused" | "active" | undefined;
|
|
2794
2794
|
connectedSource?: {
|
|
2795
|
-
allowedMemoryTypes: ("
|
|
2795
|
+
allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
|
|
2796
2796
|
resourceIds: string[];
|
|
2797
2797
|
targets: {
|
|
2798
2798
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
2799
2799
|
externalId: string;
|
|
2800
2800
|
}[];
|
|
2801
|
-
existingContent: "
|
|
2801
|
+
existingContent: "all" | "future_only" | "last_30_days" | "last_90_days";
|
|
2802
2802
|
rememberInstructions: string;
|
|
2803
2803
|
excludeInstructions: string;
|
|
2804
2804
|
learnedRetentionDays: number | null;
|
|
@@ -2859,10 +2859,10 @@ export declare const memoryConversationTurnInputSchema: z.ZodObject<{
|
|
|
2859
2859
|
}>>;
|
|
2860
2860
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2861
2861
|
}, "strict", z.ZodTypeAny, {
|
|
2862
|
-
content: string;
|
|
2863
2862
|
sessionId: string;
|
|
2864
|
-
applicationKey: string;
|
|
2865
2863
|
metadata: Record<string, unknown>;
|
|
2864
|
+
content: string;
|
|
2865
|
+
applicationKey: string;
|
|
2866
2866
|
turnId: string;
|
|
2867
2867
|
consent?: {
|
|
2868
2868
|
status: "granted";
|
|
@@ -2873,10 +2873,11 @@ export declare const memoryConversationTurnInputSchema: z.ZodObject<{
|
|
|
2873
2873
|
title?: string | undefined;
|
|
2874
2874
|
occurredAt?: string | undefined;
|
|
2875
2875
|
}, {
|
|
2876
|
-
content: string;
|
|
2877
2876
|
sessionId: string;
|
|
2877
|
+
content: string;
|
|
2878
2878
|
applicationKey: string;
|
|
2879
2879
|
turnId: string;
|
|
2880
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2880
2881
|
consent?: {
|
|
2881
2882
|
status: "granted";
|
|
2882
2883
|
basis: "contract" | "user_consent" | "legitimate_interest" | "project_policy";
|
|
@@ -2884,7 +2885,6 @@ export declare const memoryConversationTurnInputSchema: z.ZodObject<{
|
|
|
2884
2885
|
reference?: string | undefined;
|
|
2885
2886
|
} | undefined;
|
|
2886
2887
|
title?: string | undefined;
|
|
2887
|
-
metadata?: Record<string, unknown> | undefined;
|
|
2888
2888
|
occurredAt?: string | undefined;
|
|
2889
2889
|
}>;
|
|
2890
2890
|
export type MemoryConversationTurnInput = z.input<typeof memoryConversationTurnInputSchema>;
|
|
@@ -2923,24 +2923,24 @@ export declare const memoryGraphQueryInputSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2923
2923
|
maxDepth: z.ZodDefault<z.ZodNumber>;
|
|
2924
2924
|
maxClaims: z.ZodDefault<z.ZodNumber>;
|
|
2925
2925
|
}, "strip", z.ZodTypeAny, {
|
|
2926
|
+
limit: number;
|
|
2926
2927
|
states: ("current" | "conflicted")[];
|
|
2927
2928
|
includeGraph: boolean;
|
|
2928
2929
|
includeSourceRefs: boolean;
|
|
2929
|
-
limit: number;
|
|
2930
2930
|
seedRecordIds: string[];
|
|
2931
2931
|
maxDepth: number;
|
|
2932
2932
|
maxClaims: number;
|
|
2933
|
-
recordedAt?: string | undefined;
|
|
2934
2933
|
tenantId?: string | undefined;
|
|
2935
|
-
externalTenantId?: string | undefined;
|
|
2936
2934
|
sessionId?: string | undefined;
|
|
2935
|
+
kinds?: ("block" | "fact" | "episode" | "profile_item")[] | undefined;
|
|
2936
|
+
query?: string | undefined;
|
|
2937
|
+
recordedAt?: string | undefined;
|
|
2938
|
+
externalTenantId?: string | undefined;
|
|
2937
2939
|
subjects?: {
|
|
2938
2940
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
2939
2941
|
externalId: string;
|
|
2940
2942
|
}[] | undefined;
|
|
2941
|
-
|
|
2942
|
-
kinds?: ("fact" | "episode" | "profile_item" | "block")[] | undefined;
|
|
2943
|
-
memoryTypes?: ("preference" | "decision" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
2943
|
+
memoryTypes?: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
2944
2944
|
providerKeys?: string[] | undefined;
|
|
2945
2945
|
sourceFamilyKeys?: string[] | undefined;
|
|
2946
2946
|
connectedAccountIds?: string[] | undefined;
|
|
@@ -2950,17 +2950,18 @@ export declare const memoryGraphQueryInputSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2950
2950
|
semanticCandidateLimit?: number | undefined;
|
|
2951
2951
|
predicates?: string[] | undefined;
|
|
2952
2952
|
}, {
|
|
2953
|
-
recordedAt?: string | undefined;
|
|
2954
2953
|
tenantId?: string | undefined;
|
|
2954
|
+
sessionId?: string | undefined;
|
|
2955
|
+
limit?: number | undefined;
|
|
2956
|
+
kinds?: ("block" | "fact" | "episode" | "profile_item")[] | undefined;
|
|
2957
|
+
query?: string | undefined;
|
|
2958
|
+
recordedAt?: string | undefined;
|
|
2955
2959
|
externalTenantId?: string | undefined;
|
|
2956
|
-
sessionId?: string | undefined;
|
|
2957
2960
|
subjects?: {
|
|
2958
2961
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
2959
2962
|
externalId: string;
|
|
2960
2963
|
}[] | undefined;
|
|
2961
|
-
|
|
2962
|
-
kinds?: ("fact" | "episode" | "profile_item" | "block")[] | undefined;
|
|
2963
|
-
memoryTypes?: ("preference" | "decision" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
2964
|
+
memoryTypes?: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
2964
2965
|
providerKeys?: string[] | undefined;
|
|
2965
2966
|
sourceFamilyKeys?: string[] | undefined;
|
|
2966
2967
|
connectedAccountIds?: string[] | undefined;
|
|
@@ -2970,31 +2971,30 @@ export declare const memoryGraphQueryInputSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2970
2971
|
validAt?: string | undefined;
|
|
2971
2972
|
includeGraph?: boolean | undefined;
|
|
2972
2973
|
includeSourceRefs?: boolean | undefined;
|
|
2973
|
-
limit?: number | undefined;
|
|
2974
2974
|
semanticCandidateLimit?: number | undefined;
|
|
2975
2975
|
seedRecordIds?: string[] | undefined;
|
|
2976
2976
|
predicates?: string[] | undefined;
|
|
2977
2977
|
maxDepth?: number | undefined;
|
|
2978
2978
|
maxClaims?: number | undefined;
|
|
2979
2979
|
}>, {
|
|
2980
|
+
limit: number;
|
|
2980
2981
|
states: ("current" | "conflicted")[];
|
|
2981
2982
|
includeGraph: boolean;
|
|
2982
2983
|
includeSourceRefs: boolean;
|
|
2983
|
-
limit: number;
|
|
2984
2984
|
seedRecordIds: string[];
|
|
2985
2985
|
maxDepth: number;
|
|
2986
2986
|
maxClaims: number;
|
|
2987
|
-
recordedAt?: string | undefined;
|
|
2988
2987
|
tenantId?: string | undefined;
|
|
2989
|
-
externalTenantId?: string | undefined;
|
|
2990
2988
|
sessionId?: string | undefined;
|
|
2989
|
+
kinds?: ("block" | "fact" | "episode" | "profile_item")[] | undefined;
|
|
2990
|
+
query?: string | undefined;
|
|
2991
|
+
recordedAt?: string | undefined;
|
|
2992
|
+
externalTenantId?: string | undefined;
|
|
2991
2993
|
subjects?: {
|
|
2992
2994
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
2993
2995
|
externalId: string;
|
|
2994
2996
|
}[] | undefined;
|
|
2995
|
-
|
|
2996
|
-
kinds?: ("fact" | "episode" | "profile_item" | "block")[] | undefined;
|
|
2997
|
-
memoryTypes?: ("preference" | "decision" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
2997
|
+
memoryTypes?: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
2998
2998
|
providerKeys?: string[] | undefined;
|
|
2999
2999
|
sourceFamilyKeys?: string[] | undefined;
|
|
3000
3000
|
connectedAccountIds?: string[] | undefined;
|
|
@@ -3004,17 +3004,18 @@ export declare const memoryGraphQueryInputSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3004
3004
|
semanticCandidateLimit?: number | undefined;
|
|
3005
3005
|
predicates?: string[] | undefined;
|
|
3006
3006
|
}, {
|
|
3007
|
-
recordedAt?: string | undefined;
|
|
3008
3007
|
tenantId?: string | undefined;
|
|
3009
|
-
externalTenantId?: string | undefined;
|
|
3010
3008
|
sessionId?: string | undefined;
|
|
3009
|
+
limit?: number | undefined;
|
|
3010
|
+
kinds?: ("block" | "fact" | "episode" | "profile_item")[] | undefined;
|
|
3011
|
+
query?: string | undefined;
|
|
3012
|
+
recordedAt?: string | undefined;
|
|
3013
|
+
externalTenantId?: string | undefined;
|
|
3011
3014
|
subjects?: {
|
|
3012
3015
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
3013
3016
|
externalId: string;
|
|
3014
3017
|
}[] | undefined;
|
|
3015
|
-
|
|
3016
|
-
kinds?: ("fact" | "episode" | "profile_item" | "block")[] | undefined;
|
|
3017
|
-
memoryTypes?: ("preference" | "decision" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
3018
|
+
memoryTypes?: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
3018
3019
|
providerKeys?: string[] | undefined;
|
|
3019
3020
|
sourceFamilyKeys?: string[] | undefined;
|
|
3020
3021
|
connectedAccountIds?: string[] | undefined;
|
|
@@ -3024,31 +3025,30 @@ export declare const memoryGraphQueryInputSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3024
3025
|
validAt?: string | undefined;
|
|
3025
3026
|
includeGraph?: boolean | undefined;
|
|
3026
3027
|
includeSourceRefs?: boolean | undefined;
|
|
3027
|
-
limit?: number | undefined;
|
|
3028
3028
|
semanticCandidateLimit?: number | undefined;
|
|
3029
3029
|
seedRecordIds?: string[] | undefined;
|
|
3030
3030
|
predicates?: string[] | undefined;
|
|
3031
3031
|
maxDepth?: number | undefined;
|
|
3032
3032
|
maxClaims?: number | undefined;
|
|
3033
3033
|
}>, {
|
|
3034
|
+
limit: number;
|
|
3034
3035
|
states: ("current" | "conflicted")[];
|
|
3035
3036
|
includeGraph: boolean;
|
|
3036
3037
|
includeSourceRefs: boolean;
|
|
3037
|
-
limit: number;
|
|
3038
3038
|
seedRecordIds: string[];
|
|
3039
3039
|
maxDepth: number;
|
|
3040
3040
|
maxClaims: number;
|
|
3041
|
-
recordedAt?: string | undefined;
|
|
3042
3041
|
tenantId?: string | undefined;
|
|
3043
|
-
externalTenantId?: string | undefined;
|
|
3044
3042
|
sessionId?: string | undefined;
|
|
3043
|
+
kinds?: ("block" | "fact" | "episode" | "profile_item")[] | undefined;
|
|
3044
|
+
query?: string | undefined;
|
|
3045
|
+
recordedAt?: string | undefined;
|
|
3046
|
+
externalTenantId?: string | undefined;
|
|
3045
3047
|
subjects?: {
|
|
3046
3048
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
3047
3049
|
externalId: string;
|
|
3048
3050
|
}[] | undefined;
|
|
3049
|
-
|
|
3050
|
-
kinds?: ("fact" | "episode" | "profile_item" | "block")[] | undefined;
|
|
3051
|
-
memoryTypes?: ("preference" | "decision" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
3051
|
+
memoryTypes?: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
3052
3052
|
providerKeys?: string[] | undefined;
|
|
3053
3053
|
sourceFamilyKeys?: string[] | undefined;
|
|
3054
3054
|
connectedAccountIds?: string[] | undefined;
|
|
@@ -3058,17 +3058,18 @@ export declare const memoryGraphQueryInputSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3058
3058
|
semanticCandidateLimit?: number | undefined;
|
|
3059
3059
|
predicates?: string[] | undefined;
|
|
3060
3060
|
}, {
|
|
3061
|
-
recordedAt?: string | undefined;
|
|
3062
3061
|
tenantId?: string | undefined;
|
|
3063
|
-
externalTenantId?: string | undefined;
|
|
3064
3062
|
sessionId?: string | undefined;
|
|
3063
|
+
limit?: number | undefined;
|
|
3064
|
+
kinds?: ("block" | "fact" | "episode" | "profile_item")[] | undefined;
|
|
3065
|
+
query?: string | undefined;
|
|
3066
|
+
recordedAt?: string | undefined;
|
|
3067
|
+
externalTenantId?: string | undefined;
|
|
3065
3068
|
subjects?: {
|
|
3066
3069
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
3067
3070
|
externalId: string;
|
|
3068
3071
|
}[] | undefined;
|
|
3069
|
-
|
|
3070
|
-
kinds?: ("fact" | "episode" | "profile_item" | "block")[] | undefined;
|
|
3071
|
-
memoryTypes?: ("preference" | "decision" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
3072
|
+
memoryTypes?: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
3072
3073
|
providerKeys?: string[] | undefined;
|
|
3073
3074
|
sourceFamilyKeys?: string[] | undefined;
|
|
3074
3075
|
connectedAccountIds?: string[] | undefined;
|
|
@@ -3078,7 +3079,6 @@ export declare const memoryGraphQueryInputSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3078
3079
|
validAt?: string | undefined;
|
|
3079
3080
|
includeGraph?: boolean | undefined;
|
|
3080
3081
|
includeSourceRefs?: boolean | undefined;
|
|
3081
|
-
limit?: number | undefined;
|
|
3082
3082
|
semanticCandidateLimit?: number | undefined;
|
|
3083
3083
|
seedRecordIds?: string[] | undefined;
|
|
3084
3084
|
predicates?: string[] | undefined;
|
|
@@ -3110,12 +3110,12 @@ export declare const memoryExportInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3110
3110
|
} | undefined;
|
|
3111
3111
|
}, {
|
|
3112
3112
|
tenantId?: string | undefined;
|
|
3113
|
+
format?: "json" | "jsonl" | undefined;
|
|
3113
3114
|
externalTenantId?: string | undefined;
|
|
3114
3115
|
subject?: {
|
|
3115
3116
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
3116
3117
|
externalId: string;
|
|
3117
3118
|
} | undefined;
|
|
3118
|
-
format?: "json" | "jsonl" | undefined;
|
|
3119
3119
|
}>, {
|
|
3120
3120
|
format: "json" | "jsonl";
|
|
3121
3121
|
tenantId?: string | undefined;
|
|
@@ -3126,12 +3126,12 @@ export declare const memoryExportInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3126
3126
|
} | undefined;
|
|
3127
3127
|
}, {
|
|
3128
3128
|
tenantId?: string | undefined;
|
|
3129
|
+
format?: "json" | "jsonl" | undefined;
|
|
3129
3130
|
externalTenantId?: string | undefined;
|
|
3130
3131
|
subject?: {
|
|
3131
3132
|
type: "custom" | "user" | "agent" | "tenant" | "run" | "application";
|
|
3132
3133
|
externalId: string;
|
|
3133
3134
|
} | undefined;
|
|
3134
|
-
format?: "json" | "jsonl" | undefined;
|
|
3135
3135
|
}>;
|
|
3136
3136
|
export type MemoryExportInput = z.input<typeof memoryExportInputSchema>;
|
|
3137
3137
|
export declare const memoryLegalHoldInputSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -3198,32 +3198,32 @@ export declare const memoryProjectPolicyInputSchema: z.ZodObject<{
|
|
|
3198
3198
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3199
3199
|
}, "strip", z.ZodTypeAny, {
|
|
3200
3200
|
key: string;
|
|
3201
|
-
|
|
3201
|
+
context: Record<string, unknown>;
|
|
3202
|
+
metadata: Record<string, unknown>;
|
|
3203
|
+
languages: string[];
|
|
3204
|
+
allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
|
|
3202
3205
|
consent: Record<string, unknown>;
|
|
3203
3206
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
3204
|
-
metadata: Record<string, unknown>;
|
|
3205
3207
|
sourceRetentionDays: number | null;
|
|
3206
3208
|
captureMode: "explicit" | "bound_sources";
|
|
3207
3209
|
extractionEnabled: boolean;
|
|
3208
3210
|
profileEnabled: boolean;
|
|
3209
3211
|
retentionDays: number | null;
|
|
3210
|
-
languages: string[];
|
|
3211
3212
|
extraction: Record<string, unknown>;
|
|
3212
|
-
context: Record<string, unknown>;
|
|
3213
3213
|
}, {
|
|
3214
3214
|
key?: string | undefined;
|
|
3215
|
-
|
|
3215
|
+
context?: Record<string, unknown> | undefined;
|
|
3216
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3217
|
+
languages?: string[] | undefined;
|
|
3218
|
+
allowedMemoryTypes?: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
3216
3219
|
consent?: Record<string, unknown> | undefined;
|
|
3217
3220
|
restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
|
|
3218
|
-
metadata?: Record<string, unknown> | undefined;
|
|
3219
3221
|
sourceRetentionDays?: number | null | undefined;
|
|
3220
3222
|
captureMode?: "explicit" | "bound_sources" | undefined;
|
|
3221
3223
|
extractionEnabled?: boolean | undefined;
|
|
3222
3224
|
profileEnabled?: boolean | undefined;
|
|
3223
3225
|
retentionDays?: number | null | undefined;
|
|
3224
|
-
languages?: string[] | undefined;
|
|
3225
3226
|
extraction?: Record<string, unknown> | undefined;
|
|
3226
|
-
context?: Record<string, unknown> | undefined;
|
|
3227
3227
|
}>;
|
|
3228
3228
|
export declare const memoryProjectPolicyUpdateInputSchema: z.ZodObject<Omit<{
|
|
3229
3229
|
key: z.ZodDefault<z.ZodString>;
|
|
@@ -3242,33 +3242,33 @@ export declare const memoryProjectPolicyUpdateInputSchema: z.ZodObject<Omit<{
|
|
|
3242
3242
|
}, "key"> & {
|
|
3243
3243
|
expectedVersion: z.ZodNumber;
|
|
3244
3244
|
}, "strict", z.ZodTypeAny, {
|
|
3245
|
-
|
|
3245
|
+
context: Record<string, unknown>;
|
|
3246
|
+
metadata: Record<string, unknown>;
|
|
3247
|
+
languages: string[];
|
|
3248
|
+
allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
|
|
3246
3249
|
consent: Record<string, unknown>;
|
|
3247
3250
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
3248
|
-
metadata: Record<string, unknown>;
|
|
3249
3251
|
sourceRetentionDays: number | null;
|
|
3250
3252
|
captureMode: "explicit" | "bound_sources";
|
|
3251
3253
|
extractionEnabled: boolean;
|
|
3252
3254
|
profileEnabled: boolean;
|
|
3253
3255
|
retentionDays: number | null;
|
|
3254
|
-
languages: string[];
|
|
3255
3256
|
extraction: Record<string, unknown>;
|
|
3256
|
-
context: Record<string, unknown>;
|
|
3257
3257
|
expectedVersion: number;
|
|
3258
3258
|
}, {
|
|
3259
3259
|
expectedVersion: number;
|
|
3260
|
-
|
|
3260
|
+
context?: Record<string, unknown> | undefined;
|
|
3261
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3262
|
+
languages?: string[] | undefined;
|
|
3263
|
+
allowedMemoryTypes?: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
3261
3264
|
consent?: Record<string, unknown> | undefined;
|
|
3262
3265
|
restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
|
|
3263
|
-
metadata?: Record<string, unknown> | undefined;
|
|
3264
3266
|
sourceRetentionDays?: number | null | undefined;
|
|
3265
3267
|
captureMode?: "explicit" | "bound_sources" | undefined;
|
|
3266
3268
|
extractionEnabled?: boolean | undefined;
|
|
3267
3269
|
profileEnabled?: boolean | undefined;
|
|
3268
3270
|
retentionDays?: number | null | undefined;
|
|
3269
|
-
languages?: string[] | undefined;
|
|
3270
3271
|
extraction?: Record<string, unknown> | undefined;
|
|
3271
|
-
context?: Record<string, unknown> | undefined;
|
|
3272
3272
|
}>;
|
|
3273
3273
|
export declare const memoryPolicyPreviewInputSchema: z.ZodObject<{
|
|
3274
3274
|
idempotencyKey: z.ZodString;
|
|
@@ -3291,72 +3291,72 @@ export declare const memoryPolicyPreviewInputSchema: z.ZodObject<{
|
|
|
3291
3291
|
context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3292
3292
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3293
3293
|
}, "key">, "strip", z.ZodTypeAny, {
|
|
3294
|
-
|
|
3294
|
+
context: Record<string, unknown>;
|
|
3295
|
+
metadata: Record<string, unknown>;
|
|
3296
|
+
languages: string[];
|
|
3297
|
+
allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
|
|
3295
3298
|
consent: Record<string, unknown>;
|
|
3296
3299
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
3297
|
-
metadata: Record<string, unknown>;
|
|
3298
3300
|
sourceRetentionDays: number | null;
|
|
3299
3301
|
captureMode: "explicit" | "bound_sources";
|
|
3300
3302
|
extractionEnabled: boolean;
|
|
3301
3303
|
profileEnabled: boolean;
|
|
3302
3304
|
retentionDays: number | null;
|
|
3303
|
-
languages: string[];
|
|
3304
3305
|
extraction: Record<string, unknown>;
|
|
3305
|
-
context: Record<string, unknown>;
|
|
3306
3306
|
}, {
|
|
3307
|
-
|
|
3307
|
+
context?: Record<string, unknown> | undefined;
|
|
3308
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3309
|
+
languages?: string[] | undefined;
|
|
3310
|
+
allowedMemoryTypes?: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
3308
3311
|
consent?: Record<string, unknown> | undefined;
|
|
3309
3312
|
restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
|
|
3310
|
-
metadata?: Record<string, unknown> | undefined;
|
|
3311
3313
|
sourceRetentionDays?: number | null | undefined;
|
|
3312
3314
|
captureMode?: "explicit" | "bound_sources" | undefined;
|
|
3313
3315
|
extractionEnabled?: boolean | undefined;
|
|
3314
3316
|
profileEnabled?: boolean | undefined;
|
|
3315
3317
|
retentionDays?: number | null | undefined;
|
|
3316
|
-
languages?: string[] | undefined;
|
|
3317
3318
|
extraction?: Record<string, unknown> | undefined;
|
|
3318
|
-
context?: Record<string, unknown> | undefined;
|
|
3319
3319
|
}>>;
|
|
3320
3320
|
}, "strict", z.ZodTypeAny, {
|
|
3321
|
-
content: string;
|
|
3322
|
-
idempotencyKey: string;
|
|
3323
3321
|
policy: {
|
|
3324
|
-
|
|
3322
|
+
context: Record<string, unknown>;
|
|
3323
|
+
metadata: Record<string, unknown>;
|
|
3324
|
+
languages: string[];
|
|
3325
|
+
allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
|
|
3325
3326
|
consent: Record<string, unknown>;
|
|
3326
3327
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
3327
|
-
metadata: Record<string, unknown>;
|
|
3328
3328
|
sourceRetentionDays: number | null;
|
|
3329
3329
|
captureMode: "explicit" | "bound_sources";
|
|
3330
3330
|
extractionEnabled: boolean;
|
|
3331
3331
|
profileEnabled: boolean;
|
|
3332
3332
|
retentionDays: number | null;
|
|
3333
|
-
languages: string[];
|
|
3334
3333
|
extraction: Record<string, unknown>;
|
|
3335
|
-
context: Record<string, unknown>;
|
|
3336
3334
|
};
|
|
3335
|
+
content: string;
|
|
3336
|
+
idempotencyKey: string;
|
|
3337
3337
|
title?: string | undefined;
|
|
3338
3338
|
language?: string | undefined;
|
|
3339
3339
|
sourceCategory?: string | undefined;
|
|
3340
3340
|
}, {
|
|
3341
3341
|
content: string;
|
|
3342
3342
|
idempotencyKey: string;
|
|
3343
|
-
title?: string | undefined;
|
|
3344
|
-
language?: string | undefined;
|
|
3345
|
-
sourceCategory?: string | undefined;
|
|
3346
3343
|
policy?: {
|
|
3347
|
-
|
|
3344
|
+
context?: Record<string, unknown> | undefined;
|
|
3345
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3346
|
+
languages?: string[] | undefined;
|
|
3347
|
+
allowedMemoryTypes?: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
|
|
3348
3348
|
consent?: Record<string, unknown> | undefined;
|
|
3349
3349
|
restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
|
|
3350
|
-
metadata?: Record<string, unknown> | undefined;
|
|
3351
3350
|
sourceRetentionDays?: number | null | undefined;
|
|
3352
3351
|
captureMode?: "explicit" | "bound_sources" | undefined;
|
|
3353
3352
|
extractionEnabled?: boolean | undefined;
|
|
3354
3353
|
profileEnabled?: boolean | undefined;
|
|
3355
3354
|
retentionDays?: number | null | undefined;
|
|
3356
|
-
languages?: string[] | undefined;
|
|
3357
3355
|
extraction?: Record<string, unknown> | undefined;
|
|
3358
|
-
context?: Record<string, unknown> | undefined;
|
|
3359
3356
|
} | undefined;
|
|
3357
|
+
title?: string | undefined;
|
|
3358
|
+
language?: string | undefined;
|
|
3359
|
+
sourceCategory?: string | undefined;
|
|
3360
3360
|
}>;
|
|
3361
3361
|
export type MemoryProjectPolicyInput = z.input<typeof memoryProjectPolicyInputSchema>;
|
|
3362
3362
|
export type MemoryProjectPolicyUpdateInput = z.input<typeof memoryProjectPolicyUpdateInputSchema>;
|
|
@@ -3372,41 +3372,41 @@ export declare const memorySessionConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3372
3372
|
contextTokenBudget: z.ZodDefault<z.ZodNumber>;
|
|
3373
3373
|
policyKey: z.ZodDefault<z.ZodString>;
|
|
3374
3374
|
}, "strict", z.ZodTypeAny, {
|
|
3375
|
+
enabled: boolean;
|
|
3375
3376
|
policyKey: string;
|
|
3376
3377
|
includeProfile: boolean;
|
|
3377
3378
|
includeBlocks: boolean;
|
|
3378
3379
|
captureMode: "explicit" | "bound_sources";
|
|
3379
|
-
enabled: boolean;
|
|
3380
3380
|
readableSubjects: ("session_user" | "session_agent" | "tenant_shared")[];
|
|
3381
3381
|
writableSubjects: ("session_user" | "session_agent" | "tenant_shared")[];
|
|
3382
3382
|
contextTokenBudget: number;
|
|
3383
3383
|
agentExternalId?: string | undefined;
|
|
3384
3384
|
}, {
|
|
3385
|
+
enabled?: boolean | undefined;
|
|
3385
3386
|
policyKey?: string | undefined;
|
|
3386
3387
|
includeProfile?: boolean | undefined;
|
|
3387
3388
|
includeBlocks?: boolean | undefined;
|
|
3388
3389
|
captureMode?: "explicit" | "bound_sources" | undefined;
|
|
3389
|
-
enabled?: boolean | undefined;
|
|
3390
3390
|
agentExternalId?: string | undefined;
|
|
3391
3391
|
readableSubjects?: ("session_user" | "session_agent" | "tenant_shared")[] | undefined;
|
|
3392
3392
|
writableSubjects?: ("session_user" | "session_agent" | "tenant_shared")[] | undefined;
|
|
3393
3393
|
contextTokenBudget?: number | undefined;
|
|
3394
3394
|
}>, {
|
|
3395
|
+
enabled: boolean;
|
|
3395
3396
|
policyKey: string;
|
|
3396
3397
|
includeProfile: boolean;
|
|
3397
3398
|
includeBlocks: boolean;
|
|
3398
3399
|
captureMode: "explicit" | "bound_sources";
|
|
3399
|
-
enabled: boolean;
|
|
3400
3400
|
readableSubjects: ("session_user" | "session_agent" | "tenant_shared")[];
|
|
3401
3401
|
writableSubjects: ("session_user" | "session_agent" | "tenant_shared")[];
|
|
3402
3402
|
contextTokenBudget: number;
|
|
3403
3403
|
agentExternalId?: string | undefined;
|
|
3404
3404
|
}, {
|
|
3405
|
+
enabled?: boolean | undefined;
|
|
3405
3406
|
policyKey?: string | undefined;
|
|
3406
3407
|
includeProfile?: boolean | undefined;
|
|
3407
3408
|
includeBlocks?: boolean | undefined;
|
|
3408
3409
|
captureMode?: "explicit" | "bound_sources" | undefined;
|
|
3409
|
-
enabled?: boolean | undefined;
|
|
3410
3410
|
agentExternalId?: string | undefined;
|
|
3411
3411
|
readableSubjects?: ("session_user" | "session_agent" | "tenant_shared")[] | undefined;
|
|
3412
3412
|
writableSubjects?: ("session_user" | "session_agent" | "tenant_shared")[] | undefined;
|
|
@@ -3420,14 +3420,14 @@ export declare const memoryExtractedEntitySchema: z.ZodObject<{
|
|
|
3420
3420
|
displayName: z.ZodNullable<z.ZodString>;
|
|
3421
3421
|
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3422
3422
|
}, "strict", z.ZodTypeAny, {
|
|
3423
|
-
key: string;
|
|
3424
3423
|
type: string;
|
|
3424
|
+
key: string;
|
|
3425
3425
|
canonicalKey: string;
|
|
3426
3426
|
displayName: string | null;
|
|
3427
3427
|
attributes: Record<string, unknown>;
|
|
3428
3428
|
}, {
|
|
3429
|
-
key: string;
|
|
3430
3429
|
type: string;
|
|
3430
|
+
key: string;
|
|
3431
3431
|
canonicalKey: string;
|
|
3432
3432
|
displayName: string | null;
|
|
3433
3433
|
attributes: Record<string, unknown>;
|
|
@@ -3564,14 +3564,14 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3564
3564
|
displayName: z.ZodNullable<z.ZodString>;
|
|
3565
3565
|
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3566
3566
|
}, "strict", z.ZodTypeAny, {
|
|
3567
|
-
key: string;
|
|
3568
3567
|
type: string;
|
|
3568
|
+
key: string;
|
|
3569
3569
|
canonicalKey: string;
|
|
3570
3570
|
displayName: string | null;
|
|
3571
3571
|
attributes: Record<string, unknown>;
|
|
3572
3572
|
}, {
|
|
3573
|
-
key: string;
|
|
3574
3573
|
type: string;
|
|
3574
|
+
key: string;
|
|
3575
3575
|
canonicalKey: string;
|
|
3576
3576
|
displayName: string | null;
|
|
3577
3577
|
attributes: Record<string, unknown>;
|
|
@@ -3620,6 +3620,7 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3620
3620
|
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3621
3621
|
}, "strict", z.ZodTypeAny, {
|
|
3622
3622
|
content: string;
|
|
3623
|
+
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
3623
3624
|
evidence: {
|
|
3624
3625
|
sourceObjectId: string;
|
|
3625
3626
|
segmentId: string;
|
|
@@ -3627,18 +3628,17 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3627
3628
|
endOffset: number;
|
|
3628
3629
|
quotedText: string;
|
|
3629
3630
|
}[];
|
|
3630
|
-
authorshipClass: "
|
|
3631
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
3631
3632
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed" | "caller_asserted";
|
|
3632
3633
|
durability: "durable" | "episodic" | "transient";
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
evidenceConfidence: "medium" | "low" | "high";
|
|
3634
|
+
salience: "low" | "medium" | "high";
|
|
3635
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
3636
3636
|
contextEligible: boolean;
|
|
3637
3637
|
qualityContractVersion: 1;
|
|
3638
3638
|
validFrom: string | null;
|
|
3639
3639
|
validTo: string | null;
|
|
3640
3640
|
title: string;
|
|
3641
|
-
memoryType: "
|
|
3641
|
+
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
3642
3642
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3643
3643
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
3644
3644
|
topicTags: string[];
|
|
@@ -3649,8 +3649,8 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3649
3649
|
recordKind: "fact" | "episode";
|
|
3650
3650
|
actorEntityKey: string | null;
|
|
3651
3651
|
entities: {
|
|
3652
|
-
key: string;
|
|
3653
3652
|
type: string;
|
|
3653
|
+
key: string;
|
|
3654
3654
|
canonicalKey: string;
|
|
3655
3655
|
displayName: string | null;
|
|
3656
3656
|
attributes: Record<string, unknown>;
|
|
@@ -3666,6 +3666,7 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3666
3666
|
}[];
|
|
3667
3667
|
}, {
|
|
3668
3668
|
content: string;
|
|
3669
|
+
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
3669
3670
|
evidence: {
|
|
3670
3671
|
sourceObjectId: string;
|
|
3671
3672
|
segmentId: string;
|
|
@@ -3673,16 +3674,15 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3673
3674
|
endOffset: number;
|
|
3674
3675
|
quotedText: string;
|
|
3675
3676
|
}[];
|
|
3676
|
-
authorshipClass: "
|
|
3677
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
3677
3678
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed" | "caller_asserted";
|
|
3678
3679
|
durability: "durable" | "episodic" | "transient";
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
evidenceConfidence: "medium" | "low" | "high";
|
|
3680
|
+
salience: "low" | "medium" | "high";
|
|
3681
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
3682
3682
|
contextEligible: boolean;
|
|
3683
3683
|
qualityContractVersion: 1;
|
|
3684
3684
|
title: string;
|
|
3685
|
-
memoryType: "
|
|
3685
|
+
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
3686
3686
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3687
3687
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
3688
3688
|
topicTags: string[];
|
|
@@ -3693,8 +3693,8 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3693
3693
|
recordKind: "fact" | "episode";
|
|
3694
3694
|
actorEntityKey: string | null;
|
|
3695
3695
|
entities: {
|
|
3696
|
-
key: string;
|
|
3697
3696
|
type: string;
|
|
3697
|
+
key: string;
|
|
3698
3698
|
canonicalKey: string;
|
|
3699
3699
|
displayName: string | null;
|
|
3700
3700
|
attributes: Record<string, unknown>;
|
|
@@ -3712,6 +3712,7 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3712
3712
|
validTo?: unknown;
|
|
3713
3713
|
}>, {
|
|
3714
3714
|
content: string;
|
|
3715
|
+
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
3715
3716
|
evidence: {
|
|
3716
3717
|
sourceObjectId: string;
|
|
3717
3718
|
segmentId: string;
|
|
@@ -3719,18 +3720,17 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3719
3720
|
endOffset: number;
|
|
3720
3721
|
quotedText: string;
|
|
3721
3722
|
}[];
|
|
3722
|
-
authorshipClass: "
|
|
3723
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
3723
3724
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed" | "caller_asserted";
|
|
3724
3725
|
durability: "durable" | "episodic" | "transient";
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
evidenceConfidence: "medium" | "low" | "high";
|
|
3726
|
+
salience: "low" | "medium" | "high";
|
|
3727
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
3728
3728
|
contextEligible: boolean;
|
|
3729
3729
|
qualityContractVersion: 1;
|
|
3730
3730
|
validFrom: string | null;
|
|
3731
3731
|
validTo: string | null;
|
|
3732
3732
|
title: string;
|
|
3733
|
-
memoryType: "
|
|
3733
|
+
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
3734
3734
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3735
3735
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
3736
3736
|
topicTags: string[];
|
|
@@ -3741,8 +3741,8 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3741
3741
|
recordKind: "fact" | "episode";
|
|
3742
3742
|
actorEntityKey: string | null;
|
|
3743
3743
|
entities: {
|
|
3744
|
-
key: string;
|
|
3745
3744
|
type: string;
|
|
3745
|
+
key: string;
|
|
3746
3746
|
canonicalKey: string;
|
|
3747
3747
|
displayName: string | null;
|
|
3748
3748
|
attributes: Record<string, unknown>;
|
|
@@ -3758,6 +3758,7 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3758
3758
|
}[];
|
|
3759
3759
|
}, {
|
|
3760
3760
|
content: string;
|
|
3761
|
+
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
3761
3762
|
evidence: {
|
|
3762
3763
|
sourceObjectId: string;
|
|
3763
3764
|
segmentId: string;
|
|
@@ -3765,16 +3766,15 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3765
3766
|
endOffset: number;
|
|
3766
3767
|
quotedText: string;
|
|
3767
3768
|
}[];
|
|
3768
|
-
authorshipClass: "
|
|
3769
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
3769
3770
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed" | "caller_asserted";
|
|
3770
3771
|
durability: "durable" | "episodic" | "transient";
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
evidenceConfidence: "medium" | "low" | "high";
|
|
3772
|
+
salience: "low" | "medium" | "high";
|
|
3773
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
3774
3774
|
contextEligible: boolean;
|
|
3775
3775
|
qualityContractVersion: 1;
|
|
3776
3776
|
title: string;
|
|
3777
|
-
memoryType: "
|
|
3777
|
+
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
3778
3778
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3779
3779
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
3780
3780
|
topicTags: string[];
|
|
@@ -3785,8 +3785,8 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3785
3785
|
recordKind: "fact" | "episode";
|
|
3786
3786
|
actorEntityKey: string | null;
|
|
3787
3787
|
entities: {
|
|
3788
|
-
key: string;
|
|
3789
3788
|
type: string;
|
|
3789
|
+
key: string;
|
|
3790
3790
|
canonicalKey: string;
|
|
3791
3791
|
displayName: string | null;
|
|
3792
3792
|
attributes: Record<string, unknown>;
|
|
@@ -3864,14 +3864,14 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3864
3864
|
displayName: z.ZodNullable<z.ZodString>;
|
|
3865
3865
|
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3866
3866
|
}, "strict", z.ZodTypeAny, {
|
|
3867
|
-
key: string;
|
|
3868
3867
|
type: string;
|
|
3868
|
+
key: string;
|
|
3869
3869
|
canonicalKey: string;
|
|
3870
3870
|
displayName: string | null;
|
|
3871
3871
|
attributes: Record<string, unknown>;
|
|
3872
3872
|
}, {
|
|
3873
|
-
key: string;
|
|
3874
3873
|
type: string;
|
|
3874
|
+
key: string;
|
|
3875
3875
|
canonicalKey: string;
|
|
3876
3876
|
displayName: string | null;
|
|
3877
3877
|
attributes: Record<string, unknown>;
|
|
@@ -3920,6 +3920,7 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3920
3920
|
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3921
3921
|
}, "strict", z.ZodTypeAny, {
|
|
3922
3922
|
content: string;
|
|
3923
|
+
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
3923
3924
|
evidence: {
|
|
3924
3925
|
sourceObjectId: string;
|
|
3925
3926
|
segmentId: string;
|
|
@@ -3927,18 +3928,17 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3927
3928
|
endOffset: number;
|
|
3928
3929
|
quotedText: string;
|
|
3929
3930
|
}[];
|
|
3930
|
-
authorshipClass: "
|
|
3931
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
3931
3932
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed" | "caller_asserted";
|
|
3932
3933
|
durability: "durable" | "episodic" | "transient";
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
evidenceConfidence: "medium" | "low" | "high";
|
|
3934
|
+
salience: "low" | "medium" | "high";
|
|
3935
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
3936
3936
|
contextEligible: boolean;
|
|
3937
3937
|
qualityContractVersion: 1;
|
|
3938
3938
|
validFrom: string | null;
|
|
3939
3939
|
validTo: string | null;
|
|
3940
3940
|
title: string;
|
|
3941
|
-
memoryType: "
|
|
3941
|
+
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
3942
3942
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3943
3943
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
3944
3944
|
topicTags: string[];
|
|
@@ -3949,8 +3949,8 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3949
3949
|
recordKind: "fact" | "episode";
|
|
3950
3950
|
actorEntityKey: string | null;
|
|
3951
3951
|
entities: {
|
|
3952
|
-
key: string;
|
|
3953
3952
|
type: string;
|
|
3953
|
+
key: string;
|
|
3954
3954
|
canonicalKey: string;
|
|
3955
3955
|
displayName: string | null;
|
|
3956
3956
|
attributes: Record<string, unknown>;
|
|
@@ -3966,6 +3966,7 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3966
3966
|
}[];
|
|
3967
3967
|
}, {
|
|
3968
3968
|
content: string;
|
|
3969
|
+
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
3969
3970
|
evidence: {
|
|
3970
3971
|
sourceObjectId: string;
|
|
3971
3972
|
segmentId: string;
|
|
@@ -3973,16 +3974,15 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3973
3974
|
endOffset: number;
|
|
3974
3975
|
quotedText: string;
|
|
3975
3976
|
}[];
|
|
3976
|
-
authorshipClass: "
|
|
3977
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
3977
3978
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed" | "caller_asserted";
|
|
3978
3979
|
durability: "durable" | "episodic" | "transient";
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
evidenceConfidence: "medium" | "low" | "high";
|
|
3980
|
+
salience: "low" | "medium" | "high";
|
|
3981
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
3982
3982
|
contextEligible: boolean;
|
|
3983
3983
|
qualityContractVersion: 1;
|
|
3984
3984
|
title: string;
|
|
3985
|
-
memoryType: "
|
|
3985
|
+
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
3986
3986
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
3987
3987
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
3988
3988
|
topicTags: string[];
|
|
@@ -3993,8 +3993,8 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
3993
3993
|
recordKind: "fact" | "episode";
|
|
3994
3994
|
actorEntityKey: string | null;
|
|
3995
3995
|
entities: {
|
|
3996
|
-
key: string;
|
|
3997
3996
|
type: string;
|
|
3997
|
+
key: string;
|
|
3998
3998
|
canonicalKey: string;
|
|
3999
3999
|
displayName: string | null;
|
|
4000
4000
|
attributes: Record<string, unknown>;
|
|
@@ -4012,6 +4012,7 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
4012
4012
|
validTo?: unknown;
|
|
4013
4013
|
}>, {
|
|
4014
4014
|
content: string;
|
|
4015
|
+
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
4015
4016
|
evidence: {
|
|
4016
4017
|
sourceObjectId: string;
|
|
4017
4018
|
segmentId: string;
|
|
@@ -4019,18 +4020,17 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
4019
4020
|
endOffset: number;
|
|
4020
4021
|
quotedText: string;
|
|
4021
4022
|
}[];
|
|
4022
|
-
authorshipClass: "
|
|
4023
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
4023
4024
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed" | "caller_asserted";
|
|
4024
4025
|
durability: "durable" | "episodic" | "transient";
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
evidenceConfidence: "medium" | "low" | "high";
|
|
4026
|
+
salience: "low" | "medium" | "high";
|
|
4027
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
4028
4028
|
contextEligible: boolean;
|
|
4029
4029
|
qualityContractVersion: 1;
|
|
4030
4030
|
validFrom: string | null;
|
|
4031
4031
|
validTo: string | null;
|
|
4032
4032
|
title: string;
|
|
4033
|
-
memoryType: "
|
|
4033
|
+
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
4034
4034
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
4035
4035
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
4036
4036
|
topicTags: string[];
|
|
@@ -4041,8 +4041,8 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
4041
4041
|
recordKind: "fact" | "episode";
|
|
4042
4042
|
actorEntityKey: string | null;
|
|
4043
4043
|
entities: {
|
|
4044
|
-
key: string;
|
|
4045
4044
|
type: string;
|
|
4045
|
+
key: string;
|
|
4046
4046
|
canonicalKey: string;
|
|
4047
4047
|
displayName: string | null;
|
|
4048
4048
|
attributes: Record<string, unknown>;
|
|
@@ -4058,6 +4058,7 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
4058
4058
|
}[];
|
|
4059
4059
|
}, {
|
|
4060
4060
|
content: string;
|
|
4061
|
+
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
4061
4062
|
evidence: {
|
|
4062
4063
|
sourceObjectId: string;
|
|
4063
4064
|
segmentId: string;
|
|
@@ -4065,16 +4066,15 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
4065
4066
|
endOffset: number;
|
|
4066
4067
|
quotedText: string;
|
|
4067
4068
|
}[];
|
|
4068
|
-
authorshipClass: "
|
|
4069
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
4069
4070
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed" | "caller_asserted";
|
|
4070
4071
|
durability: "durable" | "episodic" | "transient";
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
evidenceConfidence: "medium" | "low" | "high";
|
|
4072
|
+
salience: "low" | "medium" | "high";
|
|
4073
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
4074
4074
|
contextEligible: boolean;
|
|
4075
4075
|
qualityContractVersion: 1;
|
|
4076
4076
|
title: string;
|
|
4077
|
-
memoryType: "
|
|
4077
|
+
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
4078
4078
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
4079
4079
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
4080
4080
|
topicTags: string[];
|
|
@@ -4085,8 +4085,8 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
4085
4085
|
recordKind: "fact" | "episode";
|
|
4086
4086
|
actorEntityKey: string | null;
|
|
4087
4087
|
entities: {
|
|
4088
|
-
key: string;
|
|
4089
4088
|
type: string;
|
|
4089
|
+
key: string;
|
|
4090
4090
|
canonicalKey: string;
|
|
4091
4091
|
displayName: string | null;
|
|
4092
4092
|
attributes: Record<string, unknown>;
|
|
@@ -4106,6 +4106,7 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
4106
4106
|
}, "strict", z.ZodTypeAny, {
|
|
4107
4107
|
records: {
|
|
4108
4108
|
content: string;
|
|
4109
|
+
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
4109
4110
|
evidence: {
|
|
4110
4111
|
sourceObjectId: string;
|
|
4111
4112
|
segmentId: string;
|
|
@@ -4113,18 +4114,17 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
4113
4114
|
endOffset: number;
|
|
4114
4115
|
quotedText: string;
|
|
4115
4116
|
}[];
|
|
4116
|
-
authorshipClass: "
|
|
4117
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
4117
4118
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed" | "caller_asserted";
|
|
4118
4119
|
durability: "durable" | "episodic" | "transient";
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
evidenceConfidence: "medium" | "low" | "high";
|
|
4120
|
+
salience: "low" | "medium" | "high";
|
|
4121
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
4122
4122
|
contextEligible: boolean;
|
|
4123
4123
|
qualityContractVersion: 1;
|
|
4124
4124
|
validFrom: string | null;
|
|
4125
4125
|
validTo: string | null;
|
|
4126
4126
|
title: string;
|
|
4127
|
-
memoryType: "
|
|
4127
|
+
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
4128
4128
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
4129
4129
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
4130
4130
|
topicTags: string[];
|
|
@@ -4135,8 +4135,8 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
4135
4135
|
recordKind: "fact" | "episode";
|
|
4136
4136
|
actorEntityKey: string | null;
|
|
4137
4137
|
entities: {
|
|
4138
|
-
key: string;
|
|
4139
4138
|
type: string;
|
|
4139
|
+
key: string;
|
|
4140
4140
|
canonicalKey: string;
|
|
4141
4141
|
displayName: string | null;
|
|
4142
4142
|
attributes: Record<string, unknown>;
|
|
@@ -4154,6 +4154,7 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
4154
4154
|
}, {
|
|
4155
4155
|
records: {
|
|
4156
4156
|
content: string;
|
|
4157
|
+
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
4157
4158
|
evidence: {
|
|
4158
4159
|
sourceObjectId: string;
|
|
4159
4160
|
segmentId: string;
|
|
@@ -4161,16 +4162,15 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
4161
4162
|
endOffset: number;
|
|
4162
4163
|
quotedText: string;
|
|
4163
4164
|
}[];
|
|
4164
|
-
authorshipClass: "
|
|
4165
|
+
authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
|
|
4165
4166
|
admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed" | "caller_asserted";
|
|
4166
4167
|
durability: "durable" | "episodic" | "transient";
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
evidenceConfidence: "medium" | "low" | "high";
|
|
4168
|
+
salience: "low" | "medium" | "high";
|
|
4169
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
4170
4170
|
contextEligible: boolean;
|
|
4171
4171
|
qualityContractVersion: 1;
|
|
4172
4172
|
title: string;
|
|
4173
|
-
memoryType: "
|
|
4173
|
+
memoryType: "decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact";
|
|
4174
4174
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
4175
4175
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
4176
4176
|
topicTags: string[];
|
|
@@ -4181,8 +4181,8 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
|
|
|
4181
4181
|
recordKind: "fact" | "episode";
|
|
4182
4182
|
actorEntityKey: string | null;
|
|
4183
4183
|
entities: {
|
|
4184
|
-
key: string;
|
|
4185
4184
|
type: string;
|
|
4185
|
+
key: string;
|
|
4186
4186
|
canonicalKey: string;
|
|
4187
4187
|
displayName: string | null;
|
|
4188
4188
|
attributes: Record<string, unknown>;
|
|
@@ -4207,15 +4207,15 @@ export declare const memorySafetyDecisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4207
4207
|
salience: z.ZodEnum<["low", "medium", "high"]>;
|
|
4208
4208
|
evidenceConfidence: z.ZodEnum<["low", "medium", "high"]>;
|
|
4209
4209
|
}, "strict", z.ZodTypeAny, {
|
|
4210
|
-
durability: "durable" | "episodic" | "transient";
|
|
4211
4210
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
4212
|
-
salience: "medium" | "low" | "high";
|
|
4213
|
-
evidenceConfidence: "medium" | "low" | "high";
|
|
4214
|
-
}, {
|
|
4215
4211
|
durability: "durable" | "episodic" | "transient";
|
|
4212
|
+
salience: "low" | "medium" | "high";
|
|
4213
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
4214
|
+
}, {
|
|
4216
4215
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
4217
|
-
|
|
4218
|
-
|
|
4216
|
+
durability: "durable" | "episodic" | "transient";
|
|
4217
|
+
salience: "low" | "medium" | "high";
|
|
4218
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
4219
4219
|
}>>>;
|
|
4220
4220
|
authorshipStatus: z.ZodOptional<z.ZodEnum<["verified_sender_text", "quoted_or_forwarded", "uncertain"]>>;
|
|
4221
4221
|
candidateId: z.ZodString;
|
|
@@ -4226,58 +4226,58 @@ export declare const memorySafetyDecisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4226
4226
|
reason: z.ZodString;
|
|
4227
4227
|
}, "strict", z.ZodTypeAny, {
|
|
4228
4228
|
status: "uncertain" | "classified";
|
|
4229
|
+
reason: string;
|
|
4229
4230
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
4230
4231
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
4231
|
-
reason: string;
|
|
4232
4232
|
candidateId: string;
|
|
4233
|
-
retentionStatus: "memory" | "
|
|
4233
|
+
retentionStatus: "memory" | "uncertain" | "source_only" | "reject_noise";
|
|
4234
4234
|
quality?: {
|
|
4235
|
-
durability: "durable" | "episodic" | "transient";
|
|
4236
4235
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
4237
|
-
|
|
4238
|
-
|
|
4236
|
+
durability: "durable" | "episodic" | "transient";
|
|
4237
|
+
salience: "low" | "medium" | "high";
|
|
4238
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
4239
4239
|
} | null | undefined;
|
|
4240
4240
|
authorshipStatus?: "uncertain" | "verified_sender_text" | "quoted_or_forwarded" | undefined;
|
|
4241
4241
|
}, {
|
|
4242
4242
|
status: "uncertain" | "classified";
|
|
4243
|
+
reason: string;
|
|
4243
4244
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
4244
4245
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
4245
|
-
reason: string;
|
|
4246
4246
|
candidateId: string;
|
|
4247
|
-
retentionStatus: "memory" | "
|
|
4247
|
+
retentionStatus: "memory" | "uncertain" | "source_only" | "reject_noise";
|
|
4248
4248
|
quality?: {
|
|
4249
|
-
durability: "durable" | "episodic" | "transient";
|
|
4250
4249
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
4251
|
-
|
|
4252
|
-
|
|
4250
|
+
durability: "durable" | "episodic" | "transient";
|
|
4251
|
+
salience: "low" | "medium" | "high";
|
|
4252
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
4253
4253
|
} | null | undefined;
|
|
4254
4254
|
authorshipStatus?: "uncertain" | "verified_sender_text" | "quoted_or_forwarded" | undefined;
|
|
4255
4255
|
}>, {
|
|
4256
4256
|
status: "uncertain" | "classified";
|
|
4257
|
+
reason: string;
|
|
4257
4258
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
4258
4259
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
4259
|
-
reason: string;
|
|
4260
4260
|
candidateId: string;
|
|
4261
|
-
retentionStatus: "memory" | "
|
|
4261
|
+
retentionStatus: "memory" | "uncertain" | "source_only" | "reject_noise";
|
|
4262
4262
|
quality?: {
|
|
4263
|
-
durability: "durable" | "episodic" | "transient";
|
|
4264
4263
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
4265
|
-
|
|
4266
|
-
|
|
4264
|
+
durability: "durable" | "episodic" | "transient";
|
|
4265
|
+
salience: "low" | "medium" | "high";
|
|
4266
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
4267
4267
|
} | null | undefined;
|
|
4268
4268
|
authorshipStatus?: "uncertain" | "verified_sender_text" | "quoted_or_forwarded" | undefined;
|
|
4269
4269
|
}, {
|
|
4270
4270
|
status: "uncertain" | "classified";
|
|
4271
|
+
reason: string;
|
|
4271
4272
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
4272
4273
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
4273
|
-
reason: string;
|
|
4274
4274
|
candidateId: string;
|
|
4275
|
-
retentionStatus: "memory" | "
|
|
4275
|
+
retentionStatus: "memory" | "uncertain" | "source_only" | "reject_noise";
|
|
4276
4276
|
quality?: {
|
|
4277
|
-
durability: "durable" | "episodic" | "transient";
|
|
4278
4277
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
4279
|
-
|
|
4280
|
-
|
|
4278
|
+
durability: "durable" | "episodic" | "transient";
|
|
4279
|
+
salience: "low" | "medium" | "high";
|
|
4280
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
4281
4281
|
} | null | undefined;
|
|
4282
4282
|
authorshipStatus?: "uncertain" | "verified_sender_text" | "quoted_or_forwarded" | undefined;
|
|
4283
4283
|
}>;
|
|
@@ -4289,15 +4289,15 @@ export declare const memorySafetyResultSchema: z.ZodObject<{
|
|
|
4289
4289
|
salience: z.ZodEnum<["low", "medium", "high"]>;
|
|
4290
4290
|
evidenceConfidence: z.ZodEnum<["low", "medium", "high"]>;
|
|
4291
4291
|
}, "strict", z.ZodTypeAny, {
|
|
4292
|
-
durability: "durable" | "episodic" | "transient";
|
|
4293
4292
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
4294
|
-
salience: "medium" | "low" | "high";
|
|
4295
|
-
evidenceConfidence: "medium" | "low" | "high";
|
|
4296
|
-
}, {
|
|
4297
4293
|
durability: "durable" | "episodic" | "transient";
|
|
4294
|
+
salience: "low" | "medium" | "high";
|
|
4295
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
4296
|
+
}, {
|
|
4298
4297
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
4299
|
-
|
|
4300
|
-
|
|
4298
|
+
durability: "durable" | "episodic" | "transient";
|
|
4299
|
+
salience: "low" | "medium" | "high";
|
|
4300
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
4301
4301
|
}>>>;
|
|
4302
4302
|
authorshipStatus: z.ZodOptional<z.ZodEnum<["verified_sender_text", "quoted_or_forwarded", "uncertain"]>>;
|
|
4303
4303
|
candidateId: z.ZodString;
|
|
@@ -4308,90 +4308,90 @@ export declare const memorySafetyResultSchema: z.ZodObject<{
|
|
|
4308
4308
|
reason: z.ZodString;
|
|
4309
4309
|
}, "strict", z.ZodTypeAny, {
|
|
4310
4310
|
status: "uncertain" | "classified";
|
|
4311
|
+
reason: string;
|
|
4311
4312
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
4312
4313
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
4313
|
-
reason: string;
|
|
4314
4314
|
candidateId: string;
|
|
4315
|
-
retentionStatus: "memory" | "
|
|
4315
|
+
retentionStatus: "memory" | "uncertain" | "source_only" | "reject_noise";
|
|
4316
4316
|
quality?: {
|
|
4317
|
-
durability: "durable" | "episodic" | "transient";
|
|
4318
4317
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
4319
|
-
|
|
4320
|
-
|
|
4318
|
+
durability: "durable" | "episodic" | "transient";
|
|
4319
|
+
salience: "low" | "medium" | "high";
|
|
4320
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
4321
4321
|
} | null | undefined;
|
|
4322
4322
|
authorshipStatus?: "uncertain" | "verified_sender_text" | "quoted_or_forwarded" | undefined;
|
|
4323
4323
|
}, {
|
|
4324
4324
|
status: "uncertain" | "classified";
|
|
4325
|
+
reason: string;
|
|
4325
4326
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
4326
4327
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
4327
|
-
reason: string;
|
|
4328
4328
|
candidateId: string;
|
|
4329
|
-
retentionStatus: "memory" | "
|
|
4329
|
+
retentionStatus: "memory" | "uncertain" | "source_only" | "reject_noise";
|
|
4330
4330
|
quality?: {
|
|
4331
|
-
durability: "durable" | "episodic" | "transient";
|
|
4332
4331
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
4333
|
-
|
|
4334
|
-
|
|
4332
|
+
durability: "durable" | "episodic" | "transient";
|
|
4333
|
+
salience: "low" | "medium" | "high";
|
|
4334
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
4335
4335
|
} | null | undefined;
|
|
4336
4336
|
authorshipStatus?: "uncertain" | "verified_sender_text" | "quoted_or_forwarded" | undefined;
|
|
4337
4337
|
}>, {
|
|
4338
4338
|
status: "uncertain" | "classified";
|
|
4339
|
+
reason: string;
|
|
4339
4340
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
4340
4341
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
4341
|
-
reason: string;
|
|
4342
4342
|
candidateId: string;
|
|
4343
|
-
retentionStatus: "memory" | "
|
|
4343
|
+
retentionStatus: "memory" | "uncertain" | "source_only" | "reject_noise";
|
|
4344
4344
|
quality?: {
|
|
4345
|
-
durability: "durable" | "episodic" | "transient";
|
|
4346
4345
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
4347
|
-
|
|
4348
|
-
|
|
4346
|
+
durability: "durable" | "episodic" | "transient";
|
|
4347
|
+
salience: "low" | "medium" | "high";
|
|
4348
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
4349
4349
|
} | null | undefined;
|
|
4350
4350
|
authorshipStatus?: "uncertain" | "verified_sender_text" | "quoted_or_forwarded" | undefined;
|
|
4351
4351
|
}, {
|
|
4352
4352
|
status: "uncertain" | "classified";
|
|
4353
|
+
reason: string;
|
|
4353
4354
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
4354
4355
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
4355
|
-
reason: string;
|
|
4356
4356
|
candidateId: string;
|
|
4357
|
-
retentionStatus: "memory" | "
|
|
4357
|
+
retentionStatus: "memory" | "uncertain" | "source_only" | "reject_noise";
|
|
4358
4358
|
quality?: {
|
|
4359
|
-
durability: "durable" | "episodic" | "transient";
|
|
4360
4359
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
4361
|
-
|
|
4362
|
-
|
|
4360
|
+
durability: "durable" | "episodic" | "transient";
|
|
4361
|
+
salience: "low" | "medium" | "high";
|
|
4362
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
4363
4363
|
} | null | undefined;
|
|
4364
4364
|
authorshipStatus?: "uncertain" | "verified_sender_text" | "quoted_or_forwarded" | undefined;
|
|
4365
4365
|
}>, "many">;
|
|
4366
4366
|
}, "strict", z.ZodTypeAny, {
|
|
4367
4367
|
decisions: {
|
|
4368
4368
|
status: "uncertain" | "classified";
|
|
4369
|
+
reason: string;
|
|
4369
4370
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
4370
4371
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
4371
|
-
reason: string;
|
|
4372
4372
|
candidateId: string;
|
|
4373
|
-
retentionStatus: "memory" | "
|
|
4373
|
+
retentionStatus: "memory" | "uncertain" | "source_only" | "reject_noise";
|
|
4374
4374
|
quality?: {
|
|
4375
|
-
durability: "durable" | "episodic" | "transient";
|
|
4376
4375
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
4377
|
-
|
|
4378
|
-
|
|
4376
|
+
durability: "durable" | "episodic" | "transient";
|
|
4377
|
+
salience: "low" | "medium" | "high";
|
|
4378
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
4379
4379
|
} | null | undefined;
|
|
4380
4380
|
authorshipStatus?: "uncertain" | "verified_sender_text" | "quoted_or_forwarded" | undefined;
|
|
4381
4381
|
}[];
|
|
4382
4382
|
}, {
|
|
4383
4383
|
decisions: {
|
|
4384
4384
|
status: "uncertain" | "classified";
|
|
4385
|
+
reason: string;
|
|
4385
4386
|
sensitivityClass: "standard" | "personal" | "restricted" | "secret";
|
|
4386
4387
|
restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
|
|
4387
|
-
reason: string;
|
|
4388
4388
|
candidateId: string;
|
|
4389
|
-
retentionStatus: "memory" | "
|
|
4389
|
+
retentionStatus: "memory" | "uncertain" | "source_only" | "reject_noise";
|
|
4390
4390
|
quality?: {
|
|
4391
|
-
durability: "durable" | "episodic" | "transient";
|
|
4392
4391
|
destination: "durable_memory" | "episodic_memory" | "restricted_candidate" | "source_only" | "reject_noise";
|
|
4393
|
-
|
|
4394
|
-
|
|
4392
|
+
durability: "durable" | "episodic" | "transient";
|
|
4393
|
+
salience: "low" | "medium" | "high";
|
|
4394
|
+
evidenceConfidence: "low" | "medium" | "high";
|
|
4395
4395
|
} | null | undefined;
|
|
4396
4396
|
authorshipStatus?: "uncertain" | "verified_sender_text" | "quoted_or_forwarded" | undefined;
|
|
4397
4397
|
}[];
|
|
@@ -4404,42 +4404,42 @@ export declare const memoryConsolidationResultSchema: z.ZodObject<{
|
|
|
4404
4404
|
targetCandidateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4405
4405
|
reason: z.ZodString;
|
|
4406
4406
|
}, "strict", z.ZodTypeAny, {
|
|
4407
|
-
action: "add" | "supersede" | "contradict" | "support" | "no_change";
|
|
4408
4407
|
reason: string;
|
|
4408
|
+
action: "add" | "supersede" | "contradict" | "support" | "no_change";
|
|
4409
4409
|
candidateId: string;
|
|
4410
4410
|
targetRecordId: string | null;
|
|
4411
4411
|
targetCandidateId?: string | null | undefined;
|
|
4412
4412
|
}, {
|
|
4413
|
-
action: "add" | "supersede" | "contradict" | "support" | "no_change";
|
|
4414
4413
|
reason: string;
|
|
4414
|
+
action: "add" | "supersede" | "contradict" | "support" | "no_change";
|
|
4415
4415
|
candidateId: string;
|
|
4416
4416
|
targetRecordId: string | null;
|
|
4417
4417
|
targetCandidateId?: string | null | undefined;
|
|
4418
4418
|
}>, {
|
|
4419
|
-
action: "add" | "supersede" | "contradict" | "support" | "no_change";
|
|
4420
4419
|
reason: string;
|
|
4420
|
+
action: "add" | "supersede" | "contradict" | "support" | "no_change";
|
|
4421
4421
|
candidateId: string;
|
|
4422
4422
|
targetRecordId: string | null;
|
|
4423
4423
|
targetCandidateId?: string | null | undefined;
|
|
4424
4424
|
}, {
|
|
4425
|
-
action: "add" | "supersede" | "contradict" | "support" | "no_change";
|
|
4426
4425
|
reason: string;
|
|
4426
|
+
action: "add" | "supersede" | "contradict" | "support" | "no_change";
|
|
4427
4427
|
candidateId: string;
|
|
4428
4428
|
targetRecordId: string | null;
|
|
4429
4429
|
targetCandidateId?: string | null | undefined;
|
|
4430
4430
|
}>, "many">;
|
|
4431
4431
|
}, "strict", z.ZodTypeAny, {
|
|
4432
4432
|
decisions: {
|
|
4433
|
-
action: "add" | "supersede" | "contradict" | "support" | "no_change";
|
|
4434
4433
|
reason: string;
|
|
4434
|
+
action: "add" | "supersede" | "contradict" | "support" | "no_change";
|
|
4435
4435
|
candidateId: string;
|
|
4436
4436
|
targetRecordId: string | null;
|
|
4437
4437
|
targetCandidateId?: string | null | undefined;
|
|
4438
4438
|
}[];
|
|
4439
4439
|
}, {
|
|
4440
4440
|
decisions: {
|
|
4441
|
-
action: "add" | "supersede" | "contradict" | "support" | "no_change";
|
|
4442
4441
|
reason: string;
|
|
4442
|
+
action: "add" | "supersede" | "contradict" | "support" | "no_change";
|
|
4443
4443
|
candidateId: string;
|
|
4444
4444
|
targetRecordId: string | null;
|
|
4445
4445
|
targetCandidateId?: string | null | undefined;
|
|
@@ -4887,10 +4887,18 @@ export declare const memoryConsolidationJsonSchema: {
|
|
|
4887
4887
|
};
|
|
4888
4888
|
};
|
|
4889
4889
|
};
|
|
4890
|
-
|
|
4890
|
+
type MemoryProfileEvidenceIds = {
|
|
4891
|
+
allowedRecordVersionIds: readonly string[];
|
|
4892
|
+
durableRecordVersionIds: readonly string[];
|
|
4893
|
+
};
|
|
4894
|
+
export declare function memoryProfileJsonSchema(allowedBucketKeys: readonly string[], evidence: MemoryProfileEvidenceIds): {
|
|
4891
4895
|
readonly type: "object";
|
|
4892
4896
|
readonly additionalProperties: false;
|
|
4893
4897
|
readonly required: readonly ["buckets"];
|
|
4898
|
+
readonly $defs: Record<string, {
|
|
4899
|
+
type: "string";
|
|
4900
|
+
enum: string[];
|
|
4901
|
+
}>;
|
|
4894
4902
|
readonly properties: {
|
|
4895
4903
|
readonly buckets: {
|
|
4896
4904
|
readonly type: "array";
|
|
@@ -4914,20 +4922,66 @@ export declare function memoryProfileJsonSchema(allowedBucketKeys: readonly stri
|
|
|
4914
4922
|
readonly minItems: 1;
|
|
4915
4923
|
readonly maxItems: 500;
|
|
4916
4924
|
readonly items: {
|
|
4917
|
-
|
|
4918
|
-
|
|
4925
|
+
anyOf: {
|
|
4926
|
+
$ref: string;
|
|
4927
|
+
}[];
|
|
4928
|
+
type?: never;
|
|
4929
|
+
format?: never;
|
|
4930
|
+
} | {
|
|
4931
|
+
type: string;
|
|
4932
|
+
format: string;
|
|
4933
|
+
anyOf?: never;
|
|
4919
4934
|
};
|
|
4920
4935
|
};
|
|
4921
4936
|
};
|
|
4937
|
+
} | {
|
|
4938
|
+
anyOf: {
|
|
4939
|
+
readonly type: "object";
|
|
4940
|
+
readonly additionalProperties: false;
|
|
4941
|
+
readonly required: readonly ["key", "content", "includedRecordVersionIds"];
|
|
4942
|
+
readonly properties: {
|
|
4943
|
+
readonly key: {
|
|
4944
|
+
readonly type: "string";
|
|
4945
|
+
readonly enum: readonly string[];
|
|
4946
|
+
};
|
|
4947
|
+
readonly content: {
|
|
4948
|
+
readonly type: "string";
|
|
4949
|
+
readonly minLength: 1;
|
|
4950
|
+
readonly maxLength: 100000;
|
|
4951
|
+
};
|
|
4952
|
+
readonly includedRecordVersionIds: {
|
|
4953
|
+
readonly type: "array";
|
|
4954
|
+
readonly minItems: 1;
|
|
4955
|
+
readonly maxItems: 500;
|
|
4956
|
+
readonly items: {
|
|
4957
|
+
anyOf: {
|
|
4958
|
+
$ref: string;
|
|
4959
|
+
}[];
|
|
4960
|
+
type?: never;
|
|
4961
|
+
format?: never;
|
|
4962
|
+
} | {
|
|
4963
|
+
type: string;
|
|
4964
|
+
format: string;
|
|
4965
|
+
anyOf?: never;
|
|
4966
|
+
};
|
|
4967
|
+
};
|
|
4968
|
+
};
|
|
4969
|
+
}[];
|
|
4922
4970
|
};
|
|
4923
4971
|
};
|
|
4924
4972
|
};
|
|
4925
4973
|
};
|
|
4926
|
-
export declare function memoryProfileDeltaJsonSchema(allowedBucketKeys: readonly string[]): {
|
|
4927
|
-
readonly type: "object";
|
|
4928
|
-
readonly additionalProperties: false;
|
|
4974
|
+
export declare function memoryProfileDeltaJsonSchema(allowedBucketKeys: readonly string[], evidence: MemoryProfileEvidenceIds): {
|
|
4929
4975
|
readonly required: readonly ["buckets", "removeBucketKeys"];
|
|
4930
4976
|
readonly properties: {
|
|
4977
|
+
readonly removeBucketKeys: {
|
|
4978
|
+
readonly type: "array";
|
|
4979
|
+
readonly maxItems: number;
|
|
4980
|
+
readonly items: {
|
|
4981
|
+
readonly type: "string";
|
|
4982
|
+
readonly enum: readonly string[];
|
|
4983
|
+
};
|
|
4984
|
+
};
|
|
4931
4985
|
readonly buckets: {
|
|
4932
4986
|
readonly type: "array";
|
|
4933
4987
|
readonly maxItems: number;
|
|
@@ -4950,21 +5004,60 @@ export declare function memoryProfileDeltaJsonSchema(allowedBucketKeys: readonly
|
|
|
4950
5004
|
readonly minItems: 1;
|
|
4951
5005
|
readonly maxItems: 500;
|
|
4952
5006
|
readonly items: {
|
|
4953
|
-
|
|
4954
|
-
|
|
5007
|
+
anyOf: {
|
|
5008
|
+
$ref: string;
|
|
5009
|
+
}[];
|
|
5010
|
+
type?: never;
|
|
5011
|
+
format?: never;
|
|
5012
|
+
} | {
|
|
5013
|
+
type: string;
|
|
5014
|
+
format: string;
|
|
5015
|
+
anyOf?: never;
|
|
4955
5016
|
};
|
|
4956
5017
|
};
|
|
4957
5018
|
};
|
|
4958
|
-
}
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
5019
|
+
} | {
|
|
5020
|
+
anyOf: {
|
|
5021
|
+
readonly type: "object";
|
|
5022
|
+
readonly additionalProperties: false;
|
|
5023
|
+
readonly required: readonly ["key", "content", "includedRecordVersionIds"];
|
|
5024
|
+
readonly properties: {
|
|
5025
|
+
readonly key: {
|
|
5026
|
+
readonly type: "string";
|
|
5027
|
+
readonly enum: readonly string[];
|
|
5028
|
+
};
|
|
5029
|
+
readonly content: {
|
|
5030
|
+
readonly type: "string";
|
|
5031
|
+
readonly minLength: 1;
|
|
5032
|
+
readonly maxLength: 100000;
|
|
5033
|
+
};
|
|
5034
|
+
readonly includedRecordVersionIds: {
|
|
5035
|
+
readonly type: "array";
|
|
5036
|
+
readonly minItems: 1;
|
|
5037
|
+
readonly maxItems: 500;
|
|
5038
|
+
readonly items: {
|
|
5039
|
+
anyOf: {
|
|
5040
|
+
$ref: string;
|
|
5041
|
+
}[];
|
|
5042
|
+
type?: never;
|
|
5043
|
+
format?: never;
|
|
5044
|
+
} | {
|
|
5045
|
+
type: string;
|
|
5046
|
+
format: string;
|
|
5047
|
+
anyOf?: never;
|
|
5048
|
+
};
|
|
5049
|
+
};
|
|
5050
|
+
};
|
|
5051
|
+
}[];
|
|
4966
5052
|
};
|
|
4967
5053
|
};
|
|
4968
5054
|
};
|
|
5055
|
+
readonly type: "object";
|
|
5056
|
+
readonly additionalProperties: false;
|
|
5057
|
+
readonly $defs: Record<string, {
|
|
5058
|
+
type: "string";
|
|
5059
|
+
enum: string[];
|
|
5060
|
+
}>;
|
|
4969
5061
|
};
|
|
5062
|
+
export {};
|
|
4970
5063
|
//# sourceMappingURL=memory-contract.d.ts.map
|