mirror of
https://gitcode.com/JianFeeeee/TrulyMEM-TrueHumanMEM.git
synced 2026-10-31 14:27:45 +00:00
- Migrate to OpenClaw Plugin SDK with definePluginEntry and api.registerTool - Rewrite GraphDatabase with better-sqlite3 for persistent storage - Implement recall depth traversal, timeRange filtering, supersede mode - Add archive and cleanup data management features - Fix SKILL.md frontmatter to OpenClaw single-line format (kebab-case names) - Add ToolLimiter for per-turn rate limiting - Add TypeBox parameter schemas for OpenClaw tool registration - Add 110 tests across 4 test files (GraphDatabase, MemoryService, Tool, Limiter) - Update README for OpenClaw plugin installation and usage
869 B
869 B
name, description, metadata, user-invocable
| name | description | metadata | user-invocable | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| graph-memory-persona | 管理 AI 人设 - 更新或清除 AI 角色特征。使用 persona_update 更新、persona_clear 清除 |
|
true |
GraphMemory Persona 人设管理
管理 AI 的人设/角色特征。
操作
1. persona_update - 更新人设
更新 AI 的角色特征。
参数:
attributes: 属性数组,每个包含 attribute 和 valuemode: 更新模式(merge 合并或 replace 替换)
示例:
action: persona_update
attributes:
- attribute: "角色"
value: "猫娘"
- attribute: "性格"
value: "活泼"
mode: "merge"
2. persona_clear - 清除人设
清除 AI 的所有角色特征。
参数:
confirm: 确认为 true 才能执行清除
示例:
action: persona_clear
confirm: true