Skip to content

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnchorEdit

AnchorEdit is a lightweight apply engine built on top of AnchorScope v2. Its purpose is not file discovery or code generation. Its purpose is safe and deterministic application of edits.

Core workflow:

Anchor → Apply → Verified Write

Installation

Prebuilt Binaries

Download from the Releases page:

Asset Platform
anchoredit-<ver>-x86_64-pc-windows-msvc.zip Windows x86_64
anchoredit-<ver>-x86_64-unknown-linux-musl.tar.gz Linux x86_64 (static, musl)
anchoredit-<ver>-aarch64-apple-darwin.tar.gz macOS Apple Silicon

Build from Source

cargo install --path .

Prerequisites

AnchorScope v2.0.0: https://github.com/kmlaborat/AnchorScope

Usage

anchoredit apply
--file
--anchor ""
--replacement ""

Library Usage

use anchoredit::apply;

let result = apply(file_path, anchor.as_bytes(), replacement.as_bytes())?;

Documents

  • docs/SPEC.md — Specification
  • v1/ — Legacy v1 (Sliding Bisection, archived)

License

MIT License

About

AnchorEdit is a specification for LLM-native code editing built on top of AnchorScope.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages