@lexq/cli 0.1.27 → 0.1.29

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/dist/index.js CHANGED
@@ -187,7 +187,7 @@ function registerAuthCommands(program) {
187
187
 
188
188
  Example:
189
189
  $ lexq auth login
190
- Enter your API Key: sk_live_****
190
+ Enter your API Key: lexq_us_****
191
191
 
192
192
  ✓ API key saved to ~/.lexq/config.json
193
193
  `
@@ -218,7 +218,7 @@ function registerAuthCommands(program) {
218
218
 
219
219
  Example:
220
220
  $ lexq auth whoami
221
- { "tenantId": "abc-123", "userId": "...", "role": "ADMIN", "apiKey": "sk_live_****abcd" }
221
+ { "tenantId": "abc-123", "userId": "...", "role": "ADMIN", "apiKey": "lexq_us_****abcd" }
222
222
  `
223
223
  ).action(async () => {
224
224
  try {
@@ -1715,18 +1715,20 @@ function registerAnalyticsCommands(program) {
1715
1715
  $ lexq analytics simulation start --json '{
1716
1716
  "policyVersionId": "<vid>",
1717
1717
  "dataset": {
1718
- "type": "EXECUTION_LOG",
1719
- "source": "RECENT",
1720
- "maxRecords": 1000
1718
+ "type": "HISTORICAL",
1719
+ "source": "EXECUTION_LOGS",
1720
+ "from": "2026-01-01",
1721
+ "to": "2026-01-31"
1721
1722
  },
1722
1723
  "options": {
1723
1724
  "baselinePolicyVersionId": "<baseline-vid>",
1724
- "includeRuleStats": true
1725
+ "includeRuleStats": true,
1726
+ "maxRecords": 1000
1725
1727
  }
1726
1728
  }'
1727
-
1728
- Dataset types: EXECUTION_LOG, MANUAL
1729
- Dataset sources: RECENT, DATE_RANGE, MANUAL
1729
+
1730
+ Dataset types: HISTORICAL, UPLOADED, MANUAL
1731
+ Dataset sources: EXECUTION_LOGS, S3_BUCKET, REQUEST_BODY
1730
1732
  `
1731
1733
  ).action(async (opts) => {
1732
1734
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lexq/cli",
3
- "version": "0.1.27",
3
+ "version": "0.1.29",
4
4
  "description": "LexQ CLI — manage policies, simulate rules, and deploy from the terminal. Built for humans and AI agents.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -13,7 +13,7 @@ simulation** and **A/B testing** for rule versions.
13
13
  ```bash
14
14
  # Store your API key (persisted at ~/.lexq/config.json)
15
15
  lexq auth login
16
- # Enter your API Key: sk_live_xxxxxxxxxxxxx
16
+ # Enter your API Key: lexq_us_xxxxxxxxxxxxx
17
17
 
18
18
  # Verify authentication
19
19
  lexq auth whoami
@@ -22,7 +22,7 @@ lexq auth whoami
22
22
  The API key is passed as `X-API-KEY` header on every request. You can also override per-command:
23
23
 
24
24
  ```bash
25
- lexq groups list --api-key sk_live_override_key
25
+ lexq groups list --api-key lexq_us_override_key
26
26
  ```
27
27
 
28
28
  **Base URL:** `https://api.lexq.io/api/v1/partners` (default). Override with `--base-url`.
@@ -108,7 +108,6 @@ lexq analytics dry-run --version-id <vid> --debug --mock --json '{
108
108
  },
109
109
  "executionTraces": [
110
110
  {
111
- "traceId": "...",
112
111
  "ruleId": "...",
113
112
  "ruleName": "VIP 10% Discount",
114
113
  "matched": true,