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

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
@@ -38,7 +38,7 @@ npx -p @cmflow/agents cm-agents install
38
38
 
39
39
  ## Commands
40
40
 
41
- ### `cm-agents install [--reinstall]`
41
+ ### `cm-agents install`
42
42
 
43
43
  Interactive full workstation setup:
44
44
 
@@ -55,8 +55,13 @@ Interactive full workstation setup:
55
55
  ```bash
56
56
  npx -p @cmflow/agents cm-agents install
57
57
  npx -p @cmflow/agents cm-agents install --reinstall # force reinstall of every tool
58
+ npx -p @cmflow/agents cm-agents install --dryRun # display every planned task without changes
59
+ npx -p @cmflow/agents cm-agents install --agent codex # configure Codex only
60
+ npx -p @cmflow/agents cm-agents install --agent claude --mcps-only
58
61
  ```
59
62
 
63
+ `--mcps-only` requires `--agent claude` or `--agent codex`. The Codex setup displays separate tasks for the CLI, LiteLLM model catalog, and LiteLLM configuration.
64
+
60
65
  ### `cm-agents check`
61
66
 
62
67
  Checks the workstation installation state and prints a pass / warn / fail report:
@@ -82,7 +87,7 @@ If `cm-agents check` reports that `npm -v` cannot run because a manually install
82
87
  cm-agents node reinstall
83
88
  ```
84
89
 
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.
90
+ This installs mise with winget when needed, installs Node.js 24 through mise, adds `%LOCALAPPDATA%\mise\shims` and the active `%LOCALAPPDATA%\mise\installs\node\<version>` directory to the user PATH, and removes legacy `nodejs` entries from that PATH.
86
91
 
87
92
  ```bash
88
93
  npx -p @cmflow/agents cm-agents check
@@ -144,64 +149,52 @@ Requires `LITELLM_API_KEY` to be set in the environment.
144
149
  cm-agents codex models --refresh
145
150
  ```
146
151
 
147
- ### `cm-agents kibana setup <profile>`
152
+ ### `cm-agents kibana setup`
148
153
 
149
- Runs the interactive Kibana MCP profile setup wizard for the given profile name (`prod`, `staging`, or any custom name).
154
+ Creates or updates a Kibana MCP profile. `cm-agents` collects the configuration values and securely prompts for the password, then provides them to the Kibana setup command.
150
155
 
151
- - Streams `npx @havesomecode/kibana-mcp-server setup` with full stdin/stdout relay.
152
156
  - After a successful setup, registers `kibana_<profile>` as a **stdio MCP** in both Codex and Claude.
153
157
 
154
158
  ```bash
155
- cm-agents kibana setup prod
156
- cm-agents kibana setup staging
157
- cm-agents kibana setup prod --reinstall # re-register even if already present
159
+ cm-agents kibana setup \
160
+ --profile production \
161
+ --url https://api.clubmed.com/logs \
162
+ --user User \
163
+ --config 'SHARED_AGENTS_REPO_DIR/scripts/kibana-mcp-server/sources.{profile}.json'
164
+
165
+ # Update an existing Kibana profile and re-register the MCP
166
+ cm-agents kibana setup --profile production --url https://api.clubmed.com/logs --user User --config sources.prod.json --reinstall
158
167
  ```
159
168
 
160
- Once a profile is configured, the MCP server is started on demand:
161
-
162
- ```bash
163
- KIBANA_PROFILE=prod npx -y @havesomecode/kibana-mcp-server serve
164
- KIBANA_PROFILE=staging npx -y @havesomecode/kibana-mcp-server serve
165
- ```
166
-
167
- The registered MCP JSON (used for both Codex and Claude):
168
-
169
- ```json
170
- {
171
- "type": "stdio",
172
- "command": "npx",
173
- "args": ["-y", "@havesomecode/kibana-mcp-server", "serve"],
174
- "env": { "KIBANA_PROFILE": "prod" }
175
- }
176
- ```
169
+ `--config` supports `{profile}` and the literal `SHARED_AGENTS_REPO_DIR/` prefix. The prefix is resolved from the environment variable; when it is absent, `cm-agents` uses the first detected default repository directory.
177
170
 
178
171
  ### `cm-agents kibana serve <profile>`
179
172
 
180
173
  Starts the Kibana MCP server for a given profile — a thin proxy for:
181
174
 
182
175
  ```bash
183
- KIBANA_PROFILE=<profile> npx -y @havesomecode/kibana-mcp-server serve
176
+ KIBANA_PROFILE=<profile> npx --yes --package=@havesomecode/kibana-mcp-server kibana-mcp-server serve
184
177
  ```
185
178
 
186
179
  ```bash
187
- cm-agents kibana serve prod
188
- cm-agents kibana serve staging
180
+ cm-agents kibana serve --profile production
181
+ cm-agents kibana serve --profile staging
189
182
  ```
190
183
 
191
184
  ## Environment variables
192
185
 
193
- | Variable | Purpose |
194
- | -------------------------------- | ------------------------------------------------ |
195
- | `LITELLM_API_KEY` | LiteLLM key (AI portal — VPN required) |
196
- | `ANTHROPIC_API_KEY` | Anthropic key (same portal) |
197
- | `ANTHROPIC_BASE_URL` | LiteLLM proxy base URL |
198
- | `ANTHROPIC_DEFAULT_SONNET_MODEL` | Default Claude model |
199
- | `ANTHROPIC_DEFAULT_FABLE_MODEL` | Fable model |
200
- | `ANTHROPIC_DEFAULT_OPUS_MODEL` | Opus model |
201
- | `ANTHROPIC_DEFAULT_HAIKU_MODEL` | Haiku model |
202
- | `CLUBMED_API_MCP_KEY` | Club Med API portal MCP key |
203
- | `CMS_API_MCP_TOKEN` | CMS Directus MCP token (optional) |
204
- | `CLUBMED_REPO_DIR` | Path to the `digital-api-team-skills` repository |
186
+ | Variable | Purpose |
187
+ | -------------------------------- | --------------------------------------------------------- |
188
+ | `LITELLM_API_KEY` | LiteLLM key (AI portal — VPN required) |
189
+ | `ANTHROPIC_API_KEY` | Anthropic key (same portal) |
190
+ | `ANTHROPIC_BASE_URL` | LiteLLM proxy base URL |
191
+ | `ANTHROPIC_DEFAULT_SONNET_MODEL` | Default Claude model |
192
+ | `ANTHROPIC_DEFAULT_FABLE_MODEL` | Fable model |
193
+ | `ANTHROPIC_DEFAULT_OPUS_MODEL` | Opus model |
194
+ | `ANTHROPIC_DEFAULT_HAIKU_MODEL` | Haiku model |
195
+ | `CLUBMED_API_MCP_KEY` | Club Med API portal MCP key |
196
+ | `CMS_API_MCP_TOKEN` | CMS Directus MCP token (optional) |
197
+ | `SHARED_AGENTS_REPO_DIR` | Optional path to the `digital-api-team-skills` repository |
205
198
 
206
199
  ## Configured MCPs
207
200