@zenera/rag 1.1.37 → 1.1.39
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 +14 -14
- package/dist/schema/schema.js +2 -2
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
<img
|
|
3
|
-
src="https://raw.githubusercontent.com/
|
|
3
|
+
src="https://raw.githubusercontent.com/zenera-ai/ZeneraNeo/main/docs/imgs/zenera-logo-with-media-queries.svg"
|
|
4
4
|
alt="Zenera Logo"
|
|
5
5
|
width="20"
|
|
6
6
|
/>
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
<br>
|
|
10
10
|
|
|
11
11
|
<div align="center">
|
|
12
|
-
<img src="https://raw.githubusercontent.com/
|
|
12
|
+
<img src="https://raw.githubusercontent.com/zenera-ai/ZeneraNeo/main/docs/imgs/banner-rag-with-media-queries.svg" alt="ZENERA RAG" width="702">
|
|
13
13
|
|
|
14
14
|
[](https://www.npmjs.com/package/@zenera/rag)
|
|
15
|
-
[](https://github.com/
|
|
15
|
+
[](https://github.com/zenera-ai/ZeneraNeo/blob/main/LICENSE)
|
|
16
16
|
[](https://nodejs.org)
|
|
17
|
-
[](https://github.com/zenera-ai/ZeneraNeo/actions/workflows/ci.yml)
|
|
18
18
|
|
|
19
19
|
[Install](#install) · [API schemas](#api-schemas---zen-rag-schema) · [Documents](#documents---zen-rag-docs) · [From code](#from-code---an-index-is-a-toolset) · [Family](#the-rest-of-the-family) · [License](#license)
|
|
20
20
|
|
|
@@ -27,9 +27,9 @@ for agentic RAG.
|
|
|
27
27
|
Full-text, semantic, hybrid and graph search combine with
|
|
28
28
|
precise inspection and filtering so agents can verify every answer.**
|
|
29
29
|
|
|
30
|
-
> Part of [ZeneraNeo](https://github.com/
|
|
30
|
+
> Part of [ZeneraNeo](https://github.com/zenera-ai/ZeneraNeo). It ships no
|
|
31
31
|
> binary of its own: installing it adds a `rag` **subcommand** to
|
|
32
|
-
> [`zen`](https://github.com/
|
|
32
|
+
> [`zen`](https://github.com/zenera-ai/ZeneraNeo/blob/main/packages/cli/README.md),
|
|
33
33
|
> so indexing, retrieval and agent tools fit one developer workflow.
|
|
34
34
|
|
|
35
35
|
## Complete retrieval for agentic systems
|
|
@@ -536,7 +536,7 @@ Rebuild an index as content changes without repeating work for unchanged files
|
|
|
536
536
|
or passages. Interrupted builds resume, and shared content is reused across
|
|
537
537
|
indexes to keep large documentation and schema collections practical to update.
|
|
538
538
|
|
|
539
|
-
Use [`zen cache`](https://github.com/
|
|
539
|
+
Use [`zen cache`](https://github.com/zenera-ai/ZeneraNeo/blob/main/packages/cli/README.md)
|
|
540
540
|
to inspect and manage reusable indexing data when needed.
|
|
541
541
|
|
|
542
542
|
## From code - an index is a toolset
|
|
@@ -591,13 +591,13 @@ passage, read around it, then edit the file the passage came from.
|
|
|
591
591
|
|
|
592
592
|
## The rest of the family
|
|
593
593
|
|
|
594
|
-
| Package
|
|
595
|
-
|
|
|
596
|
-
| [`@zenera/cli`](https://github.com/
|
|
597
|
-
| [`@zenera/neo`](https://github.com/
|
|
598
|
-
| [`@zenera/
|
|
599
|
-
| **`@zenera/rag`**
|
|
600
|
-
| [`@zenera/view`](https://github.com/
|
|
594
|
+
| Package | What it is |
|
|
595
|
+
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------- |
|
|
596
|
+
| [`@zenera/cli`](https://github.com/zenera-ai/ZeneraNeo/blob/main/packages/cli/README.md) | `zen` - agent projects on the command line |
|
|
597
|
+
| [`@zenera/neo`](https://github.com/zenera-ai/ZeneraNeo/blob/main/packages/neo/README.md) | the runtime - agents, models, tools, skills, memory |
|
|
598
|
+
| [`@zenera/gym`](https://github.com/zenera-ai/ZeneraNeo/blob/main/packages/gym/README.md) | `zen gym` - a mock API from an openapi/swagger document |
|
|
599
|
+
| **`@zenera/rag`** | `zen rag` - indexing and search for documents and API schemas |
|
|
600
|
+
| [`@zenera/view`](https://github.com/zenera-ai/ZeneraNeo/blob/main/packages/view/README.md) | `zen view` - a live local viewer for a folder |
|
|
601
601
|
|
|
602
602
|
## License
|
|
603
603
|
|
package/dist/schema/schema.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// ---------------------------------------------------------------------------
|
|
2
2
|
// Schemas, made uniform — without losing their names
|
|
3
3
|
//
|
|
4
|
-
// Three dialects arrive here and one leaves, the same conversion the
|
|
4
|
+
// Three dialects arrive here and one leaves, the same conversion the gym
|
|
5
5
|
// does. What is deliberately *not* done here is dereferencing: a `$ref` is
|
|
6
6
|
// left as the string it is, because a component's name is this package's
|
|
7
7
|
// primary key. `#/components/schemas/ResetPasswordPayload` is the edge that
|
|
@@ -26,7 +26,7 @@ const MAP = ['properties', 'patternProperties', '$defs', 'definitions'];
|
|
|
26
26
|
const LIST = ['allOf', 'anyOf', 'oneOf', 'prefixItems'];
|
|
27
27
|
/**
|
|
28
28
|
* Annotations that cost tokens and change no meaning. `discriminator` is
|
|
29
|
-
* conspicuously absent — the
|
|
29
|
+
* conspicuously absent — the gym drops it, and here it is the whole reason a
|
|
30
30
|
* `oneOf` can be printed as a TypeScript tagged union rather than a bare one.
|
|
31
31
|
*/
|
|
32
32
|
const DROP = new Set(['externalDocs', 'xml', 'x-internal']);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenera/rag",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.39",
|
|
4
4
|
"description": "Retrieval over a corpus: openapi/swagger documents as a searchable graph, markdown and text as searchable passages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agents",
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
18
|
"author": "Andrey Ryabov",
|
|
19
|
-
"homepage": "https://github.com/
|
|
19
|
+
"homepage": "https://github.com/zenera-ai/ZeneraNeo#readme",
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|
|
22
|
-
"url": "git+https://github.com/
|
|
22
|
+
"url": "git+https://github.com/zenera-ai/ZeneraNeo.git",
|
|
23
23
|
"directory": "packages/rag"
|
|
24
24
|
},
|
|
25
|
-
"bugs": "https://github.com/
|
|
25
|
+
"bugs": "https://github.com/zenera-ai/ZeneraNeo/issues",
|
|
26
26
|
"type": "module",
|
|
27
27
|
"exports": {
|
|
28
28
|
".": {
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@apidevtools/swagger-parser": "^12.0.0",
|
|
63
63
|
"@lancedb/lancedb": "^0.38.0",
|
|
64
|
-
"@zenera/cli": "^1.1.
|
|
65
|
-
"@zenera/neo": "^1.1.
|
|
64
|
+
"@zenera/cli": "^1.1.39",
|
|
65
|
+
"@zenera/neo": "^1.1.39",
|
|
66
66
|
"graphology": "^0.26.0",
|
|
67
67
|
"remark-frontmatter": "^5.0.0",
|
|
68
68
|
"remark-gfm": "^4.0.1",
|