From f46d19e6f024c1a2c44fe24ac162400fd1d1d451 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 22 Feb 2026 19:34:49 -0700 Subject: [PATCH 1/2] fix(ci): stage only version bump files, not build artifacts The release step was staging all files, which committed native .node binaries and pkg/ directories into the release branch. Now only package.json, package-lock.json, CHANGELOG.md, and DEPENDENCIES.md are staged for the version bump commit. --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cbba654a..55bfd9b6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -269,10 +269,10 @@ jobs: BRANCH="release/v${VERSION}" # Check if there are version bump changes to push - if git diff --quiet HEAD; then + if git diff --quiet HEAD -- package.json package-lock.json CHANGELOG.md DEPENDENCIES.md; then echo "No version bump commit to push — skipping PR" else - git add -A + git add package.json package-lock.json CHANGELOG.md DEPENDENCIES.md git commit -m "chore: release v${VERSION}" git push origin "HEAD:refs/heads/${BRANCH}" gh pr create \ From c8527072c3cae9ac40ea556dce4dc52ec8aeb47c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 22 Feb 2026 20:14:00 -0700 Subject: [PATCH 2/2] fix: correct default embedding model in README and enforce LF line endings The README models table incorrectly marked minilm as the default embedding model. The actual default is jina-code (config.js, embedder.js, cli.js). Also adds .gitattributes to enforce LF line endings, fixing 32 Biome format errors caused by CRLF on Windows checkouts. --- .gitattributes | 2 ++ README.md | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..ace7a2d5 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Enforce LF line endings in the repo (Biome requires LF) +* text=auto eol=lf diff --git a/README.md b/README.md index 7441c4d3..2a620a96 100644 --- a/README.md +++ b/README.md @@ -265,10 +265,10 @@ A single trailing semicolon is ignored (falls back to single-query mode). The `- | Flag | Model | Dimensions | Size | License | Notes | |---|---|---|---|---|---| -| `minilm` (default) | all-MiniLM-L6-v2 | 384 | ~23 MB | Apache-2.0 | Fastest, good for quick iteration | +| `minilm` | all-MiniLM-L6-v2 | 384 | ~23 MB | Apache-2.0 | Fastest, good for quick iteration | | `jina-small` | jina-embeddings-v2-small-en | 512 | ~33 MB | Apache-2.0 | Better quality, still small | | `jina-base` | jina-embeddings-v2-base-en | 768 | ~137 MB | Apache-2.0 | High quality, 8192 token context | -| `jina-code` | jina-embeddings-v2-base-code | 768 | ~137 MB | Apache-2.0 | **Best for code search**, trained on code+text | +| `jina-code` (default) | jina-embeddings-v2-base-code | 768 | ~137 MB | Apache-2.0 | **Best for code search**, trained on code+text | | `nomic` | nomic-embed-text-v1 | 768 | ~137 MB | Apache-2.0 | Good quality, 8192 context | | `nomic-v1.5` | nomic-embed-text-v1.5 | 768 | ~137 MB | Apache-2.0 | Improved nomic, Matryoshka dimensions | | `bge-large` | bge-large-en-v1.5 | 1024 | ~335 MB | MIT | Best general retrieval, top MTEB scores |