@respan/cli 0.12.0 → 0.13.0
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/oclif.manifest.json
CHANGED
|
@@ -470,6 +470,146 @@
|
|
|
470
470
|
"set.js"
|
|
471
471
|
]
|
|
472
472
|
},
|
|
473
|
+
"demo:clear": {
|
|
474
|
+
"aliases": [],
|
|
475
|
+
"args": {},
|
|
476
|
+
"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.",
|
|
477
|
+
"examples": [
|
|
478
|
+
"<%= config.bin %> demo clear",
|
|
479
|
+
"<%= config.bin %> demo clear --yes"
|
|
480
|
+
],
|
|
481
|
+
"flags": {
|
|
482
|
+
"api-key": {
|
|
483
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
484
|
+
"env": "RESPAN_API_KEY",
|
|
485
|
+
"name": "api-key",
|
|
486
|
+
"hasDynamicHelp": false,
|
|
487
|
+
"multiple": false,
|
|
488
|
+
"type": "option"
|
|
489
|
+
},
|
|
490
|
+
"base-url": {
|
|
491
|
+
"description": "Temporary API base URL override for this command",
|
|
492
|
+
"name": "base-url",
|
|
493
|
+
"hasDynamicHelp": false,
|
|
494
|
+
"multiple": false,
|
|
495
|
+
"type": "option"
|
|
496
|
+
},
|
|
497
|
+
"profile": {
|
|
498
|
+
"description": "Named profile to use",
|
|
499
|
+
"name": "profile",
|
|
500
|
+
"hasDynamicHelp": false,
|
|
501
|
+
"multiple": false,
|
|
502
|
+
"type": "option"
|
|
503
|
+
},
|
|
504
|
+
"json": {
|
|
505
|
+
"description": "Output as JSON",
|
|
506
|
+
"name": "json",
|
|
507
|
+
"allowNo": false,
|
|
508
|
+
"type": "boolean"
|
|
509
|
+
},
|
|
510
|
+
"csv": {
|
|
511
|
+
"description": "Output as CSV",
|
|
512
|
+
"name": "csv",
|
|
513
|
+
"allowNo": false,
|
|
514
|
+
"type": "boolean"
|
|
515
|
+
},
|
|
516
|
+
"verbose": {
|
|
517
|
+
"char": "v",
|
|
518
|
+
"description": "Show verbose output",
|
|
519
|
+
"name": "verbose",
|
|
520
|
+
"allowNo": false,
|
|
521
|
+
"type": "boolean"
|
|
522
|
+
},
|
|
523
|
+
"yes": {
|
|
524
|
+
"char": "y",
|
|
525
|
+
"description": "Skip the confirmation prompt",
|
|
526
|
+
"name": "yes",
|
|
527
|
+
"allowNo": false,
|
|
528
|
+
"type": "boolean"
|
|
529
|
+
}
|
|
530
|
+
},
|
|
531
|
+
"hasDynamicHelp": false,
|
|
532
|
+
"hiddenAliases": [],
|
|
533
|
+
"id": "demo:clear",
|
|
534
|
+
"pluginAlias": "@respan/cli",
|
|
535
|
+
"pluginName": "@respan/cli",
|
|
536
|
+
"pluginType": "core",
|
|
537
|
+
"strict": true,
|
|
538
|
+
"enableJsonFlag": false,
|
|
539
|
+
"isESM": true,
|
|
540
|
+
"relativePath": [
|
|
541
|
+
"dist",
|
|
542
|
+
"commands",
|
|
543
|
+
"demo",
|
|
544
|
+
"clear.js"
|
|
545
|
+
]
|
|
546
|
+
},
|
|
547
|
+
"demo": {
|
|
548
|
+
"aliases": [],
|
|
549
|
+
"args": {},
|
|
550
|
+
"description": "Seed your account with sample data (prompts and traces) so you have something to explore. Idempotent — safe to re-run.",
|
|
551
|
+
"examples": [
|
|
552
|
+
"<%= config.bin %> demo"
|
|
553
|
+
],
|
|
554
|
+
"flags": {
|
|
555
|
+
"api-key": {
|
|
556
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
557
|
+
"env": "RESPAN_API_KEY",
|
|
558
|
+
"name": "api-key",
|
|
559
|
+
"hasDynamicHelp": false,
|
|
560
|
+
"multiple": false,
|
|
561
|
+
"type": "option"
|
|
562
|
+
},
|
|
563
|
+
"base-url": {
|
|
564
|
+
"description": "Temporary API base URL override for this command",
|
|
565
|
+
"name": "base-url",
|
|
566
|
+
"hasDynamicHelp": false,
|
|
567
|
+
"multiple": false,
|
|
568
|
+
"type": "option"
|
|
569
|
+
},
|
|
570
|
+
"profile": {
|
|
571
|
+
"description": "Named profile to use",
|
|
572
|
+
"name": "profile",
|
|
573
|
+
"hasDynamicHelp": false,
|
|
574
|
+
"multiple": false,
|
|
575
|
+
"type": "option"
|
|
576
|
+
},
|
|
577
|
+
"json": {
|
|
578
|
+
"description": "Output as JSON",
|
|
579
|
+
"name": "json",
|
|
580
|
+
"allowNo": false,
|
|
581
|
+
"type": "boolean"
|
|
582
|
+
},
|
|
583
|
+
"csv": {
|
|
584
|
+
"description": "Output as CSV",
|
|
585
|
+
"name": "csv",
|
|
586
|
+
"allowNo": false,
|
|
587
|
+
"type": "boolean"
|
|
588
|
+
},
|
|
589
|
+
"verbose": {
|
|
590
|
+
"char": "v",
|
|
591
|
+
"description": "Show verbose output",
|
|
592
|
+
"name": "verbose",
|
|
593
|
+
"allowNo": false,
|
|
594
|
+
"type": "boolean"
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
"hasDynamicHelp": false,
|
|
598
|
+
"hiddenAliases": [],
|
|
599
|
+
"id": "demo",
|
|
600
|
+
"pluginAlias": "@respan/cli",
|
|
601
|
+
"pluginName": "@respan/cli",
|
|
602
|
+
"pluginType": "core",
|
|
603
|
+
"strict": true,
|
|
604
|
+
"enableJsonFlag": false,
|
|
605
|
+
"isESM": true,
|
|
606
|
+
"relativePath": [
|
|
607
|
+
"dist",
|
|
608
|
+
"commands",
|
|
609
|
+
"demo",
|
|
610
|
+
"index.js"
|
|
611
|
+
]
|
|
612
|
+
},
|
|
473
613
|
"datasets:create-span": {
|
|
474
614
|
"aliases": [],
|
|
475
615
|
"args": {
|
|
@@ -999,14 +1139,16 @@
|
|
|
999
1139
|
"update.js"
|
|
1000
1140
|
]
|
|
1001
1141
|
},
|
|
1002
|
-
"
|
|
1142
|
+
"eval": {
|
|
1003
1143
|
"aliases": [],
|
|
1004
|
-
"args": {
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1144
|
+
"args": {
|
|
1145
|
+
"file": {
|
|
1146
|
+
"description": "Path to eval JSON file",
|
|
1147
|
+
"name": "file",
|
|
1148
|
+
"required": true
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
1151
|
+
"description": "Run an eval defined in a JSON file (creates prompt + dataset on the platform)",
|
|
1010
1152
|
"flags": {
|
|
1011
1153
|
"api-key": {
|
|
1012
1154
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1048,18 +1190,11 @@
|
|
|
1048
1190
|
"name": "verbose",
|
|
1049
1191
|
"allowNo": false,
|
|
1050
1192
|
"type": "boolean"
|
|
1051
|
-
},
|
|
1052
|
-
"yes": {
|
|
1053
|
-
"char": "y",
|
|
1054
|
-
"description": "Skip the confirmation prompt",
|
|
1055
|
-
"name": "yes",
|
|
1056
|
-
"allowNo": false,
|
|
1057
|
-
"type": "boolean"
|
|
1058
1193
|
}
|
|
1059
1194
|
},
|
|
1060
1195
|
"hasDynamicHelp": false,
|
|
1061
1196
|
"hiddenAliases": [],
|
|
1062
|
-
"id": "
|
|
1197
|
+
"id": "eval",
|
|
1063
1198
|
"pluginAlias": "@respan/cli",
|
|
1064
1199
|
"pluginName": "@respan/cli",
|
|
1065
1200
|
"pluginType": "core",
|
|
@@ -1069,17 +1204,14 @@
|
|
|
1069
1204
|
"relativePath": [
|
|
1070
1205
|
"dist",
|
|
1071
1206
|
"commands",
|
|
1072
|
-
"
|
|
1073
|
-
"
|
|
1207
|
+
"eval",
|
|
1208
|
+
"index.js"
|
|
1074
1209
|
]
|
|
1075
1210
|
},
|
|
1076
|
-
"
|
|
1211
|
+
"evaluators:create": {
|
|
1077
1212
|
"aliases": [],
|
|
1078
1213
|
"args": {},
|
|
1079
|
-
"description": "
|
|
1080
|
-
"examples": [
|
|
1081
|
-
"<%= config.bin %> demo"
|
|
1082
|
-
],
|
|
1214
|
+
"description": "Create a new evaluator",
|
|
1083
1215
|
"flags": {
|
|
1084
1216
|
"api-key": {
|
|
1085
1217
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1121,11 +1253,40 @@
|
|
|
1121
1253
|
"name": "verbose",
|
|
1122
1254
|
"allowNo": false,
|
|
1123
1255
|
"type": "boolean"
|
|
1256
|
+
},
|
|
1257
|
+
"name": {
|
|
1258
|
+
"description": "Evaluator name",
|
|
1259
|
+
"name": "name",
|
|
1260
|
+
"required": true,
|
|
1261
|
+
"hasDynamicHelp": false,
|
|
1262
|
+
"multiple": false,
|
|
1263
|
+
"type": "option"
|
|
1264
|
+
},
|
|
1265
|
+
"type": {
|
|
1266
|
+
"description": "Evaluator type",
|
|
1267
|
+
"name": "type",
|
|
1268
|
+
"hasDynamicHelp": false,
|
|
1269
|
+
"multiple": false,
|
|
1270
|
+
"type": "option"
|
|
1271
|
+
},
|
|
1272
|
+
"description": {
|
|
1273
|
+
"description": "Evaluator description",
|
|
1274
|
+
"name": "description",
|
|
1275
|
+
"hasDynamicHelp": false,
|
|
1276
|
+
"multiple": false,
|
|
1277
|
+
"type": "option"
|
|
1278
|
+
},
|
|
1279
|
+
"config": {
|
|
1280
|
+
"description": "Evaluator config as JSON string",
|
|
1281
|
+
"name": "config",
|
|
1282
|
+
"hasDynamicHelp": false,
|
|
1283
|
+
"multiple": false,
|
|
1284
|
+
"type": "option"
|
|
1124
1285
|
}
|
|
1125
1286
|
},
|
|
1126
1287
|
"hasDynamicHelp": false,
|
|
1127
1288
|
"hiddenAliases": [],
|
|
1128
|
-
"id": "
|
|
1289
|
+
"id": "evaluators:create",
|
|
1129
1290
|
"pluginAlias": "@respan/cli",
|
|
1130
1291
|
"pluginName": "@respan/cli",
|
|
1131
1292
|
"pluginType": "core",
|
|
@@ -1135,20 +1296,20 @@
|
|
|
1135
1296
|
"relativePath": [
|
|
1136
1297
|
"dist",
|
|
1137
1298
|
"commands",
|
|
1138
|
-
"
|
|
1139
|
-
"
|
|
1299
|
+
"evaluators",
|
|
1300
|
+
"create.js"
|
|
1140
1301
|
]
|
|
1141
1302
|
},
|
|
1142
|
-
"
|
|
1303
|
+
"evaluators:get": {
|
|
1143
1304
|
"aliases": [],
|
|
1144
1305
|
"args": {
|
|
1145
|
-
"
|
|
1146
|
-
"description": "
|
|
1147
|
-
"name": "
|
|
1306
|
+
"id": {
|
|
1307
|
+
"description": "Evaluator ID",
|
|
1308
|
+
"name": "id",
|
|
1148
1309
|
"required": true
|
|
1149
1310
|
}
|
|
1150
1311
|
},
|
|
1151
|
-
"description": "
|
|
1312
|
+
"description": "Get a specific evaluator",
|
|
1152
1313
|
"flags": {
|
|
1153
1314
|
"api-key": {
|
|
1154
1315
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1194,7 +1355,7 @@
|
|
|
1194
1355
|
},
|
|
1195
1356
|
"hasDynamicHelp": false,
|
|
1196
1357
|
"hiddenAliases": [],
|
|
1197
|
-
"id": "
|
|
1358
|
+
"id": "evaluators:get",
|
|
1198
1359
|
"pluginAlias": "@respan/cli",
|
|
1199
1360
|
"pluginName": "@respan/cli",
|
|
1200
1361
|
"pluginType": "core",
|
|
@@ -1204,14 +1365,14 @@
|
|
|
1204
1365
|
"relativePath": [
|
|
1205
1366
|
"dist",
|
|
1206
1367
|
"commands",
|
|
1207
|
-
"
|
|
1208
|
-
"
|
|
1368
|
+
"evaluators",
|
|
1369
|
+
"get.js"
|
|
1209
1370
|
]
|
|
1210
1371
|
},
|
|
1211
|
-
"evaluators:
|
|
1372
|
+
"evaluators:list": {
|
|
1212
1373
|
"aliases": [],
|
|
1213
1374
|
"args": {},
|
|
1214
|
-
"description": "
|
|
1375
|
+
"description": "List evaluators",
|
|
1215
1376
|
"flags": {
|
|
1216
1377
|
"api-key": {
|
|
1217
1378
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1254,31 +1415,18 @@
|
|
|
1254
1415
|
"allowNo": false,
|
|
1255
1416
|
"type": "boolean"
|
|
1256
1417
|
},
|
|
1257
|
-
"
|
|
1258
|
-
"description": "
|
|
1259
|
-
"name": "
|
|
1260
|
-
"
|
|
1261
|
-
"hasDynamicHelp": false,
|
|
1262
|
-
"multiple": false,
|
|
1263
|
-
"type": "option"
|
|
1264
|
-
},
|
|
1265
|
-
"type": {
|
|
1266
|
-
"description": "Evaluator type",
|
|
1267
|
-
"name": "type",
|
|
1418
|
+
"limit": {
|
|
1419
|
+
"description": "Number of results per page",
|
|
1420
|
+
"name": "limit",
|
|
1421
|
+
"default": 20,
|
|
1268
1422
|
"hasDynamicHelp": false,
|
|
1269
1423
|
"multiple": false,
|
|
1270
1424
|
"type": "option"
|
|
1271
1425
|
},
|
|
1272
|
-
"
|
|
1273
|
-
"description": "
|
|
1274
|
-
"name": "
|
|
1275
|
-
"
|
|
1276
|
-
"multiple": false,
|
|
1277
|
-
"type": "option"
|
|
1278
|
-
},
|
|
1279
|
-
"config": {
|
|
1280
|
-
"description": "Evaluator config as JSON string",
|
|
1281
|
-
"name": "config",
|
|
1426
|
+
"page": {
|
|
1427
|
+
"description": "Page number",
|
|
1428
|
+
"name": "page",
|
|
1429
|
+
"default": 1,
|
|
1282
1430
|
"hasDynamicHelp": false,
|
|
1283
1431
|
"multiple": false,
|
|
1284
1432
|
"type": "option"
|
|
@@ -1286,7 +1434,7 @@
|
|
|
1286
1434
|
},
|
|
1287
1435
|
"hasDynamicHelp": false,
|
|
1288
1436
|
"hiddenAliases": [],
|
|
1289
|
-
"id": "evaluators:
|
|
1437
|
+
"id": "evaluators:list",
|
|
1290
1438
|
"pluginAlias": "@respan/cli",
|
|
1291
1439
|
"pluginName": "@respan/cli",
|
|
1292
1440
|
"pluginType": "core",
|
|
@@ -1297,10 +1445,10 @@
|
|
|
1297
1445
|
"dist",
|
|
1298
1446
|
"commands",
|
|
1299
1447
|
"evaluators",
|
|
1300
|
-
"
|
|
1448
|
+
"list.js"
|
|
1301
1449
|
]
|
|
1302
1450
|
},
|
|
1303
|
-
"evaluators:
|
|
1451
|
+
"evaluators:run": {
|
|
1304
1452
|
"aliases": [],
|
|
1305
1453
|
"args": {
|
|
1306
1454
|
"id": {
|
|
@@ -1309,7 +1457,7 @@
|
|
|
1309
1457
|
"required": true
|
|
1310
1458
|
}
|
|
1311
1459
|
},
|
|
1312
|
-
"description": "
|
|
1460
|
+
"description": "Run an evaluator",
|
|
1313
1461
|
"flags": {
|
|
1314
1462
|
"api-key": {
|
|
1315
1463
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1351,11 +1499,32 @@
|
|
|
1351
1499
|
"name": "verbose",
|
|
1352
1500
|
"allowNo": false,
|
|
1353
1501
|
"type": "boolean"
|
|
1502
|
+
},
|
|
1503
|
+
"dataset-id": {
|
|
1504
|
+
"description": "Dataset ID to evaluate against",
|
|
1505
|
+
"name": "dataset-id",
|
|
1506
|
+
"hasDynamicHelp": false,
|
|
1507
|
+
"multiple": false,
|
|
1508
|
+
"type": "option"
|
|
1509
|
+
},
|
|
1510
|
+
"log-ids": {
|
|
1511
|
+
"description": "Comma-separated log/span IDs to evaluate",
|
|
1512
|
+
"name": "log-ids",
|
|
1513
|
+
"hasDynamicHelp": false,
|
|
1514
|
+
"multiple": false,
|
|
1515
|
+
"type": "option"
|
|
1516
|
+
},
|
|
1517
|
+
"params": {
|
|
1518
|
+
"description": "Additional parameters as JSON string",
|
|
1519
|
+
"name": "params",
|
|
1520
|
+
"hasDynamicHelp": false,
|
|
1521
|
+
"multiple": false,
|
|
1522
|
+
"type": "option"
|
|
1354
1523
|
}
|
|
1355
1524
|
},
|
|
1356
1525
|
"hasDynamicHelp": false,
|
|
1357
1526
|
"hiddenAliases": [],
|
|
1358
|
-
"id": "evaluators:
|
|
1527
|
+
"id": "evaluators:run",
|
|
1359
1528
|
"pluginAlias": "@respan/cli",
|
|
1360
1529
|
"pluginName": "@respan/cli",
|
|
1361
1530
|
"pluginType": "core",
|
|
@@ -1366,13 +1535,19 @@
|
|
|
1366
1535
|
"dist",
|
|
1367
1536
|
"commands",
|
|
1368
1537
|
"evaluators",
|
|
1369
|
-
"
|
|
1538
|
+
"run.js"
|
|
1370
1539
|
]
|
|
1371
1540
|
},
|
|
1372
|
-
"evaluators:
|
|
1541
|
+
"evaluators:update": {
|
|
1373
1542
|
"aliases": [],
|
|
1374
|
-
"args": {
|
|
1375
|
-
|
|
1543
|
+
"args": {
|
|
1544
|
+
"id": {
|
|
1545
|
+
"description": "Evaluator ID",
|
|
1546
|
+
"name": "id",
|
|
1547
|
+
"required": true
|
|
1548
|
+
}
|
|
1549
|
+
},
|
|
1550
|
+
"description": "Update an evaluator",
|
|
1376
1551
|
"flags": {
|
|
1377
1552
|
"api-key": {
|
|
1378
1553
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1415,18 +1590,23 @@
|
|
|
1415
1590
|
"allowNo": false,
|
|
1416
1591
|
"type": "boolean"
|
|
1417
1592
|
},
|
|
1418
|
-
"
|
|
1419
|
-
"description": "
|
|
1420
|
-
"name": "
|
|
1421
|
-
"default": 20,
|
|
1593
|
+
"name": {
|
|
1594
|
+
"description": "Evaluator name",
|
|
1595
|
+
"name": "name",
|
|
1422
1596
|
"hasDynamicHelp": false,
|
|
1423
1597
|
"multiple": false,
|
|
1424
1598
|
"type": "option"
|
|
1425
1599
|
},
|
|
1426
|
-
"
|
|
1427
|
-
"description": "
|
|
1428
|
-
"name": "
|
|
1429
|
-
"
|
|
1600
|
+
"description": {
|
|
1601
|
+
"description": "Evaluator description",
|
|
1602
|
+
"name": "description",
|
|
1603
|
+
"hasDynamicHelp": false,
|
|
1604
|
+
"multiple": false,
|
|
1605
|
+
"type": "option"
|
|
1606
|
+
},
|
|
1607
|
+
"config": {
|
|
1608
|
+
"description": "Evaluator config as JSON string",
|
|
1609
|
+
"name": "config",
|
|
1430
1610
|
"hasDynamicHelp": false,
|
|
1431
1611
|
"multiple": false,
|
|
1432
1612
|
"type": "option"
|
|
@@ -1434,7 +1614,7 @@
|
|
|
1434
1614
|
},
|
|
1435
1615
|
"hasDynamicHelp": false,
|
|
1436
1616
|
"hiddenAliases": [],
|
|
1437
|
-
"id": "evaluators:
|
|
1617
|
+
"id": "evaluators:update",
|
|
1438
1618
|
"pluginAlias": "@respan/cli",
|
|
1439
1619
|
"pluginName": "@respan/cli",
|
|
1440
1620
|
"pluginType": "core",
|
|
@@ -1445,19 +1625,13 @@
|
|
|
1445
1625
|
"dist",
|
|
1446
1626
|
"commands",
|
|
1447
1627
|
"evaluators",
|
|
1448
|
-
"
|
|
1628
|
+
"update.js"
|
|
1449
1629
|
]
|
|
1450
1630
|
},
|
|
1451
|
-
"
|
|
1631
|
+
"experiments:create": {
|
|
1452
1632
|
"aliases": [],
|
|
1453
|
-
"args": {
|
|
1454
|
-
|
|
1455
|
-
"description": "Evaluator ID",
|
|
1456
|
-
"name": "id",
|
|
1457
|
-
"required": true
|
|
1458
|
-
}
|
|
1459
|
-
},
|
|
1460
|
-
"description": "Run an evaluator",
|
|
1633
|
+
"args": {},
|
|
1634
|
+
"description": "Create a new experiment",
|
|
1461
1635
|
"flags": {
|
|
1462
1636
|
"api-key": {
|
|
1463
1637
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1500,23 +1674,32 @@
|
|
|
1500
1674
|
"allowNo": false,
|
|
1501
1675
|
"type": "boolean"
|
|
1502
1676
|
},
|
|
1677
|
+
"name": {
|
|
1678
|
+
"description": "Experiment name",
|
|
1679
|
+
"name": "name",
|
|
1680
|
+
"required": true,
|
|
1681
|
+
"hasDynamicHelp": false,
|
|
1682
|
+
"multiple": false,
|
|
1683
|
+
"type": "option"
|
|
1684
|
+
},
|
|
1503
1685
|
"dataset-id": {
|
|
1504
|
-
"description": "Dataset ID
|
|
1686
|
+
"description": "Dataset ID",
|
|
1505
1687
|
"name": "dataset-id",
|
|
1688
|
+
"required": true,
|
|
1506
1689
|
"hasDynamicHelp": false,
|
|
1507
1690
|
"multiple": false,
|
|
1508
1691
|
"type": "option"
|
|
1509
1692
|
},
|
|
1510
|
-
"
|
|
1511
|
-
"description": "
|
|
1512
|
-
"name": "
|
|
1693
|
+
"description": {
|
|
1694
|
+
"description": "Experiment description",
|
|
1695
|
+
"name": "description",
|
|
1513
1696
|
"hasDynamicHelp": false,
|
|
1514
1697
|
"multiple": false,
|
|
1515
1698
|
"type": "option"
|
|
1516
1699
|
},
|
|
1517
|
-
"
|
|
1518
|
-
"description": "
|
|
1519
|
-
"name": "
|
|
1700
|
+
"workflows": {
|
|
1701
|
+
"description": "Workflows configuration as JSON string",
|
|
1702
|
+
"name": "workflows",
|
|
1520
1703
|
"hasDynamicHelp": false,
|
|
1521
1704
|
"multiple": false,
|
|
1522
1705
|
"type": "option"
|
|
@@ -1524,7 +1707,7 @@
|
|
|
1524
1707
|
},
|
|
1525
1708
|
"hasDynamicHelp": false,
|
|
1526
1709
|
"hiddenAliases": [],
|
|
1527
|
-
"id": "
|
|
1710
|
+
"id": "experiments:create",
|
|
1528
1711
|
"pluginAlias": "@respan/cli",
|
|
1529
1712
|
"pluginName": "@respan/cli",
|
|
1530
1713
|
"pluginType": "core",
|
|
@@ -1534,20 +1717,20 @@
|
|
|
1534
1717
|
"relativePath": [
|
|
1535
1718
|
"dist",
|
|
1536
1719
|
"commands",
|
|
1537
|
-
"
|
|
1538
|
-
"
|
|
1720
|
+
"experiments",
|
|
1721
|
+
"create.js"
|
|
1539
1722
|
]
|
|
1540
1723
|
},
|
|
1541
|
-
"
|
|
1724
|
+
"experiments:get": {
|
|
1542
1725
|
"aliases": [],
|
|
1543
1726
|
"args": {
|
|
1544
1727
|
"id": {
|
|
1545
|
-
"description": "
|
|
1728
|
+
"description": "Experiment ID",
|
|
1546
1729
|
"name": "id",
|
|
1547
1730
|
"required": true
|
|
1548
1731
|
}
|
|
1549
1732
|
},
|
|
1550
|
-
"description": "
|
|
1733
|
+
"description": "Get a specific experiment",
|
|
1551
1734
|
"flags": {
|
|
1552
1735
|
"api-key": {
|
|
1553
1736
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1589,24 +1772,82 @@
|
|
|
1589
1772
|
"name": "verbose",
|
|
1590
1773
|
"allowNo": false,
|
|
1591
1774
|
"type": "boolean"
|
|
1775
|
+
}
|
|
1776
|
+
},
|
|
1777
|
+
"hasDynamicHelp": false,
|
|
1778
|
+
"hiddenAliases": [],
|
|
1779
|
+
"id": "experiments:get",
|
|
1780
|
+
"pluginAlias": "@respan/cli",
|
|
1781
|
+
"pluginName": "@respan/cli",
|
|
1782
|
+
"pluginType": "core",
|
|
1783
|
+
"strict": true,
|
|
1784
|
+
"enableJsonFlag": false,
|
|
1785
|
+
"isESM": true,
|
|
1786
|
+
"relativePath": [
|
|
1787
|
+
"dist",
|
|
1788
|
+
"commands",
|
|
1789
|
+
"experiments",
|
|
1790
|
+
"get.js"
|
|
1791
|
+
]
|
|
1792
|
+
},
|
|
1793
|
+
"experiments:list": {
|
|
1794
|
+
"aliases": [],
|
|
1795
|
+
"args": {},
|
|
1796
|
+
"description": "List experiments",
|
|
1797
|
+
"flags": {
|
|
1798
|
+
"api-key": {
|
|
1799
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
1800
|
+
"env": "RESPAN_API_KEY",
|
|
1801
|
+
"name": "api-key",
|
|
1802
|
+
"hasDynamicHelp": false,
|
|
1803
|
+
"multiple": false,
|
|
1804
|
+
"type": "option"
|
|
1592
1805
|
},
|
|
1593
|
-
"
|
|
1594
|
-
"description": "
|
|
1595
|
-
"name": "
|
|
1806
|
+
"base-url": {
|
|
1807
|
+
"description": "Temporary API base URL override for this command",
|
|
1808
|
+
"name": "base-url",
|
|
1596
1809
|
"hasDynamicHelp": false,
|
|
1597
1810
|
"multiple": false,
|
|
1598
1811
|
"type": "option"
|
|
1599
1812
|
},
|
|
1600
|
-
"
|
|
1601
|
-
"description": "
|
|
1602
|
-
"name": "
|
|
1813
|
+
"profile": {
|
|
1814
|
+
"description": "Named profile to use",
|
|
1815
|
+
"name": "profile",
|
|
1603
1816
|
"hasDynamicHelp": false,
|
|
1604
1817
|
"multiple": false,
|
|
1605
1818
|
"type": "option"
|
|
1606
1819
|
},
|
|
1607
|
-
"
|
|
1608
|
-
"description": "
|
|
1609
|
-
"name": "
|
|
1820
|
+
"json": {
|
|
1821
|
+
"description": "Output as JSON",
|
|
1822
|
+
"name": "json",
|
|
1823
|
+
"allowNo": false,
|
|
1824
|
+
"type": "boolean"
|
|
1825
|
+
},
|
|
1826
|
+
"csv": {
|
|
1827
|
+
"description": "Output as CSV",
|
|
1828
|
+
"name": "csv",
|
|
1829
|
+
"allowNo": false,
|
|
1830
|
+
"type": "boolean"
|
|
1831
|
+
},
|
|
1832
|
+
"verbose": {
|
|
1833
|
+
"char": "v",
|
|
1834
|
+
"description": "Show verbose output",
|
|
1835
|
+
"name": "verbose",
|
|
1836
|
+
"allowNo": false,
|
|
1837
|
+
"type": "boolean"
|
|
1838
|
+
},
|
|
1839
|
+
"limit": {
|
|
1840
|
+
"description": "Number of results per page",
|
|
1841
|
+
"name": "limit",
|
|
1842
|
+
"default": 20,
|
|
1843
|
+
"hasDynamicHelp": false,
|
|
1844
|
+
"multiple": false,
|
|
1845
|
+
"type": "option"
|
|
1846
|
+
},
|
|
1847
|
+
"page": {
|
|
1848
|
+
"description": "Page number",
|
|
1849
|
+
"name": "page",
|
|
1850
|
+
"default": 1,
|
|
1610
1851
|
"hasDynamicHelp": false,
|
|
1611
1852
|
"multiple": false,
|
|
1612
1853
|
"type": "option"
|
|
@@ -1614,7 +1855,7 @@
|
|
|
1614
1855
|
},
|
|
1615
1856
|
"hasDynamicHelp": false,
|
|
1616
1857
|
"hiddenAliases": [],
|
|
1617
|
-
"id": "
|
|
1858
|
+
"id": "experiments:list",
|
|
1618
1859
|
"pluginAlias": "@respan/cli",
|
|
1619
1860
|
"pluginName": "@respan/cli",
|
|
1620
1861
|
"pluginType": "core",
|
|
@@ -1624,8 +1865,8 @@
|
|
|
1624
1865
|
"relativePath": [
|
|
1625
1866
|
"dist",
|
|
1626
1867
|
"commands",
|
|
1627
|
-
"
|
|
1628
|
-
"
|
|
1868
|
+
"experiments",
|
|
1869
|
+
"list.js"
|
|
1629
1870
|
]
|
|
1630
1871
|
},
|
|
1631
1872
|
"integrate:claude-code": {
|
|
@@ -2234,10 +2475,10 @@
|
|
|
2234
2475
|
"opencode.js"
|
|
2235
2476
|
]
|
|
2236
2477
|
},
|
|
2237
|
-
"
|
|
2478
|
+
"logs:create": {
|
|
2238
2479
|
"aliases": [],
|
|
2239
2480
|
"args": {},
|
|
2240
|
-
"description": "Create a
|
|
2481
|
+
"description": "Create a log span",
|
|
2241
2482
|
"flags": {
|
|
2242
2483
|
"api-key": {
|
|
2243
2484
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2280,32 +2521,31 @@
|
|
|
2280
2521
|
"allowNo": false,
|
|
2281
2522
|
"type": "boolean"
|
|
2282
2523
|
},
|
|
2283
|
-
"
|
|
2284
|
-
"description": "
|
|
2285
|
-
"name": "
|
|
2524
|
+
"input": {
|
|
2525
|
+
"description": "Input text or JSON",
|
|
2526
|
+
"name": "input",
|
|
2286
2527
|
"required": true,
|
|
2287
2528
|
"hasDynamicHelp": false,
|
|
2288
2529
|
"multiple": false,
|
|
2289
2530
|
"type": "option"
|
|
2290
2531
|
},
|
|
2291
|
-
"
|
|
2292
|
-
"description": "
|
|
2293
|
-
"name": "
|
|
2294
|
-
"required": true,
|
|
2532
|
+
"output": {
|
|
2533
|
+
"description": "Output text or JSON",
|
|
2534
|
+
"name": "output",
|
|
2295
2535
|
"hasDynamicHelp": false,
|
|
2296
2536
|
"multiple": false,
|
|
2297
2537
|
"type": "option"
|
|
2298
2538
|
},
|
|
2299
|
-
"
|
|
2300
|
-
"description": "
|
|
2301
|
-
"name": "
|
|
2539
|
+
"model": {
|
|
2540
|
+
"description": "Model name",
|
|
2541
|
+
"name": "model",
|
|
2302
2542
|
"hasDynamicHelp": false,
|
|
2303
2543
|
"multiple": false,
|
|
2304
2544
|
"type": "option"
|
|
2305
2545
|
},
|
|
2306
|
-
"
|
|
2307
|
-
"description": "
|
|
2308
|
-
"name": "
|
|
2546
|
+
"metadata": {
|
|
2547
|
+
"description": "Metadata as JSON string",
|
|
2548
|
+
"name": "metadata",
|
|
2309
2549
|
"hasDynamicHelp": false,
|
|
2310
2550
|
"multiple": false,
|
|
2311
2551
|
"type": "option"
|
|
@@ -2313,7 +2553,7 @@
|
|
|
2313
2553
|
},
|
|
2314
2554
|
"hasDynamicHelp": false,
|
|
2315
2555
|
"hiddenAliases": [],
|
|
2316
|
-
"id": "
|
|
2556
|
+
"id": "logs:create",
|
|
2317
2557
|
"pluginAlias": "@respan/cli",
|
|
2318
2558
|
"pluginName": "@respan/cli",
|
|
2319
2559
|
"pluginType": "core",
|
|
@@ -2323,20 +2563,20 @@
|
|
|
2323
2563
|
"relativePath": [
|
|
2324
2564
|
"dist",
|
|
2325
2565
|
"commands",
|
|
2326
|
-
"
|
|
2566
|
+
"logs",
|
|
2327
2567
|
"create.js"
|
|
2328
2568
|
]
|
|
2329
2569
|
},
|
|
2330
|
-
"
|
|
2570
|
+
"logs:get": {
|
|
2331
2571
|
"aliases": [],
|
|
2332
2572
|
"args": {
|
|
2333
2573
|
"id": {
|
|
2334
|
-
"description": "
|
|
2574
|
+
"description": "Span ID",
|
|
2335
2575
|
"name": "id",
|
|
2336
2576
|
"required": true
|
|
2337
2577
|
}
|
|
2338
2578
|
},
|
|
2339
|
-
"description": "Get a specific
|
|
2579
|
+
"description": "Get a specific log span",
|
|
2340
2580
|
"flags": {
|
|
2341
2581
|
"api-key": {
|
|
2342
2582
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2382,7 +2622,7 @@
|
|
|
2382
2622
|
},
|
|
2383
2623
|
"hasDynamicHelp": false,
|
|
2384
2624
|
"hiddenAliases": [],
|
|
2385
|
-
"id": "
|
|
2625
|
+
"id": "logs:get",
|
|
2386
2626
|
"pluginAlias": "@respan/cli",
|
|
2387
2627
|
"pluginName": "@respan/cli",
|
|
2388
2628
|
"pluginType": "core",
|
|
@@ -2392,14 +2632,14 @@
|
|
|
2392
2632
|
"relativePath": [
|
|
2393
2633
|
"dist",
|
|
2394
2634
|
"commands",
|
|
2395
|
-
"
|
|
2635
|
+
"logs",
|
|
2396
2636
|
"get.js"
|
|
2397
2637
|
]
|
|
2398
2638
|
},
|
|
2399
|
-
"
|
|
2639
|
+
"logs:list": {
|
|
2400
2640
|
"aliases": [],
|
|
2401
2641
|
"args": {},
|
|
2402
|
-
"description": "List
|
|
2642
|
+
"description": "List and filter LLM request logs (spans).\n\nSupports pagination, sorting, time range, and server-side filtering.\n\nFILTER SYNTAX: field:operator:value\n\nOPERATORS:\n (empty) Exact match model::gpt-4\n not Not equal status_code:not:200\n gt Greater than cost:gt:0.01\n gte Greater than/equal latency:gte:1.0\n lt Less than cost:lt:0.5\n lte Less than/equal prompt_tokens:lte:100\n contains Contains substring error_message:contains:timeout\n icontains Case-insensitive model:icontains:gpt\n startswith Starts with model:startswith:gpt\n endswith Ends with model:endswith:mini\n in Value in list model:in:gpt-4,gpt-4o\n isnull Is null error_message:isnull:true\n iexact Case-insens. exact status:iexact:success\n\nFILTERABLE FIELDS (logs):\n model, status_code, status, cost, latency, prompt_tokens,\n completion_tokens, customer_identifier, custom_identifier,\n thread_identifier, trace_unique_id, span_name, span_workflow_name,\n environment, log_type, error_message, failed, provider_id,\n deployment_name, prompt_name, prompt_id, unique_id, stream,\n temperature, max_tokens, tokens_per_second, time_to_first_token,\n total_request_tokens, metadata__<key>, scores__<evaluator_id>\n\nEXAMPLES:\n --filter model::gpt-4o --filter cost:gt:0.01\n --filter status_code:not:200\n --filter metadata__env::production\n --filter model:in:gpt-4,gpt-4o",
|
|
2403
2643
|
"flags": {
|
|
2404
2644
|
"api-key": {
|
|
2405
2645
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2443,249 +2683,9 @@
|
|
|
2443
2683
|
"type": "boolean"
|
|
2444
2684
|
},
|
|
2445
2685
|
"limit": {
|
|
2446
|
-
"description": "Number of results per page",
|
|
2686
|
+
"description": "Number of results per page (max 1000)",
|
|
2447
2687
|
"name": "limit",
|
|
2448
|
-
"default":
|
|
2449
|
-
"hasDynamicHelp": false,
|
|
2450
|
-
"multiple": false,
|
|
2451
|
-
"type": "option"
|
|
2452
|
-
},
|
|
2453
|
-
"page": {
|
|
2454
|
-
"description": "Page number",
|
|
2455
|
-
"name": "page",
|
|
2456
|
-
"default": 1,
|
|
2457
|
-
"hasDynamicHelp": false,
|
|
2458
|
-
"multiple": false,
|
|
2459
|
-
"type": "option"
|
|
2460
|
-
}
|
|
2461
|
-
},
|
|
2462
|
-
"hasDynamicHelp": false,
|
|
2463
|
-
"hiddenAliases": [],
|
|
2464
|
-
"id": "experiments:list",
|
|
2465
|
-
"pluginAlias": "@respan/cli",
|
|
2466
|
-
"pluginName": "@respan/cli",
|
|
2467
|
-
"pluginType": "core",
|
|
2468
|
-
"strict": true,
|
|
2469
|
-
"enableJsonFlag": false,
|
|
2470
|
-
"isESM": true,
|
|
2471
|
-
"relativePath": [
|
|
2472
|
-
"dist",
|
|
2473
|
-
"commands",
|
|
2474
|
-
"experiments",
|
|
2475
|
-
"list.js"
|
|
2476
|
-
]
|
|
2477
|
-
},
|
|
2478
|
-
"logs:create": {
|
|
2479
|
-
"aliases": [],
|
|
2480
|
-
"args": {},
|
|
2481
|
-
"description": "Create a log span",
|
|
2482
|
-
"flags": {
|
|
2483
|
-
"api-key": {
|
|
2484
|
-
"description": "API key (env: RESPAN_API_KEY)",
|
|
2485
|
-
"env": "RESPAN_API_KEY",
|
|
2486
|
-
"name": "api-key",
|
|
2487
|
-
"hasDynamicHelp": false,
|
|
2488
|
-
"multiple": false,
|
|
2489
|
-
"type": "option"
|
|
2490
|
-
},
|
|
2491
|
-
"base-url": {
|
|
2492
|
-
"description": "Temporary API base URL override for this command",
|
|
2493
|
-
"name": "base-url",
|
|
2494
|
-
"hasDynamicHelp": false,
|
|
2495
|
-
"multiple": false,
|
|
2496
|
-
"type": "option"
|
|
2497
|
-
},
|
|
2498
|
-
"profile": {
|
|
2499
|
-
"description": "Named profile to use",
|
|
2500
|
-
"name": "profile",
|
|
2501
|
-
"hasDynamicHelp": false,
|
|
2502
|
-
"multiple": false,
|
|
2503
|
-
"type": "option"
|
|
2504
|
-
},
|
|
2505
|
-
"json": {
|
|
2506
|
-
"description": "Output as JSON",
|
|
2507
|
-
"name": "json",
|
|
2508
|
-
"allowNo": false,
|
|
2509
|
-
"type": "boolean"
|
|
2510
|
-
},
|
|
2511
|
-
"csv": {
|
|
2512
|
-
"description": "Output as CSV",
|
|
2513
|
-
"name": "csv",
|
|
2514
|
-
"allowNo": false,
|
|
2515
|
-
"type": "boolean"
|
|
2516
|
-
},
|
|
2517
|
-
"verbose": {
|
|
2518
|
-
"char": "v",
|
|
2519
|
-
"description": "Show verbose output",
|
|
2520
|
-
"name": "verbose",
|
|
2521
|
-
"allowNo": false,
|
|
2522
|
-
"type": "boolean"
|
|
2523
|
-
},
|
|
2524
|
-
"input": {
|
|
2525
|
-
"description": "Input text or JSON",
|
|
2526
|
-
"name": "input",
|
|
2527
|
-
"required": true,
|
|
2528
|
-
"hasDynamicHelp": false,
|
|
2529
|
-
"multiple": false,
|
|
2530
|
-
"type": "option"
|
|
2531
|
-
},
|
|
2532
|
-
"output": {
|
|
2533
|
-
"description": "Output text or JSON",
|
|
2534
|
-
"name": "output",
|
|
2535
|
-
"hasDynamicHelp": false,
|
|
2536
|
-
"multiple": false,
|
|
2537
|
-
"type": "option"
|
|
2538
|
-
},
|
|
2539
|
-
"model": {
|
|
2540
|
-
"description": "Model name",
|
|
2541
|
-
"name": "model",
|
|
2542
|
-
"hasDynamicHelp": false,
|
|
2543
|
-
"multiple": false,
|
|
2544
|
-
"type": "option"
|
|
2545
|
-
},
|
|
2546
|
-
"metadata": {
|
|
2547
|
-
"description": "Metadata as JSON string",
|
|
2548
|
-
"name": "metadata",
|
|
2549
|
-
"hasDynamicHelp": false,
|
|
2550
|
-
"multiple": false,
|
|
2551
|
-
"type": "option"
|
|
2552
|
-
}
|
|
2553
|
-
},
|
|
2554
|
-
"hasDynamicHelp": false,
|
|
2555
|
-
"hiddenAliases": [],
|
|
2556
|
-
"id": "logs:create",
|
|
2557
|
-
"pluginAlias": "@respan/cli",
|
|
2558
|
-
"pluginName": "@respan/cli",
|
|
2559
|
-
"pluginType": "core",
|
|
2560
|
-
"strict": true,
|
|
2561
|
-
"enableJsonFlag": false,
|
|
2562
|
-
"isESM": true,
|
|
2563
|
-
"relativePath": [
|
|
2564
|
-
"dist",
|
|
2565
|
-
"commands",
|
|
2566
|
-
"logs",
|
|
2567
|
-
"create.js"
|
|
2568
|
-
]
|
|
2569
|
-
},
|
|
2570
|
-
"logs:get": {
|
|
2571
|
-
"aliases": [],
|
|
2572
|
-
"args": {
|
|
2573
|
-
"id": {
|
|
2574
|
-
"description": "Span ID",
|
|
2575
|
-
"name": "id",
|
|
2576
|
-
"required": true
|
|
2577
|
-
}
|
|
2578
|
-
},
|
|
2579
|
-
"description": "Get a specific log span",
|
|
2580
|
-
"flags": {
|
|
2581
|
-
"api-key": {
|
|
2582
|
-
"description": "API key (env: RESPAN_API_KEY)",
|
|
2583
|
-
"env": "RESPAN_API_KEY",
|
|
2584
|
-
"name": "api-key",
|
|
2585
|
-
"hasDynamicHelp": false,
|
|
2586
|
-
"multiple": false,
|
|
2587
|
-
"type": "option"
|
|
2588
|
-
},
|
|
2589
|
-
"base-url": {
|
|
2590
|
-
"description": "Temporary API base URL override for this command",
|
|
2591
|
-
"name": "base-url",
|
|
2592
|
-
"hasDynamicHelp": false,
|
|
2593
|
-
"multiple": false,
|
|
2594
|
-
"type": "option"
|
|
2595
|
-
},
|
|
2596
|
-
"profile": {
|
|
2597
|
-
"description": "Named profile to use",
|
|
2598
|
-
"name": "profile",
|
|
2599
|
-
"hasDynamicHelp": false,
|
|
2600
|
-
"multiple": false,
|
|
2601
|
-
"type": "option"
|
|
2602
|
-
},
|
|
2603
|
-
"json": {
|
|
2604
|
-
"description": "Output as JSON",
|
|
2605
|
-
"name": "json",
|
|
2606
|
-
"allowNo": false,
|
|
2607
|
-
"type": "boolean"
|
|
2608
|
-
},
|
|
2609
|
-
"csv": {
|
|
2610
|
-
"description": "Output as CSV",
|
|
2611
|
-
"name": "csv",
|
|
2612
|
-
"allowNo": false,
|
|
2613
|
-
"type": "boolean"
|
|
2614
|
-
},
|
|
2615
|
-
"verbose": {
|
|
2616
|
-
"char": "v",
|
|
2617
|
-
"description": "Show verbose output",
|
|
2618
|
-
"name": "verbose",
|
|
2619
|
-
"allowNo": false,
|
|
2620
|
-
"type": "boolean"
|
|
2621
|
-
}
|
|
2622
|
-
},
|
|
2623
|
-
"hasDynamicHelp": false,
|
|
2624
|
-
"hiddenAliases": [],
|
|
2625
|
-
"id": "logs:get",
|
|
2626
|
-
"pluginAlias": "@respan/cli",
|
|
2627
|
-
"pluginName": "@respan/cli",
|
|
2628
|
-
"pluginType": "core",
|
|
2629
|
-
"strict": true,
|
|
2630
|
-
"enableJsonFlag": false,
|
|
2631
|
-
"isESM": true,
|
|
2632
|
-
"relativePath": [
|
|
2633
|
-
"dist",
|
|
2634
|
-
"commands",
|
|
2635
|
-
"logs",
|
|
2636
|
-
"get.js"
|
|
2637
|
-
]
|
|
2638
|
-
},
|
|
2639
|
-
"logs:list": {
|
|
2640
|
-
"aliases": [],
|
|
2641
|
-
"args": {},
|
|
2642
|
-
"description": "List and filter LLM request logs (spans).\n\nSupports pagination, sorting, time range, and server-side filtering.\n\nFILTER SYNTAX: field:operator:value\n\nOPERATORS:\n (empty) Exact match model::gpt-4\n not Not equal status_code:not:200\n gt Greater than cost:gt:0.01\n gte Greater than/equal latency:gte:1.0\n lt Less than cost:lt:0.5\n lte Less than/equal prompt_tokens:lte:100\n contains Contains substring error_message:contains:timeout\n icontains Case-insensitive model:icontains:gpt\n startswith Starts with model:startswith:gpt\n endswith Ends with model:endswith:mini\n in Value in list model:in:gpt-4,gpt-4o\n isnull Is null error_message:isnull:true\n iexact Case-insens. exact status:iexact:success\n\nFILTERABLE FIELDS (logs):\n model, status_code, status, cost, latency, prompt_tokens,\n completion_tokens, customer_identifier, custom_identifier,\n thread_identifier, trace_unique_id, span_name, span_workflow_name,\n environment, log_type, error_message, failed, provider_id,\n deployment_name, prompt_name, prompt_id, unique_id, stream,\n temperature, max_tokens, tokens_per_second, time_to_first_token,\n total_request_tokens, metadata__<key>, scores__<evaluator_id>\n\nEXAMPLES:\n --filter model::gpt-4o --filter cost:gt:0.01\n --filter status_code:not:200\n --filter metadata__env::production\n --filter model:in:gpt-4,gpt-4o",
|
|
2643
|
-
"flags": {
|
|
2644
|
-
"api-key": {
|
|
2645
|
-
"description": "API key (env: RESPAN_API_KEY)",
|
|
2646
|
-
"env": "RESPAN_API_KEY",
|
|
2647
|
-
"name": "api-key",
|
|
2648
|
-
"hasDynamicHelp": false,
|
|
2649
|
-
"multiple": false,
|
|
2650
|
-
"type": "option"
|
|
2651
|
-
},
|
|
2652
|
-
"base-url": {
|
|
2653
|
-
"description": "Temporary API base URL override for this command",
|
|
2654
|
-
"name": "base-url",
|
|
2655
|
-
"hasDynamicHelp": false,
|
|
2656
|
-
"multiple": false,
|
|
2657
|
-
"type": "option"
|
|
2658
|
-
},
|
|
2659
|
-
"profile": {
|
|
2660
|
-
"description": "Named profile to use",
|
|
2661
|
-
"name": "profile",
|
|
2662
|
-
"hasDynamicHelp": false,
|
|
2663
|
-
"multiple": false,
|
|
2664
|
-
"type": "option"
|
|
2665
|
-
},
|
|
2666
|
-
"json": {
|
|
2667
|
-
"description": "Output as JSON",
|
|
2668
|
-
"name": "json",
|
|
2669
|
-
"allowNo": false,
|
|
2670
|
-
"type": "boolean"
|
|
2671
|
-
},
|
|
2672
|
-
"csv": {
|
|
2673
|
-
"description": "Output as CSV",
|
|
2674
|
-
"name": "csv",
|
|
2675
|
-
"allowNo": false,
|
|
2676
|
-
"type": "boolean"
|
|
2677
|
-
},
|
|
2678
|
-
"verbose": {
|
|
2679
|
-
"char": "v",
|
|
2680
|
-
"description": "Show verbose output",
|
|
2681
|
-
"name": "verbose",
|
|
2682
|
-
"allowNo": false,
|
|
2683
|
-
"type": "boolean"
|
|
2684
|
-
},
|
|
2685
|
-
"limit": {
|
|
2686
|
-
"description": "Number of results per page (max 1000)",
|
|
2687
|
-
"name": "limit",
|
|
2688
|
-
"default": 50,
|
|
2688
|
+
"default": 50,
|
|
2689
2689
|
"hasDynamicHelp": false,
|
|
2690
2690
|
"multiple": false,
|
|
2691
2691
|
"type": "option"
|
|
@@ -2864,16 +2864,16 @@
|
|
|
2864
2864
|
"summary.js"
|
|
2865
2865
|
]
|
|
2866
2866
|
},
|
|
2867
|
-
"
|
|
2867
|
+
"prompts:create-version": {
|
|
2868
2868
|
"aliases": [],
|
|
2869
2869
|
"args": {
|
|
2870
|
-
"id": {
|
|
2871
|
-
"description": "
|
|
2872
|
-
"name": "id",
|
|
2870
|
+
"prompt-id": {
|
|
2871
|
+
"description": "Prompt ID",
|
|
2872
|
+
"name": "prompt-id",
|
|
2873
2873
|
"required": true
|
|
2874
2874
|
}
|
|
2875
2875
|
},
|
|
2876
|
-
"description": "
|
|
2876
|
+
"description": "Create a new version of a prompt",
|
|
2877
2877
|
"flags": {
|
|
2878
2878
|
"api-key": {
|
|
2879
2879
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2915,11 +2915,40 @@
|
|
|
2915
2915
|
"name": "verbose",
|
|
2916
2916
|
"allowNo": false,
|
|
2917
2917
|
"type": "boolean"
|
|
2918
|
+
},
|
|
2919
|
+
"messages": {
|
|
2920
|
+
"description": "Messages as JSON array string",
|
|
2921
|
+
"name": "messages",
|
|
2922
|
+
"required": true,
|
|
2923
|
+
"hasDynamicHelp": false,
|
|
2924
|
+
"multiple": false,
|
|
2925
|
+
"type": "option"
|
|
2926
|
+
},
|
|
2927
|
+
"model": {
|
|
2928
|
+
"description": "Model name",
|
|
2929
|
+
"name": "model",
|
|
2930
|
+
"hasDynamicHelp": false,
|
|
2931
|
+
"multiple": false,
|
|
2932
|
+
"type": "option"
|
|
2933
|
+
},
|
|
2934
|
+
"temperature": {
|
|
2935
|
+
"description": "Temperature value",
|
|
2936
|
+
"name": "temperature",
|
|
2937
|
+
"hasDynamicHelp": false,
|
|
2938
|
+
"multiple": false,
|
|
2939
|
+
"type": "option"
|
|
2940
|
+
},
|
|
2941
|
+
"max-tokens": {
|
|
2942
|
+
"description": "Max tokens",
|
|
2943
|
+
"name": "max-tokens",
|
|
2944
|
+
"hasDynamicHelp": false,
|
|
2945
|
+
"multiple": false,
|
|
2946
|
+
"type": "option"
|
|
2918
2947
|
}
|
|
2919
2948
|
},
|
|
2920
2949
|
"hasDynamicHelp": false,
|
|
2921
2950
|
"hiddenAliases": [],
|
|
2922
|
-
"id": "
|
|
2951
|
+
"id": "prompts:create-version",
|
|
2923
2952
|
"pluginAlias": "@respan/cli",
|
|
2924
2953
|
"pluginName": "@respan/cli",
|
|
2925
2954
|
"pluginType": "core",
|
|
@@ -2929,14 +2958,14 @@
|
|
|
2929
2958
|
"relativePath": [
|
|
2930
2959
|
"dist",
|
|
2931
2960
|
"commands",
|
|
2932
|
-
"
|
|
2933
|
-
"
|
|
2961
|
+
"prompts",
|
|
2962
|
+
"create-version.js"
|
|
2934
2963
|
]
|
|
2935
2964
|
},
|
|
2936
|
-
"
|
|
2965
|
+
"prompts:create": {
|
|
2937
2966
|
"aliases": [],
|
|
2938
2967
|
"args": {},
|
|
2939
|
-
"description": "
|
|
2968
|
+
"description": "Create a new prompt",
|
|
2940
2969
|
"flags": {
|
|
2941
2970
|
"api-key": {
|
|
2942
2971
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2979,62 +3008,25 @@
|
|
|
2979
3008
|
"allowNo": false,
|
|
2980
3009
|
"type": "boolean"
|
|
2981
3010
|
},
|
|
2982
|
-
"
|
|
2983
|
-
"description": "
|
|
2984
|
-
"name": "
|
|
2985
|
-
"
|
|
2986
|
-
"hasDynamicHelp": false,
|
|
2987
|
-
"multiple": false,
|
|
2988
|
-
"type": "option"
|
|
2989
|
-
},
|
|
2990
|
-
"page": {
|
|
2991
|
-
"description": "Page number",
|
|
2992
|
-
"name": "page",
|
|
2993
|
-
"default": 1,
|
|
2994
|
-
"hasDynamicHelp": false,
|
|
2995
|
-
"multiple": false,
|
|
2996
|
-
"type": "option"
|
|
2997
|
-
},
|
|
2998
|
-
"sort-by": {
|
|
2999
|
-
"description": "Sort field (prefix with - for descending)",
|
|
3000
|
-
"name": "sort-by",
|
|
3001
|
-
"default": "-timestamp",
|
|
3002
|
-
"hasDynamicHelp": false,
|
|
3003
|
-
"multiple": false,
|
|
3004
|
-
"type": "option"
|
|
3005
|
-
},
|
|
3006
|
-
"start-time": {
|
|
3007
|
-
"description": "Start time filter (ISO 8601)",
|
|
3008
|
-
"name": "start-time",
|
|
3009
|
-
"hasDynamicHelp": false,
|
|
3010
|
-
"multiple": false,
|
|
3011
|
-
"type": "option"
|
|
3012
|
-
},
|
|
3013
|
-
"end-time": {
|
|
3014
|
-
"description": "End time filter (ISO 8601)",
|
|
3015
|
-
"name": "end-time",
|
|
3011
|
+
"name": {
|
|
3012
|
+
"description": "Prompt name",
|
|
3013
|
+
"name": "name",
|
|
3014
|
+
"required": true,
|
|
3016
3015
|
"hasDynamicHelp": false,
|
|
3017
3016
|
"multiple": false,
|
|
3018
3017
|
"type": "option"
|
|
3019
3018
|
},
|
|
3020
|
-
"
|
|
3021
|
-
"description": "
|
|
3022
|
-
"name": "
|
|
3019
|
+
"description": {
|
|
3020
|
+
"description": "Prompt description",
|
|
3021
|
+
"name": "description",
|
|
3023
3022
|
"hasDynamicHelp": false,
|
|
3024
3023
|
"multiple": false,
|
|
3025
3024
|
"type": "option"
|
|
3026
|
-
},
|
|
3027
|
-
"filter": {
|
|
3028
|
-
"description": "Filter in field:operator:value format (repeatable)",
|
|
3029
|
-
"name": "filter",
|
|
3030
|
-
"hasDynamicHelp": false,
|
|
3031
|
-
"multiple": true,
|
|
3032
|
-
"type": "option"
|
|
3033
3025
|
}
|
|
3034
3026
|
},
|
|
3035
3027
|
"hasDynamicHelp": false,
|
|
3036
3028
|
"hiddenAliases": [],
|
|
3037
|
-
"id": "
|
|
3029
|
+
"id": "prompts:create",
|
|
3038
3030
|
"pluginAlias": "@respan/cli",
|
|
3039
3031
|
"pluginName": "@respan/cli",
|
|
3040
3032
|
"pluginType": "core",
|
|
@@ -3044,14 +3036,20 @@
|
|
|
3044
3036
|
"relativePath": [
|
|
3045
3037
|
"dist",
|
|
3046
3038
|
"commands",
|
|
3047
|
-
"
|
|
3048
|
-
"
|
|
3039
|
+
"prompts",
|
|
3040
|
+
"create.js"
|
|
3049
3041
|
]
|
|
3050
3042
|
},
|
|
3051
|
-
"
|
|
3043
|
+
"prompts:get": {
|
|
3052
3044
|
"aliases": [],
|
|
3053
|
-
"args": {
|
|
3054
|
-
|
|
3045
|
+
"args": {
|
|
3046
|
+
"id": {
|
|
3047
|
+
"description": "Prompt ID",
|
|
3048
|
+
"name": "id",
|
|
3049
|
+
"required": true
|
|
3050
|
+
}
|
|
3051
|
+
},
|
|
3052
|
+
"description": "Get a specific prompt",
|
|
3055
3053
|
"flags": {
|
|
3056
3054
|
"api-key": {
|
|
3057
3055
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3093,27 +3091,11 @@
|
|
|
3093
3091
|
"name": "verbose",
|
|
3094
3092
|
"allowNo": false,
|
|
3095
3093
|
"type": "boolean"
|
|
3096
|
-
},
|
|
3097
|
-
"start-time": {
|
|
3098
|
-
"description": "Start time (ISO 8601)",
|
|
3099
|
-
"name": "start-time",
|
|
3100
|
-
"required": true,
|
|
3101
|
-
"hasDynamicHelp": false,
|
|
3102
|
-
"multiple": false,
|
|
3103
|
-
"type": "option"
|
|
3104
|
-
},
|
|
3105
|
-
"end-time": {
|
|
3106
|
-
"description": "End time (ISO 8601)",
|
|
3107
|
-
"name": "end-time",
|
|
3108
|
-
"required": true,
|
|
3109
|
-
"hasDynamicHelp": false,
|
|
3110
|
-
"multiple": false,
|
|
3111
|
-
"type": "option"
|
|
3112
3094
|
}
|
|
3113
3095
|
},
|
|
3114
3096
|
"hasDynamicHelp": false,
|
|
3115
3097
|
"hiddenAliases": [],
|
|
3116
|
-
"id": "
|
|
3098
|
+
"id": "prompts:get",
|
|
3117
3099
|
"pluginAlias": "@respan/cli",
|
|
3118
3100
|
"pluginName": "@respan/cli",
|
|
3119
3101
|
"pluginType": "core",
|
|
@@ -3123,18 +3105,14 @@
|
|
|
3123
3105
|
"relativePath": [
|
|
3124
3106
|
"dist",
|
|
3125
3107
|
"commands",
|
|
3126
|
-
"
|
|
3127
|
-
"
|
|
3108
|
+
"prompts",
|
|
3109
|
+
"get.js"
|
|
3128
3110
|
]
|
|
3129
3111
|
},
|
|
3130
|
-
"
|
|
3112
|
+
"prompts:list": {
|
|
3131
3113
|
"aliases": [],
|
|
3132
3114
|
"args": {},
|
|
3133
|
-
"description": "
|
|
3134
|
-
"examples": [
|
|
3135
|
-
"respan setup doctor",
|
|
3136
|
-
"respan setup doctor --global"
|
|
3137
|
-
],
|
|
3115
|
+
"description": "List prompts",
|
|
3138
3116
|
"flags": {
|
|
3139
3117
|
"api-key": {
|
|
3140
3118
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3177,28 +3155,18 @@
|
|
|
3177
3155
|
"allowNo": false,
|
|
3178
3156
|
"type": "boolean"
|
|
3179
3157
|
},
|
|
3180
|
-
"
|
|
3181
|
-
"description": "
|
|
3182
|
-
"
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
"
|
|
3186
|
-
"
|
|
3187
|
-
"type": "boolean"
|
|
3188
|
-
},
|
|
3189
|
-
"global": {
|
|
3190
|
-
"description": "Check global setup",
|
|
3191
|
-
"exclusive": [
|
|
3192
|
-
"local"
|
|
3193
|
-
],
|
|
3194
|
-
"name": "global",
|
|
3195
|
-
"allowNo": false,
|
|
3196
|
-
"type": "boolean"
|
|
3158
|
+
"limit": {
|
|
3159
|
+
"description": "Number of results per page",
|
|
3160
|
+
"name": "limit",
|
|
3161
|
+
"default": 50,
|
|
3162
|
+
"hasDynamicHelp": false,
|
|
3163
|
+
"multiple": false,
|
|
3164
|
+
"type": "option"
|
|
3197
3165
|
}
|
|
3198
3166
|
},
|
|
3199
3167
|
"hasDynamicHelp": false,
|
|
3200
3168
|
"hiddenAliases": [],
|
|
3201
|
-
"id": "
|
|
3169
|
+
"id": "prompts:list",
|
|
3202
3170
|
"pluginAlias": "@respan/cli",
|
|
3203
3171
|
"pluginName": "@respan/cli",
|
|
3204
3172
|
"pluginType": "core",
|
|
@@ -3208,19 +3176,20 @@
|
|
|
3208
3176
|
"relativePath": [
|
|
3209
3177
|
"dist",
|
|
3210
3178
|
"commands",
|
|
3211
|
-
"
|
|
3212
|
-
"
|
|
3179
|
+
"prompts",
|
|
3180
|
+
"list.js"
|
|
3213
3181
|
]
|
|
3214
3182
|
},
|
|
3215
|
-
"
|
|
3183
|
+
"prompts:update": {
|
|
3216
3184
|
"aliases": [],
|
|
3217
|
-
"args": {
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3185
|
+
"args": {
|
|
3186
|
+
"id": {
|
|
3187
|
+
"description": "Prompt ID",
|
|
3188
|
+
"name": "id",
|
|
3189
|
+
"required": true
|
|
3190
|
+
}
|
|
3191
|
+
},
|
|
3192
|
+
"description": "Update a prompt",
|
|
3224
3193
|
"flags": {
|
|
3225
3194
|
"api-key": {
|
|
3226
3195
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3245,13 +3214,13 @@
|
|
|
3245
3214
|
"type": "option"
|
|
3246
3215
|
},
|
|
3247
3216
|
"json": {
|
|
3248
|
-
"
|
|
3217
|
+
"description": "Output as JSON",
|
|
3249
3218
|
"name": "json",
|
|
3250
3219
|
"allowNo": false,
|
|
3251
3220
|
"type": "boolean"
|
|
3252
3221
|
},
|
|
3253
3222
|
"csv": {
|
|
3254
|
-
"
|
|
3223
|
+
"description": "Output as CSV",
|
|
3255
3224
|
"name": "csv",
|
|
3256
3225
|
"allowNo": false,
|
|
3257
3226
|
"type": "boolean"
|
|
@@ -3263,23 +3232,24 @@
|
|
|
3263
3232
|
"allowNo": false,
|
|
3264
3233
|
"type": "boolean"
|
|
3265
3234
|
},
|
|
3266
|
-
"
|
|
3267
|
-
"description": "
|
|
3268
|
-
"name": "
|
|
3235
|
+
"name": {
|
|
3236
|
+
"description": "Prompt name",
|
|
3237
|
+
"name": "name",
|
|
3269
3238
|
"hasDynamicHelp": false,
|
|
3270
3239
|
"multiple": false,
|
|
3271
3240
|
"type": "option"
|
|
3272
3241
|
},
|
|
3273
|
-
"
|
|
3274
|
-
"description": "
|
|
3275
|
-
"name": "
|
|
3276
|
-
"
|
|
3277
|
-
"
|
|
3242
|
+
"description": {
|
|
3243
|
+
"description": "Prompt description",
|
|
3244
|
+
"name": "description",
|
|
3245
|
+
"hasDynamicHelp": false,
|
|
3246
|
+
"multiple": false,
|
|
3247
|
+
"type": "option"
|
|
3278
3248
|
}
|
|
3279
3249
|
},
|
|
3280
3250
|
"hasDynamicHelp": false,
|
|
3281
3251
|
"hiddenAliases": [],
|
|
3282
|
-
"id": "
|
|
3252
|
+
"id": "prompts:update",
|
|
3283
3253
|
"pluginAlias": "@respan/cli",
|
|
3284
3254
|
"pluginName": "@respan/cli",
|
|
3285
3255
|
"pluginType": "core",
|
|
@@ -3287,24 +3257,22 @@
|
|
|
3287
3257
|
"enableJsonFlag": false,
|
|
3288
3258
|
"isESM": true,
|
|
3289
3259
|
"relativePath": [
|
|
3290
|
-
"dist",
|
|
3291
|
-
"commands",
|
|
3292
|
-
"
|
|
3293
|
-
"
|
|
3294
|
-
]
|
|
3295
|
-
},
|
|
3296
|
-
"
|
|
3297
|
-
"aliases": [],
|
|
3298
|
-
"args": {
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
"respan setup --no-instrument"
|
|
3307
|
-
],
|
|
3260
|
+
"dist",
|
|
3261
|
+
"commands",
|
|
3262
|
+
"prompts",
|
|
3263
|
+
"update.js"
|
|
3264
|
+
]
|
|
3265
|
+
},
|
|
3266
|
+
"prompts:versions": {
|
|
3267
|
+
"aliases": [],
|
|
3268
|
+
"args": {
|
|
3269
|
+
"prompt-id": {
|
|
3270
|
+
"description": "Prompt ID",
|
|
3271
|
+
"name": "prompt-id",
|
|
3272
|
+
"required": true
|
|
3273
|
+
}
|
|
3274
|
+
},
|
|
3275
|
+
"description": "List versions of a prompt",
|
|
3308
3276
|
"flags": {
|
|
3309
3277
|
"api-key": {
|
|
3310
3278
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3329,13 +3297,13 @@
|
|
|
3329
3297
|
"type": "option"
|
|
3330
3298
|
},
|
|
3331
3299
|
"json": {
|
|
3332
|
-
"
|
|
3300
|
+
"description": "Output as JSON",
|
|
3333
3301
|
"name": "json",
|
|
3334
3302
|
"allowNo": false,
|
|
3335
3303
|
"type": "boolean"
|
|
3336
3304
|
},
|
|
3337
3305
|
"csv": {
|
|
3338
|
-
"
|
|
3306
|
+
"description": "Output as CSV",
|
|
3339
3307
|
"name": "csv",
|
|
3340
3308
|
"allowNo": false,
|
|
3341
3309
|
"type": "boolean"
|
|
@@ -3346,24 +3314,11 @@
|
|
|
3346
3314
|
"name": "verbose",
|
|
3347
3315
|
"allowNo": false,
|
|
3348
3316
|
"type": "boolean"
|
|
3349
|
-
},
|
|
3350
|
-
"agent": {
|
|
3351
|
-
"description": "Agent to configure (claude-code, cursor, codex-cli, gemini-cli, opencode)",
|
|
3352
|
-
"name": "agent",
|
|
3353
|
-
"hasDynamicHelp": false,
|
|
3354
|
-
"multiple": false,
|
|
3355
|
-
"type": "option"
|
|
3356
|
-
},
|
|
3357
|
-
"no-instrument": {
|
|
3358
|
-
"description": "Skip opening the agent after setup",
|
|
3359
|
-
"name": "no-instrument",
|
|
3360
|
-
"allowNo": false,
|
|
3361
|
-
"type": "boolean"
|
|
3362
3317
|
}
|
|
3363
3318
|
},
|
|
3364
3319
|
"hasDynamicHelp": false,
|
|
3365
3320
|
"hiddenAliases": [],
|
|
3366
|
-
"id": "
|
|
3321
|
+
"id": "prompts:versions",
|
|
3367
3322
|
"pluginAlias": "@respan/cli",
|
|
3368
3323
|
"pluginName": "@respan/cli",
|
|
3369
3324
|
"pluginType": "core",
|
|
@@ -3373,18 +3328,17 @@
|
|
|
3373
3328
|
"relativePath": [
|
|
3374
3329
|
"dist",
|
|
3375
3330
|
"commands",
|
|
3376
|
-
"
|
|
3377
|
-
"
|
|
3331
|
+
"prompts",
|
|
3332
|
+
"versions.js"
|
|
3378
3333
|
]
|
|
3379
3334
|
},
|
|
3380
|
-
"setup:
|
|
3335
|
+
"setup:doctor": {
|
|
3381
3336
|
"aliases": [],
|
|
3382
3337
|
"args": {},
|
|
3383
|
-
"description": "
|
|
3338
|
+
"description": "Diagnose coding-agent setup for Respan",
|
|
3384
3339
|
"examples": [
|
|
3385
|
-
"respan setup
|
|
3386
|
-
"respan setup
|
|
3387
|
-
"respan setup tracing --no-instrument"
|
|
3340
|
+
"respan setup doctor",
|
|
3341
|
+
"respan setup doctor --global"
|
|
3388
3342
|
],
|
|
3389
3343
|
"flags": {
|
|
3390
3344
|
"api-key": {
|
|
@@ -3410,13 +3364,13 @@
|
|
|
3410
3364
|
"type": "option"
|
|
3411
3365
|
},
|
|
3412
3366
|
"json": {
|
|
3413
|
-
"
|
|
3367
|
+
"description": "Output as JSON",
|
|
3414
3368
|
"name": "json",
|
|
3415
3369
|
"allowNo": false,
|
|
3416
3370
|
"type": "boolean"
|
|
3417
3371
|
},
|
|
3418
3372
|
"csv": {
|
|
3419
|
-
"
|
|
3373
|
+
"description": "Output as CSV",
|
|
3420
3374
|
"name": "csv",
|
|
3421
3375
|
"allowNo": false,
|
|
3422
3376
|
"type": "boolean"
|
|
@@ -3428,23 +3382,28 @@
|
|
|
3428
3382
|
"allowNo": false,
|
|
3429
3383
|
"type": "boolean"
|
|
3430
3384
|
},
|
|
3431
|
-
"
|
|
3432
|
-
"description": "
|
|
3433
|
-
"
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
"
|
|
3385
|
+
"local": {
|
|
3386
|
+
"description": "Check local project setup",
|
|
3387
|
+
"exclusive": [
|
|
3388
|
+
"global"
|
|
3389
|
+
],
|
|
3390
|
+
"name": "local",
|
|
3391
|
+
"allowNo": false,
|
|
3392
|
+
"type": "boolean"
|
|
3437
3393
|
},
|
|
3438
|
-
"
|
|
3439
|
-
"description": "
|
|
3440
|
-
"
|
|
3394
|
+
"global": {
|
|
3395
|
+
"description": "Check global setup",
|
|
3396
|
+
"exclusive": [
|
|
3397
|
+
"local"
|
|
3398
|
+
],
|
|
3399
|
+
"name": "global",
|
|
3441
3400
|
"allowNo": false,
|
|
3442
3401
|
"type": "boolean"
|
|
3443
3402
|
}
|
|
3444
3403
|
},
|
|
3445
3404
|
"hasDynamicHelp": false,
|
|
3446
3405
|
"hiddenAliases": [],
|
|
3447
|
-
"id": "setup:
|
|
3406
|
+
"id": "setup:doctor",
|
|
3448
3407
|
"pluginAlias": "@respan/cli",
|
|
3449
3408
|
"pluginName": "@respan/cli",
|
|
3450
3409
|
"pluginType": "core",
|
|
@@ -3455,13 +3414,18 @@
|
|
|
3455
3414
|
"dist",
|
|
3456
3415
|
"commands",
|
|
3457
3416
|
"setup",
|
|
3458
|
-
"
|
|
3417
|
+
"doctor.js"
|
|
3459
3418
|
]
|
|
3460
3419
|
},
|
|
3461
|
-
"
|
|
3420
|
+
"setup:gateway": {
|
|
3462
3421
|
"aliases": [],
|
|
3463
3422
|
"args": {},
|
|
3464
|
-
"description": "
|
|
3423
|
+
"description": "Set up Respan gateway routing in this project.\n\nRuns the gateway setup flow directly (skips the \"Tracing or Gateway?\"\nquestion). Sets up your API key, installs the Respan skill, and optionally\nopens your coding agent to route the detected framework through the gateway.",
|
|
3424
|
+
"examples": [
|
|
3425
|
+
"respan setup gateway",
|
|
3426
|
+
"respan setup gateway --agent claude-code",
|
|
3427
|
+
"respan setup gateway --no-instrument"
|
|
3428
|
+
],
|
|
3465
3429
|
"flags": {
|
|
3466
3430
|
"api-key": {
|
|
3467
3431
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3486,13 +3450,13 @@
|
|
|
3486
3450
|
"type": "option"
|
|
3487
3451
|
},
|
|
3488
3452
|
"json": {
|
|
3489
|
-
"
|
|
3453
|
+
"hidden": true,
|
|
3490
3454
|
"name": "json",
|
|
3491
3455
|
"allowNo": false,
|
|
3492
3456
|
"type": "boolean"
|
|
3493
3457
|
},
|
|
3494
3458
|
"csv": {
|
|
3495
|
-
"
|
|
3459
|
+
"hidden": true,
|
|
3496
3460
|
"name": "csv",
|
|
3497
3461
|
"allowNo": false,
|
|
3498
3462
|
"type": "boolean"
|
|
@@ -3504,39 +3468,23 @@
|
|
|
3504
3468
|
"allowNo": false,
|
|
3505
3469
|
"type": "boolean"
|
|
3506
3470
|
},
|
|
3507
|
-
"
|
|
3508
|
-
"description": "
|
|
3509
|
-
"name": "
|
|
3510
|
-
"required": true,
|
|
3511
|
-
"hasDynamicHelp": false,
|
|
3512
|
-
"multiple": false,
|
|
3513
|
-
"type": "option"
|
|
3514
|
-
},
|
|
3515
|
-
"name": {
|
|
3516
|
-
"description": "Customer name",
|
|
3517
|
-
"name": "name",
|
|
3518
|
-
"hasDynamicHelp": false,
|
|
3519
|
-
"multiple": false,
|
|
3520
|
-
"type": "option"
|
|
3521
|
-
},
|
|
3522
|
-
"email": {
|
|
3523
|
-
"description": "Customer email",
|
|
3524
|
-
"name": "email",
|
|
3471
|
+
"agent": {
|
|
3472
|
+
"description": "Agent to configure (claude-code, cursor, codex-cli, gemini-cli, opencode)",
|
|
3473
|
+
"name": "agent",
|
|
3525
3474
|
"hasDynamicHelp": false,
|
|
3526
3475
|
"multiple": false,
|
|
3527
3476
|
"type": "option"
|
|
3528
3477
|
},
|
|
3529
|
-
"
|
|
3530
|
-
"description": "
|
|
3531
|
-
"name": "
|
|
3532
|
-
"
|
|
3533
|
-
"
|
|
3534
|
-
"type": "option"
|
|
3478
|
+
"no-instrument": {
|
|
3479
|
+
"description": "Skip opening the agent after setup",
|
|
3480
|
+
"name": "no-instrument",
|
|
3481
|
+
"allowNo": false,
|
|
3482
|
+
"type": "boolean"
|
|
3535
3483
|
}
|
|
3536
3484
|
},
|
|
3537
3485
|
"hasDynamicHelp": false,
|
|
3538
3486
|
"hiddenAliases": [],
|
|
3539
|
-
"id": "
|
|
3487
|
+
"id": "setup:gateway",
|
|
3540
3488
|
"pluginAlias": "@respan/cli",
|
|
3541
3489
|
"pluginName": "@respan/cli",
|
|
3542
3490
|
"pluginType": "core",
|
|
@@ -3546,20 +3494,22 @@
|
|
|
3546
3494
|
"relativePath": [
|
|
3547
3495
|
"dist",
|
|
3548
3496
|
"commands",
|
|
3549
|
-
"
|
|
3550
|
-
"
|
|
3497
|
+
"setup",
|
|
3498
|
+
"gateway.js"
|
|
3551
3499
|
]
|
|
3552
3500
|
},
|
|
3553
|
-
"
|
|
3501
|
+
"setup": {
|
|
3554
3502
|
"aliases": [],
|
|
3555
|
-
"args": {
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3503
|
+
"args": {},
|
|
3504
|
+
"description": "Interactive setup wizard for Respan.\n\nSets up your API key, installs skills and SDK docs for your preferred\ncoding agents, and optionally runs a setup agent. Asks whether you want\nto set up tracing or gateway routing.\n\nThis is the recommended way to get started with Respan.",
|
|
3505
|
+
"examples": [
|
|
3506
|
+
"npx @respan/cli setup",
|
|
3507
|
+
"respan setup",
|
|
3508
|
+
"respan setup tracing",
|
|
3509
|
+
"respan setup gateway",
|
|
3510
|
+
"respan setup --agent claude-code",
|
|
3511
|
+
"respan setup --no-instrument"
|
|
3512
|
+
],
|
|
3563
3513
|
"flags": {
|
|
3564
3514
|
"api-key": {
|
|
3565
3515
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3584,13 +3534,13 @@
|
|
|
3584
3534
|
"type": "option"
|
|
3585
3535
|
},
|
|
3586
3536
|
"json": {
|
|
3587
|
-
"
|
|
3537
|
+
"hidden": true,
|
|
3588
3538
|
"name": "json",
|
|
3589
3539
|
"allowNo": false,
|
|
3590
3540
|
"type": "boolean"
|
|
3591
3541
|
},
|
|
3592
3542
|
"csv": {
|
|
3593
|
-
"
|
|
3543
|
+
"hidden": true,
|
|
3594
3544
|
"name": "csv",
|
|
3595
3545
|
"allowNo": false,
|
|
3596
3546
|
"type": "boolean"
|
|
@@ -3601,11 +3551,24 @@
|
|
|
3601
3551
|
"name": "verbose",
|
|
3602
3552
|
"allowNo": false,
|
|
3603
3553
|
"type": "boolean"
|
|
3554
|
+
},
|
|
3555
|
+
"agent": {
|
|
3556
|
+
"description": "Agent to configure (claude-code, cursor, codex-cli, gemini-cli, opencode)",
|
|
3557
|
+
"name": "agent",
|
|
3558
|
+
"hasDynamicHelp": false,
|
|
3559
|
+
"multiple": false,
|
|
3560
|
+
"type": "option"
|
|
3561
|
+
},
|
|
3562
|
+
"no-instrument": {
|
|
3563
|
+
"description": "Skip opening the agent after setup",
|
|
3564
|
+
"name": "no-instrument",
|
|
3565
|
+
"allowNo": false,
|
|
3566
|
+
"type": "boolean"
|
|
3604
3567
|
}
|
|
3605
3568
|
},
|
|
3606
3569
|
"hasDynamicHelp": false,
|
|
3607
3570
|
"hiddenAliases": [],
|
|
3608
|
-
"id": "
|
|
3571
|
+
"id": "setup",
|
|
3609
3572
|
"pluginAlias": "@respan/cli",
|
|
3610
3573
|
"pluginName": "@respan/cli",
|
|
3611
3574
|
"pluginType": "core",
|
|
@@ -3615,14 +3578,19 @@
|
|
|
3615
3578
|
"relativePath": [
|
|
3616
3579
|
"dist",
|
|
3617
3580
|
"commands",
|
|
3618
|
-
"
|
|
3619
|
-
"
|
|
3581
|
+
"setup",
|
|
3582
|
+
"index.js"
|
|
3620
3583
|
]
|
|
3621
3584
|
},
|
|
3622
|
-
"
|
|
3585
|
+
"setup:tracing": {
|
|
3623
3586
|
"aliases": [],
|
|
3624
3587
|
"args": {},
|
|
3625
|
-
"description": "
|
|
3588
|
+
"description": "Set up Respan SDK tracing in this project.\n\nRuns the tracing setup flow directly (skips the \"Tracing or Gateway?\"\nquestion). Sets up your API key, installs the Respan skill, and optionally\nopens your coding agent to instrument the project.",
|
|
3589
|
+
"examples": [
|
|
3590
|
+
"respan setup tracing",
|
|
3591
|
+
"respan setup tracing --agent claude-code",
|
|
3592
|
+
"respan setup tracing --no-instrument"
|
|
3593
|
+
],
|
|
3626
3594
|
"flags": {
|
|
3627
3595
|
"api-key": {
|
|
3628
3596
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3647,13 +3615,13 @@
|
|
|
3647
3615
|
"type": "option"
|
|
3648
3616
|
},
|
|
3649
3617
|
"json": {
|
|
3650
|
-
"
|
|
3618
|
+
"hidden": true,
|
|
3651
3619
|
"name": "json",
|
|
3652
3620
|
"allowNo": false,
|
|
3653
3621
|
"type": "boolean"
|
|
3654
3622
|
},
|
|
3655
3623
|
"csv": {
|
|
3656
|
-
"
|
|
3624
|
+
"hidden": true,
|
|
3657
3625
|
"name": "csv",
|
|
3658
3626
|
"allowNo": false,
|
|
3659
3627
|
"type": "boolean"
|
|
@@ -3665,40 +3633,23 @@
|
|
|
3665
3633
|
"allowNo": false,
|
|
3666
3634
|
"type": "boolean"
|
|
3667
3635
|
},
|
|
3668
|
-
"
|
|
3669
|
-
"description": "
|
|
3670
|
-
"name": "
|
|
3671
|
-
"default": 20,
|
|
3672
|
-
"hasDynamicHelp": false,
|
|
3673
|
-
"multiple": false,
|
|
3674
|
-
"type": "option"
|
|
3675
|
-
},
|
|
3676
|
-
"page": {
|
|
3677
|
-
"description": "Page number",
|
|
3678
|
-
"name": "page",
|
|
3679
|
-
"default": 1,
|
|
3680
|
-
"hasDynamicHelp": false,
|
|
3681
|
-
"multiple": false,
|
|
3682
|
-
"type": "option"
|
|
3683
|
-
},
|
|
3684
|
-
"sort-by": {
|
|
3685
|
-
"description": "Sort field",
|
|
3686
|
-
"name": "sort-by",
|
|
3636
|
+
"agent": {
|
|
3637
|
+
"description": "Agent to configure (claude-code, cursor, codex-cli, gemini-cli, opencode)",
|
|
3638
|
+
"name": "agent",
|
|
3687
3639
|
"hasDynamicHelp": false,
|
|
3688
3640
|
"multiple": false,
|
|
3689
3641
|
"type": "option"
|
|
3690
3642
|
},
|
|
3691
|
-
"
|
|
3692
|
-
"description": "
|
|
3693
|
-
"name": "
|
|
3694
|
-
"
|
|
3695
|
-
"
|
|
3696
|
-
"type": "option"
|
|
3643
|
+
"no-instrument": {
|
|
3644
|
+
"description": "Skip opening the agent after setup",
|
|
3645
|
+
"name": "no-instrument",
|
|
3646
|
+
"allowNo": false,
|
|
3647
|
+
"type": "boolean"
|
|
3697
3648
|
}
|
|
3698
3649
|
},
|
|
3699
3650
|
"hasDynamicHelp": false,
|
|
3700
3651
|
"hiddenAliases": [],
|
|
3701
|
-
"id": "
|
|
3652
|
+
"id": "setup:tracing",
|
|
3702
3653
|
"pluginAlias": "@respan/cli",
|
|
3703
3654
|
"pluginName": "@respan/cli",
|
|
3704
3655
|
"pluginType": "core",
|
|
@@ -3708,20 +3659,20 @@
|
|
|
3708
3659
|
"relativePath": [
|
|
3709
3660
|
"dist",
|
|
3710
3661
|
"commands",
|
|
3711
|
-
"
|
|
3712
|
-
"
|
|
3662
|
+
"setup",
|
|
3663
|
+
"tracing.js"
|
|
3713
3664
|
]
|
|
3714
3665
|
},
|
|
3715
|
-
"
|
|
3666
|
+
"traces:get": {
|
|
3716
3667
|
"aliases": [],
|
|
3717
3668
|
"args": {
|
|
3718
3669
|
"id": {
|
|
3719
|
-
"description": "
|
|
3670
|
+
"description": "Trace ID",
|
|
3720
3671
|
"name": "id",
|
|
3721
3672
|
"required": true
|
|
3722
3673
|
}
|
|
3723
3674
|
},
|
|
3724
|
-
"description": "
|
|
3675
|
+
"description": "Get a specific trace",
|
|
3725
3676
|
"flags": {
|
|
3726
3677
|
"api-key": {
|
|
3727
3678
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3759,36 +3710,15 @@
|
|
|
3759
3710
|
},
|
|
3760
3711
|
"verbose": {
|
|
3761
3712
|
"char": "v",
|
|
3762
|
-
"description": "Show verbose output",
|
|
3763
|
-
"name": "verbose",
|
|
3764
|
-
"allowNo": false,
|
|
3765
|
-
"type": "boolean"
|
|
3766
|
-
},
|
|
3767
|
-
"name": {
|
|
3768
|
-
"description": "Customer name",
|
|
3769
|
-
"name": "name",
|
|
3770
|
-
"hasDynamicHelp": false,
|
|
3771
|
-
"multiple": false,
|
|
3772
|
-
"type": "option"
|
|
3773
|
-
},
|
|
3774
|
-
"email": {
|
|
3775
|
-
"description": "Customer email",
|
|
3776
|
-
"name": "email",
|
|
3777
|
-
"hasDynamicHelp": false,
|
|
3778
|
-
"multiple": false,
|
|
3779
|
-
"type": "option"
|
|
3780
|
-
},
|
|
3781
|
-
"metadata": {
|
|
3782
|
-
"description": "Metadata as JSON string",
|
|
3783
|
-
"name": "metadata",
|
|
3784
|
-
"hasDynamicHelp": false,
|
|
3785
|
-
"multiple": false,
|
|
3786
|
-
"type": "option"
|
|
3713
|
+
"description": "Show verbose output",
|
|
3714
|
+
"name": "verbose",
|
|
3715
|
+
"allowNo": false,
|
|
3716
|
+
"type": "boolean"
|
|
3787
3717
|
}
|
|
3788
3718
|
},
|
|
3789
3719
|
"hasDynamicHelp": false,
|
|
3790
3720
|
"hiddenAliases": [],
|
|
3791
|
-
"id": "
|
|
3721
|
+
"id": "traces:get",
|
|
3792
3722
|
"pluginAlias": "@respan/cli",
|
|
3793
3723
|
"pluginName": "@respan/cli",
|
|
3794
3724
|
"pluginType": "core",
|
|
@@ -3798,20 +3728,14 @@
|
|
|
3798
3728
|
"relativePath": [
|
|
3799
3729
|
"dist",
|
|
3800
3730
|
"commands",
|
|
3801
|
-
"
|
|
3802
|
-
"
|
|
3731
|
+
"traces",
|
|
3732
|
+
"get.js"
|
|
3803
3733
|
]
|
|
3804
3734
|
},
|
|
3805
|
-
"
|
|
3735
|
+
"traces:list": {
|
|
3806
3736
|
"aliases": [],
|
|
3807
|
-
"args": {
|
|
3808
|
-
|
|
3809
|
-
"description": "Prompt ID",
|
|
3810
|
-
"name": "prompt-id",
|
|
3811
|
-
"required": true
|
|
3812
|
-
}
|
|
3813
|
-
},
|
|
3814
|
-
"description": "Create a new version of a prompt",
|
|
3737
|
+
"args": {},
|
|
3738
|
+
"description": "List and filter traces.\n\nA trace represents a complete workflow execution containing multiple spans.\n\nFILTER SYNTAX: field:operator:value\n\nOPERATORS:\n (empty) Exact match model::gpt-4\n not Not equal status_code:not:200\n gt Greater than cost:gt:0.01\n gte Greater than/equal latency:gte:1.0\n lt Less than cost:lt:0.5\n lte Less than/equal prompt_tokens:lte:100\n contains Contains substring error_message:contains:timeout\n icontains Case-insensitive model:icontains:gpt\n startswith Starts with model:startswith:gpt\n endswith Ends with model:endswith:mini\n in Value in list model:in:gpt-4,gpt-4o\n isnull Is null error_message:isnull:true\n iexact Case-insens. exact status:iexact:success\n\nFILTERABLE FIELDS (traces):\n trace_unique_id, customer_identifier, environment, span_count,\n llm_call_count, error_count, total_cost, total_tokens,\n total_prompt_tokens, total_completion_tokens, duration,\n span_workflow_name, metadata__<key>\n\nEXAMPLES:\n --filter model::gpt-4o --filter cost:gt:0.01\n --filter status_code:not:200\n --filter metadata__env::production\n --filter model:in:gpt-4,gpt-4o",
|
|
3815
3739
|
"flags": {
|
|
3816
3740
|
"api-key": {
|
|
3817
3741
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3854,39 +3778,62 @@
|
|
|
3854
3778
|
"allowNo": false,
|
|
3855
3779
|
"type": "boolean"
|
|
3856
3780
|
},
|
|
3857
|
-
"
|
|
3858
|
-
"description": "
|
|
3859
|
-
"name": "
|
|
3860
|
-
"
|
|
3781
|
+
"limit": {
|
|
3782
|
+
"description": "Number of results per page",
|
|
3783
|
+
"name": "limit",
|
|
3784
|
+
"default": 10,
|
|
3861
3785
|
"hasDynamicHelp": false,
|
|
3862
3786
|
"multiple": false,
|
|
3863
3787
|
"type": "option"
|
|
3864
3788
|
},
|
|
3865
|
-
"
|
|
3866
|
-
"description": "
|
|
3867
|
-
"name": "
|
|
3789
|
+
"page": {
|
|
3790
|
+
"description": "Page number",
|
|
3791
|
+
"name": "page",
|
|
3792
|
+
"default": 1,
|
|
3868
3793
|
"hasDynamicHelp": false,
|
|
3869
3794
|
"multiple": false,
|
|
3870
3795
|
"type": "option"
|
|
3871
3796
|
},
|
|
3872
|
-
"
|
|
3873
|
-
"description": "
|
|
3874
|
-
"name": "
|
|
3797
|
+
"sort-by": {
|
|
3798
|
+
"description": "Sort field (prefix with - for descending)",
|
|
3799
|
+
"name": "sort-by",
|
|
3800
|
+
"default": "-timestamp",
|
|
3875
3801
|
"hasDynamicHelp": false,
|
|
3876
3802
|
"multiple": false,
|
|
3877
3803
|
"type": "option"
|
|
3878
3804
|
},
|
|
3879
|
-
"
|
|
3880
|
-
"description": "
|
|
3881
|
-
"name": "
|
|
3805
|
+
"start-time": {
|
|
3806
|
+
"description": "Start time filter (ISO 8601)",
|
|
3807
|
+
"name": "start-time",
|
|
3808
|
+
"hasDynamicHelp": false,
|
|
3809
|
+
"multiple": false,
|
|
3810
|
+
"type": "option"
|
|
3811
|
+
},
|
|
3812
|
+
"end-time": {
|
|
3813
|
+
"description": "End time filter (ISO 8601)",
|
|
3814
|
+
"name": "end-time",
|
|
3815
|
+
"hasDynamicHelp": false,
|
|
3816
|
+
"multiple": false,
|
|
3817
|
+
"type": "option"
|
|
3818
|
+
},
|
|
3819
|
+
"environment": {
|
|
3820
|
+
"description": "Environment filter",
|
|
3821
|
+
"name": "environment",
|
|
3882
3822
|
"hasDynamicHelp": false,
|
|
3883
3823
|
"multiple": false,
|
|
3884
3824
|
"type": "option"
|
|
3825
|
+
},
|
|
3826
|
+
"filter": {
|
|
3827
|
+
"description": "Filter in field:operator:value format (repeatable)",
|
|
3828
|
+
"name": "filter",
|
|
3829
|
+
"hasDynamicHelp": false,
|
|
3830
|
+
"multiple": true,
|
|
3831
|
+
"type": "option"
|
|
3885
3832
|
}
|
|
3886
3833
|
},
|
|
3887
3834
|
"hasDynamicHelp": false,
|
|
3888
3835
|
"hiddenAliases": [],
|
|
3889
|
-
"id": "
|
|
3836
|
+
"id": "traces:list",
|
|
3890
3837
|
"pluginAlias": "@respan/cli",
|
|
3891
3838
|
"pluginName": "@respan/cli",
|
|
3892
3839
|
"pluginType": "core",
|
|
@@ -3896,14 +3843,14 @@
|
|
|
3896
3843
|
"relativePath": [
|
|
3897
3844
|
"dist",
|
|
3898
3845
|
"commands",
|
|
3899
|
-
"
|
|
3900
|
-
"
|
|
3846
|
+
"traces",
|
|
3847
|
+
"list.js"
|
|
3901
3848
|
]
|
|
3902
3849
|
},
|
|
3903
|
-
"
|
|
3850
|
+
"traces:summary": {
|
|
3904
3851
|
"aliases": [],
|
|
3905
3852
|
"args": {},
|
|
3906
|
-
"description": "
|
|
3853
|
+
"description": "Get a span-level summary of activity for a time range (counts, latency, cost, errors aggregated across spans)",
|
|
3907
3854
|
"flags": {
|
|
3908
3855
|
"api-key": {
|
|
3909
3856
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3946,17 +3893,18 @@
|
|
|
3946
3893
|
"allowNo": false,
|
|
3947
3894
|
"type": "boolean"
|
|
3948
3895
|
},
|
|
3949
|
-
"
|
|
3950
|
-
"description": "
|
|
3951
|
-
"name": "
|
|
3896
|
+
"start-time": {
|
|
3897
|
+
"description": "Start time (ISO 8601)",
|
|
3898
|
+
"name": "start-time",
|
|
3952
3899
|
"required": true,
|
|
3953
3900
|
"hasDynamicHelp": false,
|
|
3954
3901
|
"multiple": false,
|
|
3955
3902
|
"type": "option"
|
|
3956
3903
|
},
|
|
3957
|
-
"
|
|
3958
|
-
"description": "
|
|
3959
|
-
"name": "
|
|
3904
|
+
"end-time": {
|
|
3905
|
+
"description": "End time (ISO 8601)",
|
|
3906
|
+
"name": "end-time",
|
|
3907
|
+
"required": true,
|
|
3960
3908
|
"hasDynamicHelp": false,
|
|
3961
3909
|
"multiple": false,
|
|
3962
3910
|
"type": "option"
|
|
@@ -3964,7 +3912,7 @@
|
|
|
3964
3912
|
},
|
|
3965
3913
|
"hasDynamicHelp": false,
|
|
3966
3914
|
"hiddenAliases": [],
|
|
3967
|
-
"id": "
|
|
3915
|
+
"id": "traces:summary",
|
|
3968
3916
|
"pluginAlias": "@respan/cli",
|
|
3969
3917
|
"pluginName": "@respan/cli",
|
|
3970
3918
|
"pluginType": "core",
|
|
@@ -3974,20 +3922,14 @@
|
|
|
3974
3922
|
"relativePath": [
|
|
3975
3923
|
"dist",
|
|
3976
3924
|
"commands",
|
|
3977
|
-
"
|
|
3978
|
-
"
|
|
3925
|
+
"traces",
|
|
3926
|
+
"summary.js"
|
|
3979
3927
|
]
|
|
3980
3928
|
},
|
|
3981
|
-
"
|
|
3929
|
+
"users:create": {
|
|
3982
3930
|
"aliases": [],
|
|
3983
|
-
"args": {
|
|
3984
|
-
|
|
3985
|
-
"description": "Prompt ID",
|
|
3986
|
-
"name": "id",
|
|
3987
|
-
"required": true
|
|
3988
|
-
}
|
|
3989
|
-
},
|
|
3990
|
-
"description": "Get a specific prompt",
|
|
3931
|
+
"args": {},
|
|
3932
|
+
"description": "Create a new user (customer)",
|
|
3991
3933
|
"flags": {
|
|
3992
3934
|
"api-key": {
|
|
3993
3935
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -4029,11 +3971,40 @@
|
|
|
4029
3971
|
"name": "verbose",
|
|
4030
3972
|
"allowNo": false,
|
|
4031
3973
|
"type": "boolean"
|
|
3974
|
+
},
|
|
3975
|
+
"identifier": {
|
|
3976
|
+
"description": "Customer identifier",
|
|
3977
|
+
"name": "identifier",
|
|
3978
|
+
"required": true,
|
|
3979
|
+
"hasDynamicHelp": false,
|
|
3980
|
+
"multiple": false,
|
|
3981
|
+
"type": "option"
|
|
3982
|
+
},
|
|
3983
|
+
"name": {
|
|
3984
|
+
"description": "Customer name",
|
|
3985
|
+
"name": "name",
|
|
3986
|
+
"hasDynamicHelp": false,
|
|
3987
|
+
"multiple": false,
|
|
3988
|
+
"type": "option"
|
|
3989
|
+
},
|
|
3990
|
+
"email": {
|
|
3991
|
+
"description": "Customer email",
|
|
3992
|
+
"name": "email",
|
|
3993
|
+
"hasDynamicHelp": false,
|
|
3994
|
+
"multiple": false,
|
|
3995
|
+
"type": "option"
|
|
3996
|
+
},
|
|
3997
|
+
"metadata": {
|
|
3998
|
+
"description": "Metadata as JSON string",
|
|
3999
|
+
"name": "metadata",
|
|
4000
|
+
"hasDynamicHelp": false,
|
|
4001
|
+
"multiple": false,
|
|
4002
|
+
"type": "option"
|
|
4032
4003
|
}
|
|
4033
4004
|
},
|
|
4034
4005
|
"hasDynamicHelp": false,
|
|
4035
4006
|
"hiddenAliases": [],
|
|
4036
|
-
"id": "
|
|
4007
|
+
"id": "users:create",
|
|
4037
4008
|
"pluginAlias": "@respan/cli",
|
|
4038
4009
|
"pluginName": "@respan/cli",
|
|
4039
4010
|
"pluginType": "core",
|
|
@@ -4043,14 +4014,20 @@
|
|
|
4043
4014
|
"relativePath": [
|
|
4044
4015
|
"dist",
|
|
4045
4016
|
"commands",
|
|
4046
|
-
"
|
|
4047
|
-
"
|
|
4017
|
+
"users",
|
|
4018
|
+
"create.js"
|
|
4048
4019
|
]
|
|
4049
4020
|
},
|
|
4050
|
-
"
|
|
4021
|
+
"users:get": {
|
|
4051
4022
|
"aliases": [],
|
|
4052
|
-
"args": {
|
|
4053
|
-
|
|
4023
|
+
"args": {
|
|
4024
|
+
"id": {
|
|
4025
|
+
"description": "Customer identifier",
|
|
4026
|
+
"name": "id",
|
|
4027
|
+
"required": true
|
|
4028
|
+
}
|
|
4029
|
+
},
|
|
4030
|
+
"description": "Get a specific user (customer)",
|
|
4054
4031
|
"flags": {
|
|
4055
4032
|
"api-key": {
|
|
4056
4033
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -4092,19 +4069,11 @@
|
|
|
4092
4069
|
"name": "verbose",
|
|
4093
4070
|
"allowNo": false,
|
|
4094
4071
|
"type": "boolean"
|
|
4095
|
-
},
|
|
4096
|
-
"limit": {
|
|
4097
|
-
"description": "Number of results per page",
|
|
4098
|
-
"name": "limit",
|
|
4099
|
-
"default": 50,
|
|
4100
|
-
"hasDynamicHelp": false,
|
|
4101
|
-
"multiple": false,
|
|
4102
|
-
"type": "option"
|
|
4103
4072
|
}
|
|
4104
4073
|
},
|
|
4105
4074
|
"hasDynamicHelp": false,
|
|
4106
4075
|
"hiddenAliases": [],
|
|
4107
|
-
"id": "
|
|
4076
|
+
"id": "users:get",
|
|
4108
4077
|
"pluginAlias": "@respan/cli",
|
|
4109
4078
|
"pluginName": "@respan/cli",
|
|
4110
4079
|
"pluginType": "core",
|
|
@@ -4114,20 +4083,14 @@
|
|
|
4114
4083
|
"relativePath": [
|
|
4115
4084
|
"dist",
|
|
4116
4085
|
"commands",
|
|
4117
|
-
"
|
|
4118
|
-
"
|
|
4086
|
+
"users",
|
|
4087
|
+
"get.js"
|
|
4119
4088
|
]
|
|
4120
4089
|
},
|
|
4121
|
-
"
|
|
4090
|
+
"users:list": {
|
|
4122
4091
|
"aliases": [],
|
|
4123
|
-
"args": {
|
|
4124
|
-
|
|
4125
|
-
"description": "Prompt ID",
|
|
4126
|
-
"name": "id",
|
|
4127
|
-
"required": true
|
|
4128
|
-
}
|
|
4129
|
-
},
|
|
4130
|
-
"description": "Update a prompt",
|
|
4092
|
+
"args": {},
|
|
4093
|
+
"description": "List users (customers)",
|
|
4131
4094
|
"flags": {
|
|
4132
4095
|
"api-key": {
|
|
4133
4096
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -4170,16 +4133,32 @@
|
|
|
4170
4133
|
"allowNo": false,
|
|
4171
4134
|
"type": "boolean"
|
|
4172
4135
|
},
|
|
4173
|
-
"
|
|
4174
|
-
"description": "
|
|
4175
|
-
"name": "
|
|
4136
|
+
"limit": {
|
|
4137
|
+
"description": "Number of results per page",
|
|
4138
|
+
"name": "limit",
|
|
4139
|
+
"default": 20,
|
|
4176
4140
|
"hasDynamicHelp": false,
|
|
4177
4141
|
"multiple": false,
|
|
4178
4142
|
"type": "option"
|
|
4179
4143
|
},
|
|
4180
|
-
"
|
|
4181
|
-
"description": "
|
|
4182
|
-
"name": "
|
|
4144
|
+
"page": {
|
|
4145
|
+
"description": "Page number",
|
|
4146
|
+
"name": "page",
|
|
4147
|
+
"default": 1,
|
|
4148
|
+
"hasDynamicHelp": false,
|
|
4149
|
+
"multiple": false,
|
|
4150
|
+
"type": "option"
|
|
4151
|
+
},
|
|
4152
|
+
"sort-by": {
|
|
4153
|
+
"description": "Sort field",
|
|
4154
|
+
"name": "sort-by",
|
|
4155
|
+
"hasDynamicHelp": false,
|
|
4156
|
+
"multiple": false,
|
|
4157
|
+
"type": "option"
|
|
4158
|
+
},
|
|
4159
|
+
"environment": {
|
|
4160
|
+
"description": "Environment filter",
|
|
4161
|
+
"name": "environment",
|
|
4183
4162
|
"hasDynamicHelp": false,
|
|
4184
4163
|
"multiple": false,
|
|
4185
4164
|
"type": "option"
|
|
@@ -4187,7 +4166,7 @@
|
|
|
4187
4166
|
},
|
|
4188
4167
|
"hasDynamicHelp": false,
|
|
4189
4168
|
"hiddenAliases": [],
|
|
4190
|
-
"id": "
|
|
4169
|
+
"id": "users:list",
|
|
4191
4170
|
"pluginAlias": "@respan/cli",
|
|
4192
4171
|
"pluginName": "@respan/cli",
|
|
4193
4172
|
"pluginType": "core",
|
|
@@ -4197,20 +4176,20 @@
|
|
|
4197
4176
|
"relativePath": [
|
|
4198
4177
|
"dist",
|
|
4199
4178
|
"commands",
|
|
4200
|
-
"
|
|
4201
|
-
"
|
|
4179
|
+
"users",
|
|
4180
|
+
"list.js"
|
|
4202
4181
|
]
|
|
4203
4182
|
},
|
|
4204
|
-
"
|
|
4183
|
+
"users:update": {
|
|
4205
4184
|
"aliases": [],
|
|
4206
4185
|
"args": {
|
|
4207
|
-
"
|
|
4208
|
-
"description": "
|
|
4209
|
-
"name": "
|
|
4186
|
+
"id": {
|
|
4187
|
+
"description": "Customer identifier",
|
|
4188
|
+
"name": "id",
|
|
4210
4189
|
"required": true
|
|
4211
4190
|
}
|
|
4212
4191
|
},
|
|
4213
|
-
"description": "
|
|
4192
|
+
"description": "Update a user (customer)",
|
|
4214
4193
|
"flags": {
|
|
4215
4194
|
"api-key": {
|
|
4216
4195
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -4252,11 +4231,32 @@
|
|
|
4252
4231
|
"name": "verbose",
|
|
4253
4232
|
"allowNo": false,
|
|
4254
4233
|
"type": "boolean"
|
|
4234
|
+
},
|
|
4235
|
+
"name": {
|
|
4236
|
+
"description": "Customer name",
|
|
4237
|
+
"name": "name",
|
|
4238
|
+
"hasDynamicHelp": false,
|
|
4239
|
+
"multiple": false,
|
|
4240
|
+
"type": "option"
|
|
4241
|
+
},
|
|
4242
|
+
"email": {
|
|
4243
|
+
"description": "Customer email",
|
|
4244
|
+
"name": "email",
|
|
4245
|
+
"hasDynamicHelp": false,
|
|
4246
|
+
"multiple": false,
|
|
4247
|
+
"type": "option"
|
|
4248
|
+
},
|
|
4249
|
+
"metadata": {
|
|
4250
|
+
"description": "Metadata as JSON string",
|
|
4251
|
+
"name": "metadata",
|
|
4252
|
+
"hasDynamicHelp": false,
|
|
4253
|
+
"multiple": false,
|
|
4254
|
+
"type": "option"
|
|
4255
4255
|
}
|
|
4256
4256
|
},
|
|
4257
4257
|
"hasDynamicHelp": false,
|
|
4258
4258
|
"hiddenAliases": [],
|
|
4259
|
-
"id": "
|
|
4259
|
+
"id": "users:update",
|
|
4260
4260
|
"pluginAlias": "@respan/cli",
|
|
4261
4261
|
"pluginName": "@respan/cli",
|
|
4262
4262
|
"pluginType": "core",
|
|
@@ -4266,10 +4266,10 @@
|
|
|
4266
4266
|
"relativePath": [
|
|
4267
4267
|
"dist",
|
|
4268
4268
|
"commands",
|
|
4269
|
-
"
|
|
4270
|
-
"
|
|
4269
|
+
"users",
|
|
4270
|
+
"update.js"
|
|
4271
4271
|
]
|
|
4272
4272
|
}
|
|
4273
4273
|
},
|
|
4274
|
-
"version": "0.
|
|
4274
|
+
"version": "0.13.0"
|
|
4275
4275
|
}
|