@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 +33 -15
- package/assets/chat.html +4539 -0
- package/dist/chat.d.ts +7 -0
- package/dist/chat.js +29 -0
- package/dist/commands/index.js +2 -0
- package/dist/commands/server.d.ts +12 -0
- package/dist/commands/server.js +479 -0
- package/dist/container.d.ts +47 -0
- package/dist/container.js +398 -0
- package/dist/containerCredentials.d.ts +2 -0
- package/dist/containerCredentials.js +33 -0
- package/dist/podman.d.ts +1 -0
- package/dist/podman.js +7 -1
- package/dist/seed.d.ts +6 -0
- package/dist/seed.js +64 -0
- package/dist/serverDisplay.d.ts +24 -0
- package/dist/serverDisplay.js +161 -0
- package/dist/serverKeys.d.ts +5 -0
- package/dist/serverKeys.js +53 -0
- package/package.json +8 -5
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
|
|
205
|
-
|
|
|
206
|
-
| Create and find work
|
|
207
|
-
| Build and validate
|
|
208
|
-
| Run and review
|
|
209
|
-
| Configure providers
|
|
210
|
-
| Work with memory
|
|
211
|
-
|
|
|
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.
|