This repository was archived by the owner on Oct 19, 2026. It is now read-only.
Repository navigation
Releases
Releases · makcimbx/opencode-better-hashline
v0.9.0
0.9.0 (2026-07-24)
Added
- Added default-on managed LSP Error diagnostics with an explicit
falseopt-out, lazy frozen import of eligible scoped publicconfig.lspcommand entries, optional ID-based server overrides, process-free zero-route behavior, canonical-worktree persistent clients, immutable post-publication synchronization, one absolute deadline, and bounded transport/resource use. Failures and drift produce advisory non-retry warnings without rollback; diagnostics use extra host output headroom while native-alias metadata remains empty. The independent clients may duplicate host-LSP resources and deliberately provide no dynamic registration, watched-file notifications, formatting, navigation, code actions, arbitrary or server-directed command execution, or workspace edits. Fortypescript-language-serveronly, an advertisedtypescript.tsserverRequestcommand permits three fixed diagnostic-sync requests solely as a post-change freshness barrier; contradictory current push errors win, and malformed or unsupported command evidence never establishes a clean result. - Added the write-once retained schema-v11 deterministic result, preserving prior deterministic classifications and wire fixtures while adding production-composed managed LSP output/headroom fixtures.
Changed
Fixed
- Folded Better Hashline guidance into OpenCode's leading system block instead of appending a second
systemmessage, preserving in-place hook semantics while supporting strict local chat templates such as Qwen.
v0.8.1
0.8.1 (2026-07-24)
Added
Changed
Fixed
- Allowed concurrent sibling
hashline_writecalls to reuse an exact verified parent prefix under the original locks instead of returning a pre-write race; successful contention reportsreusedDirectoriesand a concise notice. On the one-parent fixture, output grows from 54 to 132 UTF-8 bytes only when reuse occurs; ordinary write output, schemas, and protocol fingerprints are unchanged. - Added bounded delayed recovery for transient read-only filesystem observations across read, edit, write, delete, and move flows, while keeping publication syscalls single-attempt and persistent identity, provenance, or publication uncertainty fail-closed.
- Hardened lifecycle identity refresh, active snapshot pinning, edit-readback attestation, staging ownership/descriptor cleanup, exact final publication proofs, and generation fencing so queued overlapping calls cannot continue after
PARTIAL_PUBLICATION.
v0.8.0
0.8.0 (2026-07-24)
Added
- Added immutable schema-v9 model-free evidence for the incremental omitted-rebase adapter and updated edit-schema wire fixture; strict-only defaults remain covered by runtime tests rather than that corpus.
- Added
coverage=partial|completeto every@hashlineheader, computed from evidence issued at render time plus the candidate page:completemeans those inputs are sufficient and remains monotonic for a valid attested candidate, whilepartialcan become conservative after another page is delivered and attested; pending output and invalidated candidates issue nothing, andpartial=trueremains page-local. - Added the write-once retained schema-v10 deterministic result for cumulative coverage headers and explicit
replace_filereadback.
Changed
- Made omitted
rebaseoperation-aware: incrementalreplace/insert/copy_range/move_rangebatches select exact ambiguity-rejectingunique, whilereplace_fileand lifecycle operations remain strictnone; explicitnoneretains full-byte freshness, and a successful changed-byte unique rebase is reported in the result. - Reclassified sole strict
replace_fileas a text edit with explicitly requested readback support; readback remains off when omitted, and onlydelete_fileandmove_filereject readback controls and never attach successors.
Fixed
- Added phase-correct recovery guidance to stale/ambiguous planning, strict-only rebase misuse, stable-read races, and oversized native-alias metadata failures.
v0.7.0
0.7.0 (2026-07-23)
Added
- Added a redesigned, quick-start-oriented project README and a packaged Russian-language guide.
- Added a project-local rubric and recovery matrix for model-visible tool contracts.
Changed
-
Expanded tool and field descriptions with explicit routing, path, result, lifecycle, and recovery contracts.
-
Simplified strict
hashline_writecalls tofilePathandcontent; writes now automatically create up to 64 missing parents through the existing fixed, authorized, locked, no-rollback plan, while the obsoletecreateParentsfield is rejected. -
Made
readbackOffsetorreadbackLimitimply text readback; explicitreadback:falsewith a window is invalid, and lifecycle operations still rejecttrueand all windows. -
Added immutable schema-v8 model-free evidence for the unchanged safety corpus and the simplified write, readback, empty-file, and lifecycle-call fixtures.
Fixed
- Corrected migration-mode read routing, pagination footer guarantees, lifecycle atomicity wording, and phase-specific filesystem recovery guidance.
- Fixed
replace_filewith emptylinesand omittedfinalNewlineto inferfalse; explicittrueremains invalid, while non-empty omission still preserves snapshot newline state.
v0.6.1
0.6.1 (2026-07-23)
Added
- Added bounded aggregate issued-coverage diagnostics that report all missing line ranges plus required internal-neighbor, BOF, and EOF evidence while recommending conservative 1,000-line recovery reads.
Changed
- Raised requested
hashline_read.limitand textreadbackLimitceilings from 1,000 to 100,000 while retaining 1,000 defaults, one contiguous readback page, and authoritative byte pagination (maxOutputBytesdefaults to 40 KiB and is capped at 45 KiB) with@moreon byte-limited partial pages. - Clarified that
replaceremoves the exact inclusive range,linesis the complete replacement while outside neighbors remain, and every operation uses immutable original-snapshot coordinates rather than sequential batch coordinates. - Made snapshot page rendering linear in emitted content. The expanded public schemas and descriptions intentionally change raw/projected schema identities and the native-alias fingerprint while retaining the
native-aliases/v2marker.
Fixed
- Fixed offline evidence to accept OpenCode 1.18.4's exact interrupted
unknowncleanup shadow, while native-alias live admission now uses delivered and attested process-local epochs without fetching persisted history. - Fenced candidate and snapshot authority so same-identity reads may reuse the current candidate, differing fingerprint/worktree preparation retires active authority, and stale, reordered, or ABA completions cannot bind or revive old IDs.
- Fixed partial move and parent publication to invalidate affected snapshots and unbind the live epoch instead of permanently poisoning it; after path repair, a fresh delivered read recovers in the same OpenCode task without reviving old snapshot IDs.
- Fixed lifecycle readback-window arguments to return lifecycle-specific errors even without
readback:true, and aligned native-alias descriptions, complete path-set concurrency guidance, and current documentation with the live runtime.
v0.6.0
0.6.0 (2026-07-22)
Added
- Add text-only
readbackOffsetandreadbackLimitcontrols for one contiguous post-edit successor page, with one-based/default-first-hunk addressing, a1..1000/default-1000 limit, and delivered-page-only issuance without an ID-only successor. - Add explicit
hashline_write.createParentssupport for at most 64 missing directories through one deepest-ancestor plan, complete directory/target authorization and locking, exclusive root-to-leaf creation, staged no-clobber file publication, and no-rollbackPARTIAL_PUBLICATIONafter a directory exists or creation becomes ambiguous. - Add schema-v7 deterministic methodology and an immutable write-once result for the expanded 29-case corpus, edit/write schemas, readback call, and parent-creation call.
- Add sole snapshot-bound
delete_fileand no-clobbermove_fileoperations with exact-byte freshness, complete issued BOF-to-EOF source coverage, direct regular single-link sources, source authorization, and, for moves, dual-path authorization plus an absent destination under a stable existing parent on the same filesystem. - Add the two-task
file-ops-v1deterministic model manifest and currentnative-aliases-v2adapter identity without making a paid model claim. - Add model-free schema-v6 lifecycle operation-schema and compact call-wire fixtures, retained in a new immutable result without rewriting the schema-v5 evidence.
Changed
- Permit one
move_rangeto compose with pairwise-disjoint replacements wholly inside its intervening corridor and outside its source while retaining full-corridor freshness/issuance, positional EOL validation, and conservative rejection of every other conflict. - Append deterministic zero-based operation-pair evidence to overlap and insertion-boundary diagnostics without changing their stable error codes, and shorten complete-snapshot recovery guidance to one full reread from
offset=1through@eof. - Keep the
native-aliases/v2marker name while changing the canonical schema SHA/fingerprint for the expanded tool contracts; prior v2 sessions fail closed and require a restart plus a new session. - Record current schema-v7 development values: adversarial counts strict
6/18/5/0, unique11/18/0/0, exact search10/13/1/5, line numbers7/1/0/21, endpoint-87/12/4/6, endpoint-167/13/4/5; edit schema3686 -> 5033(+1347, 36.54%); write schema282 -> 548(+266, 94.33%); readback call181 -> 218(+37); and parent-create call50 -> 81(+31). Existing lifecycle, transfer, corridor, and static values are unchanged. - Remove the completed native-alias preview plan and superseded pre-v7 incident records while retaining the final pilot evidence and closed-ID safety rules.
- Upgrade native-alias history and metadata to
native-aliases/v2, binding each result to exactupdate,delete_file, ormove_fileoperation identity and move destination correlation; v1 history now fails closed. - Plan file lifecycle operations separately from pure text
planEdits, approve one immutable exact patch/metadata result before reread and publication, and serialize overlapping source/destination path sets while allowing disjoint sets to progress. - Keep retained schema-v5 and pilot-v7 evidence immutable and scoped to the earlier text-operation contract; neither result covers the new lifecycle task or adapter identity.
- Keep the retained schema-v6 lifecycle result and pilot-v7 scope immutable; retain schema-v7 separately as model-free mechanical evidence without a paid or model-quality claim.
Fixed
- Canonicalize renderer, permission, and verifier roots through physical worktree identities so macOS
/varaliases and Windows 8.3/case aliases retain correct relative paths. - Reject Windows alternate-data-stream path separators before permission or staging, classify ambiguous first-directory creation as
PARTIAL_PUBLICATION, keep partial errors free of private canonical paths, and poison native-alias sessions after partial parent publication. - Explain exact selected-range EOL-only changes after failed unique relocation while preserving
TARGET_CHANGEDand making no normalization, fuzzy-match, or fallback change. - Report post-link move failures as
PARTIAL_PUBLICATION, invalidate source and destination snapshots, poison the bound alias session, and require inspection plus a new session instead of attempting an unsafe rollback. - Preserve safe native-alias session-history failure categories, recover bounded transient fetches under one total deadline, and distinguish retryable host failures from oversized histories that require a genuinely new task ID.
v0.5.0
0.5.0 (2026-07-22)
Added
- Add a project-local OpenCode configuration that loads the working-tree plugin in enforced
native-aliasesmode for dogfooding. - Add
INSERTION_BOUNDARY_CONFLICTso duplicate insert/copy destinations are distinguishable from spatial overlap. - Add
@hashline-editlifecycle receipts that distinguish consumed snapshots with attached, absent, or unavailable successors.
Changed
- Mark incomplete snapshot pages and bounded readbacks with
partial=true, clarify cumulative issued coverage, and provide actionable reread guidance. - Clarify that
uniquerelocates only still-retained snapshots after external changes. - Permit concurrent native-alias calls for independent files only after exact process-local session binding; unbound and same-path calls remain serialized.
- Report exact display-prefix coordinates with bounded numeric evidence, recognize lifecycle markers, and reserve
allowHashlinePrefixesfor intentional source bytes in the initial call. - Verify native-alias prefix rejection and restart recovery through two real pinned OpenCode processes during
pack:check.
Fixed
- Classify mixed
replace_filebatches asINVALID_ARGUMENTinstead of spatial overlap. - Persist native-alias
DISPLAY_PREFIX_REJECTEDrecovery as an exact worktree-bound, completed non-mutating terminal result on supported OpenCode hosts. - Measure actual projected hashline and native-alias provider contracts instead of a hybrid schema fixture.