enc: drop the ls/ld-only guard — it now runs any parseable command and
encodes the last output line, full parity with pb. ls/ld/gen all emit bare
names in capture mode.
gen: capture mode skips the password table and emits one bare variant name per
row, so 'pb gen', 'enc gen' and 'pb enc gen' compose like ls/ld.
get_password: third fallback resolves by ls-value entry name, so generated
variants (which live only in the ls map under a numeric id, not in db) can be
re-encoded by name.
help (enc/gen/pb/overview) updated; test gen_capture_and_enc_test added.
pb: built-in fan-out to every clipboard on PATH (pbcopy/wl-copy/xclip
-selection clipboard/xsel -ib/tmux in a session); no HEL_PB script needed.
Override via 'set hel_pb' or $HEL_PB still honored; no sink -> data on stdout.
enc: takes a sub-command like pb. 'enc ls|ld <regex>' encodes the last match
(newest for ld); literal name/id wins first. ls/ld emit bare names when
captured (LKEval.capture), so 'pb ld <re>' copies names. Producers limited to
ls/ld (enc never runs a mutating command). 'set hel_enc_strict 1' errors on
>1 match.
help: 'help [topic]' — grouped overview + per-topic detail (every command, the
entry descriptor, all modes with examples, parent/master chaining, config keys,
files/env, Notion store/load subcommands). Old inline help string removed.
Tests added for all three; native + wasm32 builds green.
keep <n> (keep a listed ls/gen entry by its left-column index), pb <command> (copy a
command's output to the clipboard), and a final line for help / # comments / quit were
missing. cargo test green; rebuilt wasm.
Instead of erroring, the wasm `pb` branch now writes the inner command's data to the
host page's clipboard via navigator.clipboard (new hel_clipboard_write host hook).
Runs inside the Enter-keypress handler, so the clipboard user-gesture requirement is
met. Native pbcopy/xclip path unchanged.
A single-letter mode was stolen from the middle of a longer word, so `gen testG r
now` mis-parsed as name=r, mode=n (the 'n' of 'now'), leaving 'ow' dangling and
failing with a trailing-input error. Require a non-alphanumeric after a mode so 'now'
parses as the date it is. Adds a regression test.
Quick form now drives the one shared engine through commands only, so it and the
console give identical results (form == console).
- password hook answers only the "/" prompt, so read_master climbs and computes
every ^parent from a single root master (Req 4)
- new master in the field is authoritative via `unpass`; empty field reuses the
stored session master, so later names generate without re-typing it (Req 1/2)
- `unpass` with no name now clears ALL cached masters (real command, not a private
hook) so the form stays reproducible in the console
- result colour = root master marked correct (correct / / uncorrect /), derived
live from the engine; black otherwise (Req 3)
- Mark-correct toggle button; click the master to reveal it; honest memory-only hint
- master stays in memory only, never written to storage; only the one-way correct
hash is saved on the device
parser: bare-name forms now keep a trailing comment, and a ^-led token is never a
name, so `name ^parent` / `name MODE ^parent` link the parent instead of qpname
reading it as prefix+name (was silently mis-stored).
Matches the prefix-name default, the README, and the app's own help text (which
already says the default is six memorable words). Explicit modes are unaffected,
so existing catalogs round-trip unchanged.
- About panel (collapsible, closed by default with a pulsing "Help" badge)
explaining the tool; the `help` command now prints a full command reference
instead of "HELP" (benefits the CLI too).
- Live generation as you type; Store button; masked output that stays mono-width
(gen masks only the password column, never the header); command history with
Up/Down (persisted); console auto-scroll; Export fixed (uses `dump`); Import.
- Name field normalizes to its canonical parsed form on blur; quick-gen and Store
resolve the real entry name, so a leading prefix like `*P0 test1` is handled
correctly (new hel_parse / hel_parse_name wasm helpers).
- Parser: prefix-only forms now parse with defaults - `*P0 test1` ->
`*P0 test1 R 99 <today>`, `*P0 test1 R`, `*P0 test1 20R` - via new qpname/npname
rules mirroring qname/nname; the fully-qualified form is unchanged.
- Favicons + web app manifest + enso asset; pkg rebuilt.
Run the real hel core in the browser via WebAssembly, replacing the plain-JS
ooke.github.io/sk reimplementation so the web and the CLI share one generator.
- hel core: new storage module (native fs / wasm localStorage) backs
init/source/dump/correct; the pipe and pb branches are gated out of wasm;
the wasm editor is completed (EditorRef) and its password prompt no longer
blocks the single JS thread (synchronous hel_get_password instead of a
thread::sleep poll).
- helwasm: hel_load_script for bulk import, a panic hook in hel_init, dropped
the ok_add / web-sys leftovers; build.sh runs wasm-bindgen into a committed
pkg/ so GitHub Pages can serve the static dir with no CI.
- UI: rewritten index.html + style.css in the kaizenkodo.org style — responsive,
masked-but-copyable passwords with click-to-reveal, a quick-generate card plus
a full command console, localStorage persistence, and paste import/export.
Persist the entry catalog to a Notion page instead of an external script.
- `hel store notion:<ref>` reads the dump from stdin and writes it into a
single code block on the page; `hel load notion:<ref>` prints it back.
`<ref>` is a page id (UUID) or a page title (case-insensitive search).
Token from HEL_NOTION_TOKEN. Networking lives in helcli (ureq + serde_json);
the core lib and the wasm build are untouched. argv is dispatched before the
REPL starts, so the subcommands never read ~/.helrc or prompt for a master.
- `set <key> <value>`: runtime config (e.g. hel_dump, hel_notion_token) from
~/.helrc instead of env vars. The map is exported (uppercased) into spawned
pipe/source children, so `set hel_notion_token ...` reaches `hel store`.
Values are redacted in history.
- `ls` now matches case-insensitively.
- `source` echoes `source <target>`.
- `save` prints a `< removed` / `> added` diff against the last load/save
snapshot so removals are noticed before they persist.