- Compact Command Aliases: Complete shorthand alias table for all commands (e.g.,
scan→s,clip→c,zone-append→za). - rgd Invocation Mode: Hard link/symlink to
regeditedexecutable enabling shorthand preprocessing and loaded-document context. - Loaded Document Context:
rgd load <path>,rgd load, andrgd unloadcommands for persistent user-level file path state. - Compact Reference Grammar: Short-form index references (e.g.,
i38forindex:38,i38s1forindex:38:string:1). - Enhanced Convert Grammar: Flexible conversion syntax accepting one to six values with inline type tokens (
p/b/m/d) and trailingclip/cshortcuts. - Contextual Help System:
-helpand--helpflags after commands, aliases, and compact references with Clap-rendered usage. - Shell Script Exports:
regedited -excommand providing categorized references for PowerShell, REPL, Python, Bash, BAT, and custom scripts. - WebAssembly Browser Runner: Read-only in-browser execution of core regedited functionality via
wasm-packandrunner.js. - Cross-Platform Installation Scripts:
pathadd.ps1andpathadd.shfor idempotent PATH configuration andrgdlink creation. - Web Build Automation:
webbuild.ps1andwebbuild.shscripts for Wasm package generation with prerequisite checks.
- Executable Structure: Maintained single-target build (
regedited) withrgdas hard link/symlink (Windows) or symlink (Unix). - Help Output:
regedited --helpandrgd --helpnow provide differentiated documentation surfaces. - Documentation: Extended help system now renders command-local arguments from Clap definitions, preventing drift from runtime behavior.
- Canonical Command Preservation: All existing canonical command spellings and accepted legacy forms remain fully functional.
- Path Handling: Correct treatment of non-leading file arguments in commands like
tx <action> <file>andserve --file.
- Read-Only Browser Mode: Web runner intentionally restricted to in-memory operations; no file modification, transactions, or host clipboard access.
- Installation Safety: Build and install scripts validate prerequisites, request consent before installing tools, and fail fast on errors.
- Core QoL Feature Set: Complete implementation of quality-of-life improvements based on upstream baseline commit
093c5e07fc365aec592aa1c3bfe103353ab5bc42.
regeditedbuilds exactly one executable target.rgdinvocation detected viaargv[0]enables shorthand mode without duplicating operational logic.- Native clipboard support remains optional cargo feature for WebAssembly compatibility.
- Loaded State Management: Persists user file path in
%LOCALAPPDATA%\regedited\loaded-path.txt(Windows) or XDG state (Unix). - Incomplete Command Handling: Automatically fills missing file argument with persisted path when appropriate.
- Missing Path Error: Clear message when no file specified and no path loaded.
Complete alias table implemented in single runtime data structure (src/qol.rs:14-284):
list=l scan=s summary=sm
info=i state=st state-compare=stc
index-str-list=ist index-zone-set-hex=izs index-zone-extract=ize
index-zone-replace=izr index-zone-copy=izc index-zone-transfer=izt
db=db hexline=hl content=co
zone-info=zi count=ct clip=c
clip-zone=cz clip-db=cdb clip-dbline=cdbl
clip-hexline=chl clip-hexword=chw set-num=sn
set-str=ss set-zone=sz lines=ln
if-contains=if ref-get=rg ref-set=rs
ref-copy=rc ref-diff=rd ref-bool=rb
resolve-index=ri zone-append=za diff=d
replace=r fgrep=f fgrep-multi=fm
zone-copy=zc zone-replace=zr zone-extract=ze
hex-extract=he hex-replace=hr undo=u
grep=g echo=e echo-direct=ed
getutf=gu convert=cv types=t
new=n add=a rm=rm
encap=en grab-html=gh bool-and=ba
bool-nand=bn bool-or=bo bool-xor=bx
wal=w wal-replay=wr tx=tx
schema=sc reg-types=rt reg-parse=rp
serve=sv
Compact forms for all canonical reference types:
i38 → index:38
i38s1 → index:38:string:1
i38db9 → index:38:db:9
i38dbl → index:38:dbline
i38hl → index:38:hexline
i38hwl → index:38:hex-word-line
i38rs → index:38:ranges
i38r2 → index:38:range:2
i38z3 → index:38:zone:3
i38zh1 → index:38:zonehex:1
i38rh2 → index:38:rangehex:2
- Accepts 1–6 line values without zero padding
- Inline type tokens (
p/b/m/d) persist until changed - Trailing
cliporccopies exact output to clipboard - Maintains backward compatibility with
-t/--zone-typeand-z/--zone
- Embedded shell examples via
include_str!insrc/main.rs - Verbose categorized references in
docs/shell/covers:- PowerShell (
docs/shell/POWERSHELL.txt) - Python (
docs/shell/PYTHON.txt) - Bash (
docs/shell/BASH.txt) - REPL (
docs/shell/REPL.txt) - BAT (
docs/shell/BAT.txt) - Custom scripts (
docs/shell/scripts/*.txt)
- PowerShell (
- Browser documentation in
docs/web/JAVASCRIPT.txtanddocs/web/STANDALONE_HTML.txt
cargo build --releasebuilds optimized binarypathadd.ps1/pathadd.shcreatergdlink and configure PATHwebbuild.ps1/webbuild.shbuild Wasm package withwasm-pack
- 169 tests passed on clean baseline
cargo fmt --check: passedcargo clippy --all-targets --all-features -- -D warnings: passedcargo test --all-targets: 180 unit tests + 1 CLI integration test passedcargo build --release: passedwasm32-unknown-unknownparent library (no default features): passed- Web crate and optimized Wasm build: passed without warnings
tests/cli_qol.rs:26-123: End-to-end testing ofrgdhard link, load/unload, omitted paths, refs, and error messagessrc/qol.rs:601-734: Alias, compact-ref, global-flag, clipboard-suffix, and file-placement testssrc/converter.rs:81-152: Conversion behavior and bounds testing- Browser smoke test (
web/example/index.html): Verified read-only operations over supplied text and page source
- PowerShell, CMD/BAT, Python, and Git Bash produced identical conversion output
- All ten
-exstreams rendered successfully - PowerShell launchers passed parser validation
- Bash launchers passed
bash -nsyntax check - Windows hard link idempotence, PowerShell/CMD/Python lookup verified
- Unix symlink behavior with sudo and
.bashrchandling confirmed - Source-only ZIP extraction and build from short path verified
- Loaded Path: Inference never guesses over a complete canonical invocation; compact refs expand only unambiguous canonical forms; browser runner is read-only.
- Installation: Full native Linux installation not tested on Windows host; Windows clones should use ordinary short checkout path to avoid
LNK1104path-length issues.
- Add
rgdsection documenting hard link/symlink,rgd load/unload, and complete alias table - Replace fixed converter examples with 1–6 value grammar, inline type tokens, and
clip/csuffix - Include build/install commands for
pathaddandwebbuildscripts - Link to verbose shell references in
docs/shelland browser references indocs/web - Add browser-runner example with explicit read-only label
All existing regedited commands remain fully functional. Users may adopt shorthand aliases incrementally without breaking existing workflows.
To install regedited and rgd in PATH:
cargo build --release
# Windows
.\pathadd.ps1
# Unix
./pathadd.shTo build the Wasm package:
# Windows
.\webbuild.ps1
# Unix
./webbuild.shSee docs/web/STANDALONE_HTML.txt for standalone HTML usage.