Skip to content

Explore Windsurf and Cursor support (gateway proxy + conversation import) #251

@BYK

Description

@BYK

Summary

Investigate whether Windsurf and Cursor can be supported by lore — both for the gateway proxy (live memory) and conversation import (historical knowledge extraction).

Context

Lore now supports conversation import from 7 agents: Claude Code, Codex, OpenCode, Cline, Continue, Pi, and Aider. The gateway proxy supports 4 agents for live memory: Claude Code, Codex, Pi, and OpenCode.

Windsurf and Cursor are two popular AI coding IDEs that are conspicuously absent. Before investing in provider implementations, we need to understand:

Questions to answer

Gateway proxy support

  1. Do they support external API base URLs? (e.g. ANTHROPIC_BASE_URL, OPENAI_BASE_URL env vars or settings)
  2. What wire protocol do they use? (Anthropic messages, OpenAI completions, OpenAI responses, or proprietary)
  3. Can they be configured to route LLM traffic through a local proxy?
  4. Without proxy support, gateway integration is not feasible.

Conversation import

  1. Where do they store conversation history locally?
    • Cursor likely stores in ~/.cursor/ — investigate the SQLite schema
    • Windsurf likely stores in ~/.windsurf/ or similar
  2. Is the format stable or does it change between versions?
  3. Is there per-project scoping (cwd/workspace) in the stored data?
  4. Is the conversation data human-readable (JSON, JSONL, markdown) or opaque (internal leveldb, encrypted)?

Priority

  • If neither supports external gateway URLs, we should only pursue import providers (lower maintenance burden).
  • If the local storage format is opaque or frequently changing, the maintenance cost may outweigh the benefit.

References

  • Conversation import system: packages/core/src/import/
  • Gateway agent definitions: packages/gateway/src/cli/agents.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions