Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 28 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.6.0] - 2026-12-04

### Added

- Named corpora record their mode. Existing corpora default to `research`. Run `chatty skill --mode research` for the research guidance shipped in the wheel.
- Build a literature corpus from a topic or from seed papers. `chatty corpus create NAME --topic "..."` or `--seed PMCID` collects papers with text-fetch from the `--sources` given (default `europepmc`), following references and citations with `--expand` and `--depth`, within a `--max-papers` budget (default 25). `--dry-run` previews the selection and `--yes` downloads and indexes it. `chatty corpus add` collects more papers into an existing corpus, and `chatty corpus index` indexes the documents in a corpus's `sources` folder.
- Follow citations inside a corpus. `chatty refs` lists the references of a paper, passage or physical page, and `--missing --fetch` collects the ones the corpus lacks. `chatty cited-by` finds the papers that cite a paper, with their citing passages, and `chatty corpus graph` exports the citation graph page by page as JSON or CSV.
- `chatty verify` checks a quotation, and a claimed value and unit, at its cited location. `--claims FILE` checks a JSONL file of claims. With `--json`, an unsupported claim exits 7 with `claim_not_supported`.
- Save a passage's `evidence_handle` with a citation. After a later index, `context` and `paper` check it against the stored passage and return `stale_handle` when the text changed, with a replacement when the passage moved.
- `chatty retrieve --queries FILE` runs a JSONL batch of queries. The first hybrid or semantic search starts a private local worker that keeps the embedding models loaded for later searches of the same corpus. Set `CHATTY_RETRIEVAL_SERVICE=0` to run each command in a fresh process instead.
- `chatty index --background` returns as soon as the imported text can be searched exactly, and hybrid retrieval uses exact matches until the vectors are built. `chatty corpus status` reports exact, semantic and hybrid readiness and vector progress. `chatty index --ocr force` re-reads scans with an unreliable text layer.
- `chatty corpus create NAME --example` installs a prepared index of public-domain Los Alamos history excerpts, so a first search works offline.
- `chatty mcp` serves Chatty to desktop MCP clients such as Claude Desktop over stdio. `--corpus` limits which corpora it can see, `--timeout` limits each call (default 120 seconds), and `--allow-writes` exposes corpus creation, collection, indexing and deletion. `integrations/chatty.mcpb` is a desktop extension with the read-only tools. Install the `mcp` extra.
- SLURM builds. With `executor = "slurm"` in `~/.config/chatty/hpc.toml` (or a site default in `/etc/chatty/hpc.toml`, or the profile named by `CHATTY_HPC_CONFIG`), `chatty index` and confirmed collections run as single-node jobs in a Charliecloud image, using node-local scratch and local safetensors weights only. `chatty index --dry-run` previews the job and `chatty job status` reports its progress.
- `chatty skill` prints the agent guide for the installed version, and `--out PATH` writes it to a file. Named corpora record their mode. Existing corpora default to `research`, and `chatty skill --mode research` prints the research guidance.
- `chatty corpus list --only NAME` lists only the named corpora.
- With `--json`, errors include suggested remedies. An invalid argument exits 2 with `invalid_argument`, and an unknown corpus, paper or passage exits 3 with close matches.

### Changed

- Local `chatty index` builds include extracted table headers and cells by default, so a table value can be retrieved with its source page. Rebuild an index to add the tables it left out.
- `chatty index --example` builds its index from public-domain Los Alamos history excerpts, including OCR of a scanned history. `chatty workspace --example` copies them into `example/los-alamos` instead of `example/documents`.
- On Apple Silicon, indexing embeds eight passages at a time.
- Source installs pin text-fetch 0.5.0 and LitKit 0.5.0.

### Fixed

- `chatty doctor` checks that the passage tables can be read before reporting retrieval ready.
- On Windows, a query against a corpus with its own model cache releases the model files when it finishes, and piped JSON output stays readable on non-UTF-8 code pages.
- The chat UI ignores a context-window response that arrives after it starts shutting down.
- On a Linux NFS home directory, the laptop suite installer's lifecycle commands take an exclusive lock, so two clients can't install, upgrade or uninstall at once.

## [0.5.0] - 2026-12-03

Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "chatty"
version = "0.5.0"
version = "0.6.0"
description = "Build and search a corpus of papers or your own documents with citations, from a terminal chat UI or a JSON CLI."
readme = "README.md"
license = { file = "LICENSE" }
Expand Down Expand Up @@ -38,15 +38,15 @@ dependencies = [
mcp = ["mcp>=1.19,<2"]
index = [
"chatty[rag,litkit]",
"text-fetch[docling,ocr-macos] @ git+https://github.com/lanl/text-fetch.git@19b288956ad408365f29c7d7db21773c828c880a",
"text-fetch[docling,ocr-macos] @ git+https://github.com/lanl/text-fetch.git@685ee8bc7f8178b035000cd7eb052726410dd2ce",
"filelock>=3.20.3",
]
rag = [
"faiss-cpu>=1.8,<1.9",
"numpy<2",
]
litkit = [
"litkit @ git+https://github.com/lanl/litkit.git@68eb5d51ad3729d961174bb660172e0a332945a0",
"litkit @ git+https://github.com/lanl/litkit.git@3b6ee3ac074fc2440db92e5bef6e8a9ea572f340",
]

[project.scripts]
Expand Down
2 changes: 1 addition & 1 deletion src/chatty/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Build and search a corpus of papers or your own documents with citations."""

__version__ = "0.5.0"
__version__ = "0.6.0"
14 changes: 7 additions & 7 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading