Releases: bigknoxy/HashPilot
Releases · bigknoxy/HashPilot
v1.5.3
v1.5.2
v1.5.1
v1.5.0
v1.4.0
v1.3.1
v1.3.0
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
- Intent Parser (
parseIntent) — validates JSON input, supports 3 operations - Reference Discovery (
findSymbolDefinition+findReferences) — tree-sitter + grep for cross-file call site discovery - 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-runOptions: --project-root, --dry-run, --no-verify, --no-revert, --timeout, --json
Bug fixes
- grep.ts: Fixed single-file
line:textoutput 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