-
Notifications
You must be signed in to change notification settings - Fork 572
Expand file tree
/
Copy pathopenclaw.plugin.json
More file actions
1340 lines (1340 loc) · 45.7 KB
/
openclaw.plugin.json
File metadata and controls
1340 lines (1340 loc) · 45.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"id": "memory-lancedb-pro",
"name": "Memory (LanceDB Pro)",
"description": "Enhanced LanceDB-backed long-term memory with hybrid retrieval, multi-scope isolation, long-context chunking, and management CLI",
"version": "1.1.0-beta.10",
"kind": "memory",
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"embedding": {
"type": "object",
"additionalProperties": false,
"properties": {
"provider": {
"type": "string",
"enum": [
"openai-compatible",
"azure-openai"
]
},
"apiKey": {
"oneOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
}
],
"description": "Single API key or array of keys for round-robin rotation"
},
"model": {
"type": "string"
},
"baseURL": {
"type": "string"
},
"dimensions": {
"type": "integer",
"minimum": 1
},
"omitDimensions": {
"type": "boolean",
"description": "When true, omit the dimensions parameter from embedding requests even if dimensions is configured"
},
"taskQuery": {
"type": "string",
"description": "Embedding task for queries (provider-specific, e.g. Jina: retrieval.query)"
},
"taskPassage": {
"type": "string",
"description": "Embedding task for passages/documents (provider-specific, e.g. Jina: retrieval.passage)"
},
"normalized": {
"type": "boolean",
"description": "Request normalized embeddings when supported by the provider (e.g. Jina v5)"
},
"chunking": {
"type": "boolean",
"default": true,
"description": "Enable automatic chunking for documents exceeding embedding context limits"
},
"apiVersion": {
"type": "string",
"description": "API version for Azure OpenAI (e.g. 2024-02-01). Only used when provider is azure-openai."
}
},
"required": [
"apiKey"
]
},
"dbPath": {
"type": "string"
},
"enableManagementTools": {
"type": "boolean",
"default": false,
"description": "Enable management/debug tools such as memory_list, memory_stats, and governance-oriented self-improvement review/extract actions"
},
"sessionStrategy": {
"type": "string",
"enum": [
"memoryReflection",
"systemSessionMemory",
"none"
],
"default": "none",
"description": "Choose session pipeline: plugin memory-reflection, built-in session-memory, or none. Default none keeps session summaries disabled unless explicitly enabled."
},
"autoCapture": {
"type": "boolean",
"default": true
},
"autoRecall": {
"type": "boolean",
"default": false
},
"autoRecallMinLength": {
"type": "integer",
"minimum": 1,
"maximum": 200,
"default": 15,
"description": "Minimum prompt length (in characters) to trigger auto-recall. Prompts shorter than this are skipped. Default: 15 for English, 6 for CJK."
},
"autoRecallMinRepeated": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"default": 8,
"description": "Minimum number of turns before the same memory can be recalled again in the same session. Set to 0 to disable deduplication."
},
"autoRecallMaxItems": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 3,
"description": "Maximum number of memories auto-injected per turn."
},
"autoRecallMaxChars": {
"type": "integer",
"minimum": 64,
"maximum": 8000,
"default": 600,
"description": "Maximum total character budget for auto-injected memory summaries."
},
"autoRecallPerItemMaxChars": {
"type": "integer",
"minimum": 32,
"maximum": 1000,
"default": 180,
"description": "Maximum character budget per auto-injected memory summary."
},
"recallMode": {
"type": "string",
"enum": ["full", "summary", "adaptive", "off"],
"default": "full",
"description": "Auto-recall depth mode. 'full': inject with configured per-item budget. 'summary': L0 abstracts only (compact). 'adaptive': analyze query intent to auto-select category and depth. 'off': disable auto-recall injection."
},
"captureAssistant": {
"type": "boolean"
},
"smartExtraction": {
"type": "boolean",
"default": true,
"description": "Enable LLM-powered memory extraction. Falls back to regex capture when false."
},
"extractMinMessages": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 4,
"description": "Minimum conversation messages required before smart extraction runs."
},
"extractMaxChars": {
"type": "integer",
"minimum": 256,
"maximum": 100000,
"default": 8000,
"description": "Maximum conversation characters sent to the smart extraction LLM."
},
"admissionControl": {
"type": "object",
"additionalProperties": false,
"description": "A-MAC-style admission governance on the smart-extraction write path. Rejects low-value candidates before persistence while preserving downstream dedup behavior for admitted candidates.",
"properties": {
"enabled": {
"type": "boolean",
"default": false
},
"preset": {
"type": "string",
"enum": [
"balanced",
"conservative",
"high-recall"
],
"default": "balanced",
"description": "Named admission tuning preset. Explicit admissionControl fields still override the selected preset."
},
"utilityMode": {
"type": "string",
"enum": [
"standalone",
"off"
],
"default": "standalone"
},
"rejectThreshold": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.45
},
"admitThreshold": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.6
},
"noveltyCandidatePoolSize": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 8
},
"auditMetadata": {
"type": "boolean",
"default": true
},
"persistRejectedAudits": {
"type": "boolean",
"default": true
},
"rejectedAuditFilePath": {
"type": "string",
"description": "Optional JSONL file path for durable admission reject audit records. Defaults to a file beside the plugin memory data directory."
},
"recency": {
"type": "object",
"additionalProperties": false,
"properties": {
"halfLifeDays": {
"type": "integer",
"minimum": 1,
"maximum": 365,
"default": 14
}
}
},
"weights": {
"type": "object",
"additionalProperties": false,
"properties": {
"utility": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.1 },
"confidence": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.1 },
"novelty": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.1 },
"recency": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.1 },
"typePrior": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.6 }
}
},
"typePriors": {
"type": "object",
"additionalProperties": false,
"properties": {
"profile": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.95 },
"preferences": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.9 },
"entities": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.75 },
"events": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.45 },
"cases": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.8 },
"patterns": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.85 }
}
}
}
},
"retrieval": {
"type": "object",
"additionalProperties": false,
"properties": {
"mode": {
"type": "string",
"enum": [
"hybrid",
"vector"
],
"default": "hybrid"
},
"vectorWeight": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.7
},
"bm25Weight": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.3
},
"minScore": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.3
},
"rerank": {
"type": "string",
"enum": [
"cross-encoder",
"lightweight",
"none"
],
"default": "cross-encoder"
},
"rerankApiKey": {
"type": "string",
"description": "API key for reranker service (enables cross-encoder reranking)"
},
"rerankModel": {
"type": "string",
"default": "jina-reranker-v3",
"description": "Reranker model name"
},
"rerankEndpoint": {
"type": "string",
"default": "https://api.jina.ai/v1/rerank",
"description": "Reranker API endpoint URL. Compatible with Jina-compatible endpoints and dedicated adapters such as TEI, SiliconFlow, Voyage, Pinecone, and DashScope."
},
"rerankProvider": {
"type": "string",
"enum": [
"jina",
"siliconflow",
"voyage",
"pinecone",
"dashscope",
"tei"
],
"default": "jina",
"description": "Reranker provider format. Determines request/response shape and auth header. Use tei for Hugging Face Text Embeddings Inference /rerank endpoints. DashScope uses gte-rerank-v2 with endpoint https://dashscope.aliyuncs.com/api/v1/services/rerank/text-rerank/text-rerank."
},
"candidatePoolSize": {
"type": "integer",
"minimum": 10,
"maximum": 100,
"default": 20
},
"recencyHalfLifeDays": {
"type": "number",
"minimum": 0,
"maximum": 365,
"default": 14,
"description": "Half-life in days for recency boost. Newer memories get higher scores. Set 0 to disable."
},
"recencyWeight": {
"type": "number",
"minimum": 0,
"maximum": 0.5,
"default": 0.1,
"description": "Maximum recency boost factor added to score"
},
"filterNoise": {
"type": "boolean",
"default": true,
"description": "Filter out noise memories (agent denials, meta-questions, boilerplate)"
},
"lengthNormAnchor": {
"type": "integer",
"minimum": 0,
"maximum": 5000,
"default": 500,
"description": "Length normalization anchor in chars. Entries longer than this get score penalized. Set 0 to disable."
},
"hardMinScore": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.35,
"description": "Hard cutoff after all scoring stages. Results below this score are discarded."
},
"timeDecayHalfLifeDays": {
"type": "number",
"minimum": 0,
"maximum": 365,
"default": 60,
"description": "Time decay half-life in days. Old entries lose score gradually. Floor at 0.5x. Set 0 to disable."
},
"reinforcementFactor": {
"type": "number",
"minimum": 0,
"maximum": 2,
"default": 0.5,
"description": "Access reinforcement factor for time decay. Frequently recalled memories decay slower. 0 to disable."
},
"maxHalfLifeMultiplier": {
"type": "number",
"minimum": 1,
"maximum": 10,
"default": 3,
"description": "Maximum half-life multiplier from access reinforcement. Prevents frequently accessed memories from becoming immortal."
}
}
},
"decay": {
"type": "object",
"additionalProperties": false,
"properties": {
"recencyHalfLifeDays": {
"type": "number",
"minimum": 1,
"maximum": 365,
"default": 30
},
"recencyWeight": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.4
},
"frequencyWeight": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.3
},
"intrinsicWeight": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.3
},
"staleThreshold": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.3
},
"searchBoostMin": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.3
},
"importanceModulation": {
"type": "number",
"minimum": 0,
"maximum": 10,
"default": 1.5
},
"betaCore": {
"type": "number",
"minimum": 0.1,
"maximum": 5,
"default": 0.8
},
"betaWorking": {
"type": "number",
"minimum": 0.1,
"maximum": 5,
"default": 1
},
"betaPeripheral": {
"type": "number",
"minimum": 0.1,
"maximum": 5,
"default": 1.3
},
"coreDecayFloor": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.9
},
"workingDecayFloor": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.7
},
"peripheralDecayFloor": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.5
}
}
},
"tier": {
"type": "object",
"additionalProperties": false,
"properties": {
"coreAccessThreshold": {
"type": "integer",
"minimum": 1,
"maximum": 1000,
"default": 10
},
"coreCompositeThreshold": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.7
},
"coreImportanceThreshold": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.8
},
"peripheralCompositeThreshold": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.15
},
"peripheralAgeDays": {
"type": "integer",
"minimum": 1,
"maximum": 3650,
"default": 60
},
"workingAccessThreshold": {
"type": "integer",
"minimum": 1,
"maximum": 1000,
"default": 3
},
"workingCompositeThreshold": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.4
}
}
},
"sessionMemory": {
"type": "object",
"additionalProperties": false,
"description": "Deprecated legacy switch. Kept for compatibility and mapped to sessionStrategy.",
"properties": {
"enabled": {
"type": "boolean",
"default": false,
"description": "Deprecated. true -> sessionStrategy=systemSessionMemory, false -> sessionStrategy=none. Disabled by default."
},
"messageCount": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 15,
"description": "Legacy compatibility field. Mapped to memoryReflection.messageCount."
}
}
},
"selfImprovement": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean",
"default": true
},
"beforeResetNote": {
"type": "boolean",
"default": true
},
"skipSubagentBootstrap": {
"type": "boolean",
"default": true
},
"ensureLearningFiles": {
"type": "boolean",
"default": true
}
}
},
"memoryReflection": {
"type": "object",
"additionalProperties": false,
"properties": {
"storeToLanceDB": {
"type": "boolean",
"default": true
},
"writeLegacyCombined": {
"type": "boolean",
"default": true
},
"injectMode": {
"type": "string",
"enum": [
"inheritance-only",
"inheritance+derived"
],
"default": "inheritance+derived"
},
"agentId": {
"type": "string",
"description": "Optional dedicated agent id used to run reflection generation (for example: memory-distiller)."
},
"messageCount": {
"type": "integer",
"minimum": 1,
"maximum": 500,
"default": 120
},
"maxInputChars": {
"type": "integer",
"minimum": 1000,
"maximum": 200000,
"default": 24000
},
"timeoutMs": {
"type": "integer",
"minimum": 1000,
"maximum": 120000,
"default": 20000
},
"thinkLevel": {
"type": "string",
"enum": [
"off",
"minimal",
"low",
"medium",
"high"
],
"default": "medium"
},
"errorReminderMaxEntries": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 3
},
"dedupeErrorSignals": {
"type": "boolean",
"default": true
}
}
},
"scopes": {
"type": "object",
"additionalProperties": false,
"properties": {
"default": {
"type": "string",
"default": "global"
},
"definitions": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"description": {
"type": "string"
}
}
}
},
"agentAccess": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"llm": {
"type": "object",
"additionalProperties": false,
"properties": {
"auth": {
"type": "string",
"enum": [
"api-key",
"oauth"
],
"default": "api-key",
"description": "LLM authentication mode. oauth uses the local Codex/ChatGPT login cache instead of llm.apiKey."
},
"apiKey": {
"type": "string"
},
"model": {
"type": "string",
"default": "openai/gpt-oss-120b"
},
"baseURL": {
"type": "string"
},
"oauthProvider": {
"type": "string",
"description": "OAuth provider id for llm.auth=oauth. Currently supported: openai-codex."
},
"oauthPath": {
"type": "string",
"description": "OAuth token file for llm.auth=oauth. Defaults to ~/.openclaw/.memory-lancedb-pro/oauth.json."
},
"timeoutMs": {
"type": "integer",
"minimum": 1,
"default": 30000
}
}
},
"mdMirror": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean",
"default": false,
"description": "Enable dual-write: store memories in both LanceDB and human-readable Markdown files"
},
"dir": {
"type": "string",
"description": "Fallback directory for Markdown mirror files when agent workspace is unknown"
}
}
},
"workspaceBoundary": {
"type": "object",
"additionalProperties": false,
"properties": {
"userMdExclusive": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean",
"default": false,
"description": "Do not store USER.md-exclusive facts in LanceDB."
},
"routeProfile": {
"type": "boolean",
"default": true,
"description": "Treat extracted profile memories as USER.md-exclusive."
},
"routeCanonicalName": {
"type": "boolean",
"default": true,
"description": "Treat canonical name facts as USER.md-exclusive."
},
"routeCanonicalAddressing": {
"type": "boolean",
"default": true,
"description": "Treat canonical addressing facts as USER.md-exclusive."
},
"filterRecall": {
"type": "boolean",
"default": true,
"description": "Filter USER.md-exclusive facts out of plugin recall results."
}
}
}
}
},
"memoryCompaction": {
"type": "object",
"additionalProperties": false,
"description": "Progressive summarization: periodically consolidate semantically similar old memories into refined single entries, reducing noise and improving retrieval quality over time.",
"properties": {
"enabled": {
"type": "boolean",
"default": false,
"description": "Enable automatic compaction at gateway startup (respects cooldownHours)"
},
"minAgeDays": {
"type": "integer",
"default": 7,
"minimum": 1,
"description": "Only compact memories at least this many days old"
},
"similarityThreshold": {
"type": "number",
"default": 0.88,
"minimum": 0,
"maximum": 1,
"description": "Cosine similarity threshold for clustering. Higher = more conservative merges."
},
"minClusterSize": {
"type": "integer",
"default": 2,
"minimum": 2,
"description": "Minimum cluster size required to trigger a merge"
},
"maxMemoriesToScan": {
"type": "integer",
"default": 200,
"minimum": 1,
"description": "Maximum number of memories to scan per compaction run"
},
"cooldownHours": {
"type": "integer",
"default": 24,
"minimum": 1,
"description": "Minimum hours between automatic compaction runs"
}
}
},
"sessionCompression": {
"type": "object",
"additionalProperties": false,
"description": "Session compression settings for auto-capture. Scores and compresses conversation texts to prioritize high-signal content.",
"properties": {
"enabled": {
"type": "boolean",
"default": false,
"description": "Enable session compression before auto-capture extraction"
},
"minScoreToKeep": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 0.3,
"description": "Minimum score threshold. If all texts score below this, fallback to keeping at least the last few texts."
}
}
},
"extractionThrottle": {
"type": "object",
"additionalProperties": false,
"description": "Adaptive extraction throttling to reduce LLM cost on low-value or rapid-fire sessions.",
"properties": {
"skipLowValue": {
"type": "boolean",
"default": false,
"description": "Skip extraction for conversations with estimated value < 0.2"
},
"maxExtractionsPerHour": {
"type": "integer",
"minimum": 1,
"maximum": 200,
"default": 30,
"description": "Maximum number of auto-capture extractions allowed per hour"
}
}
}
},
"required": [
"embedding"
]
},
"uiHints": {
"embedding.apiKey": {
"label": "API Key(s)",
"sensitive": true,
"placeholder": "sk-proj-... or [\"key1\", \"key2\"] for rotation",
"help": "Single API key or array of keys for round-robin rotation with automatic failover on rate limits (or use ${OPENAI_API_KEY}; use a dummy value for keyless local endpoints)"
},
"embedding.model": {
"label": "Embedding Model",
"placeholder": "text-embedding-3-small",
"help": "Embedding model name (e.g. text-embedding-3-small, gemini-embedding-001, nomic-embed-text)"
},
"embedding.baseURL": {
"label": "Base URL",
"placeholder": "https://api.openai.com/v1",
"help": "Custom base URL for OpenAI-compatible embedding endpoints (e.g. https://generativelanguage.googleapis.com/v1beta/openai/ for Gemini, http://localhost:11434/v1 for Ollama)",
"advanced": true
},
"embedding.dimensions": {
"label": "Vector Dimensions",
"placeholder": "auto-detected from model",
"help": "Override vector dimensions for custom models not in the built-in lookup table",
"advanced": true
},
"embedding.omitDimensions": {
"label": "Omit Request Dimensions",
"help": "Do not send the dimensions parameter to the embedding API even if embedding.dimensions is configured. Useful for local models like Qwen3-Embedding that reject the field.",
"advanced": true
},
"embedding.taskQuery": {
"label": "Query Task",
"placeholder": "retrieval.query",
"help": "Optional task selector for query embeddings (Jina: retrieval.query). If unset, no task field is sent.",
"advanced": true
},
"embedding.taskPassage": {
"label": "Passage Task",
"placeholder": "retrieval.passage",
"help": "Optional task selector for passage/document embeddings (Jina: retrieval.passage). If unset, no task field is sent.",
"advanced": true
},
"embedding.normalized": {
"label": "Normalized Embeddings",
"help": "Request normalized embeddings when the provider supports it (Jina v5). If unset, the field is not sent.",
"advanced": true
},
"embedding.chunking": {
"label": "Auto-Chunk Documents",
"help": "Automatically split long documents into chunks when they exceed embedding context limits. Enabled by default.",
"advanced": true
},
"dbPath": {
"label": "Database Path",
"placeholder": "~/.openclaw/memory/lancedb-pro",
"help": "Directory path for the LanceDB database files",
"advanced": true
},
"smartExtraction": {
"label": "Smart Extraction",
"help": "Enable LLM-powered 6-category memory extraction. Falls back to regex capture when off."
},
"llm.apiKey": {
"label": "LLM API Key",
"sensitive": true,
"placeholder": "sk-... or ${GROQ_API_KEY}",
"help": "API key for LLM used by smart memory extraction (defaults to embedding.apiKey if omitted)"
},
"llm.model": {
"label": "LLM Model",
"placeholder": "openai/gpt-oss-120b",
"help": "OpenAI-compatible chat model for memory extraction/summary"
},
"llm.baseURL": {
"label": "LLM Base URL",
"placeholder": "https://api.groq.com/openai/v1",
"help": "OpenAI-compatible base URL for LLM (defaults to embedding.baseURL if omitted)",
"advanced": true
},
"extractMinMessages": {
"label": "Min Messages for Extraction",
"help": "Minimum conversation messages before smart extraction triggers",
"advanced": true
},
"extractMaxChars": {
"label": "Max Chars for Extraction",
"help": "Maximum conversation characters to process for extraction",
"advanced": true
},
"admissionControl.enabled": {
"label": "Admission Control",
"help": "Enable A-MAC-style admission scoring before downstream dedup.",
"advanced": true
},
"admissionControl.preset": {
"label": "Admission Preset",
"help": "balanced is the default; conservative favors precision; high-recall favors recall. Explicit admissionControl fields override the preset.",
"advanced": true
},
"admissionControl.utilityMode": {
"label": "Admission Utility Mode",
"help": "standalone adds a separate LLM utility scoring call; off disables that feature.",
"advanced": true
},
"admissionControl.rejectThreshold": {
"label": "Admission Reject Threshold",
"help": "Candidates below this weighted score are rejected before persistence.",
"advanced": true
},
"admissionControl.admitThreshold": {
"label": "Admission Admit Threshold",
"help": "Higher-scoring admitted candidates are labeled as likely add cases in audit metadata; all admitted candidates still go through downstream dedup.",
"advanced": true
},
"admissionControl.noveltyCandidatePoolSize": {
"label": "Admission Novelty Pool",
"help": "Number of nearby memories to compare for novelty scoring.",
"advanced": true
},
"admissionControl.auditMetadata": {
"label": "Admission Audit Metadata",
"help": "Persist per-memory admission scores and reasons in metadata for debugging.",
"advanced": true
},
"admissionControl.persistRejectedAudits": {
"label": "Persist Reject Audits",
"help": "Write rejected admission decisions to a JSONL audit log for later review.",
"advanced": true
},
"admissionControl.rejectedAuditFilePath": {
"label": "Reject Audit File",
"help": "Optional JSONL path for rejected admission audit records. Defaults beside the plugin memory data directory.",
"advanced": true
},
"admissionControl.recency.halfLifeDays": {
"label": "Admission Recency Half-Life",
"help": "Controls how quickly recency rises as similar memories get older.",
"advanced": true
},
"admissionControl.weights": {
"label": "Admission Weights",
"help": "Feature weights are normalized at runtime before scoring.",
"advanced": true
},
"admissionControl.typePriors": {
"label": "Admission Type Priors",
"help": "Category priors for long-term retention likelihood.",
"advanced": true
},
"autoCapture": {
"label": "Auto-Capture",
"help": "Automatically capture important information from conversations (enabled by default)"
},
"autoRecall": {
"label": "Auto-Recall",
"help": "Automatically inject relevant memories into context"
},
"autoRecallMinLength": {
"label": "Auto-Recall Min Length",
"help": "Minimum prompt length to trigger auto-recall (shorter prompts are skipped). Default: 15 chars for English, 6 for CJK.",
"advanced": true
},
"autoRecallMinRepeated": {
"label": "Auto-Recall Min Repeated",
"help": "Minimum number of conversation turns before a specific memory can be re-injected in the same session.",
"advanced": true
},
"autoRecallMaxItems": {