mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-10-29 06:36:47 +00:00
Closes #350 - Add plugins/codex/ with complete plugin structure: - .codex-plugin/plugin.json: Codex plugin manifest - reme/.mcp.json: MCP server connection config - reme/hooks/hooks.json: Stop hook configuration - reme/hooks/auto_memory.py: Session recording hook - reme/skills/reme-memory/SKILL.md: Memory recall skill - README.md: Installation and troubleshooting guide - Plugin follows the same architecture as the Claude Code plugin: - Connects to a shared ReMe MCP server (streamable-http) - Stop hook auto-records sessions via auto_memory_cc - SKILL.md provides recall patterns (semantic, topological, state) - Best-effort recording with daemonized execution - Uses CODEX_PLUGIN_ROOT env var (vs CLAUDE_PLUGIN_ROOT) - Supports REME_HOST/REME_PORT env overrides Test: not run (requires Codex runtime for integration testing)
16 lines
350 B
JSON
16 lines
350 B
JSON
{
|
|
"description": "On stop, record this Codex session into ReMe long-term memory (background, async).",
|
|
"hooks": {
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 \"${CODEX_PLUGIN_ROOT}/hooks/auto_memory.py\"",
|
|
"timeout": 30
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|