Skip to content

Add Cline source support#23

Open
kaiaiagent wants to merge 1 commit intopeteromallet:mainfrom
kaiaiagent:add-cline-source
Open

Add Cline source support#23
kaiaiagent wants to merge 1 commit intopeteromallet:mainfrom
kaiaiagent:add-cline-source

Conversation

@kaiaiagent
Copy link

Summary

  • Add Cline (VS Code extension, formerly Claude Dev) as the 8th data source
  • Parses api_conversation_history.json from ~/.cline/data/tasks/ (primary) with fallback to legacy VS Code globalStorage paths (macOS/Linux/Windows)
  • Groups tasks by cwdOnTaskInitialization from taskHistory.json; tasks without history fall under cline:unknown
  • Fixes pre-existing stale source lists in CLI error messages, HF tags (adds missing kimi-cli), and source hint strings

Test plan

  • All 297 tests pass (7 new Cline-specific tests added)
  • Tests cover: discovery, basic parsing, tool_use/tool_result, thinking blocks, missing files, project grouping, unknown CWD fallback
  • Existing test isolation helpers updated to disable Cline in non-Cline tests
  • Live test with actual Cline installation (optional — no Cline data available on dev machine)

🤖 Generated with Claude Code

Add Cline (VS Code extension, formerly Claude Dev) as a data source.
Parses api_conversation_history.json from ~/.cline/data/tasks/ with
fallback to legacy VS Code globalStorage paths. Groups tasks by
cwdOnTaskInitialization from taskHistory.json.

Also fixes pre-existing stale source lists in CLI error messages,
HF tags (adds missing kimi-cli), and source hint strings.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant