feat(memory): accept real compaction and parallel activities

This commit is contained in:
冰朔 2026-09-04 17:42:34 +08:00
commit 0486595b56
14 changed files with 506 additions and 13 deletions

View file

@ -13,6 +13,17 @@
"occurred_at": {"type": "string", "format": "date-time"},
"session_id": {"type": "string"},
"platform_window_id": {"type": "string"},
"activity": {
"type": "object",
"additionalProperties": false,
"required": ["what", "where", "with_whom"],
"properties": {
"what": {"type": "string", "minLength": 1},
"where": {"type": "string", "minLength": 1},
"with_whom": {"type": "array", "minItems": 1, "items": {"type": "string", "minLength": 1}},
"attention": {"type": "string", "minLength": 1}
}
},
"branch_id": {"type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"},
"branch_summary": {"type": "string", "minLength": 1},
"day_summary": {"type": "string", "minLength": 1},