github Dicklesworthstone/coding_agent_session_search v0.1.55

7 days ago

🎯 Highlights

This release focuses on data safety, documentation quality, and multi-machine search improvements.

🔒 Atomic File Operations

  • TUI State Persistence: Now uses crash-safe temp file + atomic rename pattern
  • ML Model Installation: Uses backup-rename-cleanup pattern for safe upgrades
  • Configuration Files: All config writes follow atomic patterns

📖 Documentation Deep Dive

Comprehensive new documentation sections for multi-machine search:

  • Sync Engine Internals: rsync flags, SFTP fallback, safety guarantees
  • Remote Installation Methods: Installation priority chain with timing estimates
  • Host Discovery & Probing: SSH config parsing, probe caching details
  • Index Recovery: Schema hash versioning and auto-rebuild triggers

🛠️ Index Improvements

  • Error Tracking: Background indexer errors captured via IndexingProgress.last_error
  • Index Recovery: rebuild_tantivy_from_db() can reconstruct full-text index from SQLite

📋 What's Changed

Features

  • feat(safety): Add atomic file operations for crash-safe persistence
  • feat(index): Add error tracking and index rebuild from SQLite

Documentation

  • docs: Expand multi-machine search documentation with technical details
  • fix(docs): Correct inaccurate documentation claims
  • fix(docs): Additional documentation accuracy fixes
  • fix(docs): Fix binary install path and connection timeout values

Technical Details

Atomic Write Pattern (TUI State):

let temp_path = path.with_extension("json.tmp");
if std::fs::write(&temp_path, &body).is_ok() {
    let _ = std::fs::rename(&temp_path, path);
}

Model Installation Safety:

  1. Download to temp directory
  2. If existing model: rename to backup
  3. Atomic rename: temp → final
  4. On success: remove backup
  5. On failure: restore from backup

🔐 SHA256 Checksums

e9766e14cf7461d52eab8d441ef197f0f810499c891257abf5556cc9f581704b  coding-agent-search-aarch64-apple-darwin.tar.xz
6baa4b196de296bb90aee866868f0fea14e048cdaa45e2de4eb2c93a4862e4be  coding-agent-search-aarch64-unknown-linux-gnu.tar.xz
c86441f8af59c02829f17d7609f368b3aeca832a4052bd803cb6c60826555e8e  coding-agent-search-x86_64-apple-darwin.tar.xz
835cc2de9fe3b9216f307d0903aa7dcdd6d8dd4608c50e62c9747f9fbc07245b  coding-agent-search-x86_64-pc-windows-msvc.zip
0f41d67cfe22e22d9cc43df7e34f83b81fbd3c675eeecaa12f86e958712e654b  coding-agent-search-x86_64-unknown-linux-gnu.tar.xz

🔗 Links

  • Full Changelog: v0.1.54...v0.1.55
  • Documentation: See README.md for comprehensive usage guide

📦 Installation

# Via cargo
cargo install coding-agent-search

# Via install script (Linux/macOS)
curl -fsSL https://github.com/Dicklesworthstone/coding_agent_session_search/releases/download/v0.1.55/install.sh | sh

# Or download pre-built binary from assets below

Don't miss a new coding_agent_session_search release

NewReleases is sending notifications on new releases.