@agentled/cli 0.6.7 → 0.7.2

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.
@@ -114,6 +114,21 @@ agentled best-practices # summary + link to agentic-
114
114
 
115
115
  Full patterns are maintained publicly at https://github.com/agentled/agentic-ops — the CLI ships a mirrored copy, see `agentled examples`. Scaffolds are preflight-clean pipeline JSON skeletons; start from one instead of writing from scratch.
116
116
 
117
+ ## Business metrics vs ROI (must not be conflated)
118
+
119
+ Treat these as **two separate surfaces**:
120
+
121
+ - **Business metrics (`pipeline.analyticsConfig`)** = customer/workflow outcome stats extracted from step outputs (volume, conversions, approvals, rates, SLA-ish KPIs), aggregated into dashboard business-metric snapshots.
122
+ - **ROI (`pipeline.metadata.roi`)** = economic assumptions + rollups (minutes saved per unit, hourly rate, benchmark units/week, measured vs benchmark mode) used for ROI/time-saved reporting.
123
+
124
+ ### Required wording for agent outputs
125
+
126
+ - If only `analyticsConfig` changes: say **"business metrics configured"**.
127
+ - If only `metadata.roi` changes: say **"ROI assumptions configured"**.
128
+ - If both change: report each section separately; never label analytics metrics as ROI metrics.
129
+
130
+ This distinction applies to MCP and CLI users equally because both surfaces call the same external workflow API and return the same pipeline shape.
131
+
117
132
  ## Common invalid patterns to avoid
118
133
 
119
134
  Agents routinely invent step types that sound plausible. The API **silently strips unknown top-level fields** and stores the step, so you get a 201 Created on a workflow that will never execute. Watch for these:
@@ -169,6 +184,20 @@ The workspace inspection directly informs:
169
184
 
170
185
  > **Shortcut:** `agentled workspace inspect --json` returns all six contexts as one consolidated response. Use it at session start to load the full picture in a single call.
171
186
 
187
+ ## MCP-connected but no local scaffold: expected behavior
188
+
189
+ If MCP tools are already connected and working, **do not block** on missing local folders.
190
+
191
+ - Continue with MCP operations immediately.
192
+ - Add a brief, non-blocking hint once per session:
193
+ - `You're connected via MCP. If you want local drafts/fixtures/tests, run "agentled init" in your project directory (or "agentled setup" for full onboarding).`
194
+ - Do **not** imply setup is required for read/write API operations through MCP.
195
+
196
+ Use this when users ask "did anything get created locally?" or "why is there no workspace folder?"
197
+
198
+ - `agentled setup` is the full first-run path (auth, workspace folder scaffold, MCP config, skill install, knowledge probe, restart prompt).
199
+ - `agentled init` is the targeted local scaffold command when they only want the local workspace folder and cache.
200
+
172
201
  ## Incremental Authoring (recommended)
173
202
 
174
203
  Build workflows **one step at a time**. This catches errors per-step instead of dumping a full JSON blob and getting 10+ errors at once.
@@ -453,7 +482,7 @@ AI steps can optionally specify a model and provider via the `agent` field:
453
482
  | `minimax` | `minimax-m2.5` |
454
483
  | `bytedance` | `doubao-seed-1.6-flash`, `seed-2.0-mini`, `doubao-seed-1.8-beta` |
455
484
  | `perplexity` | `sonar-pro`, `sonar`, `sonar-reasoning-pro`, `sonar-reasoning` |
456
- | `xai` | `grok-4-0709`, `grok-3`, `grok-3-mini` |
485
+ | `xai` | `grok-4.3`, `grok-3-mini` |
457
486
 
458
487
  > **Tip:** Use `list_models` to get the full up-to-date list of supported model IDs. Use the internal model IDs (e.g., `claude-4-6-sonnet`), NOT the raw API model IDs (e.g., `claude-sonnet-4-6`). Using unsupported model IDs will result in a validation error.
459
488