feat(agent-source): add Windsurf and Cline adapters - #81
Closed
Timelovers wants to merge 1 commit into
Closed
Conversation
Add agent-source adapters for Windsurf (Codeium) and Cline (VS Code extension) so Memmy can import conversation history from these tools. - Windsurf: reads from ~/.codeium/windsurf/conversations/*.json - Cline: reads from VS Code globalStorage tasks/*.json - Both follow the existing Claude Code / Opencode adapter pattern - Add path resolvers to agent-paths.ts - Register both in builtin-agent-source-registry - 6 unit tests (3 per adapter: descriptor, detect, custom config) Co-authored-by: Timelovers <46080686+Timelovers@users.noreply.github.com>
Collaborator
|
Received. We anticipate incorporating it into the next version, with plans for testing and releasing v1.0.5 @Timelovers |
Collaborator
|
Thanks for the contribution. We tested this PR against real local installations, but it is not ready to merge yet:
Please verify both adapters using sanitized fixtures from real installations and add discovery/reader tests. Requesting changes for now. |
Author
|
Thanks for the detailed review @hijzy. Pushed fixes:
Would appreciate another look when you have a chance. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add agent-source adapters for Windsurf (Codeium) and Cline (VS Code extension) so Memmy can import conversation history from these tools.
Windsurf
Reads conversation JSON files from
~/.codeium/windsurf/conversations/. Each conversation is a JSON array of turns withroleandcontentfields.Cline
Reads task JSON files from the VS Code globalStorage directory (
tasks/). Each task file contains amessagesarray withrole,say/text/contentfields.Changes
agent-source/windsurf/— adapter, session-discovery, transcript-reader, indexagent-source/cline/— adapter, session-discovery, transcript-reader, indexagent-paths.ts— addresolveWindsurfDataDirectoryandresolveClineDataDirectorybuiltin-agent-source-registry.ts— register both adaptersBoth follow the existing adapter pattern (Claude Code / Opencode).
Type of change
How Has This Been Tested?
Checklist