-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathopenclaw.plugin.json
More file actions
64 lines (64 loc) · 2.12 KB
/
openclaw.plugin.json
File metadata and controls
64 lines (64 loc) · 2.12 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
{
"id": "lobster-press",
"kind": "context-engine",
"activation": {
"onStartup": true
},
"contracts": {
"tools": [
"lobster_grep",
"lobster_describe",
"lobster_expand",
"lobster_check_context",
"lobster_configure"
],
"contextEngines": ["lobster-press"]
},
"uiHints": {
"llmProvider": {
"label": "LLM Provider",
"help": "用于 DAG 摘要压缩的 LLM 提供商(deepseek / openai / zhipu 等,留空则使用提取式摘要)"
},
"llmModel": {
"label": "LLM Model",
"help": "LLM 模型名称(如 deepseek-chat / gpt-4o-mini / glm-4-flash)"
},
"dbPath": {
"label": "Database Path",
"help": "LobsterPress SQLite 数据库路径(默认:~/.openclaw/lobster.db)"
},
"contextThreshold": {
"label": "Context Threshold",
"help": "触发压缩的上下文使用率阈值(0.0–1.0,默认 0.75)"
},
"freshTailCount": {
"label": "Fresh Tail Count",
"help": "受保护、不参与压缩的最近消息条数(默认 32)"
},
"namespace": {
"label": "Namespace",
"help": "记忆命名空间(用于多 Agent/项目隔离,默认:default)"
},
"maxContextTokens": {
"label": "Max Context Tokens",
"help": "最大上下文 token 数(默认 40000,Claude=200000,Gemini=1000000)"
}
},
"configSchema": {
"type": "object",
"properties": {
"enabled": { "type": "boolean" },
"llmProvider": { "type": "string" },
"llmApiKey": { "type": "string" },
"llmModel": { "type": "string" },
"dbPath": { "type": "string" },
"contextThreshold": { "type": "number", "minimum": 0, "maximum": 1 },
"freshTailCount": { "type": "integer", "minimum": 1 },
"leafChunkTokens": { "type": "integer", "minimum": 1000 },
"namespace": { "type": "string", "default": "default" },
"maxContextTokens": { "type": "integer", "minimum": 10000, "default": 40000 },
"registerAsDefault": { "type": "boolean" },
"lifecycleEnabled": { "type": "boolean" }
}
}
}