@remnic/core 9.3.766 → 9.3.768
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 +4 -4
- package/dist/access-schema.d.ts +68 -68
- package/dist/schemas.d.ts +84 -84
- package/dist/shared-context/manager.d.ts +8 -8
- package/dist/transfer/types.d.ts +66 -66
- package/package.json +2 -2
|
@@ -127,14 +127,14 @@ interface MemoryStoreOutput {
|
|
|
127
127
|
}
|
|
128
128
|
declare const memoryStoreOperation: BoundOperation<{
|
|
129
129
|
content: string;
|
|
130
|
-
|
|
130
|
+
namespace?: string | undefined;
|
|
131
131
|
sessionKey?: string | undefined;
|
|
132
|
-
tags?: string[] | undefined;
|
|
133
132
|
dryRun?: boolean | undefined;
|
|
134
133
|
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
135
|
-
namespace?: string | undefined;
|
|
136
|
-
entityRef?: string | undefined;
|
|
137
134
|
confidence?: number | undefined;
|
|
135
|
+
tags?: string[] | undefined;
|
|
136
|
+
entityRef?: string | undefined;
|
|
137
|
+
schemaVersion?: number | undefined;
|
|
138
138
|
cwd?: string | undefined;
|
|
139
139
|
ttl?: string | undefined;
|
|
140
140
|
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
|
-
namespace?: string | undefined;
|
|
384
|
-
entityRef?: string | undefined;
|
|
385
382
|
confidence?: number | undefined;
|
|
383
|
+
tags?: string[] | undefined;
|
|
384
|
+
entityRef?: string | undefined;
|
|
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
|
-
namespace?: string | undefined;
|
|
399
|
-
entityRef?: string | undefined;
|
|
400
397
|
confidence?: number | undefined;
|
|
398
|
+
tags?: string[] | undefined;
|
|
399
|
+
entityRef?: string | undefined;
|
|
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
|
-
namespace?: string | undefined;
|
|
430
|
-
entityRef?: string | undefined;
|
|
431
428
|
confidence?: number | undefined;
|
|
429
|
+
tags?: string[] | undefined;
|
|
430
|
+
entityRef?: string | undefined;
|
|
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
|
-
namespace?: string | undefined;
|
|
445
|
-
entityRef?: string | undefined;
|
|
446
443
|
confidence?: number | undefined;
|
|
444
|
+
tags?: string[] | undefined;
|
|
445
|
+
entityRef?: string | undefined;
|
|
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;
|