@autorag/librarian 2.13.6 → 2.13.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autorag/librarian",
3
- "version": "2.13.6",
3
+ "version": "2.13.7",
4
4
  "description": "Personal librarian agent for office work on the Pi framework, with pluggable retrieval methods",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -1,23 +0,0 @@
1
- import { type CloudFileProbe, type CloudRoot } from "../filesystem/cloud-placeholder.js";
2
- /** One `dupey scan` to run: the directory and the cloud or network folder names nested in it that must not be walked. */
3
- export interface DupeyScanTarget {
4
- readonly path: string;
5
- readonly excludeDirs: readonly string[];
6
- }
7
- export interface DupeyScanPlan {
8
- readonly targets: readonly DupeyScanTarget[];
9
- /** Roots inside a cloud or network folder: never scanned, because `dupey scan` opens every file's contents. */
10
- readonly skipped: readonly string[];
11
- }
12
- /**
13
- * The machine's cloud and network roots for the roots about to be scanned. A probe that is missing or fails
14
- * reads as no roots, never an error: an unknown root is scanned as before.
15
- */
16
- export declare function listCloudRoots(probe: CloudFileProbe | undefined, roots: readonly string[]): Promise<readonly CloudRoot[]>;
17
- /**
18
- * Which roots `dupey scan` may walk. A root inside a cloud or network folder is skipped whole and a cloud or
19
- * network folder nested under a root is excluded by name: `dupey scan` reads file contents, which re-downloads
20
- * a released placeholder (measured: a OneDrive folder of 1.1k placeholders ran past the 120 s scan timeout and
21
- * every read failed with ETIMEDOUT) and re-reads a network file over the wire.
22
- */
23
- export declare function planDupeyScans(roots: readonly string[], cloudRoots: readonly CloudRoot[]): DupeyScanPlan;