@cmflow/agents 3.4.0-beta.33 → 3.4.0-beta.34
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 +32 -39
- package/dist/bin/cm-agents.mjs +129 -131
- package/dist/bin/cm-agents.mjs.map +1 -1
- package/package.json +3 -2
- package/scripts/setup.ps1 +0 -63
- package/scripts/setup.sh +0 -29
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
|
|
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:
|
|
@@ -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
|
|
152
|
+
### `cm-agents kibana setup`
|
|
148
153
|
|
|
149
|
-
|
|
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
|
|
156
|
-
|
|
157
|
-
|
|
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
|
+
# Re-register the MCP even if already present
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
-
| `
|
|
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
|
|