@fabricorg/experiments 0.5.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/LICENSE +21 -0
- package/README.md +52 -0
- package/dist/bin/fx.cjs +6123 -0
- package/dist/bin/fx.cjs.map +1 -0
- package/dist/bin/fx.js +149 -0
- package/dist/bin/fx.js.map +1 -0
- package/dist/chunk-CZAJ7SGJ.js +5973 -0
- package/dist/chunk-CZAJ7SGJ.js.map +1 -0
- package/dist/index.cjs +5984 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +102 -0
- package/dist/index.d.ts +102 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/package.json +73 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Fabric
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Fabric Experiments CLI
|
|
2
|
+
|
|
3
|
+
`@fabricorg/experiments` installs the `fx` command for working with Fabric Experiments locally.
|
|
4
|
+
|
|
5
|
+
Fabric Experiments is a governed, agent-native A/B testing platform with GitOps experiment authoring, deterministic assignment, signed manifests, exposure-first attribution, warehouse-backed reporting, audit trails, and Harness-powered guardrail/analyst workflows.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
Run without installing:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx @fabricorg/experiments --help
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Or install globally:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npm install -g @fabricorg/experiments
|
|
19
|
+
fx --help
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Quickstart
|
|
23
|
+
|
|
24
|
+
In a project containing experiment YAML files:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
fx validate experiments/
|
|
28
|
+
fx dev
|
|
29
|
+
fx apply experiments/
|
|
30
|
+
fx report homepage-cta
|
|
31
|
+
fx kill homepage-cta --reason "Web Vitals regression"
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Commands
|
|
35
|
+
|
|
36
|
+
```text
|
|
37
|
+
fx validate <dir> Lint experiment YAML files in <dir>.
|
|
38
|
+
fx plan <dir> Show diff between YAML and live control plane.
|
|
39
|
+
fx apply <dir> Apply YAML to the control plane.
|
|
40
|
+
fx dev Start local dev server.
|
|
41
|
+
fx publish Sign current manifest; optionally push to manifest-worker.
|
|
42
|
+
fx report <experimentId> Print results for an experiment.
|
|
43
|
+
fx kill <experimentId> Kill a running experiment. Requires --reason.
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Docs
|
|
47
|
+
|
|
48
|
+
Full documentation: [https://experiments.fabric.pro](https://experiments.fabric.pro)
|
|
49
|
+
|
|
50
|
+
## License
|
|
51
|
+
|
|
52
|
+
MIT
|