@levnikolaevich/hex-line-mcp 1.5.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -30
- package/dist/hook.mjs +45 -13
- package/dist/server.mjs +769 -416
- package/output-style.md +2 -0
- package/package.json +4 -4
package/output-style.md
CHANGED
|
@@ -38,6 +38,8 @@ Prefer:
|
|
|
38
38
|
4. use `set_line`, `replace_lines`, `insert_after`, `replace_between` based on scope
|
|
39
39
|
5. use `verify` before rereading after staleness
|
|
40
40
|
|
|
41
|
+
Post-edit output uses `block: post_edit` with checksum — use it directly for follow-up edits or verify.
|
|
42
|
+
|
|
41
43
|
Avoid:
|
|
42
44
|
- chained same-file `edit_file` calls when all edits are already known
|
|
43
45
|
- full-file rewrites for local changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@levnikolaevich/hex-line-mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"mcpName": "io.github.levnikolaevich/hex-line-mcp",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Hash-verified file editing MCP + token efficiency hook for AI coding agents. 11 tools: read, edit, write, grep, outline, verify, directory_tree, file_info, setup_hooks, changes, bulk_replace.",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"lint": "eslint .",
|
|
21
21
|
"lint:fix": "eslint . --fix",
|
|
22
22
|
"test": "node --test test/*.mjs",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
23
|
+
"scenarios": "node scenarios/index.mjs",
|
|
24
|
+
"scenarios:diagnostic": "node scenarios/index.mjs --diagnostics",
|
|
25
|
+
"scenarios:diagnostic:graph": "node scenarios/index.mjs --diagnostics --with-graph",
|
|
26
26
|
"check": "node --check server.mjs && node --check hook.mjs"
|
|
27
27
|
},
|
|
28
28
|
"_dep_notes": {
|