Files
OpenViking/examples/trae-memory-hooks
t0saki 33043cb1b8 feat(plugins): expose session commit trace IDs (#3977)
Preserve result.trace_id across plugin HTTP wrappers, include it in commit success and failure logs, and surface it in user-visible commit confirmations where supported.
2026-08-13 23:29:41 +08:00
..

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 examples/memory-plugin-shared/install.sh --harness trae,trae-cn

See the TRAE integration guide.