@respan/cli 0.17.2 → 0.17.3

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.
@@ -34,7 +34,6 @@ export interface SpanData {
34
34
  completion_message?: Record<string, unknown> | null;
35
35
  warnings?: string;
36
36
  encoding_format?: string;
37
- disable_fallback?: boolean;
38
37
  respan_params?: Record<string, unknown>;
39
38
  field_name?: string;
40
39
  delimiter?: string;
@@ -37,7 +37,6 @@ export interface DemoPromptVersion {
37
37
  stream?: boolean;
38
38
  thinking?: Record<string, unknown>;
39
39
  variables?: Record<string, unknown>;
40
- load_balance_models?: Record<string, unknown>[];
41
40
  tools?: Record<string, unknown>[];
42
41
  tool_choice?: string | Record<string, unknown>;
43
42
  response_format?: Record<string, unknown>;
@@ -708,16 +708,16 @@
708
708
  "stop.js"
709
709
  ]
710
710
  },
711
- "config:get": {
711
+ "datasets:create-span": {
712
712
  "aliases": [],
713
713
  "args": {
714
- "key": {
715
- "description": "Config key",
716
- "name": "key",
714
+ "dataset-id": {
715
+ "description": "Dataset ID",
716
+ "name": "dataset-id",
717
717
  "required": true
718
718
  }
719
719
  },
720
- "description": "Get a configuration value",
720
+ "description": "Create a span in a dataset",
721
721
  "flags": {
722
722
  "api-key": {
723
723
  "description": "API key (env: RESPAN_API_KEY)",
@@ -759,11 +759,19 @@
759
759
  "name": "verbose",
760
760
  "allowNo": false,
761
761
  "type": "boolean"
762
+ },
763
+ "body": {
764
+ "description": "Span body as JSON string",
765
+ "name": "body",
766
+ "required": true,
767
+ "hasDynamicHelp": false,
768
+ "multiple": false,
769
+ "type": "option"
762
770
  }
763
771
  },
764
772
  "hasDynamicHelp": false,
765
773
  "hiddenAliases": [],
766
- "id": "config:get",
774
+ "id": "datasets:create-span",
767
775
  "pluginAlias": "@respan/cli",
768
776
  "pluginName": "@respan/cli",
769
777
  "pluginType": "core",
@@ -773,14 +781,14 @@
773
781
  "relativePath": [
774
782
  "dist",
775
783
  "commands",
776
- "config",
777
- "get.js"
784
+ "datasets",
785
+ "create-span.js"
778
786
  ]
779
787
  },
780
- "config:list": {
788
+ "datasets:create": {
781
789
  "aliases": [],
782
790
  "args": {},
783
- "description": "List all configuration",
791
+ "description": "Create a new dataset",
784
792
  "flags": {
785
793
  "api-key": {
786
794
  "description": "API key (env: RESPAN_API_KEY)",
@@ -822,11 +830,26 @@
822
830
  "name": "verbose",
823
831
  "allowNo": false,
824
832
  "type": "boolean"
833
+ },
834
+ "name": {
835
+ "description": "Dataset name",
836
+ "name": "name",
837
+ "required": true,
838
+ "hasDynamicHelp": false,
839
+ "multiple": false,
840
+ "type": "option"
841
+ },
842
+ "description": {
843
+ "description": "Dataset description",
844
+ "name": "description",
845
+ "hasDynamicHelp": false,
846
+ "multiple": false,
847
+ "type": "option"
825
848
  }
826
849
  },
827
850
  "hasDynamicHelp": false,
828
851
  "hiddenAliases": [],
829
- "id": "config:list",
852
+ "id": "datasets:create",
830
853
  "pluginAlias": "@respan/cli",
831
854
  "pluginName": "@respan/cli",
832
855
  "pluginType": "core",
@@ -836,25 +859,25 @@
836
859
  "relativePath": [
837
860
  "dist",
838
861
  "commands",
839
- "config",
840
- "list.js"
862
+ "datasets",
863
+ "create.js"
841
864
  ]
842
865
  },
843
- "config:set": {
866
+ "datasets:get-span": {
844
867
  "aliases": [],
845
868
  "args": {
846
- "key": {
847
- "description": "Config key",
848
- "name": "key",
869
+ "dataset-id": {
870
+ "description": "Dataset ID",
871
+ "name": "dataset-id",
849
872
  "required": true
850
873
  },
851
- "value": {
852
- "description": "Config value",
853
- "name": "value",
874
+ "span-id": {
875
+ "description": "Span ID",
876
+ "name": "span-id",
854
877
  "required": true
855
878
  }
856
879
  },
857
- "description": "Set a configuration value",
880
+ "description": "Get a specific span from a dataset",
858
881
  "flags": {
859
882
  "api-key": {
860
883
  "description": "API key (env: RESPAN_API_KEY)",
@@ -900,7 +923,7 @@
900
923
  },
901
924
  "hasDynamicHelp": false,
902
925
  "hiddenAliases": [],
903
- "id": "config:set",
926
+ "id": "datasets:get-span",
904
927
  "pluginAlias": "@respan/cli",
905
928
  "pluginName": "@respan/cli",
906
929
  "pluginType": "core",
@@ -910,18 +933,20 @@
910
933
  "relativePath": [
911
934
  "dist",
912
935
  "commands",
913
- "config",
914
- "set.js"
936
+ "datasets",
937
+ "get-span.js"
915
938
  ]
916
939
  },
917
- "demo:clear": {
940
+ "datasets:get": {
918
941
  "aliases": [],
919
- "args": {},
920
- "description": "Delete the sample prompts, datasets, and evaluators created by `respan demo`. Demo traces are left in place (each run is timestamped history). Idempotent — safe to re-run.",
921
- "examples": [
922
- "<%= config.bin %> demo clear",
923
- "<%= config.bin %> demo clear --yes"
924
- ],
942
+ "args": {
943
+ "id": {
944
+ "description": "Dataset ID",
945
+ "name": "id",
946
+ "required": true
947
+ }
948
+ },
949
+ "description": "Get a specific dataset",
925
950
  "flags": {
926
951
  "api-key": {
927
952
  "description": "API key (env: RESPAN_API_KEY)",
@@ -963,18 +988,11 @@
963
988
  "name": "verbose",
964
989
  "allowNo": false,
965
990
  "type": "boolean"
966
- },
967
- "yes": {
968
- "char": "y",
969
- "description": "Skip the confirmation prompt",
970
- "name": "yes",
971
- "allowNo": false,
972
- "type": "boolean"
973
991
  }
974
992
  },
975
993
  "hasDynamicHelp": false,
976
994
  "hiddenAliases": [],
977
- "id": "demo:clear",
995
+ "id": "datasets:get",
978
996
  "pluginAlias": "@respan/cli",
979
997
  "pluginName": "@respan/cli",
980
998
  "pluginType": "core",
@@ -984,17 +1002,14 @@
984
1002
  "relativePath": [
985
1003
  "dist",
986
1004
  "commands",
987
- "demo",
988
- "clear.js"
1005
+ "datasets",
1006
+ "get.js"
989
1007
  ]
990
1008
  },
991
- "demo": {
1009
+ "datasets:list": {
992
1010
  "aliases": [],
993
1011
  "args": {},
994
- "description": "Seed your account with sample data (prompts and traces) so you have something to explore. Idempotent — safe to re-run.",
995
- "examples": [
996
- "<%= config.bin %> demo"
997
- ],
1012
+ "description": "List datasets",
998
1013
  "flags": {
999
1014
  "api-key": {
1000
1015
  "description": "API key (env: RESPAN_API_KEY)",
@@ -1036,11 +1051,27 @@
1036
1051
  "name": "verbose",
1037
1052
  "allowNo": false,
1038
1053
  "type": "boolean"
1054
+ },
1055
+ "limit": {
1056
+ "description": "Number of results per page",
1057
+ "name": "limit",
1058
+ "default": 50,
1059
+ "hasDynamicHelp": false,
1060
+ "multiple": false,
1061
+ "type": "option"
1062
+ },
1063
+ "page": {
1064
+ "description": "Page number",
1065
+ "name": "page",
1066
+ "default": 1,
1067
+ "hasDynamicHelp": false,
1068
+ "multiple": false,
1069
+ "type": "option"
1039
1070
  }
1040
1071
  },
1041
1072
  "hasDynamicHelp": false,
1042
1073
  "hiddenAliases": [],
1043
- "id": "demo",
1074
+ "id": "datasets:list",
1044
1075
  "pluginAlias": "@respan/cli",
1045
1076
  "pluginName": "@respan/cli",
1046
1077
  "pluginType": "core",
@@ -1050,11 +1081,11 @@
1050
1081
  "relativePath": [
1051
1082
  "dist",
1052
1083
  "commands",
1053
- "demo",
1054
- "index.js"
1084
+ "datasets",
1085
+ "list.js"
1055
1086
  ]
1056
1087
  },
1057
- "datasets:create-span": {
1088
+ "datasets:spans": {
1058
1089
  "aliases": [],
1059
1090
  "args": {
1060
1091
  "dataset-id": {
@@ -1063,7 +1094,7 @@
1063
1094
  "required": true
1064
1095
  }
1065
1096
  },
1066
- "description": "Create a span in a dataset",
1097
+ "description": "List spans in a dataset",
1067
1098
  "flags": {
1068
1099
  "api-key": {
1069
1100
  "description": "API key (env: RESPAN_API_KEY)",
@@ -1105,19 +1136,11 @@
1105
1136
  "name": "verbose",
1106
1137
  "allowNo": false,
1107
1138
  "type": "boolean"
1108
- },
1109
- "body": {
1110
- "description": "Span body as JSON string",
1111
- "name": "body",
1112
- "required": true,
1113
- "hasDynamicHelp": false,
1114
- "multiple": false,
1115
- "type": "option"
1116
1139
  }
1117
1140
  },
1118
1141
  "hasDynamicHelp": false,
1119
1142
  "hiddenAliases": [],
1120
- "id": "datasets:create-span",
1143
+ "id": "datasets:spans",
1121
1144
  "pluginAlias": "@respan/cli",
1122
1145
  "pluginName": "@respan/cli",
1123
1146
  "pluginType": "core",
@@ -1128,13 +1151,19 @@
1128
1151
  "dist",
1129
1152
  "commands",
1130
1153
  "datasets",
1131
- "create-span.js"
1154
+ "spans.js"
1132
1155
  ]
1133
1156
  },
1134
- "datasets:create": {
1157
+ "datasets:update": {
1135
1158
  "aliases": [],
1136
- "args": {},
1137
- "description": "Create a new dataset",
1159
+ "args": {
1160
+ "id": {
1161
+ "description": "Dataset ID",
1162
+ "name": "id",
1163
+ "required": true
1164
+ }
1165
+ },
1166
+ "description": "Update a dataset",
1138
1167
  "flags": {
1139
1168
  "api-key": {
1140
1169
  "description": "API key (env: RESPAN_API_KEY)",
@@ -1180,7 +1209,6 @@
1180
1209
  "name": {
1181
1210
  "description": "Dataset name",
1182
1211
  "name": "name",
1183
- "required": true,
1184
1212
  "hasDynamicHelp": false,
1185
1213
  "multiple": false,
1186
1214
  "type": "option"
@@ -1195,7 +1223,7 @@
1195
1223
  },
1196
1224
  "hasDynamicHelp": false,
1197
1225
  "hiddenAliases": [],
1198
- "id": "datasets:create",
1226
+ "id": "datasets:update",
1199
1227
  "pluginAlias": "@respan/cli",
1200
1228
  "pluginName": "@respan/cli",
1201
1229
  "pluginType": "core",
@@ -1206,24 +1234,17 @@
1206
1234
  "dist",
1207
1235
  "commands",
1208
1236
  "datasets",
1209
- "create.js"
1237
+ "update.js"
1210
1238
  ]
1211
1239
  },
1212
- "datasets:get-span": {
1240
+ "demo:clear": {
1213
1241
  "aliases": [],
1214
- "args": {
1215
- "dataset-id": {
1216
- "description": "Dataset ID",
1217
- "name": "dataset-id",
1218
- "required": true
1219
- },
1220
- "span-id": {
1221
- "description": "Span ID",
1222
- "name": "span-id",
1223
- "required": true
1224
- }
1225
- },
1226
- "description": "Get a specific span from a dataset",
1242
+ "args": {},
1243
+ "description": "Delete the sample prompts, datasets, and evaluators created by `respan demo`. Demo traces are left in place (each run is timestamped history). Idempotent — safe to re-run.",
1244
+ "examples": [
1245
+ "<%= config.bin %> demo clear",
1246
+ "<%= config.bin %> demo clear --yes"
1247
+ ],
1227
1248
  "flags": {
1228
1249
  "api-key": {
1229
1250
  "description": "API key (env: RESPAN_API_KEY)",
@@ -1265,11 +1286,18 @@
1265
1286
  "name": "verbose",
1266
1287
  "allowNo": false,
1267
1288
  "type": "boolean"
1289
+ },
1290
+ "yes": {
1291
+ "char": "y",
1292
+ "description": "Skip the confirmation prompt",
1293
+ "name": "yes",
1294
+ "allowNo": false,
1295
+ "type": "boolean"
1268
1296
  }
1269
1297
  },
1270
1298
  "hasDynamicHelp": false,
1271
1299
  "hiddenAliases": [],
1272
- "id": "datasets:get-span",
1300
+ "id": "demo:clear",
1273
1301
  "pluginAlias": "@respan/cli",
1274
1302
  "pluginName": "@respan/cli",
1275
1303
  "pluginType": "core",
@@ -1279,20 +1307,17 @@
1279
1307
  "relativePath": [
1280
1308
  "dist",
1281
1309
  "commands",
1282
- "datasets",
1283
- "get-span.js"
1310
+ "demo",
1311
+ "clear.js"
1284
1312
  ]
1285
1313
  },
1286
- "datasets:get": {
1314
+ "demo": {
1287
1315
  "aliases": [],
1288
- "args": {
1289
- "id": {
1290
- "description": "Dataset ID",
1291
- "name": "id",
1292
- "required": true
1293
- }
1294
- },
1295
- "description": "Get a specific dataset",
1316
+ "args": {},
1317
+ "description": "Seed your account with sample data (prompts and traces) so you have something to explore. Idempotent — safe to re-run.",
1318
+ "examples": [
1319
+ "<%= config.bin %> demo"
1320
+ ],
1296
1321
  "flags": {
1297
1322
  "api-key": {
1298
1323
  "description": "API key (env: RESPAN_API_KEY)",
@@ -1338,7 +1363,7 @@
1338
1363
  },
1339
1364
  "hasDynamicHelp": false,
1340
1365
  "hiddenAliases": [],
1341
- "id": "datasets:get",
1366
+ "id": "demo",
1342
1367
  "pluginAlias": "@respan/cli",
1343
1368
  "pluginName": "@respan/cli",
1344
1369
  "pluginType": "core",
@@ -1348,14 +1373,20 @@
1348
1373
  "relativePath": [
1349
1374
  "dist",
1350
1375
  "commands",
1351
- "datasets",
1352
- "get.js"
1376
+ "demo",
1377
+ "index.js"
1353
1378
  ]
1354
1379
  },
1355
- "datasets:list": {
1380
+ "config:get": {
1356
1381
  "aliases": [],
1357
- "args": {},
1358
- "description": "List datasets",
1382
+ "args": {
1383
+ "key": {
1384
+ "description": "Config key",
1385
+ "name": "key",
1386
+ "required": true
1387
+ }
1388
+ },
1389
+ "description": "Get a configuration value",
1359
1390
  "flags": {
1360
1391
  "api-key": {
1361
1392
  "description": "API key (env: RESPAN_API_KEY)",
@@ -1397,27 +1428,11 @@
1397
1428
  "name": "verbose",
1398
1429
  "allowNo": false,
1399
1430
  "type": "boolean"
1400
- },
1401
- "limit": {
1402
- "description": "Number of results per page",
1403
- "name": "limit",
1404
- "default": 50,
1405
- "hasDynamicHelp": false,
1406
- "multiple": false,
1407
- "type": "option"
1408
- },
1409
- "page": {
1410
- "description": "Page number",
1411
- "name": "page",
1412
- "default": 1,
1413
- "hasDynamicHelp": false,
1414
- "multiple": false,
1415
- "type": "option"
1416
1431
  }
1417
1432
  },
1418
1433
  "hasDynamicHelp": false,
1419
1434
  "hiddenAliases": [],
1420
- "id": "datasets:list",
1435
+ "id": "config:get",
1421
1436
  "pluginAlias": "@respan/cli",
1422
1437
  "pluginName": "@respan/cli",
1423
1438
  "pluginType": "core",
@@ -1427,20 +1442,14 @@
1427
1442
  "relativePath": [
1428
1443
  "dist",
1429
1444
  "commands",
1430
- "datasets",
1431
- "list.js"
1445
+ "config",
1446
+ "get.js"
1432
1447
  ]
1433
1448
  },
1434
- "datasets:spans": {
1449
+ "config:list": {
1435
1450
  "aliases": [],
1436
- "args": {
1437
- "dataset-id": {
1438
- "description": "Dataset ID",
1439
- "name": "dataset-id",
1440
- "required": true
1441
- }
1442
- },
1443
- "description": "List spans in a dataset",
1451
+ "args": {},
1452
+ "description": "List all configuration",
1444
1453
  "flags": {
1445
1454
  "api-key": {
1446
1455
  "description": "API key (env: RESPAN_API_KEY)",
@@ -1486,7 +1495,7 @@
1486
1495
  },
1487
1496
  "hasDynamicHelp": false,
1488
1497
  "hiddenAliases": [],
1489
- "id": "datasets:spans",
1498
+ "id": "config:list",
1490
1499
  "pluginAlias": "@respan/cli",
1491
1500
  "pluginName": "@respan/cli",
1492
1501
  "pluginType": "core",
@@ -1496,20 +1505,25 @@
1496
1505
  "relativePath": [
1497
1506
  "dist",
1498
1507
  "commands",
1499
- "datasets",
1500
- "spans.js"
1508
+ "config",
1509
+ "list.js"
1501
1510
  ]
1502
1511
  },
1503
- "datasets:update": {
1512
+ "config:set": {
1504
1513
  "aliases": [],
1505
1514
  "args": {
1506
- "id": {
1507
- "description": "Dataset ID",
1508
- "name": "id",
1515
+ "key": {
1516
+ "description": "Config key",
1517
+ "name": "key",
1518
+ "required": true
1519
+ },
1520
+ "value": {
1521
+ "description": "Config value",
1522
+ "name": "value",
1509
1523
  "required": true
1510
1524
  }
1511
1525
  },
1512
- "description": "Update a dataset",
1526
+ "description": "Set a configuration value",
1513
1527
  "flags": {
1514
1528
  "api-key": {
1515
1529
  "description": "API key (env: RESPAN_API_KEY)",
@@ -1551,25 +1565,11 @@
1551
1565
  "name": "verbose",
1552
1566
  "allowNo": false,
1553
1567
  "type": "boolean"
1554
- },
1555
- "name": {
1556
- "description": "Dataset name",
1557
- "name": "name",
1558
- "hasDynamicHelp": false,
1559
- "multiple": false,
1560
- "type": "option"
1561
- },
1562
- "description": {
1563
- "description": "Dataset description",
1564
- "name": "description",
1565
- "hasDynamicHelp": false,
1566
- "multiple": false,
1567
- "type": "option"
1568
1568
  }
1569
1569
  },
1570
1570
  "hasDynamicHelp": false,
1571
1571
  "hiddenAliases": [],
1572
- "id": "datasets:update",
1572
+ "id": "config:set",
1573
1573
  "pluginAlias": "@respan/cli",
1574
1574
  "pluginName": "@respan/cli",
1575
1575
  "pluginType": "core",
@@ -1579,8 +1579,8 @@
1579
1579
  "relativePath": [
1580
1580
  "dist",
1581
1581
  "commands",
1582
- "datasets",
1583
- "update.js"
1582
+ "config",
1583
+ "set.js"
1584
1584
  ]
1585
1585
  },
1586
1586
  "eval": {
@@ -4285,5 +4285,5 @@
4285
4285
  ]
4286
4286
  }
4287
4287
  },
4288
- "version": "0.17.2"
4288
+ "version": "0.17.3"
4289
4289
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@respan/cli",
3
- "version": "0.17.2",
3
+ "version": "0.17.3",
4
4
  "description": "Respan CLI - manage your LLM observability from the command line",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",