diff --git a/CHANGELOG.md b/CHANGELOG.md index 48e579b..a5b2bad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,16 @@ # Changelog -## [1.3.1] - 2026-05-29 +## [1.4.0] - 2026-05-29 + +### feat: RAG coding harness with Python scraper + hybrid search (#64) + +Adds an opt-in retrieval harness that scrapes snippet-sized code chunks +from curated repositories and serves them via hybrid (keyword + vector) +search. New surface: `bin/rag-index.js` + `smallcode-rag-index` bin and +the `rag:index` npm script (builds `.smallcode/rag/index.json` from chunks +scraped by `scripts/rag_scraper.py`), `src/rag/` (`index_store.js`, +`retriever.js`, `curated_repos.json`), docs in `docs/rag-harness.md`, and +`test/rag.test.js`. No new npm dependencies — the scraper runs via Python. ### fix: strict chat templates reject mid-conversation system messages (#62) @@ -24,6 +34,8 @@ at positions other than 0. request now carries exactly one system message at index 0. - Test coverage: `test/message_normalizer.test.js` (9 cases). +## [1.3.1] - 2026-05-29 + ### fix: compatibility issues #57, #58, #59 Three reported environment-compatibility bugs: diff --git a/package-lock.json b/package-lock.json index 8c11189..0edc541 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "smallcode", - "version": "1.3.0", + "version": "1.4.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "smallcode", - "version": "1.3.0", + "version": "1.4.0", "license": "MIT", "dependencies": { "bonescript-compiler": "0.14.0", diff --git a/package.json b/package.json index af35bfe..6be49d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "smallcode", - "version": "1.3.1", + "version": "1.4.0", "description": "AI coding agent optimized for small LLMs (8B-35B parameters)", "main": "src/api/index.js", "bin": {