dsh-hashline-edit 0.5.2 → 0.5.5
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 +31 -19
- package/cordis.patch.yml +7 -2
- package/lib/client.js +8 -3
- package/lib/index.js +6777 -6511
- package/lib/types/dsh/index.d.ts +14 -1
- package/lib/types/dsh/rg/tools.d.ts +7 -5
- package/lib/types/dsh/shell-view.d.ts +25 -1
- package/lib/types/dsh/write-hook.d.ts +16 -2
- package/lib/types/src/file-content/preview.d.ts +1 -1
- package/lib/types/src/hashline/anchor-codebook.d.ts +15 -0
- package/lib/types/src/hashline/apply.d.ts +1 -1
- package/lib/types/src/hashline/gutter.d.ts +13 -0
- package/lib/types/src/hashline/hash-identity.d.ts +8 -5
- package/lib/types/src/hashline/row-mode.d.ts +17 -0
- package/lib/types/src/served-session/serve-render.d.ts +6 -0
- package/package.json +1 -1
- package/prompts/apply-patch-guidelines.md +2 -2
- package/prompts/codegraph-guidelines.md +2 -2
- package/prompts/diagnostics-guidelines.md +1 -1
- package/prompts/edit-guidelines.md +2 -2
- package/prompts/read-description.md +1 -1
- package/prompts/read-guidelines.md +3 -3
- package/prompts/rg-guidelines.md +2 -2
- package/prompts/write-guidelines.md +2 -1
- package/src/file-content/preview.ts +23 -13
- package/src/hashline/anchor-codebook.ts +19 -0
- package/src/hashline/apply.ts +10 -4
- package/src/hashline/gutter.ts +35 -0
- package/src/hashline/hash-identity.ts +61 -19
- package/src/hashline/parse.ts +3 -2
- package/src/hashline/resolve.ts +7 -5
- package/src/hashline/row-mode.ts +43 -0
- package/src/prompts.ts +3 -1
- package/src/served-session/serve-render.ts +18 -1
package/README.md
CHANGED
|
@@ -27,14 +27,20 @@ The anchor width is baked into the build. Set `PI_BETTER_EDIT_ANCHOR_WIDTH` when
|
|
|
27
27
|
|
|
28
28
|
| Value | Anchor width | Usable space | Anchor generation |
|
|
29
29
|
| --- | --- | --- | --- |
|
|
30
|
-
| unset (default) | 3 chars |
|
|
30
|
+
| unset (default) | 3 chars | 157,943 (2-token codebook) | 3 |
|
|
31
31
|
| `4` | 4 chars | 14,766,336 | 1 |
|
|
32
32
|
|
|
33
33
|
The value is inlined into the bundle at build time (`esbuild define`), so the installed plugin never reads an environment variable at runtime — a 3-char build stays 3-char. The persisted store is keyed by the anchor generation, so changing the build width is a hard cache miss (served rows are simply re-read), never a cross-width hit. Width 4 keeps generation 1, so existing stores keep working unchanged.
|
|
34
34
|
|
|
35
35
|
Prompt prose is width-neutral: shipped prompt files use the `{{HASH_LEN}}` placeholder, resolved from the baked width, so a 3-char and a 4-char build each expose their own width through every prompt and guidance surface.
|
|
36
36
|
|
|
37
|
-
Measured on the DeepSeek-V4.1 tokenizer,
|
|
37
|
+
Measured on the DeepSeek-V4.1 tokenizer, every width-3 anchor is exactly two tokens (the codebook admits only the 157,943 two-token spellings) and a width-4 anchor averages ~3.0 tokens per served line (see [ADR-0034](docs/adr/0034-line-number-gutter-and-two-token-codebook.md)). The default is 3; build with `PI_BETTER_EDIT_ANCHOR_WIDTH=4` to ship the 4-char artifact, whose generation-1 store keeps existing rows valid.
|
|
38
|
+
|
|
39
|
+
### Line-number gutter and the 2-token codebook
|
|
40
|
+
|
|
41
|
+
Every served row is prefixed by a **display-only line-number gutter** — `12→` by default (line number, then U+2192), or `12: ` in the opt-in **native** gutter. The gutter is presentation only: the anchor is the build-width characters immediately left of `│`, and the gutter never participates in addressing. `PI_BETTER_EDIT_ROW_GUTTER` selects `arrow` (default) or `native`; native exists only for A/B measurement, because `12: ` merges with the anchor's first token for about 23% of anchors (only ~77% keep the two-token boundary, versus 100% with `12→`).
|
|
42
|
+
|
|
43
|
+
At width 3 the served anchors are drawn only from the **157,943 base62 three-character spellings that tokenize to exactly two tokens** on DeepSeek-V4.1 (a subset of the 238,328 total `62^3` spellings), so every anchor reads as a stable two-token unit. Width 4 keeps the historical rule (the all-digit sub-cube stays reserved; `62^4 − 10^4 = 14,766,336` usable). The width-3 generation is `3` (width 4 stays `1`), so a width-3 build is a one-time hard cache miss — existing width-3 anchors and stores are re-read once.
|
|
38
44
|
|
|
39
45
|
## Install
|
|
40
46
|
|
|
@@ -64,19 +70,19 @@ The bundle ships `lib/index.js` plus `lib/types/**`; `prompts/` must sit next to
|
|
|
64
70
|
|
|
65
71
|
## The anchored model
|
|
66
72
|
|
|
67
|
-
A served read looks like this (`│` is U+2502, the separator):
|
|
73
|
+
A served read looks like this (`12→` is the display-only line-number gutter; `│` is U+2502, the separator):
|
|
68
74
|
|
|
69
75
|
```text
|
|
70
|
-
ve7│function calculateTotal(items: CartItem[]): number {
|
|
71
|
-
szJ│ let total = 0;
|
|
72
|
-
kQm│ for (const item of items) {
|
|
73
|
-
m2z│ total += item.price;
|
|
74
|
-
d2x│ }
|
|
75
|
-
p9r│ return total;
|
|
76
|
-
a1b│}
|
|
76
|
+
1→ve7│function calculateTotal(items: CartItem[]): number {
|
|
77
|
+
2→szJ│ let total = 0;
|
|
78
|
+
3→kQm│ for (const item of items) {
|
|
79
|
+
4→m2z│ total += item.price;
|
|
80
|
+
5→d2x│ }
|
|
81
|
+
6→p9r│ return total;
|
|
82
|
+
7→a1b│}
|
|
77
83
|
```
|
|
78
84
|
|
|
79
|
-
Copy only the build-width characters
|
|
85
|
+
Copy only the build-width characters immediately left of `│` — the segment between the display-only line-number gutter and `│` (3 by default; 4 in a 4-char build); the gutter is never part of an anchor. `edit` passes them as `anchor_from`, plus `anchor_to` only when the range spans more than one line; `apply_patch` writes them as `@@<anchor>` for one row or `@@<from>-<to>` for a span. Both forms target an inclusive served range; a successful call returns a diff whose modified and context rows carry fresh anchors:
|
|
80
86
|
|
|
81
87
|
```text
|
|
82
88
|
- szJ│ let total = 0;
|
|
@@ -92,7 +98,7 @@ Served anchors are leased per session and per file. A stale, unknown, retired or
|
|
|
92
98
|
|
|
93
99
|
### Live switches and profiles
|
|
94
100
|
|
|
95
|
-
`read`, `applyPatch`, `edit`, `rg`, `codegraph` and `
|
|
101
|
+
`read`, `applyPatch`, `edit`, `rg`, `codegraph`, `diagnostics` and `writeAutoRead` are seven live per-agent switches. The host reloads the bundle row and remounts every live agent, so flipping one takes effect without a rebuild. `read` shadows the built-in read and enables the shell/grep views; `applyPatch` registers the `apply_patch` tool; `edit` registers the anchored range `edit` tool; `rg` registers an `rg` tool that runs the system `rg` and hides the host's built-in `grep` (and its brief) ([rg](#rg)); `codegraph` registers the optional codegraph graph tools ([Codegraph tools](#codegraph-tools)); `diagnostics` registers the anchored `diagnostics` tool ([diagnostics](#diagnostics)); `writeAutoRead` appends the written file's anchored page to the built-in `write` result so the next `edit` needs no `read` — off by default, so a write returns the native one-line success.
|
|
96
102
|
|
|
97
103
|
| Switch | Default | Effect |
|
|
98
104
|
| --- | --- | --- |
|
|
@@ -101,7 +107,8 @@ Served anchors are leased per session and per file. A stale, unknown, retired or
|
|
|
101
107
|
| `edit` | `false` | Register the anchored range `edit` tool. |
|
|
102
108
|
| `codegraph` | `false` (`cordis.patch.yml` ships `true`) | Register the eight `codegraph_*` graph tools and the `tool:codegraph` prompt section. |
|
|
103
109
|
| `diagnostics` | `false` (`cordis.patch.yml` ships `true`) | Register the `diagnostics` tool and the `tool:diagnostics` prompt section. |
|
|
104
|
-
| `rg` | `true` | Register the `rg` tool over the system `rg` and hide the host's built-in `grep` tool and its brief; the read switch's grep view
|
|
110
|
+
| `rg` | `true` | Register the `rg` tool over the system `rg` and hide the host's built-in `grep` tool and its brief; the read switch's grep view serves its matches through the tool's own value — each match gains its `hash` anchor and the rendered page is `HASH│content`, on a direct call and inside `run_code` alike. |
|
|
111
|
+
| `writeAutoRead` | `false` | Append the written file's anchored page to the built-in `write` result. Off: the write returns the native one-line success and injects nothing. The served hash-echo refusal guard runs either way. |
|
|
105
112
|
|
|
106
113
|
The two mutation switches form three supported profiles. With both mutation switches off, neither write tool is registered and the native-hide layer is not installed; the native editors and the host's built-in `write` stay visible. Each snippet below is the `config` block of the `dsh-hashline-edit` row:
|
|
107
114
|
|
|
@@ -139,9 +146,9 @@ read({
|
|
|
139
146
|
})
|
|
140
147
|
```
|
|
141
148
|
|
|
142
|
-
- **Served mode** returns one `HASH│content`
|
|
149
|
+
- **Served mode** returns one row per line — a display-only line-number gutter (`12→` by default, `12: ` in the native gutter), then `HASH│content` — and records every shown row as a lease for this session. A windowed read also includes a `[Lines A-B of N total]` page header. Every row shown is usable by one subsequent `apply_patch` or `edit`, even when the windows are far apart.
|
|
143
150
|
- **Verbatim mode** returns the same page as plain text with no anchors and serves nothing; an `apply_patch` identity hunk or an `edit` item cannot target those lines.
|
|
144
|
-
- **Folded mode** is the whole-file structural skeleton (`mode: "folded"`): one row per syntax item in file order, the item's opening line verbatim, and the item's first and last anchors — `HASH│opening line` for a single-line item, `HASH1..HASH2│opening line` for a multi-line one. An item is the language's decorated scope (wrapper plus leading doc comment), so a whole-item replacement owns the docs too. Lines no retained item covers collapse into ONE gap row per contiguous run, `HASH1..HASH2│… (N lines) …`: the edges are served, the interior is not. `foldDepth` (1–3, default 1) sets the fold depth; it is refused unless `mode: "folded"`, and `offset`/`limit`/`windows` are refused with folded (`E_BAD_PAYLOAD`). The page header is `[Folded view, N items, M lines elided: file (X lines total)]`. Folded is fail-open: no grammar, a cold grammar, a parse failure or an empty file fall back to the ordinary served page with one note row naming the reason — never a guessed anchor ([ADR-0029](docs/adr/0029-folded-read-mode-and-range-rows.md)).
|
|
151
|
+
- **Folded mode** is the whole-file structural skeleton (`mode: "folded"`): one row per syntax item in file order, the item's opening line verbatim, and the item's first and last anchors — `12→HASH│opening line` for a single-line item, `12..30→HASH1..HASH2│opening line` for a multi-line one (the `12→` / `12..30→` prefix is a display-only line-number gutter). An item is the language's decorated scope (wrapper plus leading doc comment), so a whole-item replacement owns the docs too. Lines no retained item covers collapse into ONE gap row per contiguous run, `12..30→HASH1..HASH2│… (N lines) …`: the edges are served, the interior is not. `foldDepth` (1–3, default 1) sets the fold depth; it is refused unless `mode: "folded"`, and `offset`/`limit`/`windows` are refused with folded (`E_BAD_PAYLOAD`). The page header is `[Folded view, N items, M lines elided: file (X lines total)]`. Folded is fail-open: no grammar, a cold grammar, a parse failure or an empty file fall back to the ordinary served page with one note row naming the reason — never a guessed anchor ([ADR-0029](docs/adr/0029-folded-read-mode-and-range-rows.md)).
|
|
145
152
|
- A small requested window — up to 61 lines after folding — may widen to its enclosing function, method, class, section or paragraph; a `[widened …]` note names the block that was served. Expansion applies in both modes. Languages: TypeScript/TSX, Python, Go, Rust, Java and Vue through pinned tree-sitter wasm grammars (all seven ship inside the package under `grammars/` and are verified against a committed SHA-256; the lazy download only covers a manifest entry with no shipped asset), plus Bash through the existing `unbash` parser (no wasm). Vue widens a top-level `template`/`script`/`style` block without parsing embedded JS/TS. SQL is not supported: real migrations largely fail to parse and `.tql` is a Java template, not SQL (see [`docs/spec/sql-vue-feasibility-gate.md`](docs/spec/sql-vue-feasibility-gate.md)).
|
|
146
153
|
- `offset`/`limit` and `windows` are page requests, not anchors: only anchored output grants a mutation lease, and `folded` is whole-file, so it accepts none of the three.
|
|
147
154
|
|
|
@@ -226,7 +233,7 @@ rg({ pattern: "run_code", include: "*.ts", ignoreCase: true })
|
|
|
226
233
|
```
|
|
227
234
|
|
|
228
235
|
- **System `rg`, no shell.** One process, a plain argv vector (`rg --json --regexp=… --glob=… -- <path>`), both streams captured, a 30 s budget and an 8 MB capture ceiling. The user's own ripgrep runs, so `RIPGREP_CONFIG_PATH`, the installed version and the ignore rules are the ones they configured; `rgPath` pins an executable outside `PATH`.
|
|
229
|
-
- **Anchored rows through the read switch.** The canonical value
|
|
236
|
+
- **Anchored rows through the read switch.** The canonical value keeps the native grep's `{ matches: [{ path, lineNumber, line }] }` shape, so the unchanged grep view re-reads every matched line from disk, serves it as `HASH│content` and leases it; the served anchors are then written onto that value — each match gains its `hash` — and the tool's renderer turns them into the shared search page. That value channel is also the only one a nested `run_code` caller receives, so the anchors work there too. Over 250 matches or over the inline token budget the view passes the result through and the rendered text reports `Found N of M matches` instead.
|
|
230
237
|
- **Expected failures are text results, not tool errors.** No `rg` on `PATH`, a pattern ripgrep rejects, an unreadable target, the deadline and a capture overflow all return a normal successful result carrying guidance; only an empty `pattern` or a malformed `include` is a hard argument error.
|
|
231
238
|
|
|
232
239
|
### codegraph tools
|
|
@@ -266,7 +273,7 @@ Runs the project's own toolchain and serves what it reports as anchors — one c
|
|
|
266
273
|
- **Expected failures are text results, not tool errors.** A missing toolchain, a missing `tsconfig.json`/`jsconfig.json` for `tsc`, the 120 s budget, a non-zero exit and output that does not parse (the raw tail is shown) all return a normal successful result carrying that guidance. Only a `tool` outside the enum is a hard argument error.
|
|
267
274
|
- **No shell.** `cargo` comes from `PATH`; `tsc` prefers `node_modules/typescript/bin/tsc`, walking up from `cwd`, then a `tsc` on `PATH`. The tool is registered only while `diagnostics: true`, and its brief is `prompts/diagnostics-guidelines.md`.
|
|
268
275
|
|
|
269
|
-
The plugin installs a `tools/post-execute` listener for the host's `pwsh`, `bash` and `grep` tools. When the command is a whitelisted read-only file view, the captured stdout is replaced with the aligned file's `HASH│content` rows, and those rows are served (leased) exactly like a read — a following `apply_patch` or `edit` can use them with no re-read. A `grep
|
|
276
|
+
The plugin installs a `tools/post-execute` listener for the host's `pwsh`, `bash` and `grep` tools. When the command is a whitelisted read-only file view, the captured stdout is replaced with the aligned file's `HASH│content` rows, and those rows are served (leased) exactly like a read — a following `apply_patch` or `edit` can use them with no re-read. A `grep`-shaped result whose matches are proven against disk is served the same way (see the table below). The `rg` tool is the `grep`-shaped result that reaches this listener unless the `grep` switch is off: its value declares the anchor on every match, so the served anchors are projected there rather than onto its content, which is what makes a nested `run_code` call served as well.
|
|
270
277
|
|
|
271
278
|
| Command shape | Served as |
|
|
272
279
|
| --- | --- |
|
|
@@ -274,11 +281,16 @@ The plugin installs a `tools/post-execute` listener for the host's `pwsh`, `bash
|
|
|
274
281
|
| `Get-Content <file> \| Select-Object -First\|-Last\|-Skip <N>` | the bounded slice |
|
|
275
282
|
| `Get-Content <file> \| Select-Object -Skip N -First M` (either order) | disk lines N+1 through N+M |
|
|
276
283
|
| `Select-String <pattern> <file>` | the matched lines, with their line numbers |
|
|
277
|
-
| `rg <pattern> <file>` (explicit single file
|
|
278
|
-
| `
|
|
284
|
+
| `rg <pattern> <file>` (explicit single file; matching-only switches such as `-i`, `-F`, `-w`, `-S`, `-n`) | the matched lines, with their line numbers |
|
|
285
|
+
| `grep -n <pattern> <file>` | the matched lines, with their line numbers |
|
|
286
|
+
| `grep <pattern> <file>` | the matched lines, aligned by content (refused when a duplicate makes the position ambiguous) |
|
|
287
|
+
| `head [-n N|-N] <file>`, `tail [-n N|-N] <file>` | the bounded head or tail slice |
|
|
288
|
+
| `rg` (this plugin's system-`rg` tool) | each match's anchor on the canonical value, rendered as the grouped `HASH│content` page |
|
|
279
289
|
|
|
280
290
|
The grep view applies the host's spill policy: at most 250 matches and at most 12,500 inline tokens (the host estimate `ceil(chars / 4) + 4`). A result over either cap, a failed call, a forged or stale match line, or non-ascending coordinates passes through byte-for-byte with no lease.
|
|
281
291
|
|
|
292
|
+
A nested (`run_code`) dispatch never receives model-facing content, so it is served only through the value — this plugin's `rg`, whose matches carry `hash`. Two host-owned values cannot gain an anchor field (`additionalProperties: false`): the native `grep` tool's matches and the built-in `write` tool's auto-read reach a nested caller unanchored, while both stay anchored on their model-facing result. Inside `run_code`, use `rg` (the default replacement) when anchors are needed, and `read` after a built-in `write`.
|
|
293
|
+
|
|
282
294
|
Alignment is strict: stdout lines are mapped to 1-based disk line numbers with a monotonic, unique match (search output's own line numbers are used as hints). Every served view is prefixed with the shared `[Bash view: <file> (lines a-b of N total)]` page header, so the positions the raw output used to name are not lost. Anything the view cannot prove — an unknown pipeline, a statement separator (`;`), a variable path (`$f`), a wildcard, formatted output, a truncated capture, a failed command — passes through byte-for-byte. The hook never guesses and never serves the wrong occurrence of a duplicated line.
|
|
283
295
|
## Encoding: UTF-8 only
|
|
284
296
|
|
package/cordis.patch.yml
CHANGED
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
# plugin re-mounts every live agent. Defaults: read on, apply_patch on, edit off, rg on.
|
|
11
11
|
# `rg` registers an `rg` tool over the system `rg` and disables the built-in `grep` (and its
|
|
12
12
|
# brief); the tool's matches keep the built-in value shape, so the read switch's grep view still
|
|
13
|
-
# serves them as `HASH│content` rows
|
|
13
|
+
# serves them as `HASH│content` rows — written onto each match's `hash`, so a nested `run_code` call is
|
|
14
|
+
# served too. `rgPath` pins an `rg` executable outside PATH.
|
|
14
15
|
- insert:
|
|
15
16
|
# `codegraph` adds the eight graph tools (explore/node/context/search/callers/callees/
|
|
16
17
|
# impact/implementations); the three source tools serve `HASH│content` rows. It needs the
|
|
@@ -30,6 +31,10 @@
|
|
|
30
31
|
diagnostics: true
|
|
31
32
|
# `rg` replaces the built-in grep with a tool over the system `rg`, exposing ripgrep's
|
|
32
33
|
# matching switches and hiding the built-in grep and its brief; the read switch's grep
|
|
33
|
-
# view
|
|
34
|
+
# view serves its matches as anchors, on each match's `hash` for a nested `run_code` call too.
|
|
34
35
|
rg: true
|
|
35
36
|
rgPath: ""
|
|
37
|
+
# `writeAutoRead` appends the written file's anchored page to the built-in `write` result
|
|
38
|
+
# so the next `edit` needs no `read`; off by default (the write returns the native one-line
|
|
39
|
+
# success) because the whole-file page is context the call did not ask for.
|
|
40
|
+
writeAutoRead: false
|
package/lib/client.js
CHANGED
|
@@ -33,7 +33,8 @@ var SWITCHES = [
|
|
|
33
33
|
{ key: "applyPatch", label: "swApplyPatch", hint: "swApplyPatchHint", fallback: true },
|
|
34
34
|
{ key: "edit", label: "swEdit", hint: "swEditHint", fallback: false },
|
|
35
35
|
{ key: "codegraph", label: "swCodegraph", hint: "swCodegraphHint", fallback: false },
|
|
36
|
-
{ key: "diagnostics", label: "swDiagnostics", hint: "swDiagnosticsHint", fallback: false }
|
|
36
|
+
{ key: "diagnostics", label: "swDiagnostics", hint: "swDiagnosticsHint", fallback: false },
|
|
37
|
+
{ key: "nativeGutter", label: "swNativeGutter", hint: "swNativeGutterHint", fallback: false }
|
|
37
38
|
];
|
|
38
39
|
var en = {
|
|
39
40
|
swRead: "Read (shadow the host read)",
|
|
@@ -55,7 +56,9 @@ var en = {
|
|
|
55
56
|
rejected: "The host refused this save; reset and review your changes.",
|
|
56
57
|
loading: "Loading host settings\u2026",
|
|
57
58
|
unavailable: "Enable this row with the built-in switch to edit its settings.",
|
|
58
|
-
rowSummary: "Read, apply_patch, edit, codegraph and diagnostics switches."
|
|
59
|
+
rowSummary: "Read, apply_patch, edit, codegraph and diagnostics switches.",
|
|
60
|
+
swNativeGutter: "Native line-number gutter (A/B)",
|
|
61
|
+
swNativeGutterHint: "Render served rows as `12: HASH\u2502content` (host read style) instead of the default `12\u2192HASH\u2502content`. Native needs the smaller strictly-separated 2-token codebook (21,330 vs 157,943) and invalidates old anchors \u2014 open a new session after switching."
|
|
59
62
|
};
|
|
60
63
|
var zh = {
|
|
61
64
|
swRead: "\u8BFB\u53D6\uFF08\u906E\u853D\u5BBF\u4E3B read\uFF09",
|
|
@@ -77,7 +80,9 @@ var zh = {
|
|
|
77
80
|
rejected: "\u5BBF\u4E3B\u62D2\u7EDD\u4E86\u6B64\u6B21\u4FDD\u5B58\uFF1B\u8BF7\u91CD\u7F6E\u540E\u91CD\u65B0\u68C0\u67E5\u66F4\u6539\u3002",
|
|
78
81
|
loading: "\u6B63\u5728\u52A0\u8F7D\u5BBF\u4E3B\u8BBE\u7F6E\u2026",
|
|
79
82
|
unavailable: "\u8BF7\u5148\u7528\u5185\u7F6E\u5F00\u5173\u542F\u7528\u6B64\u884C\u540E\u518D\u7F16\u8F91\u8BBE\u7F6E\u3002",
|
|
80
|
-
rowSummary: "\u8BFB\u53D6\u3001apply_patch\u3001\u533A\u95F4\u7F16\u8F91\u3001codegraph \u4E0E diagnostics \u5F00\u5173\u3002"
|
|
83
|
+
rowSummary: "\u8BFB\u53D6\u3001apply_patch\u3001\u533A\u95F4\u7F16\u8F91\u3001codegraph \u4E0E diagnostics \u5F00\u5173\u3002",
|
|
84
|
+
swNativeGutter: "\u539F\u751F\u884C\u53F7\uFF08A/B \u5B9E\u6D4B\uFF09",
|
|
85
|
+
swNativeGutterHint: "\u670D\u52A1\u884C\u6E32\u67D3\u4E3A `12: HASH\u2502content`\uFF08\u5BBF\u4E3B read \u98CE\u683C\uFF09\uFF0C\u66FF\u4EE3\u9ED8\u8BA4\u7684 `12\u2192HASH\u2502content`\u3002\u539F\u751F\u9700\u66F4\u5C0F\u7684\u201C\u4E25\u683C\u5206\u79BB\u201D2-token \u7801\u672C\uFF0821,330 vs 157,943\uFF09\uFF0C\u4E14\u4F1A\u8BA9\u65E7\u951A\u70B9\u5931\u6548\u2014\u2014\u5207\u6362\u540E\u8BF7\u5F00\u65B0\u4F1A\u8BDD\u3002"
|
|
81
86
|
};
|
|
82
87
|
var CSS = `
|
|
83
88
|
.hashline-settings { display:flex; flex-direction:column; gap:12px; font:inherit; color:var(--dsw-alias-label-primary,#222); }
|