semantic-edit-mcp 0.2.0

MCP server for semantic code editing with tree-sitter
1
2
3
4
5
6
7
8
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Clone, Debug, Copy, Eq, PartialEq, fieldwork::Fieldwork)]
#[fieldwork(get, set, get_mut)]
pub struct EditPosition {
    pub start_byte: usize,
    pub end_byte: Option<usize>, // None for insert, Some for replace
}