createKimiConversations
Purpose and behavior
Section titled “Purpose and behavior”Create the native store of Kimi Code, the default of createKimiHarness(). Each session directory under <CLI home>/sessions/<workspace bucket>, where the CLI home is $KIMI_CODE_HOME or ~/.kimi-code, is captured as one JSON bundle without its logs, tasks, cron, notify or lock files; only state.json version 2 is accepted. Restore places the session in the destination workspace’s bucket and rewrites state.json.