Files
oh-my-pi/packages/hashline/CHANGELOG.md
T
can1357 b12e4698a6 feat: added @oh-my-pi/hashline package and migrated hashline tooling
- Added a dedicated @oh-my-pi/hashline package with parser, patcher, filesystem, snapshots, and release metadata.
- Migrated coding-agent hashline and stream entrypoints to @oh-my-pi/hashline and removed old hashline module exports.
- Changed multi-section hashline execution to validate section hashes and flush diagnostics only at the final commit.
- Added session fileSnapshotStore support and rewired edit/read/search/write tools to use it instead of fileReadCache.
2026-05-27 04:03:49 +02:00

1.1 KiB

Changelog

All notable changes to this package will be documented in this file.

[Unreleased]

Added

  • Added a high-level Patcher API with all-or-nothing apply and staged prepare/commit flows for multi-file patch updates
  • Added pluggable Filesystem and SnapshotStore abstractions with built-in NodeFilesystem, InMemoryFilesystem, and InMemorySnapshotStore adapters
  • Added patch parsing that consumes ¶PATH#HASH hunk 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 buildCompactDiffPreview and streamHashLines for 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 with a