@zenera/faker 1.1.30 → 1.1.32
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 +22 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -14,6 +14,9 @@
|
|
|
14
14
|
[](https://www.npmjs.com/package/@zenera/faker)
|
|
15
15
|
[](https://github.com/andreyryabov/ZeneraNeo/blob/main/LICENSE)
|
|
16
16
|
[](https://nodejs.org)
|
|
17
|
+
[](https://github.com/andreyryabov/ZeneraNeo/actions/workflows/ci.yml)
|
|
18
|
+
|
|
19
|
+
[Install](#install) · [Use](#use) · [Commands](#commands) · [Credentials](#credentials) · [Family](#the-rest-of-the-family) · [License](#license)
|
|
17
20
|
|
|
18
21
|
</div>
|
|
19
22
|
|
|
@@ -27,6 +30,16 @@ serves it - the response bodies are written, once, by a model.**
|
|
|
27
30
|
> [`zen`](https://github.com/andreyryabov/ZeneraNeo/blob/main/packages/cli/README.md),
|
|
28
31
|
> which is also where the credentials already are.
|
|
29
32
|
|
|
33
|
+
## What you get
|
|
34
|
+
|
|
35
|
+
- **A mock server from a spec** - point it at one or more swagger/OpenAPI
|
|
36
|
+
documents and every operation answers.
|
|
37
|
+
- **Bodies written once** - a model writes a Python generator per operation,
|
|
38
|
+
checked against the response schema; after that no request costs a token.
|
|
39
|
+
- **Stable answers** - pin a `--seed` and the same request returns the same body.
|
|
40
|
+
- **Lists that end** - paging tokens are recognised, walked and cut, so a client
|
|
41
|
+
never loops forever.
|
|
42
|
+
|
|
30
43
|
## Install
|
|
31
44
|
|
|
32
45
|
Node.js 24+ and [podman](https://podman.io). Install it alongside the CLI:
|
|
@@ -172,12 +185,15 @@ Environment variables still win over the keyring, exactly as they do for `zen`.
|
|
|
172
185
|
|
|
173
186
|
## The rest of the family
|
|
174
187
|
|
|
175
|
-
| Package
|
|
176
|
-
|
|
|
177
|
-
| [`@zenera/cli`](https://github.com/andreyryabov/ZeneraNeo/blob/main/packages/cli/README.md)
|
|
178
|
-
| [`@zenera/neo`](https://github.com/andreyryabov/ZeneraNeo/blob/main/packages/neo/README.md)
|
|
179
|
-
|
|
|
188
|
+
| Package | What it is |
|
|
189
|
+
| --------------------------------------------------------------------------------------------- | ------------------------------------------------------------- |
|
|
190
|
+
| [`@zenera/cli`](https://github.com/andreyryabov/ZeneraNeo/blob/main/packages/cli/README.md) | `zen` - agent projects on the command line |
|
|
191
|
+
| [`@zenera/neo`](https://github.com/andreyryabov/ZeneraNeo/blob/main/packages/neo/README.md) | the runtime - agents, models, tools, skills, memory |
|
|
192
|
+
| **`@zenera/faker`** | `zen faker` - a mock API from an openapi/swagger document |
|
|
193
|
+
| [`@zenera/rag`](https://github.com/andreyryabov/ZeneraNeo/blob/main/packages/rag/README.md) | `zen rag` - indexing and search for documents and API schemas |
|
|
194
|
+
| [`@zenera/view`](https://github.com/andreyryabov/ZeneraNeo/blob/main/packages/view/README.md) | `zen view` - a live local viewer for a folder |
|
|
180
195
|
|
|
181
196
|
## License
|
|
182
197
|
|
|
183
|
-
|
|
198
|
+
Early days and moving fast - issues, questions and pull requests are welcome.
|
|
199
|
+
[MIT](LICENSE).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenera/faker",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.32",
|
|
4
4
|
"description": "Mock HTTP server for swagger/OpenAPI documents, with response bodies generated by a model.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"openapi",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@apidevtools/swagger-parser": "^12.0.0",
|
|
46
46
|
"ajv": "^8.17.1",
|
|
47
47
|
"ajv-formats": "^3.0.1",
|
|
48
|
-
"@zenera/cli": "^1.1.
|
|
49
|
-
"@zenera/neo": "^1.1.
|
|
48
|
+
"@zenera/cli": "^1.1.32",
|
|
49
|
+
"@zenera/neo": "^1.1.32"
|
|
50
50
|
}
|
|
51
51
|
}
|