Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 13:07
806341a

SolaScope v0.1.0 is the first official release of a local-first code search tool for developers and coding agents. Search with a question, symbol name, keyword, or error message and get file paths, symbols, line ranges, and source snippets. Use the same engine through the solascope / sas CLI or a read-only MCP server.

Highlights

  • Useful without a model. SQLite FTS5 and symbol lookup work locally out of the box. Choose lexical, semantic, or hybrid retrieval; embeddings are optional, and reranking is configured independently.
  • Structured code understanding. Tree-sitter extracts definitions from Rust, Python, JavaScript/JSX, TypeScript/TSX, and Go. Other text files can use line-based chunks. Symbol lookup supports exact names, prefixes, substrings, and limited spelling correction.
  • Incremental indexing and watching. Reparse changed files, reuse eligible cached embeddings, and keep the index current with index --watch. Failed indexing updates leave the previous generation readable.
  • Results with source locations. Search returns paths, symbols, line ranges, snippets, match sources, and timings. Changed locations are marked stale; context reads inspect the current source.
  • Flexible model providers. Embeddings support Ollama, OpenAI-compatible services, DashScope, and SiliconFlow. Reranking supports compatible HTTP services, DashScope, and SiliconFlow. Embedding requests include batching, retries, rate-limit coordination, and backoff.
  • Project-aware MCP. Four read-only tools expose search, definitions, source context, and index status, with typed output schemas. No startup project path is required: calls default to the server's working directory, and agents can select another project with an optional root parameter.
  • Privacy controls. Indexing and source reads honor .gitignore, .solascopeignore, configured exclusions, and sensitive-path checks. Remote model requests require explicit opt-in. Configuration-specific .env credentials are isolated from the process environment.

Download and install

Download the archive for your platform from Assets below, extract it, and place both solascope and sas on your PATH (solascope.exe and sas.exe on Windows).

Platform Package
Linux x86_64, GNU .tar.gz
macOS, native CI runner architecture .tar.gz
Windows x86_64, MSVC .zip

Packages include both CLI entry points and documentation. The attached SHA256SUMS contains checksums for all three archives. SQLite is bundled; no database server is required.

Quick start

Run these commands in the project you want to search:

# Build a local index; models are disabled in the built-in defaults.
solascope index

# Search without embedding or reranking requests.
sas search "where are database transactions committed" --mode lexical --no-rerank

# Find a definition and inspect index status.
sas symbol Engine
sas status

# Keep the index up to date as files change.
solascope index --watch

Indexing defaults to the current directory and its subdirectories, with index data stored in .solascope/. Use solascope init to create optional user configuration, solascope ignore to create a project ignore template, and solascope doctor for diagnostics.

Connect a coding agent

{
  "mcpServers": {
    "solascope": {
      "command": "solascope",
      "args": ["mcp"]
    }
  }
}

Available tools: search_code, find_symbol, get_code_context, and index_status. Each tool accepts an optional project root; relative roots resolve from the server's working directory. Build or refresh indexes with a separate CLI process. MCP does not create, migrate, or update indexes, and source context remains available without an index.

Validation and scope

This release passed formatting, Clippy, default workspace tests, and package tests on Linux, macOS, and Windows. Optional local-rerank tests passed on Linux. Release archives were collected from that successful CI run and checked before upload.

Model HTTP tests use local mock services. Live-provider retrieval quality, real local ONNX inference, and compatibility with every MCP client are not established by those checks. In-process ONNX reranking requires a source build with local-rerank, prepared model files, and a compatible ONNX Runtime; the standard binaries use the default feature set.

Documentation

License: Apache-2.0.