@autorag/librarian 2.7.0 → 2.8.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.
Files changed (46) hide show
  1. package/NOTICE +6 -0
  2. package/README.md +66 -23
  3. package/dist/agent/agent.d.ts +119 -25
  4. package/dist/agent/answer-guidelines.d.ts +19 -0
  5. package/dist/agent/citations.d.ts +20 -0
  6. package/dist/agent/index.d.ts +1 -0
  7. package/dist/agent/jev-extension.d.ts +68 -0
  8. package/dist/agent/pi-session.d.ts +21 -1
  9. package/dist/agent/query-decomposition.d.ts +25 -0
  10. package/dist/agent/query-routing.d.ts +54 -0
  11. package/dist/agent/search-documents.d.ts +2 -2
  12. package/dist/agent/system-prompt.d.ts +1 -0
  13. package/dist/cli/commands/evidence.d.ts +22 -0
  14. package/dist/cli/commands/init.d.ts +2 -1
  15. package/dist/cli/commands/update-check.d.ts +8 -0
  16. package/dist/cli/config.d.ts +66 -1
  17. package/dist/cli/index.d.ts +1 -1
  18. package/dist/cli/index.js +9432 -8427
  19. package/dist/cli/update-check.d.ts +34 -0
  20. package/dist/cli/version.d.ts +5 -0
  21. package/dist/core.d.ts +33 -1
  22. package/dist/core.js +9505 -8630
  23. package/dist/everything/bundle.d.ts +15 -3
  24. package/dist/everything/client.d.ts +22 -5
  25. package/dist/everything/index.d.ts +1 -1
  26. package/dist/filesystem/name-search.d.ts +57 -0
  27. package/dist/fsearch/client.d.ts +7 -1
  28. package/dist/index.d.ts +1 -0
  29. package/dist/index.js +10824 -8655
  30. package/dist/jikji/client.d.ts +6 -1
  31. package/dist/mcp/index.d.ts +2 -0
  32. package/dist/mcp/index.js +29949 -0
  33. package/dist/mcp/server.d.ts +9 -0
  34. package/dist/minsync/method.d.ts +6 -3
  35. package/dist/mirror/index.d.ts +1 -1
  36. package/dist/mirror/paths.d.ts +6 -0
  37. package/dist/retrieval/engine.d.ts +32 -1
  38. package/dist/retrieval/index.d.ts +2 -1
  39. package/dist/retrieval/rerank.d.ts +2 -0
  40. package/dist/retrieval/selection.d.ts +97 -0
  41. package/package.json +7 -3
  42. package/skills/autorag/SKILL.md +25 -4
  43. package/skills/autorag-doctor/SKILL.md +27 -18
  44. package/skills/autorag-lite-setup/SKILL.md +115 -59
  45. package/skills/autorag-setup/SKILL.md +79 -7
  46. package/skills/autorag-lite-search/SKILL.md +0 -245
@@ -2,6 +2,7 @@ import type { JikjiFindOptions, JikjiFindResult, JikjiOptions, JikjiPrepareOptio
2
2
  export declare class JikjiClient {
3
3
  private readonly options;
4
4
  private resolvedCommand;
5
+ private installCommandInFlight;
5
6
  constructor(options?: JikjiOptions);
6
7
  /** Jikji stores prepared corpus metadata under a hidden directory in each root. */
7
8
  isPrepared(root: string): boolean;
@@ -11,8 +12,12 @@ export declare class JikjiClient {
11
12
  * 2. PATH lookup for `jikji`
12
13
  * 3. cached `<root>/.autorag/bin/jikji`
13
14
  * 4. autoInstall (default true) via `cargo install jikji-cli` into the cache
15
+ * — only for `prepare` (refresh); `find` passes `install: false` so a
16
+ * query never waits on an install
14
17
  * 5. bare `jikji` (spawn-error degrade preserves the previous behavior)
15
- * The result is cached per client so a failed install is not retried.
18
+ * A found binary is cached per client. The bare fallback is cached only after
19
+ * an install attempt, so a query-time miss does not block a later refresh
20
+ * from installing.
16
21
  */
17
22
  private resolveCommand;
18
23
  prepare(root: string, options?: JikjiPrepareOptions): Promise<JikjiPrepareResult>;
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export declare function main(): Promise<void>;