Rules & engine: - 22 presets (was 11): split status into okstate/warnstate/badstate, add delop, createop, danger, secret, level, exitcode, percent, http; status words are case-insensitive and cover the ✓ ✔ ✅ ✗ ✘ ✖ ❌ ⚠ symbol set - value bands: the first number in a match picks the colour (percent: <20% red / 20-50% yellow / 50-80% light green / >=80% green) - optional per-rule `caseInsensitive`, `category`, `bands`; load-time `refreshBuiltinRules` upgrades untouched built-in patterns in place Settings page: - three-way master switch `highlightMode` (all / basic / off); `basic` runs only the five safety+status rules and `off` empties the rule set rather than bypassing HighlightStream (which would drop the held tail) - category column + grouping (`highlightGroupByCategory`), per-rule hit/duration stats (`highlightStats`, opt-in sink, snapshot once a second), theme-following colours (`highlightThemeColors`, hue-bucket mapping onto the ANSI palette), import/export JSON envelope, live preview through the real engine - named rule subsets bound per host (`highlightPerHost` + `highlightProfiles` + `SshConnection.highlightProfileId`); empty ruleIds = every rule Tests: new tests/hl-rules.mjs (word boundaries, case flag, negative words, bands, import/export, preview, basic mode, categories, stats, theme colours, profiles) + profile round-trip in tests/settings-store.mjs
46 lines
712 B
Plaintext
46 lines
712 B
Plaintext
# dependencies
|
|
node_modules/
|
|
|
|
# build output
|
|
out/
|
|
dist/
|
|
tests/.session-e2e.cjs
|
|
tests/.sftp-svc.*
|
|
tests/.hl-smoke.*
|
|
|
|
# research artifacts (XTerminal reverse-engineering notes, not part of the app)
|
|
research/
|
|
|
|
# logs / misc
|
|
*.log
|
|
.DS_Store
|
|
|
|
# credentials (do not commit)
|
|
.env
|
|
|
|
# ts build info
|
|
*.tsbuildinfo
|
|
.sftp-test-*.bin
|
|
.sftp-dl-*
|
|
|
|
tests/.commands-store.cjs
|
|
tests/.settings-store.cjs
|
|
tests/.session-e2e.cjs
|
|
tests/.hl-split-smoke.cjs
|
|
tests/.hl-rules.cjs
|
|
tests/.zmodem-e2e.cjs
|
|
release/
|
|
|
|
# stray local test artifacts
|
|
.min-test.bin
|
|
.min2-test.bin
|
|
.exact-test.bin
|
|
tests/.zm-src-*/
|
|
tests/.zm-out-*/
|
|
|
|
# release notes drafts (consumed by scripts/release.cjs + sync-changelog.cjs)
|
|
RELEASE_NOTES*.md
|
|
|
|
tmp-test/
|
|
tmp-test*
|