@respan/cli 0.11.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/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/oclif.manifest.json +784 -644
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -999,6 +999,146 @@
|
|
|
999
999
|
"update.js"
|
|
1000
1000
|
]
|
|
1001
1001
|
},
|
|
1002
|
+
"demo:clear": {
|
|
1003
|
+
"aliases": [],
|
|
1004
|
+
"args": {},
|
|
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
|
+
],
|
|
1010
|
+
"flags": {
|
|
1011
|
+
"api-key": {
|
|
1012
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
1013
|
+
"env": "RESPAN_API_KEY",
|
|
1014
|
+
"name": "api-key",
|
|
1015
|
+
"hasDynamicHelp": false,
|
|
1016
|
+
"multiple": false,
|
|
1017
|
+
"type": "option"
|
|
1018
|
+
},
|
|
1019
|
+
"base-url": {
|
|
1020
|
+
"description": "Temporary API base URL override for this command",
|
|
1021
|
+
"name": "base-url",
|
|
1022
|
+
"hasDynamicHelp": false,
|
|
1023
|
+
"multiple": false,
|
|
1024
|
+
"type": "option"
|
|
1025
|
+
},
|
|
1026
|
+
"profile": {
|
|
1027
|
+
"description": "Named profile to use",
|
|
1028
|
+
"name": "profile",
|
|
1029
|
+
"hasDynamicHelp": false,
|
|
1030
|
+
"multiple": false,
|
|
1031
|
+
"type": "option"
|
|
1032
|
+
},
|
|
1033
|
+
"json": {
|
|
1034
|
+
"description": "Output as JSON",
|
|
1035
|
+
"name": "json",
|
|
1036
|
+
"allowNo": false,
|
|
1037
|
+
"type": "boolean"
|
|
1038
|
+
},
|
|
1039
|
+
"csv": {
|
|
1040
|
+
"description": "Output as CSV",
|
|
1041
|
+
"name": "csv",
|
|
1042
|
+
"allowNo": false,
|
|
1043
|
+
"type": "boolean"
|
|
1044
|
+
},
|
|
1045
|
+
"verbose": {
|
|
1046
|
+
"char": "v",
|
|
1047
|
+
"description": "Show verbose output",
|
|
1048
|
+
"name": "verbose",
|
|
1049
|
+
"allowNo": false,
|
|
1050
|
+
"type": "boolean"
|
|
1051
|
+
},
|
|
1052
|
+
"yes": {
|
|
1053
|
+
"char": "y",
|
|
1054
|
+
"description": "Skip the confirmation prompt",
|
|
1055
|
+
"name": "yes",
|
|
1056
|
+
"allowNo": false,
|
|
1057
|
+
"type": "boolean"
|
|
1058
|
+
}
|
|
1059
|
+
},
|
|
1060
|
+
"hasDynamicHelp": false,
|
|
1061
|
+
"hiddenAliases": [],
|
|
1062
|
+
"id": "demo:clear",
|
|
1063
|
+
"pluginAlias": "@respan/cli",
|
|
1064
|
+
"pluginName": "@respan/cli",
|
|
1065
|
+
"pluginType": "core",
|
|
1066
|
+
"strict": true,
|
|
1067
|
+
"enableJsonFlag": false,
|
|
1068
|
+
"isESM": true,
|
|
1069
|
+
"relativePath": [
|
|
1070
|
+
"dist",
|
|
1071
|
+
"commands",
|
|
1072
|
+
"demo",
|
|
1073
|
+
"clear.js"
|
|
1074
|
+
]
|
|
1075
|
+
},
|
|
1076
|
+
"demo": {
|
|
1077
|
+
"aliases": [],
|
|
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
|
+
],
|
|
1083
|
+
"flags": {
|
|
1084
|
+
"api-key": {
|
|
1085
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
1086
|
+
"env": "RESPAN_API_KEY",
|
|
1087
|
+
"name": "api-key",
|
|
1088
|
+
"hasDynamicHelp": false,
|
|
1089
|
+
"multiple": false,
|
|
1090
|
+
"type": "option"
|
|
1091
|
+
},
|
|
1092
|
+
"base-url": {
|
|
1093
|
+
"description": "Temporary API base URL override for this command",
|
|
1094
|
+
"name": "base-url",
|
|
1095
|
+
"hasDynamicHelp": false,
|
|
1096
|
+
"multiple": false,
|
|
1097
|
+
"type": "option"
|
|
1098
|
+
},
|
|
1099
|
+
"profile": {
|
|
1100
|
+
"description": "Named profile to use",
|
|
1101
|
+
"name": "profile",
|
|
1102
|
+
"hasDynamicHelp": false,
|
|
1103
|
+
"multiple": false,
|
|
1104
|
+
"type": "option"
|
|
1105
|
+
},
|
|
1106
|
+
"json": {
|
|
1107
|
+
"description": "Output as JSON",
|
|
1108
|
+
"name": "json",
|
|
1109
|
+
"allowNo": false,
|
|
1110
|
+
"type": "boolean"
|
|
1111
|
+
},
|
|
1112
|
+
"csv": {
|
|
1113
|
+
"description": "Output as CSV",
|
|
1114
|
+
"name": "csv",
|
|
1115
|
+
"allowNo": false,
|
|
1116
|
+
"type": "boolean"
|
|
1117
|
+
},
|
|
1118
|
+
"verbose": {
|
|
1119
|
+
"char": "v",
|
|
1120
|
+
"description": "Show verbose output",
|
|
1121
|
+
"name": "verbose",
|
|
1122
|
+
"allowNo": false,
|
|
1123
|
+
"type": "boolean"
|
|
1124
|
+
}
|
|
1125
|
+
},
|
|
1126
|
+
"hasDynamicHelp": false,
|
|
1127
|
+
"hiddenAliases": [],
|
|
1128
|
+
"id": "demo",
|
|
1129
|
+
"pluginAlias": "@respan/cli",
|
|
1130
|
+
"pluginName": "@respan/cli",
|
|
1131
|
+
"pluginType": "core",
|
|
1132
|
+
"strict": true,
|
|
1133
|
+
"enableJsonFlag": false,
|
|
1134
|
+
"isESM": true,
|
|
1135
|
+
"relativePath": [
|
|
1136
|
+
"dist",
|
|
1137
|
+
"commands",
|
|
1138
|
+
"demo",
|
|
1139
|
+
"index.js"
|
|
1140
|
+
]
|
|
1141
|
+
},
|
|
1002
1142
|
"eval": {
|
|
1003
1143
|
"aliases": [],
|
|
1004
1144
|
"args": {
|
|
@@ -1488,10 +1628,18 @@
|
|
|
1488
1628
|
"update.js"
|
|
1489
1629
|
]
|
|
1490
1630
|
},
|
|
1491
|
-
"
|
|
1631
|
+
"integrate:claude-code": {
|
|
1492
1632
|
"aliases": [],
|
|
1493
1633
|
"args": {},
|
|
1494
|
-
"description": "
|
|
1634
|
+
"description": "Integrate Respan with Claude Code.\n\nInstalls a Stop hook that reads conversation transcripts and sends\nthem to Respan as structured spans (chat, tool, thinking).\n\nScope:\n --global Install hook script + register in ~/.claude/settings.json\n --local Write credentials + enable flag to .claude/settings.local.json\n\nDefault behavior installs the global hook and writes local project config.",
|
|
1635
|
+
"examples": [
|
|
1636
|
+
"respan integrate claude-code",
|
|
1637
|
+
"respan integrate claude-code --disable",
|
|
1638
|
+
"respan integrate claude-code --global",
|
|
1639
|
+
"respan integrate claude-code --local --project-id my-project",
|
|
1640
|
+
"respan integrate claude-code --attrs '{\"env\":\"prod\"}'",
|
|
1641
|
+
"respan integrate claude-code --dry-run"
|
|
1642
|
+
],
|
|
1495
1643
|
"flags": {
|
|
1496
1644
|
"api-key": {
|
|
1497
1645
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1502,8 +1650,9 @@
|
|
|
1502
1650
|
"type": "option"
|
|
1503
1651
|
},
|
|
1504
1652
|
"base-url": {
|
|
1505
|
-
"description": "
|
|
1653
|
+
"description": "Respan API base URL (for enterprise deployments)",
|
|
1506
1654
|
"name": "base-url",
|
|
1655
|
+
"default": "https://api.respan.ai/api",
|
|
1507
1656
|
"hasDynamicHelp": false,
|
|
1508
1657
|
"multiple": false,
|
|
1509
1658
|
"type": "option"
|
|
@@ -1534,40 +1683,90 @@
|
|
|
1534
1683
|
"allowNo": false,
|
|
1535
1684
|
"type": "boolean"
|
|
1536
1685
|
},
|
|
1537
|
-
"
|
|
1538
|
-
"description": "
|
|
1539
|
-
"
|
|
1540
|
-
|
|
1686
|
+
"local": {
|
|
1687
|
+
"description": "Write per-project config (default)",
|
|
1688
|
+
"exclusive": [
|
|
1689
|
+
"global"
|
|
1690
|
+
],
|
|
1691
|
+
"name": "local",
|
|
1692
|
+
"allowNo": false,
|
|
1693
|
+
"type": "boolean"
|
|
1694
|
+
},
|
|
1695
|
+
"global": {
|
|
1696
|
+
"description": "Write user-level global config",
|
|
1697
|
+
"exclusive": [
|
|
1698
|
+
"local"
|
|
1699
|
+
],
|
|
1700
|
+
"name": "global",
|
|
1701
|
+
"allowNo": false,
|
|
1702
|
+
"type": "boolean"
|
|
1703
|
+
},
|
|
1704
|
+
"enable": {
|
|
1705
|
+
"description": "Enable tracing (default)",
|
|
1706
|
+
"exclusive": [
|
|
1707
|
+
"disable"
|
|
1708
|
+
],
|
|
1709
|
+
"name": "enable",
|
|
1710
|
+
"allowNo": false,
|
|
1711
|
+
"type": "boolean"
|
|
1712
|
+
},
|
|
1713
|
+
"disable": {
|
|
1714
|
+
"description": "Disable tracing",
|
|
1715
|
+
"exclusive": [
|
|
1716
|
+
"enable"
|
|
1717
|
+
],
|
|
1718
|
+
"name": "disable",
|
|
1719
|
+
"allowNo": false,
|
|
1720
|
+
"type": "boolean"
|
|
1721
|
+
},
|
|
1722
|
+
"project-id": {
|
|
1723
|
+
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
1724
|
+
"env": "RESPAN_PROJECT_ID",
|
|
1725
|
+
"name": "project-id",
|
|
1541
1726
|
"hasDynamicHelp": false,
|
|
1542
1727
|
"multiple": false,
|
|
1543
1728
|
"type": "option"
|
|
1544
1729
|
},
|
|
1545
|
-
"
|
|
1546
|
-
"description": "
|
|
1547
|
-
"name": "
|
|
1548
|
-
"
|
|
1730
|
+
"attrs": {
|
|
1731
|
+
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
1732
|
+
"name": "attrs",
|
|
1733
|
+
"default": "{}",
|
|
1549
1734
|
"hasDynamicHelp": false,
|
|
1550
1735
|
"multiple": false,
|
|
1551
1736
|
"type": "option"
|
|
1552
1737
|
},
|
|
1553
|
-
"
|
|
1554
|
-
"description": "
|
|
1555
|
-
"
|
|
1738
|
+
"customer-id": {
|
|
1739
|
+
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
1740
|
+
"env": "RESPAN_CUSTOMER_ID",
|
|
1741
|
+
"name": "customer-id",
|
|
1556
1742
|
"hasDynamicHelp": false,
|
|
1557
1743
|
"multiple": false,
|
|
1558
1744
|
"type": "option"
|
|
1559
1745
|
},
|
|
1560
|
-
"
|
|
1561
|
-
"description": "
|
|
1562
|
-
"name": "
|
|
1746
|
+
"span-name": {
|
|
1747
|
+
"description": "Root span name for traces (default: claude-code)",
|
|
1748
|
+
"name": "span-name",
|
|
1749
|
+
"hasDynamicHelp": false,
|
|
1750
|
+
"multiple": false,
|
|
1751
|
+
"type": "option"
|
|
1752
|
+
},
|
|
1753
|
+
"workflow-name": {
|
|
1754
|
+
"description": "Workflow name for traces (default: claude-code)",
|
|
1755
|
+
"name": "workflow-name",
|
|
1563
1756
|
"hasDynamicHelp": false,
|
|
1564
1757
|
"multiple": false,
|
|
1565
1758
|
"type": "option"
|
|
1759
|
+
},
|
|
1760
|
+
"dry-run": {
|
|
1761
|
+
"description": "Preview changes without writing files",
|
|
1762
|
+
"name": "dry-run",
|
|
1763
|
+
"allowNo": false,
|
|
1764
|
+
"type": "boolean"
|
|
1566
1765
|
}
|
|
1567
1766
|
},
|
|
1568
1767
|
"hasDynamicHelp": false,
|
|
1569
1768
|
"hiddenAliases": [],
|
|
1570
|
-
"id": "
|
|
1769
|
+
"id": "integrate:claude-code",
|
|
1571
1770
|
"pluginAlias": "@respan/cli",
|
|
1572
1771
|
"pluginName": "@respan/cli",
|
|
1573
1772
|
"pluginType": "core",
|
|
@@ -1577,20 +1776,22 @@
|
|
|
1577
1776
|
"relativePath": [
|
|
1578
1777
|
"dist",
|
|
1579
1778
|
"commands",
|
|
1580
|
-
"
|
|
1581
|
-
"
|
|
1779
|
+
"integrate",
|
|
1780
|
+
"claude-code.js"
|
|
1582
1781
|
]
|
|
1583
1782
|
},
|
|
1584
|
-
"
|
|
1783
|
+
"integrate:codex-cli": {
|
|
1585
1784
|
"aliases": [],
|
|
1586
|
-
"args": {
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1785
|
+
"args": {},
|
|
1786
|
+
"description": "Integrate Respan with Codex CLI.\n\nInstalls a notify hook that reads session JSONL files and sends\nthem to Respan as structured spans (chat, tool, reasoning).\n\nScope:\n --global Install hook script + register notify in ~/.codex/config.toml\n --local Write .codex/respan.json with customer_id, span_name, etc.\n\nDefault behavior installs the global notify hook and writes local project config.",
|
|
1787
|
+
"examples": [
|
|
1788
|
+
"respan integrate codex-cli",
|
|
1789
|
+
"respan integrate codex-cli --disable",
|
|
1790
|
+
"respan integrate codex-cli --global",
|
|
1791
|
+
"respan integrate codex-cli --local --customer-id frank",
|
|
1792
|
+
"respan integrate codex-cli --attrs '{\"env\":\"prod\"}'",
|
|
1793
|
+
"respan integrate codex-cli --dry-run"
|
|
1794
|
+
],
|
|
1594
1795
|
"flags": {
|
|
1595
1796
|
"api-key": {
|
|
1596
1797
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1601,159 +1802,9 @@
|
|
|
1601
1802
|
"type": "option"
|
|
1602
1803
|
},
|
|
1603
1804
|
"base-url": {
|
|
1604
|
-
"description": "
|
|
1805
|
+
"description": "Respan API base URL (for enterprise deployments)",
|
|
1605
1806
|
"name": "base-url",
|
|
1606
|
-
"
|
|
1607
|
-
"multiple": false,
|
|
1608
|
-
"type": "option"
|
|
1609
|
-
},
|
|
1610
|
-
"profile": {
|
|
1611
|
-
"description": "Named profile to use",
|
|
1612
|
-
"name": "profile",
|
|
1613
|
-
"hasDynamicHelp": false,
|
|
1614
|
-
"multiple": false,
|
|
1615
|
-
"type": "option"
|
|
1616
|
-
},
|
|
1617
|
-
"json": {
|
|
1618
|
-
"description": "Output as JSON",
|
|
1619
|
-
"name": "json",
|
|
1620
|
-
"allowNo": false,
|
|
1621
|
-
"type": "boolean"
|
|
1622
|
-
},
|
|
1623
|
-
"csv": {
|
|
1624
|
-
"description": "Output as CSV",
|
|
1625
|
-
"name": "csv",
|
|
1626
|
-
"allowNo": false,
|
|
1627
|
-
"type": "boolean"
|
|
1628
|
-
},
|
|
1629
|
-
"verbose": {
|
|
1630
|
-
"char": "v",
|
|
1631
|
-
"description": "Show verbose output",
|
|
1632
|
-
"name": "verbose",
|
|
1633
|
-
"allowNo": false,
|
|
1634
|
-
"type": "boolean"
|
|
1635
|
-
}
|
|
1636
|
-
},
|
|
1637
|
-
"hasDynamicHelp": false,
|
|
1638
|
-
"hiddenAliases": [],
|
|
1639
|
-
"id": "experiments:get",
|
|
1640
|
-
"pluginAlias": "@respan/cli",
|
|
1641
|
-
"pluginName": "@respan/cli",
|
|
1642
|
-
"pluginType": "core",
|
|
1643
|
-
"strict": true,
|
|
1644
|
-
"enableJsonFlag": false,
|
|
1645
|
-
"isESM": true,
|
|
1646
|
-
"relativePath": [
|
|
1647
|
-
"dist",
|
|
1648
|
-
"commands",
|
|
1649
|
-
"experiments",
|
|
1650
|
-
"get.js"
|
|
1651
|
-
]
|
|
1652
|
-
},
|
|
1653
|
-
"experiments:list": {
|
|
1654
|
-
"aliases": [],
|
|
1655
|
-
"args": {},
|
|
1656
|
-
"description": "List experiments",
|
|
1657
|
-
"flags": {
|
|
1658
|
-
"api-key": {
|
|
1659
|
-
"description": "API key (env: RESPAN_API_KEY)",
|
|
1660
|
-
"env": "RESPAN_API_KEY",
|
|
1661
|
-
"name": "api-key",
|
|
1662
|
-
"hasDynamicHelp": false,
|
|
1663
|
-
"multiple": false,
|
|
1664
|
-
"type": "option"
|
|
1665
|
-
},
|
|
1666
|
-
"base-url": {
|
|
1667
|
-
"description": "Temporary API base URL override for this command",
|
|
1668
|
-
"name": "base-url",
|
|
1669
|
-
"hasDynamicHelp": false,
|
|
1670
|
-
"multiple": false,
|
|
1671
|
-
"type": "option"
|
|
1672
|
-
},
|
|
1673
|
-
"profile": {
|
|
1674
|
-
"description": "Named profile to use",
|
|
1675
|
-
"name": "profile",
|
|
1676
|
-
"hasDynamicHelp": false,
|
|
1677
|
-
"multiple": false,
|
|
1678
|
-
"type": "option"
|
|
1679
|
-
},
|
|
1680
|
-
"json": {
|
|
1681
|
-
"description": "Output as JSON",
|
|
1682
|
-
"name": "json",
|
|
1683
|
-
"allowNo": false,
|
|
1684
|
-
"type": "boolean"
|
|
1685
|
-
},
|
|
1686
|
-
"csv": {
|
|
1687
|
-
"description": "Output as CSV",
|
|
1688
|
-
"name": "csv",
|
|
1689
|
-
"allowNo": false,
|
|
1690
|
-
"type": "boolean"
|
|
1691
|
-
},
|
|
1692
|
-
"verbose": {
|
|
1693
|
-
"char": "v",
|
|
1694
|
-
"description": "Show verbose output",
|
|
1695
|
-
"name": "verbose",
|
|
1696
|
-
"allowNo": false,
|
|
1697
|
-
"type": "boolean"
|
|
1698
|
-
},
|
|
1699
|
-
"limit": {
|
|
1700
|
-
"description": "Number of results per page",
|
|
1701
|
-
"name": "limit",
|
|
1702
|
-
"default": 20,
|
|
1703
|
-
"hasDynamicHelp": false,
|
|
1704
|
-
"multiple": false,
|
|
1705
|
-
"type": "option"
|
|
1706
|
-
},
|
|
1707
|
-
"page": {
|
|
1708
|
-
"description": "Page number",
|
|
1709
|
-
"name": "page",
|
|
1710
|
-
"default": 1,
|
|
1711
|
-
"hasDynamicHelp": false,
|
|
1712
|
-
"multiple": false,
|
|
1713
|
-
"type": "option"
|
|
1714
|
-
}
|
|
1715
|
-
},
|
|
1716
|
-
"hasDynamicHelp": false,
|
|
1717
|
-
"hiddenAliases": [],
|
|
1718
|
-
"id": "experiments:list",
|
|
1719
|
-
"pluginAlias": "@respan/cli",
|
|
1720
|
-
"pluginName": "@respan/cli",
|
|
1721
|
-
"pluginType": "core",
|
|
1722
|
-
"strict": true,
|
|
1723
|
-
"enableJsonFlag": false,
|
|
1724
|
-
"isESM": true,
|
|
1725
|
-
"relativePath": [
|
|
1726
|
-
"dist",
|
|
1727
|
-
"commands",
|
|
1728
|
-
"experiments",
|
|
1729
|
-
"list.js"
|
|
1730
|
-
]
|
|
1731
|
-
},
|
|
1732
|
-
"integrate:claude-code": {
|
|
1733
|
-
"aliases": [],
|
|
1734
|
-
"args": {},
|
|
1735
|
-
"description": "Integrate Respan with Claude Code.\n\nInstalls a Stop hook that reads conversation transcripts and sends\nthem to Respan as structured spans (chat, tool, thinking).\n\nScope:\n --global Install hook script + register in ~/.claude/settings.json\n --local Write credentials + enable flag to .claude/settings.local.json\n\nDefault behavior installs the global hook and writes local project config.",
|
|
1736
|
-
"examples": [
|
|
1737
|
-
"respan integrate claude-code",
|
|
1738
|
-
"respan integrate claude-code --disable",
|
|
1739
|
-
"respan integrate claude-code --global",
|
|
1740
|
-
"respan integrate claude-code --local --project-id my-project",
|
|
1741
|
-
"respan integrate claude-code --attrs '{\"env\":\"prod\"}'",
|
|
1742
|
-
"respan integrate claude-code --dry-run"
|
|
1743
|
-
],
|
|
1744
|
-
"flags": {
|
|
1745
|
-
"api-key": {
|
|
1746
|
-
"description": "API key (env: RESPAN_API_KEY)",
|
|
1747
|
-
"env": "RESPAN_API_KEY",
|
|
1748
|
-
"name": "api-key",
|
|
1749
|
-
"hasDynamicHelp": false,
|
|
1750
|
-
"multiple": false,
|
|
1751
|
-
"type": "option"
|
|
1752
|
-
},
|
|
1753
|
-
"base-url": {
|
|
1754
|
-
"description": "Respan API base URL (for enterprise deployments)",
|
|
1755
|
-
"name": "base-url",
|
|
1756
|
-
"default": "https://api.respan.ai/api",
|
|
1807
|
+
"default": "https://api.respan.ai/api",
|
|
1757
1808
|
"hasDynamicHelp": false,
|
|
1758
1809
|
"multiple": false,
|
|
1759
1810
|
"type": "option"
|
|
@@ -1867,7 +1918,7 @@
|
|
|
1867
1918
|
},
|
|
1868
1919
|
"hasDynamicHelp": false,
|
|
1869
1920
|
"hiddenAliases": [],
|
|
1870
|
-
"id": "integrate:
|
|
1921
|
+
"id": "integrate:codex-cli",
|
|
1871
1922
|
"pluginAlias": "@respan/cli",
|
|
1872
1923
|
"pluginName": "@respan/cli",
|
|
1873
1924
|
"pluginType": "core",
|
|
@@ -1878,20 +1929,19 @@
|
|
|
1878
1929
|
"dist",
|
|
1879
1930
|
"commands",
|
|
1880
1931
|
"integrate",
|
|
1881
|
-
"
|
|
1932
|
+
"codex-cli.js"
|
|
1882
1933
|
]
|
|
1883
1934
|
},
|
|
1884
|
-
"integrate:
|
|
1935
|
+
"integrate:gemini-cli": {
|
|
1885
1936
|
"aliases": [],
|
|
1886
1937
|
"args": {},
|
|
1887
|
-
"description": "Integrate Respan with
|
|
1938
|
+
"description": "Integrate Respan with Gemini CLI.\n\nInstalls an AfterModel hook that captures LLM request/response data\nand sends it to Respan as structured spans with model, token counts,\nand input/output.\n\nScope:\n --global Write to ~/.gemini/settings.json (default)\n --local Write to .gemini/settings.json in project root\n\nGemini CLI ignores workspace-level telemetry settings, so --global is the default.",
|
|
1888
1939
|
"examples": [
|
|
1889
|
-
"respan integrate
|
|
1890
|
-
"respan integrate
|
|
1891
|
-
"respan integrate
|
|
1892
|
-
"respan integrate
|
|
1893
|
-
"respan integrate
|
|
1894
|
-
"respan integrate codex-cli --dry-run"
|
|
1940
|
+
"respan integrate gemini-cli",
|
|
1941
|
+
"respan integrate gemini-cli --disable",
|
|
1942
|
+
"respan integrate gemini-cli --local",
|
|
1943
|
+
"respan integrate gemini-cli --project-id my-project --attrs '{\"env\":\"prod\"}'",
|
|
1944
|
+
"respan integrate gemini-cli --dry-run"
|
|
1895
1945
|
],
|
|
1896
1946
|
"flags": {
|
|
1897
1947
|
"api-key": {
|
|
@@ -2019,7 +2069,7 @@
|
|
|
2019
2069
|
},
|
|
2020
2070
|
"hasDynamicHelp": false,
|
|
2021
2071
|
"hiddenAliases": [],
|
|
2022
|
-
"id": "integrate:
|
|
2072
|
+
"id": "integrate:gemini-cli",
|
|
2023
2073
|
"pluginAlias": "@respan/cli",
|
|
2024
2074
|
"pluginName": "@respan/cli",
|
|
2025
2075
|
"pluginType": "core",
|
|
@@ -2030,19 +2080,19 @@
|
|
|
2030
2080
|
"dist",
|
|
2031
2081
|
"commands",
|
|
2032
2082
|
"integrate",
|
|
2033
|
-
"
|
|
2083
|
+
"gemini-cli.js"
|
|
2034
2084
|
]
|
|
2035
2085
|
},
|
|
2036
|
-
"integrate:
|
|
2086
|
+
"integrate:opencode": {
|
|
2037
2087
|
"aliases": [],
|
|
2038
2088
|
"args": {},
|
|
2039
|
-
"description": "Integrate Respan with
|
|
2089
|
+
"description": "Integrate Respan with OpenCode.\n\nOpenCode's built-in OTel does not work reliably, so this uses the\ncommunity opencode-otel plugin instead.\n\nScope:\n --local Write plugin config to project root (default)\n --global Write to ~/.config/opencode/plugins/otel.json\n The opencode-otel package is always installed globally.",
|
|
2040
2090
|
"examples": [
|
|
2041
|
-
"respan integrate
|
|
2042
|
-
"respan integrate
|
|
2043
|
-
"respan integrate
|
|
2044
|
-
"respan integrate
|
|
2045
|
-
"respan integrate
|
|
2091
|
+
"respan integrate opencode",
|
|
2092
|
+
"respan integrate opencode --disable",
|
|
2093
|
+
"respan integrate opencode --global",
|
|
2094
|
+
"respan integrate opencode --project-id my-project --attrs '{\"env\":\"prod\"}'",
|
|
2095
|
+
"respan integrate opencode --dry-run"
|
|
2046
2096
|
],
|
|
2047
2097
|
"flags": {
|
|
2048
2098
|
"api-key": {
|
|
@@ -2170,7 +2220,7 @@
|
|
|
2170
2220
|
},
|
|
2171
2221
|
"hasDynamicHelp": false,
|
|
2172
2222
|
"hiddenAliases": [],
|
|
2173
|
-
"id": "integrate:
|
|
2223
|
+
"id": "integrate:opencode",
|
|
2174
2224
|
"pluginAlias": "@respan/cli",
|
|
2175
2225
|
"pluginName": "@respan/cli",
|
|
2176
2226
|
"pluginType": "core",
|
|
@@ -2181,20 +2231,13 @@
|
|
|
2181
2231
|
"dist",
|
|
2182
2232
|
"commands",
|
|
2183
2233
|
"integrate",
|
|
2184
|
-
"
|
|
2234
|
+
"opencode.js"
|
|
2185
2235
|
]
|
|
2186
2236
|
},
|
|
2187
|
-
"
|
|
2237
|
+
"experiments:create": {
|
|
2188
2238
|
"aliases": [],
|
|
2189
2239
|
"args": {},
|
|
2190
|
-
"description": "
|
|
2191
|
-
"examples": [
|
|
2192
|
-
"respan integrate opencode",
|
|
2193
|
-
"respan integrate opencode --disable",
|
|
2194
|
-
"respan integrate opencode --global",
|
|
2195
|
-
"respan integrate opencode --project-id my-project --attrs '{\"env\":\"prod\"}'",
|
|
2196
|
-
"respan integrate opencode --dry-run"
|
|
2197
|
-
],
|
|
2240
|
+
"description": "Create a new experiment",
|
|
2198
2241
|
"flags": {
|
|
2199
2242
|
"api-key": {
|
|
2200
2243
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2205,9 +2248,8 @@
|
|
|
2205
2248
|
"type": "option"
|
|
2206
2249
|
},
|
|
2207
2250
|
"base-url": {
|
|
2208
|
-
"description": "
|
|
2251
|
+
"description": "Temporary API base URL override for this command",
|
|
2209
2252
|
"name": "base-url",
|
|
2210
|
-
"default": "https://api.respan.ai/api",
|
|
2211
2253
|
"hasDynamicHelp": false,
|
|
2212
2254
|
"multiple": false,
|
|
2213
2255
|
"type": "option"
|
|
@@ -2238,90 +2280,109 @@
|
|
|
2238
2280
|
"allowNo": false,
|
|
2239
2281
|
"type": "boolean"
|
|
2240
2282
|
},
|
|
2241
|
-
"
|
|
2242
|
-
"description": "
|
|
2243
|
-
"
|
|
2244
|
-
|
|
2245
|
-
],
|
|
2246
|
-
"name": "local",
|
|
2247
|
-
"allowNo": false,
|
|
2248
|
-
"type": "boolean"
|
|
2249
|
-
},
|
|
2250
|
-
"global": {
|
|
2251
|
-
"description": "Write user-level global config",
|
|
2252
|
-
"exclusive": [
|
|
2253
|
-
"local"
|
|
2254
|
-
],
|
|
2255
|
-
"name": "global",
|
|
2256
|
-
"allowNo": false,
|
|
2257
|
-
"type": "boolean"
|
|
2258
|
-
},
|
|
2259
|
-
"enable": {
|
|
2260
|
-
"description": "Enable tracing (default)",
|
|
2261
|
-
"exclusive": [
|
|
2262
|
-
"disable"
|
|
2263
|
-
],
|
|
2264
|
-
"name": "enable",
|
|
2265
|
-
"allowNo": false,
|
|
2266
|
-
"type": "boolean"
|
|
2267
|
-
},
|
|
2268
|
-
"disable": {
|
|
2269
|
-
"description": "Disable tracing",
|
|
2270
|
-
"exclusive": [
|
|
2271
|
-
"enable"
|
|
2272
|
-
],
|
|
2273
|
-
"name": "disable",
|
|
2274
|
-
"allowNo": false,
|
|
2275
|
-
"type": "boolean"
|
|
2276
|
-
},
|
|
2277
|
-
"project-id": {
|
|
2278
|
-
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
2279
|
-
"env": "RESPAN_PROJECT_ID",
|
|
2280
|
-
"name": "project-id",
|
|
2283
|
+
"name": {
|
|
2284
|
+
"description": "Experiment name",
|
|
2285
|
+
"name": "name",
|
|
2286
|
+
"required": true,
|
|
2281
2287
|
"hasDynamicHelp": false,
|
|
2282
2288
|
"multiple": false,
|
|
2283
2289
|
"type": "option"
|
|
2284
2290
|
},
|
|
2285
|
-
"
|
|
2286
|
-
"description": "
|
|
2287
|
-
"name": "
|
|
2288
|
-
"
|
|
2291
|
+
"dataset-id": {
|
|
2292
|
+
"description": "Dataset ID",
|
|
2293
|
+
"name": "dataset-id",
|
|
2294
|
+
"required": true,
|
|
2289
2295
|
"hasDynamicHelp": false,
|
|
2290
2296
|
"multiple": false,
|
|
2291
2297
|
"type": "option"
|
|
2292
2298
|
},
|
|
2293
|
-
"
|
|
2294
|
-
"description": "
|
|
2295
|
-
"
|
|
2296
|
-
"name": "customer-id",
|
|
2299
|
+
"description": {
|
|
2300
|
+
"description": "Experiment description",
|
|
2301
|
+
"name": "description",
|
|
2297
2302
|
"hasDynamicHelp": false,
|
|
2298
2303
|
"multiple": false,
|
|
2299
2304
|
"type": "option"
|
|
2300
2305
|
},
|
|
2301
|
-
"
|
|
2302
|
-
"description": "
|
|
2303
|
-
"name": "
|
|
2306
|
+
"workflows": {
|
|
2307
|
+
"description": "Workflows configuration as JSON string",
|
|
2308
|
+
"name": "workflows",
|
|
2309
|
+
"hasDynamicHelp": false,
|
|
2310
|
+
"multiple": false,
|
|
2311
|
+
"type": "option"
|
|
2312
|
+
}
|
|
2313
|
+
},
|
|
2314
|
+
"hasDynamicHelp": false,
|
|
2315
|
+
"hiddenAliases": [],
|
|
2316
|
+
"id": "experiments:create",
|
|
2317
|
+
"pluginAlias": "@respan/cli",
|
|
2318
|
+
"pluginName": "@respan/cli",
|
|
2319
|
+
"pluginType": "core",
|
|
2320
|
+
"strict": true,
|
|
2321
|
+
"enableJsonFlag": false,
|
|
2322
|
+
"isESM": true,
|
|
2323
|
+
"relativePath": [
|
|
2324
|
+
"dist",
|
|
2325
|
+
"commands",
|
|
2326
|
+
"experiments",
|
|
2327
|
+
"create.js"
|
|
2328
|
+
]
|
|
2329
|
+
},
|
|
2330
|
+
"experiments:get": {
|
|
2331
|
+
"aliases": [],
|
|
2332
|
+
"args": {
|
|
2333
|
+
"id": {
|
|
2334
|
+
"description": "Experiment ID",
|
|
2335
|
+
"name": "id",
|
|
2336
|
+
"required": true
|
|
2337
|
+
}
|
|
2338
|
+
},
|
|
2339
|
+
"description": "Get a specific experiment",
|
|
2340
|
+
"flags": {
|
|
2341
|
+
"api-key": {
|
|
2342
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
2343
|
+
"env": "RESPAN_API_KEY",
|
|
2344
|
+
"name": "api-key",
|
|
2304
2345
|
"hasDynamicHelp": false,
|
|
2305
2346
|
"multiple": false,
|
|
2306
2347
|
"type": "option"
|
|
2307
2348
|
},
|
|
2308
|
-
"
|
|
2309
|
-
"description": "
|
|
2310
|
-
"name": "
|
|
2349
|
+
"base-url": {
|
|
2350
|
+
"description": "Temporary API base URL override for this command",
|
|
2351
|
+
"name": "base-url",
|
|
2311
2352
|
"hasDynamicHelp": false,
|
|
2312
2353
|
"multiple": false,
|
|
2313
2354
|
"type": "option"
|
|
2314
2355
|
},
|
|
2315
|
-
"
|
|
2316
|
-
"description": "
|
|
2317
|
-
"name": "
|
|
2356
|
+
"profile": {
|
|
2357
|
+
"description": "Named profile to use",
|
|
2358
|
+
"name": "profile",
|
|
2359
|
+
"hasDynamicHelp": false,
|
|
2360
|
+
"multiple": false,
|
|
2361
|
+
"type": "option"
|
|
2362
|
+
},
|
|
2363
|
+
"json": {
|
|
2364
|
+
"description": "Output as JSON",
|
|
2365
|
+
"name": "json",
|
|
2366
|
+
"allowNo": false,
|
|
2367
|
+
"type": "boolean"
|
|
2368
|
+
},
|
|
2369
|
+
"csv": {
|
|
2370
|
+
"description": "Output as CSV",
|
|
2371
|
+
"name": "csv",
|
|
2372
|
+
"allowNo": false,
|
|
2373
|
+
"type": "boolean"
|
|
2374
|
+
},
|
|
2375
|
+
"verbose": {
|
|
2376
|
+
"char": "v",
|
|
2377
|
+
"description": "Show verbose output",
|
|
2378
|
+
"name": "verbose",
|
|
2318
2379
|
"allowNo": false,
|
|
2319
2380
|
"type": "boolean"
|
|
2320
2381
|
}
|
|
2321
2382
|
},
|
|
2322
2383
|
"hasDynamicHelp": false,
|
|
2323
2384
|
"hiddenAliases": [],
|
|
2324
|
-
"id": "
|
|
2385
|
+
"id": "experiments:get",
|
|
2325
2386
|
"pluginAlias": "@respan/cli",
|
|
2326
2387
|
"pluginName": "@respan/cli",
|
|
2327
2388
|
"pluginType": "core",
|
|
@@ -2331,8 +2392,87 @@
|
|
|
2331
2392
|
"relativePath": [
|
|
2332
2393
|
"dist",
|
|
2333
2394
|
"commands",
|
|
2334
|
-
"
|
|
2335
|
-
"
|
|
2395
|
+
"experiments",
|
|
2396
|
+
"get.js"
|
|
2397
|
+
]
|
|
2398
|
+
},
|
|
2399
|
+
"experiments:list": {
|
|
2400
|
+
"aliases": [],
|
|
2401
|
+
"args": {},
|
|
2402
|
+
"description": "List experiments",
|
|
2403
|
+
"flags": {
|
|
2404
|
+
"api-key": {
|
|
2405
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
2406
|
+
"env": "RESPAN_API_KEY",
|
|
2407
|
+
"name": "api-key",
|
|
2408
|
+
"hasDynamicHelp": false,
|
|
2409
|
+
"multiple": false,
|
|
2410
|
+
"type": "option"
|
|
2411
|
+
},
|
|
2412
|
+
"base-url": {
|
|
2413
|
+
"description": "Temporary API base URL override for this command",
|
|
2414
|
+
"name": "base-url",
|
|
2415
|
+
"hasDynamicHelp": false,
|
|
2416
|
+
"multiple": false,
|
|
2417
|
+
"type": "option"
|
|
2418
|
+
},
|
|
2419
|
+
"profile": {
|
|
2420
|
+
"description": "Named profile to use",
|
|
2421
|
+
"name": "profile",
|
|
2422
|
+
"hasDynamicHelp": false,
|
|
2423
|
+
"multiple": false,
|
|
2424
|
+
"type": "option"
|
|
2425
|
+
},
|
|
2426
|
+
"json": {
|
|
2427
|
+
"description": "Output as JSON",
|
|
2428
|
+
"name": "json",
|
|
2429
|
+
"allowNo": false,
|
|
2430
|
+
"type": "boolean"
|
|
2431
|
+
},
|
|
2432
|
+
"csv": {
|
|
2433
|
+
"description": "Output as CSV",
|
|
2434
|
+
"name": "csv",
|
|
2435
|
+
"allowNo": false,
|
|
2436
|
+
"type": "boolean"
|
|
2437
|
+
},
|
|
2438
|
+
"verbose": {
|
|
2439
|
+
"char": "v",
|
|
2440
|
+
"description": "Show verbose output",
|
|
2441
|
+
"name": "verbose",
|
|
2442
|
+
"allowNo": false,
|
|
2443
|
+
"type": "boolean"
|
|
2444
|
+
},
|
|
2445
|
+
"limit": {
|
|
2446
|
+
"description": "Number of results per page",
|
|
2447
|
+
"name": "limit",
|
|
2448
|
+
"default": 20,
|
|
2449
|
+
"hasDynamicHelp": false,
|
|
2450
|
+
"multiple": false,
|
|
2451
|
+
"type": "option"
|
|
2452
|
+
},
|
|
2453
|
+
"page": {
|
|
2454
|
+
"description": "Page number",
|
|
2455
|
+
"name": "page",
|
|
2456
|
+
"default": 1,
|
|
2457
|
+
"hasDynamicHelp": false,
|
|
2458
|
+
"multiple": false,
|
|
2459
|
+
"type": "option"
|
|
2460
|
+
}
|
|
2461
|
+
},
|
|
2462
|
+
"hasDynamicHelp": false,
|
|
2463
|
+
"hiddenAliases": [],
|
|
2464
|
+
"id": "experiments:list",
|
|
2465
|
+
"pluginAlias": "@respan/cli",
|
|
2466
|
+
"pluginName": "@respan/cli",
|
|
2467
|
+
"pluginType": "core",
|
|
2468
|
+
"strict": true,
|
|
2469
|
+
"enableJsonFlag": false,
|
|
2470
|
+
"isESM": true,
|
|
2471
|
+
"relativePath": [
|
|
2472
|
+
"dist",
|
|
2473
|
+
"commands",
|
|
2474
|
+
"experiments",
|
|
2475
|
+
"list.js"
|
|
2336
2476
|
]
|
|
2337
2477
|
},
|
|
2338
2478
|
"logs:create": {
|
|
@@ -2724,16 +2864,16 @@
|
|
|
2724
2864
|
"summary.js"
|
|
2725
2865
|
]
|
|
2726
2866
|
},
|
|
2727
|
-
"
|
|
2867
|
+
"traces:get": {
|
|
2728
2868
|
"aliases": [],
|
|
2729
2869
|
"args": {
|
|
2730
|
-
"
|
|
2731
|
-
"description": "
|
|
2732
|
-
"name": "
|
|
2870
|
+
"id": {
|
|
2871
|
+
"description": "Trace ID",
|
|
2872
|
+
"name": "id",
|
|
2733
2873
|
"required": true
|
|
2734
2874
|
}
|
|
2735
2875
|
},
|
|
2736
|
-
"description": "
|
|
2876
|
+
"description": "Get a specific trace",
|
|
2737
2877
|
"flags": {
|
|
2738
2878
|
"api-key": {
|
|
2739
2879
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2775,40 +2915,11 @@
|
|
|
2775
2915
|
"name": "verbose",
|
|
2776
2916
|
"allowNo": false,
|
|
2777
2917
|
"type": "boolean"
|
|
2778
|
-
},
|
|
2779
|
-
"messages": {
|
|
2780
|
-
"description": "Messages as JSON array string",
|
|
2781
|
-
"name": "messages",
|
|
2782
|
-
"required": true,
|
|
2783
|
-
"hasDynamicHelp": false,
|
|
2784
|
-
"multiple": false,
|
|
2785
|
-
"type": "option"
|
|
2786
|
-
},
|
|
2787
|
-
"model": {
|
|
2788
|
-
"description": "Model name",
|
|
2789
|
-
"name": "model",
|
|
2790
|
-
"hasDynamicHelp": false,
|
|
2791
|
-
"multiple": false,
|
|
2792
|
-
"type": "option"
|
|
2793
|
-
},
|
|
2794
|
-
"temperature": {
|
|
2795
|
-
"description": "Temperature value",
|
|
2796
|
-
"name": "temperature",
|
|
2797
|
-
"hasDynamicHelp": false,
|
|
2798
|
-
"multiple": false,
|
|
2799
|
-
"type": "option"
|
|
2800
|
-
},
|
|
2801
|
-
"max-tokens": {
|
|
2802
|
-
"description": "Max tokens",
|
|
2803
|
-
"name": "max-tokens",
|
|
2804
|
-
"hasDynamicHelp": false,
|
|
2805
|
-
"multiple": false,
|
|
2806
|
-
"type": "option"
|
|
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,165 +2979,62 @@
|
|
|
2868
2979
|
"allowNo": false,
|
|
2869
2980
|
"type": "boolean"
|
|
2870
2981
|
},
|
|
2871
|
-
"
|
|
2872
|
-
"description": "
|
|
2873
|
-
"name": "
|
|
2874
|
-
"
|
|
2982
|
+
"limit": {
|
|
2983
|
+
"description": "Number of results per page",
|
|
2984
|
+
"name": "limit",
|
|
2985
|
+
"default": 10,
|
|
2875
2986
|
"hasDynamicHelp": false,
|
|
2876
2987
|
"multiple": false,
|
|
2877
2988
|
"type": "option"
|
|
2878
2989
|
},
|
|
2879
|
-
"
|
|
2880
|
-
"description": "
|
|
2881
|
-
"name": "
|
|
2882
|
-
"
|
|
2883
|
-
"multiple": false,
|
|
2884
|
-
"type": "option"
|
|
2885
|
-
}
|
|
2886
|
-
},
|
|
2887
|
-
"hasDynamicHelp": false,
|
|
2888
|
-
"hiddenAliases": [],
|
|
2889
|
-
"id": "prompts:create",
|
|
2890
|
-
"pluginAlias": "@respan/cli",
|
|
2891
|
-
"pluginName": "@respan/cli",
|
|
2892
|
-
"pluginType": "core",
|
|
2893
|
-
"strict": true,
|
|
2894
|
-
"enableJsonFlag": false,
|
|
2895
|
-
"isESM": true,
|
|
2896
|
-
"relativePath": [
|
|
2897
|
-
"dist",
|
|
2898
|
-
"commands",
|
|
2899
|
-
"prompts",
|
|
2900
|
-
"create.js"
|
|
2901
|
-
]
|
|
2902
|
-
},
|
|
2903
|
-
"prompts:get": {
|
|
2904
|
-
"aliases": [],
|
|
2905
|
-
"args": {
|
|
2906
|
-
"id": {
|
|
2907
|
-
"description": "Prompt ID",
|
|
2908
|
-
"name": "id",
|
|
2909
|
-
"required": true
|
|
2910
|
-
}
|
|
2911
|
-
},
|
|
2912
|
-
"description": "Get a specific prompt",
|
|
2913
|
-
"flags": {
|
|
2914
|
-
"api-key": {
|
|
2915
|
-
"description": "API key (env: RESPAN_API_KEY)",
|
|
2916
|
-
"env": "RESPAN_API_KEY",
|
|
2917
|
-
"name": "api-key",
|
|
2918
|
-
"hasDynamicHelp": false,
|
|
2919
|
-
"multiple": false,
|
|
2920
|
-
"type": "option"
|
|
2921
|
-
},
|
|
2922
|
-
"base-url": {
|
|
2923
|
-
"description": "Temporary API base URL override for this command",
|
|
2924
|
-
"name": "base-url",
|
|
2990
|
+
"page": {
|
|
2991
|
+
"description": "Page number",
|
|
2992
|
+
"name": "page",
|
|
2993
|
+
"default": 1,
|
|
2925
2994
|
"hasDynamicHelp": false,
|
|
2926
2995
|
"multiple": false,
|
|
2927
2996
|
"type": "option"
|
|
2928
2997
|
},
|
|
2929
|
-
"
|
|
2930
|
-
"description": "
|
|
2931
|
-
"name": "
|
|
2998
|
+
"sort-by": {
|
|
2999
|
+
"description": "Sort field (prefix with - for descending)",
|
|
3000
|
+
"name": "sort-by",
|
|
3001
|
+
"default": "-timestamp",
|
|
2932
3002
|
"hasDynamicHelp": false,
|
|
2933
3003
|
"multiple": false,
|
|
2934
3004
|
"type": "option"
|
|
2935
3005
|
},
|
|
2936
|
-
"
|
|
2937
|
-
"description": "
|
|
2938
|
-
"name": "
|
|
2939
|
-
"allowNo": false,
|
|
2940
|
-
"type": "boolean"
|
|
2941
|
-
},
|
|
2942
|
-
"csv": {
|
|
2943
|
-
"description": "Output as CSV",
|
|
2944
|
-
"name": "csv",
|
|
2945
|
-
"allowNo": false,
|
|
2946
|
-
"type": "boolean"
|
|
2947
|
-
},
|
|
2948
|
-
"verbose": {
|
|
2949
|
-
"char": "v",
|
|
2950
|
-
"description": "Show verbose output",
|
|
2951
|
-
"name": "verbose",
|
|
2952
|
-
"allowNo": false,
|
|
2953
|
-
"type": "boolean"
|
|
2954
|
-
}
|
|
2955
|
-
},
|
|
2956
|
-
"hasDynamicHelp": false,
|
|
2957
|
-
"hiddenAliases": [],
|
|
2958
|
-
"id": "prompts:get",
|
|
2959
|
-
"pluginAlias": "@respan/cli",
|
|
2960
|
-
"pluginName": "@respan/cli",
|
|
2961
|
-
"pluginType": "core",
|
|
2962
|
-
"strict": true,
|
|
2963
|
-
"enableJsonFlag": false,
|
|
2964
|
-
"isESM": true,
|
|
2965
|
-
"relativePath": [
|
|
2966
|
-
"dist",
|
|
2967
|
-
"commands",
|
|
2968
|
-
"prompts",
|
|
2969
|
-
"get.js"
|
|
2970
|
-
]
|
|
2971
|
-
},
|
|
2972
|
-
"prompts:list": {
|
|
2973
|
-
"aliases": [],
|
|
2974
|
-
"args": {},
|
|
2975
|
-
"description": "List prompts",
|
|
2976
|
-
"flags": {
|
|
2977
|
-
"api-key": {
|
|
2978
|
-
"description": "API key (env: RESPAN_API_KEY)",
|
|
2979
|
-
"env": "RESPAN_API_KEY",
|
|
2980
|
-
"name": "api-key",
|
|
3006
|
+
"start-time": {
|
|
3007
|
+
"description": "Start time filter (ISO 8601)",
|
|
3008
|
+
"name": "start-time",
|
|
2981
3009
|
"hasDynamicHelp": false,
|
|
2982
3010
|
"multiple": false,
|
|
2983
3011
|
"type": "option"
|
|
2984
3012
|
},
|
|
2985
|
-
"
|
|
2986
|
-
"description": "
|
|
2987
|
-
"name": "
|
|
3013
|
+
"end-time": {
|
|
3014
|
+
"description": "End time filter (ISO 8601)",
|
|
3015
|
+
"name": "end-time",
|
|
2988
3016
|
"hasDynamicHelp": false,
|
|
2989
3017
|
"multiple": false,
|
|
2990
3018
|
"type": "option"
|
|
2991
3019
|
},
|
|
2992
|
-
"
|
|
2993
|
-
"description": "
|
|
2994
|
-
"name": "
|
|
3020
|
+
"environment": {
|
|
3021
|
+
"description": "Environment filter",
|
|
3022
|
+
"name": "environment",
|
|
2995
3023
|
"hasDynamicHelp": false,
|
|
2996
3024
|
"multiple": false,
|
|
2997
3025
|
"type": "option"
|
|
2998
3026
|
},
|
|
2999
|
-
"
|
|
3000
|
-
"description": "
|
|
3001
|
-
"name": "
|
|
3002
|
-
"allowNo": false,
|
|
3003
|
-
"type": "boolean"
|
|
3004
|
-
},
|
|
3005
|
-
"csv": {
|
|
3006
|
-
"description": "Output as CSV",
|
|
3007
|
-
"name": "csv",
|
|
3008
|
-
"allowNo": false,
|
|
3009
|
-
"type": "boolean"
|
|
3010
|
-
},
|
|
3011
|
-
"verbose": {
|
|
3012
|
-
"char": "v",
|
|
3013
|
-
"description": "Show verbose output",
|
|
3014
|
-
"name": "verbose",
|
|
3015
|
-
"allowNo": false,
|
|
3016
|
-
"type": "boolean"
|
|
3017
|
-
},
|
|
3018
|
-
"limit": {
|
|
3019
|
-
"description": "Number of results per page",
|
|
3020
|
-
"name": "limit",
|
|
3021
|
-
"default": 50,
|
|
3027
|
+
"filter": {
|
|
3028
|
+
"description": "Filter in field:operator:value format (repeatable)",
|
|
3029
|
+
"name": "filter",
|
|
3022
3030
|
"hasDynamicHelp": false,
|
|
3023
|
-
"multiple":
|
|
3031
|
+
"multiple": true,
|
|
3024
3032
|
"type": "option"
|
|
3025
3033
|
}
|
|
3026
3034
|
},
|
|
3027
3035
|
"hasDynamicHelp": false,
|
|
3028
3036
|
"hiddenAliases": [],
|
|
3029
|
-
"id": "
|
|
3037
|
+
"id": "traces:list",
|
|
3030
3038
|
"pluginAlias": "@respan/cli",
|
|
3031
3039
|
"pluginName": "@respan/cli",
|
|
3032
3040
|
"pluginType": "core",
|
|
@@ -3036,20 +3044,14 @@
|
|
|
3036
3044
|
"relativePath": [
|
|
3037
3045
|
"dist",
|
|
3038
3046
|
"commands",
|
|
3039
|
-
"
|
|
3047
|
+
"traces",
|
|
3040
3048
|
"list.js"
|
|
3041
3049
|
]
|
|
3042
3050
|
},
|
|
3043
|
-
"
|
|
3051
|
+
"traces:summary": {
|
|
3044
3052
|
"aliases": [],
|
|
3045
|
-
"args": {
|
|
3046
|
-
|
|
3047
|
-
"description": "Prompt ID",
|
|
3048
|
-
"name": "id",
|
|
3049
|
-
"required": true
|
|
3050
|
-
}
|
|
3051
|
-
},
|
|
3052
|
-
"description": "Update a prompt",
|
|
3053
|
+
"args": {},
|
|
3054
|
+
"description": "Get a span-level summary of activity for a time range (counts, latency, cost, errors aggregated across spans)",
|
|
3053
3055
|
"flags": {
|
|
3054
3056
|
"api-key": {
|
|
3055
3057
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3092,93 +3094,26 @@
|
|
|
3092
3094
|
"allowNo": false,
|
|
3093
3095
|
"type": "boolean"
|
|
3094
3096
|
},
|
|
3095
|
-
"
|
|
3096
|
-
"description": "
|
|
3097
|
-
"name": "
|
|
3098
|
-
"
|
|
3099
|
-
"multiple": false,
|
|
3100
|
-
"type": "option"
|
|
3101
|
-
},
|
|
3102
|
-
"description": {
|
|
3103
|
-
"description": "Prompt description",
|
|
3104
|
-
"name": "description",
|
|
3105
|
-
"hasDynamicHelp": false,
|
|
3106
|
-
"multiple": false,
|
|
3107
|
-
"type": "option"
|
|
3108
|
-
}
|
|
3109
|
-
},
|
|
3110
|
-
"hasDynamicHelp": false,
|
|
3111
|
-
"hiddenAliases": [],
|
|
3112
|
-
"id": "prompts:update",
|
|
3113
|
-
"pluginAlias": "@respan/cli",
|
|
3114
|
-
"pluginName": "@respan/cli",
|
|
3115
|
-
"pluginType": "core",
|
|
3116
|
-
"strict": true,
|
|
3117
|
-
"enableJsonFlag": false,
|
|
3118
|
-
"isESM": true,
|
|
3119
|
-
"relativePath": [
|
|
3120
|
-
"dist",
|
|
3121
|
-
"commands",
|
|
3122
|
-
"prompts",
|
|
3123
|
-
"update.js"
|
|
3124
|
-
]
|
|
3125
|
-
},
|
|
3126
|
-
"prompts:versions": {
|
|
3127
|
-
"aliases": [],
|
|
3128
|
-
"args": {
|
|
3129
|
-
"prompt-id": {
|
|
3130
|
-
"description": "Prompt ID",
|
|
3131
|
-
"name": "prompt-id",
|
|
3132
|
-
"required": true
|
|
3133
|
-
}
|
|
3134
|
-
},
|
|
3135
|
-
"description": "List versions of a prompt",
|
|
3136
|
-
"flags": {
|
|
3137
|
-
"api-key": {
|
|
3138
|
-
"description": "API key (env: RESPAN_API_KEY)",
|
|
3139
|
-
"env": "RESPAN_API_KEY",
|
|
3140
|
-
"name": "api-key",
|
|
3141
|
-
"hasDynamicHelp": false,
|
|
3142
|
-
"multiple": false,
|
|
3143
|
-
"type": "option"
|
|
3144
|
-
},
|
|
3145
|
-
"base-url": {
|
|
3146
|
-
"description": "Temporary API base URL override for this command",
|
|
3147
|
-
"name": "base-url",
|
|
3097
|
+
"start-time": {
|
|
3098
|
+
"description": "Start time (ISO 8601)",
|
|
3099
|
+
"name": "start-time",
|
|
3100
|
+
"required": true,
|
|
3148
3101
|
"hasDynamicHelp": false,
|
|
3149
3102
|
"multiple": false,
|
|
3150
3103
|
"type": "option"
|
|
3151
3104
|
},
|
|
3152
|
-
"
|
|
3153
|
-
"description": "
|
|
3154
|
-
"name": "
|
|
3105
|
+
"end-time": {
|
|
3106
|
+
"description": "End time (ISO 8601)",
|
|
3107
|
+
"name": "end-time",
|
|
3108
|
+
"required": true,
|
|
3155
3109
|
"hasDynamicHelp": false,
|
|
3156
3110
|
"multiple": false,
|
|
3157
3111
|
"type": "option"
|
|
3158
|
-
},
|
|
3159
|
-
"json": {
|
|
3160
|
-
"description": "Output as JSON",
|
|
3161
|
-
"name": "json",
|
|
3162
|
-
"allowNo": false,
|
|
3163
|
-
"type": "boolean"
|
|
3164
|
-
},
|
|
3165
|
-
"csv": {
|
|
3166
|
-
"description": "Output as CSV",
|
|
3167
|
-
"name": "csv",
|
|
3168
|
-
"allowNo": false,
|
|
3169
|
-
"type": "boolean"
|
|
3170
|
-
},
|
|
3171
|
-
"verbose": {
|
|
3172
|
-
"char": "v",
|
|
3173
|
-
"description": "Show verbose output",
|
|
3174
|
-
"name": "verbose",
|
|
3175
|
-
"allowNo": false,
|
|
3176
|
-
"type": "boolean"
|
|
3177
3112
|
}
|
|
3178
3113
|
},
|
|
3179
3114
|
"hasDynamicHelp": false,
|
|
3180
3115
|
"hiddenAliases": [],
|
|
3181
|
-
"id": "
|
|
3116
|
+
"id": "traces:summary",
|
|
3182
3117
|
"pluginAlias": "@respan/cli",
|
|
3183
3118
|
"pluginName": "@respan/cli",
|
|
3184
3119
|
"pluginType": "core",
|
|
@@ -3188,8 +3123,8 @@
|
|
|
3188
3123
|
"relativePath": [
|
|
3189
3124
|
"dist",
|
|
3190
3125
|
"commands",
|
|
3191
|
-
"
|
|
3192
|
-
"
|
|
3126
|
+
"traces",
|
|
3127
|
+
"summary.js"
|
|
3193
3128
|
]
|
|
3194
3129
|
},
|
|
3195
3130
|
"setup:doctor": {
|
|
@@ -3523,16 +3458,10 @@
|
|
|
3523
3458
|
"tracing.js"
|
|
3524
3459
|
]
|
|
3525
3460
|
},
|
|
3526
|
-
"
|
|
3461
|
+
"users:create": {
|
|
3527
3462
|
"aliases": [],
|
|
3528
|
-
"args": {
|
|
3529
|
-
|
|
3530
|
-
"description": "Trace ID",
|
|
3531
|
-
"name": "id",
|
|
3532
|
-
"required": true
|
|
3533
|
-
}
|
|
3534
|
-
},
|
|
3535
|
-
"description": "Get a specific trace",
|
|
3463
|
+
"args": {},
|
|
3464
|
+
"description": "Create a new user (customer)",
|
|
3536
3465
|
"flags": {
|
|
3537
3466
|
"api-key": {
|
|
3538
3467
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3574,11 +3503,40 @@
|
|
|
3574
3503
|
"name": "verbose",
|
|
3575
3504
|
"allowNo": false,
|
|
3576
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"
|
|
3577
3535
|
}
|
|
3578
3536
|
},
|
|
3579
3537
|
"hasDynamicHelp": false,
|
|
3580
3538
|
"hiddenAliases": [],
|
|
3581
|
-
"id": "
|
|
3539
|
+
"id": "users:create",
|
|
3582
3540
|
"pluginAlias": "@respan/cli",
|
|
3583
3541
|
"pluginName": "@respan/cli",
|
|
3584
3542
|
"pluginType": "core",
|
|
@@ -3588,14 +3546,83 @@
|
|
|
3588
3546
|
"relativePath": [
|
|
3589
3547
|
"dist",
|
|
3590
3548
|
"commands",
|
|
3591
|
-
"
|
|
3592
|
-
"
|
|
3549
|
+
"users",
|
|
3550
|
+
"create.js"
|
|
3593
3551
|
]
|
|
3594
3552
|
},
|
|
3595
|
-
"
|
|
3553
|
+
"users:get": {
|
|
3554
|
+
"aliases": [],
|
|
3555
|
+
"args": {
|
|
3556
|
+
"id": {
|
|
3557
|
+
"description": "Customer identifier",
|
|
3558
|
+
"name": "id",
|
|
3559
|
+
"required": true
|
|
3560
|
+
}
|
|
3561
|
+
},
|
|
3562
|
+
"description": "Get a specific user (customer)",
|
|
3563
|
+
"flags": {
|
|
3564
|
+
"api-key": {
|
|
3565
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
3566
|
+
"env": "RESPAN_API_KEY",
|
|
3567
|
+
"name": "api-key",
|
|
3568
|
+
"hasDynamicHelp": false,
|
|
3569
|
+
"multiple": false,
|
|
3570
|
+
"type": "option"
|
|
3571
|
+
},
|
|
3572
|
+
"base-url": {
|
|
3573
|
+
"description": "Temporary API base URL override for this command",
|
|
3574
|
+
"name": "base-url",
|
|
3575
|
+
"hasDynamicHelp": false,
|
|
3576
|
+
"multiple": false,
|
|
3577
|
+
"type": "option"
|
|
3578
|
+
},
|
|
3579
|
+
"profile": {
|
|
3580
|
+
"description": "Named profile to use",
|
|
3581
|
+
"name": "profile",
|
|
3582
|
+
"hasDynamicHelp": false,
|
|
3583
|
+
"multiple": false,
|
|
3584
|
+
"type": "option"
|
|
3585
|
+
},
|
|
3586
|
+
"json": {
|
|
3587
|
+
"description": "Output as JSON",
|
|
3588
|
+
"name": "json",
|
|
3589
|
+
"allowNo": false,
|
|
3590
|
+
"type": "boolean"
|
|
3591
|
+
},
|
|
3592
|
+
"csv": {
|
|
3593
|
+
"description": "Output as CSV",
|
|
3594
|
+
"name": "csv",
|
|
3595
|
+
"allowNo": false,
|
|
3596
|
+
"type": "boolean"
|
|
3597
|
+
},
|
|
3598
|
+
"verbose": {
|
|
3599
|
+
"char": "v",
|
|
3600
|
+
"description": "Show verbose output",
|
|
3601
|
+
"name": "verbose",
|
|
3602
|
+
"allowNo": false,
|
|
3603
|
+
"type": "boolean"
|
|
3604
|
+
}
|
|
3605
|
+
},
|
|
3606
|
+
"hasDynamicHelp": false,
|
|
3607
|
+
"hiddenAliases": [],
|
|
3608
|
+
"id": "users:get",
|
|
3609
|
+
"pluginAlias": "@respan/cli",
|
|
3610
|
+
"pluginName": "@respan/cli",
|
|
3611
|
+
"pluginType": "core",
|
|
3612
|
+
"strict": true,
|
|
3613
|
+
"enableJsonFlag": false,
|
|
3614
|
+
"isESM": true,
|
|
3615
|
+
"relativePath": [
|
|
3616
|
+
"dist",
|
|
3617
|
+
"commands",
|
|
3618
|
+
"users",
|
|
3619
|
+
"get.js"
|
|
3620
|
+
]
|
|
3621
|
+
},
|
|
3622
|
+
"users:list": {
|
|
3596
3623
|
"aliases": [],
|
|
3597
3624
|
"args": {},
|
|
3598
|
-
"description": "List
|
|
3625
|
+
"description": "List users (customers)",
|
|
3599
3626
|
"flags": {
|
|
3600
3627
|
"api-key": {
|
|
3601
3628
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3641,7 +3668,7 @@
|
|
|
3641
3668
|
"limit": {
|
|
3642
3669
|
"description": "Number of results per page",
|
|
3643
3670
|
"name": "limit",
|
|
3644
|
-
"default":
|
|
3671
|
+
"default": 20,
|
|
3645
3672
|
"hasDynamicHelp": false,
|
|
3646
3673
|
"multiple": false,
|
|
3647
3674
|
"type": "option"
|
|
@@ -3655,45 +3682,113 @@
|
|
|
3655
3682
|
"type": "option"
|
|
3656
3683
|
},
|
|
3657
3684
|
"sort-by": {
|
|
3658
|
-
"description": "Sort field
|
|
3685
|
+
"description": "Sort field",
|
|
3659
3686
|
"name": "sort-by",
|
|
3660
|
-
"default": "-timestamp",
|
|
3661
3687
|
"hasDynamicHelp": false,
|
|
3662
3688
|
"multiple": false,
|
|
3663
3689
|
"type": "option"
|
|
3664
3690
|
},
|
|
3665
|
-
"
|
|
3666
|
-
"description": "
|
|
3667
|
-
"name": "
|
|
3691
|
+
"environment": {
|
|
3692
|
+
"description": "Environment filter",
|
|
3693
|
+
"name": "environment",
|
|
3694
|
+
"hasDynamicHelp": false,
|
|
3695
|
+
"multiple": false,
|
|
3696
|
+
"type": "option"
|
|
3697
|
+
}
|
|
3698
|
+
},
|
|
3699
|
+
"hasDynamicHelp": false,
|
|
3700
|
+
"hiddenAliases": [],
|
|
3701
|
+
"id": "users:list",
|
|
3702
|
+
"pluginAlias": "@respan/cli",
|
|
3703
|
+
"pluginName": "@respan/cli",
|
|
3704
|
+
"pluginType": "core",
|
|
3705
|
+
"strict": true,
|
|
3706
|
+
"enableJsonFlag": false,
|
|
3707
|
+
"isESM": true,
|
|
3708
|
+
"relativePath": [
|
|
3709
|
+
"dist",
|
|
3710
|
+
"commands",
|
|
3711
|
+
"users",
|
|
3712
|
+
"list.js"
|
|
3713
|
+
]
|
|
3714
|
+
},
|
|
3715
|
+
"users:update": {
|
|
3716
|
+
"aliases": [],
|
|
3717
|
+
"args": {
|
|
3718
|
+
"id": {
|
|
3719
|
+
"description": "Customer identifier",
|
|
3720
|
+
"name": "id",
|
|
3721
|
+
"required": true
|
|
3722
|
+
}
|
|
3723
|
+
},
|
|
3724
|
+
"description": "Update a user (customer)",
|
|
3725
|
+
"flags": {
|
|
3726
|
+
"api-key": {
|
|
3727
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
3728
|
+
"env": "RESPAN_API_KEY",
|
|
3729
|
+
"name": "api-key",
|
|
3668
3730
|
"hasDynamicHelp": false,
|
|
3669
3731
|
"multiple": false,
|
|
3670
3732
|
"type": "option"
|
|
3671
3733
|
},
|
|
3672
|
-
"
|
|
3673
|
-
"description": "
|
|
3674
|
-
"name": "
|
|
3734
|
+
"base-url": {
|
|
3735
|
+
"description": "Temporary API base URL override for this command",
|
|
3736
|
+
"name": "base-url",
|
|
3675
3737
|
"hasDynamicHelp": false,
|
|
3676
3738
|
"multiple": false,
|
|
3677
3739
|
"type": "option"
|
|
3678
3740
|
},
|
|
3679
|
-
"
|
|
3680
|
-
"description": "
|
|
3681
|
-
"name": "
|
|
3741
|
+
"profile": {
|
|
3742
|
+
"description": "Named profile to use",
|
|
3743
|
+
"name": "profile",
|
|
3682
3744
|
"hasDynamicHelp": false,
|
|
3683
3745
|
"multiple": false,
|
|
3684
3746
|
"type": "option"
|
|
3685
3747
|
},
|
|
3686
|
-
"
|
|
3687
|
-
"description": "
|
|
3688
|
-
"name": "
|
|
3748
|
+
"json": {
|
|
3749
|
+
"description": "Output as JSON",
|
|
3750
|
+
"name": "json",
|
|
3751
|
+
"allowNo": false,
|
|
3752
|
+
"type": "boolean"
|
|
3753
|
+
},
|
|
3754
|
+
"csv": {
|
|
3755
|
+
"description": "Output as CSV",
|
|
3756
|
+
"name": "csv",
|
|
3757
|
+
"allowNo": false,
|
|
3758
|
+
"type": "boolean"
|
|
3759
|
+
},
|
|
3760
|
+
"verbose": {
|
|
3761
|
+
"char": "v",
|
|
3762
|
+
"description": "Show verbose output",
|
|
3763
|
+
"name": "verbose",
|
|
3764
|
+
"allowNo": false,
|
|
3765
|
+
"type": "boolean"
|
|
3766
|
+
},
|
|
3767
|
+
"name": {
|
|
3768
|
+
"description": "Customer name",
|
|
3769
|
+
"name": "name",
|
|
3689
3770
|
"hasDynamicHelp": false,
|
|
3690
|
-
"multiple":
|
|
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,
|
|
3691
3786
|
"type": "option"
|
|
3692
3787
|
}
|
|
3693
3788
|
},
|
|
3694
3789
|
"hasDynamicHelp": false,
|
|
3695
3790
|
"hiddenAliases": [],
|
|
3696
|
-
"id": "
|
|
3791
|
+
"id": "users:update",
|
|
3697
3792
|
"pluginAlias": "@respan/cli",
|
|
3698
3793
|
"pluginName": "@respan/cli",
|
|
3699
3794
|
"pluginType": "core",
|
|
@@ -3703,14 +3798,20 @@
|
|
|
3703
3798
|
"relativePath": [
|
|
3704
3799
|
"dist",
|
|
3705
3800
|
"commands",
|
|
3706
|
-
"
|
|
3707
|
-
"
|
|
3801
|
+
"users",
|
|
3802
|
+
"update.js"
|
|
3708
3803
|
]
|
|
3709
3804
|
},
|
|
3710
|
-
"
|
|
3805
|
+
"prompts:create-version": {
|
|
3711
3806
|
"aliases": [],
|
|
3712
|
-
"args": {
|
|
3713
|
-
|
|
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",
|
|
3714
3815
|
"flags": {
|
|
3715
3816
|
"api-key": {
|
|
3716
3817
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3753,18 +3854,31 @@
|
|
|
3753
3854
|
"allowNo": false,
|
|
3754
3855
|
"type": "boolean"
|
|
3755
3856
|
},
|
|
3756
|
-
"
|
|
3757
|
-
"description": "
|
|
3758
|
-
"name": "
|
|
3857
|
+
"messages": {
|
|
3858
|
+
"description": "Messages as JSON array string",
|
|
3859
|
+
"name": "messages",
|
|
3759
3860
|
"required": true,
|
|
3760
3861
|
"hasDynamicHelp": false,
|
|
3761
3862
|
"multiple": false,
|
|
3762
3863
|
"type": "option"
|
|
3763
3864
|
},
|
|
3764
|
-
"
|
|
3765
|
-
"description": "
|
|
3766
|
-
"name": "
|
|
3767
|
-
"
|
|
3865
|
+
"model": {
|
|
3866
|
+
"description": "Model name",
|
|
3867
|
+
"name": "model",
|
|
3868
|
+
"hasDynamicHelp": false,
|
|
3869
|
+
"multiple": false,
|
|
3870
|
+
"type": "option"
|
|
3871
|
+
},
|
|
3872
|
+
"temperature": {
|
|
3873
|
+
"description": "Temperature value",
|
|
3874
|
+
"name": "temperature",
|
|
3875
|
+
"hasDynamicHelp": false,
|
|
3876
|
+
"multiple": false,
|
|
3877
|
+
"type": "option"
|
|
3878
|
+
},
|
|
3879
|
+
"max-tokens": {
|
|
3880
|
+
"description": "Max tokens",
|
|
3881
|
+
"name": "max-tokens",
|
|
3768
3882
|
"hasDynamicHelp": false,
|
|
3769
3883
|
"multiple": false,
|
|
3770
3884
|
"type": "option"
|
|
@@ -3772,7 +3886,7 @@
|
|
|
3772
3886
|
},
|
|
3773
3887
|
"hasDynamicHelp": false,
|
|
3774
3888
|
"hiddenAliases": [],
|
|
3775
|
-
"id": "
|
|
3889
|
+
"id": "prompts:create-version",
|
|
3776
3890
|
"pluginAlias": "@respan/cli",
|
|
3777
3891
|
"pluginName": "@respan/cli",
|
|
3778
3892
|
"pluginType": "core",
|
|
@@ -3782,14 +3896,14 @@
|
|
|
3782
3896
|
"relativePath": [
|
|
3783
3897
|
"dist",
|
|
3784
3898
|
"commands",
|
|
3785
|
-
"
|
|
3786
|
-
"
|
|
3899
|
+
"prompts",
|
|
3900
|
+
"create-version.js"
|
|
3787
3901
|
]
|
|
3788
3902
|
},
|
|
3789
|
-
"
|
|
3903
|
+
"prompts:create": {
|
|
3790
3904
|
"aliases": [],
|
|
3791
3905
|
"args": {},
|
|
3792
|
-
"description": "Create a new
|
|
3906
|
+
"description": "Create a new prompt",
|
|
3793
3907
|
"flags": {
|
|
3794
3908
|
"api-key": {
|
|
3795
3909
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3832,31 +3946,17 @@
|
|
|
3832
3946
|
"allowNo": false,
|
|
3833
3947
|
"type": "boolean"
|
|
3834
3948
|
},
|
|
3835
|
-
"identifier": {
|
|
3836
|
-
"description": "Customer identifier",
|
|
3837
|
-
"name": "identifier",
|
|
3838
|
-
"required": true,
|
|
3839
|
-
"hasDynamicHelp": false,
|
|
3840
|
-
"multiple": false,
|
|
3841
|
-
"type": "option"
|
|
3842
|
-
},
|
|
3843
3949
|
"name": {
|
|
3844
|
-
"description": "
|
|
3950
|
+
"description": "Prompt name",
|
|
3845
3951
|
"name": "name",
|
|
3952
|
+
"required": true,
|
|
3846
3953
|
"hasDynamicHelp": false,
|
|
3847
3954
|
"multiple": false,
|
|
3848
3955
|
"type": "option"
|
|
3849
3956
|
},
|
|
3850
|
-
"
|
|
3851
|
-
"description": "
|
|
3852
|
-
"name": "
|
|
3853
|
-
"hasDynamicHelp": false,
|
|
3854
|
-
"multiple": false,
|
|
3855
|
-
"type": "option"
|
|
3856
|
-
},
|
|
3857
|
-
"metadata": {
|
|
3858
|
-
"description": "Metadata as JSON string",
|
|
3859
|
-
"name": "metadata",
|
|
3957
|
+
"description": {
|
|
3958
|
+
"description": "Prompt description",
|
|
3959
|
+
"name": "description",
|
|
3860
3960
|
"hasDynamicHelp": false,
|
|
3861
3961
|
"multiple": false,
|
|
3862
3962
|
"type": "option"
|
|
@@ -3864,7 +3964,7 @@
|
|
|
3864
3964
|
},
|
|
3865
3965
|
"hasDynamicHelp": false,
|
|
3866
3966
|
"hiddenAliases": [],
|
|
3867
|
-
"id": "
|
|
3967
|
+
"id": "prompts:create",
|
|
3868
3968
|
"pluginAlias": "@respan/cli",
|
|
3869
3969
|
"pluginName": "@respan/cli",
|
|
3870
3970
|
"pluginType": "core",
|
|
@@ -3874,20 +3974,20 @@
|
|
|
3874
3974
|
"relativePath": [
|
|
3875
3975
|
"dist",
|
|
3876
3976
|
"commands",
|
|
3877
|
-
"
|
|
3977
|
+
"prompts",
|
|
3878
3978
|
"create.js"
|
|
3879
3979
|
]
|
|
3880
3980
|
},
|
|
3881
|
-
"
|
|
3981
|
+
"prompts:get": {
|
|
3882
3982
|
"aliases": [],
|
|
3883
3983
|
"args": {
|
|
3884
3984
|
"id": {
|
|
3885
|
-
"description": "
|
|
3985
|
+
"description": "Prompt ID",
|
|
3886
3986
|
"name": "id",
|
|
3887
3987
|
"required": true
|
|
3888
3988
|
}
|
|
3889
3989
|
},
|
|
3890
|
-
"description": "Get a specific
|
|
3990
|
+
"description": "Get a specific prompt",
|
|
3891
3991
|
"flags": {
|
|
3892
3992
|
"api-key": {
|
|
3893
3993
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3933,7 +4033,7 @@
|
|
|
3933
4033
|
},
|
|
3934
4034
|
"hasDynamicHelp": false,
|
|
3935
4035
|
"hiddenAliases": [],
|
|
3936
|
-
"id": "
|
|
4036
|
+
"id": "prompts:get",
|
|
3937
4037
|
"pluginAlias": "@respan/cli",
|
|
3938
4038
|
"pluginName": "@respan/cli",
|
|
3939
4039
|
"pluginType": "core",
|
|
@@ -3943,14 +4043,14 @@
|
|
|
3943
4043
|
"relativePath": [
|
|
3944
4044
|
"dist",
|
|
3945
4045
|
"commands",
|
|
3946
|
-
"
|
|
4046
|
+
"prompts",
|
|
3947
4047
|
"get.js"
|
|
3948
4048
|
]
|
|
3949
4049
|
},
|
|
3950
|
-
"
|
|
4050
|
+
"prompts:list": {
|
|
3951
4051
|
"aliases": [],
|
|
3952
4052
|
"args": {},
|
|
3953
|
-
"description": "List
|
|
4053
|
+
"description": "List prompts",
|
|
3954
4054
|
"flags": {
|
|
3955
4055
|
"api-key": {
|
|
3956
4056
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3996,29 +4096,7 @@
|
|
|
3996
4096
|
"limit": {
|
|
3997
4097
|
"description": "Number of results per page",
|
|
3998
4098
|
"name": "limit",
|
|
3999
|
-
"default":
|
|
4000
|
-
"hasDynamicHelp": false,
|
|
4001
|
-
"multiple": false,
|
|
4002
|
-
"type": "option"
|
|
4003
|
-
},
|
|
4004
|
-
"page": {
|
|
4005
|
-
"description": "Page number",
|
|
4006
|
-
"name": "page",
|
|
4007
|
-
"default": 1,
|
|
4008
|
-
"hasDynamicHelp": false,
|
|
4009
|
-
"multiple": false,
|
|
4010
|
-
"type": "option"
|
|
4011
|
-
},
|
|
4012
|
-
"sort-by": {
|
|
4013
|
-
"description": "Sort field",
|
|
4014
|
-
"name": "sort-by",
|
|
4015
|
-
"hasDynamicHelp": false,
|
|
4016
|
-
"multiple": false,
|
|
4017
|
-
"type": "option"
|
|
4018
|
-
},
|
|
4019
|
-
"environment": {
|
|
4020
|
-
"description": "Environment filter",
|
|
4021
|
-
"name": "environment",
|
|
4099
|
+
"default": 50,
|
|
4022
4100
|
"hasDynamicHelp": false,
|
|
4023
4101
|
"multiple": false,
|
|
4024
4102
|
"type": "option"
|
|
@@ -4026,7 +4104,7 @@
|
|
|
4026
4104
|
},
|
|
4027
4105
|
"hasDynamicHelp": false,
|
|
4028
4106
|
"hiddenAliases": [],
|
|
4029
|
-
"id": "
|
|
4107
|
+
"id": "prompts:list",
|
|
4030
4108
|
"pluginAlias": "@respan/cli",
|
|
4031
4109
|
"pluginName": "@respan/cli",
|
|
4032
4110
|
"pluginType": "core",
|
|
@@ -4036,20 +4114,20 @@
|
|
|
4036
4114
|
"relativePath": [
|
|
4037
4115
|
"dist",
|
|
4038
4116
|
"commands",
|
|
4039
|
-
"
|
|
4117
|
+
"prompts",
|
|
4040
4118
|
"list.js"
|
|
4041
4119
|
]
|
|
4042
4120
|
},
|
|
4043
|
-
"
|
|
4121
|
+
"prompts:update": {
|
|
4044
4122
|
"aliases": [],
|
|
4045
4123
|
"args": {
|
|
4046
4124
|
"id": {
|
|
4047
|
-
"description": "
|
|
4125
|
+
"description": "Prompt ID",
|
|
4048
4126
|
"name": "id",
|
|
4049
4127
|
"required": true
|
|
4050
4128
|
}
|
|
4051
4129
|
},
|
|
4052
|
-
"description": "Update a
|
|
4130
|
+
"description": "Update a prompt",
|
|
4053
4131
|
"flags": {
|
|
4054
4132
|
"api-key": {
|
|
4055
4133
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -4093,30 +4171,92 @@
|
|
|
4093
4171
|
"type": "boolean"
|
|
4094
4172
|
},
|
|
4095
4173
|
"name": {
|
|
4096
|
-
"description": "
|
|
4174
|
+
"description": "Prompt name",
|
|
4097
4175
|
"name": "name",
|
|
4098
4176
|
"hasDynamicHelp": false,
|
|
4099
4177
|
"multiple": false,
|
|
4100
4178
|
"type": "option"
|
|
4101
4179
|
},
|
|
4102
|
-
"
|
|
4103
|
-
"description": "
|
|
4104
|
-
"name": "
|
|
4180
|
+
"description": {
|
|
4181
|
+
"description": "Prompt description",
|
|
4182
|
+
"name": "description",
|
|
4183
|
+
"hasDynamicHelp": false,
|
|
4184
|
+
"multiple": false,
|
|
4185
|
+
"type": "option"
|
|
4186
|
+
}
|
|
4187
|
+
},
|
|
4188
|
+
"hasDynamicHelp": false,
|
|
4189
|
+
"hiddenAliases": [],
|
|
4190
|
+
"id": "prompts:update",
|
|
4191
|
+
"pluginAlias": "@respan/cli",
|
|
4192
|
+
"pluginName": "@respan/cli",
|
|
4193
|
+
"pluginType": "core",
|
|
4194
|
+
"strict": true,
|
|
4195
|
+
"enableJsonFlag": false,
|
|
4196
|
+
"isESM": true,
|
|
4197
|
+
"relativePath": [
|
|
4198
|
+
"dist",
|
|
4199
|
+
"commands",
|
|
4200
|
+
"prompts",
|
|
4201
|
+
"update.js"
|
|
4202
|
+
]
|
|
4203
|
+
},
|
|
4204
|
+
"prompts:versions": {
|
|
4205
|
+
"aliases": [],
|
|
4206
|
+
"args": {
|
|
4207
|
+
"prompt-id": {
|
|
4208
|
+
"description": "Prompt ID",
|
|
4209
|
+
"name": "prompt-id",
|
|
4210
|
+
"required": true
|
|
4211
|
+
}
|
|
4212
|
+
},
|
|
4213
|
+
"description": "List versions of a prompt",
|
|
4214
|
+
"flags": {
|
|
4215
|
+
"api-key": {
|
|
4216
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
4217
|
+
"env": "RESPAN_API_KEY",
|
|
4218
|
+
"name": "api-key",
|
|
4105
4219
|
"hasDynamicHelp": false,
|
|
4106
4220
|
"multiple": false,
|
|
4107
4221
|
"type": "option"
|
|
4108
4222
|
},
|
|
4109
|
-
"
|
|
4110
|
-
"description": "
|
|
4111
|
-
"name": "
|
|
4223
|
+
"base-url": {
|
|
4224
|
+
"description": "Temporary API base URL override for this command",
|
|
4225
|
+
"name": "base-url",
|
|
4226
|
+
"hasDynamicHelp": false,
|
|
4227
|
+
"multiple": false,
|
|
4228
|
+
"type": "option"
|
|
4229
|
+
},
|
|
4230
|
+
"profile": {
|
|
4231
|
+
"description": "Named profile to use",
|
|
4232
|
+
"name": "profile",
|
|
4112
4233
|
"hasDynamicHelp": false,
|
|
4113
4234
|
"multiple": false,
|
|
4114
4235
|
"type": "option"
|
|
4236
|
+
},
|
|
4237
|
+
"json": {
|
|
4238
|
+
"description": "Output as JSON",
|
|
4239
|
+
"name": "json",
|
|
4240
|
+
"allowNo": false,
|
|
4241
|
+
"type": "boolean"
|
|
4242
|
+
},
|
|
4243
|
+
"csv": {
|
|
4244
|
+
"description": "Output as CSV",
|
|
4245
|
+
"name": "csv",
|
|
4246
|
+
"allowNo": false,
|
|
4247
|
+
"type": "boolean"
|
|
4248
|
+
},
|
|
4249
|
+
"verbose": {
|
|
4250
|
+
"char": "v",
|
|
4251
|
+
"description": "Show verbose output",
|
|
4252
|
+
"name": "verbose",
|
|
4253
|
+
"allowNo": false,
|
|
4254
|
+
"type": "boolean"
|
|
4115
4255
|
}
|
|
4116
4256
|
},
|
|
4117
4257
|
"hasDynamicHelp": false,
|
|
4118
4258
|
"hiddenAliases": [],
|
|
4119
|
-
"id": "
|
|
4259
|
+
"id": "prompts:versions",
|
|
4120
4260
|
"pluginAlias": "@respan/cli",
|
|
4121
4261
|
"pluginName": "@respan/cli",
|
|
4122
4262
|
"pluginType": "core",
|
|
@@ -4126,10 +4266,10 @@
|
|
|
4126
4266
|
"relativePath": [
|
|
4127
4267
|
"dist",
|
|
4128
4268
|
"commands",
|
|
4129
|
-
"
|
|
4130
|
-
"
|
|
4269
|
+
"prompts",
|
|
4270
|
+
"versions.js"
|
|
4131
4271
|
]
|
|
4132
4272
|
}
|
|
4133
4273
|
},
|
|
4134
|
-
"version": "0.
|
|
4274
|
+
"version": "0.12.0"
|
|
4135
4275
|
}
|