BenOS Memory Core
Purpose:
- - Interface for runtime/volatile memory for BenOS agents and submodules.
- Store session info, open loops, decisions, and notes through index.js commands or direct file edits.
State/storage location:
- - Default: INLINECODE0
- Convention: Also supports related runtime and session files under
benos/runtime/.
Usage:
- - Use skill commands for agent-controlled read/write.
- Edit files directly for manual repairs or migration as needed.
Schema v1:
- - schemaVersion: number
- lastHydratedAt: ISO8601 or null
- lastSessionRef: string or null
- activeInitiatives: array
- openLoops: array
- recentDecisions: array
- notes: array
Extension:
Add new fields via additional versioned schemas or skill upgrades as needed.
BenOS 内存核心
目的:
- - 为BenOS智能体和子模块提供运行时/易失性内存接口。
- 通过index.js命令或直接文件编辑存储会话信息、未完成任务、决策和笔记。
状态/存储位置:
- - 默认位置:~/.openclaw/workspace/benos/runtime/state.json
- 约定:同时支持benos/runtime/目录下的相关运行时和会话文件。
使用方法:
- - 使用技能命令进行智能体控制的读写操作。
- 根据需要直接编辑文件进行手动修复或迁移。
Schema v1:
- - schemaVersion:数字
- lastHydratedAt:ISO8601格式或null
- lastSessionRef:字符串或null
- activeInitiatives:数组
- openLoops:数组
- recentDecisions:数组
- notes:数组
扩展:
根据需要,通过额外的版本化模式或技能升级添加新字段。