CodeArts Desktop
- ID:
codearts - Store:
~/.codearts/kernel/sessions/<launch-bucket>/<session-uuid>/—meta.json+history.jsonl - Read overrides:
DEJA_CODEARTS_ROOTreplaces the sessions root; absoluteCODEARTS_HOMEplaces it under<CODEARTS_HOME>/kernel/sessions - Format: JSONL, one message per line, with Rust serde content variants
- Needs: nothing extra
CodeArts Desktop (Huawei Cloud CodeArts) writes one session per inner directory of a two-level tree: the outer sessions/<timestamp>-<hash>/ is a launch bucket, not a session. Each session directory holds:
meta.json—session_id,title,working_directory,created_at,updated_at(RFC3339 with nanoseconds), plus token counters and the model id, which deja does not index.history.jsonl— one message per line:id,role(User/Assistant/Tool),timestamp(RFC3339Nano),content,reasoning_content,model_ref,token_usage.messages.index.jsonl— a byte-range index overhistory.jsonl; not a session, never listed.
content is a serde variant: {"SinglePart":{"Text":{"text":"..."}}} or {"MultiPart":[{"Text":{...}},{"ToolCall":{...}},{"ToolResult":{...}}]}. deja indexes the Text blocks of user/assistant messages as speech. ToolCall and ToolResult bodies are renderer/tool output, not what the person said, so they are left out — as is reasoning_content, matching the deepseek and qwen readers. A malformed line is skipped, not fatal.
The store shape was attested by Nwflower/dsh-chat-import PR #103 (lib/sources/codearts.mjs, lib/convert/codearts.mjs) and checked against a real 0.2.8 store; the synthetic fixture in fixtures/registry/codearts/ keeps the reader honest.
Last verified: 2026-11-15
deja reads this format and 51 others, and turns what it finds into memory your agents can search. See the harness matrix for what is wired where, or install it and search your own history.
Found this useful? Star deja-vu on GitHub.