@respan/cli 0.10.0 → 0.12.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/dist/commands/demo/clear.d.ts +23 -0
- package/dist/commands/demo/clear.js +114 -0
- package/dist/commands/demo/index.d.ts +15 -0
- package/dist/commands/demo/index.js +81 -0
- package/dist/commands/setup/doctor.d.ts +0 -1
- package/dist/commands/setup/doctor.js +25 -40
- package/dist/commands/setup/gateway.d.ts +16 -0
- package/dist/commands/setup/gateway.js +33 -0
- package/dist/commands/setup/index.d.ts +4 -33
- package/dist/commands/setup/index.js +11 -762
- package/dist/commands/setup/tracing.d.ts +16 -0
- package/dist/commands/setup/tracing.js +33 -0
- package/dist/lib/agents.d.ts +16 -0
- package/dist/lib/agents.js +75 -0
- package/dist/lib/auth.js +24 -0
- package/dist/lib/colors.d.ts +7 -0
- package/dist/lib/colors.js +10 -0
- package/dist/lib/demo/dataset-fixtures.d.ts +32 -0
- package/dist/lib/demo/dataset-fixtures.js +194 -0
- package/dist/lib/demo/evaluator-fixtures.d.ts +41 -0
- package/dist/lib/demo/evaluator-fixtures.js +251 -0
- package/dist/lib/demo/prompt-fixtures.d.ts +54 -0
- package/dist/lib/demo/prompt-fixtures.js +395 -0
- package/dist/lib/demo/seed-datasets.d.ts +15 -0
- package/dist/lib/demo/seed-datasets.js +107 -0
- package/dist/lib/demo/seed-evaluators.d.ts +22 -0
- package/dist/lib/demo/seed-evaluators.js +180 -0
- package/dist/lib/demo/seed-prompts.d.ts +10 -0
- package/dist/lib/demo/seed-prompts.js +111 -0
- package/dist/lib/demo/seed-traces.d.ts +27 -0
- package/dist/lib/demo/seed-traces.js +158 -0
- package/dist/lib/demo/seeders.d.ts +8 -0
- package/dist/lib/demo/seeders.js +11 -0
- package/dist/lib/demo/trace-fixtures.d.ts +31 -0
- package/dist/lib/demo/trace-fixtures.js +79 -0
- package/dist/lib/demo/types.d.ts +57 -0
- package/dist/lib/demo/types.js +9 -0
- package/dist/lib/integrate.d.ts +6 -0
- package/dist/lib/integrate.js +11 -0
- package/dist/lib/setup-base-command.d.ts +84 -0
- package/dist/lib/setup-base-command.js +649 -0
- package/dist/lib/skill-content.d.ts +1 -0
- package/dist/lib/skill-content.js +16 -0
- package/dist/lib/skill-refs.generated.d.ts +3 -2
- package/dist/lib/skill-refs.generated.js +423 -102
- package/oclif.manifest.json +945 -642
- package/package.json +2 -1
package/oclif.manifest.json
CHANGED
|
@@ -470,75 +470,6 @@
|
|
|
470
470
|
"set.js"
|
|
471
471
|
]
|
|
472
472
|
},
|
|
473
|
-
"eval": {
|
|
474
|
-
"aliases": [],
|
|
475
|
-
"args": {
|
|
476
|
-
"file": {
|
|
477
|
-
"description": "Path to eval JSON file",
|
|
478
|
-
"name": "file",
|
|
479
|
-
"required": true
|
|
480
|
-
}
|
|
481
|
-
},
|
|
482
|
-
"description": "Run an eval defined in a JSON file (creates prompt + dataset on the platform)",
|
|
483
|
-
"flags": {
|
|
484
|
-
"api-key": {
|
|
485
|
-
"description": "API key (env: RESPAN_API_KEY)",
|
|
486
|
-
"env": "RESPAN_API_KEY",
|
|
487
|
-
"name": "api-key",
|
|
488
|
-
"hasDynamicHelp": false,
|
|
489
|
-
"multiple": false,
|
|
490
|
-
"type": "option"
|
|
491
|
-
},
|
|
492
|
-
"base-url": {
|
|
493
|
-
"description": "Temporary API base URL override for this command",
|
|
494
|
-
"name": "base-url",
|
|
495
|
-
"hasDynamicHelp": false,
|
|
496
|
-
"multiple": false,
|
|
497
|
-
"type": "option"
|
|
498
|
-
},
|
|
499
|
-
"profile": {
|
|
500
|
-
"description": "Named profile to use",
|
|
501
|
-
"name": "profile",
|
|
502
|
-
"hasDynamicHelp": false,
|
|
503
|
-
"multiple": false,
|
|
504
|
-
"type": "option"
|
|
505
|
-
},
|
|
506
|
-
"json": {
|
|
507
|
-
"description": "Output as JSON",
|
|
508
|
-
"name": "json",
|
|
509
|
-
"allowNo": false,
|
|
510
|
-
"type": "boolean"
|
|
511
|
-
},
|
|
512
|
-
"csv": {
|
|
513
|
-
"description": "Output as CSV",
|
|
514
|
-
"name": "csv",
|
|
515
|
-
"allowNo": false,
|
|
516
|
-
"type": "boolean"
|
|
517
|
-
},
|
|
518
|
-
"verbose": {
|
|
519
|
-
"char": "v",
|
|
520
|
-
"description": "Show verbose output",
|
|
521
|
-
"name": "verbose",
|
|
522
|
-
"allowNo": false,
|
|
523
|
-
"type": "boolean"
|
|
524
|
-
}
|
|
525
|
-
},
|
|
526
|
-
"hasDynamicHelp": false,
|
|
527
|
-
"hiddenAliases": [],
|
|
528
|
-
"id": "eval",
|
|
529
|
-
"pluginAlias": "@respan/cli",
|
|
530
|
-
"pluginName": "@respan/cli",
|
|
531
|
-
"pluginType": "core",
|
|
532
|
-
"strict": true,
|
|
533
|
-
"enableJsonFlag": false,
|
|
534
|
-
"isESM": true,
|
|
535
|
-
"relativePath": [
|
|
536
|
-
"dist",
|
|
537
|
-
"commands",
|
|
538
|
-
"eval",
|
|
539
|
-
"index.js"
|
|
540
|
-
]
|
|
541
|
-
},
|
|
542
473
|
"datasets:create-span": {
|
|
543
474
|
"aliases": [],
|
|
544
475
|
"args": {
|
|
@@ -1068,10 +999,14 @@
|
|
|
1068
999
|
"update.js"
|
|
1069
1000
|
]
|
|
1070
1001
|
},
|
|
1071
|
-
"
|
|
1002
|
+
"demo:clear": {
|
|
1072
1003
|
"aliases": [],
|
|
1073
1004
|
"args": {},
|
|
1074
|
-
"description": "
|
|
1005
|
+
"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.",
|
|
1006
|
+
"examples": [
|
|
1007
|
+
"<%= config.bin %> demo clear",
|
|
1008
|
+
"<%= config.bin %> demo clear --yes"
|
|
1009
|
+
],
|
|
1075
1010
|
"flags": {
|
|
1076
1011
|
"api-key": {
|
|
1077
1012
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1114,39 +1049,17 @@
|
|
|
1114
1049
|
"allowNo": false,
|
|
1115
1050
|
"type": "boolean"
|
|
1116
1051
|
},
|
|
1117
|
-
"
|
|
1118
|
-
"
|
|
1119
|
-
"
|
|
1120
|
-
"
|
|
1121
|
-
"
|
|
1122
|
-
"
|
|
1123
|
-
"type": "option"
|
|
1124
|
-
},
|
|
1125
|
-
"type": {
|
|
1126
|
-
"description": "Evaluator type",
|
|
1127
|
-
"name": "type",
|
|
1128
|
-
"hasDynamicHelp": false,
|
|
1129
|
-
"multiple": false,
|
|
1130
|
-
"type": "option"
|
|
1131
|
-
},
|
|
1132
|
-
"description": {
|
|
1133
|
-
"description": "Evaluator description",
|
|
1134
|
-
"name": "description",
|
|
1135
|
-
"hasDynamicHelp": false,
|
|
1136
|
-
"multiple": false,
|
|
1137
|
-
"type": "option"
|
|
1138
|
-
},
|
|
1139
|
-
"config": {
|
|
1140
|
-
"description": "Evaluator config as JSON string",
|
|
1141
|
-
"name": "config",
|
|
1142
|
-
"hasDynamicHelp": false,
|
|
1143
|
-
"multiple": false,
|
|
1144
|
-
"type": "option"
|
|
1052
|
+
"yes": {
|
|
1053
|
+
"char": "y",
|
|
1054
|
+
"description": "Skip the confirmation prompt",
|
|
1055
|
+
"name": "yes",
|
|
1056
|
+
"allowNo": false,
|
|
1057
|
+
"type": "boolean"
|
|
1145
1058
|
}
|
|
1146
1059
|
},
|
|
1147
1060
|
"hasDynamicHelp": false,
|
|
1148
1061
|
"hiddenAliases": [],
|
|
1149
|
-
"id": "
|
|
1062
|
+
"id": "demo:clear",
|
|
1150
1063
|
"pluginAlias": "@respan/cli",
|
|
1151
1064
|
"pluginName": "@respan/cli",
|
|
1152
1065
|
"pluginType": "core",
|
|
@@ -1156,20 +1069,17 @@
|
|
|
1156
1069
|
"relativePath": [
|
|
1157
1070
|
"dist",
|
|
1158
1071
|
"commands",
|
|
1159
|
-
"
|
|
1160
|
-
"
|
|
1072
|
+
"demo",
|
|
1073
|
+
"clear.js"
|
|
1161
1074
|
]
|
|
1162
1075
|
},
|
|
1163
|
-
"
|
|
1076
|
+
"demo": {
|
|
1164
1077
|
"aliases": [],
|
|
1165
|
-
"args": {
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
}
|
|
1171
|
-
},
|
|
1172
|
-
"description": "Get a specific evaluator",
|
|
1078
|
+
"args": {},
|
|
1079
|
+
"description": "Seed your account with sample data (prompts and traces) so you have something to explore. Idempotent — safe to re-run.",
|
|
1080
|
+
"examples": [
|
|
1081
|
+
"<%= config.bin %> demo"
|
|
1082
|
+
],
|
|
1173
1083
|
"flags": {
|
|
1174
1084
|
"api-key": {
|
|
1175
1085
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1215,7 +1125,7 @@
|
|
|
1215
1125
|
},
|
|
1216
1126
|
"hasDynamicHelp": false,
|
|
1217
1127
|
"hiddenAliases": [],
|
|
1218
|
-
"id": "
|
|
1128
|
+
"id": "demo",
|
|
1219
1129
|
"pluginAlias": "@respan/cli",
|
|
1220
1130
|
"pluginName": "@respan/cli",
|
|
1221
1131
|
"pluginType": "core",
|
|
@@ -1225,14 +1135,20 @@
|
|
|
1225
1135
|
"relativePath": [
|
|
1226
1136
|
"dist",
|
|
1227
1137
|
"commands",
|
|
1228
|
-
"
|
|
1229
|
-
"
|
|
1138
|
+
"demo",
|
|
1139
|
+
"index.js"
|
|
1230
1140
|
]
|
|
1231
1141
|
},
|
|
1232
|
-
"
|
|
1142
|
+
"eval": {
|
|
1233
1143
|
"aliases": [],
|
|
1234
|
-
"args": {
|
|
1235
|
-
|
|
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)",
|
|
1236
1152
|
"flags": {
|
|
1237
1153
|
"api-key": {
|
|
1238
1154
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1274,27 +1190,11 @@
|
|
|
1274
1190
|
"name": "verbose",
|
|
1275
1191
|
"allowNo": false,
|
|
1276
1192
|
"type": "boolean"
|
|
1277
|
-
},
|
|
1278
|
-
"limit": {
|
|
1279
|
-
"description": "Number of results per page",
|
|
1280
|
-
"name": "limit",
|
|
1281
|
-
"default": 20,
|
|
1282
|
-
"hasDynamicHelp": false,
|
|
1283
|
-
"multiple": false,
|
|
1284
|
-
"type": "option"
|
|
1285
|
-
},
|
|
1286
|
-
"page": {
|
|
1287
|
-
"description": "Page number",
|
|
1288
|
-
"name": "page",
|
|
1289
|
-
"default": 1,
|
|
1290
|
-
"hasDynamicHelp": false,
|
|
1291
|
-
"multiple": false,
|
|
1292
|
-
"type": "option"
|
|
1293
1193
|
}
|
|
1294
1194
|
},
|
|
1295
1195
|
"hasDynamicHelp": false,
|
|
1296
1196
|
"hiddenAliases": [],
|
|
1297
|
-
"id": "
|
|
1197
|
+
"id": "eval",
|
|
1298
1198
|
"pluginAlias": "@respan/cli",
|
|
1299
1199
|
"pluginName": "@respan/cli",
|
|
1300
1200
|
"pluginType": "core",
|
|
@@ -1304,20 +1204,14 @@
|
|
|
1304
1204
|
"relativePath": [
|
|
1305
1205
|
"dist",
|
|
1306
1206
|
"commands",
|
|
1307
|
-
"
|
|
1308
|
-
"
|
|
1207
|
+
"eval",
|
|
1208
|
+
"index.js"
|
|
1309
1209
|
]
|
|
1310
1210
|
},
|
|
1311
|
-
"evaluators:
|
|
1211
|
+
"evaluators:create": {
|
|
1312
1212
|
"aliases": [],
|
|
1313
|
-
"args": {
|
|
1314
|
-
|
|
1315
|
-
"description": "Evaluator ID",
|
|
1316
|
-
"name": "id",
|
|
1317
|
-
"required": true
|
|
1318
|
-
}
|
|
1319
|
-
},
|
|
1320
|
-
"description": "Run an evaluator",
|
|
1213
|
+
"args": {},
|
|
1214
|
+
"description": "Create a new evaluator",
|
|
1321
1215
|
"flags": {
|
|
1322
1216
|
"api-key": {
|
|
1323
1217
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1360,23 +1254,31 @@
|
|
|
1360
1254
|
"allowNo": false,
|
|
1361
1255
|
"type": "boolean"
|
|
1362
1256
|
},
|
|
1363
|
-
"
|
|
1364
|
-
"description": "
|
|
1365
|
-
"name": "
|
|
1257
|
+
"name": {
|
|
1258
|
+
"description": "Evaluator name",
|
|
1259
|
+
"name": "name",
|
|
1260
|
+
"required": true,
|
|
1366
1261
|
"hasDynamicHelp": false,
|
|
1367
1262
|
"multiple": false,
|
|
1368
1263
|
"type": "option"
|
|
1369
1264
|
},
|
|
1370
|
-
"
|
|
1371
|
-
"description": "
|
|
1372
|
-
"name": "
|
|
1265
|
+
"type": {
|
|
1266
|
+
"description": "Evaluator type",
|
|
1267
|
+
"name": "type",
|
|
1373
1268
|
"hasDynamicHelp": false,
|
|
1374
1269
|
"multiple": false,
|
|
1375
1270
|
"type": "option"
|
|
1376
1271
|
},
|
|
1377
|
-
"
|
|
1378
|
-
"description": "
|
|
1379
|
-
"name": "
|
|
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",
|
|
1380
1282
|
"hasDynamicHelp": false,
|
|
1381
1283
|
"multiple": false,
|
|
1382
1284
|
"type": "option"
|
|
@@ -1384,7 +1286,7 @@
|
|
|
1384
1286
|
},
|
|
1385
1287
|
"hasDynamicHelp": false,
|
|
1386
1288
|
"hiddenAliases": [],
|
|
1387
|
-
"id": "evaluators:
|
|
1289
|
+
"id": "evaluators:create",
|
|
1388
1290
|
"pluginAlias": "@respan/cli",
|
|
1389
1291
|
"pluginName": "@respan/cli",
|
|
1390
1292
|
"pluginType": "core",
|
|
@@ -1395,10 +1297,10 @@
|
|
|
1395
1297
|
"dist",
|
|
1396
1298
|
"commands",
|
|
1397
1299
|
"evaluators",
|
|
1398
|
-
"
|
|
1300
|
+
"create.js"
|
|
1399
1301
|
]
|
|
1400
1302
|
},
|
|
1401
|
-
"evaluators:
|
|
1303
|
+
"evaluators:get": {
|
|
1402
1304
|
"aliases": [],
|
|
1403
1305
|
"args": {
|
|
1404
1306
|
"id": {
|
|
@@ -1407,7 +1309,7 @@
|
|
|
1407
1309
|
"required": true
|
|
1408
1310
|
}
|
|
1409
1311
|
},
|
|
1410
|
-
"description": "
|
|
1312
|
+
"description": "Get a specific evaluator",
|
|
1411
1313
|
"flags": {
|
|
1412
1314
|
"api-key": {
|
|
1413
1315
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1449,32 +1351,11 @@
|
|
|
1449
1351
|
"name": "verbose",
|
|
1450
1352
|
"allowNo": false,
|
|
1451
1353
|
"type": "boolean"
|
|
1452
|
-
},
|
|
1453
|
-
"name": {
|
|
1454
|
-
"description": "Evaluator name",
|
|
1455
|
-
"name": "name",
|
|
1456
|
-
"hasDynamicHelp": false,
|
|
1457
|
-
"multiple": false,
|
|
1458
|
-
"type": "option"
|
|
1459
|
-
},
|
|
1460
|
-
"description": {
|
|
1461
|
-
"description": "Evaluator description",
|
|
1462
|
-
"name": "description",
|
|
1463
|
-
"hasDynamicHelp": false,
|
|
1464
|
-
"multiple": false,
|
|
1465
|
-
"type": "option"
|
|
1466
|
-
},
|
|
1467
|
-
"config": {
|
|
1468
|
-
"description": "Evaluator config as JSON string",
|
|
1469
|
-
"name": "config",
|
|
1470
|
-
"hasDynamicHelp": false,
|
|
1471
|
-
"multiple": false,
|
|
1472
|
-
"type": "option"
|
|
1473
1354
|
}
|
|
1474
1355
|
},
|
|
1475
1356
|
"hasDynamicHelp": false,
|
|
1476
1357
|
"hiddenAliases": [],
|
|
1477
|
-
"id": "evaluators:
|
|
1358
|
+
"id": "evaluators:get",
|
|
1478
1359
|
"pluginAlias": "@respan/cli",
|
|
1479
1360
|
"pluginName": "@respan/cli",
|
|
1480
1361
|
"pluginType": "core",
|
|
@@ -1485,13 +1366,13 @@
|
|
|
1485
1366
|
"dist",
|
|
1486
1367
|
"commands",
|
|
1487
1368
|
"evaluators",
|
|
1488
|
-
"
|
|
1369
|
+
"get.js"
|
|
1489
1370
|
]
|
|
1490
1371
|
},
|
|
1491
|
-
"
|
|
1372
|
+
"evaluators:list": {
|
|
1492
1373
|
"aliases": [],
|
|
1493
1374
|
"args": {},
|
|
1494
|
-
"description": "
|
|
1375
|
+
"description": "List evaluators",
|
|
1495
1376
|
"flags": {
|
|
1496
1377
|
"api-key": {
|
|
1497
1378
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1534,32 +1415,18 @@
|
|
|
1534
1415
|
"allowNo": false,
|
|
1535
1416
|
"type": "boolean"
|
|
1536
1417
|
},
|
|
1537
|
-
"
|
|
1538
|
-
"description": "
|
|
1539
|
-
"name": "
|
|
1540
|
-
"
|
|
1541
|
-
"hasDynamicHelp": false,
|
|
1542
|
-
"multiple": false,
|
|
1543
|
-
"type": "option"
|
|
1544
|
-
},
|
|
1545
|
-
"dataset-id": {
|
|
1546
|
-
"description": "Dataset ID",
|
|
1547
|
-
"name": "dataset-id",
|
|
1548
|
-
"required": true,
|
|
1418
|
+
"limit": {
|
|
1419
|
+
"description": "Number of results per page",
|
|
1420
|
+
"name": "limit",
|
|
1421
|
+
"default": 20,
|
|
1549
1422
|
"hasDynamicHelp": false,
|
|
1550
1423
|
"multiple": false,
|
|
1551
1424
|
"type": "option"
|
|
1552
1425
|
},
|
|
1553
|
-
"
|
|
1554
|
-
"description": "
|
|
1555
|
-
"name": "
|
|
1556
|
-
"
|
|
1557
|
-
"multiple": false,
|
|
1558
|
-
"type": "option"
|
|
1559
|
-
},
|
|
1560
|
-
"workflows": {
|
|
1561
|
-
"description": "Workflows configuration as JSON string",
|
|
1562
|
-
"name": "workflows",
|
|
1426
|
+
"page": {
|
|
1427
|
+
"description": "Page number",
|
|
1428
|
+
"name": "page",
|
|
1429
|
+
"default": 1,
|
|
1563
1430
|
"hasDynamicHelp": false,
|
|
1564
1431
|
"multiple": false,
|
|
1565
1432
|
"type": "option"
|
|
@@ -1567,7 +1434,7 @@
|
|
|
1567
1434
|
},
|
|
1568
1435
|
"hasDynamicHelp": false,
|
|
1569
1436
|
"hiddenAliases": [],
|
|
1570
|
-
"id": "
|
|
1437
|
+
"id": "evaluators:list",
|
|
1571
1438
|
"pluginAlias": "@respan/cli",
|
|
1572
1439
|
"pluginName": "@respan/cli",
|
|
1573
1440
|
"pluginType": "core",
|
|
@@ -1577,20 +1444,20 @@
|
|
|
1577
1444
|
"relativePath": [
|
|
1578
1445
|
"dist",
|
|
1579
1446
|
"commands",
|
|
1580
|
-
"
|
|
1581
|
-
"
|
|
1447
|
+
"evaluators",
|
|
1448
|
+
"list.js"
|
|
1582
1449
|
]
|
|
1583
1450
|
},
|
|
1584
|
-
"
|
|
1451
|
+
"evaluators:run": {
|
|
1585
1452
|
"aliases": [],
|
|
1586
1453
|
"args": {
|
|
1587
1454
|
"id": {
|
|
1588
|
-
"description": "
|
|
1455
|
+
"description": "Evaluator ID",
|
|
1589
1456
|
"name": "id",
|
|
1590
1457
|
"required": true
|
|
1591
1458
|
}
|
|
1592
1459
|
},
|
|
1593
|
-
"description": "
|
|
1460
|
+
"description": "Run an evaluator",
|
|
1594
1461
|
"flags": {
|
|
1595
1462
|
"api-key": {
|
|
1596
1463
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1632,11 +1499,32 @@
|
|
|
1632
1499
|
"name": "verbose",
|
|
1633
1500
|
"allowNo": false,
|
|
1634
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"
|
|
1635
1523
|
}
|
|
1636
1524
|
},
|
|
1637
1525
|
"hasDynamicHelp": false,
|
|
1638
1526
|
"hiddenAliases": [],
|
|
1639
|
-
"id": "
|
|
1527
|
+
"id": "evaluators:run",
|
|
1640
1528
|
"pluginAlias": "@respan/cli",
|
|
1641
1529
|
"pluginName": "@respan/cli",
|
|
1642
1530
|
"pluginType": "core",
|
|
@@ -1646,14 +1534,20 @@
|
|
|
1646
1534
|
"relativePath": [
|
|
1647
1535
|
"dist",
|
|
1648
1536
|
"commands",
|
|
1649
|
-
"
|
|
1650
|
-
"
|
|
1537
|
+
"evaluators",
|
|
1538
|
+
"run.js"
|
|
1651
1539
|
]
|
|
1652
1540
|
},
|
|
1653
|
-
"
|
|
1541
|
+
"evaluators:update": {
|
|
1654
1542
|
"aliases": [],
|
|
1655
|
-
"args": {
|
|
1656
|
-
|
|
1543
|
+
"args": {
|
|
1544
|
+
"id": {
|
|
1545
|
+
"description": "Evaluator ID",
|
|
1546
|
+
"name": "id",
|
|
1547
|
+
"required": true
|
|
1548
|
+
}
|
|
1549
|
+
},
|
|
1550
|
+
"description": "Update an evaluator",
|
|
1657
1551
|
"flags": {
|
|
1658
1552
|
"api-key": {
|
|
1659
1553
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1696,18 +1590,23 @@
|
|
|
1696
1590
|
"allowNo": false,
|
|
1697
1591
|
"type": "boolean"
|
|
1698
1592
|
},
|
|
1699
|
-
"
|
|
1700
|
-
"description": "
|
|
1701
|
-
"name": "
|
|
1702
|
-
"default": 20,
|
|
1593
|
+
"name": {
|
|
1594
|
+
"description": "Evaluator name",
|
|
1595
|
+
"name": "name",
|
|
1703
1596
|
"hasDynamicHelp": false,
|
|
1704
1597
|
"multiple": false,
|
|
1705
1598
|
"type": "option"
|
|
1706
1599
|
},
|
|
1707
|
-
"
|
|
1708
|
-
"description": "
|
|
1709
|
-
"name": "
|
|
1710
|
-
"
|
|
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",
|
|
1711
1610
|
"hasDynamicHelp": false,
|
|
1712
1611
|
"multiple": false,
|
|
1713
1612
|
"type": "option"
|
|
@@ -1715,7 +1614,7 @@
|
|
|
1715
1614
|
},
|
|
1716
1615
|
"hasDynamicHelp": false,
|
|
1717
1616
|
"hiddenAliases": [],
|
|
1718
|
-
"id": "
|
|
1617
|
+
"id": "evaluators:update",
|
|
1719
1618
|
"pluginAlias": "@respan/cli",
|
|
1720
1619
|
"pluginName": "@respan/cli",
|
|
1721
1620
|
"pluginType": "core",
|
|
@@ -1725,8 +1624,8 @@
|
|
|
1725
1624
|
"relativePath": [
|
|
1726
1625
|
"dist",
|
|
1727
1626
|
"commands",
|
|
1728
|
-
"
|
|
1729
|
-
"
|
|
1627
|
+
"evaluators",
|
|
1628
|
+
"update.js"
|
|
1730
1629
|
]
|
|
1731
1630
|
},
|
|
1732
1631
|
"integrate:claude-code": {
|
|
@@ -2335,10 +2234,10 @@
|
|
|
2335
2234
|
"opencode.js"
|
|
2336
2235
|
]
|
|
2337
2236
|
},
|
|
2338
|
-
"
|
|
2237
|
+
"experiments:create": {
|
|
2339
2238
|
"aliases": [],
|
|
2340
2239
|
"args": {},
|
|
2341
|
-
"description": "Create a
|
|
2240
|
+
"description": "Create a new experiment",
|
|
2342
2241
|
"flags": {
|
|
2343
2242
|
"api-key": {
|
|
2344
2243
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2381,31 +2280,32 @@
|
|
|
2381
2280
|
"allowNo": false,
|
|
2382
2281
|
"type": "boolean"
|
|
2383
2282
|
},
|
|
2384
|
-
"
|
|
2385
|
-
"description": "
|
|
2386
|
-
"name": "
|
|
2283
|
+
"name": {
|
|
2284
|
+
"description": "Experiment name",
|
|
2285
|
+
"name": "name",
|
|
2387
2286
|
"required": true,
|
|
2388
2287
|
"hasDynamicHelp": false,
|
|
2389
2288
|
"multiple": false,
|
|
2390
2289
|
"type": "option"
|
|
2391
2290
|
},
|
|
2392
|
-
"
|
|
2393
|
-
"description": "
|
|
2394
|
-
"name": "
|
|
2291
|
+
"dataset-id": {
|
|
2292
|
+
"description": "Dataset ID",
|
|
2293
|
+
"name": "dataset-id",
|
|
2294
|
+
"required": true,
|
|
2395
2295
|
"hasDynamicHelp": false,
|
|
2396
2296
|
"multiple": false,
|
|
2397
2297
|
"type": "option"
|
|
2398
2298
|
},
|
|
2399
|
-
"
|
|
2400
|
-
"description": "
|
|
2401
|
-
"name": "
|
|
2299
|
+
"description": {
|
|
2300
|
+
"description": "Experiment description",
|
|
2301
|
+
"name": "description",
|
|
2402
2302
|
"hasDynamicHelp": false,
|
|
2403
2303
|
"multiple": false,
|
|
2404
2304
|
"type": "option"
|
|
2405
2305
|
},
|
|
2406
|
-
"
|
|
2407
|
-
"description": "
|
|
2408
|
-
"name": "
|
|
2306
|
+
"workflows": {
|
|
2307
|
+
"description": "Workflows configuration as JSON string",
|
|
2308
|
+
"name": "workflows",
|
|
2409
2309
|
"hasDynamicHelp": false,
|
|
2410
2310
|
"multiple": false,
|
|
2411
2311
|
"type": "option"
|
|
@@ -2413,7 +2313,7 @@
|
|
|
2413
2313
|
},
|
|
2414
2314
|
"hasDynamicHelp": false,
|
|
2415
2315
|
"hiddenAliases": [],
|
|
2416
|
-
"id": "
|
|
2316
|
+
"id": "experiments:create",
|
|
2417
2317
|
"pluginAlias": "@respan/cli",
|
|
2418
2318
|
"pluginName": "@respan/cli",
|
|
2419
2319
|
"pluginType": "core",
|
|
@@ -2423,20 +2323,20 @@
|
|
|
2423
2323
|
"relativePath": [
|
|
2424
2324
|
"dist",
|
|
2425
2325
|
"commands",
|
|
2426
|
-
"
|
|
2326
|
+
"experiments",
|
|
2427
2327
|
"create.js"
|
|
2428
2328
|
]
|
|
2429
2329
|
},
|
|
2430
|
-
"
|
|
2330
|
+
"experiments:get": {
|
|
2431
2331
|
"aliases": [],
|
|
2432
2332
|
"args": {
|
|
2433
2333
|
"id": {
|
|
2434
|
-
"description": "
|
|
2334
|
+
"description": "Experiment ID",
|
|
2435
2335
|
"name": "id",
|
|
2436
2336
|
"required": true
|
|
2437
2337
|
}
|
|
2438
2338
|
},
|
|
2439
|
-
"description": "Get a specific
|
|
2339
|
+
"description": "Get a specific experiment",
|
|
2440
2340
|
"flags": {
|
|
2441
2341
|
"api-key": {
|
|
2442
2342
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2482,7 +2382,7 @@
|
|
|
2482
2382
|
},
|
|
2483
2383
|
"hasDynamicHelp": false,
|
|
2484
2384
|
"hiddenAliases": [],
|
|
2485
|
-
"id": "
|
|
2385
|
+
"id": "experiments:get",
|
|
2486
2386
|
"pluginAlias": "@respan/cli",
|
|
2487
2387
|
"pluginName": "@respan/cli",
|
|
2488
2388
|
"pluginType": "core",
|
|
@@ -2492,14 +2392,14 @@
|
|
|
2492
2392
|
"relativePath": [
|
|
2493
2393
|
"dist",
|
|
2494
2394
|
"commands",
|
|
2495
|
-
"
|
|
2395
|
+
"experiments",
|
|
2496
2396
|
"get.js"
|
|
2497
2397
|
]
|
|
2498
2398
|
},
|
|
2499
|
-
"
|
|
2399
|
+
"experiments:list": {
|
|
2500
2400
|
"aliases": [],
|
|
2501
2401
|
"args": {},
|
|
2502
|
-
"description": "List
|
|
2402
|
+
"description": "List experiments",
|
|
2503
2403
|
"flags": {
|
|
2504
2404
|
"api-key": {
|
|
2505
2405
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2543,9 +2443,9 @@
|
|
|
2543
2443
|
"type": "boolean"
|
|
2544
2444
|
},
|
|
2545
2445
|
"limit": {
|
|
2546
|
-
"description": "Number of results per page
|
|
2446
|
+
"description": "Number of results per page",
|
|
2547
2447
|
"name": "limit",
|
|
2548
|
-
"default":
|
|
2448
|
+
"default": 20,
|
|
2549
2449
|
"hasDynamicHelp": false,
|
|
2550
2450
|
"multiple": false,
|
|
2551
2451
|
"type": "option"
|
|
@@ -2557,60 +2457,11 @@
|
|
|
2557
2457
|
"hasDynamicHelp": false,
|
|
2558
2458
|
"multiple": false,
|
|
2559
2459
|
"type": "option"
|
|
2560
|
-
},
|
|
2561
|
-
"sort-by": {
|
|
2562
|
-
"description": "Sort field (prefix with - for descending, e.g. -cost, -latency)",
|
|
2563
|
-
"name": "sort-by",
|
|
2564
|
-
"hasDynamicHelp": false,
|
|
2565
|
-
"multiple": false,
|
|
2566
|
-
"type": "option"
|
|
2567
|
-
},
|
|
2568
|
-
"start-time": {
|
|
2569
|
-
"description": "Start time filter (ISO 8601)",
|
|
2570
|
-
"name": "start-time",
|
|
2571
|
-
"hasDynamicHelp": false,
|
|
2572
|
-
"multiple": false,
|
|
2573
|
-
"type": "option"
|
|
2574
|
-
},
|
|
2575
|
-
"end-time": {
|
|
2576
|
-
"description": "End time filter (ISO 8601)",
|
|
2577
|
-
"name": "end-time",
|
|
2578
|
-
"hasDynamicHelp": false,
|
|
2579
|
-
"multiple": false,
|
|
2580
|
-
"type": "option"
|
|
2581
|
-
},
|
|
2582
|
-
"filter": {
|
|
2583
|
-
"description": "Filter in field:operator:value format (repeatable)",
|
|
2584
|
-
"name": "filter",
|
|
2585
|
-
"hasDynamicHelp": false,
|
|
2586
|
-
"multiple": true,
|
|
2587
|
-
"type": "option"
|
|
2588
|
-
},
|
|
2589
|
-
"all-envs": {
|
|
2590
|
-
"description": "Include all environments (true/false)",
|
|
2591
|
-
"name": "all-envs",
|
|
2592
|
-
"hasDynamicHelp": false,
|
|
2593
|
-
"multiple": false,
|
|
2594
|
-
"type": "option"
|
|
2595
|
-
},
|
|
2596
|
-
"is-test": {
|
|
2597
|
-
"description": "Filter by test (true) or production (false) environment",
|
|
2598
|
-
"name": "is-test",
|
|
2599
|
-
"hasDynamicHelp": false,
|
|
2600
|
-
"multiple": false,
|
|
2601
|
-
"type": "option"
|
|
2602
|
-
},
|
|
2603
|
-
"include-fields": {
|
|
2604
|
-
"description": "Comma-separated fields to include in response",
|
|
2605
|
-
"name": "include-fields",
|
|
2606
|
-
"hasDynamicHelp": false,
|
|
2607
|
-
"multiple": false,
|
|
2608
|
-
"type": "option"
|
|
2609
2460
|
}
|
|
2610
2461
|
},
|
|
2611
2462
|
"hasDynamicHelp": false,
|
|
2612
2463
|
"hiddenAliases": [],
|
|
2613
|
-
"id": "
|
|
2464
|
+
"id": "experiments:list",
|
|
2614
2465
|
"pluginAlias": "@respan/cli",
|
|
2615
2466
|
"pluginName": "@respan/cli",
|
|
2616
2467
|
"pluginType": "core",
|
|
@@ -2620,14 +2471,14 @@
|
|
|
2620
2471
|
"relativePath": [
|
|
2621
2472
|
"dist",
|
|
2622
2473
|
"commands",
|
|
2623
|
-
"
|
|
2474
|
+
"experiments",
|
|
2624
2475
|
"list.js"
|
|
2625
2476
|
]
|
|
2626
2477
|
},
|
|
2627
|
-
"logs:
|
|
2478
|
+
"logs:create": {
|
|
2628
2479
|
"aliases": [],
|
|
2629
2480
|
"args": {},
|
|
2630
|
-
"description": "
|
|
2481
|
+
"description": "Create a log span",
|
|
2631
2482
|
"flags": {
|
|
2632
2483
|
"api-key": {
|
|
2633
2484
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2670,39 +2521,31 @@
|
|
|
2670
2521
|
"allowNo": false,
|
|
2671
2522
|
"type": "boolean"
|
|
2672
2523
|
},
|
|
2673
|
-
"
|
|
2674
|
-
"description": "
|
|
2675
|
-
"name": "
|
|
2524
|
+
"input": {
|
|
2525
|
+
"description": "Input text or JSON",
|
|
2526
|
+
"name": "input",
|
|
2676
2527
|
"required": true,
|
|
2677
2528
|
"hasDynamicHelp": false,
|
|
2678
2529
|
"multiple": false,
|
|
2679
2530
|
"type": "option"
|
|
2680
2531
|
},
|
|
2681
|
-
"
|
|
2682
|
-
"description": "
|
|
2683
|
-
"name": "
|
|
2684
|
-
"required": true,
|
|
2532
|
+
"output": {
|
|
2533
|
+
"description": "Output text or JSON",
|
|
2534
|
+
"name": "output",
|
|
2685
2535
|
"hasDynamicHelp": false,
|
|
2686
2536
|
"multiple": false,
|
|
2687
2537
|
"type": "option"
|
|
2688
2538
|
},
|
|
2689
|
-
"
|
|
2690
|
-
"description": "
|
|
2691
|
-
"name": "
|
|
2692
|
-
"hasDynamicHelp": false,
|
|
2693
|
-
"multiple": true,
|
|
2694
|
-
"type": "option"
|
|
2695
|
-
},
|
|
2696
|
-
"all-envs": {
|
|
2697
|
-
"description": "Include all environments (true/false)",
|
|
2698
|
-
"name": "all-envs",
|
|
2539
|
+
"model": {
|
|
2540
|
+
"description": "Model name",
|
|
2541
|
+
"name": "model",
|
|
2699
2542
|
"hasDynamicHelp": false,
|
|
2700
2543
|
"multiple": false,
|
|
2701
2544
|
"type": "option"
|
|
2702
2545
|
},
|
|
2703
|
-
"
|
|
2704
|
-
"description": "
|
|
2705
|
-
"name": "
|
|
2546
|
+
"metadata": {
|
|
2547
|
+
"description": "Metadata as JSON string",
|
|
2548
|
+
"name": "metadata",
|
|
2706
2549
|
"hasDynamicHelp": false,
|
|
2707
2550
|
"multiple": false,
|
|
2708
2551
|
"type": "option"
|
|
@@ -2710,7 +2553,7 @@
|
|
|
2710
2553
|
},
|
|
2711
2554
|
"hasDynamicHelp": false,
|
|
2712
2555
|
"hiddenAliases": [],
|
|
2713
|
-
"id": "logs:
|
|
2556
|
+
"id": "logs:create",
|
|
2714
2557
|
"pluginAlias": "@respan/cli",
|
|
2715
2558
|
"pluginName": "@respan/cli",
|
|
2716
2559
|
"pluginType": "core",
|
|
@@ -2721,19 +2564,19 @@
|
|
|
2721
2564
|
"dist",
|
|
2722
2565
|
"commands",
|
|
2723
2566
|
"logs",
|
|
2724
|
-
"
|
|
2567
|
+
"create.js"
|
|
2725
2568
|
]
|
|
2726
2569
|
},
|
|
2727
|
-
"
|
|
2570
|
+
"logs:get": {
|
|
2728
2571
|
"aliases": [],
|
|
2729
2572
|
"args": {
|
|
2730
|
-
"
|
|
2731
|
-
"description": "
|
|
2732
|
-
"name": "
|
|
2573
|
+
"id": {
|
|
2574
|
+
"description": "Span ID",
|
|
2575
|
+
"name": "id",
|
|
2733
2576
|
"required": true
|
|
2734
2577
|
}
|
|
2735
2578
|
},
|
|
2736
|
-
"description": "
|
|
2579
|
+
"description": "Get a specific log span",
|
|
2737
2580
|
"flags": {
|
|
2738
2581
|
"api-key": {
|
|
2739
2582
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2775,40 +2618,308 @@
|
|
|
2775
2618
|
"name": "verbose",
|
|
2776
2619
|
"allowNo": false,
|
|
2777
2620
|
"type": "boolean"
|
|
2778
|
-
}
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
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,
|
|
2689
|
+
"hasDynamicHelp": false,
|
|
2690
|
+
"multiple": false,
|
|
2691
|
+
"type": "option"
|
|
2692
|
+
},
|
|
2693
|
+
"page": {
|
|
2694
|
+
"description": "Page number",
|
|
2695
|
+
"name": "page",
|
|
2696
|
+
"default": 1,
|
|
2697
|
+
"hasDynamicHelp": false,
|
|
2698
|
+
"multiple": false,
|
|
2699
|
+
"type": "option"
|
|
2700
|
+
},
|
|
2701
|
+
"sort-by": {
|
|
2702
|
+
"description": "Sort field (prefix with - for descending, e.g. -cost, -latency)",
|
|
2703
|
+
"name": "sort-by",
|
|
2704
|
+
"hasDynamicHelp": false,
|
|
2705
|
+
"multiple": false,
|
|
2706
|
+
"type": "option"
|
|
2707
|
+
},
|
|
2708
|
+
"start-time": {
|
|
2709
|
+
"description": "Start time filter (ISO 8601)",
|
|
2710
|
+
"name": "start-time",
|
|
2711
|
+
"hasDynamicHelp": false,
|
|
2712
|
+
"multiple": false,
|
|
2713
|
+
"type": "option"
|
|
2714
|
+
},
|
|
2715
|
+
"end-time": {
|
|
2716
|
+
"description": "End time filter (ISO 8601)",
|
|
2717
|
+
"name": "end-time",
|
|
2718
|
+
"hasDynamicHelp": false,
|
|
2719
|
+
"multiple": false,
|
|
2720
|
+
"type": "option"
|
|
2721
|
+
},
|
|
2722
|
+
"filter": {
|
|
2723
|
+
"description": "Filter in field:operator:value format (repeatable)",
|
|
2724
|
+
"name": "filter",
|
|
2725
|
+
"hasDynamicHelp": false,
|
|
2726
|
+
"multiple": true,
|
|
2727
|
+
"type": "option"
|
|
2728
|
+
},
|
|
2729
|
+
"all-envs": {
|
|
2730
|
+
"description": "Include all environments (true/false)",
|
|
2731
|
+
"name": "all-envs",
|
|
2732
|
+
"hasDynamicHelp": false,
|
|
2733
|
+
"multiple": false,
|
|
2734
|
+
"type": "option"
|
|
2735
|
+
},
|
|
2736
|
+
"is-test": {
|
|
2737
|
+
"description": "Filter by test (true) or production (false) environment",
|
|
2738
|
+
"name": "is-test",
|
|
2739
|
+
"hasDynamicHelp": false,
|
|
2740
|
+
"multiple": false,
|
|
2741
|
+
"type": "option"
|
|
2742
|
+
},
|
|
2743
|
+
"include-fields": {
|
|
2744
|
+
"description": "Comma-separated fields to include in response",
|
|
2745
|
+
"name": "include-fields",
|
|
2746
|
+
"hasDynamicHelp": false,
|
|
2747
|
+
"multiple": false,
|
|
2748
|
+
"type": "option"
|
|
2749
|
+
}
|
|
2750
|
+
},
|
|
2751
|
+
"hasDynamicHelp": false,
|
|
2752
|
+
"hiddenAliases": [],
|
|
2753
|
+
"id": "logs:list",
|
|
2754
|
+
"pluginAlias": "@respan/cli",
|
|
2755
|
+
"pluginName": "@respan/cli",
|
|
2756
|
+
"pluginType": "core",
|
|
2757
|
+
"strict": true,
|
|
2758
|
+
"enableJsonFlag": false,
|
|
2759
|
+
"isESM": true,
|
|
2760
|
+
"relativePath": [
|
|
2761
|
+
"dist",
|
|
2762
|
+
"commands",
|
|
2763
|
+
"logs",
|
|
2764
|
+
"list.js"
|
|
2765
|
+
]
|
|
2766
|
+
},
|
|
2767
|
+
"logs:summary": {
|
|
2768
|
+
"aliases": [],
|
|
2769
|
+
"args": {},
|
|
2770
|
+
"description": "Get aggregated summary statistics for log spans in a time range.\n\nReturns total cost, total tokens, request count, and score summaries.\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",
|
|
2771
|
+
"flags": {
|
|
2772
|
+
"api-key": {
|
|
2773
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
2774
|
+
"env": "RESPAN_API_KEY",
|
|
2775
|
+
"name": "api-key",
|
|
2776
|
+
"hasDynamicHelp": false,
|
|
2777
|
+
"multiple": false,
|
|
2778
|
+
"type": "option"
|
|
2779
|
+
},
|
|
2780
|
+
"base-url": {
|
|
2781
|
+
"description": "Temporary API base URL override for this command",
|
|
2782
|
+
"name": "base-url",
|
|
2783
|
+
"hasDynamicHelp": false,
|
|
2784
|
+
"multiple": false,
|
|
2785
|
+
"type": "option"
|
|
2786
|
+
},
|
|
2787
|
+
"profile": {
|
|
2788
|
+
"description": "Named profile to use",
|
|
2789
|
+
"name": "profile",
|
|
2790
|
+
"hasDynamicHelp": false,
|
|
2791
|
+
"multiple": false,
|
|
2792
|
+
"type": "option"
|
|
2793
|
+
},
|
|
2794
|
+
"json": {
|
|
2795
|
+
"description": "Output as JSON",
|
|
2796
|
+
"name": "json",
|
|
2797
|
+
"allowNo": false,
|
|
2798
|
+
"type": "boolean"
|
|
2799
|
+
},
|
|
2800
|
+
"csv": {
|
|
2801
|
+
"description": "Output as CSV",
|
|
2802
|
+
"name": "csv",
|
|
2803
|
+
"allowNo": false,
|
|
2804
|
+
"type": "boolean"
|
|
2805
|
+
},
|
|
2806
|
+
"verbose": {
|
|
2807
|
+
"char": "v",
|
|
2808
|
+
"description": "Show verbose output",
|
|
2809
|
+
"name": "verbose",
|
|
2810
|
+
"allowNo": false,
|
|
2811
|
+
"type": "boolean"
|
|
2812
|
+
},
|
|
2813
|
+
"start-time": {
|
|
2814
|
+
"description": "Start time (ISO 8601)",
|
|
2815
|
+
"name": "start-time",
|
|
2816
|
+
"required": true,
|
|
2817
|
+
"hasDynamicHelp": false,
|
|
2818
|
+
"multiple": false,
|
|
2819
|
+
"type": "option"
|
|
2820
|
+
},
|
|
2821
|
+
"end-time": {
|
|
2822
|
+
"description": "End time (ISO 8601)",
|
|
2823
|
+
"name": "end-time",
|
|
2824
|
+
"required": true,
|
|
2825
|
+
"hasDynamicHelp": false,
|
|
2826
|
+
"multiple": false,
|
|
2827
|
+
"type": "option"
|
|
2828
|
+
},
|
|
2829
|
+
"filter": {
|
|
2830
|
+
"description": "Filter in field:operator:value format (repeatable)",
|
|
2831
|
+
"name": "filter",
|
|
2832
|
+
"hasDynamicHelp": false,
|
|
2833
|
+
"multiple": true,
|
|
2834
|
+
"type": "option"
|
|
2835
|
+
},
|
|
2836
|
+
"all-envs": {
|
|
2837
|
+
"description": "Include all environments (true/false)",
|
|
2838
|
+
"name": "all-envs",
|
|
2839
|
+
"hasDynamicHelp": false,
|
|
2840
|
+
"multiple": false,
|
|
2841
|
+
"type": "option"
|
|
2842
|
+
},
|
|
2843
|
+
"is-test": {
|
|
2844
|
+
"description": "Filter by test (true) or production (false) environment",
|
|
2845
|
+
"name": "is-test",
|
|
2846
|
+
"hasDynamicHelp": false,
|
|
2847
|
+
"multiple": false,
|
|
2848
|
+
"type": "option"
|
|
2849
|
+
}
|
|
2850
|
+
},
|
|
2851
|
+
"hasDynamicHelp": false,
|
|
2852
|
+
"hiddenAliases": [],
|
|
2853
|
+
"id": "logs:summary",
|
|
2854
|
+
"pluginAlias": "@respan/cli",
|
|
2855
|
+
"pluginName": "@respan/cli",
|
|
2856
|
+
"pluginType": "core",
|
|
2857
|
+
"strict": true,
|
|
2858
|
+
"enableJsonFlag": false,
|
|
2859
|
+
"isESM": true,
|
|
2860
|
+
"relativePath": [
|
|
2861
|
+
"dist",
|
|
2862
|
+
"commands",
|
|
2863
|
+
"logs",
|
|
2864
|
+
"summary.js"
|
|
2865
|
+
]
|
|
2866
|
+
},
|
|
2867
|
+
"traces:get": {
|
|
2868
|
+
"aliases": [],
|
|
2869
|
+
"args": {
|
|
2870
|
+
"id": {
|
|
2871
|
+
"description": "Trace ID",
|
|
2872
|
+
"name": "id",
|
|
2873
|
+
"required": true
|
|
2874
|
+
}
|
|
2875
|
+
},
|
|
2876
|
+
"description": "Get a specific trace",
|
|
2877
|
+
"flags": {
|
|
2878
|
+
"api-key": {
|
|
2879
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
2880
|
+
"env": "RESPAN_API_KEY",
|
|
2881
|
+
"name": "api-key",
|
|
2882
|
+
"hasDynamicHelp": false,
|
|
2883
|
+
"multiple": false,
|
|
2884
|
+
"type": "option"
|
|
2885
|
+
},
|
|
2886
|
+
"base-url": {
|
|
2887
|
+
"description": "Temporary API base URL override for this command",
|
|
2888
|
+
"name": "base-url",
|
|
2797
2889
|
"hasDynamicHelp": false,
|
|
2798
2890
|
"multiple": false,
|
|
2799
2891
|
"type": "option"
|
|
2800
2892
|
},
|
|
2801
|
-
"
|
|
2802
|
-
"description": "
|
|
2803
|
-
"name": "
|
|
2893
|
+
"profile": {
|
|
2894
|
+
"description": "Named profile to use",
|
|
2895
|
+
"name": "profile",
|
|
2804
2896
|
"hasDynamicHelp": false,
|
|
2805
2897
|
"multiple": false,
|
|
2806
2898
|
"type": "option"
|
|
2899
|
+
},
|
|
2900
|
+
"json": {
|
|
2901
|
+
"description": "Output as JSON",
|
|
2902
|
+
"name": "json",
|
|
2903
|
+
"allowNo": false,
|
|
2904
|
+
"type": "boolean"
|
|
2905
|
+
},
|
|
2906
|
+
"csv": {
|
|
2907
|
+
"description": "Output as CSV",
|
|
2908
|
+
"name": "csv",
|
|
2909
|
+
"allowNo": false,
|
|
2910
|
+
"type": "boolean"
|
|
2911
|
+
},
|
|
2912
|
+
"verbose": {
|
|
2913
|
+
"char": "v",
|
|
2914
|
+
"description": "Show verbose output",
|
|
2915
|
+
"name": "verbose",
|
|
2916
|
+
"allowNo": false,
|
|
2917
|
+
"type": "boolean"
|
|
2807
2918
|
}
|
|
2808
2919
|
},
|
|
2809
2920
|
"hasDynamicHelp": false,
|
|
2810
2921
|
"hiddenAliases": [],
|
|
2811
|
-
"id": "
|
|
2922
|
+
"id": "traces:get",
|
|
2812
2923
|
"pluginAlias": "@respan/cli",
|
|
2813
2924
|
"pluginName": "@respan/cli",
|
|
2814
2925
|
"pluginType": "core",
|
|
@@ -2818,14 +2929,14 @@
|
|
|
2818
2929
|
"relativePath": [
|
|
2819
2930
|
"dist",
|
|
2820
2931
|
"commands",
|
|
2821
|
-
"
|
|
2822
|
-
"
|
|
2932
|
+
"traces",
|
|
2933
|
+
"get.js"
|
|
2823
2934
|
]
|
|
2824
2935
|
},
|
|
2825
|
-
"
|
|
2936
|
+
"traces:list": {
|
|
2826
2937
|
"aliases": [],
|
|
2827
2938
|
"args": {},
|
|
2828
|
-
"description": "
|
|
2939
|
+
"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",
|
|
2829
2940
|
"flags": {
|
|
2830
2941
|
"api-key": {
|
|
2831
2942
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2868,17 +2979,133 @@
|
|
|
2868
2979
|
"allowNo": false,
|
|
2869
2980
|
"type": "boolean"
|
|
2870
2981
|
},
|
|
2871
|
-
"
|
|
2872
|
-
"description": "
|
|
2873
|
-
"name": "
|
|
2982
|
+
"limit": {
|
|
2983
|
+
"description": "Number of results per page",
|
|
2984
|
+
"name": "limit",
|
|
2985
|
+
"default": 10,
|
|
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",
|
|
3016
|
+
"hasDynamicHelp": false,
|
|
3017
|
+
"multiple": false,
|
|
3018
|
+
"type": "option"
|
|
3019
|
+
},
|
|
3020
|
+
"environment": {
|
|
3021
|
+
"description": "Environment filter",
|
|
3022
|
+
"name": "environment",
|
|
3023
|
+
"hasDynamicHelp": false,
|
|
3024
|
+
"multiple": false,
|
|
3025
|
+
"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
|
+
}
|
|
3034
|
+
},
|
|
3035
|
+
"hasDynamicHelp": false,
|
|
3036
|
+
"hiddenAliases": [],
|
|
3037
|
+
"id": "traces:list",
|
|
3038
|
+
"pluginAlias": "@respan/cli",
|
|
3039
|
+
"pluginName": "@respan/cli",
|
|
3040
|
+
"pluginType": "core",
|
|
3041
|
+
"strict": true,
|
|
3042
|
+
"enableJsonFlag": false,
|
|
3043
|
+
"isESM": true,
|
|
3044
|
+
"relativePath": [
|
|
3045
|
+
"dist",
|
|
3046
|
+
"commands",
|
|
3047
|
+
"traces",
|
|
3048
|
+
"list.js"
|
|
3049
|
+
]
|
|
3050
|
+
},
|
|
3051
|
+
"traces:summary": {
|
|
3052
|
+
"aliases": [],
|
|
3053
|
+
"args": {},
|
|
3054
|
+
"description": "Get a span-level summary of activity for a time range (counts, latency, cost, errors aggregated across spans)",
|
|
3055
|
+
"flags": {
|
|
3056
|
+
"api-key": {
|
|
3057
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
3058
|
+
"env": "RESPAN_API_KEY",
|
|
3059
|
+
"name": "api-key",
|
|
3060
|
+
"hasDynamicHelp": false,
|
|
3061
|
+
"multiple": false,
|
|
3062
|
+
"type": "option"
|
|
3063
|
+
},
|
|
3064
|
+
"base-url": {
|
|
3065
|
+
"description": "Temporary API base URL override for this command",
|
|
3066
|
+
"name": "base-url",
|
|
3067
|
+
"hasDynamicHelp": false,
|
|
3068
|
+
"multiple": false,
|
|
3069
|
+
"type": "option"
|
|
3070
|
+
},
|
|
3071
|
+
"profile": {
|
|
3072
|
+
"description": "Named profile to use",
|
|
3073
|
+
"name": "profile",
|
|
3074
|
+
"hasDynamicHelp": false,
|
|
3075
|
+
"multiple": false,
|
|
3076
|
+
"type": "option"
|
|
3077
|
+
},
|
|
3078
|
+
"json": {
|
|
3079
|
+
"description": "Output as JSON",
|
|
3080
|
+
"name": "json",
|
|
3081
|
+
"allowNo": false,
|
|
3082
|
+
"type": "boolean"
|
|
3083
|
+
},
|
|
3084
|
+
"csv": {
|
|
3085
|
+
"description": "Output as CSV",
|
|
3086
|
+
"name": "csv",
|
|
3087
|
+
"allowNo": false,
|
|
3088
|
+
"type": "boolean"
|
|
3089
|
+
},
|
|
3090
|
+
"verbose": {
|
|
3091
|
+
"char": "v",
|
|
3092
|
+
"description": "Show verbose output",
|
|
3093
|
+
"name": "verbose",
|
|
3094
|
+
"allowNo": false,
|
|
3095
|
+
"type": "boolean"
|
|
3096
|
+
},
|
|
3097
|
+
"start-time": {
|
|
3098
|
+
"description": "Start time (ISO 8601)",
|
|
3099
|
+
"name": "start-time",
|
|
2874
3100
|
"required": true,
|
|
2875
3101
|
"hasDynamicHelp": false,
|
|
2876
3102
|
"multiple": false,
|
|
2877
3103
|
"type": "option"
|
|
2878
3104
|
},
|
|
2879
|
-
"
|
|
2880
|
-
"description": "
|
|
2881
|
-
"name": "
|
|
3105
|
+
"end-time": {
|
|
3106
|
+
"description": "End time (ISO 8601)",
|
|
3107
|
+
"name": "end-time",
|
|
3108
|
+
"required": true,
|
|
2882
3109
|
"hasDynamicHelp": false,
|
|
2883
3110
|
"multiple": false,
|
|
2884
3111
|
"type": "option"
|
|
@@ -2886,7 +3113,92 @@
|
|
|
2886
3113
|
},
|
|
2887
3114
|
"hasDynamicHelp": false,
|
|
2888
3115
|
"hiddenAliases": [],
|
|
2889
|
-
"id": "
|
|
3116
|
+
"id": "traces:summary",
|
|
3117
|
+
"pluginAlias": "@respan/cli",
|
|
3118
|
+
"pluginName": "@respan/cli",
|
|
3119
|
+
"pluginType": "core",
|
|
3120
|
+
"strict": true,
|
|
3121
|
+
"enableJsonFlag": false,
|
|
3122
|
+
"isESM": true,
|
|
3123
|
+
"relativePath": [
|
|
3124
|
+
"dist",
|
|
3125
|
+
"commands",
|
|
3126
|
+
"traces",
|
|
3127
|
+
"summary.js"
|
|
3128
|
+
]
|
|
3129
|
+
},
|
|
3130
|
+
"setup:doctor": {
|
|
3131
|
+
"aliases": [],
|
|
3132
|
+
"args": {},
|
|
3133
|
+
"description": "Diagnose coding-agent setup for Respan",
|
|
3134
|
+
"examples": [
|
|
3135
|
+
"respan setup doctor",
|
|
3136
|
+
"respan setup doctor --global"
|
|
3137
|
+
],
|
|
3138
|
+
"flags": {
|
|
3139
|
+
"api-key": {
|
|
3140
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
3141
|
+
"env": "RESPAN_API_KEY",
|
|
3142
|
+
"name": "api-key",
|
|
3143
|
+
"hasDynamicHelp": false,
|
|
3144
|
+
"multiple": false,
|
|
3145
|
+
"type": "option"
|
|
3146
|
+
},
|
|
3147
|
+
"base-url": {
|
|
3148
|
+
"description": "Temporary API base URL override for this command",
|
|
3149
|
+
"name": "base-url",
|
|
3150
|
+
"hasDynamicHelp": false,
|
|
3151
|
+
"multiple": false,
|
|
3152
|
+
"type": "option"
|
|
3153
|
+
},
|
|
3154
|
+
"profile": {
|
|
3155
|
+
"description": "Named profile to use",
|
|
3156
|
+
"name": "profile",
|
|
3157
|
+
"hasDynamicHelp": false,
|
|
3158
|
+
"multiple": false,
|
|
3159
|
+
"type": "option"
|
|
3160
|
+
},
|
|
3161
|
+
"json": {
|
|
3162
|
+
"description": "Output as JSON",
|
|
3163
|
+
"name": "json",
|
|
3164
|
+
"allowNo": false,
|
|
3165
|
+
"type": "boolean"
|
|
3166
|
+
},
|
|
3167
|
+
"csv": {
|
|
3168
|
+
"description": "Output as CSV",
|
|
3169
|
+
"name": "csv",
|
|
3170
|
+
"allowNo": false,
|
|
3171
|
+
"type": "boolean"
|
|
3172
|
+
},
|
|
3173
|
+
"verbose": {
|
|
3174
|
+
"char": "v",
|
|
3175
|
+
"description": "Show verbose output",
|
|
3176
|
+
"name": "verbose",
|
|
3177
|
+
"allowNo": false,
|
|
3178
|
+
"type": "boolean"
|
|
3179
|
+
},
|
|
3180
|
+
"local": {
|
|
3181
|
+
"description": "Check local project setup",
|
|
3182
|
+
"exclusive": [
|
|
3183
|
+
"global"
|
|
3184
|
+
],
|
|
3185
|
+
"name": "local",
|
|
3186
|
+
"allowNo": false,
|
|
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"
|
|
3197
|
+
}
|
|
3198
|
+
},
|
|
3199
|
+
"hasDynamicHelp": false,
|
|
3200
|
+
"hiddenAliases": [],
|
|
3201
|
+
"id": "setup:doctor",
|
|
2890
3202
|
"pluginAlias": "@respan/cli",
|
|
2891
3203
|
"pluginName": "@respan/cli",
|
|
2892
3204
|
"pluginType": "core",
|
|
@@ -2896,20 +3208,19 @@
|
|
|
2896
3208
|
"relativePath": [
|
|
2897
3209
|
"dist",
|
|
2898
3210
|
"commands",
|
|
2899
|
-
"
|
|
2900
|
-
"
|
|
3211
|
+
"setup",
|
|
3212
|
+
"doctor.js"
|
|
2901
3213
|
]
|
|
2902
3214
|
},
|
|
2903
|
-
"
|
|
3215
|
+
"setup:gateway": {
|
|
2904
3216
|
"aliases": [],
|
|
2905
|
-
"args": {
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
"description": "Get a specific prompt",
|
|
3217
|
+
"args": {},
|
|
3218
|
+
"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.",
|
|
3219
|
+
"examples": [
|
|
3220
|
+
"respan setup gateway",
|
|
3221
|
+
"respan setup gateway --agent claude-code",
|
|
3222
|
+
"respan setup gateway --no-instrument"
|
|
3223
|
+
],
|
|
2913
3224
|
"flags": {
|
|
2914
3225
|
"api-key": {
|
|
2915
3226
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2934,13 +3245,13 @@
|
|
|
2934
3245
|
"type": "option"
|
|
2935
3246
|
},
|
|
2936
3247
|
"json": {
|
|
2937
|
-
"
|
|
3248
|
+
"hidden": true,
|
|
2938
3249
|
"name": "json",
|
|
2939
3250
|
"allowNo": false,
|
|
2940
3251
|
"type": "boolean"
|
|
2941
3252
|
},
|
|
2942
3253
|
"csv": {
|
|
2943
|
-
"
|
|
3254
|
+
"hidden": true,
|
|
2944
3255
|
"name": "csv",
|
|
2945
3256
|
"allowNo": false,
|
|
2946
3257
|
"type": "boolean"
|
|
@@ -2951,11 +3262,24 @@
|
|
|
2951
3262
|
"name": "verbose",
|
|
2952
3263
|
"allowNo": false,
|
|
2953
3264
|
"type": "boolean"
|
|
3265
|
+
},
|
|
3266
|
+
"agent": {
|
|
3267
|
+
"description": "Agent to configure (claude-code, cursor, codex-cli, gemini-cli, opencode)",
|
|
3268
|
+
"name": "agent",
|
|
3269
|
+
"hasDynamicHelp": false,
|
|
3270
|
+
"multiple": false,
|
|
3271
|
+
"type": "option"
|
|
3272
|
+
},
|
|
3273
|
+
"no-instrument": {
|
|
3274
|
+
"description": "Skip opening the agent after setup",
|
|
3275
|
+
"name": "no-instrument",
|
|
3276
|
+
"allowNo": false,
|
|
3277
|
+
"type": "boolean"
|
|
2954
3278
|
}
|
|
2955
3279
|
},
|
|
2956
3280
|
"hasDynamicHelp": false,
|
|
2957
3281
|
"hiddenAliases": [],
|
|
2958
|
-
"id": "
|
|
3282
|
+
"id": "setup:gateway",
|
|
2959
3283
|
"pluginAlias": "@respan/cli",
|
|
2960
3284
|
"pluginName": "@respan/cli",
|
|
2961
3285
|
"pluginType": "core",
|
|
@@ -2965,14 +3289,22 @@
|
|
|
2965
3289
|
"relativePath": [
|
|
2966
3290
|
"dist",
|
|
2967
3291
|
"commands",
|
|
2968
|
-
"
|
|
2969
|
-
"
|
|
3292
|
+
"setup",
|
|
3293
|
+
"gateway.js"
|
|
2970
3294
|
]
|
|
2971
3295
|
},
|
|
2972
|
-
"
|
|
3296
|
+
"setup": {
|
|
2973
3297
|
"aliases": [],
|
|
2974
3298
|
"args": {},
|
|
2975
|
-
"description": "
|
|
3299
|
+
"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.",
|
|
3300
|
+
"examples": [
|
|
3301
|
+
"npx @respan/cli setup",
|
|
3302
|
+
"respan setup",
|
|
3303
|
+
"respan setup tracing",
|
|
3304
|
+
"respan setup gateway",
|
|
3305
|
+
"respan setup --agent claude-code",
|
|
3306
|
+
"respan setup --no-instrument"
|
|
3307
|
+
],
|
|
2976
3308
|
"flags": {
|
|
2977
3309
|
"api-key": {
|
|
2978
3310
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2997,13 +3329,13 @@
|
|
|
2997
3329
|
"type": "option"
|
|
2998
3330
|
},
|
|
2999
3331
|
"json": {
|
|
3000
|
-
"
|
|
3332
|
+
"hidden": true,
|
|
3001
3333
|
"name": "json",
|
|
3002
3334
|
"allowNo": false,
|
|
3003
3335
|
"type": "boolean"
|
|
3004
3336
|
},
|
|
3005
3337
|
"csv": {
|
|
3006
|
-
"
|
|
3338
|
+
"hidden": true,
|
|
3007
3339
|
"name": "csv",
|
|
3008
3340
|
"allowNo": false,
|
|
3009
3341
|
"type": "boolean"
|
|
@@ -3015,18 +3347,23 @@
|
|
|
3015
3347
|
"allowNo": false,
|
|
3016
3348
|
"type": "boolean"
|
|
3017
3349
|
},
|
|
3018
|
-
"
|
|
3019
|
-
"description": "
|
|
3020
|
-
"name": "
|
|
3021
|
-
"default": 50,
|
|
3350
|
+
"agent": {
|
|
3351
|
+
"description": "Agent to configure (claude-code, cursor, codex-cli, gemini-cli, opencode)",
|
|
3352
|
+
"name": "agent",
|
|
3022
3353
|
"hasDynamicHelp": false,
|
|
3023
3354
|
"multiple": false,
|
|
3024
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"
|
|
3025
3362
|
}
|
|
3026
3363
|
},
|
|
3027
3364
|
"hasDynamicHelp": false,
|
|
3028
3365
|
"hiddenAliases": [],
|
|
3029
|
-
"id": "
|
|
3366
|
+
"id": "setup",
|
|
3030
3367
|
"pluginAlias": "@respan/cli",
|
|
3031
3368
|
"pluginName": "@respan/cli",
|
|
3032
3369
|
"pluginType": "core",
|
|
@@ -3036,20 +3373,19 @@
|
|
|
3036
3373
|
"relativePath": [
|
|
3037
3374
|
"dist",
|
|
3038
3375
|
"commands",
|
|
3039
|
-
"
|
|
3040
|
-
"
|
|
3376
|
+
"setup",
|
|
3377
|
+
"index.js"
|
|
3041
3378
|
]
|
|
3042
3379
|
},
|
|
3043
|
-
"
|
|
3380
|
+
"setup:tracing": {
|
|
3044
3381
|
"aliases": [],
|
|
3045
|
-
"args": {
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
"description": "Update a prompt",
|
|
3382
|
+
"args": {},
|
|
3383
|
+
"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.",
|
|
3384
|
+
"examples": [
|
|
3385
|
+
"respan setup tracing",
|
|
3386
|
+
"respan setup tracing --agent claude-code",
|
|
3387
|
+
"respan setup tracing --no-instrument"
|
|
3388
|
+
],
|
|
3053
3389
|
"flags": {
|
|
3054
3390
|
"api-key": {
|
|
3055
3391
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3074,13 +3410,13 @@
|
|
|
3074
3410
|
"type": "option"
|
|
3075
3411
|
},
|
|
3076
3412
|
"json": {
|
|
3077
|
-
"
|
|
3413
|
+
"hidden": true,
|
|
3078
3414
|
"name": "json",
|
|
3079
3415
|
"allowNo": false,
|
|
3080
3416
|
"type": "boolean"
|
|
3081
3417
|
},
|
|
3082
3418
|
"csv": {
|
|
3083
|
-
"
|
|
3419
|
+
"hidden": true,
|
|
3084
3420
|
"name": "csv",
|
|
3085
3421
|
"allowNo": false,
|
|
3086
3422
|
"type": "boolean"
|
|
@@ -3092,24 +3428,23 @@
|
|
|
3092
3428
|
"allowNo": false,
|
|
3093
3429
|
"type": "boolean"
|
|
3094
3430
|
},
|
|
3095
|
-
"
|
|
3096
|
-
"description": "
|
|
3097
|
-
"name": "
|
|
3431
|
+
"agent": {
|
|
3432
|
+
"description": "Agent to configure (claude-code, cursor, codex-cli, gemini-cli, opencode)",
|
|
3433
|
+
"name": "agent",
|
|
3098
3434
|
"hasDynamicHelp": false,
|
|
3099
3435
|
"multiple": false,
|
|
3100
3436
|
"type": "option"
|
|
3101
3437
|
},
|
|
3102
|
-
"
|
|
3103
|
-
"description": "
|
|
3104
|
-
"name": "
|
|
3105
|
-
"
|
|
3106
|
-
"
|
|
3107
|
-
"type": "option"
|
|
3438
|
+
"no-instrument": {
|
|
3439
|
+
"description": "Skip opening the agent after setup",
|
|
3440
|
+
"name": "no-instrument",
|
|
3441
|
+
"allowNo": false,
|
|
3442
|
+
"type": "boolean"
|
|
3108
3443
|
}
|
|
3109
3444
|
},
|
|
3110
3445
|
"hasDynamicHelp": false,
|
|
3111
3446
|
"hiddenAliases": [],
|
|
3112
|
-
"id": "
|
|
3447
|
+
"id": "setup:tracing",
|
|
3113
3448
|
"pluginAlias": "@respan/cli",
|
|
3114
3449
|
"pluginName": "@respan/cli",
|
|
3115
3450
|
"pluginType": "core",
|
|
@@ -3119,20 +3454,14 @@
|
|
|
3119
3454
|
"relativePath": [
|
|
3120
3455
|
"dist",
|
|
3121
3456
|
"commands",
|
|
3122
|
-
"
|
|
3123
|
-
"
|
|
3457
|
+
"setup",
|
|
3458
|
+
"tracing.js"
|
|
3124
3459
|
]
|
|
3125
3460
|
},
|
|
3126
|
-
"
|
|
3461
|
+
"users:create": {
|
|
3127
3462
|
"aliases": [],
|
|
3128
|
-
"args": {
|
|
3129
|
-
|
|
3130
|
-
"description": "Prompt ID",
|
|
3131
|
-
"name": "prompt-id",
|
|
3132
|
-
"required": true
|
|
3133
|
-
}
|
|
3134
|
-
},
|
|
3135
|
-
"description": "List versions of a prompt",
|
|
3463
|
+
"args": {},
|
|
3464
|
+
"description": "Create a new user (customer)",
|
|
3136
3465
|
"flags": {
|
|
3137
3466
|
"api-key": {
|
|
3138
3467
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3174,11 +3503,40 @@
|
|
|
3174
3503
|
"name": "verbose",
|
|
3175
3504
|
"allowNo": false,
|
|
3176
3505
|
"type": "boolean"
|
|
3506
|
+
},
|
|
3507
|
+
"identifier": {
|
|
3508
|
+
"description": "Customer identifier",
|
|
3509
|
+
"name": "identifier",
|
|
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",
|
|
3525
|
+
"hasDynamicHelp": false,
|
|
3526
|
+
"multiple": false,
|
|
3527
|
+
"type": "option"
|
|
3528
|
+
},
|
|
3529
|
+
"metadata": {
|
|
3530
|
+
"description": "Metadata as JSON string",
|
|
3531
|
+
"name": "metadata",
|
|
3532
|
+
"hasDynamicHelp": false,
|
|
3533
|
+
"multiple": false,
|
|
3534
|
+
"type": "option"
|
|
3177
3535
|
}
|
|
3178
3536
|
},
|
|
3179
3537
|
"hasDynamicHelp": false,
|
|
3180
3538
|
"hiddenAliases": [],
|
|
3181
|
-
"id": "
|
|
3539
|
+
"id": "users:create",
|
|
3182
3540
|
"pluginAlias": "@respan/cli",
|
|
3183
3541
|
"pluginName": "@respan/cli",
|
|
3184
3542
|
"pluginType": "core",
|
|
@@ -3188,18 +3546,20 @@
|
|
|
3188
3546
|
"relativePath": [
|
|
3189
3547
|
"dist",
|
|
3190
3548
|
"commands",
|
|
3191
|
-
"
|
|
3192
|
-
"
|
|
3549
|
+
"users",
|
|
3550
|
+
"create.js"
|
|
3193
3551
|
]
|
|
3194
3552
|
},
|
|
3195
|
-
"
|
|
3553
|
+
"users:get": {
|
|
3196
3554
|
"aliases": [],
|
|
3197
|
-
"args": {
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3555
|
+
"args": {
|
|
3556
|
+
"id": {
|
|
3557
|
+
"description": "Customer identifier",
|
|
3558
|
+
"name": "id",
|
|
3559
|
+
"required": true
|
|
3560
|
+
}
|
|
3561
|
+
},
|
|
3562
|
+
"description": "Get a specific user (customer)",
|
|
3203
3563
|
"flags": {
|
|
3204
3564
|
"api-key": {
|
|
3205
3565
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3241,29 +3601,11 @@
|
|
|
3241
3601
|
"name": "verbose",
|
|
3242
3602
|
"allowNo": false,
|
|
3243
3603
|
"type": "boolean"
|
|
3244
|
-
},
|
|
3245
|
-
"local": {
|
|
3246
|
-
"description": "Check local project setup",
|
|
3247
|
-
"exclusive": [
|
|
3248
|
-
"global"
|
|
3249
|
-
],
|
|
3250
|
-
"name": "local",
|
|
3251
|
-
"allowNo": false,
|
|
3252
|
-
"type": "boolean"
|
|
3253
|
-
},
|
|
3254
|
-
"global": {
|
|
3255
|
-
"description": "Check global setup",
|
|
3256
|
-
"exclusive": [
|
|
3257
|
-
"local"
|
|
3258
|
-
],
|
|
3259
|
-
"name": "global",
|
|
3260
|
-
"allowNo": false,
|
|
3261
|
-
"type": "boolean"
|
|
3262
3604
|
}
|
|
3263
3605
|
},
|
|
3264
3606
|
"hasDynamicHelp": false,
|
|
3265
3607
|
"hiddenAliases": [],
|
|
3266
|
-
"id": "
|
|
3608
|
+
"id": "users:get",
|
|
3267
3609
|
"pluginAlias": "@respan/cli",
|
|
3268
3610
|
"pluginName": "@respan/cli",
|
|
3269
3611
|
"pluginType": "core",
|
|
@@ -3273,21 +3615,14 @@
|
|
|
3273
3615
|
"relativePath": [
|
|
3274
3616
|
"dist",
|
|
3275
3617
|
"commands",
|
|
3276
|
-
"
|
|
3277
|
-
"
|
|
3618
|
+
"users",
|
|
3619
|
+
"get.js"
|
|
3278
3620
|
]
|
|
3279
3621
|
},
|
|
3280
|
-
"
|
|
3622
|
+
"users:list": {
|
|
3281
3623
|
"aliases": [],
|
|
3282
3624
|
"args": {},
|
|
3283
|
-
"description": "
|
|
3284
|
-
"examples": [
|
|
3285
|
-
"npx @respan/cli setup",
|
|
3286
|
-
"respan setup",
|
|
3287
|
-
"respan setup --agent claude-code",
|
|
3288
|
-
"respan setup --no-instrument",
|
|
3289
|
-
"respan setup --agent cursor"
|
|
3290
|
-
],
|
|
3625
|
+
"description": "List users (customers)",
|
|
3291
3626
|
"flags": {
|
|
3292
3627
|
"api-key": {
|
|
3293
3628
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3330,23 +3665,40 @@
|
|
|
3330
3665
|
"allowNo": false,
|
|
3331
3666
|
"type": "boolean"
|
|
3332
3667
|
},
|
|
3333
|
-
"
|
|
3334
|
-
"description": "
|
|
3335
|
-
"name": "
|
|
3668
|
+
"limit": {
|
|
3669
|
+
"description": "Number of results per page",
|
|
3670
|
+
"name": "limit",
|
|
3671
|
+
"default": 20,
|
|
3336
3672
|
"hasDynamicHelp": false,
|
|
3337
3673
|
"multiple": false,
|
|
3338
3674
|
"type": "option"
|
|
3339
3675
|
},
|
|
3340
|
-
"
|
|
3341
|
-
"description": "
|
|
3342
|
-
"name": "
|
|
3343
|
-
"
|
|
3344
|
-
"
|
|
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",
|
|
3687
|
+
"hasDynamicHelp": false,
|
|
3688
|
+
"multiple": false,
|
|
3689
|
+
"type": "option"
|
|
3690
|
+
},
|
|
3691
|
+
"environment": {
|
|
3692
|
+
"description": "Environment filter",
|
|
3693
|
+
"name": "environment",
|
|
3694
|
+
"hasDynamicHelp": false,
|
|
3695
|
+
"multiple": false,
|
|
3696
|
+
"type": "option"
|
|
3345
3697
|
}
|
|
3346
3698
|
},
|
|
3347
3699
|
"hasDynamicHelp": false,
|
|
3348
3700
|
"hiddenAliases": [],
|
|
3349
|
-
"id": "
|
|
3701
|
+
"id": "users:list",
|
|
3350
3702
|
"pluginAlias": "@respan/cli",
|
|
3351
3703
|
"pluginName": "@respan/cli",
|
|
3352
3704
|
"pluginType": "core",
|
|
@@ -3356,20 +3708,20 @@
|
|
|
3356
3708
|
"relativePath": [
|
|
3357
3709
|
"dist",
|
|
3358
3710
|
"commands",
|
|
3359
|
-
"
|
|
3360
|
-
"
|
|
3711
|
+
"users",
|
|
3712
|
+
"list.js"
|
|
3361
3713
|
]
|
|
3362
3714
|
},
|
|
3363
|
-
"
|
|
3715
|
+
"users:update": {
|
|
3364
3716
|
"aliases": [],
|
|
3365
3717
|
"args": {
|
|
3366
3718
|
"id": {
|
|
3367
|
-
"description": "
|
|
3719
|
+
"description": "Customer identifier",
|
|
3368
3720
|
"name": "id",
|
|
3369
3721
|
"required": true
|
|
3370
3722
|
}
|
|
3371
3723
|
},
|
|
3372
|
-
"description": "
|
|
3724
|
+
"description": "Update a user (customer)",
|
|
3373
3725
|
"flags": {
|
|
3374
3726
|
"api-key": {
|
|
3375
3727
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3411,11 +3763,32 @@
|
|
|
3411
3763
|
"name": "verbose",
|
|
3412
3764
|
"allowNo": false,
|
|
3413
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"
|
|
3414
3787
|
}
|
|
3415
3788
|
},
|
|
3416
3789
|
"hasDynamicHelp": false,
|
|
3417
3790
|
"hiddenAliases": [],
|
|
3418
|
-
"id": "
|
|
3791
|
+
"id": "users:update",
|
|
3419
3792
|
"pluginAlias": "@respan/cli",
|
|
3420
3793
|
"pluginName": "@respan/cli",
|
|
3421
3794
|
"pluginType": "core",
|
|
@@ -3425,14 +3798,20 @@
|
|
|
3425
3798
|
"relativePath": [
|
|
3426
3799
|
"dist",
|
|
3427
3800
|
"commands",
|
|
3428
|
-
"
|
|
3429
|
-
"
|
|
3801
|
+
"users",
|
|
3802
|
+
"update.js"
|
|
3430
3803
|
]
|
|
3431
3804
|
},
|
|
3432
|
-
"
|
|
3805
|
+
"prompts:create-version": {
|
|
3433
3806
|
"aliases": [],
|
|
3434
|
-
"args": {
|
|
3435
|
-
|
|
3807
|
+
"args": {
|
|
3808
|
+
"prompt-id": {
|
|
3809
|
+
"description": "Prompt ID",
|
|
3810
|
+
"name": "prompt-id",
|
|
3811
|
+
"required": true
|
|
3812
|
+
}
|
|
3813
|
+
},
|
|
3814
|
+
"description": "Create a new version of a prompt",
|
|
3436
3815
|
"flags": {
|
|
3437
3816
|
"api-key": {
|
|
3438
3817
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3475,62 +3854,39 @@
|
|
|
3475
3854
|
"allowNo": false,
|
|
3476
3855
|
"type": "boolean"
|
|
3477
3856
|
},
|
|
3478
|
-
"
|
|
3479
|
-
"description": "
|
|
3480
|
-
"name": "
|
|
3481
|
-
"
|
|
3482
|
-
"hasDynamicHelp": false,
|
|
3483
|
-
"multiple": false,
|
|
3484
|
-
"type": "option"
|
|
3485
|
-
},
|
|
3486
|
-
"page": {
|
|
3487
|
-
"description": "Page number",
|
|
3488
|
-
"name": "page",
|
|
3489
|
-
"default": 1,
|
|
3490
|
-
"hasDynamicHelp": false,
|
|
3491
|
-
"multiple": false,
|
|
3492
|
-
"type": "option"
|
|
3493
|
-
},
|
|
3494
|
-
"sort-by": {
|
|
3495
|
-
"description": "Sort field (prefix with - for descending)",
|
|
3496
|
-
"name": "sort-by",
|
|
3497
|
-
"default": "-timestamp",
|
|
3857
|
+
"messages": {
|
|
3858
|
+
"description": "Messages as JSON array string",
|
|
3859
|
+
"name": "messages",
|
|
3860
|
+
"required": true,
|
|
3498
3861
|
"hasDynamicHelp": false,
|
|
3499
3862
|
"multiple": false,
|
|
3500
3863
|
"type": "option"
|
|
3501
3864
|
},
|
|
3502
|
-
"
|
|
3503
|
-
"description": "
|
|
3504
|
-
"name": "
|
|
3865
|
+
"model": {
|
|
3866
|
+
"description": "Model name",
|
|
3867
|
+
"name": "model",
|
|
3505
3868
|
"hasDynamicHelp": false,
|
|
3506
3869
|
"multiple": false,
|
|
3507
3870
|
"type": "option"
|
|
3508
3871
|
},
|
|
3509
|
-
"
|
|
3510
|
-
"description": "
|
|
3511
|
-
"name": "
|
|
3872
|
+
"temperature": {
|
|
3873
|
+
"description": "Temperature value",
|
|
3874
|
+
"name": "temperature",
|
|
3512
3875
|
"hasDynamicHelp": false,
|
|
3513
3876
|
"multiple": false,
|
|
3514
3877
|
"type": "option"
|
|
3515
3878
|
},
|
|
3516
|
-
"
|
|
3517
|
-
"description": "
|
|
3518
|
-
"name": "
|
|
3879
|
+
"max-tokens": {
|
|
3880
|
+
"description": "Max tokens",
|
|
3881
|
+
"name": "max-tokens",
|
|
3519
3882
|
"hasDynamicHelp": false,
|
|
3520
3883
|
"multiple": false,
|
|
3521
3884
|
"type": "option"
|
|
3522
|
-
},
|
|
3523
|
-
"filter": {
|
|
3524
|
-
"description": "Filter in field:operator:value format (repeatable)",
|
|
3525
|
-
"name": "filter",
|
|
3526
|
-
"hasDynamicHelp": false,
|
|
3527
|
-
"multiple": true,
|
|
3528
|
-
"type": "option"
|
|
3529
3885
|
}
|
|
3530
3886
|
},
|
|
3531
3887
|
"hasDynamicHelp": false,
|
|
3532
3888
|
"hiddenAliases": [],
|
|
3533
|
-
"id": "
|
|
3889
|
+
"id": "prompts:create-version",
|
|
3534
3890
|
"pluginAlias": "@respan/cli",
|
|
3535
3891
|
"pluginName": "@respan/cli",
|
|
3536
3892
|
"pluginType": "core",
|
|
@@ -3540,14 +3896,14 @@
|
|
|
3540
3896
|
"relativePath": [
|
|
3541
3897
|
"dist",
|
|
3542
3898
|
"commands",
|
|
3543
|
-
"
|
|
3544
|
-
"
|
|
3899
|
+
"prompts",
|
|
3900
|
+
"create-version.js"
|
|
3545
3901
|
]
|
|
3546
3902
|
},
|
|
3547
|
-
"
|
|
3903
|
+
"prompts:create": {
|
|
3548
3904
|
"aliases": [],
|
|
3549
3905
|
"args": {},
|
|
3550
|
-
"description": "
|
|
3906
|
+
"description": "Create a new prompt",
|
|
3551
3907
|
"flags": {
|
|
3552
3908
|
"api-key": {
|
|
3553
3909
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3590,18 +3946,17 @@
|
|
|
3590
3946
|
"allowNo": false,
|
|
3591
3947
|
"type": "boolean"
|
|
3592
3948
|
},
|
|
3593
|
-
"
|
|
3594
|
-
"description": "
|
|
3595
|
-
"name": "
|
|
3949
|
+
"name": {
|
|
3950
|
+
"description": "Prompt name",
|
|
3951
|
+
"name": "name",
|
|
3596
3952
|
"required": true,
|
|
3597
3953
|
"hasDynamicHelp": false,
|
|
3598
3954
|
"multiple": false,
|
|
3599
3955
|
"type": "option"
|
|
3600
3956
|
},
|
|
3601
|
-
"
|
|
3602
|
-
"description": "
|
|
3603
|
-
"name": "
|
|
3604
|
-
"required": true,
|
|
3957
|
+
"description": {
|
|
3958
|
+
"description": "Prompt description",
|
|
3959
|
+
"name": "description",
|
|
3605
3960
|
"hasDynamicHelp": false,
|
|
3606
3961
|
"multiple": false,
|
|
3607
3962
|
"type": "option"
|
|
@@ -3609,7 +3964,7 @@
|
|
|
3609
3964
|
},
|
|
3610
3965
|
"hasDynamicHelp": false,
|
|
3611
3966
|
"hiddenAliases": [],
|
|
3612
|
-
"id": "
|
|
3967
|
+
"id": "prompts:create",
|
|
3613
3968
|
"pluginAlias": "@respan/cli",
|
|
3614
3969
|
"pluginName": "@respan/cli",
|
|
3615
3970
|
"pluginType": "core",
|
|
@@ -3619,14 +3974,20 @@
|
|
|
3619
3974
|
"relativePath": [
|
|
3620
3975
|
"dist",
|
|
3621
3976
|
"commands",
|
|
3622
|
-
"
|
|
3623
|
-
"
|
|
3977
|
+
"prompts",
|
|
3978
|
+
"create.js"
|
|
3624
3979
|
]
|
|
3625
3980
|
},
|
|
3626
|
-
"
|
|
3981
|
+
"prompts:get": {
|
|
3627
3982
|
"aliases": [],
|
|
3628
|
-
"args": {
|
|
3629
|
-
|
|
3983
|
+
"args": {
|
|
3984
|
+
"id": {
|
|
3985
|
+
"description": "Prompt ID",
|
|
3986
|
+
"name": "id",
|
|
3987
|
+
"required": true
|
|
3988
|
+
}
|
|
3989
|
+
},
|
|
3990
|
+
"description": "Get a specific prompt",
|
|
3630
3991
|
"flags": {
|
|
3631
3992
|
"api-key": {
|
|
3632
3993
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3668,40 +4029,11 @@
|
|
|
3668
4029
|
"name": "verbose",
|
|
3669
4030
|
"allowNo": false,
|
|
3670
4031
|
"type": "boolean"
|
|
3671
|
-
},
|
|
3672
|
-
"identifier": {
|
|
3673
|
-
"description": "Customer identifier",
|
|
3674
|
-
"name": "identifier",
|
|
3675
|
-
"required": true,
|
|
3676
|
-
"hasDynamicHelp": false,
|
|
3677
|
-
"multiple": false,
|
|
3678
|
-
"type": "option"
|
|
3679
|
-
},
|
|
3680
|
-
"name": {
|
|
3681
|
-
"description": "Customer name",
|
|
3682
|
-
"name": "name",
|
|
3683
|
-
"hasDynamicHelp": false,
|
|
3684
|
-
"multiple": false,
|
|
3685
|
-
"type": "option"
|
|
3686
|
-
},
|
|
3687
|
-
"email": {
|
|
3688
|
-
"description": "Customer email",
|
|
3689
|
-
"name": "email",
|
|
3690
|
-
"hasDynamicHelp": false,
|
|
3691
|
-
"multiple": false,
|
|
3692
|
-
"type": "option"
|
|
3693
|
-
},
|
|
3694
|
-
"metadata": {
|
|
3695
|
-
"description": "Metadata as JSON string",
|
|
3696
|
-
"name": "metadata",
|
|
3697
|
-
"hasDynamicHelp": false,
|
|
3698
|
-
"multiple": false,
|
|
3699
|
-
"type": "option"
|
|
3700
4032
|
}
|
|
3701
4033
|
},
|
|
3702
4034
|
"hasDynamicHelp": false,
|
|
3703
4035
|
"hiddenAliases": [],
|
|
3704
|
-
"id": "
|
|
4036
|
+
"id": "prompts:get",
|
|
3705
4037
|
"pluginAlias": "@respan/cli",
|
|
3706
4038
|
"pluginName": "@respan/cli",
|
|
3707
4039
|
"pluginType": "core",
|
|
@@ -3711,20 +4043,14 @@
|
|
|
3711
4043
|
"relativePath": [
|
|
3712
4044
|
"dist",
|
|
3713
4045
|
"commands",
|
|
3714
|
-
"
|
|
3715
|
-
"
|
|
4046
|
+
"prompts",
|
|
4047
|
+
"get.js"
|
|
3716
4048
|
]
|
|
3717
4049
|
},
|
|
3718
|
-
"
|
|
4050
|
+
"prompts:list": {
|
|
3719
4051
|
"aliases": [],
|
|
3720
|
-
"args": {
|
|
3721
|
-
|
|
3722
|
-
"description": "Customer identifier",
|
|
3723
|
-
"name": "id",
|
|
3724
|
-
"required": true
|
|
3725
|
-
}
|
|
3726
|
-
},
|
|
3727
|
-
"description": "Get a specific user (customer)",
|
|
4052
|
+
"args": {},
|
|
4053
|
+
"description": "List prompts",
|
|
3728
4054
|
"flags": {
|
|
3729
4055
|
"api-key": {
|
|
3730
4056
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3766,11 +4092,19 @@
|
|
|
3766
4092
|
"name": "verbose",
|
|
3767
4093
|
"allowNo": false,
|
|
3768
4094
|
"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"
|
|
3769
4103
|
}
|
|
3770
4104
|
},
|
|
3771
4105
|
"hasDynamicHelp": false,
|
|
3772
4106
|
"hiddenAliases": [],
|
|
3773
|
-
"id": "
|
|
4107
|
+
"id": "prompts:list",
|
|
3774
4108
|
"pluginAlias": "@respan/cli",
|
|
3775
4109
|
"pluginName": "@respan/cli",
|
|
3776
4110
|
"pluginType": "core",
|
|
@@ -3780,14 +4114,20 @@
|
|
|
3780
4114
|
"relativePath": [
|
|
3781
4115
|
"dist",
|
|
3782
4116
|
"commands",
|
|
3783
|
-
"
|
|
3784
|
-
"
|
|
4117
|
+
"prompts",
|
|
4118
|
+
"list.js"
|
|
3785
4119
|
]
|
|
3786
4120
|
},
|
|
3787
|
-
"
|
|
4121
|
+
"prompts:update": {
|
|
3788
4122
|
"aliases": [],
|
|
3789
|
-
"args": {
|
|
3790
|
-
|
|
4123
|
+
"args": {
|
|
4124
|
+
"id": {
|
|
4125
|
+
"description": "Prompt ID",
|
|
4126
|
+
"name": "id",
|
|
4127
|
+
"required": true
|
|
4128
|
+
}
|
|
4129
|
+
},
|
|
4130
|
+
"description": "Update a prompt",
|
|
3791
4131
|
"flags": {
|
|
3792
4132
|
"api-key": {
|
|
3793
4133
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3830,32 +4170,16 @@
|
|
|
3830
4170
|
"allowNo": false,
|
|
3831
4171
|
"type": "boolean"
|
|
3832
4172
|
},
|
|
3833
|
-
"
|
|
3834
|
-
"description": "
|
|
3835
|
-
"name": "
|
|
3836
|
-
"default": 20,
|
|
3837
|
-
"hasDynamicHelp": false,
|
|
3838
|
-
"multiple": false,
|
|
3839
|
-
"type": "option"
|
|
3840
|
-
},
|
|
3841
|
-
"page": {
|
|
3842
|
-
"description": "Page number",
|
|
3843
|
-
"name": "page",
|
|
3844
|
-
"default": 1,
|
|
3845
|
-
"hasDynamicHelp": false,
|
|
3846
|
-
"multiple": false,
|
|
3847
|
-
"type": "option"
|
|
3848
|
-
},
|
|
3849
|
-
"sort-by": {
|
|
3850
|
-
"description": "Sort field",
|
|
3851
|
-
"name": "sort-by",
|
|
4173
|
+
"name": {
|
|
4174
|
+
"description": "Prompt name",
|
|
4175
|
+
"name": "name",
|
|
3852
4176
|
"hasDynamicHelp": false,
|
|
3853
4177
|
"multiple": false,
|
|
3854
4178
|
"type": "option"
|
|
3855
4179
|
},
|
|
3856
|
-
"
|
|
3857
|
-
"description": "
|
|
3858
|
-
"name": "
|
|
4180
|
+
"description": {
|
|
4181
|
+
"description": "Prompt description",
|
|
4182
|
+
"name": "description",
|
|
3859
4183
|
"hasDynamicHelp": false,
|
|
3860
4184
|
"multiple": false,
|
|
3861
4185
|
"type": "option"
|
|
@@ -3863,7 +4187,7 @@
|
|
|
3863
4187
|
},
|
|
3864
4188
|
"hasDynamicHelp": false,
|
|
3865
4189
|
"hiddenAliases": [],
|
|
3866
|
-
"id": "
|
|
4190
|
+
"id": "prompts:update",
|
|
3867
4191
|
"pluginAlias": "@respan/cli",
|
|
3868
4192
|
"pluginName": "@respan/cli",
|
|
3869
4193
|
"pluginType": "core",
|
|
@@ -3873,20 +4197,20 @@
|
|
|
3873
4197
|
"relativePath": [
|
|
3874
4198
|
"dist",
|
|
3875
4199
|
"commands",
|
|
3876
|
-
"
|
|
3877
|
-
"
|
|
4200
|
+
"prompts",
|
|
4201
|
+
"update.js"
|
|
3878
4202
|
]
|
|
3879
4203
|
},
|
|
3880
|
-
"
|
|
4204
|
+
"prompts:versions": {
|
|
3881
4205
|
"aliases": [],
|
|
3882
4206
|
"args": {
|
|
3883
|
-
"id": {
|
|
3884
|
-
"description": "
|
|
3885
|
-
"name": "id",
|
|
4207
|
+
"prompt-id": {
|
|
4208
|
+
"description": "Prompt ID",
|
|
4209
|
+
"name": "prompt-id",
|
|
3886
4210
|
"required": true
|
|
3887
4211
|
}
|
|
3888
4212
|
},
|
|
3889
|
-
"description": "
|
|
4213
|
+
"description": "List versions of a prompt",
|
|
3890
4214
|
"flags": {
|
|
3891
4215
|
"api-key": {
|
|
3892
4216
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3928,32 +4252,11 @@
|
|
|
3928
4252
|
"name": "verbose",
|
|
3929
4253
|
"allowNo": false,
|
|
3930
4254
|
"type": "boolean"
|
|
3931
|
-
},
|
|
3932
|
-
"name": {
|
|
3933
|
-
"description": "Customer name",
|
|
3934
|
-
"name": "name",
|
|
3935
|
-
"hasDynamicHelp": false,
|
|
3936
|
-
"multiple": false,
|
|
3937
|
-
"type": "option"
|
|
3938
|
-
},
|
|
3939
|
-
"email": {
|
|
3940
|
-
"description": "Customer email",
|
|
3941
|
-
"name": "email",
|
|
3942
|
-
"hasDynamicHelp": false,
|
|
3943
|
-
"multiple": false,
|
|
3944
|
-
"type": "option"
|
|
3945
|
-
},
|
|
3946
|
-
"metadata": {
|
|
3947
|
-
"description": "Metadata as JSON string",
|
|
3948
|
-
"name": "metadata",
|
|
3949
|
-
"hasDynamicHelp": false,
|
|
3950
|
-
"multiple": false,
|
|
3951
|
-
"type": "option"
|
|
3952
4255
|
}
|
|
3953
4256
|
},
|
|
3954
4257
|
"hasDynamicHelp": false,
|
|
3955
4258
|
"hiddenAliases": [],
|
|
3956
|
-
"id": "
|
|
4259
|
+
"id": "prompts:versions",
|
|
3957
4260
|
"pluginAlias": "@respan/cli",
|
|
3958
4261
|
"pluginName": "@respan/cli",
|
|
3959
4262
|
"pluginType": "core",
|
|
@@ -3963,10 +4266,10 @@
|
|
|
3963
4266
|
"relativePath": [
|
|
3964
4267
|
"dist",
|
|
3965
4268
|
"commands",
|
|
3966
|
-
"
|
|
3967
|
-
"
|
|
4269
|
+
"prompts",
|
|
4270
|
+
"versions.js"
|
|
3968
4271
|
]
|
|
3969
4272
|
}
|
|
3970
4273
|
},
|
|
3971
|
-
"version": "0.
|
|
4274
|
+
"version": "0.12.0"
|
|
3972
4275
|
}
|