waveterm icon indicating copy to clipboard operation
waveterm copied to clipboard

[Feature]: Suggest integrating Claude Code / Gemini CLI with interactive diff-based editing

Open lyzno1 opened this issue 7 months ago • 0 comments

Feature description

Recently, terminal-based AI coding tools like Claude Code and Gemini CLI have started gaining traction, especially as VSCode-based AI IDEs become increasingly commercialized. These CLI tools are accurate, lightweight, and work well within terminal workflows.

Given Wave’s support for split views, built-in editing, and flexible layout, it may be worth exploring whether AI-generated code changes—especially diffs—could be rendered directly in an editor pane. For example, when using these tools to modify code, the output could appear as a unified diff, which the user can interact with: reviewing, editing, or applying it manually.

This is just a proposal, but it seems to align with how Wave is already bridging terminal and editor experiences.

Implementation Suggestion

Some possible directions:

  • Parse structured output from Claude Code or Gemini CLI (e.g., unified diffs).
  • Render suggestions in a read-only or editable split editor pane.
  • Support inline actions like accept, reject, or modify for each change block.
  • Optionally keep the AI session interactive in a parallel pane for follow-up prompts.

If this idea aligns with Wave’s direction, I’d be happy to help think through the design or contribute where possible.

Anything else?

Related tools:

  • Claude Code: https://github.com/anthropics/claude-code
  • Gemini CLI: https://github.com/google-gemini/gemini-cli

The main idea is to explore whether Wave’s split-view and editing capabilities could be extended to support more interactive AI-assisted coding sessions via CLI tools like these.

lyzno1 avatar Jul 12 '25 15:07 lyzno1