4ea76365cd
Move the hash-anchored edit core (hash computation, validation, edit operations, text normalization, chunk formatter, diff utilities, and a runtime-aware xxHash32 binding) into a new @oh-my-opencode/hashline-core workspace package. The src/tools/hashline-edit/ surface becomes a set of thin re-export shims, so existing import paths in the plugin keep working while the pure logic lives behind a stable package boundary that has no opencode runtime dependencies. Tests: bun test packages/hashline-core src/tools/hashline-edit
9 lines
209 B
TypeScript
9 lines
209 B
TypeScript
export {
|
|
parseLineRef,
|
|
validateLineRef,
|
|
validateLineRefs,
|
|
HashlineMismatchError,
|
|
normalizeLineRef,
|
|
} from "@oh-my-opencode/hashline-core"
|
|
export type { LineRef } from "@oh-my-opencode/hashline-core"
|