mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-11-07 06:19:43 -10:00
Add an opt-in workspace-bound deletion profile with exact target reads, full-text and scope verification, single-shot deletion, and absence checks. Preserve full record identifiers and cover approval and failure boundaries. Co-authored-by: Qwen-Coder <[email protected]>
84 lines
1.7 KiB
JSON
84 lines
1.7 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Mem0 External Context delete instance configuration v5",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"schemaVersion",
|
|
"repositoryRoot",
|
|
"dialectPath",
|
|
"endpoint",
|
|
"credentialEnv",
|
|
"scope",
|
|
"timeoutMs"
|
|
],
|
|
"properties": {
|
|
"schemaVersion": {
|
|
"const": 5
|
|
},
|
|
"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
|
|
}
|
|
},
|
|
"minProperties": 1
|
|
},
|
|
"timeoutMs": {
|
|
"type": "integer",
|
|
"minimum": 100,
|
|
"maximum": 30000
|
|
},
|
|
"repositoryRoot": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 4096
|
|
}
|
|
}
|
|
}
|