You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,29 @@
1
1
# Changelog
2
2
3
+
## [0.2.0] - 2026-04-21
4
+
5
+
### Added
6
+
7
+
-`loci init --no-hooks` flag to skip automatic Claude Code hook registration.
8
+
-`EmbedderSetupError` exception for environment-level embedder failures (distinguishes them from per-row errors).
9
+
- SVG banner at the top of the README (`assets/banner.svg`, generated via Freeze).
10
+
-`scripts/generate-banner.sh` to regenerate the banner from the live CLI output.
11
+
12
+
### Changed
13
+
14
+
-`loci init` now registers Claude Code hooks automatically at the end of setup — previously required a separate `loci hook install` step. Use `--no-hooks` to opt out.
15
+
- Interactive prompts re-prompt on invalid input instead of silently falling back to a default. The "run distillation now?" prompt now accepts `y`/`n`/`yes`/`no` in addition to `1`/`2`.
16
+
- Custom exchange counts are range-validated (`1..total`) and custom `min_chars` requires `>= 0`.
17
+
- Startup banner uses the pagga half-block font with a blue vertical gradient.
18
+
19
+
### Fixed
20
+
21
+
-`loci init` cleans up `.codeatrium/` automatically if the execution phase fails or is interrupted (`KeyboardInterrupt`), so re-running is safe.
22
+
- A single corrupt `.jsonl` no longer aborts the whole indexing loop — it logs a warning and continues.
23
+
-`git_root()` catches `FileNotFoundError` when the `git` binary is missing.
24
+
-`parse_exchanges` returns `[]` for missing files instead of raising.
25
+
- Distillation failures from `sentence_transformers` import issues (e.g. numpy/pyarrow binary mismatch) now print a single friendly message with remediation hints instead of a full traceback followed by per-row error spam.
# Initialize in project root (also registers Claude Code hooks)
51
55
loci init
52
-
53
-
# Install hooks for automatic indexing
54
-
loci hook install
55
56
```
56
57
58
+
`loci init` now handles everything in one step — database setup, existing session detection, and Claude Code hook registration. Pass `--no-hooks` to skip hook registration. If init fails partway through, `.codeatrium/` is cleaned up automatically so re-running is safe.
59
+
57
60
When running `loci init`, if past session logs are detected, you'll be prompted with:
58
61
59
62
> [!IMPORTANT]
@@ -65,7 +68,9 @@ When running `loci init`, if past session logs are detected, you'll be prompted
65
68
- Distill last 50 (recent history only)
66
69
- Distill all (everything — high token cost)
67
70
- Custom (specify a number)
68
-
3.**Run distillation now?** — Choose No to defer to the next session start
71
+
3.**Run distillation now?** — Accepts `1`/`2`/`y`/`n`/`yes`/`no`. Choose No to defer to the next session start.
72
+
73
+
Invalid input on any prompt re-prompts instead of silently falling back to a default.
69
74
70
75
## Agent Instructions
71
76
@@ -78,19 +83,19 @@ Agent instructions are injected automatically — no manual setup required:
0 commit comments