feat: introduced hashline API redesign with structured operations and LINE#ID format

- Redesigned hashline edit API with new operation names (set, set_range, insert) and structured body parameter accepting string arrays for multiline edits.
- Changed hashline reference format from LINE:HASH to LINE#ID throughout tools and documentation for improved clarity.
- Enhanced insert operation to support optional before/after anchors enabling flexible insertion positioning and boundary echo stripping.
- Made hashline autocorrect heuristics conditional on PI_HL_AUTOCORRECT environment variable for controlled behavior.
- Added benchmark reports for claude-haiku-4-5 and GPT-5.2-Codex models demonstrating hashline edit variant performance.
This commit is contained in:
can1357
2026-02-19 14:53:18 +01:00
parent 8c73c45ccc
commit 2bdcd618ad
19 changed files with 2551 additions and 328 deletions
@@ -76,7 +76,6 @@ Call create_conventional_analysis with:
}
</output_format>
<examples>
<example name="feature-with-api">
{
"type": "feat",
@@ -146,5 +145,4 @@ Call create_conventional_analysis with:
"details": [],
"issue_refs": []
}
</example>
</examples>
</example>