@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.
Files changed (2) hide show
  1. package/README.md +22 -6
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -14,6 +14,9 @@
14
14
  [![npm](https://img.shields.io/npm/v/@zenera/faker.svg)](https://www.npmjs.com/package/@zenera/faker)
15
15
  [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/andreyryabov/ZeneraNeo/blob/main/LICENSE)
16
16
  [![Node](https://img.shields.io/badge/node-%E2%89%A524-brightgreen.svg)](https://nodejs.org)
17
+ [![CI](https://github.com/andreyryabov/ZeneraNeo/actions/workflows/ci.yml/badge.svg)](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 | What it is |
176
- | ------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
177
- | [`@zenera/cli`](https://github.com/andreyryabov/ZeneraNeo/blob/main/packages/cli/README.md) | `zen` - agent projects on the command line |
178
- | [`@zenera/neo`](https://github.com/andreyryabov/ZeneraNeo/blob/main/packages/neo/README.md) | the runtime - agents, models, tools, skills, memory |
179
- | [`@zenera/rag`](https://github.com/andreyryabov/ZeneraNeo/blob/main/packages/rag/README.md) | `zen rag` - an API description as a searchable graph |
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
- [MIT](https://github.com/andreyryabov/ZeneraNeo/blob/main/LICENSE).
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.30",
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.30",
49
- "@zenera/neo": "^1.1.30"
48
+ "@zenera/cli": "^1.1.32",
49
+ "@zenera/neo": "^1.1.32"
50
50
  }
51
51
  }