@autorag/librarian 2.10.5 → 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 +14 -9
- package/README.md +65 -25
- package/dist/agent/agent.d.ts +51 -49
- package/dist/agent/answer-guidelines.d.ts +22 -1
- package/dist/agent/context-token-guard.d.ts +11 -0
- package/dist/agent/discord-remote.d.ts +30 -0
- package/dist/agent/embedding-controls.d.ts +22 -0
- package/dist/agent/index.d.ts +1 -2
- package/dist/agent/mcp-client.d.ts +27 -0
- package/dist/agent/pi-session.d.ts +8 -1
- package/dist/agent/query-decomposition.d.ts +1 -1
- package/dist/agent/search-documents.d.ts +2 -2
- package/dist/agent/search-progress.d.ts +96 -0
- package/dist/agent/system-prompt.d.ts +1 -1
- package/dist/agent/welcome-header.d.ts +35 -0
- package/dist/cli/commands/models.d.ts +0 -14
- package/dist/cli/commands/search.d.ts +3 -4
- package/dist/cli/commands/setup.d.ts +2 -0
- package/dist/cli/config.d.ts +7 -19
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +16364 -18337
- package/dist/cli/setup.d.ts +22 -36
- package/dist/cloud/config.d.ts +3 -3
- package/dist/core.js +7372 -9206
- package/dist/datasource/embedding-env.d.ts +29 -0
- package/dist/datasource/errors.d.ts +1 -1
- package/dist/datasource/index.d.ts +2 -1
- package/dist/datasource/sidecar/config.d.ts +3 -0
- package/dist/datasource/sidecar/index.d.ts +1 -1
- package/dist/datasource/skills/discrawl/client.d.ts +1 -0
- package/dist/datasource/skills/discrawl/embedding.d.ts +17 -0
- package/dist/datasource/skills/discrawl/types.d.ts +11 -3
- package/dist/datasource/skills/factory.d.ts +17 -1
- package/dist/datasource/skills/github-gist/semantic.d.ts +5 -5
- package/dist/datasource/skills/github-gist/skill.d.ts +2 -3
- 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/lazykatok/types.d.ts +9 -1
- package/dist/datasource/skills/mailcrawl/types.d.ts +9 -1
- 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/embedding/daemon.d.ts +57 -0
- package/dist/embedding/embedder.d.ts +59 -0
- package/dist/embedding/http-embedder.d.ts +28 -0
- package/dist/embedding/in-process.d.ts +19 -0
- package/dist/embedding/index.d.ts +28 -0
- package/dist/embedding/managed.d.ts +44 -0
- package/dist/embedding/prefixes.d.ts +18 -0
- package/dist/embedding/settings.d.ts +9 -0
- package/dist/index.js +7465 -9298
- package/dist/mcp/index.js +7460 -9294
- package/dist/memory/context.d.ts +1 -1
- package/dist/memory/similar-queries.d.ts +1 -1
- package/dist/minsync/binary.d.ts +21 -0
- package/dist/minsync/client.d.ts +11 -10
- package/dist/minsync/index.d.ts +1 -1
- package/dist/minsync/installer.d.ts +1 -1
- package/dist/minsync/method.d.ts +3 -11
- package/dist/minsync/process.d.ts +1 -0
- package/dist/minsync/types.d.ts +0 -2
- package/dist/minsync/workspace-lock.d.ts +7 -0
- package/dist/process/terminate-tree.d.ts +4 -5
- package/dist/retrieval/rerank.d.ts +10 -3
- package/licenses/hister-AGPL-3.0-notice.txt +47 -0
- package/package.json +4 -4
- package/skills/autorag/SKILL.md +9 -11
- package/skills/autorag-doctor/SKILL.md +50 -29
- package/skills/autorag-lite-setup/SKILL.md +31 -13
- package/skills/autorag-setup/SKILL.md +99 -26
- package/dist/agent/peer-target-tool.d.ts +0 -19
- package/dist/agent/query-peer-tool.d.ts +0 -51
- package/dist/cli/commands/gateway.d.ts +0 -7
- package/dist/cli/commands/p2p-policy.d.ts +0 -2
- package/dist/cli/commands/p2p.d.ts +0 -7
- package/dist/cli/commands/serve.d.ts +0 -19
- package/dist/datasource/skills/obsidian/client.d.ts +0 -15
- package/dist/datasource/skills/obsidian/types.d.ts +0 -92
- package/dist/embedding-runtime/cache.d.ts +0 -30
- package/dist/embedding-runtime/gateway-embedder.d.ts +0 -41
- package/dist/embedding-runtime/gateway.d.ts +0 -27
- package/dist/embedding-runtime/index.d.ts +0 -120
- package/dist/embedding-runtime/manifest.d.ts +0 -20
- package/dist/embedding-runtime/supervisor.d.ts +0 -74
- package/dist/embedding-runtime/types.d.ts +0 -70
- package/dist/p2p/approval-store.d.ts +0 -32
- package/dist/p2p/egress-gate.d.ts +0 -22
- package/dist/p2p/file-sharing.d.ts +0 -33
- package/dist/p2p/injection-classifier.d.ts +0 -33
- package/dist/p2p/injection-gate.d.ts +0 -37
- package/dist/p2p/pii-gate.d.ts +0 -47
- package/dist/p2p/policy-filter.d.ts +0 -15
- package/dist/p2p/policy.d.ts +0 -77
- package/dist/p2p/simplex-query-store.d.ts +0 -44
- package/dist/p2p/simplex-server.d.ts +0 -115
- package/dist/p2p/simplex-transport.d.ts +0 -62
- package/dist/p2p/wire.d.ts +0 -39
- package/licenses/embedding-assets.json +0 -85
- package/licenses/llama.cpp-MIT.txt +0 -21
- package/licenses/qwen3-embedding-notice.txt +0 -13
package/dist/p2p/wire.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { type Static, Type } from "typebox";
|
|
2
|
-
export declare const PeerRefusalCodeSchema: Type.TUnion<[Type.TLiteral<"auth-error">, Type.TLiteral<"replay-rejected">, Type.TLiteral<"rate-limited">, Type.TLiteral<"injection-detected">, Type.TLiteral<"policy-denied">, Type.TLiteral<"queue-full">, Type.TLiteral<"internal-error">]>;
|
|
3
|
-
export type PeerRefusalCode = Static<typeof PeerRefusalCodeSchema>;
|
|
4
|
-
export declare const PeerQueryRequestSchema: Type.TObject<{
|
|
5
|
-
v: Type.TLiteral<1>;
|
|
6
|
-
query: Type.TString;
|
|
7
|
-
topK: Type.TOptional<Type.TInteger>;
|
|
8
|
-
scope: Type.TOptional<Type.TString>;
|
|
9
|
-
}>;
|
|
10
|
-
export type PeerQueryRequest = Static<typeof PeerQueryRequestSchema>;
|
|
11
|
-
export declare const PeerQueryResponseSchema: Type.TObject<{
|
|
12
|
-
v: Type.TLiteral<1>;
|
|
13
|
-
status: Type.TUnion<[Type.TLiteral<"ok">, Type.TLiteral<"rejected">]>;
|
|
14
|
-
answer: Type.TString;
|
|
15
|
-
results: Type.TArray<Type.TObject<{
|
|
16
|
-
number: Type.TInteger;
|
|
17
|
-
title: Type.TString;
|
|
18
|
-
summary: Type.TString;
|
|
19
|
-
source: Type.TString;
|
|
20
|
-
excerpt: Type.TString;
|
|
21
|
-
}>>;
|
|
22
|
-
files: Type.TArray<Type.TObject<{
|
|
23
|
-
source: Type.TString;
|
|
24
|
-
contentBase64: Type.TString;
|
|
25
|
-
redacted: Type.TBoolean;
|
|
26
|
-
}>>;
|
|
27
|
-
diagnostics: Type.TArray<Type.TObject<{
|
|
28
|
-
code: Type.TString;
|
|
29
|
-
message: Type.TString;
|
|
30
|
-
}>>;
|
|
31
|
-
}>;
|
|
32
|
-
export type PeerQueryResponse = Static<typeof PeerQueryResponseSchema>;
|
|
33
|
-
/** P2P carries the same canonical source identifier used by retrieval and policy. */
|
|
34
|
-
export declare function wireSourceId(source: string): string;
|
|
35
|
-
/**
|
|
36
|
-
* Retained as a no-op test/setup hook while the public wire source is the
|
|
37
|
-
* retrieval source itself.
|
|
38
|
-
*/
|
|
39
|
-
export declare function resetWireMapping(): void;
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"generatedFrom": "src/embedding-runtime/manifest.ts",
|
|
4
|
-
"profiles": [
|
|
5
|
-
{
|
|
6
|
-
"profileId": "qwen3-embedding-0.6b",
|
|
7
|
-
"provider": "qwen",
|
|
8
|
-
"model": "Qwen3-Embedding-0.6B-Q8_0.gguf",
|
|
9
|
-
"dimension": 1024,
|
|
10
|
-
"queryPrefix": "",
|
|
11
|
-
"passagePrefix": "",
|
|
12
|
-
"runtimeBuild": "b10951",
|
|
13
|
-
"modelRevision": "370f27d7550e0def9b39c1f16d3fbaa13aa67728",
|
|
14
|
-
"artifactSha256": "06507c7b42688469c4e7298b0a1e16deff06caf291cf0a5b278c308249c3e439",
|
|
15
|
-
"backend": "auto",
|
|
16
|
-
"modelAssetId": "qwen3-embedding-0.6b",
|
|
17
|
-
"licenseId": "Apache-2.0",
|
|
18
|
-
"noticeFile": "licenses/qwen3-embedding-notice.txt",
|
|
19
|
-
"noticeReference": "Qwen3 model card and Apache-2.0 license",
|
|
20
|
-
"intendedUse": "Local loopback embedding for AutoRAG MinSync and native-datasource semantic retrieval. Not a generative model.",
|
|
21
|
-
"unsuitableUse": "Chat or generation, remote embedding of corpus text, shipping weights in the npm package, any GGUF other than the pinned SHA-256.",
|
|
22
|
-
"upstreamCardUrl": "https://huggingface.co/Qwen/Qwen3-Embedding-0.6B",
|
|
23
|
-
"modelCard": "docs/model-cards/qwen3-embedding-0.6b.md"
|
|
24
|
-
}
|
|
25
|
-
],
|
|
26
|
-
"assets": [
|
|
27
|
-
{
|
|
28
|
-
"kind": "model",
|
|
29
|
-
"id": "qwen3-embedding-0.6b",
|
|
30
|
-
"filename": "Qwen3-Embedding-0.6B-Q8_0.gguf",
|
|
31
|
-
"url": "https://huggingface.co/Qwen/Qwen3-Embedding-0.6B-GGUF/resolve/370f27d7550e0def9b39c1f16d3fbaa13aa67728/Qwen3-Embedding-0.6B-Q8_0.gguf",
|
|
32
|
-
"revision": "370f27d7550e0def9b39c1f16d3fbaa13aa67728",
|
|
33
|
-
"sha256": "06507c7b42688469c4e7298b0a1e16deff06caf291cf0a5b278c308249c3e439",
|
|
34
|
-
"licenseId": "Apache-2.0",
|
|
35
|
-
"noticeFile": "licenses/qwen3-embedding-notice.txt",
|
|
36
|
-
"noticeReference": "Qwen3 model card and Apache-2.0 license",
|
|
37
|
-
"intendedUse": "Local loopback embedding for AutoRAG MinSync and native-datasource semantic retrieval. Not a generative model.",
|
|
38
|
-
"unsuitableUse": "Chat or generation, remote embedding of corpus text, shipping weights in the npm package, any GGUF other than the pinned SHA-256.",
|
|
39
|
-
"upstreamCardUrl": "https://huggingface.co/Qwen/Qwen3-Embedding-0.6B",
|
|
40
|
-
"modelCard": "docs/model-cards/qwen3-embedding-0.6b.md"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"kind": "runtime",
|
|
44
|
-
"id": "llama-macos-arm64",
|
|
45
|
-
"platform": "darwin-arm64-metal",
|
|
46
|
-
"filename": "llama-b10951-bin-macos-arm64.tar.gz",
|
|
47
|
-
"url": "https://github.com/ggml-org/llama.cpp/releases/download/b10951/llama-b10951-bin-macos-arm64.tar.gz",
|
|
48
|
-
"revision": "b10951",
|
|
49
|
-
"sha256": "93d024186f1e6ff1d221f5e0b03567f74dc27a49f5bd42c83066d30af4fbbfec",
|
|
50
|
-
"licenseId": "MIT",
|
|
51
|
-
"noticeFile": "licenses/llama.cpp-MIT.txt",
|
|
52
|
-
"archiveMembers": [
|
|
53
|
-
"llama-b10951/llama-server"
|
|
54
|
-
]
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"kind": "runtime",
|
|
58
|
-
"id": "llama-win-cpu-x64",
|
|
59
|
-
"platform": "win-x64-cpu",
|
|
60
|
-
"filename": "llama-b10951-bin-win-cpu-x64.zip",
|
|
61
|
-
"url": "https://github.com/ggml-org/llama.cpp/releases/download/b10951/llama-b10951-bin-win-cpu-x64.zip",
|
|
62
|
-
"revision": "b10951",
|
|
63
|
-
"sha256": "ec79f36abd0545ebfad5f61a0c965605058022567659deb21bec711268c3421f",
|
|
64
|
-
"licenseId": "MIT",
|
|
65
|
-
"noticeFile": "licenses/llama.cpp-MIT.txt",
|
|
66
|
-
"archiveMembers": [
|
|
67
|
-
"llama-server.exe"
|
|
68
|
-
]
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"kind": "runtime",
|
|
72
|
-
"id": "llama-win-vulkan-x64",
|
|
73
|
-
"platform": "win-x64-vulkan",
|
|
74
|
-
"filename": "llama-b10951-bin-win-vulkan-x64.zip",
|
|
75
|
-
"url": "https://github.com/ggml-org/llama.cpp/releases/download/b10951/llama-b10951-bin-win-vulkan-x64.zip",
|
|
76
|
-
"revision": "b10951",
|
|
77
|
-
"sha256": "1e36655f134ab7b94790e3a6311a833dd603c6535b45588ff5b12bdfa79da385",
|
|
78
|
-
"licenseId": "MIT",
|
|
79
|
-
"noticeFile": "licenses/llama.cpp-MIT.txt",
|
|
80
|
-
"archiveMembers": [
|
|
81
|
-
"llama-server.exe"
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
]
|
|
85
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2023-2026 The ggml authors
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
Qwen3-Embedding-0.6B
|
|
2
|
-
|
|
3
|
-
The Qwen3-Embedding-0.6B model asset is provided under the Apache License, Version 2.0. The pinned GGUF asset is published by Qwen at:
|
|
4
|
-
https://huggingface.co/Qwen/Qwen3-Embedding-0.6B-GGUF
|
|
5
|
-
|
|
6
|
-
Model card and pinned asset revision:
|
|
7
|
-
https://huggingface.co/Qwen/Qwen3-Embedding-0.6B-GGUF/tree/370f27d7550e0def9b39c1f16d3fbaa13aa67728
|
|
8
|
-
|
|
9
|
-
Apache License, Version 2.0:
|
|
10
|
-
https://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
The text is also included in licenses/apache-2.0.txt.
|
|
12
|
-
|
|
13
|
-
This notice identifies the model license and provenance. The model weights are not included in the npm package; release jobs fetch the immutable URL in licenses/embedding-assets.json and verify its SHA-256 before staging.
|