Files
qwen-code/integrations/external-context-mem0/schemas/auto-recall-instance-config.schema.json
jinyeandQwen-Coder be9d5e8d3f feat(external-context): Add opt-in auto recall for administrator-owned Mem0 dialects (#11246)
* 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]>
2026-09-07 10:36:28 +00:00

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
}
}
}