@autorag/librarian 2.10.6 → 2.11.0
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/NOTICE +8 -0
- package/README.md +46 -7
- package/dist/agent/agent.d.ts +6 -1
- package/dist/agent/answer-guidelines.d.ts +22 -1
- package/dist/agent/mcp-client.d.ts +27 -0
- package/dist/agent/pi-session.d.ts +8 -0
- package/dist/agent/search-progress.d.ts +96 -0
- package/dist/agent/welcome-header.d.ts +35 -0
- package/dist/cli/commands/setup.d.ts +2 -0
- package/dist/cli/index.js +11740 -10176
- package/dist/cli/setup.d.ts +9 -0
- package/dist/core.js +1841 -865
- package/dist/datasource/errors.d.ts +1 -1
- package/dist/datasource/index.d.ts +2 -1
- package/dist/datasource/skills/factory.d.ts +3 -0
- package/dist/datasource/skills/hister/client.d.ts +83 -0
- package/dist/datasource/skills/hister/embedding.d.ts +64 -0
- package/dist/datasource/skills/hister/index.d.ts +2 -0
- package/dist/datasource/skills/hister/setup.d.ts +87 -0
- package/dist/datasource/skills/hister/skill.d.ts +63 -0
- package/dist/datasource/skills/obsidian/index.d.ts +4 -6
- package/dist/datasource/skills/obsidian/methods.d.ts +13 -17
- package/dist/datasource/skills/obsidian/paths.d.ts +24 -24
- package/dist/datasource/skills/obsidian/skill.d.ts +10 -15
- package/dist/datasource/skills/obsidian/staging.d.ts +50 -0
- package/dist/datasource/skills/obsidian/vault-index.d.ts +44 -0
- package/dist/index.js +1894 -915
- package/dist/mcp/index.js +1891 -915
- package/dist/minsync/workspace-lock.d.ts +7 -0
- package/dist/process/terminate-tree.d.ts +4 -5
- package/licenses/hister-AGPL-3.0-notice.txt +47 -0
- package/package.json +2 -2
- package/skills/autorag/SKILL.md +6 -3
- package/skills/autorag-doctor/SKILL.md +5 -4
- package/skills/autorag-lite-setup/SKILL.md +23 -5
- package/skills/autorag-setup/SKILL.md +60 -3
- package/dist/datasource/skills/obsidian/client.d.ts +0 -15
- package/dist/datasource/skills/obsidian/types.d.ts +0 -92
package/dist/cli/setup.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type HisterServiceDeps, type HisterSetupReport } from "../datasource/skills/hister/setup.js";
|
|
1
2
|
import { type EmbeddingBackend, type ManagedEmbedder } from "../embedding/index.js";
|
|
2
3
|
import { type FileLockHandle } from "../filesystem/file-lock.js";
|
|
3
4
|
export type SetupDatasourceState = "configured" | "skipped" | "blocked";
|
|
@@ -21,6 +22,10 @@ export interface SetupReport {
|
|
|
21
22
|
readonly embedding: SetupEmbeddingReport;
|
|
22
23
|
readonly datasources: readonly SetupDatasourceReport[];
|
|
23
24
|
readonly remediation?: string;
|
|
25
|
+
/** One entry per configured `hister` datasource; absent when none is configured. */
|
|
26
|
+
readonly hister?: HisterSetupReport;
|
|
27
|
+
/** Every configured `hister` datasource, when there is more than one. */
|
|
28
|
+
readonly histers?: readonly HisterSetupReport[];
|
|
24
29
|
readonly changed: boolean;
|
|
25
30
|
}
|
|
26
31
|
export interface SetupDeps {
|
|
@@ -30,9 +35,13 @@ export interface SetupDeps {
|
|
|
30
35
|
readonly pathExists?: (path: string) => boolean;
|
|
31
36
|
readonly executable?: (name: string) => string | undefined;
|
|
32
37
|
readonly acquireLock?: (path: string) => FileLockHandle;
|
|
38
|
+
/** Hister's config path, health, restart and reindex; defaults to the real programs. */
|
|
39
|
+
readonly hister?: HisterServiceDeps;
|
|
33
40
|
}
|
|
34
41
|
export declare function runSetup(options: {
|
|
35
42
|
configPath: string;
|
|
36
43
|
workspacePath: string;
|
|
44
|
+
/** Write Hister's `semantic_search` to the shared embedding model (and restart/reindex it). Off by default. */
|
|
45
|
+
syncHister?: boolean;
|
|
37
46
|
deps?: SetupDeps;
|
|
38
47
|
}): Promise<SetupReport>;
|