@respan/cli 0.17.3 → 0.18.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/auth/login.js +78 -13
- package/oclif.manifest.json +867 -867
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -708,6 +708,212 @@
|
|
|
708
708
|
"stop.js"
|
|
709
709
|
]
|
|
710
710
|
},
|
|
711
|
+
"config:get": {
|
|
712
|
+
"aliases": [],
|
|
713
|
+
"args": {
|
|
714
|
+
"key": {
|
|
715
|
+
"description": "Config key",
|
|
716
|
+
"name": "key",
|
|
717
|
+
"required": true
|
|
718
|
+
}
|
|
719
|
+
},
|
|
720
|
+
"description": "Get a configuration value",
|
|
721
|
+
"flags": {
|
|
722
|
+
"api-key": {
|
|
723
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
724
|
+
"env": "RESPAN_API_KEY",
|
|
725
|
+
"name": "api-key",
|
|
726
|
+
"hasDynamicHelp": false,
|
|
727
|
+
"multiple": false,
|
|
728
|
+
"type": "option"
|
|
729
|
+
},
|
|
730
|
+
"base-url": {
|
|
731
|
+
"description": "Temporary API base URL override for this command",
|
|
732
|
+
"name": "base-url",
|
|
733
|
+
"hasDynamicHelp": false,
|
|
734
|
+
"multiple": false,
|
|
735
|
+
"type": "option"
|
|
736
|
+
},
|
|
737
|
+
"profile": {
|
|
738
|
+
"description": "Named profile to use",
|
|
739
|
+
"name": "profile",
|
|
740
|
+
"hasDynamicHelp": false,
|
|
741
|
+
"multiple": false,
|
|
742
|
+
"type": "option"
|
|
743
|
+
},
|
|
744
|
+
"json": {
|
|
745
|
+
"description": "Output as JSON",
|
|
746
|
+
"name": "json",
|
|
747
|
+
"allowNo": false,
|
|
748
|
+
"type": "boolean"
|
|
749
|
+
},
|
|
750
|
+
"csv": {
|
|
751
|
+
"description": "Output as CSV",
|
|
752
|
+
"name": "csv",
|
|
753
|
+
"allowNo": false,
|
|
754
|
+
"type": "boolean"
|
|
755
|
+
},
|
|
756
|
+
"verbose": {
|
|
757
|
+
"char": "v",
|
|
758
|
+
"description": "Show verbose output",
|
|
759
|
+
"name": "verbose",
|
|
760
|
+
"allowNo": false,
|
|
761
|
+
"type": "boolean"
|
|
762
|
+
}
|
|
763
|
+
},
|
|
764
|
+
"hasDynamicHelp": false,
|
|
765
|
+
"hiddenAliases": [],
|
|
766
|
+
"id": "config:get",
|
|
767
|
+
"pluginAlias": "@respan/cli",
|
|
768
|
+
"pluginName": "@respan/cli",
|
|
769
|
+
"pluginType": "core",
|
|
770
|
+
"strict": true,
|
|
771
|
+
"enableJsonFlag": false,
|
|
772
|
+
"isESM": true,
|
|
773
|
+
"relativePath": [
|
|
774
|
+
"dist",
|
|
775
|
+
"commands",
|
|
776
|
+
"config",
|
|
777
|
+
"get.js"
|
|
778
|
+
]
|
|
779
|
+
},
|
|
780
|
+
"config:list": {
|
|
781
|
+
"aliases": [],
|
|
782
|
+
"args": {},
|
|
783
|
+
"description": "List all configuration",
|
|
784
|
+
"flags": {
|
|
785
|
+
"api-key": {
|
|
786
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
787
|
+
"env": "RESPAN_API_KEY",
|
|
788
|
+
"name": "api-key",
|
|
789
|
+
"hasDynamicHelp": false,
|
|
790
|
+
"multiple": false,
|
|
791
|
+
"type": "option"
|
|
792
|
+
},
|
|
793
|
+
"base-url": {
|
|
794
|
+
"description": "Temporary API base URL override for this command",
|
|
795
|
+
"name": "base-url",
|
|
796
|
+
"hasDynamicHelp": false,
|
|
797
|
+
"multiple": false,
|
|
798
|
+
"type": "option"
|
|
799
|
+
},
|
|
800
|
+
"profile": {
|
|
801
|
+
"description": "Named profile to use",
|
|
802
|
+
"name": "profile",
|
|
803
|
+
"hasDynamicHelp": false,
|
|
804
|
+
"multiple": false,
|
|
805
|
+
"type": "option"
|
|
806
|
+
},
|
|
807
|
+
"json": {
|
|
808
|
+
"description": "Output as JSON",
|
|
809
|
+
"name": "json",
|
|
810
|
+
"allowNo": false,
|
|
811
|
+
"type": "boolean"
|
|
812
|
+
},
|
|
813
|
+
"csv": {
|
|
814
|
+
"description": "Output as CSV",
|
|
815
|
+
"name": "csv",
|
|
816
|
+
"allowNo": false,
|
|
817
|
+
"type": "boolean"
|
|
818
|
+
},
|
|
819
|
+
"verbose": {
|
|
820
|
+
"char": "v",
|
|
821
|
+
"description": "Show verbose output",
|
|
822
|
+
"name": "verbose",
|
|
823
|
+
"allowNo": false,
|
|
824
|
+
"type": "boolean"
|
|
825
|
+
}
|
|
826
|
+
},
|
|
827
|
+
"hasDynamicHelp": false,
|
|
828
|
+
"hiddenAliases": [],
|
|
829
|
+
"id": "config:list",
|
|
830
|
+
"pluginAlias": "@respan/cli",
|
|
831
|
+
"pluginName": "@respan/cli",
|
|
832
|
+
"pluginType": "core",
|
|
833
|
+
"strict": true,
|
|
834
|
+
"enableJsonFlag": false,
|
|
835
|
+
"isESM": true,
|
|
836
|
+
"relativePath": [
|
|
837
|
+
"dist",
|
|
838
|
+
"commands",
|
|
839
|
+
"config",
|
|
840
|
+
"list.js"
|
|
841
|
+
]
|
|
842
|
+
},
|
|
843
|
+
"config:set": {
|
|
844
|
+
"aliases": [],
|
|
845
|
+
"args": {
|
|
846
|
+
"key": {
|
|
847
|
+
"description": "Config key",
|
|
848
|
+
"name": "key",
|
|
849
|
+
"required": true
|
|
850
|
+
},
|
|
851
|
+
"value": {
|
|
852
|
+
"description": "Config value",
|
|
853
|
+
"name": "value",
|
|
854
|
+
"required": true
|
|
855
|
+
}
|
|
856
|
+
},
|
|
857
|
+
"description": "Set a configuration value",
|
|
858
|
+
"flags": {
|
|
859
|
+
"api-key": {
|
|
860
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
861
|
+
"env": "RESPAN_API_KEY",
|
|
862
|
+
"name": "api-key",
|
|
863
|
+
"hasDynamicHelp": false,
|
|
864
|
+
"multiple": false,
|
|
865
|
+
"type": "option"
|
|
866
|
+
},
|
|
867
|
+
"base-url": {
|
|
868
|
+
"description": "Temporary API base URL override for this command",
|
|
869
|
+
"name": "base-url",
|
|
870
|
+
"hasDynamicHelp": false,
|
|
871
|
+
"multiple": false,
|
|
872
|
+
"type": "option"
|
|
873
|
+
},
|
|
874
|
+
"profile": {
|
|
875
|
+
"description": "Named profile to use",
|
|
876
|
+
"name": "profile",
|
|
877
|
+
"hasDynamicHelp": false,
|
|
878
|
+
"multiple": false,
|
|
879
|
+
"type": "option"
|
|
880
|
+
},
|
|
881
|
+
"json": {
|
|
882
|
+
"description": "Output as JSON",
|
|
883
|
+
"name": "json",
|
|
884
|
+
"allowNo": false,
|
|
885
|
+
"type": "boolean"
|
|
886
|
+
},
|
|
887
|
+
"csv": {
|
|
888
|
+
"description": "Output as CSV",
|
|
889
|
+
"name": "csv",
|
|
890
|
+
"allowNo": false,
|
|
891
|
+
"type": "boolean"
|
|
892
|
+
},
|
|
893
|
+
"verbose": {
|
|
894
|
+
"char": "v",
|
|
895
|
+
"description": "Show verbose output",
|
|
896
|
+
"name": "verbose",
|
|
897
|
+
"allowNo": false,
|
|
898
|
+
"type": "boolean"
|
|
899
|
+
}
|
|
900
|
+
},
|
|
901
|
+
"hasDynamicHelp": false,
|
|
902
|
+
"hiddenAliases": [],
|
|
903
|
+
"id": "config:set",
|
|
904
|
+
"pluginAlias": "@respan/cli",
|
|
905
|
+
"pluginName": "@respan/cli",
|
|
906
|
+
"pluginType": "core",
|
|
907
|
+
"strict": true,
|
|
908
|
+
"enableJsonFlag": false,
|
|
909
|
+
"isESM": true,
|
|
910
|
+
"relativePath": [
|
|
911
|
+
"dist",
|
|
912
|
+
"commands",
|
|
913
|
+
"config",
|
|
914
|
+
"set.js"
|
|
915
|
+
]
|
|
916
|
+
},
|
|
711
917
|
"datasets:create-span": {
|
|
712
918
|
"aliases": [],
|
|
713
919
|
"args": {
|
|
@@ -1377,16 +1583,10 @@
|
|
|
1377
1583
|
"index.js"
|
|
1378
1584
|
]
|
|
1379
1585
|
},
|
|
1380
|
-
"
|
|
1586
|
+
"experiments:create": {
|
|
1381
1587
|
"aliases": [],
|
|
1382
|
-
"args": {
|
|
1383
|
-
|
|
1384
|
-
"description": "Config key",
|
|
1385
|
-
"name": "key",
|
|
1386
|
-
"required": true
|
|
1387
|
-
}
|
|
1388
|
-
},
|
|
1389
|
-
"description": "Get a configuration value",
|
|
1588
|
+
"args": {},
|
|
1589
|
+
"description": "Create a new experiment",
|
|
1390
1590
|
"flags": {
|
|
1391
1591
|
"api-key": {
|
|
1392
1592
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1428,11 +1628,41 @@
|
|
|
1428
1628
|
"name": "verbose",
|
|
1429
1629
|
"allowNo": false,
|
|
1430
1630
|
"type": "boolean"
|
|
1631
|
+
},
|
|
1632
|
+
"name": {
|
|
1633
|
+
"description": "Experiment name",
|
|
1634
|
+
"name": "name",
|
|
1635
|
+
"required": true,
|
|
1636
|
+
"hasDynamicHelp": false,
|
|
1637
|
+
"multiple": false,
|
|
1638
|
+
"type": "option"
|
|
1639
|
+
},
|
|
1640
|
+
"dataset-id": {
|
|
1641
|
+
"description": "Dataset ID",
|
|
1642
|
+
"name": "dataset-id",
|
|
1643
|
+
"required": true,
|
|
1644
|
+
"hasDynamicHelp": false,
|
|
1645
|
+
"multiple": false,
|
|
1646
|
+
"type": "option"
|
|
1647
|
+
},
|
|
1648
|
+
"description": {
|
|
1649
|
+
"description": "Experiment description",
|
|
1650
|
+
"name": "description",
|
|
1651
|
+
"hasDynamicHelp": false,
|
|
1652
|
+
"multiple": false,
|
|
1653
|
+
"type": "option"
|
|
1654
|
+
},
|
|
1655
|
+
"workflows": {
|
|
1656
|
+
"description": "Workflows configuration as JSON string",
|
|
1657
|
+
"name": "workflows",
|
|
1658
|
+
"hasDynamicHelp": false,
|
|
1659
|
+
"multiple": false,
|
|
1660
|
+
"type": "option"
|
|
1431
1661
|
}
|
|
1432
1662
|
},
|
|
1433
1663
|
"hasDynamicHelp": false,
|
|
1434
1664
|
"hiddenAliases": [],
|
|
1435
|
-
"id": "
|
|
1665
|
+
"id": "experiments:create",
|
|
1436
1666
|
"pluginAlias": "@respan/cli",
|
|
1437
1667
|
"pluginName": "@respan/cli",
|
|
1438
1668
|
"pluginType": "core",
|
|
@@ -1442,14 +1672,20 @@
|
|
|
1442
1672
|
"relativePath": [
|
|
1443
1673
|
"dist",
|
|
1444
1674
|
"commands",
|
|
1445
|
-
"
|
|
1446
|
-
"
|
|
1675
|
+
"experiments",
|
|
1676
|
+
"create.js"
|
|
1447
1677
|
]
|
|
1448
1678
|
},
|
|
1449
|
-
"
|
|
1679
|
+
"experiments:get": {
|
|
1450
1680
|
"aliases": [],
|
|
1451
|
-
"args": {
|
|
1452
|
-
|
|
1681
|
+
"args": {
|
|
1682
|
+
"id": {
|
|
1683
|
+
"description": "Experiment ID",
|
|
1684
|
+
"name": "id",
|
|
1685
|
+
"required": true
|
|
1686
|
+
}
|
|
1687
|
+
},
|
|
1688
|
+
"description": "Get a specific experiment",
|
|
1453
1689
|
"flags": {
|
|
1454
1690
|
"api-key": {
|
|
1455
1691
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1495,7 +1731,7 @@
|
|
|
1495
1731
|
},
|
|
1496
1732
|
"hasDynamicHelp": false,
|
|
1497
1733
|
"hiddenAliases": [],
|
|
1498
|
-
"id": "
|
|
1734
|
+
"id": "experiments:get",
|
|
1499
1735
|
"pluginAlias": "@respan/cli",
|
|
1500
1736
|
"pluginName": "@respan/cli",
|
|
1501
1737
|
"pluginType": "core",
|
|
@@ -1505,25 +1741,14 @@
|
|
|
1505
1741
|
"relativePath": [
|
|
1506
1742
|
"dist",
|
|
1507
1743
|
"commands",
|
|
1508
|
-
"
|
|
1509
|
-
"
|
|
1744
|
+
"experiments",
|
|
1745
|
+
"get.js"
|
|
1510
1746
|
]
|
|
1511
1747
|
},
|
|
1512
|
-
"
|
|
1748
|
+
"experiments:list": {
|
|
1513
1749
|
"aliases": [],
|
|
1514
|
-
"args": {
|
|
1515
|
-
|
|
1516
|
-
"description": "Config key",
|
|
1517
|
-
"name": "key",
|
|
1518
|
-
"required": true
|
|
1519
|
-
},
|
|
1520
|
-
"value": {
|
|
1521
|
-
"description": "Config value",
|
|
1522
|
-
"name": "value",
|
|
1523
|
-
"required": true
|
|
1524
|
-
}
|
|
1525
|
-
},
|
|
1526
|
-
"description": "Set a configuration value",
|
|
1750
|
+
"args": {},
|
|
1751
|
+
"description": "List experiments",
|
|
1527
1752
|
"flags": {
|
|
1528
1753
|
"api-key": {
|
|
1529
1754
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1565,80 +1790,27 @@
|
|
|
1565
1790
|
"name": "verbose",
|
|
1566
1791
|
"allowNo": false,
|
|
1567
1792
|
"type": "boolean"
|
|
1568
|
-
}
|
|
1569
|
-
},
|
|
1570
|
-
"hasDynamicHelp": false,
|
|
1571
|
-
"hiddenAliases": [],
|
|
1572
|
-
"id": "config:set",
|
|
1573
|
-
"pluginAlias": "@respan/cli",
|
|
1574
|
-
"pluginName": "@respan/cli",
|
|
1575
|
-
"pluginType": "core",
|
|
1576
|
-
"strict": true,
|
|
1577
|
-
"enableJsonFlag": false,
|
|
1578
|
-
"isESM": true,
|
|
1579
|
-
"relativePath": [
|
|
1580
|
-
"dist",
|
|
1581
|
-
"commands",
|
|
1582
|
-
"config",
|
|
1583
|
-
"set.js"
|
|
1584
|
-
]
|
|
1585
|
-
},
|
|
1586
|
-
"eval": {
|
|
1587
|
-
"aliases": [],
|
|
1588
|
-
"args": {
|
|
1589
|
-
"file": {
|
|
1590
|
-
"description": "Path to eval JSON file",
|
|
1591
|
-
"name": "file",
|
|
1592
|
-
"required": true
|
|
1593
|
-
}
|
|
1594
|
-
},
|
|
1595
|
-
"description": "Run an eval defined in a JSON file (creates prompt + dataset on the platform)",
|
|
1596
|
-
"flags": {
|
|
1597
|
-
"api-key": {
|
|
1598
|
-
"description": "API key (env: RESPAN_API_KEY)",
|
|
1599
|
-
"env": "RESPAN_API_KEY",
|
|
1600
|
-
"name": "api-key",
|
|
1601
|
-
"hasDynamicHelp": false,
|
|
1602
|
-
"multiple": false,
|
|
1603
|
-
"type": "option"
|
|
1604
1793
|
},
|
|
1605
|
-
"
|
|
1606
|
-
"description": "
|
|
1607
|
-
"name": "
|
|
1794
|
+
"limit": {
|
|
1795
|
+
"description": "Number of results per page",
|
|
1796
|
+
"name": "limit",
|
|
1797
|
+
"default": 20,
|
|
1608
1798
|
"hasDynamicHelp": false,
|
|
1609
1799
|
"multiple": false,
|
|
1610
1800
|
"type": "option"
|
|
1611
1801
|
},
|
|
1612
|
-
"
|
|
1613
|
-
"description": "
|
|
1614
|
-
"name": "
|
|
1802
|
+
"page": {
|
|
1803
|
+
"description": "Page number",
|
|
1804
|
+
"name": "page",
|
|
1805
|
+
"default": 1,
|
|
1615
1806
|
"hasDynamicHelp": false,
|
|
1616
1807
|
"multiple": false,
|
|
1617
1808
|
"type": "option"
|
|
1618
|
-
},
|
|
1619
|
-
"json": {
|
|
1620
|
-
"description": "Output as JSON",
|
|
1621
|
-
"name": "json",
|
|
1622
|
-
"allowNo": false,
|
|
1623
|
-
"type": "boolean"
|
|
1624
|
-
},
|
|
1625
|
-
"csv": {
|
|
1626
|
-
"description": "Output as CSV",
|
|
1627
|
-
"name": "csv",
|
|
1628
|
-
"allowNo": false,
|
|
1629
|
-
"type": "boolean"
|
|
1630
|
-
},
|
|
1631
|
-
"verbose": {
|
|
1632
|
-
"char": "v",
|
|
1633
|
-
"description": "Show verbose output",
|
|
1634
|
-
"name": "verbose",
|
|
1635
|
-
"allowNo": false,
|
|
1636
|
-
"type": "boolean"
|
|
1637
1809
|
}
|
|
1638
1810
|
},
|
|
1639
1811
|
"hasDynamicHelp": false,
|
|
1640
1812
|
"hiddenAliases": [],
|
|
1641
|
-
"id": "
|
|
1813
|
+
"id": "experiments:list",
|
|
1642
1814
|
"pluginAlias": "@respan/cli",
|
|
1643
1815
|
"pluginName": "@respan/cli",
|
|
1644
1816
|
"pluginType": "core",
|
|
@@ -1648,14 +1820,14 @@
|
|
|
1648
1820
|
"relativePath": [
|
|
1649
1821
|
"dist",
|
|
1650
1822
|
"commands",
|
|
1651
|
-
"
|
|
1652
|
-
"
|
|
1823
|
+
"experiments",
|
|
1824
|
+
"list.js"
|
|
1653
1825
|
]
|
|
1654
1826
|
},
|
|
1655
|
-
"
|
|
1827
|
+
"logs:create": {
|
|
1656
1828
|
"aliases": [],
|
|
1657
1829
|
"args": {},
|
|
1658
|
-
"description": "Create a
|
|
1830
|
+
"description": "Create a log span",
|
|
1659
1831
|
"flags": {
|
|
1660
1832
|
"api-key": {
|
|
1661
1833
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1698,31 +1870,31 @@
|
|
|
1698
1870
|
"allowNo": false,
|
|
1699
1871
|
"type": "boolean"
|
|
1700
1872
|
},
|
|
1701
|
-
"
|
|
1702
|
-
"description": "
|
|
1703
|
-
"name": "
|
|
1873
|
+
"input": {
|
|
1874
|
+
"description": "Input text or JSON",
|
|
1875
|
+
"name": "input",
|
|
1704
1876
|
"required": true,
|
|
1705
1877
|
"hasDynamicHelp": false,
|
|
1706
1878
|
"multiple": false,
|
|
1707
1879
|
"type": "option"
|
|
1708
1880
|
},
|
|
1709
|
-
"
|
|
1710
|
-
"description": "
|
|
1711
|
-
"name": "
|
|
1881
|
+
"output": {
|
|
1882
|
+
"description": "Output text or JSON",
|
|
1883
|
+
"name": "output",
|
|
1712
1884
|
"hasDynamicHelp": false,
|
|
1713
1885
|
"multiple": false,
|
|
1714
1886
|
"type": "option"
|
|
1715
1887
|
},
|
|
1716
|
-
"
|
|
1717
|
-
"description": "
|
|
1718
|
-
"name": "
|
|
1888
|
+
"model": {
|
|
1889
|
+
"description": "Model name",
|
|
1890
|
+
"name": "model",
|
|
1719
1891
|
"hasDynamicHelp": false,
|
|
1720
1892
|
"multiple": false,
|
|
1721
1893
|
"type": "option"
|
|
1722
1894
|
},
|
|
1723
|
-
"
|
|
1724
|
-
"description": "
|
|
1725
|
-
"name": "
|
|
1895
|
+
"metadata": {
|
|
1896
|
+
"description": "Metadata as JSON string",
|
|
1897
|
+
"name": "metadata",
|
|
1726
1898
|
"hasDynamicHelp": false,
|
|
1727
1899
|
"multiple": false,
|
|
1728
1900
|
"type": "option"
|
|
@@ -1730,7 +1902,7 @@
|
|
|
1730
1902
|
},
|
|
1731
1903
|
"hasDynamicHelp": false,
|
|
1732
1904
|
"hiddenAliases": [],
|
|
1733
|
-
"id": "
|
|
1905
|
+
"id": "logs:create",
|
|
1734
1906
|
"pluginAlias": "@respan/cli",
|
|
1735
1907
|
"pluginName": "@respan/cli",
|
|
1736
1908
|
"pluginType": "core",
|
|
@@ -1740,20 +1912,20 @@
|
|
|
1740
1912
|
"relativePath": [
|
|
1741
1913
|
"dist",
|
|
1742
1914
|
"commands",
|
|
1743
|
-
"
|
|
1915
|
+
"logs",
|
|
1744
1916
|
"create.js"
|
|
1745
1917
|
]
|
|
1746
1918
|
},
|
|
1747
|
-
"
|
|
1919
|
+
"logs:get": {
|
|
1748
1920
|
"aliases": [],
|
|
1749
1921
|
"args": {
|
|
1750
1922
|
"id": {
|
|
1751
|
-
"description": "
|
|
1923
|
+
"description": "Span ID",
|
|
1752
1924
|
"name": "id",
|
|
1753
1925
|
"required": true
|
|
1754
1926
|
}
|
|
1755
1927
|
},
|
|
1756
|
-
"description": "Get a specific
|
|
1928
|
+
"description": "Get a specific log span",
|
|
1757
1929
|
"flags": {
|
|
1758
1930
|
"api-key": {
|
|
1759
1931
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1799,7 +1971,7 @@
|
|
|
1799
1971
|
},
|
|
1800
1972
|
"hasDynamicHelp": false,
|
|
1801
1973
|
"hiddenAliases": [],
|
|
1802
|
-
"id": "
|
|
1974
|
+
"id": "logs:get",
|
|
1803
1975
|
"pluginAlias": "@respan/cli",
|
|
1804
1976
|
"pluginName": "@respan/cli",
|
|
1805
1977
|
"pluginType": "core",
|
|
@@ -1809,14 +1981,14 @@
|
|
|
1809
1981
|
"relativePath": [
|
|
1810
1982
|
"dist",
|
|
1811
1983
|
"commands",
|
|
1812
|
-
"
|
|
1984
|
+
"logs",
|
|
1813
1985
|
"get.js"
|
|
1814
1986
|
]
|
|
1815
1987
|
},
|
|
1816
|
-
"
|
|
1988
|
+
"logs:list": {
|
|
1817
1989
|
"aliases": [],
|
|
1818
1990
|
"args": {},
|
|
1819
|
-
"description": "List
|
|
1991
|
+
"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",
|
|
1820
1992
|
"flags": {
|
|
1821
1993
|
"api-key": {
|
|
1822
1994
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1860,9 +2032,9 @@
|
|
|
1860
2032
|
"type": "boolean"
|
|
1861
2033
|
},
|
|
1862
2034
|
"limit": {
|
|
1863
|
-
"description": "Number of results per page",
|
|
2035
|
+
"description": "Number of results per page (max 1000)",
|
|
1864
2036
|
"name": "limit",
|
|
1865
|
-
"default":
|
|
2037
|
+
"default": 50,
|
|
1866
2038
|
"hasDynamicHelp": false,
|
|
1867
2039
|
"multiple": false,
|
|
1868
2040
|
"type": "option"
|
|
@@ -1874,11 +2046,60 @@
|
|
|
1874
2046
|
"hasDynamicHelp": false,
|
|
1875
2047
|
"multiple": false,
|
|
1876
2048
|
"type": "option"
|
|
2049
|
+
},
|
|
2050
|
+
"sort-by": {
|
|
2051
|
+
"description": "Sort field (prefix with - for descending, e.g. -cost, -latency)",
|
|
2052
|
+
"name": "sort-by",
|
|
2053
|
+
"hasDynamicHelp": false,
|
|
2054
|
+
"multiple": false,
|
|
2055
|
+
"type": "option"
|
|
2056
|
+
},
|
|
2057
|
+
"start-time": {
|
|
2058
|
+
"description": "Start time filter (ISO 8601)",
|
|
2059
|
+
"name": "start-time",
|
|
2060
|
+
"hasDynamicHelp": false,
|
|
2061
|
+
"multiple": false,
|
|
2062
|
+
"type": "option"
|
|
2063
|
+
},
|
|
2064
|
+
"end-time": {
|
|
2065
|
+
"description": "End time filter (ISO 8601)",
|
|
2066
|
+
"name": "end-time",
|
|
2067
|
+
"hasDynamicHelp": false,
|
|
2068
|
+
"multiple": false,
|
|
2069
|
+
"type": "option"
|
|
2070
|
+
},
|
|
2071
|
+
"filter": {
|
|
2072
|
+
"description": "Filter in field:operator:value format (repeatable)",
|
|
2073
|
+
"name": "filter",
|
|
2074
|
+
"hasDynamicHelp": false,
|
|
2075
|
+
"multiple": true,
|
|
2076
|
+
"type": "option"
|
|
2077
|
+
},
|
|
2078
|
+
"all-envs": {
|
|
2079
|
+
"description": "Include all environments (true/false)",
|
|
2080
|
+
"name": "all-envs",
|
|
2081
|
+
"hasDynamicHelp": false,
|
|
2082
|
+
"multiple": false,
|
|
2083
|
+
"type": "option"
|
|
2084
|
+
},
|
|
2085
|
+
"is-test": {
|
|
2086
|
+
"description": "Filter by test (true) or production (false) environment",
|
|
2087
|
+
"name": "is-test",
|
|
2088
|
+
"hasDynamicHelp": false,
|
|
2089
|
+
"multiple": false,
|
|
2090
|
+
"type": "option"
|
|
2091
|
+
},
|
|
2092
|
+
"include-fields": {
|
|
2093
|
+
"description": "Comma-separated fields to include in response",
|
|
2094
|
+
"name": "include-fields",
|
|
2095
|
+
"hasDynamicHelp": false,
|
|
2096
|
+
"multiple": false,
|
|
2097
|
+
"type": "option"
|
|
1877
2098
|
}
|
|
1878
2099
|
},
|
|
1879
2100
|
"hasDynamicHelp": false,
|
|
1880
2101
|
"hiddenAliases": [],
|
|
1881
|
-
"id": "
|
|
2102
|
+
"id": "logs:list",
|
|
1882
2103
|
"pluginAlias": "@respan/cli",
|
|
1883
2104
|
"pluginName": "@respan/cli",
|
|
1884
2105
|
"pluginType": "core",
|
|
@@ -1888,20 +2109,14 @@
|
|
|
1888
2109
|
"relativePath": [
|
|
1889
2110
|
"dist",
|
|
1890
2111
|
"commands",
|
|
1891
|
-
"
|
|
2112
|
+
"logs",
|
|
1892
2113
|
"list.js"
|
|
1893
2114
|
]
|
|
1894
2115
|
},
|
|
1895
|
-
"
|
|
2116
|
+
"logs:summary": {
|
|
1896
2117
|
"aliases": [],
|
|
1897
|
-
"args": {
|
|
1898
|
-
|
|
1899
|
-
"description": "Evaluator ID",
|
|
1900
|
-
"name": "id",
|
|
1901
|
-
"required": true
|
|
1902
|
-
}
|
|
1903
|
-
},
|
|
1904
|
-
"description": "Run an evaluator",
|
|
2118
|
+
"args": {},
|
|
2119
|
+
"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",
|
|
1905
2120
|
"flags": {
|
|
1906
2121
|
"api-key": {
|
|
1907
2122
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1944,32 +2159,48 @@
|
|
|
1944
2159
|
"allowNo": false,
|
|
1945
2160
|
"type": "boolean"
|
|
1946
2161
|
},
|
|
1947
|
-
"
|
|
1948
|
-
"description": "
|
|
1949
|
-
"name": "
|
|
2162
|
+
"start-time": {
|
|
2163
|
+
"description": "Start time (ISO 8601)",
|
|
2164
|
+
"name": "start-time",
|
|
2165
|
+
"required": true,
|
|
1950
2166
|
"hasDynamicHelp": false,
|
|
1951
2167
|
"multiple": false,
|
|
1952
2168
|
"type": "option"
|
|
1953
2169
|
},
|
|
1954
|
-
"
|
|
1955
|
-
"description": "
|
|
1956
|
-
"name": "
|
|
2170
|
+
"end-time": {
|
|
2171
|
+
"description": "End time (ISO 8601)",
|
|
2172
|
+
"name": "end-time",
|
|
2173
|
+
"required": true,
|
|
1957
2174
|
"hasDynamicHelp": false,
|
|
1958
2175
|
"multiple": false,
|
|
1959
2176
|
"type": "option"
|
|
1960
2177
|
},
|
|
1961
|
-
"
|
|
1962
|
-
"description": "
|
|
1963
|
-
"name": "
|
|
2178
|
+
"filter": {
|
|
2179
|
+
"description": "Filter in field:operator:value format (repeatable)",
|
|
2180
|
+
"name": "filter",
|
|
2181
|
+
"hasDynamicHelp": false,
|
|
2182
|
+
"multiple": true,
|
|
2183
|
+
"type": "option"
|
|
2184
|
+
},
|
|
2185
|
+
"all-envs": {
|
|
2186
|
+
"description": "Include all environments (true/false)",
|
|
2187
|
+
"name": "all-envs",
|
|
1964
2188
|
"hasDynamicHelp": false,
|
|
1965
2189
|
"multiple": false,
|
|
1966
2190
|
"type": "option"
|
|
1967
|
-
}
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
2191
|
+
},
|
|
2192
|
+
"is-test": {
|
|
2193
|
+
"description": "Filter by test (true) or production (false) environment",
|
|
2194
|
+
"name": "is-test",
|
|
2195
|
+
"hasDynamicHelp": false,
|
|
2196
|
+
"multiple": false,
|
|
2197
|
+
"type": "option"
|
|
2198
|
+
}
|
|
2199
|
+
},
|
|
2200
|
+
"hasDynamicHelp": false,
|
|
2201
|
+
"hiddenAliases": [],
|
|
2202
|
+
"id": "logs:summary",
|
|
2203
|
+
"pluginAlias": "@respan/cli",
|
|
1973
2204
|
"pluginName": "@respan/cli",
|
|
1974
2205
|
"pluginType": "core",
|
|
1975
2206
|
"strict": true,
|
|
@@ -1978,20 +2209,20 @@
|
|
|
1978
2209
|
"relativePath": [
|
|
1979
2210
|
"dist",
|
|
1980
2211
|
"commands",
|
|
1981
|
-
"
|
|
1982
|
-
"
|
|
2212
|
+
"logs",
|
|
2213
|
+
"summary.js"
|
|
1983
2214
|
]
|
|
1984
2215
|
},
|
|
1985
|
-
"
|
|
2216
|
+
"prompts:create-version": {
|
|
1986
2217
|
"aliases": [],
|
|
1987
2218
|
"args": {
|
|
1988
|
-
"id": {
|
|
1989
|
-
"description": "
|
|
1990
|
-
"name": "id",
|
|
2219
|
+
"prompt-id": {
|
|
2220
|
+
"description": "Prompt ID",
|
|
2221
|
+
"name": "prompt-id",
|
|
1991
2222
|
"required": true
|
|
1992
2223
|
}
|
|
1993
2224
|
},
|
|
1994
|
-
"description": "
|
|
2225
|
+
"description": "Create a new version of a prompt",
|
|
1995
2226
|
"flags": {
|
|
1996
2227
|
"api-key": {
|
|
1997
2228
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2034,23 +2265,31 @@
|
|
|
2034
2265
|
"allowNo": false,
|
|
2035
2266
|
"type": "boolean"
|
|
2036
2267
|
},
|
|
2037
|
-
"
|
|
2038
|
-
"description": "
|
|
2039
|
-
"name": "
|
|
2268
|
+
"messages": {
|
|
2269
|
+
"description": "Messages as JSON array string",
|
|
2270
|
+
"name": "messages",
|
|
2271
|
+
"required": true,
|
|
2040
2272
|
"hasDynamicHelp": false,
|
|
2041
2273
|
"multiple": false,
|
|
2042
2274
|
"type": "option"
|
|
2043
2275
|
},
|
|
2044
|
-
"
|
|
2045
|
-
"description": "
|
|
2046
|
-
"name": "
|
|
2276
|
+
"model": {
|
|
2277
|
+
"description": "Model name",
|
|
2278
|
+
"name": "model",
|
|
2047
2279
|
"hasDynamicHelp": false,
|
|
2048
2280
|
"multiple": false,
|
|
2049
2281
|
"type": "option"
|
|
2050
2282
|
},
|
|
2051
|
-
"
|
|
2052
|
-
"description": "
|
|
2053
|
-
"name": "
|
|
2283
|
+
"temperature": {
|
|
2284
|
+
"description": "Temperature value",
|
|
2285
|
+
"name": "temperature",
|
|
2286
|
+
"hasDynamicHelp": false,
|
|
2287
|
+
"multiple": false,
|
|
2288
|
+
"type": "option"
|
|
2289
|
+
},
|
|
2290
|
+
"max-tokens": {
|
|
2291
|
+
"description": "Max tokens",
|
|
2292
|
+
"name": "max-tokens",
|
|
2054
2293
|
"hasDynamicHelp": false,
|
|
2055
2294
|
"multiple": false,
|
|
2056
2295
|
"type": "option"
|
|
@@ -2058,7 +2297,7 @@
|
|
|
2058
2297
|
},
|
|
2059
2298
|
"hasDynamicHelp": false,
|
|
2060
2299
|
"hiddenAliases": [],
|
|
2061
|
-
"id": "
|
|
2300
|
+
"id": "prompts:create-version",
|
|
2062
2301
|
"pluginAlias": "@respan/cli",
|
|
2063
2302
|
"pluginName": "@respan/cli",
|
|
2064
2303
|
"pluginType": "core",
|
|
@@ -2068,14 +2307,14 @@
|
|
|
2068
2307
|
"relativePath": [
|
|
2069
2308
|
"dist",
|
|
2070
2309
|
"commands",
|
|
2071
|
-
"
|
|
2072
|
-
"
|
|
2310
|
+
"prompts",
|
|
2311
|
+
"create-version.js"
|
|
2073
2312
|
]
|
|
2074
2313
|
},
|
|
2075
|
-
"
|
|
2314
|
+
"prompts:create": {
|
|
2076
2315
|
"aliases": [],
|
|
2077
2316
|
"args": {},
|
|
2078
|
-
"description": "Create a new
|
|
2317
|
+
"description": "Create a new prompt",
|
|
2079
2318
|
"flags": {
|
|
2080
2319
|
"api-key": {
|
|
2081
2320
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2119,39 +2358,24 @@
|
|
|
2119
2358
|
"type": "boolean"
|
|
2120
2359
|
},
|
|
2121
2360
|
"name": {
|
|
2122
|
-
"description": "
|
|
2361
|
+
"description": "Prompt name",
|
|
2123
2362
|
"name": "name",
|
|
2124
2363
|
"required": true,
|
|
2125
2364
|
"hasDynamicHelp": false,
|
|
2126
2365
|
"multiple": false,
|
|
2127
2366
|
"type": "option"
|
|
2128
2367
|
},
|
|
2129
|
-
"dataset-id": {
|
|
2130
|
-
"description": "Dataset ID",
|
|
2131
|
-
"name": "dataset-id",
|
|
2132
|
-
"required": true,
|
|
2133
|
-
"hasDynamicHelp": false,
|
|
2134
|
-
"multiple": false,
|
|
2135
|
-
"type": "option"
|
|
2136
|
-
},
|
|
2137
2368
|
"description": {
|
|
2138
|
-
"description": "
|
|
2369
|
+
"description": "Prompt description",
|
|
2139
2370
|
"name": "description",
|
|
2140
2371
|
"hasDynamicHelp": false,
|
|
2141
2372
|
"multiple": false,
|
|
2142
2373
|
"type": "option"
|
|
2143
|
-
},
|
|
2144
|
-
"workflows": {
|
|
2145
|
-
"description": "Workflows configuration as JSON string",
|
|
2146
|
-
"name": "workflows",
|
|
2147
|
-
"hasDynamicHelp": false,
|
|
2148
|
-
"multiple": false,
|
|
2149
|
-
"type": "option"
|
|
2150
2374
|
}
|
|
2151
2375
|
},
|
|
2152
2376
|
"hasDynamicHelp": false,
|
|
2153
2377
|
"hiddenAliases": [],
|
|
2154
|
-
"id": "
|
|
2378
|
+
"id": "prompts:create",
|
|
2155
2379
|
"pluginAlias": "@respan/cli",
|
|
2156
2380
|
"pluginName": "@respan/cli",
|
|
2157
2381
|
"pluginType": "core",
|
|
@@ -2161,20 +2385,20 @@
|
|
|
2161
2385
|
"relativePath": [
|
|
2162
2386
|
"dist",
|
|
2163
2387
|
"commands",
|
|
2164
|
-
"
|
|
2388
|
+
"prompts",
|
|
2165
2389
|
"create.js"
|
|
2166
2390
|
]
|
|
2167
2391
|
},
|
|
2168
|
-
"
|
|
2392
|
+
"prompts:get": {
|
|
2169
2393
|
"aliases": [],
|
|
2170
2394
|
"args": {
|
|
2171
2395
|
"id": {
|
|
2172
|
-
"description": "
|
|
2396
|
+
"description": "Prompt ID",
|
|
2173
2397
|
"name": "id",
|
|
2174
2398
|
"required": true
|
|
2175
2399
|
}
|
|
2176
2400
|
},
|
|
2177
|
-
"description": "Get a specific
|
|
2401
|
+
"description": "Get a specific prompt",
|
|
2178
2402
|
"flags": {
|
|
2179
2403
|
"api-key": {
|
|
2180
2404
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2220,7 +2444,7 @@
|
|
|
2220
2444
|
},
|
|
2221
2445
|
"hasDynamicHelp": false,
|
|
2222
2446
|
"hiddenAliases": [],
|
|
2223
|
-
"id": "
|
|
2447
|
+
"id": "prompts:get",
|
|
2224
2448
|
"pluginAlias": "@respan/cli",
|
|
2225
2449
|
"pluginName": "@respan/cli",
|
|
2226
2450
|
"pluginType": "core",
|
|
@@ -2230,14 +2454,14 @@
|
|
|
2230
2454
|
"relativePath": [
|
|
2231
2455
|
"dist",
|
|
2232
2456
|
"commands",
|
|
2233
|
-
"
|
|
2457
|
+
"prompts",
|
|
2234
2458
|
"get.js"
|
|
2235
2459
|
]
|
|
2236
2460
|
},
|
|
2237
|
-
"
|
|
2461
|
+
"prompts:list": {
|
|
2238
2462
|
"aliases": [],
|
|
2239
2463
|
"args": {},
|
|
2240
|
-
"description": "List
|
|
2464
|
+
"description": "List prompts",
|
|
2241
2465
|
"flags": {
|
|
2242
2466
|
"api-key": {
|
|
2243
2467
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2283,15 +2507,7 @@
|
|
|
2283
2507
|
"limit": {
|
|
2284
2508
|
"description": "Number of results per page",
|
|
2285
2509
|
"name": "limit",
|
|
2286
|
-
"default":
|
|
2287
|
-
"hasDynamicHelp": false,
|
|
2288
|
-
"multiple": false,
|
|
2289
|
-
"type": "option"
|
|
2290
|
-
},
|
|
2291
|
-
"page": {
|
|
2292
|
-
"description": "Page number",
|
|
2293
|
-
"name": "page",
|
|
2294
|
-
"default": 1,
|
|
2510
|
+
"default": 50,
|
|
2295
2511
|
"hasDynamicHelp": false,
|
|
2296
2512
|
"multiple": false,
|
|
2297
2513
|
"type": "option"
|
|
@@ -2299,7 +2515,7 @@
|
|
|
2299
2515
|
},
|
|
2300
2516
|
"hasDynamicHelp": false,
|
|
2301
2517
|
"hiddenAliases": [],
|
|
2302
|
-
"id": "
|
|
2518
|
+
"id": "prompts:list",
|
|
2303
2519
|
"pluginAlias": "@respan/cli",
|
|
2304
2520
|
"pluginName": "@respan/cli",
|
|
2305
2521
|
"pluginType": "core",
|
|
@@ -2309,14 +2525,20 @@
|
|
|
2309
2525
|
"relativePath": [
|
|
2310
2526
|
"dist",
|
|
2311
2527
|
"commands",
|
|
2312
|
-
"
|
|
2528
|
+
"prompts",
|
|
2313
2529
|
"list.js"
|
|
2314
2530
|
]
|
|
2315
2531
|
},
|
|
2316
|
-
"
|
|
2532
|
+
"prompts:update": {
|
|
2317
2533
|
"aliases": [],
|
|
2318
|
-
"args": {
|
|
2319
|
-
|
|
2534
|
+
"args": {
|
|
2535
|
+
"id": {
|
|
2536
|
+
"description": "Prompt ID",
|
|
2537
|
+
"name": "id",
|
|
2538
|
+
"required": true
|
|
2539
|
+
}
|
|
2540
|
+
},
|
|
2541
|
+
"description": "Update a prompt",
|
|
2320
2542
|
"flags": {
|
|
2321
2543
|
"api-key": {
|
|
2322
2544
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2359,31 +2581,16 @@
|
|
|
2359
2581
|
"allowNo": false,
|
|
2360
2582
|
"type": "boolean"
|
|
2361
2583
|
},
|
|
2362
|
-
"
|
|
2363
|
-
"description": "
|
|
2364
|
-
"name": "
|
|
2365
|
-
"required": true,
|
|
2366
|
-
"hasDynamicHelp": false,
|
|
2367
|
-
"multiple": false,
|
|
2368
|
-
"type": "option"
|
|
2369
|
-
},
|
|
2370
|
-
"output": {
|
|
2371
|
-
"description": "Output text or JSON",
|
|
2372
|
-
"name": "output",
|
|
2373
|
-
"hasDynamicHelp": false,
|
|
2374
|
-
"multiple": false,
|
|
2375
|
-
"type": "option"
|
|
2376
|
-
},
|
|
2377
|
-
"model": {
|
|
2378
|
-
"description": "Model name",
|
|
2379
|
-
"name": "model",
|
|
2584
|
+
"name": {
|
|
2585
|
+
"description": "Prompt name",
|
|
2586
|
+
"name": "name",
|
|
2380
2587
|
"hasDynamicHelp": false,
|
|
2381
2588
|
"multiple": false,
|
|
2382
2589
|
"type": "option"
|
|
2383
2590
|
},
|
|
2384
|
-
"
|
|
2385
|
-
"description": "
|
|
2386
|
-
"name": "
|
|
2591
|
+
"description": {
|
|
2592
|
+
"description": "Prompt description",
|
|
2593
|
+
"name": "description",
|
|
2387
2594
|
"hasDynamicHelp": false,
|
|
2388
2595
|
"multiple": false,
|
|
2389
2596
|
"type": "option"
|
|
@@ -2391,7 +2598,7 @@
|
|
|
2391
2598
|
},
|
|
2392
2599
|
"hasDynamicHelp": false,
|
|
2393
2600
|
"hiddenAliases": [],
|
|
2394
|
-
"id": "
|
|
2601
|
+
"id": "prompts:update",
|
|
2395
2602
|
"pluginAlias": "@respan/cli",
|
|
2396
2603
|
"pluginName": "@respan/cli",
|
|
2397
2604
|
"pluginType": "core",
|
|
@@ -2401,20 +2608,20 @@
|
|
|
2401
2608
|
"relativePath": [
|
|
2402
2609
|
"dist",
|
|
2403
2610
|
"commands",
|
|
2404
|
-
"
|
|
2405
|
-
"
|
|
2611
|
+
"prompts",
|
|
2612
|
+
"update.js"
|
|
2406
2613
|
]
|
|
2407
2614
|
},
|
|
2408
|
-
"
|
|
2615
|
+
"prompts:versions": {
|
|
2409
2616
|
"aliases": [],
|
|
2410
2617
|
"args": {
|
|
2411
|
-
"id": {
|
|
2412
|
-
"description": "
|
|
2413
|
-
"name": "id",
|
|
2618
|
+
"prompt-id": {
|
|
2619
|
+
"description": "Prompt ID",
|
|
2620
|
+
"name": "prompt-id",
|
|
2414
2621
|
"required": true
|
|
2415
2622
|
}
|
|
2416
2623
|
},
|
|
2417
|
-
"description": "
|
|
2624
|
+
"description": "List versions of a prompt",
|
|
2418
2625
|
"flags": {
|
|
2419
2626
|
"api-key": {
|
|
2420
2627
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2460,7 +2667,7 @@
|
|
|
2460
2667
|
},
|
|
2461
2668
|
"hasDynamicHelp": false,
|
|
2462
2669
|
"hiddenAliases": [],
|
|
2463
|
-
"id": "
|
|
2670
|
+
"id": "prompts:versions",
|
|
2464
2671
|
"pluginAlias": "@respan/cli",
|
|
2465
2672
|
"pluginName": "@respan/cli",
|
|
2466
2673
|
"pluginType": "core",
|
|
@@ -2470,14 +2677,18 @@
|
|
|
2470
2677
|
"relativePath": [
|
|
2471
2678
|
"dist",
|
|
2472
2679
|
"commands",
|
|
2473
|
-
"
|
|
2474
|
-
"
|
|
2680
|
+
"prompts",
|
|
2681
|
+
"versions.js"
|
|
2475
2682
|
]
|
|
2476
2683
|
},
|
|
2477
|
-
"
|
|
2684
|
+
"setup:doctor": {
|
|
2478
2685
|
"aliases": [],
|
|
2479
2686
|
"args": {},
|
|
2480
|
-
"description": "
|
|
2687
|
+
"description": "Diagnose coding-agent setup for Respan",
|
|
2688
|
+
"examples": [
|
|
2689
|
+
"respan setup doctor",
|
|
2690
|
+
"respan setup doctor --global"
|
|
2691
|
+
],
|
|
2481
2692
|
"flags": {
|
|
2482
2693
|
"api-key": {
|
|
2483
2694
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2520,111 +2731,69 @@
|
|
|
2520
2731
|
"allowNo": false,
|
|
2521
2732
|
"type": "boolean"
|
|
2522
2733
|
},
|
|
2523
|
-
"
|
|
2524
|
-
"description": "
|
|
2525
|
-
"
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
"
|
|
2529
|
-
"
|
|
2734
|
+
"local": {
|
|
2735
|
+
"description": "Check local project setup",
|
|
2736
|
+
"exclusive": [
|
|
2737
|
+
"global"
|
|
2738
|
+
],
|
|
2739
|
+
"name": "local",
|
|
2740
|
+
"allowNo": false,
|
|
2741
|
+
"type": "boolean"
|
|
2530
2742
|
},
|
|
2531
|
-
"
|
|
2532
|
-
"description": "
|
|
2533
|
-
"
|
|
2534
|
-
|
|
2743
|
+
"global": {
|
|
2744
|
+
"description": "Check global setup",
|
|
2745
|
+
"exclusive": [
|
|
2746
|
+
"local"
|
|
2747
|
+
],
|
|
2748
|
+
"name": "global",
|
|
2749
|
+
"allowNo": false,
|
|
2750
|
+
"type": "boolean"
|
|
2751
|
+
}
|
|
2752
|
+
},
|
|
2753
|
+
"hasDynamicHelp": false,
|
|
2754
|
+
"hiddenAliases": [],
|
|
2755
|
+
"id": "setup:doctor",
|
|
2756
|
+
"pluginAlias": "@respan/cli",
|
|
2757
|
+
"pluginName": "@respan/cli",
|
|
2758
|
+
"pluginType": "core",
|
|
2759
|
+
"strict": true,
|
|
2760
|
+
"enableJsonFlag": false,
|
|
2761
|
+
"isESM": true,
|
|
2762
|
+
"relativePath": [
|
|
2763
|
+
"dist",
|
|
2764
|
+
"commands",
|
|
2765
|
+
"setup",
|
|
2766
|
+
"doctor.js"
|
|
2767
|
+
]
|
|
2768
|
+
},
|
|
2769
|
+
"setup:gateway": {
|
|
2770
|
+
"aliases": [],
|
|
2771
|
+
"args": {},
|
|
2772
|
+
"description": "Deprecated gateway setup entry point. Prints the official gateway setup prompt.",
|
|
2773
|
+
"examples": [
|
|
2774
|
+
"respan setup gateway",
|
|
2775
|
+
"respan setup gateway --agent claude-code",
|
|
2776
|
+
"respan setup gateway --no-instrument"
|
|
2777
|
+
],
|
|
2778
|
+
"flags": {
|
|
2779
|
+
"api-key": {
|
|
2780
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
2781
|
+
"env": "RESPAN_API_KEY",
|
|
2782
|
+
"name": "api-key",
|
|
2535
2783
|
"hasDynamicHelp": false,
|
|
2536
2784
|
"multiple": false,
|
|
2537
2785
|
"type": "option"
|
|
2538
2786
|
},
|
|
2539
|
-
"
|
|
2540
|
-
"description": "
|
|
2541
|
-
"name": "
|
|
2787
|
+
"base-url": {
|
|
2788
|
+
"description": "Temporary API base URL override for this command",
|
|
2789
|
+
"name": "base-url",
|
|
2542
2790
|
"hasDynamicHelp": false,
|
|
2543
2791
|
"multiple": false,
|
|
2544
2792
|
"type": "option"
|
|
2545
2793
|
},
|
|
2546
|
-
"
|
|
2547
|
-
"description": "
|
|
2548
|
-
"name": "
|
|
2549
|
-
"hasDynamicHelp": false,
|
|
2550
|
-
"multiple": false,
|
|
2551
|
-
"type": "option"
|
|
2552
|
-
},
|
|
2553
|
-
"end-time": {
|
|
2554
|
-
"description": "End time filter (ISO 8601)",
|
|
2555
|
-
"name": "end-time",
|
|
2556
|
-
"hasDynamicHelp": false,
|
|
2557
|
-
"multiple": false,
|
|
2558
|
-
"type": "option"
|
|
2559
|
-
},
|
|
2560
|
-
"filter": {
|
|
2561
|
-
"description": "Filter in field:operator:value format (repeatable)",
|
|
2562
|
-
"name": "filter",
|
|
2563
|
-
"hasDynamicHelp": false,
|
|
2564
|
-
"multiple": true,
|
|
2565
|
-
"type": "option"
|
|
2566
|
-
},
|
|
2567
|
-
"all-envs": {
|
|
2568
|
-
"description": "Include all environments (true/false)",
|
|
2569
|
-
"name": "all-envs",
|
|
2570
|
-
"hasDynamicHelp": false,
|
|
2571
|
-
"multiple": false,
|
|
2572
|
-
"type": "option"
|
|
2573
|
-
},
|
|
2574
|
-
"is-test": {
|
|
2575
|
-
"description": "Filter by test (true) or production (false) environment",
|
|
2576
|
-
"name": "is-test",
|
|
2577
|
-
"hasDynamicHelp": false,
|
|
2578
|
-
"multiple": false,
|
|
2579
|
-
"type": "option"
|
|
2580
|
-
},
|
|
2581
|
-
"include-fields": {
|
|
2582
|
-
"description": "Comma-separated fields to include in response",
|
|
2583
|
-
"name": "include-fields",
|
|
2584
|
-
"hasDynamicHelp": false,
|
|
2585
|
-
"multiple": false,
|
|
2586
|
-
"type": "option"
|
|
2587
|
-
}
|
|
2588
|
-
},
|
|
2589
|
-
"hasDynamicHelp": false,
|
|
2590
|
-
"hiddenAliases": [],
|
|
2591
|
-
"id": "logs:list",
|
|
2592
|
-
"pluginAlias": "@respan/cli",
|
|
2593
|
-
"pluginName": "@respan/cli",
|
|
2594
|
-
"pluginType": "core",
|
|
2595
|
-
"strict": true,
|
|
2596
|
-
"enableJsonFlag": false,
|
|
2597
|
-
"isESM": true,
|
|
2598
|
-
"relativePath": [
|
|
2599
|
-
"dist",
|
|
2600
|
-
"commands",
|
|
2601
|
-
"logs",
|
|
2602
|
-
"list.js"
|
|
2603
|
-
]
|
|
2604
|
-
},
|
|
2605
|
-
"logs:summary": {
|
|
2606
|
-
"aliases": [],
|
|
2607
|
-
"args": {},
|
|
2608
|
-
"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",
|
|
2609
|
-
"flags": {
|
|
2610
|
-
"api-key": {
|
|
2611
|
-
"description": "API key (env: RESPAN_API_KEY)",
|
|
2612
|
-
"env": "RESPAN_API_KEY",
|
|
2613
|
-
"name": "api-key",
|
|
2614
|
-
"hasDynamicHelp": false,
|
|
2615
|
-
"multiple": false,
|
|
2616
|
-
"type": "option"
|
|
2617
|
-
},
|
|
2618
|
-
"base-url": {
|
|
2619
|
-
"description": "Temporary API base URL override for this command",
|
|
2620
|
-
"name": "base-url",
|
|
2621
|
-
"hasDynamicHelp": false,
|
|
2622
|
-
"multiple": false,
|
|
2623
|
-
"type": "option"
|
|
2624
|
-
},
|
|
2625
|
-
"profile": {
|
|
2626
|
-
"description": "Named profile to use",
|
|
2627
|
-
"name": "profile",
|
|
2794
|
+
"profile": {
|
|
2795
|
+
"description": "Named profile to use",
|
|
2796
|
+
"name": "profile",
|
|
2628
2797
|
"hasDynamicHelp": false,
|
|
2629
2798
|
"multiple": false,
|
|
2630
2799
|
"type": "option"
|
|
@@ -2648,70 +2817,47 @@
|
|
|
2648
2817
|
"allowNo": false,
|
|
2649
2818
|
"type": "boolean"
|
|
2650
2819
|
},
|
|
2651
|
-
"
|
|
2652
|
-
"description": "
|
|
2653
|
-
"name": "
|
|
2654
|
-
"required": true,
|
|
2655
|
-
"hasDynamicHelp": false,
|
|
2656
|
-
"multiple": false,
|
|
2657
|
-
"type": "option"
|
|
2658
|
-
},
|
|
2659
|
-
"end-time": {
|
|
2660
|
-
"description": "End time (ISO 8601)",
|
|
2661
|
-
"name": "end-time",
|
|
2662
|
-
"required": true,
|
|
2663
|
-
"hasDynamicHelp": false,
|
|
2664
|
-
"multiple": false,
|
|
2665
|
-
"type": "option"
|
|
2666
|
-
},
|
|
2667
|
-
"filter": {
|
|
2668
|
-
"description": "Filter in field:operator:value format (repeatable)",
|
|
2669
|
-
"name": "filter",
|
|
2670
|
-
"hasDynamicHelp": false,
|
|
2671
|
-
"multiple": true,
|
|
2672
|
-
"type": "option"
|
|
2673
|
-
},
|
|
2674
|
-
"all-envs": {
|
|
2675
|
-
"description": "Include all environments (true/false)",
|
|
2676
|
-
"name": "all-envs",
|
|
2820
|
+
"agent": {
|
|
2821
|
+
"description": "Deprecated compatibility flag; no agent is launched",
|
|
2822
|
+
"name": "agent",
|
|
2677
2823
|
"hasDynamicHelp": false,
|
|
2678
2824
|
"multiple": false,
|
|
2679
2825
|
"type": "option"
|
|
2680
2826
|
},
|
|
2681
|
-
"
|
|
2682
|
-
"description": "
|
|
2683
|
-
"name": "
|
|
2684
|
-
"
|
|
2685
|
-
"
|
|
2686
|
-
"type": "option"
|
|
2827
|
+
"no-instrument": {
|
|
2828
|
+
"description": "Deprecated compatibility flag; setup only prints a prompt",
|
|
2829
|
+
"name": "no-instrument",
|
|
2830
|
+
"allowNo": false,
|
|
2831
|
+
"type": "boolean"
|
|
2687
2832
|
}
|
|
2688
2833
|
},
|
|
2689
2834
|
"hasDynamicHelp": false,
|
|
2690
2835
|
"hiddenAliases": [],
|
|
2691
|
-
"id": "
|
|
2836
|
+
"id": "setup:gateway",
|
|
2692
2837
|
"pluginAlias": "@respan/cli",
|
|
2693
2838
|
"pluginName": "@respan/cli",
|
|
2694
2839
|
"pluginType": "core",
|
|
2695
2840
|
"strict": true,
|
|
2696
|
-
"enableJsonFlag": false,
|
|
2697
2841
|
"isESM": true,
|
|
2698
2842
|
"relativePath": [
|
|
2699
2843
|
"dist",
|
|
2700
2844
|
"commands",
|
|
2701
|
-
"
|
|
2702
|
-
"
|
|
2845
|
+
"setup",
|
|
2846
|
+
"gateway.js"
|
|
2703
2847
|
]
|
|
2704
2848
|
},
|
|
2705
|
-
"
|
|
2849
|
+
"setup": {
|
|
2706
2850
|
"aliases": [],
|
|
2707
|
-
"args": {
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2851
|
+
"args": {},
|
|
2852
|
+
"description": "Deprecated setup entry point. Prints tracing and gateway setup prompts.",
|
|
2853
|
+
"examples": [
|
|
2854
|
+
"npx @respan/cli setup",
|
|
2855
|
+
"respan setup",
|
|
2856
|
+
"respan setup tracing",
|
|
2857
|
+
"respan setup gateway",
|
|
2858
|
+
"respan setup --agent claude-code",
|
|
2859
|
+
"respan setup --no-instrument"
|
|
2860
|
+
],
|
|
2715
2861
|
"flags": {
|
|
2716
2862
|
"api-key": {
|
|
2717
2863
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2754,56 +2900,44 @@
|
|
|
2754
2900
|
"allowNo": false,
|
|
2755
2901
|
"type": "boolean"
|
|
2756
2902
|
},
|
|
2757
|
-
"
|
|
2758
|
-
"description": "
|
|
2759
|
-
"name": "
|
|
2760
|
-
"required": true,
|
|
2761
|
-
"hasDynamicHelp": false,
|
|
2762
|
-
"multiple": false,
|
|
2763
|
-
"type": "option"
|
|
2764
|
-
},
|
|
2765
|
-
"model": {
|
|
2766
|
-
"description": "Model name",
|
|
2767
|
-
"name": "model",
|
|
2768
|
-
"hasDynamicHelp": false,
|
|
2769
|
-
"multiple": false,
|
|
2770
|
-
"type": "option"
|
|
2771
|
-
},
|
|
2772
|
-
"temperature": {
|
|
2773
|
-
"description": "Temperature value",
|
|
2774
|
-
"name": "temperature",
|
|
2903
|
+
"agent": {
|
|
2904
|
+
"description": "Deprecated compatibility flag; no agent is launched",
|
|
2905
|
+
"name": "agent",
|
|
2775
2906
|
"hasDynamicHelp": false,
|
|
2776
2907
|
"multiple": false,
|
|
2777
2908
|
"type": "option"
|
|
2778
2909
|
},
|
|
2779
|
-
"
|
|
2780
|
-
"description": "
|
|
2781
|
-
"name": "
|
|
2782
|
-
"
|
|
2783
|
-
"
|
|
2784
|
-
"type": "option"
|
|
2910
|
+
"no-instrument": {
|
|
2911
|
+
"description": "Deprecated compatibility flag; setup only prints a prompt",
|
|
2912
|
+
"name": "no-instrument",
|
|
2913
|
+
"allowNo": false,
|
|
2914
|
+
"type": "boolean"
|
|
2785
2915
|
}
|
|
2786
2916
|
},
|
|
2787
2917
|
"hasDynamicHelp": false,
|
|
2788
2918
|
"hiddenAliases": [],
|
|
2789
|
-
"id": "
|
|
2919
|
+
"id": "setup",
|
|
2790
2920
|
"pluginAlias": "@respan/cli",
|
|
2791
2921
|
"pluginName": "@respan/cli",
|
|
2792
2922
|
"pluginType": "core",
|
|
2793
2923
|
"strict": true,
|
|
2794
|
-
"enableJsonFlag": false,
|
|
2795
2924
|
"isESM": true,
|
|
2796
2925
|
"relativePath": [
|
|
2797
2926
|
"dist",
|
|
2798
2927
|
"commands",
|
|
2799
|
-
"
|
|
2800
|
-
"
|
|
2928
|
+
"setup",
|
|
2929
|
+
"index.js"
|
|
2801
2930
|
]
|
|
2802
2931
|
},
|
|
2803
|
-
"
|
|
2932
|
+
"setup:tracing": {
|
|
2804
2933
|
"aliases": [],
|
|
2805
2934
|
"args": {},
|
|
2806
|
-
"description": "
|
|
2935
|
+
"description": "Deprecated tracing setup entry point. Prints the official tracing setup prompt.",
|
|
2936
|
+
"examples": [
|
|
2937
|
+
"respan setup tracing",
|
|
2938
|
+
"respan setup tracing --agent claude-code",
|
|
2939
|
+
"respan setup tracing --no-instrument"
|
|
2940
|
+
],
|
|
2807
2941
|
"flags": {
|
|
2808
2942
|
"api-key": {
|
|
2809
2943
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2846,48 +2980,45 @@
|
|
|
2846
2980
|
"allowNo": false,
|
|
2847
2981
|
"type": "boolean"
|
|
2848
2982
|
},
|
|
2849
|
-
"
|
|
2850
|
-
"description": "
|
|
2851
|
-
"name": "
|
|
2852
|
-
"required": true,
|
|
2983
|
+
"agent": {
|
|
2984
|
+
"description": "Deprecated compatibility flag; no agent is launched",
|
|
2985
|
+
"name": "agent",
|
|
2853
2986
|
"hasDynamicHelp": false,
|
|
2854
2987
|
"multiple": false,
|
|
2855
2988
|
"type": "option"
|
|
2856
2989
|
},
|
|
2857
|
-
"
|
|
2858
|
-
"description": "
|
|
2859
|
-
"name": "
|
|
2860
|
-
"
|
|
2861
|
-
"
|
|
2862
|
-
"type": "option"
|
|
2990
|
+
"no-instrument": {
|
|
2991
|
+
"description": "Deprecated compatibility flag; setup only prints a prompt",
|
|
2992
|
+
"name": "no-instrument",
|
|
2993
|
+
"allowNo": false,
|
|
2994
|
+
"type": "boolean"
|
|
2863
2995
|
}
|
|
2864
2996
|
},
|
|
2865
2997
|
"hasDynamicHelp": false,
|
|
2866
2998
|
"hiddenAliases": [],
|
|
2867
|
-
"id": "
|
|
2999
|
+
"id": "setup:tracing",
|
|
2868
3000
|
"pluginAlias": "@respan/cli",
|
|
2869
3001
|
"pluginName": "@respan/cli",
|
|
2870
3002
|
"pluginType": "core",
|
|
2871
3003
|
"strict": true,
|
|
2872
|
-
"enableJsonFlag": false,
|
|
2873
3004
|
"isESM": true,
|
|
2874
3005
|
"relativePath": [
|
|
2875
3006
|
"dist",
|
|
2876
3007
|
"commands",
|
|
2877
|
-
"
|
|
2878
|
-
"
|
|
3008
|
+
"setup",
|
|
3009
|
+
"tracing.js"
|
|
2879
3010
|
]
|
|
2880
3011
|
},
|
|
2881
|
-
"
|
|
3012
|
+
"tools:call": {
|
|
2882
3013
|
"aliases": [],
|
|
2883
3014
|
"args": {
|
|
2884
|
-
"
|
|
2885
|
-
"description": "
|
|
2886
|
-
"name": "
|
|
3015
|
+
"name": {
|
|
3016
|
+
"description": "MCP tool name, e.g. log_list or trace_get",
|
|
3017
|
+
"name": "name",
|
|
2887
3018
|
"required": true
|
|
2888
3019
|
}
|
|
2889
3020
|
},
|
|
2890
|
-
"description": "
|
|
3021
|
+
"description": "Call a Respan MCP tool with its exact tool name and JSON arguments. Writes execute immediately; inspect tools list --json before calling.",
|
|
2891
3022
|
"flags": {
|
|
2892
3023
|
"api-key": {
|
|
2893
3024
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2929,74 +3060,30 @@
|
|
|
2929
3060
|
"name": "verbose",
|
|
2930
3061
|
"allowNo": false,
|
|
2931
3062
|
"type": "boolean"
|
|
2932
|
-
}
|
|
2933
|
-
},
|
|
2934
|
-
"hasDynamicHelp": false,
|
|
2935
|
-
"hiddenAliases": [],
|
|
2936
|
-
"id": "prompts:get",
|
|
2937
|
-
"pluginAlias": "@respan/cli",
|
|
2938
|
-
"pluginName": "@respan/cli",
|
|
2939
|
-
"pluginType": "core",
|
|
2940
|
-
"strict": true,
|
|
2941
|
-
"enableJsonFlag": false,
|
|
2942
|
-
"isESM": true,
|
|
2943
|
-
"relativePath": [
|
|
2944
|
-
"dist",
|
|
2945
|
-
"commands",
|
|
2946
|
-
"prompts",
|
|
2947
|
-
"get.js"
|
|
2948
|
-
]
|
|
2949
|
-
},
|
|
2950
|
-
"prompts:list": {
|
|
2951
|
-
"aliases": [],
|
|
2952
|
-
"args": {},
|
|
2953
|
-
"description": "List prompts",
|
|
2954
|
-
"flags": {
|
|
2955
|
-
"api-key": {
|
|
2956
|
-
"description": "API key (env: RESPAN_API_KEY)",
|
|
2957
|
-
"env": "RESPAN_API_KEY",
|
|
2958
|
-
"name": "api-key",
|
|
2959
|
-
"hasDynamicHelp": false,
|
|
2960
|
-
"multiple": false,
|
|
2961
|
-
"type": "option"
|
|
2962
3063
|
},
|
|
2963
|
-
"
|
|
2964
|
-
"description": "
|
|
2965
|
-
"
|
|
3064
|
+
"input": {
|
|
3065
|
+
"description": "JSON object of MCP tool arguments",
|
|
3066
|
+
"exclusive": [
|
|
3067
|
+
"input-file"
|
|
3068
|
+
],
|
|
3069
|
+
"name": "input",
|
|
2966
3070
|
"hasDynamicHelp": false,
|
|
2967
3071
|
"multiple": false,
|
|
2968
3072
|
"type": "option"
|
|
2969
3073
|
},
|
|
2970
|
-
"
|
|
2971
|
-
"description": "
|
|
2972
|
-
"
|
|
3074
|
+
"input-file": {
|
|
3075
|
+
"description": "File containing a JSON object of MCP tool arguments",
|
|
3076
|
+
"exclusive": [
|
|
3077
|
+
"input"
|
|
3078
|
+
],
|
|
3079
|
+
"name": "input-file",
|
|
2973
3080
|
"hasDynamicHelp": false,
|
|
2974
3081
|
"multiple": false,
|
|
2975
3082
|
"type": "option"
|
|
2976
3083
|
},
|
|
2977
|
-
"
|
|
2978
|
-
"description": "
|
|
2979
|
-
"name": "
|
|
2980
|
-
"allowNo": false,
|
|
2981
|
-
"type": "boolean"
|
|
2982
|
-
},
|
|
2983
|
-
"csv": {
|
|
2984
|
-
"description": "Output as CSV",
|
|
2985
|
-
"name": "csv",
|
|
2986
|
-
"allowNo": false,
|
|
2987
|
-
"type": "boolean"
|
|
2988
|
-
},
|
|
2989
|
-
"verbose": {
|
|
2990
|
-
"char": "v",
|
|
2991
|
-
"description": "Show verbose output",
|
|
2992
|
-
"name": "verbose",
|
|
2993
|
-
"allowNo": false,
|
|
2994
|
-
"type": "boolean"
|
|
2995
|
-
},
|
|
2996
|
-
"limit": {
|
|
2997
|
-
"description": "Number of results per page",
|
|
2998
|
-
"name": "limit",
|
|
2999
|
-
"default": 50,
|
|
3084
|
+
"mcp-url": {
|
|
3085
|
+
"description": "Custom MCP server URL (defaults to the active Platform or Enterprise server)",
|
|
3086
|
+
"name": "mcp-url",
|
|
3000
3087
|
"hasDynamicHelp": false,
|
|
3001
3088
|
"multiple": false,
|
|
3002
3089
|
"type": "option"
|
|
@@ -3004,7 +3091,7 @@
|
|
|
3004
3091
|
},
|
|
3005
3092
|
"hasDynamicHelp": false,
|
|
3006
3093
|
"hiddenAliases": [],
|
|
3007
|
-
"id": "
|
|
3094
|
+
"id": "tools:call",
|
|
3008
3095
|
"pluginAlias": "@respan/cli",
|
|
3009
3096
|
"pluginName": "@respan/cli",
|
|
3010
3097
|
"pluginType": "core",
|
|
@@ -3014,20 +3101,14 @@
|
|
|
3014
3101
|
"relativePath": [
|
|
3015
3102
|
"dist",
|
|
3016
3103
|
"commands",
|
|
3017
|
-
"
|
|
3018
|
-
"
|
|
3104
|
+
"tools",
|
|
3105
|
+
"call.js"
|
|
3019
3106
|
]
|
|
3020
3107
|
},
|
|
3021
|
-
"
|
|
3108
|
+
"tools:list": {
|
|
3022
3109
|
"aliases": [],
|
|
3023
|
-
"args": {
|
|
3024
|
-
|
|
3025
|
-
"description": "Prompt ID",
|
|
3026
|
-
"name": "id",
|
|
3027
|
-
"required": true
|
|
3028
|
-
}
|
|
3029
|
-
},
|
|
3030
|
-
"description": "Update a prompt",
|
|
3110
|
+
"args": {},
|
|
3111
|
+
"description": "List the current Respan MCP tools, their input schemas, and annotations.",
|
|
3031
3112
|
"flags": {
|
|
3032
3113
|
"api-key": {
|
|
3033
3114
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3070,16 +3151,22 @@
|
|
|
3070
3151
|
"allowNo": false,
|
|
3071
3152
|
"type": "boolean"
|
|
3072
3153
|
},
|
|
3073
|
-
"
|
|
3074
|
-
"description": "
|
|
3075
|
-
"name": "
|
|
3154
|
+
"category": {
|
|
3155
|
+
"description": "Filter by a category returned by the MCP server",
|
|
3156
|
+
"name": "category",
|
|
3076
3157
|
"hasDynamicHelp": false,
|
|
3077
3158
|
"multiple": false,
|
|
3078
3159
|
"type": "option"
|
|
3079
3160
|
},
|
|
3080
|
-
"
|
|
3081
|
-
"description": "
|
|
3082
|
-
"name": "
|
|
3161
|
+
"categories": {
|
|
3162
|
+
"description": "List available categories and tool counts instead of tools",
|
|
3163
|
+
"name": "categories",
|
|
3164
|
+
"allowNo": false,
|
|
3165
|
+
"type": "boolean"
|
|
3166
|
+
},
|
|
3167
|
+
"mcp-url": {
|
|
3168
|
+
"description": "Custom MCP server URL (defaults to the active Platform or Enterprise server)",
|
|
3169
|
+
"name": "mcp-url",
|
|
3083
3170
|
"hasDynamicHelp": false,
|
|
3084
3171
|
"multiple": false,
|
|
3085
3172
|
"type": "option"
|
|
@@ -3087,7 +3174,7 @@
|
|
|
3087
3174
|
},
|
|
3088
3175
|
"hasDynamicHelp": false,
|
|
3089
3176
|
"hiddenAliases": [],
|
|
3090
|
-
"id": "
|
|
3177
|
+
"id": "tools:list",
|
|
3091
3178
|
"pluginAlias": "@respan/cli",
|
|
3092
3179
|
"pluginName": "@respan/cli",
|
|
3093
3180
|
"pluginType": "core",
|
|
@@ -3097,87 +3184,20 @@
|
|
|
3097
3184
|
"relativePath": [
|
|
3098
3185
|
"dist",
|
|
3099
3186
|
"commands",
|
|
3100
|
-
"
|
|
3101
|
-
"
|
|
3187
|
+
"tools",
|
|
3188
|
+
"list.js"
|
|
3102
3189
|
]
|
|
3103
3190
|
},
|
|
3104
|
-
"
|
|
3191
|
+
"traces:get": {
|
|
3105
3192
|
"aliases": [],
|
|
3106
3193
|
"args": {
|
|
3107
|
-
"
|
|
3108
|
-
"description": "
|
|
3109
|
-
"name": "
|
|
3194
|
+
"id": {
|
|
3195
|
+
"description": "Trace ID",
|
|
3196
|
+
"name": "id",
|
|
3110
3197
|
"required": true
|
|
3111
3198
|
}
|
|
3112
3199
|
},
|
|
3113
|
-
"description": "
|
|
3114
|
-
"flags": {
|
|
3115
|
-
"api-key": {
|
|
3116
|
-
"description": "API key (env: RESPAN_API_KEY)",
|
|
3117
|
-
"env": "RESPAN_API_KEY",
|
|
3118
|
-
"name": "api-key",
|
|
3119
|
-
"hasDynamicHelp": false,
|
|
3120
|
-
"multiple": false,
|
|
3121
|
-
"type": "option"
|
|
3122
|
-
},
|
|
3123
|
-
"base-url": {
|
|
3124
|
-
"description": "Temporary API base URL override for this command",
|
|
3125
|
-
"name": "base-url",
|
|
3126
|
-
"hasDynamicHelp": false,
|
|
3127
|
-
"multiple": false,
|
|
3128
|
-
"type": "option"
|
|
3129
|
-
},
|
|
3130
|
-
"profile": {
|
|
3131
|
-
"description": "Named profile to use",
|
|
3132
|
-
"name": "profile",
|
|
3133
|
-
"hasDynamicHelp": false,
|
|
3134
|
-
"multiple": false,
|
|
3135
|
-
"type": "option"
|
|
3136
|
-
},
|
|
3137
|
-
"json": {
|
|
3138
|
-
"description": "Output as JSON",
|
|
3139
|
-
"name": "json",
|
|
3140
|
-
"allowNo": false,
|
|
3141
|
-
"type": "boolean"
|
|
3142
|
-
},
|
|
3143
|
-
"csv": {
|
|
3144
|
-
"description": "Output as CSV",
|
|
3145
|
-
"name": "csv",
|
|
3146
|
-
"allowNo": false,
|
|
3147
|
-
"type": "boolean"
|
|
3148
|
-
},
|
|
3149
|
-
"verbose": {
|
|
3150
|
-
"char": "v",
|
|
3151
|
-
"description": "Show verbose output",
|
|
3152
|
-
"name": "verbose",
|
|
3153
|
-
"allowNo": false,
|
|
3154
|
-
"type": "boolean"
|
|
3155
|
-
}
|
|
3156
|
-
},
|
|
3157
|
-
"hasDynamicHelp": false,
|
|
3158
|
-
"hiddenAliases": [],
|
|
3159
|
-
"id": "prompts:versions",
|
|
3160
|
-
"pluginAlias": "@respan/cli",
|
|
3161
|
-
"pluginName": "@respan/cli",
|
|
3162
|
-
"pluginType": "core",
|
|
3163
|
-
"strict": true,
|
|
3164
|
-
"enableJsonFlag": false,
|
|
3165
|
-
"isESM": true,
|
|
3166
|
-
"relativePath": [
|
|
3167
|
-
"dist",
|
|
3168
|
-
"commands",
|
|
3169
|
-
"prompts",
|
|
3170
|
-
"versions.js"
|
|
3171
|
-
]
|
|
3172
|
-
},
|
|
3173
|
-
"setup:doctor": {
|
|
3174
|
-
"aliases": [],
|
|
3175
|
-
"args": {},
|
|
3176
|
-
"description": "Diagnose coding-agent setup for Respan",
|
|
3177
|
-
"examples": [
|
|
3178
|
-
"respan setup doctor",
|
|
3179
|
-
"respan setup doctor --global"
|
|
3180
|
-
],
|
|
3200
|
+
"description": "Get a specific trace",
|
|
3181
3201
|
"flags": {
|
|
3182
3202
|
"api-key": {
|
|
3183
3203
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3219,29 +3239,11 @@
|
|
|
3219
3239
|
"name": "verbose",
|
|
3220
3240
|
"allowNo": false,
|
|
3221
3241
|
"type": "boolean"
|
|
3222
|
-
},
|
|
3223
|
-
"local": {
|
|
3224
|
-
"description": "Check local project setup",
|
|
3225
|
-
"exclusive": [
|
|
3226
|
-
"global"
|
|
3227
|
-
],
|
|
3228
|
-
"name": "local",
|
|
3229
|
-
"allowNo": false,
|
|
3230
|
-
"type": "boolean"
|
|
3231
|
-
},
|
|
3232
|
-
"global": {
|
|
3233
|
-
"description": "Check global setup",
|
|
3234
|
-
"exclusive": [
|
|
3235
|
-
"local"
|
|
3236
|
-
],
|
|
3237
|
-
"name": "global",
|
|
3238
|
-
"allowNo": false,
|
|
3239
|
-
"type": "boolean"
|
|
3240
3242
|
}
|
|
3241
3243
|
},
|
|
3242
3244
|
"hasDynamicHelp": false,
|
|
3243
3245
|
"hiddenAliases": [],
|
|
3244
|
-
"id": "
|
|
3246
|
+
"id": "traces:get",
|
|
3245
3247
|
"pluginAlias": "@respan/cli",
|
|
3246
3248
|
"pluginName": "@respan/cli",
|
|
3247
3249
|
"pluginType": "core",
|
|
@@ -3251,19 +3253,14 @@
|
|
|
3251
3253
|
"relativePath": [
|
|
3252
3254
|
"dist",
|
|
3253
3255
|
"commands",
|
|
3254
|
-
"
|
|
3255
|
-
"
|
|
3256
|
+
"traces",
|
|
3257
|
+
"get.js"
|
|
3256
3258
|
]
|
|
3257
3259
|
},
|
|
3258
|
-
"
|
|
3260
|
+
"traces:list": {
|
|
3259
3261
|
"aliases": [],
|
|
3260
3262
|
"args": {},
|
|
3261
|
-
"description": "
|
|
3262
|
-
"examples": [
|
|
3263
|
-
"respan setup gateway",
|
|
3264
|
-
"respan setup gateway --agent claude-code",
|
|
3265
|
-
"respan setup gateway --no-instrument"
|
|
3266
|
-
],
|
|
3263
|
+
"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",
|
|
3267
3264
|
"flags": {
|
|
3268
3265
|
"api-key": {
|
|
3269
3266
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3306,47 +3303,79 @@
|
|
|
3306
3303
|
"allowNo": false,
|
|
3307
3304
|
"type": "boolean"
|
|
3308
3305
|
},
|
|
3309
|
-
"
|
|
3310
|
-
"description": "
|
|
3311
|
-
"name": "
|
|
3306
|
+
"limit": {
|
|
3307
|
+
"description": "Number of results per page",
|
|
3308
|
+
"name": "limit",
|
|
3309
|
+
"default": 10,
|
|
3312
3310
|
"hasDynamicHelp": false,
|
|
3313
3311
|
"multiple": false,
|
|
3314
3312
|
"type": "option"
|
|
3315
3313
|
},
|
|
3316
|
-
"
|
|
3317
|
-
"description": "
|
|
3318
|
-
"name": "
|
|
3319
|
-
"
|
|
3320
|
-
"
|
|
3314
|
+
"page": {
|
|
3315
|
+
"description": "Page number",
|
|
3316
|
+
"name": "page",
|
|
3317
|
+
"default": 1,
|
|
3318
|
+
"hasDynamicHelp": false,
|
|
3319
|
+
"multiple": false,
|
|
3320
|
+
"type": "option"
|
|
3321
|
+
},
|
|
3322
|
+
"sort-by": {
|
|
3323
|
+
"description": "Sort field (prefix with - for descending)",
|
|
3324
|
+
"name": "sort-by",
|
|
3325
|
+
"default": "-timestamp",
|
|
3326
|
+
"hasDynamicHelp": false,
|
|
3327
|
+
"multiple": false,
|
|
3328
|
+
"type": "option"
|
|
3329
|
+
},
|
|
3330
|
+
"start-time": {
|
|
3331
|
+
"description": "Start time filter (ISO 8601)",
|
|
3332
|
+
"name": "start-time",
|
|
3333
|
+
"hasDynamicHelp": false,
|
|
3334
|
+
"multiple": false,
|
|
3335
|
+
"type": "option"
|
|
3336
|
+
},
|
|
3337
|
+
"end-time": {
|
|
3338
|
+
"description": "End time filter (ISO 8601)",
|
|
3339
|
+
"name": "end-time",
|
|
3340
|
+
"hasDynamicHelp": false,
|
|
3341
|
+
"multiple": false,
|
|
3342
|
+
"type": "option"
|
|
3343
|
+
},
|
|
3344
|
+
"environment": {
|
|
3345
|
+
"description": "Environment filter",
|
|
3346
|
+
"name": "environment",
|
|
3347
|
+
"hasDynamicHelp": false,
|
|
3348
|
+
"multiple": false,
|
|
3349
|
+
"type": "option"
|
|
3350
|
+
},
|
|
3351
|
+
"filter": {
|
|
3352
|
+
"description": "Filter in field:operator:value format (repeatable)",
|
|
3353
|
+
"name": "filter",
|
|
3354
|
+
"hasDynamicHelp": false,
|
|
3355
|
+
"multiple": true,
|
|
3356
|
+
"type": "option"
|
|
3321
3357
|
}
|
|
3322
3358
|
},
|
|
3323
3359
|
"hasDynamicHelp": false,
|
|
3324
3360
|
"hiddenAliases": [],
|
|
3325
|
-
"id": "
|
|
3361
|
+
"id": "traces:list",
|
|
3326
3362
|
"pluginAlias": "@respan/cli",
|
|
3327
3363
|
"pluginName": "@respan/cli",
|
|
3328
3364
|
"pluginType": "core",
|
|
3329
3365
|
"strict": true,
|
|
3366
|
+
"enableJsonFlag": false,
|
|
3330
3367
|
"isESM": true,
|
|
3331
3368
|
"relativePath": [
|
|
3332
3369
|
"dist",
|
|
3333
3370
|
"commands",
|
|
3334
|
-
"
|
|
3335
|
-
"
|
|
3371
|
+
"traces",
|
|
3372
|
+
"list.js"
|
|
3336
3373
|
]
|
|
3337
3374
|
},
|
|
3338
|
-
"
|
|
3375
|
+
"traces:summary": {
|
|
3339
3376
|
"aliases": [],
|
|
3340
3377
|
"args": {},
|
|
3341
|
-
"description": "
|
|
3342
|
-
"examples": [
|
|
3343
|
-
"npx @respan/cli setup",
|
|
3344
|
-
"respan setup",
|
|
3345
|
-
"respan setup tracing",
|
|
3346
|
-
"respan setup gateway",
|
|
3347
|
-
"respan setup --agent claude-code",
|
|
3348
|
-
"respan setup --no-instrument"
|
|
3349
|
-
],
|
|
3378
|
+
"description": "Get a span-level summary of activity for a time range (counts, latency, cost, errors aggregated across spans)",
|
|
3350
3379
|
"flags": {
|
|
3351
3380
|
"api-key": {
|
|
3352
3381
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3389,44 +3418,43 @@
|
|
|
3389
3418
|
"allowNo": false,
|
|
3390
3419
|
"type": "boolean"
|
|
3391
3420
|
},
|
|
3392
|
-
"
|
|
3393
|
-
"description": "
|
|
3394
|
-
"name": "
|
|
3421
|
+
"start-time": {
|
|
3422
|
+
"description": "Start time (ISO 8601)",
|
|
3423
|
+
"name": "start-time",
|
|
3424
|
+
"required": true,
|
|
3395
3425
|
"hasDynamicHelp": false,
|
|
3396
3426
|
"multiple": false,
|
|
3397
3427
|
"type": "option"
|
|
3398
3428
|
},
|
|
3399
|
-
"
|
|
3400
|
-
"description": "
|
|
3401
|
-
"name": "
|
|
3402
|
-
"
|
|
3403
|
-
"
|
|
3429
|
+
"end-time": {
|
|
3430
|
+
"description": "End time (ISO 8601)",
|
|
3431
|
+
"name": "end-time",
|
|
3432
|
+
"required": true,
|
|
3433
|
+
"hasDynamicHelp": false,
|
|
3434
|
+
"multiple": false,
|
|
3435
|
+
"type": "option"
|
|
3404
3436
|
}
|
|
3405
3437
|
},
|
|
3406
3438
|
"hasDynamicHelp": false,
|
|
3407
3439
|
"hiddenAliases": [],
|
|
3408
|
-
"id": "
|
|
3440
|
+
"id": "traces:summary",
|
|
3409
3441
|
"pluginAlias": "@respan/cli",
|
|
3410
3442
|
"pluginName": "@respan/cli",
|
|
3411
3443
|
"pluginType": "core",
|
|
3412
3444
|
"strict": true,
|
|
3445
|
+
"enableJsonFlag": false,
|
|
3413
3446
|
"isESM": true,
|
|
3414
3447
|
"relativePath": [
|
|
3415
3448
|
"dist",
|
|
3416
3449
|
"commands",
|
|
3417
|
-
"
|
|
3418
|
-
"
|
|
3450
|
+
"traces",
|
|
3451
|
+
"summary.js"
|
|
3419
3452
|
]
|
|
3420
3453
|
},
|
|
3421
|
-
"
|
|
3454
|
+
"users:create": {
|
|
3422
3455
|
"aliases": [],
|
|
3423
3456
|
"args": {},
|
|
3424
|
-
"description": "
|
|
3425
|
-
"examples": [
|
|
3426
|
-
"respan setup tracing",
|
|
3427
|
-
"respan setup tracing --agent claude-code",
|
|
3428
|
-
"respan setup tracing --no-instrument"
|
|
3429
|
-
],
|
|
3457
|
+
"description": "Create a new user (customer)",
|
|
3430
3458
|
"flags": {
|
|
3431
3459
|
"api-key": {
|
|
3432
3460
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3469,45 +3497,62 @@
|
|
|
3469
3497
|
"allowNo": false,
|
|
3470
3498
|
"type": "boolean"
|
|
3471
3499
|
},
|
|
3472
|
-
"
|
|
3473
|
-
"description": "
|
|
3474
|
-
"name": "
|
|
3500
|
+
"identifier": {
|
|
3501
|
+
"description": "Customer identifier",
|
|
3502
|
+
"name": "identifier",
|
|
3503
|
+
"required": true,
|
|
3475
3504
|
"hasDynamicHelp": false,
|
|
3476
3505
|
"multiple": false,
|
|
3477
3506
|
"type": "option"
|
|
3478
3507
|
},
|
|
3479
|
-
"
|
|
3480
|
-
"description": "
|
|
3481
|
-
"name": "
|
|
3482
|
-
"
|
|
3483
|
-
"
|
|
3508
|
+
"name": {
|
|
3509
|
+
"description": "Customer name",
|
|
3510
|
+
"name": "name",
|
|
3511
|
+
"hasDynamicHelp": false,
|
|
3512
|
+
"multiple": false,
|
|
3513
|
+
"type": "option"
|
|
3514
|
+
},
|
|
3515
|
+
"email": {
|
|
3516
|
+
"description": "Customer email",
|
|
3517
|
+
"name": "email",
|
|
3518
|
+
"hasDynamicHelp": false,
|
|
3519
|
+
"multiple": false,
|
|
3520
|
+
"type": "option"
|
|
3521
|
+
},
|
|
3522
|
+
"metadata": {
|
|
3523
|
+
"description": "Metadata as JSON string",
|
|
3524
|
+
"name": "metadata",
|
|
3525
|
+
"hasDynamicHelp": false,
|
|
3526
|
+
"multiple": false,
|
|
3527
|
+
"type": "option"
|
|
3484
3528
|
}
|
|
3485
3529
|
},
|
|
3486
3530
|
"hasDynamicHelp": false,
|
|
3487
3531
|
"hiddenAliases": [],
|
|
3488
|
-
"id": "
|
|
3532
|
+
"id": "users:create",
|
|
3489
3533
|
"pluginAlias": "@respan/cli",
|
|
3490
3534
|
"pluginName": "@respan/cli",
|
|
3491
3535
|
"pluginType": "core",
|
|
3492
3536
|
"strict": true,
|
|
3537
|
+
"enableJsonFlag": false,
|
|
3493
3538
|
"isESM": true,
|
|
3494
3539
|
"relativePath": [
|
|
3495
3540
|
"dist",
|
|
3496
3541
|
"commands",
|
|
3497
|
-
"
|
|
3498
|
-
"
|
|
3542
|
+
"users",
|
|
3543
|
+
"create.js"
|
|
3499
3544
|
]
|
|
3500
3545
|
},
|
|
3501
|
-
"
|
|
3546
|
+
"users:get": {
|
|
3502
3547
|
"aliases": [],
|
|
3503
3548
|
"args": {
|
|
3504
|
-
"
|
|
3505
|
-
"description": "
|
|
3506
|
-
"name": "
|
|
3549
|
+
"id": {
|
|
3550
|
+
"description": "Customer identifier",
|
|
3551
|
+
"name": "id",
|
|
3507
3552
|
"required": true
|
|
3508
3553
|
}
|
|
3509
3554
|
},
|
|
3510
|
-
"description": "
|
|
3555
|
+
"description": "Get a specific user (customer)",
|
|
3511
3556
|
"flags": {
|
|
3512
3557
|
"api-key": {
|
|
3513
3558
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3549,38 +3594,11 @@
|
|
|
3549
3594
|
"name": "verbose",
|
|
3550
3595
|
"allowNo": false,
|
|
3551
3596
|
"type": "boolean"
|
|
3552
|
-
},
|
|
3553
|
-
"input": {
|
|
3554
|
-
"description": "JSON object of MCP tool arguments",
|
|
3555
|
-
"exclusive": [
|
|
3556
|
-
"input-file"
|
|
3557
|
-
],
|
|
3558
|
-
"name": "input",
|
|
3559
|
-
"hasDynamicHelp": false,
|
|
3560
|
-
"multiple": false,
|
|
3561
|
-
"type": "option"
|
|
3562
|
-
},
|
|
3563
|
-
"input-file": {
|
|
3564
|
-
"description": "File containing a JSON object of MCP tool arguments",
|
|
3565
|
-
"exclusive": [
|
|
3566
|
-
"input"
|
|
3567
|
-
],
|
|
3568
|
-
"name": "input-file",
|
|
3569
|
-
"hasDynamicHelp": false,
|
|
3570
|
-
"multiple": false,
|
|
3571
|
-
"type": "option"
|
|
3572
|
-
},
|
|
3573
|
-
"mcp-url": {
|
|
3574
|
-
"description": "Custom MCP server URL (defaults to the active Platform or Enterprise server)",
|
|
3575
|
-
"name": "mcp-url",
|
|
3576
|
-
"hasDynamicHelp": false,
|
|
3577
|
-
"multiple": false,
|
|
3578
|
-
"type": "option"
|
|
3579
3597
|
}
|
|
3580
3598
|
},
|
|
3581
3599
|
"hasDynamicHelp": false,
|
|
3582
3600
|
"hiddenAliases": [],
|
|
3583
|
-
"id": "
|
|
3601
|
+
"id": "users:get",
|
|
3584
3602
|
"pluginAlias": "@respan/cli",
|
|
3585
3603
|
"pluginName": "@respan/cli",
|
|
3586
3604
|
"pluginType": "core",
|
|
@@ -3590,14 +3608,14 @@
|
|
|
3590
3608
|
"relativePath": [
|
|
3591
3609
|
"dist",
|
|
3592
3610
|
"commands",
|
|
3593
|
-
"
|
|
3594
|
-
"
|
|
3611
|
+
"users",
|
|
3612
|
+
"get.js"
|
|
3595
3613
|
]
|
|
3596
3614
|
},
|
|
3597
|
-
"
|
|
3615
|
+
"users:list": {
|
|
3598
3616
|
"aliases": [],
|
|
3599
3617
|
"args": {},
|
|
3600
|
-
"description": "List
|
|
3618
|
+
"description": "List users (customers)",
|
|
3601
3619
|
"flags": {
|
|
3602
3620
|
"api-key": {
|
|
3603
3621
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3640,22 +3658,32 @@
|
|
|
3640
3658
|
"allowNo": false,
|
|
3641
3659
|
"type": "boolean"
|
|
3642
3660
|
},
|
|
3643
|
-
"
|
|
3644
|
-
"description": "
|
|
3645
|
-
"name": "
|
|
3661
|
+
"limit": {
|
|
3662
|
+
"description": "Number of results per page",
|
|
3663
|
+
"name": "limit",
|
|
3664
|
+
"default": 20,
|
|
3646
3665
|
"hasDynamicHelp": false,
|
|
3647
3666
|
"multiple": false,
|
|
3648
3667
|
"type": "option"
|
|
3649
3668
|
},
|
|
3650
|
-
"
|
|
3651
|
-
"description": "
|
|
3652
|
-
"name": "
|
|
3653
|
-
"
|
|
3654
|
-
"
|
|
3669
|
+
"page": {
|
|
3670
|
+
"description": "Page number",
|
|
3671
|
+
"name": "page",
|
|
3672
|
+
"default": 1,
|
|
3673
|
+
"hasDynamicHelp": false,
|
|
3674
|
+
"multiple": false,
|
|
3675
|
+
"type": "option"
|
|
3655
3676
|
},
|
|
3656
|
-
"
|
|
3657
|
-
"description": "
|
|
3658
|
-
"name": "
|
|
3677
|
+
"sort-by": {
|
|
3678
|
+
"description": "Sort field",
|
|
3679
|
+
"name": "sort-by",
|
|
3680
|
+
"hasDynamicHelp": false,
|
|
3681
|
+
"multiple": false,
|
|
3682
|
+
"type": "option"
|
|
3683
|
+
},
|
|
3684
|
+
"environment": {
|
|
3685
|
+
"description": "Environment filter",
|
|
3686
|
+
"name": "environment",
|
|
3659
3687
|
"hasDynamicHelp": false,
|
|
3660
3688
|
"multiple": false,
|
|
3661
3689
|
"type": "option"
|
|
@@ -3663,7 +3691,7 @@
|
|
|
3663
3691
|
},
|
|
3664
3692
|
"hasDynamicHelp": false,
|
|
3665
3693
|
"hiddenAliases": [],
|
|
3666
|
-
"id": "
|
|
3694
|
+
"id": "users:list",
|
|
3667
3695
|
"pluginAlias": "@respan/cli",
|
|
3668
3696
|
"pluginName": "@respan/cli",
|
|
3669
3697
|
"pluginType": "core",
|
|
@@ -3673,20 +3701,20 @@
|
|
|
3673
3701
|
"relativePath": [
|
|
3674
3702
|
"dist",
|
|
3675
3703
|
"commands",
|
|
3676
|
-
"
|
|
3704
|
+
"users",
|
|
3677
3705
|
"list.js"
|
|
3678
3706
|
]
|
|
3679
3707
|
},
|
|
3680
|
-
"
|
|
3708
|
+
"users:update": {
|
|
3681
3709
|
"aliases": [],
|
|
3682
3710
|
"args": {
|
|
3683
3711
|
"id": {
|
|
3684
|
-
"description": "
|
|
3712
|
+
"description": "Customer identifier",
|
|
3685
3713
|
"name": "id",
|
|
3686
3714
|
"required": true
|
|
3687
3715
|
}
|
|
3688
3716
|
},
|
|
3689
|
-
"description": "
|
|
3717
|
+
"description": "Update a user (customer)",
|
|
3690
3718
|
"flags": {
|
|
3691
3719
|
"api-key": {
|
|
3692
3720
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3728,11 +3756,32 @@
|
|
|
3728
3756
|
"name": "verbose",
|
|
3729
3757
|
"allowNo": false,
|
|
3730
3758
|
"type": "boolean"
|
|
3759
|
+
},
|
|
3760
|
+
"name": {
|
|
3761
|
+
"description": "Customer name",
|
|
3762
|
+
"name": "name",
|
|
3763
|
+
"hasDynamicHelp": false,
|
|
3764
|
+
"multiple": false,
|
|
3765
|
+
"type": "option"
|
|
3766
|
+
},
|
|
3767
|
+
"email": {
|
|
3768
|
+
"description": "Customer email",
|
|
3769
|
+
"name": "email",
|
|
3770
|
+
"hasDynamicHelp": false,
|
|
3771
|
+
"multiple": false,
|
|
3772
|
+
"type": "option"
|
|
3773
|
+
},
|
|
3774
|
+
"metadata": {
|
|
3775
|
+
"description": "Metadata as JSON string",
|
|
3776
|
+
"name": "metadata",
|
|
3777
|
+
"hasDynamicHelp": false,
|
|
3778
|
+
"multiple": false,
|
|
3779
|
+
"type": "option"
|
|
3731
3780
|
}
|
|
3732
3781
|
},
|
|
3733
3782
|
"hasDynamicHelp": false,
|
|
3734
3783
|
"hiddenAliases": [],
|
|
3735
|
-
"id": "
|
|
3784
|
+
"id": "users:update",
|
|
3736
3785
|
"pluginAlias": "@respan/cli",
|
|
3737
3786
|
"pluginName": "@respan/cli",
|
|
3738
3787
|
"pluginType": "core",
|
|
@@ -3742,14 +3791,14 @@
|
|
|
3742
3791
|
"relativePath": [
|
|
3743
3792
|
"dist",
|
|
3744
3793
|
"commands",
|
|
3745
|
-
"
|
|
3746
|
-
"
|
|
3794
|
+
"users",
|
|
3795
|
+
"update.js"
|
|
3747
3796
|
]
|
|
3748
3797
|
},
|
|
3749
|
-
"
|
|
3798
|
+
"evaluators:create": {
|
|
3750
3799
|
"aliases": [],
|
|
3751
3800
|
"args": {},
|
|
3752
|
-
"description": "
|
|
3801
|
+
"description": "Create a new evaluator",
|
|
3753
3802
|
"flags": {
|
|
3754
3803
|
"api-key": {
|
|
3755
3804
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3792,62 +3841,39 @@
|
|
|
3792
3841
|
"allowNo": false,
|
|
3793
3842
|
"type": "boolean"
|
|
3794
3843
|
},
|
|
3795
|
-
"
|
|
3796
|
-
"description": "
|
|
3797
|
-
"name": "
|
|
3798
|
-
"
|
|
3799
|
-
"hasDynamicHelp": false,
|
|
3800
|
-
"multiple": false,
|
|
3801
|
-
"type": "option"
|
|
3802
|
-
},
|
|
3803
|
-
"page": {
|
|
3804
|
-
"description": "Page number",
|
|
3805
|
-
"name": "page",
|
|
3806
|
-
"default": 1,
|
|
3807
|
-
"hasDynamicHelp": false,
|
|
3808
|
-
"multiple": false,
|
|
3809
|
-
"type": "option"
|
|
3810
|
-
},
|
|
3811
|
-
"sort-by": {
|
|
3812
|
-
"description": "Sort field (prefix with - for descending)",
|
|
3813
|
-
"name": "sort-by",
|
|
3814
|
-
"default": "-timestamp",
|
|
3844
|
+
"name": {
|
|
3845
|
+
"description": "Evaluator name",
|
|
3846
|
+
"name": "name",
|
|
3847
|
+
"required": true,
|
|
3815
3848
|
"hasDynamicHelp": false,
|
|
3816
3849
|
"multiple": false,
|
|
3817
3850
|
"type": "option"
|
|
3818
3851
|
},
|
|
3819
|
-
"
|
|
3820
|
-
"description": "
|
|
3821
|
-
"name": "
|
|
3852
|
+
"type": {
|
|
3853
|
+
"description": "Evaluator type",
|
|
3854
|
+
"name": "type",
|
|
3822
3855
|
"hasDynamicHelp": false,
|
|
3823
3856
|
"multiple": false,
|
|
3824
3857
|
"type": "option"
|
|
3825
3858
|
},
|
|
3826
|
-
"
|
|
3827
|
-
"description": "
|
|
3828
|
-
"name": "
|
|
3859
|
+
"description": {
|
|
3860
|
+
"description": "Evaluator description",
|
|
3861
|
+
"name": "description",
|
|
3829
3862
|
"hasDynamicHelp": false,
|
|
3830
3863
|
"multiple": false,
|
|
3831
3864
|
"type": "option"
|
|
3832
3865
|
},
|
|
3833
|
-
"
|
|
3834
|
-
"description": "
|
|
3835
|
-
"name": "
|
|
3866
|
+
"config": {
|
|
3867
|
+
"description": "Evaluator config as JSON string",
|
|
3868
|
+
"name": "config",
|
|
3836
3869
|
"hasDynamicHelp": false,
|
|
3837
3870
|
"multiple": false,
|
|
3838
3871
|
"type": "option"
|
|
3839
|
-
},
|
|
3840
|
-
"filter": {
|
|
3841
|
-
"description": "Filter in field:operator:value format (repeatable)",
|
|
3842
|
-
"name": "filter",
|
|
3843
|
-
"hasDynamicHelp": false,
|
|
3844
|
-
"multiple": true,
|
|
3845
|
-
"type": "option"
|
|
3846
3872
|
}
|
|
3847
3873
|
},
|
|
3848
3874
|
"hasDynamicHelp": false,
|
|
3849
3875
|
"hiddenAliases": [],
|
|
3850
|
-
"id": "
|
|
3876
|
+
"id": "evaluators:create",
|
|
3851
3877
|
"pluginAlias": "@respan/cli",
|
|
3852
3878
|
"pluginName": "@respan/cli",
|
|
3853
3879
|
"pluginType": "core",
|
|
@@ -3857,14 +3883,20 @@
|
|
|
3857
3883
|
"relativePath": [
|
|
3858
3884
|
"dist",
|
|
3859
3885
|
"commands",
|
|
3860
|
-
"
|
|
3861
|
-
"
|
|
3886
|
+
"evaluators",
|
|
3887
|
+
"create.js"
|
|
3862
3888
|
]
|
|
3863
3889
|
},
|
|
3864
|
-
"
|
|
3890
|
+
"evaluators:get": {
|
|
3865
3891
|
"aliases": [],
|
|
3866
|
-
"args": {
|
|
3867
|
-
|
|
3892
|
+
"args": {
|
|
3893
|
+
"id": {
|
|
3894
|
+
"description": "Evaluator ID",
|
|
3895
|
+
"name": "id",
|
|
3896
|
+
"required": true
|
|
3897
|
+
}
|
|
3898
|
+
},
|
|
3899
|
+
"description": "Get a specific evaluator",
|
|
3868
3900
|
"flags": {
|
|
3869
3901
|
"api-key": {
|
|
3870
3902
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3906,27 +3938,11 @@
|
|
|
3906
3938
|
"name": "verbose",
|
|
3907
3939
|
"allowNo": false,
|
|
3908
3940
|
"type": "boolean"
|
|
3909
|
-
},
|
|
3910
|
-
"start-time": {
|
|
3911
|
-
"description": "Start time (ISO 8601)",
|
|
3912
|
-
"name": "start-time",
|
|
3913
|
-
"required": true,
|
|
3914
|
-
"hasDynamicHelp": false,
|
|
3915
|
-
"multiple": false,
|
|
3916
|
-
"type": "option"
|
|
3917
|
-
},
|
|
3918
|
-
"end-time": {
|
|
3919
|
-
"description": "End time (ISO 8601)",
|
|
3920
|
-
"name": "end-time",
|
|
3921
|
-
"required": true,
|
|
3922
|
-
"hasDynamicHelp": false,
|
|
3923
|
-
"multiple": false,
|
|
3924
|
-
"type": "option"
|
|
3925
3941
|
}
|
|
3926
3942
|
},
|
|
3927
3943
|
"hasDynamicHelp": false,
|
|
3928
3944
|
"hiddenAliases": [],
|
|
3929
|
-
"id": "
|
|
3945
|
+
"id": "evaluators:get",
|
|
3930
3946
|
"pluginAlias": "@respan/cli",
|
|
3931
3947
|
"pluginName": "@respan/cli",
|
|
3932
3948
|
"pluginType": "core",
|
|
@@ -3936,14 +3952,14 @@
|
|
|
3936
3952
|
"relativePath": [
|
|
3937
3953
|
"dist",
|
|
3938
3954
|
"commands",
|
|
3939
|
-
"
|
|
3940
|
-
"
|
|
3955
|
+
"evaluators",
|
|
3956
|
+
"get.js"
|
|
3941
3957
|
]
|
|
3942
3958
|
},
|
|
3943
|
-
"
|
|
3959
|
+
"evaluators:list": {
|
|
3944
3960
|
"aliases": [],
|
|
3945
3961
|
"args": {},
|
|
3946
|
-
"description": "
|
|
3962
|
+
"description": "List evaluators",
|
|
3947
3963
|
"flags": {
|
|
3948
3964
|
"api-key": {
|
|
3949
3965
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3986,31 +4002,18 @@
|
|
|
3986
4002
|
"allowNo": false,
|
|
3987
4003
|
"type": "boolean"
|
|
3988
4004
|
},
|
|
3989
|
-
"
|
|
3990
|
-
"description": "
|
|
3991
|
-
"name": "
|
|
3992
|
-
"
|
|
3993
|
-
"hasDynamicHelp": false,
|
|
3994
|
-
"multiple": false,
|
|
3995
|
-
"type": "option"
|
|
3996
|
-
},
|
|
3997
|
-
"name": {
|
|
3998
|
-
"description": "Customer name",
|
|
3999
|
-
"name": "name",
|
|
4000
|
-
"hasDynamicHelp": false,
|
|
4001
|
-
"multiple": false,
|
|
4002
|
-
"type": "option"
|
|
4003
|
-
},
|
|
4004
|
-
"email": {
|
|
4005
|
-
"description": "Customer email",
|
|
4006
|
-
"name": "email",
|
|
4005
|
+
"limit": {
|
|
4006
|
+
"description": "Number of results per page",
|
|
4007
|
+
"name": "limit",
|
|
4008
|
+
"default": 20,
|
|
4007
4009
|
"hasDynamicHelp": false,
|
|
4008
4010
|
"multiple": false,
|
|
4009
4011
|
"type": "option"
|
|
4010
4012
|
},
|
|
4011
|
-
"
|
|
4012
|
-
"description": "
|
|
4013
|
-
"name": "
|
|
4013
|
+
"page": {
|
|
4014
|
+
"description": "Page number",
|
|
4015
|
+
"name": "page",
|
|
4016
|
+
"default": 1,
|
|
4014
4017
|
"hasDynamicHelp": false,
|
|
4015
4018
|
"multiple": false,
|
|
4016
4019
|
"type": "option"
|
|
@@ -4018,7 +4021,7 @@
|
|
|
4018
4021
|
},
|
|
4019
4022
|
"hasDynamicHelp": false,
|
|
4020
4023
|
"hiddenAliases": [],
|
|
4021
|
-
"id": "
|
|
4024
|
+
"id": "evaluators:list",
|
|
4022
4025
|
"pluginAlias": "@respan/cli",
|
|
4023
4026
|
"pluginName": "@respan/cli",
|
|
4024
4027
|
"pluginType": "core",
|
|
@@ -4028,20 +4031,20 @@
|
|
|
4028
4031
|
"relativePath": [
|
|
4029
4032
|
"dist",
|
|
4030
4033
|
"commands",
|
|
4031
|
-
"
|
|
4032
|
-
"
|
|
4034
|
+
"evaluators",
|
|
4035
|
+
"list.js"
|
|
4033
4036
|
]
|
|
4034
4037
|
},
|
|
4035
|
-
"
|
|
4038
|
+
"evaluators:run": {
|
|
4036
4039
|
"aliases": [],
|
|
4037
4040
|
"args": {
|
|
4038
4041
|
"id": {
|
|
4039
|
-
"description": "
|
|
4042
|
+
"description": "Evaluator ID",
|
|
4040
4043
|
"name": "id",
|
|
4041
4044
|
"required": true
|
|
4042
4045
|
}
|
|
4043
4046
|
},
|
|
4044
|
-
"description": "
|
|
4047
|
+
"description": "Run an evaluator",
|
|
4045
4048
|
"flags": {
|
|
4046
4049
|
"api-key": {
|
|
4047
4050
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -4083,11 +4086,32 @@
|
|
|
4083
4086
|
"name": "verbose",
|
|
4084
4087
|
"allowNo": false,
|
|
4085
4088
|
"type": "boolean"
|
|
4089
|
+
},
|
|
4090
|
+
"dataset-id": {
|
|
4091
|
+
"description": "Dataset ID to evaluate against",
|
|
4092
|
+
"name": "dataset-id",
|
|
4093
|
+
"hasDynamicHelp": false,
|
|
4094
|
+
"multiple": false,
|
|
4095
|
+
"type": "option"
|
|
4096
|
+
},
|
|
4097
|
+
"log-ids": {
|
|
4098
|
+
"description": "Comma-separated log/span IDs to evaluate",
|
|
4099
|
+
"name": "log-ids",
|
|
4100
|
+
"hasDynamicHelp": false,
|
|
4101
|
+
"multiple": false,
|
|
4102
|
+
"type": "option"
|
|
4103
|
+
},
|
|
4104
|
+
"params": {
|
|
4105
|
+
"description": "Additional parameters as JSON string",
|
|
4106
|
+
"name": "params",
|
|
4107
|
+
"hasDynamicHelp": false,
|
|
4108
|
+
"multiple": false,
|
|
4109
|
+
"type": "option"
|
|
4086
4110
|
}
|
|
4087
4111
|
},
|
|
4088
4112
|
"hasDynamicHelp": false,
|
|
4089
4113
|
"hiddenAliases": [],
|
|
4090
|
-
"id": "
|
|
4114
|
+
"id": "evaluators:run",
|
|
4091
4115
|
"pluginAlias": "@respan/cli",
|
|
4092
4116
|
"pluginName": "@respan/cli",
|
|
4093
4117
|
"pluginType": "core",
|
|
@@ -4097,14 +4121,20 @@
|
|
|
4097
4121
|
"relativePath": [
|
|
4098
4122
|
"dist",
|
|
4099
4123
|
"commands",
|
|
4100
|
-
"
|
|
4101
|
-
"
|
|
4124
|
+
"evaluators",
|
|
4125
|
+
"run.js"
|
|
4102
4126
|
]
|
|
4103
4127
|
},
|
|
4104
|
-
"
|
|
4128
|
+
"evaluators:update": {
|
|
4105
4129
|
"aliases": [],
|
|
4106
|
-
"args": {
|
|
4107
|
-
|
|
4130
|
+
"args": {
|
|
4131
|
+
"id": {
|
|
4132
|
+
"description": "Evaluator ID",
|
|
4133
|
+
"name": "id",
|
|
4134
|
+
"required": true
|
|
4135
|
+
}
|
|
4136
|
+
},
|
|
4137
|
+
"description": "Update an evaluator",
|
|
4108
4138
|
"flags": {
|
|
4109
4139
|
"api-key": {
|
|
4110
4140
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -4147,32 +4177,23 @@
|
|
|
4147
4177
|
"allowNo": false,
|
|
4148
4178
|
"type": "boolean"
|
|
4149
4179
|
},
|
|
4150
|
-
"
|
|
4151
|
-
"description": "
|
|
4152
|
-
"name": "
|
|
4153
|
-
"default": 20,
|
|
4154
|
-
"hasDynamicHelp": false,
|
|
4155
|
-
"multiple": false,
|
|
4156
|
-
"type": "option"
|
|
4157
|
-
},
|
|
4158
|
-
"page": {
|
|
4159
|
-
"description": "Page number",
|
|
4160
|
-
"name": "page",
|
|
4161
|
-
"default": 1,
|
|
4180
|
+
"name": {
|
|
4181
|
+
"description": "Evaluator name",
|
|
4182
|
+
"name": "name",
|
|
4162
4183
|
"hasDynamicHelp": false,
|
|
4163
4184
|
"multiple": false,
|
|
4164
4185
|
"type": "option"
|
|
4165
4186
|
},
|
|
4166
|
-
"
|
|
4167
|
-
"description": "
|
|
4168
|
-
"name": "
|
|
4187
|
+
"description": {
|
|
4188
|
+
"description": "Evaluator description",
|
|
4189
|
+
"name": "description",
|
|
4169
4190
|
"hasDynamicHelp": false,
|
|
4170
4191
|
"multiple": false,
|
|
4171
4192
|
"type": "option"
|
|
4172
4193
|
},
|
|
4173
|
-
"
|
|
4174
|
-
"description": "
|
|
4175
|
-
"name": "
|
|
4194
|
+
"config": {
|
|
4195
|
+
"description": "Evaluator config as JSON string",
|
|
4196
|
+
"name": "config",
|
|
4176
4197
|
"hasDynamicHelp": false,
|
|
4177
4198
|
"multiple": false,
|
|
4178
4199
|
"type": "option"
|
|
@@ -4180,7 +4201,7 @@
|
|
|
4180
4201
|
},
|
|
4181
4202
|
"hasDynamicHelp": false,
|
|
4182
4203
|
"hiddenAliases": [],
|
|
4183
|
-
"id": "
|
|
4204
|
+
"id": "evaluators:update",
|
|
4184
4205
|
"pluginAlias": "@respan/cli",
|
|
4185
4206
|
"pluginName": "@respan/cli",
|
|
4186
4207
|
"pluginType": "core",
|
|
@@ -4190,20 +4211,20 @@
|
|
|
4190
4211
|
"relativePath": [
|
|
4191
4212
|
"dist",
|
|
4192
4213
|
"commands",
|
|
4193
|
-
"
|
|
4194
|
-
"
|
|
4214
|
+
"evaluators",
|
|
4215
|
+
"update.js"
|
|
4195
4216
|
]
|
|
4196
4217
|
},
|
|
4197
|
-
"
|
|
4218
|
+
"eval": {
|
|
4198
4219
|
"aliases": [],
|
|
4199
4220
|
"args": {
|
|
4200
|
-
"
|
|
4201
|
-
"description": "
|
|
4202
|
-
"name": "
|
|
4221
|
+
"file": {
|
|
4222
|
+
"description": "Path to eval JSON file",
|
|
4223
|
+
"name": "file",
|
|
4203
4224
|
"required": true
|
|
4204
4225
|
}
|
|
4205
4226
|
},
|
|
4206
|
-
"description": "
|
|
4227
|
+
"description": "Run an eval defined in a JSON file (creates prompt + dataset on the platform)",
|
|
4207
4228
|
"flags": {
|
|
4208
4229
|
"api-key": {
|
|
4209
4230
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -4245,32 +4266,11 @@
|
|
|
4245
4266
|
"name": "verbose",
|
|
4246
4267
|
"allowNo": false,
|
|
4247
4268
|
"type": "boolean"
|
|
4248
|
-
},
|
|
4249
|
-
"name": {
|
|
4250
|
-
"description": "Customer name",
|
|
4251
|
-
"name": "name",
|
|
4252
|
-
"hasDynamicHelp": false,
|
|
4253
|
-
"multiple": false,
|
|
4254
|
-
"type": "option"
|
|
4255
|
-
},
|
|
4256
|
-
"email": {
|
|
4257
|
-
"description": "Customer email",
|
|
4258
|
-
"name": "email",
|
|
4259
|
-
"hasDynamicHelp": false,
|
|
4260
|
-
"multiple": false,
|
|
4261
|
-
"type": "option"
|
|
4262
|
-
},
|
|
4263
|
-
"metadata": {
|
|
4264
|
-
"description": "Metadata as JSON string",
|
|
4265
|
-
"name": "metadata",
|
|
4266
|
-
"hasDynamicHelp": false,
|
|
4267
|
-
"multiple": false,
|
|
4268
|
-
"type": "option"
|
|
4269
4269
|
}
|
|
4270
4270
|
},
|
|
4271
4271
|
"hasDynamicHelp": false,
|
|
4272
4272
|
"hiddenAliases": [],
|
|
4273
|
-
"id": "
|
|
4273
|
+
"id": "eval",
|
|
4274
4274
|
"pluginAlias": "@respan/cli",
|
|
4275
4275
|
"pluginName": "@respan/cli",
|
|
4276
4276
|
"pluginType": "core",
|
|
@@ -4280,10 +4280,10 @@
|
|
|
4280
4280
|
"relativePath": [
|
|
4281
4281
|
"dist",
|
|
4282
4282
|
"commands",
|
|
4283
|
-
"
|
|
4284
|
-
"
|
|
4283
|
+
"eval",
|
|
4284
|
+
"index.js"
|
|
4285
4285
|
]
|
|
4286
4286
|
}
|
|
4287
4287
|
},
|
|
4288
|
-
"version": "0.
|
|
4288
|
+
"version": "0.18.0"
|
|
4289
4289
|
}
|