@autorag/librarian 2.10.2 → 2.10.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,5 +5,5 @@ export { type EnsureMinSyncBinaryOptions, ensureMinSyncBinary, executableName, f
5
5
  export { ensureLocalEmbedder, LocalEmbedderError, type LocalEmbedderPreflightOptions, } from "./local-embedder.js";
6
6
  export { MinSyncHybridMethod, type MinSyncHybridMethodOptions, MinSyncVectorMethod, type MinSyncVectorMethodOptions, } from "./method.js";
7
7
  export { MINSYNC_FILES_SUBDIR, MINSYNC_SUBDIR, minSyncDocumentPath, minSyncWorkspaceRoot } from "./paths.js";
8
- export type { MinSyncChunkerConfig, MinSyncDiagnostic, MinSyncEmbedderConfig, MinSyncOptions, MinSyncQueryHit, MinSyncSyncResult, } from "./types.js";
8
+ export type { MinSyncChunkerConfig, MinSyncDiagnostic, MinSyncEmbedderConfig, MinSyncFileFailure, MinSyncOptions, MinSyncQueryHit, MinSyncSyncResult, } from "./types.js";
9
9
  export { buildMinSyncPathMap, type MinSyncWorkspaceEntry, type MinSyncWorkspaceSyncResult, syncMinSyncWorkspace, } from "./workspace.js";
@@ -1,4 +1,4 @@
1
- export declare const MINSYNC_VERSION = "0.4.7";
1
+ export declare const MINSYNC_VERSION = "0.4.8";
2
2
  export declare const MINSYNC_CARGO_INSTALL_TIMEOUT_MS: number;
3
3
  export interface MinSyncReleaseAsset {
4
4
  readonly name: string;
@@ -39,6 +39,13 @@ export interface MinSyncSyncResult {
39
39
  * unindexable document is never dropped silently.
40
40
  */
41
41
  readonly stagingExcluded?: readonly string[];
42
+ /** Files MinSync skipped (exit 6, `partial`); the sync itself completed and the next sync retries them. */
43
+ readonly filesFailed?: readonly MinSyncFileFailure[];
44
+ }
45
+ export interface MinSyncFileFailure {
46
+ readonly path: string;
47
+ readonly stage: string;
48
+ readonly error: string;
42
49
  }
43
50
  export type MinSyncDiagnosticCode = "embedder-unavailable" | "sync-failed" | "minsync-lock-held" | "no-hit" | "embedding-identity-mismatch" | "migration-required";
44
51
  export interface MinSyncDiagnostic {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autorag/librarian",
3
- "version": "2.10.2",
3
+ "version": "2.10.4",
4
4
  "description": "Self-evolving librarian agent on Pi framework with pluggable retrieval methods",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -221,6 +221,7 @@ to retry those files once without re-indexing healthy ones.
221
221
  | `stale-index` | Sources changed since last refresh | `autorag refresh --method parsed,minsync` |
222
222
  | `index-not-ready` | Index missing or never built | `autorag refresh --json` |
223
223
  | `minsync-sync-failed` | MinSync indexing failed; the message carries MinSync's own reason | Fix the reported cause, then `autorag refresh --method minsync` |
224
+ | `minsync-file-skipped` | MinSync skipped one file (unreadable, unparsable, or rejected by the embedder) and kept its older chunks; retried on the next sync | Fix that file's permissions/content, then `autorag refresh --method minsync` |
224
225
  | `minsync-lock-held` | Another `minsync` run holds `.minsync/lock`, often an orphan left by a killed host; retryable | Wait for it to finish or stop that `minsync` process, then `autorag refresh --method minsync` |
225
226
  | `jikji-unavailable` | Jikji binary missing or install failed | Check cargo, retry refresh |
226
227
  | `everything-index-failed` | Windows Everything instance could not start or index; message carries ES exit code and stderr | Fix the reported cause, `autorag refresh --method everything --json` |
@@ -169,7 +169,7 @@ AUTORAG_CONFIG=/absolute/path/to/.autorag/config.json autorag lite refresh --jso
169
169
  are missing or broken, run a full refresh or return to setup rather than
170
170
  silently degrading to lexical-only search.
171
171
  - MinSync's default embedder is in-process native Qwen3 embeddings
172
- (`native:Qwen/Qwen3-Embedding-0.6B`, 1024 dimensions, MinSync 0.4.7): no
172
+ (`native:Qwen/Qwen3-Embedding-0.6B`, 1024 dimensions, MinSync 0.4.8): no
173
173
  embedder flags, no API key, and no external daemon (such as Ollama) are
174
174
  needed, and no corpus text leaves the machine. For gateway-profiled
175
175
  embeddings, prefetch with `autorag models prefetch --profile qwen3-embedding-0.6b`.
@@ -190,7 +190,7 @@ told duplicate exclusion is off. Set `"excludeExactDuplicates": false` to
190
190
  index every copy.
191
191
 
192
192
  MinSync's default embedder is in-process native Qwen3 embeddings
193
- (`native:Qwen/Qwen3-Embedding-0.6B`, 1024 dimensions, MinSync 0.4.7). The
193
+ (`native:Qwen/Qwen3-Embedding-0.6B`, 1024 dimensions, MinSync 0.4.8). The
194
194
  default needs no embedder flags, no API key, and no external daemon (such as
195
195
  Ollama) — all embeddings run in-process locally and privately. For workspaces
196
196
  using the loopback llama-server gateway, prefetch the verified model with