/** * Hashline editing core — content-hash anchors for edit_file stale-patch detection. * * Ported from oh-my-openagent/packages/hashline-core/. * Bundles a runtime-aware xxHash32 (Bun fast-path, pure-JS fallback). */ export { computeLineHash, formatHashLines, formatHashLine, computeLegacyLineHash } from "./hash-computation.js" export { parseLineRef, validateLineRef, validateLineRefs, HashlineMismatchError, normalizeLineRef } from "./validation.js" export type { LineRef } from "./validation.js" export { NIBBLE_STR, HASHLINE_DICT, HASHLINE_REF_PATTERN, HASHLINE_OUTPUT_PATTERN } from "./constants.js" export type { ReplaceEdit, AppendEdit, PrependEdit, HashlineEdit } from "./types.js"