@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.
- package/README.md +23 -3
- package/dist/agent/agent.d.ts +1 -1
- package/dist/agent/answer-guidelines.d.ts +17 -0
- package/dist/agent/search-documents.d.ts +1 -1
- package/dist/cli/commands/types.d.ts +2 -0
- package/dist/cli/index.d.ts +1 -0
- package/dist/cli/index.js +925 -592
- package/dist/core.js +1641 -1327
- package/dist/datasource/sidecar/descriptors.d.ts +1 -0
- package/dist/datasource/skills/lazykatok/skill.d.ts +13 -0
- package/dist/everything/client.d.ts +5 -0
- package/dist/filesystem/path-exclusions.d.ts +2 -0
- package/dist/fsearch/client.d.ts +3 -2
- package/dist/fsearch/walk.d.ts +2 -0
- package/dist/index.js +1642 -1328
- package/dist/mcp/index.js +1642 -1328
- package/dist/minsync/index.d.ts +1 -1
- package/dist/minsync/installer.d.ts +1 -1
- package/dist/minsync/types.d.ts +7 -0
- package/package.json +1 -1
- package/skills/autorag-doctor/SKILL.md +1 -0
- package/skills/autorag-lite-setup/SKILL.md +1 -1
- package/skills/autorag-setup/SKILL.md +1 -1
package/dist/minsync/index.d.ts
CHANGED
|
@@ -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";
|
package/dist/minsync/types.d.ts
CHANGED
|
@@ -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
|
@@ -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.
|
|
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.
|
|
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
|