Skip to content

v1.3.0

Choose a tag to compare

@github-actions github-actions released this 05 May 01:32
· 22 commits to main since this release

1.3.0 (2026-05-05)

M5: Intelligent Editing Intent Engine

The intent engine converts high-level editing intents (JSON) into structured multi-file edit plans, then executes them atomically with snapshot-based rollback.

Three-layer architecture

  1. Intent Parser (parseIntent) — validates JSON input, supports 3 operations
  2. Reference Discovery (findSymbolDefinition + findReferences) — tree-sitter + grep for cross-file call site discovery
  3. Plan Executor (executePlan + executeIntent) — snapshots originals, applies edits sequentially, rolls back on failure

Supported operations

Operation Description
add-parameter Insert param into function signature + update all call sites
remove-parameter Remove paramName from signature + call sites
rename-exported-symbol Rename symbol in definition + all references + imports

Cross-language support

TypeScript, JavaScript (including JSX/TSX), Python, Go, and Rust.

CLI

structured-edit intent '{"operation":"add-parameter","symbol":"greet","param":{"name":"suffix","default":"\"!\""}}' \
  --project-root src/ --dry-run

Options: --project-root, --dry-run, --no-verify, --no-revert, --timeout, --json

Bug fixes

  • grep.ts: Fixed single-file line:text output format parsing (6th ugrep/GNU grep compatibility fix). Single-file projects now correctly discover references instead of returning empty results.

Files changed

File Status
src/core/intent.ts New — intent parsing, symbol/reference discovery, plan generation (338 lines)
src/core/plan-executor.ts New — atomic plan execution with snapshot rollback (200 lines)
tests/intent.test.ts New — 32 tests covering full E2E intent flow
src/core/ast-edit.ts +145 lines — insertParameter, insertCallArg, extractCallableName
src/core/grep.ts Bugfix — 4 output format variants (multi/single-file × GNU/ugrep)
src/cli.ts +37 lines — intent command
src/core/index.ts Exports for intent + plan-executor modules

Test status

224/224 tests pass, 0 failures across 8 files.


Full Changelog: v1.2.1...v1.3.0