@oh-my-pi/pi-coding-agent
Breaking Changes
- Removed the package root
hashlineexport so imports from the top-level entrypoint can no longer accesshashlinehelpers directly
Added
- Added
read.summarize.minTotalLinessetting (default 100) to set the minimum file length that triggers read summarization - Added
<file>:<lines>support tosearchpaths, allowing file-scoped constraints such as:N-M,:N+K, and comma-separated ranges
Changed
- Changed multi-section hashline
editexecution to defer LSP diagnostics flushing until the final section is written - Changed read to return verbatim contents for files shorter than
read.summarize.minTotalLinesinstead of summarizing them - Changed
searchpath line-range filtering to include only matches and context lines that fall inside the requested ranges
Fixed
- Fixed multi-section hashline edits to reject duplicate canonical targets and preflight write guards before any section is committed
Fixed
- Fixed
createAgentSession()dropping the hiddenresolvetool from the registry when no active tool setsdeferrable: true, even though plan mode dispatches the plan-approvalresolve { action: "apply", ... }call through a standing handler. Read-only plan-mode toolsets (e.g.read,search,find,web_search) silently activated plan mode withoutresolve, leaving the agent unable to submit the finalized plan and forcing the user to exit plan mode manually.resolveis now kept wheneverplan.enabledis true, so the standing handler always has a callable tool (#1428)
Fixed
- Fixed
ompstartup and/changelogreading the host project'sCHANGELOG.mdas omp's —getPackageDir()no longer falls back to the user'scwdwhen no owningpackage.jsonis locatable, preventing spuriouslastChangelogVersionwrites (#1423)
@oh-my-pi/hashline
Added
- Added a high-level
PatcherAPI with all-or-nothingapplyand stagedprepare/commitflows for multi-file patch updates - Added pluggable
FilesystemandSnapshotStoreabstractions with built-inNodeFilesystem,InMemoryFilesystem, andInMemorySnapshotStoreadapters - Added patch parsing that consumes
¶PATH#HASHhunk headers, validates section file hashes, and supports optional patch envelope markers - Added tolerant input handling that strips read/search prefixes and supports optional
cwd/fallback-path resolution when parsing patch payloads - Added automatic line-ending and BOM normalization on read, with original encoding shape restored on write
- Added follow-up helpers
buildCompactDiffPreviewandstreamHashLinesfor compact diff previews and chunked streaming of numbered lines - Added stale-file-hash recovery that replays edits against snapshots and merges results onto current file content when direct hash validation fails
- Initial standalone release. Extracted from
@oh-my-pi/pi-coding-agent.
Fixed
- Fixed repeated patch application mutating cached
after_anchoredits between target snapshots - Fixed multi-section patching to preflight write policies and reject duplicate canonical targets before any section is committed
- Fixed mixed line-ending restoration to preserve the first newline style instead of rewriting ties to LF
@oh-my-pi/pi-natives
Added
- Added
Hashlineclass with methods to format headers, parse/apply hashline edits, split inputs, compute diffs, generate previews, and recover from stale hashes - Added
HashlineChunkerclass to stream UTF-8 text into numbered hashline chunks incrementally - Added
HashlineCursorKind,HashlineEditKind, andHashlineTokenKindexports for hashline cursor/edit/token discrimination - Added
unfoldUntilLinesandunfoldLimitLinesoptions toSummaryOptionsto control BFS unfold visibility with an optional hard cap
What's Changed
- fix(coding-agent): scope package-dir lookup so omp never reads the host project's CHANGELOG.md by @roboomp in #1424
- fix(coding-agent): keep hidden resolve tool for plan mode by @roboomp in #1430
Full Changelog: v15.5.3...v15.5.4