Skip to content

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 18 Jul 22:38

@jfmoe/smart-search 0.5.0

Search Result Journal

  • Adds an opt-in, default-disabled Search Result Journal for every completed
    Default Search Invocation through search or s, including successful,
    structured-failure, and CLI-timeout results.
  • Writes one complete normalized terminal result per compact UTF-8 JSONL record,
    preserving primary and extra sources, URLs, routing decisions, provider
    attempts, fallback metadata, counts, timing, and failure details.
  • Sanitizes a copy before persistence by redacting credential-bearing fields and
    configured credential values without changing stdout or explicit output files.

Local safety and operations

  • Uses daily files under the resolved log directory, user-only permissions where
    supported, a 0.5-second cross-process lock, and synchronous non-fsync appends.
  • Defaults to 30-day retention, supports permanent retention with 0, and only
    cleans up regular files in the recognized dated Journal namespace.
  • Keeps Journal failures non-fatal: one stderr warning, no retry or partial line,
    and no change to the original search result or exit code.
  • Extends JSON and human-readable doctor output with enablement, retention,
    resolved directory, and writable/readiness diagnostics.

Validation

  • npm test: 442 passed, 4 opt-in live acceptance tests skipped.
  • Focused CLI and storage-contract coverage for formats, aliases, output files,
    timeouts, redaction, failure isolation, retention, permissions, and concurrent
    writers.
  • Public and packaged Skill mirror verification, release metadata checks, and npm
    package-content dry-run.