(workDir: string)
| 99 | * Layout: `<share_dir>/user-history/<md5(cwd)>.jsonl`. |
| 100 | */ |
| 101 | export function getInputHistoryFile(workDir: string): string { |
| 102 | const hash = createHash('md5').update(workDir, 'utf-8').digest('hex'); |
| 103 | return join(getDataDir(), KIMI_CODE_INPUT_HISTORY_DIR_NAME, `${hash}.jsonl`); |
| 104 | } |
no test coverage detected