dsh-hashline-edit 0.3.0 → 0.3.1
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/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
import { dirname as dirname2, join as join4, parse, resolve, sep } from "node:path";
|
|
49
49
|
|
|
50
50
|
// src/hashline/alphabet.ts
|
|
51
|
-
var HASH_LEN = true ?
|
|
51
|
+
var HASH_LEN = true ? 3 : resolveAnchorWidth(process.env);
|
|
52
52
|
var ALPHA = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
53
53
|
var ALPHA_SAFE = ALPHA.replace(/-/g, "\\-");
|
|
54
54
|
var ALPHA_RE = new RegExp(`^[${ALPHA_SAFE}]+$`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-hashline-edit",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Hash-anchored read/apply_patch tools for DeepSeek Harness (dsh). Every line gets a unique 3- or 4-char hash (A-Za-z0-9, configurable) that stays stable across edits; apply_patch is the only file-mutation entry point and commits one patch batch per transaction. Undo persists across restarts.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"anchors",
|