@lexq/cli 2.1.1 → 3.0.1

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/AGENTS.md CHANGED
@@ -46,7 +46,7 @@ Detailed documentation lives in the `skills/` directory. **Read the relevant ski
46
46
  2. **Always dry-run before publishing.** Run `lexq analytics dry-run` to validate.
47
47
  3. **Never modify a non-DRAFT version.** Check version status first. Clone if needed.
48
48
  4. **Always check facts before creating rules.** Run `lexq facts list` to know available keys and types.
49
- 5. **Use `--format json` for parsing.** This is the default. Don't change it.
49
+ 5. **Leave `--format` at its default, `json`, and parse the output.** A command that writes a file chooses the file's format with `--as`, not `--format`.
50
50
  6. **Copy full UUIDs from output.** Never guess or truncate IDs.
51
51
  7. **Memo is required for all deploy operations.** `publish`, `live`, `rollback`, `undeploy` — every one needs `--memo`.
52
52
  8. **Handle errors gracefully.** Check the error code and follow the action table in `lexq-shared/SKILL.md`.
@@ -71,7 +71,7 @@ lexq profile <groupId>
71
71
  lexq history list|get|stats
72
72
  lexq replay decision|start|list|get|cancel|export
73
73
  lexq provenance get|reveal-audits
74
- lexq logs list|get|action|bulk-action
74
+ lexq logs list|get
75
75
  lexq webhook-subscriptions list|get|save|delete|test
76
76
  ```
77
77
 
package/CONTEXT.md CHANGED
@@ -157,4 +157,4 @@ implemented).
157
157
  | **Traffic Rate** | Percentage (1–99) of traffic routed to the A/B test version. |
158
158
  | **Webhook Subscription** | A platform event listener — receives notifications on deployment lifecycle events. Tenant-level. |
159
159
  | **Platform Event** | A lifecycle event emitted by the engine itself (`VERSION_PUBLISHED`, `DEPLOYED`, `ROLLED_BACK`, `UNDEPLOYED`, `DEPLOY_SCHEDULED`, `DEPLOY_SCHEDULE_CANCELED`). |
160
- | **Failure Log** | A record of a background task failure (platform webhook delivery, scheduled deployment). Mark as `RESOLVE` or `IGNORE` — there is no retry. |
160
+ | **Failure Log** | A record of a background task failure (platform webhook delivery, scheduled deployment). An admin resolves or ignores it in the console — there is no retry. |
package/README.md CHANGED
@@ -71,8 +71,9 @@ Protocol to manage policy groups, versions, rules, and facts, run simulations
71
71
  and replays, deploy versions, and read execution history.
72
72
 
73
73
  Approval happens in your MCP client, which decides which tool calls you confirm.
74
- The deploy, rollback, and undeploy tools are marked as destructive, so a client
75
- can ask you before running them.
74
+ A tool is marked as destructive when it deletes, overwrites, or cancels
75
+ something, changes live traffic, cannot be undone, or counts toward your plan's
76
+ usage, so a client can ask you before running it.
76
77
 
77
78
  ### Claude.ai (cloud, no install)
78
79
 
@@ -214,7 +215,7 @@ lexq analytics dataset upload | template
214
215
  lexq profile <groupId> — per-rule latency profile
215
216
  lexq history list | get | stats
216
217
  lexq replay decision | start | list | get | cancel
217
- lexq logs list | get | action | bulk-action
218
+ lexq logs list | get
218
219
  lexq provenance get | reveal-audits
219
220
  lexq webhook-subscriptions list | get | save | delete | test
220
221
  ```
@@ -223,13 +224,15 @@ lexq webhook-subscriptions list | get | save | delete | test
223
224
 
224
225
  | Flag | Description |
225
226
  |--------------------------|--------------------------------------------|
226
- | `--format <json\|table>` | Output format (default: `json`) |
227
+ | `--format <json\|table>` | How results are printed (default: `json`) |
227
228
  | `--api-key <key>` | Override stored API key |
228
229
  | `--base-url <url>` | Override API base URL |
229
230
  | `--dry-run` | Preview the HTTP request without executing |
230
231
  | `--verbose` | Show request/response details |
231
232
  | `--no-color` | Disable colored output |
232
233
 
234
+ `--format` only changes how results are printed. A command that writes a file, such as `lexq facts export`, chooses the file's format with `--as csv` or `--as json`.
235
+
233
236
  ## Configuration
234
237
 
235
238
  Config is stored at `~/.lexq/config.json`: