@zenera/cli 1.1.59 → 1.2.1

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 CHANGED
@@ -201,17 +201,34 @@ and does not execute their scripts or setup files.
201
201
 
202
202
  ## Commands at a glance
203
203
 
204
- | Need | Commands |
205
- | -------------------- | --------------------------------------------------------- |
206
- | Create and find work | `zen init`, `zen open`, `zen list` |
207
- | Build and validate | `zen meta`, `zen check`, `zen sandbox` |
208
- | Run and review | `zen run`, `zen inspect`, `zen view` |
209
- | Configure providers | `zen key`, `zen models` |
210
- | Work with memory | `zen memory` |
211
- | Share and maintain | `zen export`, `zen import`, `zen cache`, `zen completion` |
204
+ | Need | Commands |
205
+ | --------------------- | ----------------------------------------------------------- |
206
+ | Create and find work | `zen init`, `zen open`, `zen list` |
207
+ | Build and validate | `zen meta`, `zen check`, `zen sandbox` |
208
+ | Run and review | `zen run`, `zen inspect`, `zen view` |
209
+ | Configure providers | `zen key`, `zen models` |
210
+ | Work with memory | `zen memory` |
211
+ | Serve chats over HTTP | `zen server start`, `zen server check`, `zen server status` |
212
+ | Server authentication | `zen server keygen`, `zen server token` |
213
+ | Share and maintain | `zen export`, `zen import`, `zen cache`, `zen completion` |
212
214
 
213
215
  Run `zen --help` or `zen <command> --help` for details and options.
214
216
 
217
+ ### Serve a project
218
+
219
+ ```sh
220
+ zen server start --insecure --user ann # local test chat; open the printed HTTP link
221
+ zen server start --container --insecure --user ann # run the server in the project's agent image
222
+ zen server keygen --out ./runtime-auth # standalone Ed25519 signing keys
223
+ zen server start --jwt-public-key ./runtime-auth.public.pem
224
+ ```
225
+
226
+ `keygen` creates private/public PEM files without overwriting existing files. Keep
227
+ the private key with the trusted caller, not the runtime. `token --user ann`
228
+ prints an **unsigned development JWT**, usable only with `--insecure`; it does
229
+ not sign production requests. See the [server usage guide](../server/README.md)
230
+ for secure callers, storage, and common options.
231
+
215
232
  ### Optional Zenera commands
216
233
 
217
234
  The CLI can expose commands supplied by sibling Zenera packages:
@@ -232,13 +249,14 @@ npm install --global @zenera/rag @zenera/gym
232
249
  `@zenera/cli` is the command-line front end for ZeneraNeo. The other packages
233
250
  provide the runtime and optional capabilities that work alongside it:
234
251
 
235
- | Package | What it is |
236
- | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------- |
237
- | [`@zenera/cli`](https://github.com/zenera-ai/ZeneraNeo/blob/main/packages/cli/README.md) | `zen` — agent projects on the command line |
238
- | [`@zenera/neo`](https://github.com/zenera-ai/ZeneraNeo/blob/main/packages/neo/README.md) | The runtime — agents, models, tools, skills, and memory |
239
- | [`@zenera/gym`](https://github.com/zenera-ai/ZeneraNeo/blob/main/packages/gym/README.md) | `zen gym` — mock APIs from OpenAPI or Swagger documents |
240
- | [`@zenera/rag`](https://github.com/zenera-ai/ZeneraNeo/blob/main/packages/rag/README.md) | `zen rag` — indexing and search for documents and API schemas |
241
- | [`@zenera/view`](https://github.com/zenera-ai/ZeneraNeo/blob/main/packages/view/README.md) | `zen view` — a live local viewer for a folder |
252
+ | Package | What it is |
253
+ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------- |
254
+ | [`@zenera/cli`](https://github.com/zenera-ai/ZeneraNeo/blob/main/packages/cli/README.md) | `zen` — agent projects on the command line |
255
+ | [`@zenera/neo`](https://github.com/zenera-ai/ZeneraNeo/blob/main/packages/neo/README.md) | The runtime — agents, models, tools, skills, and memory |
256
+ | [`@zenera/gym`](https://github.com/zenera-ai/ZeneraNeo/blob/main/packages/gym/README.md) | `zen gym` — mock APIs from OpenAPI or Swagger documents |
257
+ | [`@zenera/rag`](https://github.com/zenera-ai/ZeneraNeo/blob/main/packages/rag/README.md) | `zen rag` — indexing and search for documents and API schemas |
258
+ | [`@zenera/view`](https://github.com/zenera-ai/ZeneraNeo/blob/main/packages/view/README.md) | `zen view` — a live local viewer for a folder |
259
+ | [`@zenera/server`](../server/README.md) | `zen server` — multi-user chats over HTTP and server authentication |
242
260
 
243
261
  `@zenera/rag` also exports tools that can be passed to `loadProject`, allowing
244
262
  an agent to search an API schema it has not read beforehand.