@drip-apex/apex-cli 0.6.1 → 0.6.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.
package/AGENTS.md CHANGED
@@ -54,6 +54,15 @@ the first writes: `apex experiments create`, `apex goals create`,
54
54
  - Stale workspace or filesystem: pull fresh files, reapply your edits, and plan again.
55
55
  - Server limit errors: read the JSON error details; Apex includes server-owned limits when available.
56
56
 
57
+ ## Platform Shop Administration
58
+
59
+ - `apex admin shops archive <shopId>` archives a shop; headless callers must
60
+ inspect exit `4` and rerun the supplied `--force` command only when intended.
61
+ - `apex admin shops restore <shopId>` restores an archived shop. Restoration
62
+ does not re-enable delivery; the runtime kill switch remains authoritative.
63
+ - Both commands require a platform user API key. Organization and shop keys
64
+ are intentionally insufficient.
65
+
57
66
  ## Filesystem Rules
58
67
 
59
68
  - Formatting is enforced by Biome (`npm run format`); do not hand-wrap code.
package/README.md CHANGED
@@ -72,6 +72,8 @@ apex experiments pull <id-or-slug> --out ./my-test
72
72
  apex experiments plan ./my-test --json
73
73
  apex experiments apply ./my-test --json
74
74
  apex experiments qa status ./my-test --json
75
+ apex experiments qa evidence ./my-test --file ./desktop.png --device desktop
76
+ apex experiments qa evidence <id-or-slug> --job <screenshot-job-id>
75
77
  apex experiments screenshots <id-or-slug> --out ./screenshots
76
78
 
77
79
  apex workspace checkout <experimentId> --variation <variationId> --out ./workspace
@@ -121,7 +123,7 @@ including every subcommand, argument, option, and alias.
121
123
  - `apex webhooks` — manage shop webhooks.
122
124
  - `apex simulate` — simulate data-layer triggers without emitting events.
123
125
  - `apex experiments` — create, inspect, operate, and synchronize experiments.
124
- Use `apex experiments screenshots <id-or-slug>` to force-assign every capture, including control, to its variation server-side for deterministic screenshots; choose devices with `--devices`, filter treatments with `--variations`, and use `--json` for the signed result payload.
126
+ Use `apex experiments screenshots <id-or-slug>` to force-assign every capture, including control, to its variation server-side for deterministic screenshots. The command attaches terminal jobs to the QA run by default; use `--no-attach-qa` to opt out. Choose devices with `--devices`, filter treatments with `--variations`, and use `--json` for the signed result payload. Use `apex experiments qa evidence` with `--job`, repeatable `--file`, or `--records` to write QA evidence directly.
125
127
  - `apex push` — synchronize `.drip.config.ts` with Apex.
126
128
  - `apex preview` — open a variation QA preview.
127
129
  - `apex roadmap` — consume approved roadmap ideas and handoffs.
@@ -156,6 +158,14 @@ including every subcommand, argument, option, and alias.
156
158
  - `apex schema` — emit the machine-readable CLI schema.
157
159
  - `apex discover` — read observed tracking shapes or mine a public GTM container.
158
160
 
161
+ Platform-administrator shop commands are intentionally outside the public
162
+ command inventory:
163
+
164
+ | Command | Purpose |
165
+ | --- | --- |
166
+ | `apex admin shops archive <shopId>` | Archive a shop and disable Apex delivery; use `--force` in non-interactive environments. |
167
+ | `apex admin shops restore <shopId>` | Restore an archived shop while leaving its runtime kill switch unchanged. |
168
+
159
169
  ## Which local format am I in?
160
170
 
161
171
  Inspect the marker under `.apex/`: `experiment-filesystem.json` means the