Repository navigation
Add shell-approved command history and structured search - #235
Merged
raiseCatError merged 129 commits intoOct 3, 2026
Merged
Conversation
This was referenced Sep 30, 2026
…176-linguist-language-colors
…external-welcome-adapters
…-vhs-demo-harness
…ening Harden terminal mode replay and attachment cleanup
…-harness CLI and TUI compatibility harness with tmux coverage
OSC 8 links in transcript presentation
Add iTerm2 Kitty and WezTerm capability profiles
v0.10: isolate enhanced host integration from core
v0.10: Terminal.app baseline and Chroma fallback
…ties v0.10: frontend terminal capabilities and bounded probes
Finalize v0.9 development acceptance and additive physical QA
Add session presets with explicit startup acknowledgement
Add optional mise project awareness and explicit task discovery
Add optional tools browser and consent-based installation
…-config Add supported tool configuration review
Add optional VHS demo tapes
…me-adapters Add curated external welcome presets
…age-colors Add offline GitHub Linguist language colors
…l-verification Record final v0.8 continuation acceptance evidence
Wait for fixture writers before deleting test sandboxes
…ptance Document v0.8 continuation acceptance and additive physical QA
…ning Harden inspector cursor roles for shell lexical contexts
Keep test temp resources inside verified private lifecycles
…cations Add live command completion notifications
Add interactive command block actions
Add local command inspector
…nce-acceptance Document v0.8 command intelligence scope and physical acceptance QA
…ning Harden completion paths and history privacy under concurrent sessions
…orrections Suggest safe command-not-found corrections in the composer
…gation Add explicit directory navigation with native frecency and zoxide
Add optional picker providers with controlled terminal handoff
…ry-provider Make Native default and Atuin an explicit local history provider
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
/history now searches command records with combined cwd/project/exit/before/after/session/duration filters and plain text. Enter/Tab restore the selected command into the composer; Ctrl+X removes that record from NMSh search with a private persistent deletion hash. /resume remains session-level and unchanged.
The real zsh preexec hook reports HISTORY_IGNORE eligibility without exporting user configuration or probing commands. Leading-space commands are excluded. Eligibility/timing survive current IPC, backlog, journals and detached-session archival. Only explicitly eligible journals are indexed; legacy journals remain excluded. Transcripts and original zsh/Atuin history are preserved under the approved privacy boundary. New shells report eligibility; older running services fail closed until restarted.
History metadata is derived from authoritative journals in a background worker; only deletion hashes persist separately. Imported zsh history parsing and search yield between batches. Composer queries are cancellable and capped at 100 results. No database dependency or migration is introduced.
Depends on #234. Native-default/explicit Atuin provider work follows in #144; this PR retains the existing source preference until that dependent change.
Validation: build/typecheck/diff check and benchmark TypeScript check; focused filters/privacy/deletion, real-zsh unexported HISTORY_IGNORE, 100k cancellation/yield, worker projection, journal/protocol/hook tests; full suite with inherited NO_COLOR removed. Combined full-scan query p95: 4.25ms at 10k, 11.70ms at 100k. Index setup is outside warm query measurements.
Physical QA pending: text and combined filters, result restore without execution, Ctrl+X deletion surviving restart, ignored commands absent from search, large history responsiveness, and detach/reattach regression. No physical QA is claimed.
Refs #143