@remnic/core 9.6.21 → 9.6.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access-operations.d.ts +3 -3
- package/dist/access-schema.d.ts +64 -64
- package/dist/schemas.d.ts +52 -52
- package/dist/shared-context/manager.d.ts +8 -8
- package/dist/transfer/types.d.ts +66 -66
- package/package.json +2 -2
|
@@ -126,14 +126,14 @@ interface MemoryStoreOutput {
|
|
|
126
126
|
}
|
|
127
127
|
declare const memoryStoreOperation: BoundOperation<{
|
|
128
128
|
content: string;
|
|
129
|
-
|
|
129
|
+
namespace?: string | undefined;
|
|
130
130
|
sessionKey?: string | undefined;
|
|
131
|
-
tags?: string[] | undefined;
|
|
132
131
|
dryRun?: boolean | undefined;
|
|
133
132
|
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
134
133
|
confidence?: number | undefined;
|
|
134
|
+
tags?: string[] | undefined;
|
|
135
135
|
entityRef?: string | undefined;
|
|
136
|
-
|
|
136
|
+
schemaVersion?: number | undefined;
|
|
137
137
|
cwd?: string | undefined;
|
|
138
138
|
ttl?: string | undefined;
|
|
139
139
|
sourceReason?: string | undefined;
|
package/dist/access-schema.d.ts
CHANGED
|
@@ -104,10 +104,10 @@ declare const recallRequestSchema: z.ZodObject<{
|
|
|
104
104
|
includeLowConfidence: z.ZodOptional<z.ZodBoolean>;
|
|
105
105
|
}, "strip", z.ZodTypeAny, {
|
|
106
106
|
query: string;
|
|
107
|
-
sessionKey?: string | undefined;
|
|
108
|
-
tags?: string[] | undefined;
|
|
109
107
|
namespace?: string | undefined;
|
|
110
108
|
mode?: "auto" | "no_recall" | "minimal" | "full" | "graph_mode" | undefined;
|
|
109
|
+
sessionKey?: string | undefined;
|
|
110
|
+
tags?: string[] | undefined;
|
|
111
111
|
cwd?: string | undefined;
|
|
112
112
|
codingContext?: {
|
|
113
113
|
branch: string | null;
|
|
@@ -125,10 +125,10 @@ declare const recallRequestSchema: z.ZodObject<{
|
|
|
125
125
|
tagMatch?: "all" | "any" | undefined;
|
|
126
126
|
}, {
|
|
127
127
|
query: string;
|
|
128
|
-
sessionKey?: string | undefined;
|
|
129
|
-
tags?: string[] | undefined;
|
|
130
128
|
namespace?: string | undefined;
|
|
131
129
|
mode?: "auto" | "no_recall" | "minimal" | "full" | "graph_mode" | undefined;
|
|
130
|
+
sessionKey?: string | undefined;
|
|
131
|
+
tags?: string[] | undefined;
|
|
132
132
|
cwd?: string | undefined;
|
|
133
133
|
codingContext?: {
|
|
134
134
|
branch: string | null;
|
|
@@ -149,11 +149,11 @@ declare const recallExplainRequestSchema: z.ZodObject<{
|
|
|
149
149
|
sessionKey: z.ZodOptional<z.ZodString>;
|
|
150
150
|
namespace: z.ZodOptional<z.ZodString>;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
|
-
sessionKey?: string | undefined;
|
|
153
152
|
namespace?: string | undefined;
|
|
154
|
-
}, {
|
|
155
153
|
sessionKey?: string | undefined;
|
|
154
|
+
}, {
|
|
156
155
|
namespace?: string | undefined;
|
|
156
|
+
sessionKey?: string | undefined;
|
|
157
157
|
}>;
|
|
158
158
|
/**
|
|
159
159
|
* Standalone "set coding context" request. Used by the HTTP endpoint
|
|
@@ -241,22 +241,22 @@ declare const observeRequestSchema: z.ZodObject<{
|
|
|
241
241
|
}, "strip", z.ZodTypeAny, {
|
|
242
242
|
kind: "text" | "tool_call" | "tool_result" | "patch" | "file_read" | "file_write" | "step_start" | "step_finish" | "snapshot" | "retry";
|
|
243
243
|
payload: Record<string, unknown>;
|
|
244
|
+
createdAt?: string | null | undefined;
|
|
244
245
|
ordinal?: number | null | undefined;
|
|
245
246
|
toolName?: string | null | undefined;
|
|
246
247
|
tool_name?: string | null | undefined;
|
|
247
248
|
filePath?: string | null | undefined;
|
|
248
249
|
file_path?: string | null | undefined;
|
|
249
|
-
createdAt?: string | null | undefined;
|
|
250
250
|
created_at?: string | null | undefined;
|
|
251
251
|
}, {
|
|
252
252
|
kind: "text" | "tool_call" | "tool_result" | "patch" | "file_read" | "file_write" | "step_start" | "step_finish" | "snapshot" | "retry";
|
|
253
253
|
payload: Record<string, unknown>;
|
|
254
|
+
createdAt?: string | null | undefined;
|
|
254
255
|
ordinal?: number | null | undefined;
|
|
255
256
|
toolName?: string | null | undefined;
|
|
256
257
|
tool_name?: string | null | undefined;
|
|
257
258
|
filePath?: string | null | undefined;
|
|
258
259
|
file_path?: string | null | undefined;
|
|
259
|
-
createdAt?: string | null | undefined;
|
|
260
260
|
created_at?: string | null | undefined;
|
|
261
261
|
}>, "many">>>;
|
|
262
262
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -265,12 +265,12 @@ declare const observeRequestSchema: z.ZodObject<{
|
|
|
265
265
|
parts?: {
|
|
266
266
|
kind: "text" | "tool_call" | "tool_result" | "patch" | "file_read" | "file_write" | "step_start" | "step_finish" | "snapshot" | "retry";
|
|
267
267
|
payload: Record<string, unknown>;
|
|
268
|
+
createdAt?: string | null | undefined;
|
|
268
269
|
ordinal?: number | null | undefined;
|
|
269
270
|
toolName?: string | null | undefined;
|
|
270
271
|
tool_name?: string | null | undefined;
|
|
271
272
|
filePath?: string | null | undefined;
|
|
272
273
|
file_path?: string | null | undefined;
|
|
273
|
-
createdAt?: string | null | undefined;
|
|
274
274
|
created_at?: string | null | undefined;
|
|
275
275
|
}[] | null | undefined;
|
|
276
276
|
sourceFormat?: "openai" | "anthropic" | "openclaw" | "pi" | "lossless-claw" | "remnic" | null | undefined;
|
|
@@ -281,12 +281,12 @@ declare const observeRequestSchema: z.ZodObject<{
|
|
|
281
281
|
parts?: {
|
|
282
282
|
kind: "text" | "tool_call" | "tool_result" | "patch" | "file_read" | "file_write" | "step_start" | "step_finish" | "snapshot" | "retry";
|
|
283
283
|
payload: Record<string, unknown>;
|
|
284
|
+
createdAt?: string | null | undefined;
|
|
284
285
|
ordinal?: number | null | undefined;
|
|
285
286
|
toolName?: string | null | undefined;
|
|
286
287
|
tool_name?: string | null | undefined;
|
|
287
288
|
filePath?: string | null | undefined;
|
|
288
289
|
file_path?: string | null | undefined;
|
|
289
|
-
createdAt?: string | null | undefined;
|
|
290
290
|
created_at?: string | null | undefined;
|
|
291
291
|
}[] | null | undefined;
|
|
292
292
|
sourceFormat?: "openai" | "anthropic" | "openclaw" | "pi" | "lossless-claw" | "remnic" | null | undefined;
|
|
@@ -317,12 +317,12 @@ declare const observeRequestSchema: z.ZodObject<{
|
|
|
317
317
|
parts?: {
|
|
318
318
|
kind: "text" | "tool_call" | "tool_result" | "patch" | "file_read" | "file_write" | "step_start" | "step_finish" | "snapshot" | "retry";
|
|
319
319
|
payload: Record<string, unknown>;
|
|
320
|
+
createdAt?: string | null | undefined;
|
|
320
321
|
ordinal?: number | null | undefined;
|
|
321
322
|
toolName?: string | null | undefined;
|
|
322
323
|
tool_name?: string | null | undefined;
|
|
323
324
|
filePath?: string | null | undefined;
|
|
324
325
|
file_path?: string | null | undefined;
|
|
325
|
-
createdAt?: string | null | undefined;
|
|
326
326
|
created_at?: string | null | undefined;
|
|
327
327
|
}[] | null | undefined;
|
|
328
328
|
sourceFormat?: "openai" | "anthropic" | "openclaw" | "pi" | "lossless-claw" | "remnic" | null | undefined;
|
|
@@ -341,12 +341,12 @@ declare const observeRequestSchema: z.ZodObject<{
|
|
|
341
341
|
parts?: {
|
|
342
342
|
kind: "text" | "tool_call" | "tool_result" | "patch" | "file_read" | "file_write" | "step_start" | "step_finish" | "snapshot" | "retry";
|
|
343
343
|
payload: Record<string, unknown>;
|
|
344
|
+
createdAt?: string | null | undefined;
|
|
344
345
|
ordinal?: number | null | undefined;
|
|
345
346
|
toolName?: string | null | undefined;
|
|
346
347
|
tool_name?: string | null | undefined;
|
|
347
348
|
filePath?: string | null | undefined;
|
|
348
349
|
file_path?: string | null | undefined;
|
|
349
|
-
createdAt?: string | null | undefined;
|
|
350
350
|
created_at?: string | null | undefined;
|
|
351
351
|
}[] | null | undefined;
|
|
352
352
|
sourceFormat?: "openai" | "anthropic" | "openclaw" | "pi" | "lossless-claw" | "remnic" | null | undefined;
|
|
@@ -375,14 +375,14 @@ declare const memoryStoreRequestSchema: z.ZodObject<{
|
|
|
375
375
|
projectTag: z.ZodOptional<z.ZodString>;
|
|
376
376
|
}, "strip", z.ZodTypeAny, {
|
|
377
377
|
content: string;
|
|
378
|
-
|
|
378
|
+
namespace?: string | undefined;
|
|
379
379
|
sessionKey?: string | undefined;
|
|
380
|
-
tags?: string[] | undefined;
|
|
381
380
|
dryRun?: boolean | undefined;
|
|
382
381
|
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
383
382
|
confidence?: number | undefined;
|
|
383
|
+
tags?: string[] | undefined;
|
|
384
384
|
entityRef?: string | undefined;
|
|
385
|
-
|
|
385
|
+
schemaVersion?: number | undefined;
|
|
386
386
|
cwd?: string | undefined;
|
|
387
387
|
ttl?: string | undefined;
|
|
388
388
|
sourceReason?: string | undefined;
|
|
@@ -390,14 +390,14 @@ declare const memoryStoreRequestSchema: z.ZodObject<{
|
|
|
390
390
|
projectTag?: string | undefined;
|
|
391
391
|
}, {
|
|
392
392
|
content: string;
|
|
393
|
-
|
|
393
|
+
namespace?: string | undefined;
|
|
394
394
|
sessionKey?: string | undefined;
|
|
395
|
-
tags?: string[] | undefined;
|
|
396
395
|
dryRun?: boolean | undefined;
|
|
397
396
|
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
398
397
|
confidence?: number | undefined;
|
|
398
|
+
tags?: string[] | undefined;
|
|
399
399
|
entityRef?: string | undefined;
|
|
400
|
-
|
|
400
|
+
schemaVersion?: number | undefined;
|
|
401
401
|
cwd?: string | undefined;
|
|
402
402
|
ttl?: string | undefined;
|
|
403
403
|
sourceReason?: string | undefined;
|
|
@@ -421,14 +421,14 @@ declare const suggestionSubmitRequestSchema: z.ZodObject<{
|
|
|
421
421
|
projectTag: z.ZodOptional<z.ZodString>;
|
|
422
422
|
}, "strip", z.ZodTypeAny, {
|
|
423
423
|
content: string;
|
|
424
|
-
|
|
424
|
+
namespace?: string | undefined;
|
|
425
425
|
sessionKey?: string | undefined;
|
|
426
|
-
tags?: string[] | undefined;
|
|
427
426
|
dryRun?: boolean | undefined;
|
|
428
427
|
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
429
428
|
confidence?: number | undefined;
|
|
429
|
+
tags?: string[] | undefined;
|
|
430
430
|
entityRef?: string | undefined;
|
|
431
|
-
|
|
431
|
+
schemaVersion?: number | undefined;
|
|
432
432
|
cwd?: string | undefined;
|
|
433
433
|
ttl?: string | undefined;
|
|
434
434
|
sourceReason?: string | undefined;
|
|
@@ -436,14 +436,14 @@ declare const suggestionSubmitRequestSchema: z.ZodObject<{
|
|
|
436
436
|
projectTag?: string | undefined;
|
|
437
437
|
}, {
|
|
438
438
|
content: string;
|
|
439
|
-
|
|
439
|
+
namespace?: string | undefined;
|
|
440
440
|
sessionKey?: string | undefined;
|
|
441
|
-
tags?: string[] | undefined;
|
|
442
441
|
dryRun?: boolean | undefined;
|
|
443
442
|
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
444
443
|
confidence?: number | undefined;
|
|
444
|
+
tags?: string[] | undefined;
|
|
445
445
|
entityRef?: string | undefined;
|
|
446
|
-
|
|
446
|
+
schemaVersion?: number | undefined;
|
|
447
447
|
cwd?: string | undefined;
|
|
448
448
|
ttl?: string | undefined;
|
|
449
449
|
sourceReason?: string | undefined;
|
|
@@ -456,14 +456,14 @@ declare const reviewDispositionRequestSchema: z.ZodObject<{
|
|
|
456
456
|
reasonCode: z.ZodString;
|
|
457
457
|
namespace: z.ZodOptional<z.ZodString>;
|
|
458
458
|
}, "strip", z.ZodTypeAny, {
|
|
459
|
+
reasonCode: string;
|
|
459
460
|
status: "active" | "pending_review" | "rejected" | "quarantined" | "superseded" | "archived";
|
|
460
461
|
memoryId: string;
|
|
461
|
-
reasonCode: string;
|
|
462
462
|
namespace?: string | undefined;
|
|
463
463
|
}, {
|
|
464
|
+
reasonCode: string;
|
|
464
465
|
status: "active" | "pending_review" | "rejected" | "quarantined" | "superseded" | "archived";
|
|
465
466
|
memoryId: string;
|
|
466
|
-
reasonCode: string;
|
|
467
467
|
namespace?: string | undefined;
|
|
468
468
|
}>;
|
|
469
469
|
declare const trustZonePromoteRequestSchema: z.ZodObject<{
|
|
@@ -478,18 +478,18 @@ declare const trustZonePromoteRequestSchema: z.ZodObject<{
|
|
|
478
478
|
recordId: string;
|
|
479
479
|
targetZone: "working" | "trusted";
|
|
480
480
|
promotionReason: string;
|
|
481
|
-
|
|
481
|
+
namespace?: string | undefined;
|
|
482
482
|
summary?: string | undefined;
|
|
483
483
|
dryRun?: boolean | undefined;
|
|
484
|
-
|
|
484
|
+
recordedAt?: string | undefined;
|
|
485
485
|
}, {
|
|
486
486
|
recordId: string;
|
|
487
487
|
targetZone: "working" | "trusted";
|
|
488
488
|
promotionReason: string;
|
|
489
|
-
|
|
489
|
+
namespace?: string | undefined;
|
|
490
490
|
summary?: string | undefined;
|
|
491
491
|
dryRun?: boolean | undefined;
|
|
492
|
-
|
|
492
|
+
recordedAt?: string | undefined;
|
|
493
493
|
}>;
|
|
494
494
|
declare const trustZoneDemoSeedRequestSchema: z.ZodObject<{
|
|
495
495
|
scenario: z.ZodOptional<z.ZodString>;
|
|
@@ -497,14 +497,14 @@ declare const trustZoneDemoSeedRequestSchema: z.ZodObject<{
|
|
|
497
497
|
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
498
498
|
namespace: z.ZodOptional<z.ZodString>;
|
|
499
499
|
}, "strip", z.ZodTypeAny, {
|
|
500
|
-
recordedAt?: string | undefined;
|
|
501
|
-
dryRun?: boolean | undefined;
|
|
502
500
|
namespace?: string | undefined;
|
|
501
|
+
dryRun?: boolean | undefined;
|
|
502
|
+
recordedAt?: string | undefined;
|
|
503
503
|
scenario?: string | undefined;
|
|
504
504
|
}, {
|
|
505
|
-
recordedAt?: string | undefined;
|
|
506
|
-
dryRun?: boolean | undefined;
|
|
507
505
|
namespace?: string | undefined;
|
|
506
|
+
dryRun?: boolean | undefined;
|
|
507
|
+
recordedAt?: string | undefined;
|
|
508
508
|
scenario?: string | undefined;
|
|
509
509
|
}>;
|
|
510
510
|
declare const lcmSearchRequestSchema: z.ZodObject<{
|
|
@@ -515,14 +515,14 @@ declare const lcmSearchRequestSchema: z.ZodObject<{
|
|
|
515
515
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
516
516
|
}, "strip", z.ZodTypeAny, {
|
|
517
517
|
query: string;
|
|
518
|
-
sessionKey?: string | undefined;
|
|
519
518
|
namespace?: string | undefined;
|
|
519
|
+
sessionKey?: string | undefined;
|
|
520
520
|
limit?: number | undefined;
|
|
521
521
|
sessionPrefix?: string | undefined;
|
|
522
522
|
}, {
|
|
523
523
|
query: string;
|
|
524
|
-
sessionKey?: string | undefined;
|
|
525
524
|
namespace?: string | undefined;
|
|
525
|
+
sessionKey?: string | undefined;
|
|
526
526
|
limit?: number | undefined;
|
|
527
527
|
sessionPrefix?: string | undefined;
|
|
528
528
|
}>;
|
|
@@ -558,13 +558,13 @@ declare const daySummaryRequestSchema: z.ZodObject<{
|
|
|
558
558
|
namespace: z.ZodOptional<z.ZodString>;
|
|
559
559
|
timeZone: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
560
560
|
}, "strip", z.ZodTypeAny, {
|
|
561
|
-
sessionKey?: string | undefined;
|
|
562
561
|
namespace?: string | undefined;
|
|
562
|
+
sessionKey?: string | undefined;
|
|
563
563
|
timeZone?: string | undefined;
|
|
564
564
|
memories?: string | undefined;
|
|
565
565
|
}, {
|
|
566
|
-
sessionKey?: string | undefined;
|
|
567
566
|
namespace?: string | undefined;
|
|
567
|
+
sessionKey?: string | undefined;
|
|
568
568
|
timeZone?: string | undefined;
|
|
569
569
|
memories?: string | undefined;
|
|
570
570
|
}>;
|
|
@@ -613,11 +613,11 @@ declare const capsuleListRequestSchema: z.ZodObject<{
|
|
|
613
613
|
namespace: z.ZodOptional<z.ZodString>;
|
|
614
614
|
sessionKey: z.ZodOptional<z.ZodString>;
|
|
615
615
|
}, "strip", z.ZodTypeAny, {
|
|
616
|
-
sessionKey?: string | undefined;
|
|
617
616
|
namespace?: string | undefined;
|
|
618
|
-
}, {
|
|
619
617
|
sessionKey?: string | undefined;
|
|
618
|
+
}, {
|
|
620
619
|
namespace?: string | undefined;
|
|
620
|
+
sessionKey?: string | undefined;
|
|
621
621
|
}>;
|
|
622
622
|
declare const offlineSyncSnapshotRequestSchema: z.ZodObject<{
|
|
623
623
|
namespace: z.ZodOptional<z.ZodString>;
|
|
@@ -705,21 +705,21 @@ declare const offlineSyncFileContentRequestSchema: z.ZodObject<{
|
|
|
705
705
|
length: z.ZodOptional<z.ZodNumber>;
|
|
706
706
|
}, "strip", z.ZodTypeAny, {
|
|
707
707
|
path: string;
|
|
708
|
-
length?: number | undefined;
|
|
709
708
|
namespace?: string | undefined;
|
|
709
|
+
length?: number | undefined;
|
|
710
710
|
offset?: number | undefined;
|
|
711
711
|
includeTranscripts?: boolean | undefined;
|
|
712
712
|
}, {
|
|
713
713
|
path: string;
|
|
714
|
-
length?: number | undefined;
|
|
715
714
|
namespace?: string | undefined;
|
|
715
|
+
length?: number | undefined;
|
|
716
716
|
offset?: number | undefined;
|
|
717
717
|
includeTranscripts?: boolean | undefined;
|
|
718
718
|
}>;
|
|
719
719
|
declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
720
720
|
intendedAction: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
|
|
721
721
|
confidence: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodNumber>>, number | undefined, number | null | undefined>;
|
|
722
|
-
risk: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEnum<["low", "medium", "high", "irreversible", "restricted"]>>>, NonNullable<"
|
|
722
|
+
risk: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEnum<["low", "medium", "high", "irreversible", "restricted"]>>>, NonNullable<"low" | "medium" | "high" | "irreversible" | "restricted"> | undefined, "low" | "medium" | "high" | "irreversible" | "restricted" | null | undefined>;
|
|
723
723
|
contextReadiness: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEnum<["none", "partial", "sufficient"]>>>, NonNullable<"none" | "partial" | "sufficient"> | undefined, "none" | "partial" | "sufficient" | null | undefined>;
|
|
724
724
|
currentContextScopes: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>, string[] | undefined, string[] | null | undefined>;
|
|
725
725
|
userRules: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -753,63 +753,63 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
753
753
|
confidence: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodNumber>>, number | undefined, number | null | undefined>;
|
|
754
754
|
stale: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>, boolean | undefined, boolean | null | undefined>;
|
|
755
755
|
corrected: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>, boolean | undefined, boolean | null | undefined>;
|
|
756
|
-
correctionState: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEnum<["none", "correction", "superseded", "disputed", "forgotten"]>>>, NonNullable<"
|
|
756
|
+
correctionState: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEnum<["none", "correction", "superseded", "disputed", "forgotten"]>>>, NonNullable<"superseded" | "forgotten" | "correction" | "none" | "disputed"> | undefined, "superseded" | "forgotten" | "correction" | "none" | "disputed" | null | undefined>;
|
|
757
757
|
safeToUse: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>, boolean | undefined, boolean | null | undefined>;
|
|
758
758
|
safety: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEnum<["safe", "requires-review", "blocked"]>>>, NonNullable<"safe" | "requires-review" | "blocked"> | undefined, "safe" | "requires-review" | "blocked" | null | undefined>;
|
|
759
759
|
safetyReasons: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>, string[] | undefined, string[] | null | undefined>;
|
|
760
760
|
}, "strict", z.ZodTypeAny, {
|
|
761
|
+
updated?: string | undefined;
|
|
762
|
+
confidence?: number | undefined;
|
|
761
763
|
source?: string | undefined;
|
|
762
764
|
stale?: boolean | undefined;
|
|
763
765
|
created?: string | undefined;
|
|
764
|
-
updated?: string | undefined;
|
|
765
|
-
confidence?: number | undefined;
|
|
766
766
|
scope?: string | undefined;
|
|
767
767
|
retrievalReason?: string | undefined;
|
|
768
768
|
safety?: NonNullable<"safe" | "requires-review" | "blocked"> | undefined;
|
|
769
769
|
safeToUse?: boolean | undefined;
|
|
770
|
-
correctionState?: NonNullable<"
|
|
770
|
+
correctionState?: NonNullable<"superseded" | "forgotten" | "correction" | "none" | "disputed"> | undefined;
|
|
771
771
|
corrected?: boolean | undefined;
|
|
772
772
|
safetyReasons?: string[] | undefined;
|
|
773
773
|
userContextScopes?: string[] | undefined;
|
|
774
774
|
}, {
|
|
775
|
+
updated?: string | null | undefined;
|
|
776
|
+
confidence?: number | null | undefined;
|
|
775
777
|
source?: string | null | undefined;
|
|
776
778
|
stale?: boolean | null | undefined;
|
|
777
779
|
created?: string | null | undefined;
|
|
778
|
-
updated?: string | null | undefined;
|
|
779
|
-
confidence?: number | null | undefined;
|
|
780
780
|
scope?: string | null | undefined;
|
|
781
781
|
retrievalReason?: string | null | undefined;
|
|
782
782
|
safety?: "safe" | "requires-review" | "blocked" | null | undefined;
|
|
783
783
|
safeToUse?: boolean | null | undefined;
|
|
784
|
-
correctionState?: "
|
|
784
|
+
correctionState?: "superseded" | "forgotten" | "correction" | "none" | "disputed" | null | undefined;
|
|
785
785
|
corrected?: boolean | null | undefined;
|
|
786
786
|
safetyReasons?: string[] | null | undefined;
|
|
787
787
|
userContextScopes?: string[] | null | undefined;
|
|
788
788
|
}>, "many">>>, {
|
|
789
|
+
updated?: string | undefined;
|
|
790
|
+
confidence?: number | undefined;
|
|
789
791
|
source?: string | undefined;
|
|
790
792
|
stale?: boolean | undefined;
|
|
791
793
|
created?: string | undefined;
|
|
792
|
-
updated?: string | undefined;
|
|
793
|
-
confidence?: number | undefined;
|
|
794
794
|
scope?: string | undefined;
|
|
795
795
|
retrievalReason?: string | undefined;
|
|
796
796
|
safety?: NonNullable<"safe" | "requires-review" | "blocked"> | undefined;
|
|
797
797
|
safeToUse?: boolean | undefined;
|
|
798
|
-
correctionState?: NonNullable<"
|
|
798
|
+
correctionState?: NonNullable<"superseded" | "forgotten" | "correction" | "none" | "disputed"> | undefined;
|
|
799
799
|
corrected?: boolean | undefined;
|
|
800
800
|
safetyReasons?: string[] | undefined;
|
|
801
801
|
userContextScopes?: string[] | undefined;
|
|
802
802
|
}[] | undefined, {
|
|
803
|
+
updated?: string | null | undefined;
|
|
804
|
+
confidence?: number | null | undefined;
|
|
803
805
|
source?: string | null | undefined;
|
|
804
806
|
stale?: boolean | null | undefined;
|
|
805
807
|
created?: string | null | undefined;
|
|
806
|
-
updated?: string | null | undefined;
|
|
807
|
-
confidence?: number | null | undefined;
|
|
808
808
|
scope?: string | null | undefined;
|
|
809
809
|
retrievalReason?: string | null | undefined;
|
|
810
810
|
safety?: "safe" | "requires-review" | "blocked" | null | undefined;
|
|
811
811
|
safeToUse?: boolean | null | undefined;
|
|
812
|
-
correctionState?: "
|
|
812
|
+
correctionState?: "superseded" | "forgotten" | "correction" | "none" | "disputed" | null | undefined;
|
|
813
813
|
corrected?: boolean | null | undefined;
|
|
814
814
|
safetyReasons?: string[] | null | undefined;
|
|
815
815
|
userContextScopes?: string[] | null | undefined;
|
|
@@ -818,7 +818,7 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
818
818
|
confidence?: number | undefined;
|
|
819
819
|
currentContextScopes?: string[] | undefined;
|
|
820
820
|
intendedAction?: string | undefined;
|
|
821
|
-
risk?: NonNullable<"
|
|
821
|
+
risk?: NonNullable<"low" | "medium" | "high" | "irreversible" | "restricted"> | undefined;
|
|
822
822
|
contextReadiness?: NonNullable<"none" | "partial" | "sufficient"> | undefined;
|
|
823
823
|
userRules?: {
|
|
824
824
|
kind: "never" | "do-not-use-outside-this-context" | "ask-before" | "requires-escalation";
|
|
@@ -826,16 +826,16 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
826
826
|
matched?: boolean | undefined;
|
|
827
827
|
}[] | undefined;
|
|
828
828
|
retrievedMemories?: {
|
|
829
|
+
updated?: string | undefined;
|
|
830
|
+
confidence?: number | undefined;
|
|
829
831
|
source?: string | undefined;
|
|
830
832
|
stale?: boolean | undefined;
|
|
831
833
|
created?: string | undefined;
|
|
832
|
-
updated?: string | undefined;
|
|
833
|
-
confidence?: number | undefined;
|
|
834
834
|
scope?: string | undefined;
|
|
835
835
|
retrievalReason?: string | undefined;
|
|
836
836
|
safety?: NonNullable<"safe" | "requires-review" | "blocked"> | undefined;
|
|
837
837
|
safeToUse?: boolean | undefined;
|
|
838
|
-
correctionState?: NonNullable<"
|
|
838
|
+
correctionState?: NonNullable<"superseded" | "forgotten" | "correction" | "none" | "disputed"> | undefined;
|
|
839
839
|
corrected?: boolean | undefined;
|
|
840
840
|
safetyReasons?: string[] | undefined;
|
|
841
841
|
userContextScopes?: string[] | undefined;
|
|
@@ -844,7 +844,7 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
844
844
|
confidence?: number | null | undefined;
|
|
845
845
|
currentContextScopes?: string[] | null | undefined;
|
|
846
846
|
intendedAction?: string | null | undefined;
|
|
847
|
-
risk?: "
|
|
847
|
+
risk?: "low" | "medium" | "high" | "irreversible" | "restricted" | null | undefined;
|
|
848
848
|
contextReadiness?: "none" | "partial" | "sufficient" | null | undefined;
|
|
849
849
|
userRules?: {
|
|
850
850
|
kind: "never" | "do-not-use-outside-this-context" | "ask-before" | "requires-escalation";
|
|
@@ -852,16 +852,16 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
852
852
|
matched?: boolean | null | undefined;
|
|
853
853
|
}[] | null | undefined;
|
|
854
854
|
retrievedMemories?: {
|
|
855
|
+
updated?: string | null | undefined;
|
|
856
|
+
confidence?: number | null | undefined;
|
|
855
857
|
source?: string | null | undefined;
|
|
856
858
|
stale?: boolean | null | undefined;
|
|
857
859
|
created?: string | null | undefined;
|
|
858
|
-
updated?: string | null | undefined;
|
|
859
|
-
confidence?: number | null | undefined;
|
|
860
860
|
scope?: string | null | undefined;
|
|
861
861
|
retrievalReason?: string | null | undefined;
|
|
862
862
|
safety?: "safe" | "requires-review" | "blocked" | null | undefined;
|
|
863
863
|
safeToUse?: boolean | null | undefined;
|
|
864
|
-
correctionState?: "
|
|
864
|
+
correctionState?: "superseded" | "forgotten" | "correction" | "none" | "disputed" | null | undefined;
|
|
865
865
|
corrected?: boolean | null | undefined;
|
|
866
866
|
safetyReasons?: string[] | null | undefined;
|
|
867
867
|
userContextScopes?: string[] | null | undefined;
|
package/dist/schemas.d.ts
CHANGED
|
@@ -7,13 +7,13 @@ declare const MemoryActionEligibilityContextSchema: z.ZodObject<{
|
|
|
7
7
|
importance: z.ZodNumber;
|
|
8
8
|
source: z.ZodEnum<["extraction", "consolidation", "replay", "manual", "unknown"]>;
|
|
9
9
|
}, "strict", z.ZodTypeAny, {
|
|
10
|
-
source: "manual" | "extraction" | "consolidation" | "replay" | "unknown";
|
|
11
10
|
confidence: number;
|
|
11
|
+
source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
|
|
12
12
|
lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
|
|
13
13
|
importance: number;
|
|
14
14
|
}, {
|
|
15
|
-
source: "manual" | "extraction" | "consolidation" | "replay" | "unknown";
|
|
16
15
|
confidence: number;
|
|
16
|
+
source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
|
|
17
17
|
lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
|
|
18
18
|
importance: number;
|
|
19
19
|
}>;
|
|
@@ -152,10 +152,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
152
152
|
eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
153
153
|
event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
154
154
|
}, "strip", z.ZodTypeAny, {
|
|
155
|
-
tags: string[];
|
|
156
|
-
content: string;
|
|
157
155
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
156
|
+
content: string;
|
|
158
157
|
confidence: number;
|
|
158
|
+
tags: string[];
|
|
159
159
|
entityRef?: string | null | undefined;
|
|
160
160
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
161
161
|
quote?: string | null | undefined;
|
|
@@ -184,10 +184,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
184
184
|
eventTime?: string | null | undefined;
|
|
185
185
|
event_time?: string | null | undefined;
|
|
186
186
|
}, {
|
|
187
|
-
tags: string[];
|
|
188
|
-
content: string;
|
|
189
187
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
188
|
+
content: string;
|
|
190
189
|
confidence: number;
|
|
190
|
+
tags: string[];
|
|
191
191
|
entityRef?: string | null | undefined;
|
|
192
192
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
193
193
|
quote?: string | null | undefined;
|
|
@@ -216,10 +216,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
216
216
|
eventTime?: string | null | undefined;
|
|
217
217
|
event_time?: string | null | undefined;
|
|
218
218
|
}>, {
|
|
219
|
-
tags: string[];
|
|
220
|
-
content: string;
|
|
221
219
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
220
|
+
content: string;
|
|
222
221
|
confidence: number;
|
|
222
|
+
tags: string[];
|
|
223
223
|
entityRef?: string | null | undefined;
|
|
224
224
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
225
225
|
quote?: string | null | undefined;
|
|
@@ -248,10 +248,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
|
|
|
248
248
|
eventTime?: string | null | undefined;
|
|
249
249
|
event_time?: string | null | undefined;
|
|
250
250
|
}, {
|
|
251
|
-
tags: string[];
|
|
252
|
-
content: string;
|
|
253
251
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
252
|
+
content: string;
|
|
254
253
|
confidence: number;
|
|
254
|
+
tags: string[];
|
|
255
255
|
entityRef?: string | null | undefined;
|
|
256
256
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
257
257
|
quote?: string | null | undefined;
|
|
@@ -365,14 +365,14 @@ declare const ExtractedRelationshipSchema: z.ZodObject<{
|
|
|
365
365
|
label: z.ZodString;
|
|
366
366
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
367
367
|
}, "strip", z.ZodTypeAny, {
|
|
368
|
+
label: string;
|
|
368
369
|
source: string;
|
|
369
370
|
target: string;
|
|
370
|
-
label: string;
|
|
371
371
|
promptedByQuestion?: string | null | undefined;
|
|
372
372
|
}, {
|
|
373
|
+
label: string;
|
|
373
374
|
source: string;
|
|
374
375
|
target: string;
|
|
375
|
-
label: string;
|
|
376
376
|
promptedByQuestion?: string | null | undefined;
|
|
377
377
|
}>;
|
|
378
378
|
declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
@@ -475,10 +475,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
475
475
|
eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
476
476
|
event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
477
477
|
}, "strip", z.ZodTypeAny, {
|
|
478
|
-
tags: string[];
|
|
479
|
-
content: string;
|
|
480
478
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
479
|
+
content: string;
|
|
481
480
|
confidence: number;
|
|
481
|
+
tags: string[];
|
|
482
482
|
entityRef?: string | null | undefined;
|
|
483
483
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
484
484
|
quote?: string | null | undefined;
|
|
@@ -507,10 +507,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
507
507
|
eventTime?: string | null | undefined;
|
|
508
508
|
event_time?: string | null | undefined;
|
|
509
509
|
}, {
|
|
510
|
-
tags: string[];
|
|
511
|
-
content: string;
|
|
512
510
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
511
|
+
content: string;
|
|
513
512
|
confidence: number;
|
|
513
|
+
tags: string[];
|
|
514
514
|
entityRef?: string | null | undefined;
|
|
515
515
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
516
516
|
quote?: string | null | undefined;
|
|
@@ -539,10 +539,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
539
539
|
eventTime?: string | null | undefined;
|
|
540
540
|
event_time?: string | null | undefined;
|
|
541
541
|
}>, {
|
|
542
|
-
tags: string[];
|
|
543
|
-
content: string;
|
|
544
542
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
543
|
+
content: string;
|
|
545
544
|
confidence: number;
|
|
545
|
+
tags: string[];
|
|
546
546
|
entityRef?: string | null | undefined;
|
|
547
547
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
548
548
|
quote?: string | null | undefined;
|
|
@@ -571,10 +571,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
571
571
|
eventTime?: string | null | undefined;
|
|
572
572
|
event_time?: string | null | undefined;
|
|
573
573
|
}, {
|
|
574
|
-
tags: string[];
|
|
575
|
-
content: string;
|
|
576
574
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
575
|
+
content: string;
|
|
577
576
|
confidence: number;
|
|
577
|
+
tags: string[];
|
|
578
578
|
entityRef?: string | null | undefined;
|
|
579
579
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
580
580
|
quote?: string | null | undefined;
|
|
@@ -649,22 +649,22 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
649
649
|
label: z.ZodString;
|
|
650
650
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
651
651
|
}, "strip", z.ZodTypeAny, {
|
|
652
|
+
label: string;
|
|
652
653
|
source: string;
|
|
653
654
|
target: string;
|
|
654
|
-
label: string;
|
|
655
655
|
promptedByQuestion?: string | null | undefined;
|
|
656
656
|
}, {
|
|
657
|
+
label: string;
|
|
657
658
|
source: string;
|
|
658
659
|
target: string;
|
|
659
|
-
label: string;
|
|
660
660
|
promptedByQuestion?: string | null | undefined;
|
|
661
661
|
}>, "many">>>;
|
|
662
662
|
}, "strip", z.ZodTypeAny, {
|
|
663
663
|
facts: {
|
|
664
|
-
tags: string[];
|
|
665
|
-
content: string;
|
|
666
664
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
665
|
+
content: string;
|
|
667
666
|
confidence: number;
|
|
667
|
+
tags: string[];
|
|
668
668
|
entityRef?: string | null | undefined;
|
|
669
669
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
670
670
|
quote?: string | null | undefined;
|
|
@@ -706,17 +706,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
706
706
|
}[];
|
|
707
707
|
profileUpdates: string[];
|
|
708
708
|
relationships?: {
|
|
709
|
+
label: string;
|
|
709
710
|
source: string;
|
|
710
711
|
target: string;
|
|
711
|
-
label: string;
|
|
712
712
|
promptedByQuestion?: string | null | undefined;
|
|
713
713
|
}[] | null | undefined;
|
|
714
714
|
}, {
|
|
715
715
|
facts: {
|
|
716
|
-
tags: string[];
|
|
717
|
-
content: string;
|
|
718
716
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
717
|
+
content: string;
|
|
719
718
|
confidence: number;
|
|
719
|
+
tags: string[];
|
|
720
720
|
entityRef?: string | null | undefined;
|
|
721
721
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
722
722
|
quote?: string | null | undefined;
|
|
@@ -758,9 +758,9 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
758
758
|
}[];
|
|
759
759
|
profileUpdates: string[];
|
|
760
760
|
relationships?: {
|
|
761
|
+
label: string;
|
|
761
762
|
source: string;
|
|
762
763
|
target: string;
|
|
763
|
-
label: string;
|
|
764
764
|
promptedByQuestion?: string | null | undefined;
|
|
765
765
|
}[] | null | undefined;
|
|
766
766
|
}>;
|
|
@@ -864,10 +864,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
864
864
|
eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
865
865
|
event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
866
866
|
}, "strip", z.ZodTypeAny, {
|
|
867
|
-
tags: string[];
|
|
868
|
-
content: string;
|
|
869
867
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
868
|
+
content: string;
|
|
870
869
|
confidence: number;
|
|
870
|
+
tags: string[];
|
|
871
871
|
entityRef?: string | null | undefined;
|
|
872
872
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
873
873
|
quote?: string | null | undefined;
|
|
@@ -896,10 +896,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
896
896
|
eventTime?: string | null | undefined;
|
|
897
897
|
event_time?: string | null | undefined;
|
|
898
898
|
}, {
|
|
899
|
-
tags: string[];
|
|
900
|
-
content: string;
|
|
901
899
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
900
|
+
content: string;
|
|
902
901
|
confidence: number;
|
|
902
|
+
tags: string[];
|
|
903
903
|
entityRef?: string | null | undefined;
|
|
904
904
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
905
905
|
quote?: string | null | undefined;
|
|
@@ -928,10 +928,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
928
928
|
eventTime?: string | null | undefined;
|
|
929
929
|
event_time?: string | null | undefined;
|
|
930
930
|
}>, {
|
|
931
|
-
tags: string[];
|
|
932
|
-
content: string;
|
|
933
931
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
932
|
+
content: string;
|
|
934
933
|
confidence: number;
|
|
934
|
+
tags: string[];
|
|
935
935
|
entityRef?: string | null | undefined;
|
|
936
936
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
937
937
|
quote?: string | null | undefined;
|
|
@@ -960,10 +960,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
960
960
|
eventTime?: string | null | undefined;
|
|
961
961
|
event_time?: string | null | undefined;
|
|
962
962
|
}, {
|
|
963
|
-
tags: string[];
|
|
964
|
-
content: string;
|
|
965
963
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
964
|
+
content: string;
|
|
966
965
|
confidence: number;
|
|
966
|
+
tags: string[];
|
|
967
967
|
entityRef?: string | null | undefined;
|
|
968
968
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
969
969
|
quote?: string | null | undefined;
|
|
@@ -1052,14 +1052,14 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1052
1052
|
label: z.ZodString;
|
|
1053
1053
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1054
1054
|
}, "strip", z.ZodTypeAny, {
|
|
1055
|
+
label: string;
|
|
1055
1056
|
source: string;
|
|
1056
1057
|
target: string;
|
|
1057
|
-
label: string;
|
|
1058
1058
|
promptedByQuestion?: string | null | undefined;
|
|
1059
1059
|
}, {
|
|
1060
|
+
label: string;
|
|
1060
1061
|
source: string;
|
|
1061
1062
|
target: string;
|
|
1062
|
-
label: string;
|
|
1063
1063
|
promptedByQuestion?: string | null | undefined;
|
|
1064
1064
|
}>, "many">>>;
|
|
1065
1065
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1069,10 +1069,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1069
1069
|
context: string;
|
|
1070
1070
|
}[];
|
|
1071
1071
|
facts: {
|
|
1072
|
-
tags: string[];
|
|
1073
|
-
content: string;
|
|
1074
1072
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1073
|
+
content: string;
|
|
1075
1074
|
confidence: number;
|
|
1075
|
+
tags: string[];
|
|
1076
1076
|
entityRef?: string | null | undefined;
|
|
1077
1077
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1078
1078
|
quote?: string | null | undefined;
|
|
@@ -1114,9 +1114,9 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1114
1114
|
}[];
|
|
1115
1115
|
profileUpdates: string[];
|
|
1116
1116
|
relationships?: {
|
|
1117
|
+
label: string;
|
|
1117
1118
|
source: string;
|
|
1118
1119
|
target: string;
|
|
1119
|
-
label: string;
|
|
1120
1120
|
promptedByQuestion?: string | null | undefined;
|
|
1121
1121
|
}[] | null | undefined;
|
|
1122
1122
|
identityReflection?: string | null | undefined;
|
|
@@ -1127,10 +1127,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1127
1127
|
context: string;
|
|
1128
1128
|
}[];
|
|
1129
1129
|
facts: {
|
|
1130
|
-
tags: string[];
|
|
1131
|
-
content: string;
|
|
1132
1130
|
category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
|
|
1131
|
+
content: string;
|
|
1133
1132
|
confidence: number;
|
|
1133
|
+
tags: string[];
|
|
1134
1134
|
entityRef?: string | null | undefined;
|
|
1135
1135
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
1136
1136
|
quote?: string | null | undefined;
|
|
@@ -1172,9 +1172,9 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1172
1172
|
}[];
|
|
1173
1173
|
profileUpdates: string[];
|
|
1174
1174
|
relationships?: {
|
|
1175
|
+
label: string;
|
|
1175
1176
|
source: string;
|
|
1176
1177
|
target: string;
|
|
1177
|
-
label: string;
|
|
1178
1178
|
promptedByQuestion?: string | null | undefined;
|
|
1179
1179
|
}[] | null | undefined;
|
|
1180
1180
|
identityReflection?: string | null | undefined;
|
|
@@ -1342,13 +1342,13 @@ declare const ContradictionVerificationSchema: z.ZodObject<{
|
|
|
1342
1342
|
reasoning: z.ZodString;
|
|
1343
1343
|
whichIsNewer: z.ZodEnum<["first", "second", "unclear"]>;
|
|
1344
1344
|
}, "strip", z.ZodTypeAny, {
|
|
1345
|
-
reasoning: string;
|
|
1346
1345
|
confidence: number;
|
|
1346
|
+
reasoning: string;
|
|
1347
1347
|
isContradiction: boolean;
|
|
1348
1348
|
whichIsNewer: "second" | "first" | "unclear";
|
|
1349
1349
|
}, {
|
|
1350
|
-
reasoning: string;
|
|
1351
1350
|
confidence: number;
|
|
1351
|
+
reasoning: string;
|
|
1352
1352
|
isContradiction: boolean;
|
|
1353
1353
|
whichIsNewer: "second" | "first" | "unclear";
|
|
1354
1354
|
}>;
|
|
@@ -1443,8 +1443,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
|
|
|
1443
1443
|
reason: z.ZodString;
|
|
1444
1444
|
appliedAt: z.ZodString;
|
|
1445
1445
|
}, "strip", z.ZodTypeAny, {
|
|
1446
|
-
confidence: number;
|
|
1447
1446
|
reason: string;
|
|
1447
|
+
confidence: number;
|
|
1448
1448
|
parameter: string;
|
|
1449
1449
|
previousValue: number;
|
|
1450
1450
|
nextValue: number;
|
|
@@ -1452,8 +1452,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
|
|
|
1452
1452
|
evidenceCount: number;
|
|
1453
1453
|
appliedAt: string;
|
|
1454
1454
|
}, {
|
|
1455
|
-
confidence: number;
|
|
1456
1455
|
reason: string;
|
|
1456
|
+
confidence: number;
|
|
1457
1457
|
parameter: string;
|
|
1458
1458
|
previousValue: number;
|
|
1459
1459
|
nextValue: number;
|
|
@@ -1477,8 +1477,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1477
1477
|
reason: z.ZodString;
|
|
1478
1478
|
appliedAt: z.ZodString;
|
|
1479
1479
|
}, "strip", z.ZodTypeAny, {
|
|
1480
|
-
confidence: number;
|
|
1481
1480
|
reason: string;
|
|
1481
|
+
confidence: number;
|
|
1482
1482
|
parameter: string;
|
|
1483
1483
|
previousValue: number;
|
|
1484
1484
|
nextValue: number;
|
|
@@ -1486,8 +1486,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1486
1486
|
evidenceCount: number;
|
|
1487
1487
|
appliedAt: string;
|
|
1488
1488
|
}, {
|
|
1489
|
-
confidence: number;
|
|
1490
1489
|
reason: string;
|
|
1490
|
+
confidence: number;
|
|
1491
1491
|
parameter: string;
|
|
1492
1492
|
previousValue: number;
|
|
1493
1493
|
nextValue: number;
|
|
@@ -1504,8 +1504,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1504
1504
|
maxDeltaPerCycle: number;
|
|
1505
1505
|
protectedParams: string[];
|
|
1506
1506
|
adjustments: {
|
|
1507
|
-
confidence: number;
|
|
1508
1507
|
reason: string;
|
|
1508
|
+
confidence: number;
|
|
1509
1509
|
parameter: string;
|
|
1510
1510
|
previousValue: number;
|
|
1511
1511
|
nextValue: number;
|
|
@@ -1521,8 +1521,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
|
|
|
1521
1521
|
maxDeltaPerCycle: number;
|
|
1522
1522
|
protectedParams: string[];
|
|
1523
1523
|
adjustments: {
|
|
1524
|
-
confidence: number;
|
|
1525
1524
|
reason: string;
|
|
1525
|
+
confidence: number;
|
|
1526
1526
|
parameter: string;
|
|
1527
1527
|
previousValue: number;
|
|
1528
1528
|
nextValue: number;
|
|
@@ -17,29 +17,29 @@ declare const SharedFeedbackEntrySchema: z.ZodObject<{
|
|
|
17
17
|
evidenceWindowEnd: z.ZodOptional<z.ZodString>;
|
|
18
18
|
refs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
reason: string;
|
|
20
21
|
decision: "rejected" | "approved" | "approved_with_feedback";
|
|
21
22
|
date: string;
|
|
22
|
-
reason: string;
|
|
23
23
|
agent: string;
|
|
24
|
-
|
|
25
|
-
tags?: string[] | undefined;
|
|
24
|
+
severity?: "low" | "medium" | "high" | undefined;
|
|
26
25
|
confidence?: number | undefined;
|
|
26
|
+
tags?: string[] | undefined;
|
|
27
|
+
workflow?: string | undefined;
|
|
27
28
|
outcome?: string | undefined;
|
|
28
|
-
severity?: "high" | "low" | "medium" | undefined;
|
|
29
29
|
refs?: string[] | undefined;
|
|
30
30
|
learning?: string | undefined;
|
|
31
31
|
evidenceWindowStart?: string | undefined;
|
|
32
32
|
evidenceWindowEnd?: string | undefined;
|
|
33
33
|
}, {
|
|
34
|
+
reason: string;
|
|
34
35
|
decision: "rejected" | "approved" | "approved_with_feedback";
|
|
35
36
|
date: string;
|
|
36
|
-
reason: string;
|
|
37
37
|
agent: string;
|
|
38
|
-
|
|
39
|
-
tags?: string[] | undefined;
|
|
38
|
+
severity?: "low" | "medium" | "high" | undefined;
|
|
40
39
|
confidence?: number | undefined;
|
|
40
|
+
tags?: string[] | undefined;
|
|
41
|
+
workflow?: string | undefined;
|
|
41
42
|
outcome?: string | undefined;
|
|
42
|
-
severity?: "high" | "low" | "medium" | undefined;
|
|
43
43
|
refs?: string[] | undefined;
|
|
44
44
|
learning?: string | undefined;
|
|
45
45
|
evidenceWindowStart?: string | undefined;
|
package/dist/transfer/types.d.ts
CHANGED
|
@@ -20,26 +20,26 @@ declare const ExportManifestV1Schema: z.ZodObject<{
|
|
|
20
20
|
bytes: number;
|
|
21
21
|
}>, "many">;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
|
-
|
|
23
|
+
format: "openclaw-engram-export";
|
|
24
24
|
createdAt: string;
|
|
25
|
+
pluginVersion: string;
|
|
25
26
|
files: {
|
|
26
27
|
path: string;
|
|
27
28
|
sha256: string;
|
|
28
29
|
bytes: number;
|
|
29
30
|
}[];
|
|
30
|
-
|
|
31
|
-
pluginVersion: string;
|
|
31
|
+
schemaVersion: 1;
|
|
32
32
|
includesTranscripts: boolean;
|
|
33
33
|
}, {
|
|
34
|
-
|
|
34
|
+
format: "openclaw-engram-export";
|
|
35
35
|
createdAt: string;
|
|
36
|
+
pluginVersion: string;
|
|
36
37
|
files: {
|
|
37
38
|
path: string;
|
|
38
39
|
sha256: string;
|
|
39
40
|
bytes: number;
|
|
40
41
|
}[];
|
|
41
|
-
|
|
42
|
-
pluginVersion: string;
|
|
42
|
+
schemaVersion: 1;
|
|
43
43
|
includesTranscripts: boolean;
|
|
44
44
|
}>;
|
|
45
45
|
type ExportManifestV1 = z.infer<typeof ExportManifestV1Schema>;
|
|
@@ -75,26 +75,26 @@ declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
75
75
|
bytes: number;
|
|
76
76
|
}>, "many">;
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
|
-
|
|
78
|
+
format: "openclaw-engram-export";
|
|
79
79
|
createdAt: string;
|
|
80
|
+
pluginVersion: string;
|
|
80
81
|
files: {
|
|
81
82
|
path: string;
|
|
82
83
|
sha256: string;
|
|
83
84
|
bytes: number;
|
|
84
85
|
}[];
|
|
85
|
-
|
|
86
|
-
pluginVersion: string;
|
|
86
|
+
schemaVersion: 1;
|
|
87
87
|
includesTranscripts: boolean;
|
|
88
88
|
}, {
|
|
89
|
-
|
|
89
|
+
format: "openclaw-engram-export";
|
|
90
90
|
createdAt: string;
|
|
91
|
+
pluginVersion: string;
|
|
91
92
|
files: {
|
|
92
93
|
path: string;
|
|
93
94
|
sha256: string;
|
|
94
95
|
bytes: number;
|
|
95
96
|
}[];
|
|
96
|
-
|
|
97
|
-
pluginVersion: string;
|
|
97
|
+
schemaVersion: 1;
|
|
98
98
|
includesTranscripts: boolean;
|
|
99
99
|
}>;
|
|
100
100
|
records: z.ZodArray<z.ZodObject<{
|
|
@@ -109,15 +109,15 @@ declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
109
109
|
}>, "many">;
|
|
110
110
|
}, "strip", z.ZodTypeAny, {
|
|
111
111
|
manifest: {
|
|
112
|
-
|
|
112
|
+
format: "openclaw-engram-export";
|
|
113
113
|
createdAt: string;
|
|
114
|
+
pluginVersion: string;
|
|
114
115
|
files: {
|
|
115
116
|
path: string;
|
|
116
117
|
sha256: string;
|
|
117
118
|
bytes: number;
|
|
118
119
|
}[];
|
|
119
|
-
|
|
120
|
-
pluginVersion: string;
|
|
120
|
+
schemaVersion: 1;
|
|
121
121
|
includesTranscripts: boolean;
|
|
122
122
|
};
|
|
123
123
|
records: {
|
|
@@ -126,15 +126,15 @@ declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
126
126
|
}[];
|
|
127
127
|
}, {
|
|
128
128
|
manifest: {
|
|
129
|
-
|
|
129
|
+
format: "openclaw-engram-export";
|
|
130
130
|
createdAt: string;
|
|
131
|
+
pluginVersion: string;
|
|
131
132
|
files: {
|
|
132
133
|
path: string;
|
|
133
134
|
sha256: string;
|
|
134
135
|
bytes: number;
|
|
135
136
|
}[];
|
|
136
|
-
|
|
137
|
-
pluginVersion: string;
|
|
137
|
+
schemaVersion: 1;
|
|
138
138
|
includesTranscripts: boolean;
|
|
139
139
|
};
|
|
140
140
|
records: {
|
|
@@ -319,10 +319,10 @@ declare const CapsuleBlockSchema: z.ZodObject<{
|
|
|
319
319
|
identityAnchors: boolean;
|
|
320
320
|
peerProfiles: boolean;
|
|
321
321
|
};
|
|
322
|
-
|
|
322
|
+
description: string;
|
|
323
323
|
id: string;
|
|
324
|
+
schemaVersion: string;
|
|
324
325
|
version: string;
|
|
325
|
-
description: string;
|
|
326
326
|
parentCapsule: string | null;
|
|
327
327
|
retrievalPolicy: {
|
|
328
328
|
tierWeights: Record<string, number>;
|
|
@@ -340,10 +340,10 @@ declare const CapsuleBlockSchema: z.ZodObject<{
|
|
|
340
340
|
identityAnchors: boolean;
|
|
341
341
|
peerProfiles: boolean;
|
|
342
342
|
};
|
|
343
|
-
|
|
343
|
+
description: string;
|
|
344
344
|
id: string;
|
|
345
|
+
schemaVersion: string;
|
|
345
346
|
version: string;
|
|
346
|
-
description: string;
|
|
347
347
|
parentCapsule: string | null;
|
|
348
348
|
retrievalPolicy: {
|
|
349
349
|
tierWeights: Record<string, number>;
|
|
@@ -470,10 +470,10 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
470
470
|
identityAnchors: boolean;
|
|
471
471
|
peerProfiles: boolean;
|
|
472
472
|
};
|
|
473
|
-
|
|
473
|
+
description: string;
|
|
474
474
|
id: string;
|
|
475
|
+
schemaVersion: string;
|
|
475
476
|
version: string;
|
|
476
|
-
description: string;
|
|
477
477
|
parentCapsule: string | null;
|
|
478
478
|
retrievalPolicy: {
|
|
479
479
|
tierWeights: Record<string, number>;
|
|
@@ -491,10 +491,10 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
491
491
|
identityAnchors: boolean;
|
|
492
492
|
peerProfiles: boolean;
|
|
493
493
|
};
|
|
494
|
-
|
|
494
|
+
description: string;
|
|
495
495
|
id: string;
|
|
496
|
+
schemaVersion: string;
|
|
496
497
|
version: string;
|
|
497
|
-
description: string;
|
|
498
498
|
parentCapsule: string | null;
|
|
499
499
|
retrievalPolicy: {
|
|
500
500
|
tierWeights: Record<string, number>;
|
|
@@ -507,16 +507,14 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
507
507
|
} | null | undefined;
|
|
508
508
|
}>;
|
|
509
509
|
}, "strip", z.ZodTypeAny, {
|
|
510
|
-
|
|
510
|
+
format: "openclaw-engram-export";
|
|
511
511
|
createdAt: string;
|
|
512
|
+
pluginVersion: string;
|
|
512
513
|
files: {
|
|
513
514
|
path: string;
|
|
514
515
|
sha256: string;
|
|
515
516
|
bytes: number;
|
|
516
517
|
}[];
|
|
517
|
-
format: "openclaw-engram-export";
|
|
518
|
-
pluginVersion: string;
|
|
519
|
-
includesTranscripts: boolean;
|
|
520
518
|
capsule: {
|
|
521
519
|
includes: {
|
|
522
520
|
procedural: boolean;
|
|
@@ -524,10 +522,10 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
524
522
|
identityAnchors: boolean;
|
|
525
523
|
peerProfiles: boolean;
|
|
526
524
|
};
|
|
527
|
-
|
|
525
|
+
description: string;
|
|
528
526
|
id: string;
|
|
527
|
+
schemaVersion: string;
|
|
529
528
|
version: string;
|
|
530
|
-
description: string;
|
|
531
529
|
parentCapsule: string | null;
|
|
532
530
|
retrievalPolicy: {
|
|
533
531
|
tierWeights: Record<string, number>;
|
|
@@ -539,17 +537,17 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
539
537
|
forkRoot: string;
|
|
540
538
|
} | null;
|
|
541
539
|
};
|
|
542
|
-
}, {
|
|
543
540
|
schemaVersion: 2;
|
|
541
|
+
includesTranscripts: boolean;
|
|
542
|
+
}, {
|
|
543
|
+
format: "openclaw-engram-export";
|
|
544
544
|
createdAt: string;
|
|
545
|
+
pluginVersion: string;
|
|
545
546
|
files: {
|
|
546
547
|
path: string;
|
|
547
548
|
sha256: string;
|
|
548
549
|
bytes: number;
|
|
549
550
|
}[];
|
|
550
|
-
format: "openclaw-engram-export";
|
|
551
|
-
pluginVersion: string;
|
|
552
|
-
includesTranscripts: boolean;
|
|
553
551
|
capsule: {
|
|
554
552
|
includes: {
|
|
555
553
|
procedural: boolean;
|
|
@@ -557,10 +555,10 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
557
555
|
identityAnchors: boolean;
|
|
558
556
|
peerProfiles: boolean;
|
|
559
557
|
};
|
|
560
|
-
|
|
558
|
+
description: string;
|
|
561
559
|
id: string;
|
|
560
|
+
schemaVersion: string;
|
|
562
561
|
version: string;
|
|
563
|
-
description: string;
|
|
564
562
|
parentCapsule: string | null;
|
|
565
563
|
retrievalPolicy: {
|
|
566
564
|
tierWeights: Record<string, number>;
|
|
@@ -572,6 +570,8 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
572
570
|
forkRoot: string;
|
|
573
571
|
} | null | undefined;
|
|
574
572
|
};
|
|
573
|
+
schemaVersion: 2;
|
|
574
|
+
includesTranscripts: boolean;
|
|
575
575
|
}>;
|
|
576
576
|
type ExportManifestV2 = z.infer<typeof ExportManifestV2Schema>;
|
|
577
577
|
declare const ExportBundleV2Schema: z.ZodObject<{
|
|
@@ -689,10 +689,10 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
689
689
|
identityAnchors: boolean;
|
|
690
690
|
peerProfiles: boolean;
|
|
691
691
|
};
|
|
692
|
-
|
|
692
|
+
description: string;
|
|
693
693
|
id: string;
|
|
694
|
+
schemaVersion: string;
|
|
694
695
|
version: string;
|
|
695
|
-
description: string;
|
|
696
696
|
parentCapsule: string | null;
|
|
697
697
|
retrievalPolicy: {
|
|
698
698
|
tierWeights: Record<string, number>;
|
|
@@ -710,10 +710,10 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
710
710
|
identityAnchors: boolean;
|
|
711
711
|
peerProfiles: boolean;
|
|
712
712
|
};
|
|
713
|
-
|
|
713
|
+
description: string;
|
|
714
714
|
id: string;
|
|
715
|
+
schemaVersion: string;
|
|
715
716
|
version: string;
|
|
716
|
-
description: string;
|
|
717
717
|
parentCapsule: string | null;
|
|
718
718
|
retrievalPolicy: {
|
|
719
719
|
tierWeights: Record<string, number>;
|
|
@@ -726,16 +726,14 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
726
726
|
} | null | undefined;
|
|
727
727
|
}>;
|
|
728
728
|
}, "strip", z.ZodTypeAny, {
|
|
729
|
-
|
|
729
|
+
format: "openclaw-engram-export";
|
|
730
730
|
createdAt: string;
|
|
731
|
+
pluginVersion: string;
|
|
731
732
|
files: {
|
|
732
733
|
path: string;
|
|
733
734
|
sha256: string;
|
|
734
735
|
bytes: number;
|
|
735
736
|
}[];
|
|
736
|
-
format: "openclaw-engram-export";
|
|
737
|
-
pluginVersion: string;
|
|
738
|
-
includesTranscripts: boolean;
|
|
739
737
|
capsule: {
|
|
740
738
|
includes: {
|
|
741
739
|
procedural: boolean;
|
|
@@ -743,10 +741,10 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
743
741
|
identityAnchors: boolean;
|
|
744
742
|
peerProfiles: boolean;
|
|
745
743
|
};
|
|
746
|
-
|
|
744
|
+
description: string;
|
|
747
745
|
id: string;
|
|
746
|
+
schemaVersion: string;
|
|
748
747
|
version: string;
|
|
749
|
-
description: string;
|
|
750
748
|
parentCapsule: string | null;
|
|
751
749
|
retrievalPolicy: {
|
|
752
750
|
tierWeights: Record<string, number>;
|
|
@@ -758,17 +756,17 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
758
756
|
forkRoot: string;
|
|
759
757
|
} | null;
|
|
760
758
|
};
|
|
761
|
-
}, {
|
|
762
759
|
schemaVersion: 2;
|
|
760
|
+
includesTranscripts: boolean;
|
|
761
|
+
}, {
|
|
762
|
+
format: "openclaw-engram-export";
|
|
763
763
|
createdAt: string;
|
|
764
|
+
pluginVersion: string;
|
|
764
765
|
files: {
|
|
765
766
|
path: string;
|
|
766
767
|
sha256: string;
|
|
767
768
|
bytes: number;
|
|
768
769
|
}[];
|
|
769
|
-
format: "openclaw-engram-export";
|
|
770
|
-
pluginVersion: string;
|
|
771
|
-
includesTranscripts: boolean;
|
|
772
770
|
capsule: {
|
|
773
771
|
includes: {
|
|
774
772
|
procedural: boolean;
|
|
@@ -776,10 +774,10 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
776
774
|
identityAnchors: boolean;
|
|
777
775
|
peerProfiles: boolean;
|
|
778
776
|
};
|
|
779
|
-
|
|
777
|
+
description: string;
|
|
780
778
|
id: string;
|
|
779
|
+
schemaVersion: string;
|
|
781
780
|
version: string;
|
|
782
|
-
description: string;
|
|
783
781
|
parentCapsule: string | null;
|
|
784
782
|
retrievalPolicy: {
|
|
785
783
|
tierWeights: Record<string, number>;
|
|
@@ -791,6 +789,8 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
791
789
|
forkRoot: string;
|
|
792
790
|
} | null | undefined;
|
|
793
791
|
};
|
|
792
|
+
schemaVersion: 2;
|
|
793
|
+
includesTranscripts: boolean;
|
|
794
794
|
}>;
|
|
795
795
|
records: z.ZodArray<z.ZodObject<{
|
|
796
796
|
path: z.ZodString;
|
|
@@ -804,16 +804,14 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
804
804
|
}>, "many">;
|
|
805
805
|
}, "strip", z.ZodTypeAny, {
|
|
806
806
|
manifest: {
|
|
807
|
-
|
|
807
|
+
format: "openclaw-engram-export";
|
|
808
808
|
createdAt: string;
|
|
809
|
+
pluginVersion: string;
|
|
809
810
|
files: {
|
|
810
811
|
path: string;
|
|
811
812
|
sha256: string;
|
|
812
813
|
bytes: number;
|
|
813
814
|
}[];
|
|
814
|
-
format: "openclaw-engram-export";
|
|
815
|
-
pluginVersion: string;
|
|
816
|
-
includesTranscripts: boolean;
|
|
817
815
|
capsule: {
|
|
818
816
|
includes: {
|
|
819
817
|
procedural: boolean;
|
|
@@ -821,10 +819,10 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
821
819
|
identityAnchors: boolean;
|
|
822
820
|
peerProfiles: boolean;
|
|
823
821
|
};
|
|
824
|
-
|
|
822
|
+
description: string;
|
|
825
823
|
id: string;
|
|
824
|
+
schemaVersion: string;
|
|
826
825
|
version: string;
|
|
827
|
-
description: string;
|
|
828
826
|
parentCapsule: string | null;
|
|
829
827
|
retrievalPolicy: {
|
|
830
828
|
tierWeights: Record<string, number>;
|
|
@@ -836,6 +834,8 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
836
834
|
forkRoot: string;
|
|
837
835
|
} | null;
|
|
838
836
|
};
|
|
837
|
+
schemaVersion: 2;
|
|
838
|
+
includesTranscripts: boolean;
|
|
839
839
|
};
|
|
840
840
|
records: {
|
|
841
841
|
content: string;
|
|
@@ -843,16 +843,14 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
843
843
|
}[];
|
|
844
844
|
}, {
|
|
845
845
|
manifest: {
|
|
846
|
-
|
|
846
|
+
format: "openclaw-engram-export";
|
|
847
847
|
createdAt: string;
|
|
848
|
+
pluginVersion: string;
|
|
848
849
|
files: {
|
|
849
850
|
path: string;
|
|
850
851
|
sha256: string;
|
|
851
852
|
bytes: number;
|
|
852
853
|
}[];
|
|
853
|
-
format: "openclaw-engram-export";
|
|
854
|
-
pluginVersion: string;
|
|
855
|
-
includesTranscripts: boolean;
|
|
856
854
|
capsule: {
|
|
857
855
|
includes: {
|
|
858
856
|
procedural: boolean;
|
|
@@ -860,10 +858,10 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
860
858
|
identityAnchors: boolean;
|
|
861
859
|
peerProfiles: boolean;
|
|
862
860
|
};
|
|
863
|
-
|
|
861
|
+
description: string;
|
|
864
862
|
id: string;
|
|
863
|
+
schemaVersion: string;
|
|
865
864
|
version: string;
|
|
866
|
-
description: string;
|
|
867
865
|
parentCapsule: string | null;
|
|
868
866
|
retrievalPolicy: {
|
|
869
867
|
tierWeights: Record<string, number>;
|
|
@@ -875,6 +873,8 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
875
873
|
forkRoot: string;
|
|
876
874
|
} | null | undefined;
|
|
877
875
|
};
|
|
876
|
+
schemaVersion: 2;
|
|
877
|
+
includesTranscripts: boolean;
|
|
878
878
|
};
|
|
879
879
|
records: {
|
|
880
880
|
content: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnic/core",
|
|
3
|
-
"version": "9.6.
|
|
3
|
+
"version": "9.6.23",
|
|
4
4
|
"description": "Framework-agnostic Remnic memory engine — orchestrator, storage, extraction, search, trust zones",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -3000,7 +3000,7 @@
|
|
|
3000
3000
|
"core"
|
|
3001
3001
|
],
|
|
3002
3002
|
"peerDependencies": {
|
|
3003
|
-
"@remnic/coding-graph": "^9.6.
|
|
3003
|
+
"@remnic/coding-graph": "^9.6.23"
|
|
3004
3004
|
},
|
|
3005
3005
|
"peerDependenciesMeta": {
|
|
3006
3006
|
"@remnic/coding-graph": {
|