Back to Openviking

OpenViking Memory Hooks for TRAE

examples/trae-memory-hooks/README.md

0.4.9648 B
Original Source

OpenViking Memory Hooks for TRAE

This package provides dedicated TRAE and TRAE CN lifecycle adapters. It does not reuse Claude Code transcript parsing: TRAE capture reads prompt, text_content, and last_assistant_message from the Stop event and stores sessions with tr- or trcn- prefixes.

Its PreToolUse guard prevents viking:// virtual paths from being passed to local file or shell tools and points the Agent back to OpenViking MCP tools.

Use the shared installer:

bash
bash examples/memory-plugin-shared/install.sh --harness trae,trae-cn

See the TRAE integration guide.