@autorag/librarian 2.13.6 → 2.13.8
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 +15 -0
- package/dist/agent/agent.d.ts +35 -5
- package/dist/agent/calculator-tool.d.ts +39 -0
- package/dist/agent/dupey-tool.d.ts +0 -2
- package/dist/agent/evidence-ledger.d.ts +11 -0
- package/dist/agent/index-schedule.d.ts +45 -0
- package/dist/agent/index.d.ts +1 -0
- package/dist/agent/pipelined-sync.d.ts +34 -0
- package/dist/agent/result-render.d.ts +43 -0
- package/dist/agent/search-all-tool.d.ts +2 -1
- package/dist/agent/search-documents.d.ts +1 -1
- package/dist/agent/search-minsync-tool.d.ts +2 -1
- package/dist/agent/search-single-datasource-tool.d.ts +2 -1
- package/dist/agent/watch-refresh.d.ts +2 -0
- package/dist/calculator/civil.d.ts +27 -0
- package/dist/calculator/decimal.d.ts +47 -0
- package/dist/calculator/errors.d.ts +4 -0
- package/dist/calculator/expression.d.ts +11 -0
- package/dist/calculator/index.d.ts +17 -0
- package/dist/calculator/operations.d.ts +36 -0
- package/dist/calculator/temporal.d.ts +18 -0
- package/dist/calculator/timezone.d.ts +19 -0
- package/dist/cli/commands/duplicates.d.ts +2 -3
- package/dist/cli/commands/index.d.ts +1 -1
- package/dist/cli/commands/lite-refresh.d.ts +1 -1
- package/dist/cli/commands/refresh.d.ts +4 -0
- package/dist/cli/commands/watch.d.ts +2 -1
- package/dist/cli/index.js +3617 -1480
- package/dist/cli/signal-abort.d.ts +21 -0
- package/dist/core.d.ts +2 -0
- package/dist/core.js +4144 -2097
- package/dist/datasource/skills/factory.d.ts +4 -1
- package/dist/dupey/filter.d.ts +0 -2
- package/dist/dupey/index.d.ts +0 -1
- package/dist/dupey/version.d.ts +17 -0
- package/dist/index.js +4183 -2144
- package/dist/mcp/index.js +4182 -2142
- package/dist/mcp/server.d.ts +0 -3
- package/dist/minsync/installer.d.ts +1 -1
- package/dist/minsync/method.d.ts +7 -0
- package/dist/minsync/version.d.ts +3 -2
- package/dist/mirror/cloud-fingerprints.d.ts +6 -5
- package/dist/mirror/cloud.d.ts +9 -6
- package/dist/mirror/sync.d.ts +28 -15
- package/dist/profiles.js +3463 -1421
- package/dist/retrieval/engine.d.ts +7 -0
- package/dist/retrieval/merger.d.ts +6 -0
- package/dist/retrieval/record-cut.d.ts +101 -0
- package/package.json +1 -1
- package/skills/autorag/SKILL.md +28 -0
- package/skills/autorag-setup/SKILL.md +39 -0
- package/dist/dupey/scan-plan.d.ts +0 -23
|
@@ -5,6 +5,6 @@ import type { CommandContext } from "./types.js";
|
|
|
5
5
|
* Delegates to the agent's refresh pipeline (parsed mirrors, MinSync,
|
|
6
6
|
* datasources, Jikji) without requiring any model configuration.
|
|
7
7
|
*
|
|
8
|
-
* Exit codes: 0 on success, 2 on config error, 1 on runtime error.
|
|
8
|
+
* Exit codes: 0 on success, 2 on config error, 1 on runtime error, 130/143 when stopped by SIGINT/SIGTERM.
|
|
9
9
|
*/
|
|
10
10
|
export declare function runLiteRefresh(ctx: CommandContext): Promise<number>;
|
|
@@ -8,6 +8,10 @@ import type { CommandContext } from "./types.js";
|
|
|
8
8
|
*
|
|
9
9
|
* `--method minsync,parsed` restricts which methods run. When omitted, all
|
|
10
10
|
* methods run. Parsed mirrors are always synced when MinSync is selected.
|
|
11
|
+
*
|
|
12
|
+
* SIGINT and SIGTERM abort the refresh: the MinSync and parser children are stopped, the run is recorded as
|
|
13
|
+
* failed, and the command exits 130 or 143 like any process a signal ended. A long first index can run for
|
|
14
|
+
* hours, so an operator or a service manager needs to be able to stop it.
|
|
11
15
|
*/
|
|
12
16
|
export declare function runRefresh(ctx: CommandContext): Promise<number>;
|
|
13
17
|
/**
|
|
@@ -5,6 +5,7 @@ import type { CommandContext } from "./types.js";
|
|
|
5
5
|
* - default: long-running recursive fs watch with debounced refresh
|
|
6
6
|
* - `--once`: single refresh tick (for cron / launchd / Task Scheduler)
|
|
7
7
|
*
|
|
8
|
-
* Exit codes: 0 on success, 2 on config error, 1 on runtime error
|
|
8
|
+
* Exit codes: 0 on success, 2 on config error, 1 on runtime error, 130/143 when a one-shot tick is stopped by
|
|
9
|
+
* SIGINT/SIGTERM. The long-running watch handles those signals itself and exits 0.
|
|
9
10
|
*/
|
|
10
11
|
export declare function runWatch(ctx: CommandContext): Promise<number>;
|