@remnic/core 9.16.1 → 9.16.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Orchestrator
3
- } from "./chunk-GRJ5UOFO.js";
3
+ } from "./chunk-YHURQ3M5.js";
4
4
  import "./chunk-5SB7SC2G.js";
5
5
  import "./chunk-JECBQBEX.js";
6
6
  import "./chunk-V6LYAXGW.js";
@@ -137,14 +137,14 @@ interface MemoryStoreOutput {
137
137
  }
138
138
  declare const memoryStoreOperation: BoundOperation<{
139
139
  content: string;
140
- schemaVersion?: number | undefined;
140
+ namespace?: string | undefined;
141
141
  sessionKey?: string | undefined;
142
- tags?: string[] | undefined;
143
142
  dryRun?: boolean | undefined;
144
143
  category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
145
144
  confidence?: number | undefined;
145
+ tags?: string[] | undefined;
146
146
  entityRef?: string | undefined;
147
- namespace?: string | undefined;
147
+ schemaVersion?: number | undefined;
148
148
  ttl?: string | undefined;
149
149
  sourceReason?: string | undefined;
150
150
  cwd?: string | undefined;
@@ -21,13 +21,13 @@ declare const codingContextSchema: z.ZodNullable<z.ZodObject<{
21
21
  rootPath: z.ZodString;
22
22
  defaultBranch: z.ZodNullable<z.ZodString>;
23
23
  }, "strip", z.ZodTypeAny, {
24
- projectId: string;
25
24
  branch: string | null;
25
+ projectId: string;
26
26
  rootPath: string;
27
27
  defaultBranch: string | null;
28
28
  }, {
29
- projectId: string;
30
29
  branch: string | null;
30
+ projectId: string;
31
31
  rootPath: string;
32
32
  defaultBranch: string | null;
33
33
  }>>;
@@ -62,13 +62,13 @@ declare const recallRequestSchema: z.ZodObject<{
62
62
  rootPath: z.ZodString;
63
63
  defaultBranch: z.ZodNullable<z.ZodString>;
64
64
  }, "strip", z.ZodTypeAny, {
65
- projectId: string;
66
65
  branch: string | null;
66
+ projectId: string;
67
67
  rootPath: string;
68
68
  defaultBranch: string | null;
69
69
  }, {
70
- projectId: string;
71
70
  branch: string | null;
71
+ projectId: string;
72
72
  rootPath: string;
73
73
  defaultBranch: string | null;
74
74
  }>>>;
@@ -104,14 +104,14 @@ 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
  topK?: number | undefined;
112
112
  codingContext?: {
113
- projectId: string;
114
113
  branch: string | null;
114
+ projectId: string;
115
115
  rootPath: string;
116
116
  defaultBranch: string | null;
117
117
  } | null | undefined;
@@ -125,14 +125,14 @@ 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
  topK?: number | undefined;
133
133
  codingContext?: {
134
- projectId: string;
135
134
  branch: string | null;
135
+ projectId: string;
136
136
  rootPath: string;
137
137
  defaultBranch: string | null;
138
138
  } | null | undefined;
@@ -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
@@ -168,13 +168,13 @@ declare const setCodingContextRequestSchema: z.ZodEffects<z.ZodObject<{
168
168
  rootPath: z.ZodString;
169
169
  defaultBranch: z.ZodNullable<z.ZodString>;
170
170
  }, "strip", z.ZodTypeAny, {
171
- projectId: string;
172
171
  branch: string | null;
172
+ projectId: string;
173
173
  rootPath: string;
174
174
  defaultBranch: string | null;
175
175
  }, {
176
- projectId: string;
177
176
  branch: string | null;
177
+ projectId: string;
178
178
  rootPath: string;
179
179
  defaultBranch: string | null;
180
180
  }>>>;
@@ -187,8 +187,8 @@ declare const setCodingContextRequestSchema: z.ZodEffects<z.ZodObject<{
187
187
  }, "strip", z.ZodTypeAny, {
188
188
  sessionKey: string;
189
189
  codingContext?: {
190
- projectId: string;
191
190
  branch: string | null;
191
+ projectId: string;
192
192
  rootPath: string;
193
193
  defaultBranch: string | null;
194
194
  } | null | undefined;
@@ -196,8 +196,8 @@ declare const setCodingContextRequestSchema: z.ZodEffects<z.ZodObject<{
196
196
  }, {
197
197
  sessionKey: string;
198
198
  codingContext?: {
199
- projectId: string;
200
199
  branch: string | null;
200
+ projectId: string;
201
201
  rootPath: string;
202
202
  defaultBranch: string | null;
203
203
  } | null | undefined;
@@ -205,8 +205,8 @@ declare const setCodingContextRequestSchema: z.ZodEffects<z.ZodObject<{
205
205
  }>, {
206
206
  sessionKey: string;
207
207
  codingContext?: {
208
- projectId: string;
209
208
  branch: string | null;
209
+ projectId: string;
210
210
  rootPath: string;
211
211
  defaultBranch: string | null;
212
212
  } | null | undefined;
@@ -214,8 +214,8 @@ declare const setCodingContextRequestSchema: z.ZodEffects<z.ZodObject<{
214
214
  }, {
215
215
  sessionKey: string;
216
216
  codingContext?: {
217
- projectId: string;
218
217
  branch: string | null;
218
+ projectId: string;
219
219
  rootPath: string;
220
220
  defaultBranch: string | null;
221
221
  } | null | undefined;
@@ -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
- schemaVersion?: number | undefined;
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
- namespace?: string | undefined;
385
+ schemaVersion?: number | undefined;
386
386
  ttl?: string | undefined;
387
387
  sourceReason?: string | undefined;
388
388
  cwd?: string | undefined;
@@ -390,14 +390,14 @@ declare const memoryStoreRequestSchema: z.ZodObject<{
390
390
  idempotencyKey?: string | undefined;
391
391
  }, {
392
392
  content: string;
393
- schemaVersion?: number | undefined;
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
- namespace?: string | undefined;
400
+ schemaVersion?: number | undefined;
401
401
  ttl?: string | undefined;
402
402
  sourceReason?: string | undefined;
403
403
  cwd?: 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
- schemaVersion?: number | undefined;
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
- namespace?: string | undefined;
431
+ schemaVersion?: number | undefined;
432
432
  ttl?: string | undefined;
433
433
  sourceReason?: string | undefined;
434
434
  cwd?: string | undefined;
@@ -436,14 +436,14 @@ declare const suggestionSubmitRequestSchema: z.ZodObject<{
436
436
  idempotencyKey?: string | undefined;
437
437
  }, {
438
438
  content: string;
439
- schemaVersion?: number | undefined;
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
- namespace?: string | undefined;
446
+ schemaVersion?: number | undefined;
447
447
  ttl?: string | undefined;
448
448
  sourceReason?: string | undefined;
449
449
  cwd?: 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
- recordedAt?: string | undefined;
481
+ namespace?: string | undefined;
482
482
  summary?: string | undefined;
483
483
  dryRun?: boolean | undefined;
484
- namespace?: string | undefined;
484
+ recordedAt?: string | undefined;
485
485
  }, {
486
486
  recordId: string;
487
487
  targetZone: "working" | "trusted";
488
488
  promotionReason: string;
489
- recordedAt?: string | undefined;
489
+ namespace?: string | undefined;
490
490
  summary?: string | undefined;
491
491
  dryRun?: boolean | undefined;
492
- namespace?: string | undefined;
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
  includeTranscripts?: boolean | undefined;
711
711
  offset?: number | undefined;
712
712
  }, {
713
713
  path: string;
714
- length?: number | undefined;
715
714
  namespace?: string | undefined;
715
+ length?: number | undefined;
716
716
  includeTranscripts?: boolean | undefined;
717
717
  offset?: number | 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<"high" | "low" | "medium" | "irreversible" | "restricted"> | undefined, "high" | "low" | "medium" | "irreversible" | "restricted" | null | undefined>;
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<"none" | "correction" | "superseded" | "forgotten" | "disputed"> | undefined, "none" | "correction" | "superseded" | "forgotten" | "disputed" | null | undefined>;
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<"none" | "correction" | "superseded" | "forgotten" | "disputed"> | undefined;
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?: "none" | "correction" | "superseded" | "forgotten" | "disputed" | null | undefined;
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<"none" | "correction" | "superseded" | "forgotten" | "disputed"> | undefined;
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?: "none" | "correction" | "superseded" | "forgotten" | "disputed" | null | undefined;
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<"high" | "low" | "medium" | "irreversible" | "restricted"> | undefined;
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<"none" | "correction" | "superseded" | "forgotten" | "disputed"> | undefined;
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?: "high" | "low" | "medium" | "irreversible" | "restricted" | null | undefined;
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?: "none" | "correction" | "superseded" | "forgotten" | "disputed" | null | undefined;
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;
@@ -17094,7 +17094,7 @@ var Orchestrator = class {
17094
17094
  // explicit fast-tier route; otherwise use taskModelChain so LCM
17095
17095
  // avoids falling to an expensive gateway default. Issue #1473.
17096
17096
  ...this.config.fastGatewayAgentId ? { agentId: this.config.fastGatewayAgentId } : gatewayTaskChainOptions(this.config)
17097
- }) : await this.localLlm.chatCompletion(messages, {
17097
+ }) : await this.fastLlm.chatCompletion(messages, {
17098
17098
  maxTokens: targetTokens * 2,
17099
17099
  operation: "lcm-summarize",
17100
17100
  priority: "background"
@@ -24199,4 +24199,4 @@ export {
24199
24199
  blendGraphExpandedRecallScore,
24200
24200
  Orchestrator
24201
24201
  };
24202
- //# sourceMappingURL=chunk-GRJ5UOFO.js.map
24202
+ //# sourceMappingURL=chunk-YHURQ3M5.js.map