@eventmodelers/cli 1.0.102 → 1.0.103
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 +12 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -236,10 +236,18 @@ Keys: `OPENAI_API_KEY` (codex), `GEMINI_API_KEY` (gemini), and for Hermes a prov
|
|
|
236
236
|
servers only from `~/.hermes/config.yaml`, so the images ship the eventmodelers server there (env references, no secret); outside
|
|
237
237
|
Docker the CLI logs the snippet to add. Run `hermes` in a container as `-e AGENT=hermes --model <provider/model>`.
|
|
238
238
|
|
|
239
|
-
**
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
239
|
+
**Custom model endpoint.** `-e MODEL_BASE_URL=<url> [-e MODEL_NAME=<id>] [-e MODEL_API_KEY=...]` points the container's harness at that
|
|
240
|
+
endpoint (agent and build images); leave `MODEL_BASE_URL` empty and nothing changes. `docker/model-endpoint.sh` maps it per `AGENT`:
|
|
241
|
+
|
|
242
|
+
| AGENT | Endpoint protocol | What the URL becomes |
|
|
243
|
+
|---|---|---|
|
|
244
|
+
| `claude` | Anthropic API | `ANTHROPIC_BASE_URL` (key: `ANTHROPIC_AUTH_TOKEN`) |
|
|
245
|
+
| `gemini` | Gemini API | `GOOGLE_GEMINI_BASE_URL` (key: `GEMINI_API_KEY`) |
|
|
246
|
+
| `codex` | OpenAI Responses API | `model_provider` in `~/.codex/config.toml` (key: `MODEL_API_KEY`) |
|
|
247
|
+
| `opencode` | OpenAI-compatible | provider `custom` via `OPENCODE_CONFIG_CONTENT`; `MODEL_NAME` required |
|
|
248
|
+
| `hermes` | OpenAI-compatible | `OPENAI_BASE_URL` (key: `OPENAI_API_KEY`) |
|
|
249
|
+
|
|
250
|
+
`MODEL_NAME`, when set, becomes `--model`. Claude and Gemini need a gateway (e.g. LiteLLM) that speaks their own protocol.
|
|
243
251
|
|
|
244
252
|
`--agent`, `--exec`, `--local-ai` and `--bash` each pick the runner, so pass at most one of them —
|
|
245
253
|
any two together are rejected. For a local or self-hosted model use `--local-ai`, not `--agent`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eventmodelers/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.103",
|
|
4
4
|
"description": "Eventmodelers CLI — real-time Claude agent + skills for Claude Code, for any stack (Node, Supabase, Axon, OpenCQRS, UmaDB, Kurrent, or modeling-only)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|