mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-07-28 18:35:29 +00:00
Adds a provider for Kimi Code CLI (MoonshotAI/kimi-code, the successor of kimi-cli), reading ~/.kimi-code/sessions/wd_*/session_*/: state.json for session metadata and per-agent agents/<id>/wire.jsonl event streams. - Usage from usage.record events: inputOther->input, output->output, inputCacheRead->cacheRead, inputCacheCreation->cacheWrite. The store has no cost fields, so cost is computed from tokens and flagged estimated. - Real model attribution: usage.record.model carries the config ALIAS; the real model id lives on llm.request events. Rows resolve the alias through the alias->model map first, with the nearest preceding request as fallback, so aliases never leak into reports. - Subagent wire files parse as separate sources under one session without double counting; multi-turn continuations in one wire.jsonl are one session with multiple turns; retry-only failed sessions parse to zero usage; malformed JSONL lines are skipped. - Tool calls feed the tool breakdown; tool state resets at turn boundaries so a failed turn cannot bleed its tools into the next row. - KIMI_CODE_HOME override, eager registration, PROVIDER_ENV_VARS and PROVIDER_PARSE_VERSIONS entries, probeRoots for doctor, docs page. |
||
|---|---|---|
| .. | ||
| design | ||
| providers | ||
| sync | ||
| architecture.md | ||