@cmflow/agents 3.4.0-beta.32 → 3.4.0-beta.33

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
@@ -62,6 +62,7 @@ npx -p @cmflow/agents cm-agents install --reinstall # force reinstall of every
62
62
  Checks the workstation installation state and prints a pass / warn / fail report:
63
63
 
64
64
  - **Node.js version** ≥ 20 (via `process.version`)
65
+ - **npm** can execute (`npm -v`)
65
66
  - **git**, **codex**, **claude** present in PATH
66
67
  - **python** present in PATH (optional — warn only)
67
68
  - Required environment variables
@@ -71,7 +72,17 @@ Checks the workstation installation state and prints a pass / warn / fail report
71
72
  - Claude MCPs configured
72
73
  - Repository cloned
73
74
 
74
- > `mise` and `node` are not checked for presence they are prerequisites to run this CLI at all.
75
+ > `cm-agents` itself requires Node.js to start. The `check` command also validates that `npm -v` can execute.
76
+
77
+ ### Repair Node.js on Windows
78
+
79
+ If `cm-agents check` reports that `npm -v` cannot run because a manually installed Node.js binary has a bad signature, repair the user installation with:
80
+
81
+ ```powershell
82
+ cm-agents node reinstall
83
+ ```
84
+
85
+ This installs mise with winget when needed, installs Node.js 24 through mise, adds `%LOCALAPPDATA%\mise\shims` to the user PATH, and removes legacy `nodejs` entries from that PATH.
75
86
 
76
87
  ```bash
77
88
  npx -p @cmflow/agents cm-agents check
@@ -80,6 +91,7 @@ npx -p @cmflow/agents cm-agents check
80
91
  ### `cm-agents codex use openai [--model <model>]`
81
92
 
82
93
  Switches Codex back to the personal OpenAI account:
94
+
83
95
  - Removes `model_provider`, `model_catalog_json`, `model_providers`, `openai_base_url`
84
96
  - Lists available models via the OpenAI SDK (`openai.models.list()`) and shows an interactive select prompt
85
97
  - Falls back to `gpt-5.6-luna` if `OPENAI_API_KEY` is not set or the API is unreachable
@@ -92,6 +104,7 @@ cm-agents codex use openai --model gpt-5.6-luna # skip selection
92
104
  ### `cm-agents codex use litellm`
93
105
 
94
106
  Switches Codex to the Club Med LiteLLM provider:
107
+
95
108
  - If `model_providers.litellm` is not yet configured, prompts for `LITELLM_API_KEY` and `base_url` (default: `https://litellm-aiplatform.ai.clubmed.com`)
96
109
  - Fetches the Club Med model catalog from the LiteLLM API → writes `~/.codex/clubmed-models.json`
97
110
  - Sets `model_provider = "litellm"`, `model_catalog_json`, and `model_providers.litellm`
@@ -178,7 +191,7 @@ cm-agents kibana serve staging
178
191
  ## Environment variables
179
192
 
180
193
  | Variable | Purpose |
181
- |----------------------------------|--------------------------------------------------|
194
+ | -------------------------------- | ------------------------------------------------ |
182
195
  | `LITELLM_API_KEY` | LiteLLM key (AI portal — VPN required) |
183
196
  | `ANTHROPIC_API_KEY` | Anthropic key (same portal) |
184
197
  | `ANTHROPIC_BASE_URL` | LiteLLM proxy base URL |
@@ -195,7 +208,7 @@ cm-agents kibana serve staging
195
208
  ### Codex (`~/.codex/config.toml`)
196
209
 
197
210
  | Name | URL |
198
- |---------------|-------------------------------------------|
211
+ | ------------- | ----------------------------------------- |
199
212
  | `clubmed_api` | `https://portal.api.clubmed/mcp` |
200
213
  | `cms_api` | `https://cms.api.clubmed/mcp` |
201
214
  | `atlassian` | `https://mcp.atlassian.com/v1/mcp/authv2` |
@@ -203,7 +216,7 @@ cm-agents kibana serve staging
203
216
  ### Claude (user scope)
204
217
 
205
218
  | Name | URL |
206
- |---------------|--------------------------------------------------------|
219
+ | ------------- | ------------------------------------------------------ |
207
220
  | `clubmed_api` | `https://portal.api.clubmed/mcp` |
208
221
  | `cms_api` | `https://cms.api.clubmed/mcp` |
209
222
  | `atlassian` | Marketplace plugin `atlassian@claude-plugins-official` |
@@ -215,7 +228,6 @@ cm-agents kibana serve staging
215
228
  3. Install the ChatGPT app (Codex UI): <https://chatgpt.com/download>
216
229
  4. Install Claude Desktop: <https://claude.ai/download>
217
230
 
218
-
219
231
  ## License
220
232
 
221
233
  The MIT License (MIT)