@respan/cli 0.7.1 → 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.
@@ -428,10 +428,16 @@
428
428
  "set.js"
429
429
  ]
430
430
  },
431
- "evaluators:create": {
431
+ "datasets:add-spans": {
432
432
  "aliases": [],
433
- "args": {},
434
- "description": "Create a new evaluator",
433
+ "args": {
434
+ "dataset-id": {
435
+ "description": "Dataset ID",
436
+ "name": "dataset-id",
437
+ "required": true
438
+ }
439
+ },
440
+ "description": "Add existing spans to a dataset",
435
441
  "flags": {
436
442
  "api-key": {
437
443
  "description": "API key (env: RESPAN_API_KEY)",
@@ -467,39 +473,18 @@
467
473
  "allowNo": false,
468
474
  "type": "boolean"
469
475
  },
470
- "name": {
471
- "description": "Evaluator name",
472
- "name": "name",
476
+ "span-ids": {
477
+ "description": "Comma-separated span IDs",
478
+ "name": "span-ids",
473
479
  "required": true,
474
480
  "hasDynamicHelp": false,
475
481
  "multiple": false,
476
482
  "type": "option"
477
- },
478
- "type": {
479
- "description": "Evaluator type",
480
- "name": "type",
481
- "hasDynamicHelp": false,
482
- "multiple": false,
483
- "type": "option"
484
- },
485
- "description": {
486
- "description": "Evaluator description",
487
- "name": "description",
488
- "hasDynamicHelp": false,
489
- "multiple": false,
490
- "type": "option"
491
- },
492
- "config": {
493
- "description": "Evaluator config as JSON string",
494
- "name": "config",
495
- "hasDynamicHelp": false,
496
- "multiple": false,
497
- "type": "option"
498
483
  }
499
484
  },
500
485
  "hasDynamicHelp": false,
501
486
  "hiddenAliases": [],
502
- "id": "evaluators:create",
487
+ "id": "datasets:add-spans",
503
488
  "pluginAlias": "@respan/cli",
504
489
  "pluginName": "@respan/cli",
505
490
  "pluginType": "core",
@@ -509,20 +494,20 @@
509
494
  "relativePath": [
510
495
  "dist",
511
496
  "commands",
512
- "evaluators",
513
- "create.js"
497
+ "datasets",
498
+ "add-spans.js"
514
499
  ]
515
500
  },
516
- "evaluators:get": {
501
+ "datasets:create-span": {
517
502
  "aliases": [],
518
503
  "args": {
519
- "id": {
520
- "description": "Evaluator ID",
521
- "name": "id",
504
+ "dataset-id": {
505
+ "description": "Dataset ID",
506
+ "name": "dataset-id",
522
507
  "required": true
523
508
  }
524
509
  },
525
- "description": "Get a specific evaluator",
510
+ "description": "Create a span in a dataset",
526
511
  "flags": {
527
512
  "api-key": {
528
513
  "description": "API key (env: RESPAN_API_KEY)",
@@ -557,11 +542,19 @@
557
542
  "name": "verbose",
558
543
  "allowNo": false,
559
544
  "type": "boolean"
545
+ },
546
+ "body": {
547
+ "description": "Span body as JSON string",
548
+ "name": "body",
549
+ "required": true,
550
+ "hasDynamicHelp": false,
551
+ "multiple": false,
552
+ "type": "option"
560
553
  }
561
554
  },
562
555
  "hasDynamicHelp": false,
563
556
  "hiddenAliases": [],
564
- "id": "evaluators:get",
557
+ "id": "datasets:create-span",
565
558
  "pluginAlias": "@respan/cli",
566
559
  "pluginName": "@respan/cli",
567
560
  "pluginType": "core",
@@ -571,14 +564,14 @@
571
564
  "relativePath": [
572
565
  "dist",
573
566
  "commands",
574
- "evaluators",
575
- "get.js"
567
+ "datasets",
568
+ "create-span.js"
576
569
  ]
577
570
  },
578
- "evaluators:list": {
571
+ "datasets:create": {
579
572
  "aliases": [],
580
573
  "args": {},
581
- "description": "List evaluators",
574
+ "description": "Create a new dataset",
582
575
  "flags": {
583
576
  "api-key": {
584
577
  "description": "API key (env: RESPAN_API_KEY)",
@@ -614,18 +607,17 @@
614
607
  "allowNo": false,
615
608
  "type": "boolean"
616
609
  },
617
- "limit": {
618
- "description": "Number of results per page",
619
- "name": "limit",
620
- "default": 20,
610
+ "name": {
611
+ "description": "Dataset name",
612
+ "name": "name",
613
+ "required": true,
621
614
  "hasDynamicHelp": false,
622
615
  "multiple": false,
623
616
  "type": "option"
624
617
  },
625
- "page": {
626
- "description": "Page number",
627
- "name": "page",
628
- "default": 1,
618
+ "description": {
619
+ "description": "Dataset description",
620
+ "name": "description",
629
621
  "hasDynamicHelp": false,
630
622
  "multiple": false,
631
623
  "type": "option"
@@ -633,7 +625,7 @@
633
625
  },
634
626
  "hasDynamicHelp": false,
635
627
  "hiddenAliases": [],
636
- "id": "evaluators:list",
628
+ "id": "datasets:create",
637
629
  "pluginAlias": "@respan/cli",
638
630
  "pluginName": "@respan/cli",
639
631
  "pluginType": "core",
@@ -643,20 +635,25 @@
643
635
  "relativePath": [
644
636
  "dist",
645
637
  "commands",
646
- "evaluators",
647
- "list.js"
638
+ "datasets",
639
+ "create.js"
648
640
  ]
649
641
  },
650
- "evaluators:run": {
642
+ "datasets:get-span": {
651
643
  "aliases": [],
652
644
  "args": {
653
- "id": {
654
- "description": "Evaluator ID",
655
- "name": "id",
645
+ "dataset-id": {
646
+ "description": "Dataset ID",
647
+ "name": "dataset-id",
648
+ "required": true
649
+ },
650
+ "span-id": {
651
+ "description": "Span ID",
652
+ "name": "span-id",
656
653
  "required": true
657
654
  }
658
655
  },
659
- "description": "Run an evaluator",
656
+ "description": "Get a specific span from a dataset",
660
657
  "flags": {
661
658
  "api-key": {
662
659
  "description": "API key (env: RESPAN_API_KEY)",
@@ -691,32 +688,11 @@
691
688
  "name": "verbose",
692
689
  "allowNo": false,
693
690
  "type": "boolean"
694
- },
695
- "dataset-id": {
696
- "description": "Dataset ID to evaluate against",
697
- "name": "dataset-id",
698
- "hasDynamicHelp": false,
699
- "multiple": false,
700
- "type": "option"
701
- },
702
- "log-ids": {
703
- "description": "Comma-separated log/span IDs to evaluate",
704
- "name": "log-ids",
705
- "hasDynamicHelp": false,
706
- "multiple": false,
707
- "type": "option"
708
- },
709
- "params": {
710
- "description": "Additional parameters as JSON string",
711
- "name": "params",
712
- "hasDynamicHelp": false,
713
- "multiple": false,
714
- "type": "option"
715
691
  }
716
692
  },
717
693
  "hasDynamicHelp": false,
718
694
  "hiddenAliases": [],
719
- "id": "evaluators:run",
695
+ "id": "datasets:get-span",
720
696
  "pluginAlias": "@respan/cli",
721
697
  "pluginName": "@respan/cli",
722
698
  "pluginType": "core",
@@ -726,20 +702,20 @@
726
702
  "relativePath": [
727
703
  "dist",
728
704
  "commands",
729
- "evaluators",
730
- "run.js"
705
+ "datasets",
706
+ "get-span.js"
731
707
  ]
732
708
  },
733
- "evaluators:update": {
709
+ "datasets:get": {
734
710
  "aliases": [],
735
711
  "args": {
736
712
  "id": {
737
- "description": "Evaluator ID",
713
+ "description": "Dataset ID",
738
714
  "name": "id",
739
715
  "required": true
740
716
  }
741
717
  },
742
- "description": "Update an evaluator",
718
+ "description": "Get a specific dataset",
743
719
  "flags": {
744
720
  "api-key": {
745
721
  "description": "API key (env: RESPAN_API_KEY)",
@@ -774,32 +750,11 @@
774
750
  "name": "verbose",
775
751
  "allowNo": false,
776
752
  "type": "boolean"
777
- },
778
- "name": {
779
- "description": "Evaluator name",
780
- "name": "name",
781
- "hasDynamicHelp": false,
782
- "multiple": false,
783
- "type": "option"
784
- },
785
- "description": {
786
- "description": "Evaluator description",
787
- "name": "description",
788
- "hasDynamicHelp": false,
789
- "multiple": false,
790
- "type": "option"
791
- },
792
- "config": {
793
- "description": "Evaluator config as JSON string",
794
- "name": "config",
795
- "hasDynamicHelp": false,
796
- "multiple": false,
797
- "type": "option"
798
753
  }
799
754
  },
800
755
  "hasDynamicHelp": false,
801
756
  "hiddenAliases": [],
802
- "id": "evaluators:update",
757
+ "id": "datasets:get",
803
758
  "pluginAlias": "@respan/cli",
804
759
  "pluginName": "@respan/cli",
805
760
  "pluginType": "core",
@@ -809,14 +764,14 @@
809
764
  "relativePath": [
810
765
  "dist",
811
766
  "commands",
812
- "evaluators",
813
- "update.js"
767
+ "datasets",
768
+ "get.js"
814
769
  ]
815
770
  },
816
- "experiments:create": {
771
+ "datasets:list": {
817
772
  "aliases": [],
818
773
  "args": {},
819
- "description": "Create a new experiment",
774
+ "description": "List datasets",
820
775
  "flags": {
821
776
  "api-key": {
822
777
  "description": "API key (env: RESPAN_API_KEY)",
@@ -852,32 +807,18 @@
852
807
  "allowNo": false,
853
808
  "type": "boolean"
854
809
  },
855
- "name": {
856
- "description": "Experiment name",
857
- "name": "name",
858
- "required": true,
859
- "hasDynamicHelp": false,
860
- "multiple": false,
861
- "type": "option"
862
- },
863
- "dataset-id": {
864
- "description": "Dataset ID",
865
- "name": "dataset-id",
866
- "required": true,
867
- "hasDynamicHelp": false,
868
- "multiple": false,
869
- "type": "option"
870
- },
871
- "description": {
872
- "description": "Experiment description",
873
- "name": "description",
810
+ "limit": {
811
+ "description": "Number of results per page",
812
+ "name": "limit",
813
+ "default": 50,
874
814
  "hasDynamicHelp": false,
875
815
  "multiple": false,
876
816
  "type": "option"
877
817
  },
878
- "workflows": {
879
- "description": "Workflows configuration as JSON string",
880
- "name": "workflows",
818
+ "page": {
819
+ "description": "Page number",
820
+ "name": "page",
821
+ "default": 1,
881
822
  "hasDynamicHelp": false,
882
823
  "multiple": false,
883
824
  "type": "option"
@@ -885,7 +826,7 @@
885
826
  },
886
827
  "hasDynamicHelp": false,
887
828
  "hiddenAliases": [],
888
- "id": "experiments:create",
829
+ "id": "datasets:list",
889
830
  "pluginAlias": "@respan/cli",
890
831
  "pluginName": "@respan/cli",
891
832
  "pluginType": "core",
@@ -895,20 +836,20 @@
895
836
  "relativePath": [
896
837
  "dist",
897
838
  "commands",
898
- "experiments",
899
- "create.js"
839
+ "datasets",
840
+ "list.js"
900
841
  ]
901
842
  },
902
- "experiments:get": {
843
+ "datasets:spans": {
903
844
  "aliases": [],
904
845
  "args": {
905
- "id": {
906
- "description": "Experiment ID",
907
- "name": "id",
846
+ "dataset-id": {
847
+ "description": "Dataset ID",
848
+ "name": "dataset-id",
908
849
  "required": true
909
850
  }
910
851
  },
911
- "description": "Get a specific experiment",
852
+ "description": "List spans in a dataset",
912
853
  "flags": {
913
854
  "api-key": {
914
855
  "description": "API key (env: RESPAN_API_KEY)",
@@ -947,7 +888,7 @@
947
888
  },
948
889
  "hasDynamicHelp": false,
949
890
  "hiddenAliases": [],
950
- "id": "experiments:get",
891
+ "id": "datasets:spans",
951
892
  "pluginAlias": "@respan/cli",
952
893
  "pluginName": "@respan/cli",
953
894
  "pluginType": "core",
@@ -957,14 +898,20 @@
957
898
  "relativePath": [
958
899
  "dist",
959
900
  "commands",
960
- "experiments",
961
- "get.js"
901
+ "datasets",
902
+ "spans.js"
962
903
  ]
963
904
  },
964
- "experiments:list": {
905
+ "datasets:update": {
965
906
  "aliases": [],
966
- "args": {},
967
- "description": "List experiments",
907
+ "args": {
908
+ "id": {
909
+ "description": "Dataset ID",
910
+ "name": "id",
911
+ "required": true
912
+ }
913
+ },
914
+ "description": "Update a dataset",
968
915
  "flags": {
969
916
  "api-key": {
970
917
  "description": "API key (env: RESPAN_API_KEY)",
@@ -1000,18 +947,16 @@
1000
947
  "allowNo": false,
1001
948
  "type": "boolean"
1002
949
  },
1003
- "limit": {
1004
- "description": "Number of results per page",
1005
- "name": "limit",
1006
- "default": 20,
950
+ "name": {
951
+ "description": "Dataset name",
952
+ "name": "name",
1007
953
  "hasDynamicHelp": false,
1008
954
  "multiple": false,
1009
955
  "type": "option"
1010
956
  },
1011
- "page": {
1012
- "description": "Page number",
1013
- "name": "page",
1014
- "default": 1,
957
+ "description": {
958
+ "description": "Dataset description",
959
+ "name": "description",
1015
960
  "hasDynamicHelp": false,
1016
961
  "multiple": false,
1017
962
  "type": "option"
@@ -1019,7 +964,7 @@
1019
964
  },
1020
965
  "hasDynamicHelp": false,
1021
966
  "hiddenAliases": [],
1022
- "id": "experiments:list",
967
+ "id": "datasets:update",
1023
968
  "pluginAlias": "@respan/cli",
1024
969
  "pluginName": "@respan/cli",
1025
970
  "pluginType": "core",
@@ -1029,20 +974,14 @@
1029
974
  "relativePath": [
1030
975
  "dist",
1031
976
  "commands",
1032
- "experiments",
1033
- "list.js"
977
+ "datasets",
978
+ "update.js"
1034
979
  ]
1035
980
  },
1036
- "datasets:add-spans": {
981
+ "evaluators:create": {
1037
982
  "aliases": [],
1038
- "args": {
1039
- "dataset-id": {
1040
- "description": "Dataset ID",
1041
- "name": "dataset-id",
1042
- "required": true
1043
- }
1044
- },
1045
- "description": "Add existing spans to a dataset",
983
+ "args": {},
984
+ "description": "Create a new evaluator",
1046
985
  "flags": {
1047
986
  "api-key": {
1048
987
  "description": "API key (env: RESPAN_API_KEY)",
@@ -1078,18 +1017,39 @@
1078
1017
  "allowNo": false,
1079
1018
  "type": "boolean"
1080
1019
  },
1081
- "span-ids": {
1082
- "description": "Comma-separated span IDs",
1083
- "name": "span-ids",
1020
+ "name": {
1021
+ "description": "Evaluator name",
1022
+ "name": "name",
1084
1023
  "required": true,
1085
1024
  "hasDynamicHelp": false,
1086
1025
  "multiple": false,
1087
1026
  "type": "option"
1027
+ },
1028
+ "type": {
1029
+ "description": "Evaluator type",
1030
+ "name": "type",
1031
+ "hasDynamicHelp": false,
1032
+ "multiple": false,
1033
+ "type": "option"
1034
+ },
1035
+ "description": {
1036
+ "description": "Evaluator description",
1037
+ "name": "description",
1038
+ "hasDynamicHelp": false,
1039
+ "multiple": false,
1040
+ "type": "option"
1041
+ },
1042
+ "config": {
1043
+ "description": "Evaluator config as JSON string",
1044
+ "name": "config",
1045
+ "hasDynamicHelp": false,
1046
+ "multiple": false,
1047
+ "type": "option"
1088
1048
  }
1089
1049
  },
1090
1050
  "hasDynamicHelp": false,
1091
1051
  "hiddenAliases": [],
1092
- "id": "datasets:add-spans",
1052
+ "id": "evaluators:create",
1093
1053
  "pluginAlias": "@respan/cli",
1094
1054
  "pluginName": "@respan/cli",
1095
1055
  "pluginType": "core",
@@ -1099,20 +1059,20 @@
1099
1059
  "relativePath": [
1100
1060
  "dist",
1101
1061
  "commands",
1102
- "datasets",
1103
- "add-spans.js"
1062
+ "evaluators",
1063
+ "create.js"
1104
1064
  ]
1105
1065
  },
1106
- "datasets:create-span": {
1066
+ "evaluators:get": {
1107
1067
  "aliases": [],
1108
1068
  "args": {
1109
- "dataset-id": {
1110
- "description": "Dataset ID",
1111
- "name": "dataset-id",
1069
+ "id": {
1070
+ "description": "Evaluator ID",
1071
+ "name": "id",
1112
1072
  "required": true
1113
1073
  }
1114
1074
  },
1115
- "description": "Create a span in a dataset",
1075
+ "description": "Get a specific evaluator",
1116
1076
  "flags": {
1117
1077
  "api-key": {
1118
1078
  "description": "API key (env: RESPAN_API_KEY)",
@@ -1147,19 +1107,11 @@
1147
1107
  "name": "verbose",
1148
1108
  "allowNo": false,
1149
1109
  "type": "boolean"
1150
- },
1151
- "body": {
1152
- "description": "Span body as JSON string",
1153
- "name": "body",
1154
- "required": true,
1155
- "hasDynamicHelp": false,
1156
- "multiple": false,
1157
- "type": "option"
1158
1110
  }
1159
1111
  },
1160
1112
  "hasDynamicHelp": false,
1161
1113
  "hiddenAliases": [],
1162
- "id": "datasets:create-span",
1114
+ "id": "evaluators:get",
1163
1115
  "pluginAlias": "@respan/cli",
1164
1116
  "pluginName": "@respan/cli",
1165
1117
  "pluginType": "core",
@@ -1169,14 +1121,14 @@
1169
1121
  "relativePath": [
1170
1122
  "dist",
1171
1123
  "commands",
1172
- "datasets",
1173
- "create-span.js"
1124
+ "evaluators",
1125
+ "get.js"
1174
1126
  ]
1175
1127
  },
1176
- "datasets:create": {
1128
+ "evaluators:list": {
1177
1129
  "aliases": [],
1178
1130
  "args": {},
1179
- "description": "Create a new dataset",
1131
+ "description": "List evaluators",
1180
1132
  "flags": {
1181
1133
  "api-key": {
1182
1134
  "description": "API key (env: RESPAN_API_KEY)",
@@ -1212,17 +1164,18 @@
1212
1164
  "allowNo": false,
1213
1165
  "type": "boolean"
1214
1166
  },
1215
- "name": {
1216
- "description": "Dataset name",
1217
- "name": "name",
1218
- "required": true,
1167
+ "limit": {
1168
+ "description": "Number of results per page",
1169
+ "name": "limit",
1170
+ "default": 20,
1219
1171
  "hasDynamicHelp": false,
1220
1172
  "multiple": false,
1221
1173
  "type": "option"
1222
1174
  },
1223
- "description": {
1224
- "description": "Dataset description",
1225
- "name": "description",
1175
+ "page": {
1176
+ "description": "Page number",
1177
+ "name": "page",
1178
+ "default": 1,
1226
1179
  "hasDynamicHelp": false,
1227
1180
  "multiple": false,
1228
1181
  "type": "option"
@@ -1230,7 +1183,7 @@
1230
1183
  },
1231
1184
  "hasDynamicHelp": false,
1232
1185
  "hiddenAliases": [],
1233
- "id": "datasets:create",
1186
+ "id": "evaluators:list",
1234
1187
  "pluginAlias": "@respan/cli",
1235
1188
  "pluginName": "@respan/cli",
1236
1189
  "pluginType": "core",
@@ -1240,25 +1193,20 @@
1240
1193
  "relativePath": [
1241
1194
  "dist",
1242
1195
  "commands",
1243
- "datasets",
1244
- "create.js"
1196
+ "evaluators",
1197
+ "list.js"
1245
1198
  ]
1246
1199
  },
1247
- "datasets:get-span": {
1200
+ "evaluators:run": {
1248
1201
  "aliases": [],
1249
1202
  "args": {
1250
- "dataset-id": {
1251
- "description": "Dataset ID",
1252
- "name": "dataset-id",
1253
- "required": true
1254
- },
1255
- "span-id": {
1256
- "description": "Span ID",
1257
- "name": "span-id",
1203
+ "id": {
1204
+ "description": "Evaluator ID",
1205
+ "name": "id",
1258
1206
  "required": true
1259
1207
  }
1260
1208
  },
1261
- "description": "Get a specific span from a dataset",
1209
+ "description": "Run an evaluator",
1262
1210
  "flags": {
1263
1211
  "api-key": {
1264
1212
  "description": "API key (env: RESPAN_API_KEY)",
@@ -1293,11 +1241,32 @@
1293
1241
  "name": "verbose",
1294
1242
  "allowNo": false,
1295
1243
  "type": "boolean"
1244
+ },
1245
+ "dataset-id": {
1246
+ "description": "Dataset ID to evaluate against",
1247
+ "name": "dataset-id",
1248
+ "hasDynamicHelp": false,
1249
+ "multiple": false,
1250
+ "type": "option"
1251
+ },
1252
+ "log-ids": {
1253
+ "description": "Comma-separated log/span IDs to evaluate",
1254
+ "name": "log-ids",
1255
+ "hasDynamicHelp": false,
1256
+ "multiple": false,
1257
+ "type": "option"
1258
+ },
1259
+ "params": {
1260
+ "description": "Additional parameters as JSON string",
1261
+ "name": "params",
1262
+ "hasDynamicHelp": false,
1263
+ "multiple": false,
1264
+ "type": "option"
1296
1265
  }
1297
1266
  },
1298
1267
  "hasDynamicHelp": false,
1299
1268
  "hiddenAliases": [],
1300
- "id": "datasets:get-span",
1269
+ "id": "evaluators:run",
1301
1270
  "pluginAlias": "@respan/cli",
1302
1271
  "pluginName": "@respan/cli",
1303
1272
  "pluginType": "core",
@@ -1307,20 +1276,20 @@
1307
1276
  "relativePath": [
1308
1277
  "dist",
1309
1278
  "commands",
1310
- "datasets",
1311
- "get-span.js"
1279
+ "evaluators",
1280
+ "run.js"
1312
1281
  ]
1313
1282
  },
1314
- "datasets:get": {
1283
+ "evaluators:update": {
1315
1284
  "aliases": [],
1316
1285
  "args": {
1317
1286
  "id": {
1318
- "description": "Dataset ID",
1287
+ "description": "Evaluator ID",
1319
1288
  "name": "id",
1320
1289
  "required": true
1321
1290
  }
1322
1291
  },
1323
- "description": "Get a specific dataset",
1292
+ "description": "Update an evaluator",
1324
1293
  "flags": {
1325
1294
  "api-key": {
1326
1295
  "description": "API key (env: RESPAN_API_KEY)",
@@ -1355,11 +1324,32 @@
1355
1324
  "name": "verbose",
1356
1325
  "allowNo": false,
1357
1326
  "type": "boolean"
1327
+ },
1328
+ "name": {
1329
+ "description": "Evaluator name",
1330
+ "name": "name",
1331
+ "hasDynamicHelp": false,
1332
+ "multiple": false,
1333
+ "type": "option"
1334
+ },
1335
+ "description": {
1336
+ "description": "Evaluator description",
1337
+ "name": "description",
1338
+ "hasDynamicHelp": false,
1339
+ "multiple": false,
1340
+ "type": "option"
1341
+ },
1342
+ "config": {
1343
+ "description": "Evaluator config as JSON string",
1344
+ "name": "config",
1345
+ "hasDynamicHelp": false,
1346
+ "multiple": false,
1347
+ "type": "option"
1358
1348
  }
1359
1349
  },
1360
1350
  "hasDynamicHelp": false,
1361
1351
  "hiddenAliases": [],
1362
- "id": "datasets:get",
1352
+ "id": "evaluators:update",
1363
1353
  "pluginAlias": "@respan/cli",
1364
1354
  "pluginName": "@respan/cli",
1365
1355
  "pluginType": "core",
@@ -1369,14 +1359,14 @@
1369
1359
  "relativePath": [
1370
1360
  "dist",
1371
1361
  "commands",
1372
- "datasets",
1373
- "get.js"
1362
+ "evaluators",
1363
+ "update.js"
1374
1364
  ]
1375
1365
  },
1376
- "datasets:list": {
1366
+ "experiments:create": {
1377
1367
  "aliases": [],
1378
1368
  "args": {},
1379
- "description": "List datasets",
1369
+ "description": "Create a new experiment",
1380
1370
  "flags": {
1381
1371
  "api-key": {
1382
1372
  "description": "API key (env: RESPAN_API_KEY)",
@@ -1412,18 +1402,32 @@
1412
1402
  "allowNo": false,
1413
1403
  "type": "boolean"
1414
1404
  },
1415
- "limit": {
1416
- "description": "Number of results per page",
1417
- "name": "limit",
1418
- "default": 50,
1405
+ "name": {
1406
+ "description": "Experiment name",
1407
+ "name": "name",
1408
+ "required": true,
1419
1409
  "hasDynamicHelp": false,
1420
1410
  "multiple": false,
1421
1411
  "type": "option"
1422
1412
  },
1423
- "page": {
1424
- "description": "Page number",
1425
- "name": "page",
1426
- "default": 1,
1413
+ "dataset-id": {
1414
+ "description": "Dataset ID",
1415
+ "name": "dataset-id",
1416
+ "required": true,
1417
+ "hasDynamicHelp": false,
1418
+ "multiple": false,
1419
+ "type": "option"
1420
+ },
1421
+ "description": {
1422
+ "description": "Experiment description",
1423
+ "name": "description",
1424
+ "hasDynamicHelp": false,
1425
+ "multiple": false,
1426
+ "type": "option"
1427
+ },
1428
+ "workflows": {
1429
+ "description": "Workflows configuration as JSON string",
1430
+ "name": "workflows",
1427
1431
  "hasDynamicHelp": false,
1428
1432
  "multiple": false,
1429
1433
  "type": "option"
@@ -1431,7 +1435,7 @@
1431
1435
  },
1432
1436
  "hasDynamicHelp": false,
1433
1437
  "hiddenAliases": [],
1434
- "id": "datasets:list",
1438
+ "id": "experiments:create",
1435
1439
  "pluginAlias": "@respan/cli",
1436
1440
  "pluginName": "@respan/cli",
1437
1441
  "pluginType": "core",
@@ -1441,20 +1445,20 @@
1441
1445
  "relativePath": [
1442
1446
  "dist",
1443
1447
  "commands",
1444
- "datasets",
1445
- "list.js"
1448
+ "experiments",
1449
+ "create.js"
1446
1450
  ]
1447
1451
  },
1448
- "datasets:spans": {
1452
+ "experiments:get": {
1449
1453
  "aliases": [],
1450
1454
  "args": {
1451
- "dataset-id": {
1452
- "description": "Dataset ID",
1453
- "name": "dataset-id",
1455
+ "id": {
1456
+ "description": "Experiment ID",
1457
+ "name": "id",
1454
1458
  "required": true
1455
1459
  }
1456
1460
  },
1457
- "description": "List spans in a dataset",
1461
+ "description": "Get a specific experiment",
1458
1462
  "flags": {
1459
1463
  "api-key": {
1460
1464
  "description": "API key (env: RESPAN_API_KEY)",
@@ -1493,7 +1497,7 @@
1493
1497
  },
1494
1498
  "hasDynamicHelp": false,
1495
1499
  "hiddenAliases": [],
1496
- "id": "datasets:spans",
1500
+ "id": "experiments:get",
1497
1501
  "pluginAlias": "@respan/cli",
1498
1502
  "pluginName": "@respan/cli",
1499
1503
  "pluginType": "core",
@@ -1503,20 +1507,14 @@
1503
1507
  "relativePath": [
1504
1508
  "dist",
1505
1509
  "commands",
1506
- "datasets",
1507
- "spans.js"
1510
+ "experiments",
1511
+ "get.js"
1508
1512
  ]
1509
1513
  },
1510
- "datasets:update": {
1514
+ "experiments:list": {
1511
1515
  "aliases": [],
1512
- "args": {
1513
- "id": {
1514
- "description": "Dataset ID",
1515
- "name": "id",
1516
- "required": true
1517
- }
1518
- },
1519
- "description": "Update a dataset",
1516
+ "args": {},
1517
+ "description": "List experiments",
1520
1518
  "flags": {
1521
1519
  "api-key": {
1522
1520
  "description": "API key (env: RESPAN_API_KEY)",
@@ -1552,16 +1550,18 @@
1552
1550
  "allowNo": false,
1553
1551
  "type": "boolean"
1554
1552
  },
1555
- "name": {
1556
- "description": "Dataset name",
1557
- "name": "name",
1553
+ "limit": {
1554
+ "description": "Number of results per page",
1555
+ "name": "limit",
1556
+ "default": 20,
1558
1557
  "hasDynamicHelp": false,
1559
1558
  "multiple": false,
1560
1559
  "type": "option"
1561
1560
  },
1562
- "description": {
1563
- "description": "Dataset description",
1564
- "name": "description",
1561
+ "page": {
1562
+ "description": "Page number",
1563
+ "name": "page",
1564
+ "default": 1,
1565
1565
  "hasDynamicHelp": false,
1566
1566
  "multiple": false,
1567
1567
  "type": "option"
@@ -1569,7 +1569,7 @@
1569
1569
  },
1570
1570
  "hasDynamicHelp": false,
1571
1571
  "hiddenAliases": [],
1572
- "id": "datasets:update",
1572
+ "id": "experiments:list",
1573
1573
  "pluginAlias": "@respan/cli",
1574
1574
  "pluginName": "@respan/cli",
1575
1575
  "pluginType": "core",
@@ -1579,16 +1579,17 @@
1579
1579
  "relativePath": [
1580
1580
  "dist",
1581
1581
  "commands",
1582
- "datasets",
1583
- "update.js"
1582
+ "experiments",
1583
+ "list.js"
1584
1584
  ]
1585
1585
  },
1586
1586
  "integrate:claude-code": {
1587
1587
  "aliases": [],
1588
1588
  "args": {},
1589
- "description": "Integrate Respan with Claude Code.\n\nInstalls a Stop hook that reads conversation transcripts and sends\nthem to Respan as structured spans (chat, tool, thinking).\n\nScope:\n --global Install hook script + register in ~/.claude/settings.json\n --local Write credentials + enable flag to .claude/settings.local.json\n (default) Both: install hook globally + enable for current project",
1589
+ "description": "Integrate Respan with Claude Code.\n\nInstalls a Stop hook that reads conversation transcripts and sends\nthem to Respan as structured spans (chat, tool, thinking).\n\nScope:\n --global Install hook script + register in ~/.claude/settings.json\n --local Write credentials + enable flag to .claude/settings.local.json\n\nDefault behavior installs the global hook and writes local project config.",
1590
1590
  "examples": [
1591
1591
  "respan integrate claude-code",
1592
+ "respan integrate claude-code --disable",
1592
1593
  "respan integrate claude-code --global",
1593
1594
  "respan integrate claude-code --local --project-id my-project",
1594
1595
  "respan integrate claude-code --attrs '{\"env\":\"prod\"}'",
@@ -1647,6 +1648,24 @@
1647
1648
  "allowNo": false,
1648
1649
  "type": "boolean"
1649
1650
  },
1651
+ "enable": {
1652
+ "description": "Enable tracing (default)",
1653
+ "exclusive": [
1654
+ "disable"
1655
+ ],
1656
+ "name": "enable",
1657
+ "allowNo": false,
1658
+ "type": "boolean"
1659
+ },
1660
+ "disable": {
1661
+ "description": "Disable tracing",
1662
+ "exclusive": [
1663
+ "enable"
1664
+ ],
1665
+ "name": "disable",
1666
+ "allowNo": false,
1667
+ "type": "boolean"
1668
+ },
1650
1669
  "project-id": {
1651
1670
  "description": "Respan project ID (added to metadata / resource attributes)",
1652
1671
  "env": "RESPAN_PROJECT_ID",
@@ -1719,9 +1738,10 @@
1719
1738
  "integrate:codex-cli": {
1720
1739
  "aliases": [],
1721
1740
  "args": {},
1722
- "description": "Integrate Respan with Codex CLI.\n\nInstalls a notify hook that reads session JSONL files and sends\nthem to Respan as structured spans (chat, tool, reasoning).\n\nScope:\n --global Install hook script + register notify in ~/.codex/config.toml\n --local Write .codex/respan.json with customer_id, span_name, etc.\n (default) Both: install hook globally + config for current project",
1741
+ "description": "Integrate Respan with Codex CLI.\n\nInstalls a notify hook that reads session JSONL files and sends\nthem to Respan as structured spans (chat, tool, reasoning).\n\nScope:\n --global Install hook script + register notify in ~/.codex/config.toml\n --local Write .codex/respan.json with customer_id, span_name, etc.\n\nDefault behavior installs the global notify hook and writes local project config.",
1723
1742
  "examples": [
1724
1743
  "respan integrate codex-cli",
1744
+ "respan integrate codex-cli --disable",
1725
1745
  "respan integrate codex-cli --global",
1726
1746
  "respan integrate codex-cli --local --customer-id frank",
1727
1747
  "respan integrate codex-cli --attrs '{\"env\":\"prod\"}'",
@@ -1780,6 +1800,24 @@
1780
1800
  "allowNo": false,
1781
1801
  "type": "boolean"
1782
1802
  },
1803
+ "enable": {
1804
+ "description": "Enable tracing (default)",
1805
+ "exclusive": [
1806
+ "disable"
1807
+ ],
1808
+ "name": "enable",
1809
+ "allowNo": false,
1810
+ "type": "boolean"
1811
+ },
1812
+ "disable": {
1813
+ "description": "Disable tracing",
1814
+ "exclusive": [
1815
+ "enable"
1816
+ ],
1817
+ "name": "disable",
1818
+ "allowNo": false,
1819
+ "type": "boolean"
1820
+ },
1783
1821
  "project-id": {
1784
1822
  "description": "Respan project ID (added to metadata / resource attributes)",
1785
1823
  "env": "RESPAN_PROJECT_ID",
@@ -1852,9 +1890,10 @@
1852
1890
  "integrate:gemini-cli": {
1853
1891
  "aliases": [],
1854
1892
  "args": {},
1855
- "description": "Integrate Respan with Gemini CLI.\n\nInstalls an AfterModel hook that captures LLM request/response data\nand sends it to Respan as structured spans with model, token counts,\nand input/output.\n\nScope:\n --global Write to ~/.gemini/settings.json (default)\n --local Write to .gemini/settings.json in project root\n\nNote: Gemini CLI ignores workspace-level telemetry settings, so\n--global is the default.",
1893
+ "description": "Integrate Respan with Gemini CLI.\n\nInstalls an AfterModel hook that captures LLM request/response data\nand sends it to Respan as structured spans with model, token counts,\nand input/output.\n\nScope:\n --global Write to ~/.gemini/settings.json (default)\n --local Write to .gemini/settings.json in project root\n\nGemini CLI ignores workspace-level telemetry settings, so --global is the default.",
1856
1894
  "examples": [
1857
1895
  "respan integrate gemini-cli",
1896
+ "respan integrate gemini-cli --disable",
1858
1897
  "respan integrate gemini-cli --local",
1859
1898
  "respan integrate gemini-cli --project-id my-project --attrs '{\"env\":\"prod\"}'",
1860
1899
  "respan integrate gemini-cli --dry-run"
@@ -1912,6 +1951,24 @@
1912
1951
  "allowNo": false,
1913
1952
  "type": "boolean"
1914
1953
  },
1954
+ "enable": {
1955
+ "description": "Enable tracing (default)",
1956
+ "exclusive": [
1957
+ "disable"
1958
+ ],
1959
+ "name": "enable",
1960
+ "allowNo": false,
1961
+ "type": "boolean"
1962
+ },
1963
+ "disable": {
1964
+ "description": "Disable tracing",
1965
+ "exclusive": [
1966
+ "enable"
1967
+ ],
1968
+ "name": "disable",
1969
+ "allowNo": false,
1970
+ "type": "boolean"
1971
+ },
1915
1972
  "project-id": {
1916
1973
  "description": "Respan project ID (added to metadata / resource attributes)",
1917
1974
  "env": "RESPAN_PROJECT_ID",
@@ -1987,6 +2044,7 @@
1987
2044
  "description": "Integrate Respan with OpenCode.\n\nOpenCode's built-in OTel does not work reliably, so this uses the\ncommunity opencode-otel plugin instead.\n\nScope:\n --local Write plugin config to project root (default)\n --global Write to ~/.config/opencode/plugins/otel.json\n The opencode-otel package is always installed globally.",
1988
2045
  "examples": [
1989
2046
  "respan integrate opencode",
2047
+ "respan integrate opencode --disable",
1990
2048
  "respan integrate opencode --global",
1991
2049
  "respan integrate opencode --project-id my-project --attrs '{\"env\":\"prod\"}'",
1992
2050
  "respan integrate opencode --dry-run"
@@ -2044,6 +2102,24 @@
2044
2102
  "allowNo": false,
2045
2103
  "type": "boolean"
2046
2104
  },
2105
+ "enable": {
2106
+ "description": "Enable tracing (default)",
2107
+ "exclusive": [
2108
+ "disable"
2109
+ ],
2110
+ "name": "enable",
2111
+ "allowNo": false,
2112
+ "type": "boolean"
2113
+ },
2114
+ "disable": {
2115
+ "description": "Disable tracing",
2116
+ "exclusive": [
2117
+ "enable"
2118
+ ],
2119
+ "name": "disable",
2120
+ "allowNo": false,
2121
+ "type": "boolean"
2122
+ },
2047
2123
  "project-id": {
2048
2124
  "description": "Respan project ID (added to metadata / resource attributes)",
2049
2125
  "env": "RESPAN_PROJECT_ID",
@@ -3459,5 +3535,5 @@
3459
3535
  ]
3460
3536
  }
3461
3537
  },
3462
- "version": "0.7.1"
3538
+ "version": "0.7.2"
3463
3539
  }