mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-11-07 06:19:43 -10:00
* feat(external-context): add opt-in Mem0 auto recall Co-authored-by: Qwen-Coder <[email protected]> * fix(external-context): bound auto recall process lifetime and sanitization Co-authored-by: Qwen-Coder <[email protected]> * fix(external-context): separate hook test startup and execution budgets Co-authored-by: Qwen-Coder <[email protected]> --------- Co-authored-by: Qwen-Coder <[email protected]>
90 lines
1.9 KiB
JSON
90 lines
1.9 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Mem0 External Context auto-recall instance configuration v3",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"schemaVersion",
|
|
"autoRecall",
|
|
"dialectPath",
|
|
"endpoint",
|
|
"credentialEnv",
|
|
"scope",
|
|
"timeoutMs"
|
|
],
|
|
"properties": {
|
|
"schemaVersion": {
|
|
"const": 3
|
|
},
|
|
"autoRecall": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["repositoryRoot"],
|
|
"properties": {
|
|
"repositoryRoot": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 4096
|
|
}
|
|
}
|
|
},
|
|
"dialectPath": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"endpoint": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["origin"],
|
|
"properties": {
|
|
"origin": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 2048
|
|
},
|
|
"basePath": {
|
|
"type": "string",
|
|
"maxLength": 512,
|
|
"default": ""
|
|
},
|
|
"allowInsecureHttp": {
|
|
"type": "boolean",
|
|
"default": false
|
|
}
|
|
}
|
|
},
|
|
"credentialEnv": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 128,
|
|
"pattern": "^[A-Z_][A-Z0-9_]*$"
|
|
},
|
|
"scope": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"userId": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 256
|
|
},
|
|
"agentId": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 256
|
|
},
|
|
"appId": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 256
|
|
}
|
|
}
|
|
},
|
|
"timeoutMs": {
|
|
"type": "integer",
|
|
"minimum": 100,
|
|
"maximum": 5000
|
|
}
|
|
}
|
|
}
|