@respan/cli 0.6.6 → 0.6.8
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/hooks/gemini-cli.cjs +31 -3
- package/dist/hooks/gemini-cli.js +37 -4
- package/oclif.manifest.json +549 -549
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -1583,17 +1583,10 @@
|
|
|
1583
1583
|
"list.js"
|
|
1584
1584
|
]
|
|
1585
1585
|
},
|
|
1586
|
-
"
|
|
1586
|
+
"logs:create": {
|
|
1587
1587
|
"aliases": [],
|
|
1588
1588
|
"args": {},
|
|
1589
|
-
"description": "
|
|
1590
|
-
"examples": [
|
|
1591
|
-
"respan integrate claude-code",
|
|
1592
|
-
"respan integrate claude-code --global",
|
|
1593
|
-
"respan integrate claude-code --local --project-id my-project",
|
|
1594
|
-
"respan integrate claude-code --attrs '{\"env\":\"prod\"}'",
|
|
1595
|
-
"respan integrate claude-code --dry-run"
|
|
1596
|
-
],
|
|
1589
|
+
"description": "Create a log span",
|
|
1597
1590
|
"flags": {
|
|
1598
1591
|
"api-key": {
|
|
1599
1592
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1629,80 +1622,101 @@
|
|
|
1629
1622
|
"allowNo": false,
|
|
1630
1623
|
"type": "boolean"
|
|
1631
1624
|
},
|
|
1632
|
-
"
|
|
1633
|
-
"description": "
|
|
1634
|
-
"
|
|
1635
|
-
|
|
1636
|
-
],
|
|
1637
|
-
"name": "local",
|
|
1638
|
-
"allowNo": false,
|
|
1639
|
-
"type": "boolean"
|
|
1640
|
-
},
|
|
1641
|
-
"global": {
|
|
1642
|
-
"description": "Write user-level global config",
|
|
1643
|
-
"exclusive": [
|
|
1644
|
-
"local"
|
|
1645
|
-
],
|
|
1646
|
-
"name": "global",
|
|
1647
|
-
"allowNo": false,
|
|
1648
|
-
"type": "boolean"
|
|
1649
|
-
},
|
|
1650
|
-
"project-id": {
|
|
1651
|
-
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
1652
|
-
"env": "RESPAN_PROJECT_ID",
|
|
1653
|
-
"name": "project-id",
|
|
1625
|
+
"input": {
|
|
1626
|
+
"description": "Input text or JSON",
|
|
1627
|
+
"name": "input",
|
|
1628
|
+
"required": true,
|
|
1654
1629
|
"hasDynamicHelp": false,
|
|
1655
1630
|
"multiple": false,
|
|
1656
1631
|
"type": "option"
|
|
1657
1632
|
},
|
|
1658
|
-
"
|
|
1659
|
-
"description": "
|
|
1660
|
-
"name": "
|
|
1661
|
-
"default": "https://api.respan.ai/api",
|
|
1633
|
+
"output": {
|
|
1634
|
+
"description": "Output text or JSON",
|
|
1635
|
+
"name": "output",
|
|
1662
1636
|
"hasDynamicHelp": false,
|
|
1663
1637
|
"multiple": false,
|
|
1664
1638
|
"type": "option"
|
|
1665
1639
|
},
|
|
1666
|
-
"
|
|
1667
|
-
"description": "
|
|
1668
|
-
"name": "
|
|
1669
|
-
"default": "{}",
|
|
1640
|
+
"model": {
|
|
1641
|
+
"description": "Model name",
|
|
1642
|
+
"name": "model",
|
|
1670
1643
|
"hasDynamicHelp": false,
|
|
1671
1644
|
"multiple": false,
|
|
1672
1645
|
"type": "option"
|
|
1673
1646
|
},
|
|
1674
|
-
"
|
|
1675
|
-
"description": "
|
|
1676
|
-
"
|
|
1677
|
-
"name": "customer-id",
|
|
1647
|
+
"metadata": {
|
|
1648
|
+
"description": "Metadata as JSON string",
|
|
1649
|
+
"name": "metadata",
|
|
1678
1650
|
"hasDynamicHelp": false,
|
|
1679
1651
|
"multiple": false,
|
|
1680
1652
|
"type": "option"
|
|
1681
|
-
}
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1653
|
+
}
|
|
1654
|
+
},
|
|
1655
|
+
"hasDynamicHelp": false,
|
|
1656
|
+
"hiddenAliases": [],
|
|
1657
|
+
"id": "logs:create",
|
|
1658
|
+
"pluginAlias": "@respan/cli",
|
|
1659
|
+
"pluginName": "@respan/cli",
|
|
1660
|
+
"pluginType": "core",
|
|
1661
|
+
"strict": true,
|
|
1662
|
+
"enableJsonFlag": false,
|
|
1663
|
+
"isESM": true,
|
|
1664
|
+
"relativePath": [
|
|
1665
|
+
"dist",
|
|
1666
|
+
"commands",
|
|
1667
|
+
"logs",
|
|
1668
|
+
"create.js"
|
|
1669
|
+
]
|
|
1670
|
+
},
|
|
1671
|
+
"logs:get": {
|
|
1672
|
+
"aliases": [],
|
|
1673
|
+
"args": {
|
|
1674
|
+
"id": {
|
|
1675
|
+
"description": "Span ID",
|
|
1676
|
+
"name": "id",
|
|
1677
|
+
"required": true
|
|
1678
|
+
}
|
|
1679
|
+
},
|
|
1680
|
+
"description": "Get a specific log span",
|
|
1681
|
+
"flags": {
|
|
1682
|
+
"api-key": {
|
|
1683
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
1684
|
+
"env": "RESPAN_API_KEY",
|
|
1685
|
+
"name": "api-key",
|
|
1685
1686
|
"hasDynamicHelp": false,
|
|
1686
1687
|
"multiple": false,
|
|
1687
1688
|
"type": "option"
|
|
1688
1689
|
},
|
|
1689
|
-
"
|
|
1690
|
-
"description": "
|
|
1691
|
-
"name": "
|
|
1690
|
+
"profile": {
|
|
1691
|
+
"description": "Named profile to use",
|
|
1692
|
+
"name": "profile",
|
|
1692
1693
|
"hasDynamicHelp": false,
|
|
1693
1694
|
"multiple": false,
|
|
1694
1695
|
"type": "option"
|
|
1695
1696
|
},
|
|
1696
|
-
"
|
|
1697
|
-
"description": "
|
|
1698
|
-
"name": "
|
|
1697
|
+
"json": {
|
|
1698
|
+
"description": "Output as JSON",
|
|
1699
|
+
"name": "json",
|
|
1700
|
+
"allowNo": false,
|
|
1701
|
+
"type": "boolean"
|
|
1702
|
+
},
|
|
1703
|
+
"csv": {
|
|
1704
|
+
"description": "Output as CSV",
|
|
1705
|
+
"name": "csv",
|
|
1706
|
+
"allowNo": false,
|
|
1707
|
+
"type": "boolean"
|
|
1708
|
+
},
|
|
1709
|
+
"verbose": {
|
|
1710
|
+
"char": "v",
|
|
1711
|
+
"description": "Show verbose output",
|
|
1712
|
+
"name": "verbose",
|
|
1699
1713
|
"allowNo": false,
|
|
1700
1714
|
"type": "boolean"
|
|
1701
1715
|
}
|
|
1702
1716
|
},
|
|
1703
1717
|
"hasDynamicHelp": false,
|
|
1704
1718
|
"hiddenAliases": [],
|
|
1705
|
-
"id": "
|
|
1719
|
+
"id": "logs:get",
|
|
1706
1720
|
"pluginAlias": "@respan/cli",
|
|
1707
1721
|
"pluginName": "@respan/cli",
|
|
1708
1722
|
"pluginType": "core",
|
|
@@ -1712,21 +1726,14 @@
|
|
|
1712
1726
|
"relativePath": [
|
|
1713
1727
|
"dist",
|
|
1714
1728
|
"commands",
|
|
1715
|
-
"
|
|
1716
|
-
"
|
|
1729
|
+
"logs",
|
|
1730
|
+
"get.js"
|
|
1717
1731
|
]
|
|
1718
1732
|
},
|
|
1719
|
-
"
|
|
1733
|
+
"logs:list": {
|
|
1720
1734
|
"aliases": [],
|
|
1721
1735
|
"args": {},
|
|
1722
|
-
"description": "
|
|
1723
|
-
"examples": [
|
|
1724
|
-
"respan integrate codex-cli",
|
|
1725
|
-
"respan integrate codex-cli --global",
|
|
1726
|
-
"respan integrate codex-cli --local --customer-id frank",
|
|
1727
|
-
"respan integrate codex-cli --attrs '{\"env\":\"prod\"}'",
|
|
1728
|
-
"respan integrate codex-cli --dry-run"
|
|
1729
|
-
],
|
|
1736
|
+
"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",
|
|
1730
1737
|
"flags": {
|
|
1731
1738
|
"api-key": {
|
|
1732
1739
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1762,80 +1769,75 @@
|
|
|
1762
1769
|
"allowNo": false,
|
|
1763
1770
|
"type": "boolean"
|
|
1764
1771
|
},
|
|
1765
|
-
"
|
|
1766
|
-
"description": "
|
|
1767
|
-
"
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
"
|
|
1771
|
-
"
|
|
1772
|
-
"type": "boolean"
|
|
1773
|
-
},
|
|
1774
|
-
"global": {
|
|
1775
|
-
"description": "Write user-level global config",
|
|
1776
|
-
"exclusive": [
|
|
1777
|
-
"local"
|
|
1778
|
-
],
|
|
1779
|
-
"name": "global",
|
|
1780
|
-
"allowNo": false,
|
|
1781
|
-
"type": "boolean"
|
|
1772
|
+
"limit": {
|
|
1773
|
+
"description": "Number of results per page (max 1000)",
|
|
1774
|
+
"name": "limit",
|
|
1775
|
+
"default": 50,
|
|
1776
|
+
"hasDynamicHelp": false,
|
|
1777
|
+
"multiple": false,
|
|
1778
|
+
"type": "option"
|
|
1782
1779
|
},
|
|
1783
|
-
"
|
|
1784
|
-
"description": "
|
|
1785
|
-
"
|
|
1786
|
-
"
|
|
1780
|
+
"page": {
|
|
1781
|
+
"description": "Page number",
|
|
1782
|
+
"name": "page",
|
|
1783
|
+
"default": 1,
|
|
1787
1784
|
"hasDynamicHelp": false,
|
|
1788
1785
|
"multiple": false,
|
|
1789
1786
|
"type": "option"
|
|
1790
1787
|
},
|
|
1791
|
-
"
|
|
1792
|
-
"description": "
|
|
1793
|
-
"name": "
|
|
1794
|
-
"default": "https://api.respan.ai/api",
|
|
1788
|
+
"sort-by": {
|
|
1789
|
+
"description": "Sort field (prefix with - for descending, e.g. -cost, -latency)",
|
|
1790
|
+
"name": "sort-by",
|
|
1795
1791
|
"hasDynamicHelp": false,
|
|
1796
1792
|
"multiple": false,
|
|
1797
1793
|
"type": "option"
|
|
1798
1794
|
},
|
|
1799
|
-
"
|
|
1800
|
-
"description": "
|
|
1801
|
-
"name": "
|
|
1802
|
-
"default": "{}",
|
|
1795
|
+
"start-time": {
|
|
1796
|
+
"description": "Start time filter (ISO 8601)",
|
|
1797
|
+
"name": "start-time",
|
|
1803
1798
|
"hasDynamicHelp": false,
|
|
1804
1799
|
"multiple": false,
|
|
1805
1800
|
"type": "option"
|
|
1806
1801
|
},
|
|
1807
|
-
"
|
|
1808
|
-
"description": "
|
|
1809
|
-
"
|
|
1810
|
-
"name": "customer-id",
|
|
1802
|
+
"end-time": {
|
|
1803
|
+
"description": "End time filter (ISO 8601)",
|
|
1804
|
+
"name": "end-time",
|
|
1811
1805
|
"hasDynamicHelp": false,
|
|
1812
1806
|
"multiple": false,
|
|
1813
1807
|
"type": "option"
|
|
1814
1808
|
},
|
|
1815
|
-
"
|
|
1816
|
-
"description": "
|
|
1817
|
-
"name": "
|
|
1809
|
+
"filter": {
|
|
1810
|
+
"description": "Filter in field:operator:value format (repeatable)",
|
|
1811
|
+
"name": "filter",
|
|
1812
|
+
"hasDynamicHelp": false,
|
|
1813
|
+
"multiple": true,
|
|
1814
|
+
"type": "option"
|
|
1815
|
+
},
|
|
1816
|
+
"all-envs": {
|
|
1817
|
+
"description": "Include all environments (true/false)",
|
|
1818
|
+
"name": "all-envs",
|
|
1818
1819
|
"hasDynamicHelp": false,
|
|
1819
1820
|
"multiple": false,
|
|
1820
1821
|
"type": "option"
|
|
1821
1822
|
},
|
|
1822
|
-
"
|
|
1823
|
-
"description": "
|
|
1824
|
-
"name": "
|
|
1823
|
+
"is-test": {
|
|
1824
|
+
"description": "Filter by test (true) or production (false) environment",
|
|
1825
|
+
"name": "is-test",
|
|
1825
1826
|
"hasDynamicHelp": false,
|
|
1826
1827
|
"multiple": false,
|
|
1827
1828
|
"type": "option"
|
|
1828
1829
|
},
|
|
1829
|
-
"
|
|
1830
|
-
"description": "
|
|
1831
|
-
"name": "
|
|
1832
|
-
"
|
|
1833
|
-
"
|
|
1830
|
+
"include-fields": {
|
|
1831
|
+
"description": "Comma-separated fields to include in response",
|
|
1832
|
+
"name": "include-fields",
|
|
1833
|
+
"hasDynamicHelp": false,
|
|
1834
|
+
"multiple": false,
|
|
1835
|
+
"type": "option"
|
|
1834
1836
|
}
|
|
1835
1837
|
},
|
|
1836
1838
|
"hasDynamicHelp": false,
|
|
1837
1839
|
"hiddenAliases": [],
|
|
1838
|
-
"id": "
|
|
1840
|
+
"id": "logs:list",
|
|
1839
1841
|
"pluginAlias": "@respan/cli",
|
|
1840
1842
|
"pluginName": "@respan/cli",
|
|
1841
1843
|
"pluginType": "core",
|
|
@@ -1845,20 +1847,14 @@
|
|
|
1845
1847
|
"relativePath": [
|
|
1846
1848
|
"dist",
|
|
1847
1849
|
"commands",
|
|
1848
|
-
"
|
|
1849
|
-
"
|
|
1850
|
+
"logs",
|
|
1851
|
+
"list.js"
|
|
1850
1852
|
]
|
|
1851
1853
|
},
|
|
1852
|
-
"
|
|
1854
|
+
"logs:summary": {
|
|
1853
1855
|
"aliases": [],
|
|
1854
1856
|
"args": {},
|
|
1855
|
-
"description": "
|
|
1856
|
-
"examples": [
|
|
1857
|
-
"respan integrate gemini-cli",
|
|
1858
|
-
"respan integrate gemini-cli --local",
|
|
1859
|
-
"respan integrate gemini-cli --project-id my-project --attrs '{\"env\":\"prod\"}'",
|
|
1860
|
-
"respan integrate gemini-cli --dry-run"
|
|
1861
|
-
],
|
|
1857
|
+
"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",
|
|
1862
1858
|
"flags": {
|
|
1863
1859
|
"api-key": {
|
|
1864
1860
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1894,212 +1890,47 @@
|
|
|
1894
1890
|
"allowNo": false,
|
|
1895
1891
|
"type": "boolean"
|
|
1896
1892
|
},
|
|
1897
|
-
"
|
|
1898
|
-
"description": "
|
|
1899
|
-
"
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
"
|
|
1903
|
-
"
|
|
1904
|
-
"type": "boolean"
|
|
1893
|
+
"start-time": {
|
|
1894
|
+
"description": "Start time (ISO 8601)",
|
|
1895
|
+
"name": "start-time",
|
|
1896
|
+
"required": true,
|
|
1897
|
+
"hasDynamicHelp": false,
|
|
1898
|
+
"multiple": false,
|
|
1899
|
+
"type": "option"
|
|
1905
1900
|
},
|
|
1906
|
-
"
|
|
1907
|
-
"description": "
|
|
1908
|
-
"
|
|
1909
|
-
|
|
1910
|
-
],
|
|
1911
|
-
"name": "global",
|
|
1912
|
-
"allowNo": false,
|
|
1913
|
-
"type": "boolean"
|
|
1914
|
-
},
|
|
1915
|
-
"project-id": {
|
|
1916
|
-
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
1917
|
-
"env": "RESPAN_PROJECT_ID",
|
|
1918
|
-
"name": "project-id",
|
|
1919
|
-
"hasDynamicHelp": false,
|
|
1920
|
-
"multiple": false,
|
|
1921
|
-
"type": "option"
|
|
1922
|
-
},
|
|
1923
|
-
"base-url": {
|
|
1924
|
-
"description": "Respan API base URL (for enterprise deployments)",
|
|
1925
|
-
"name": "base-url",
|
|
1926
|
-
"default": "https://api.respan.ai/api",
|
|
1927
|
-
"hasDynamicHelp": false,
|
|
1928
|
-
"multiple": false,
|
|
1929
|
-
"type": "option"
|
|
1930
|
-
},
|
|
1931
|
-
"attrs": {
|
|
1932
|
-
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
1933
|
-
"name": "attrs",
|
|
1934
|
-
"default": "{}",
|
|
1935
|
-
"hasDynamicHelp": false,
|
|
1936
|
-
"multiple": false,
|
|
1937
|
-
"type": "option"
|
|
1938
|
-
},
|
|
1939
|
-
"customer-id": {
|
|
1940
|
-
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
1941
|
-
"env": "RESPAN_CUSTOMER_ID",
|
|
1942
|
-
"name": "customer-id",
|
|
1943
|
-
"hasDynamicHelp": false,
|
|
1944
|
-
"multiple": false,
|
|
1945
|
-
"type": "option"
|
|
1946
|
-
},
|
|
1947
|
-
"span-name": {
|
|
1948
|
-
"description": "Root span name for traces (default: claude-code)",
|
|
1949
|
-
"name": "span-name",
|
|
1950
|
-
"hasDynamicHelp": false,
|
|
1951
|
-
"multiple": false,
|
|
1952
|
-
"type": "option"
|
|
1953
|
-
},
|
|
1954
|
-
"workflow-name": {
|
|
1955
|
-
"description": "Workflow name for traces (default: claude-code)",
|
|
1956
|
-
"name": "workflow-name",
|
|
1957
|
-
"hasDynamicHelp": false,
|
|
1958
|
-
"multiple": false,
|
|
1959
|
-
"type": "option"
|
|
1960
|
-
},
|
|
1961
|
-
"dry-run": {
|
|
1962
|
-
"description": "Preview changes without writing files",
|
|
1963
|
-
"name": "dry-run",
|
|
1964
|
-
"allowNo": false,
|
|
1965
|
-
"type": "boolean"
|
|
1966
|
-
}
|
|
1967
|
-
},
|
|
1968
|
-
"hasDynamicHelp": false,
|
|
1969
|
-
"hiddenAliases": [],
|
|
1970
|
-
"id": "integrate:gemini-cli",
|
|
1971
|
-
"pluginAlias": "@respan/cli",
|
|
1972
|
-
"pluginName": "@respan/cli",
|
|
1973
|
-
"pluginType": "core",
|
|
1974
|
-
"strict": true,
|
|
1975
|
-
"enableJsonFlag": false,
|
|
1976
|
-
"isESM": true,
|
|
1977
|
-
"relativePath": [
|
|
1978
|
-
"dist",
|
|
1979
|
-
"commands",
|
|
1980
|
-
"integrate",
|
|
1981
|
-
"gemini-cli.js"
|
|
1982
|
-
]
|
|
1983
|
-
},
|
|
1984
|
-
"integrate:opencode": {
|
|
1985
|
-
"aliases": [],
|
|
1986
|
-
"args": {},
|
|
1987
|
-
"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.",
|
|
1988
|
-
"examples": [
|
|
1989
|
-
"respan integrate opencode",
|
|
1990
|
-
"respan integrate opencode --global",
|
|
1991
|
-
"respan integrate opencode --project-id my-project --attrs '{\"env\":\"prod\"}'",
|
|
1992
|
-
"respan integrate opencode --dry-run"
|
|
1993
|
-
],
|
|
1994
|
-
"flags": {
|
|
1995
|
-
"api-key": {
|
|
1996
|
-
"description": "API key (env: RESPAN_API_KEY)",
|
|
1997
|
-
"env": "RESPAN_API_KEY",
|
|
1998
|
-
"name": "api-key",
|
|
1999
|
-
"hasDynamicHelp": false,
|
|
2000
|
-
"multiple": false,
|
|
2001
|
-
"type": "option"
|
|
2002
|
-
},
|
|
2003
|
-
"profile": {
|
|
2004
|
-
"description": "Named profile to use",
|
|
2005
|
-
"name": "profile",
|
|
2006
|
-
"hasDynamicHelp": false,
|
|
2007
|
-
"multiple": false,
|
|
2008
|
-
"type": "option"
|
|
2009
|
-
},
|
|
2010
|
-
"json": {
|
|
2011
|
-
"description": "Output as JSON",
|
|
2012
|
-
"name": "json",
|
|
2013
|
-
"allowNo": false,
|
|
2014
|
-
"type": "boolean"
|
|
2015
|
-
},
|
|
2016
|
-
"csv": {
|
|
2017
|
-
"description": "Output as CSV",
|
|
2018
|
-
"name": "csv",
|
|
2019
|
-
"allowNo": false,
|
|
2020
|
-
"type": "boolean"
|
|
2021
|
-
},
|
|
2022
|
-
"verbose": {
|
|
2023
|
-
"char": "v",
|
|
2024
|
-
"description": "Show verbose output",
|
|
2025
|
-
"name": "verbose",
|
|
2026
|
-
"allowNo": false,
|
|
2027
|
-
"type": "boolean"
|
|
2028
|
-
},
|
|
2029
|
-
"local": {
|
|
2030
|
-
"description": "Write per-project config (default)",
|
|
2031
|
-
"exclusive": [
|
|
2032
|
-
"global"
|
|
2033
|
-
],
|
|
2034
|
-
"name": "local",
|
|
2035
|
-
"allowNo": false,
|
|
2036
|
-
"type": "boolean"
|
|
2037
|
-
},
|
|
2038
|
-
"global": {
|
|
2039
|
-
"description": "Write user-level global config",
|
|
2040
|
-
"exclusive": [
|
|
2041
|
-
"local"
|
|
2042
|
-
],
|
|
2043
|
-
"name": "global",
|
|
2044
|
-
"allowNo": false,
|
|
2045
|
-
"type": "boolean"
|
|
2046
|
-
},
|
|
2047
|
-
"project-id": {
|
|
2048
|
-
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
2049
|
-
"env": "RESPAN_PROJECT_ID",
|
|
2050
|
-
"name": "project-id",
|
|
2051
|
-
"hasDynamicHelp": false,
|
|
2052
|
-
"multiple": false,
|
|
2053
|
-
"type": "option"
|
|
2054
|
-
},
|
|
2055
|
-
"base-url": {
|
|
2056
|
-
"description": "Respan API base URL (for enterprise deployments)",
|
|
2057
|
-
"name": "base-url",
|
|
2058
|
-
"default": "https://api.respan.ai/api",
|
|
2059
|
-
"hasDynamicHelp": false,
|
|
2060
|
-
"multiple": false,
|
|
2061
|
-
"type": "option"
|
|
2062
|
-
},
|
|
2063
|
-
"attrs": {
|
|
2064
|
-
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
2065
|
-
"name": "attrs",
|
|
2066
|
-
"default": "{}",
|
|
1901
|
+
"end-time": {
|
|
1902
|
+
"description": "End time (ISO 8601)",
|
|
1903
|
+
"name": "end-time",
|
|
1904
|
+
"required": true,
|
|
2067
1905
|
"hasDynamicHelp": false,
|
|
2068
1906
|
"multiple": false,
|
|
2069
1907
|
"type": "option"
|
|
2070
1908
|
},
|
|
2071
|
-
"
|
|
2072
|
-
"description": "
|
|
2073
|
-
"
|
|
2074
|
-
"name": "customer-id",
|
|
1909
|
+
"filter": {
|
|
1910
|
+
"description": "Filter in field:operator:value format (repeatable)",
|
|
1911
|
+
"name": "filter",
|
|
2075
1912
|
"hasDynamicHelp": false,
|
|
2076
|
-
"multiple":
|
|
1913
|
+
"multiple": true,
|
|
2077
1914
|
"type": "option"
|
|
2078
1915
|
},
|
|
2079
|
-
"
|
|
2080
|
-
"description": "
|
|
2081
|
-
"name": "
|
|
1916
|
+
"all-envs": {
|
|
1917
|
+
"description": "Include all environments (true/false)",
|
|
1918
|
+
"name": "all-envs",
|
|
2082
1919
|
"hasDynamicHelp": false,
|
|
2083
1920
|
"multiple": false,
|
|
2084
1921
|
"type": "option"
|
|
2085
1922
|
},
|
|
2086
|
-
"
|
|
2087
|
-
"description": "
|
|
2088
|
-
"name": "
|
|
1923
|
+
"is-test": {
|
|
1924
|
+
"description": "Filter by test (true) or production (false) environment",
|
|
1925
|
+
"name": "is-test",
|
|
2089
1926
|
"hasDynamicHelp": false,
|
|
2090
1927
|
"multiple": false,
|
|
2091
1928
|
"type": "option"
|
|
2092
|
-
},
|
|
2093
|
-
"dry-run": {
|
|
2094
|
-
"description": "Preview changes without writing files",
|
|
2095
|
-
"name": "dry-run",
|
|
2096
|
-
"allowNo": false,
|
|
2097
|
-
"type": "boolean"
|
|
2098
1929
|
}
|
|
2099
1930
|
},
|
|
2100
1931
|
"hasDynamicHelp": false,
|
|
2101
1932
|
"hiddenAliases": [],
|
|
2102
|
-
"id": "
|
|
1933
|
+
"id": "logs:summary",
|
|
2103
1934
|
"pluginAlias": "@respan/cli",
|
|
2104
1935
|
"pluginName": "@respan/cli",
|
|
2105
1936
|
"pluginType": "core",
|
|
@@ -2109,8 +1940,8 @@
|
|
|
2109
1940
|
"relativePath": [
|
|
2110
1941
|
"dist",
|
|
2111
1942
|
"commands",
|
|
2112
|
-
"
|
|
2113
|
-
"
|
|
1943
|
+
"logs",
|
|
1944
|
+
"summary.js"
|
|
2114
1945
|
]
|
|
2115
1946
|
},
|
|
2116
1947
|
"prompts:create-version": {
|
|
@@ -2539,16 +2370,17 @@
|
|
|
2539
2370
|
"versions.js"
|
|
2540
2371
|
]
|
|
2541
2372
|
},
|
|
2542
|
-
"
|
|
2373
|
+
"integrate:claude-code": {
|
|
2543
2374
|
"aliases": [],
|
|
2544
|
-
"args": {
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2375
|
+
"args": {},
|
|
2376
|
+
"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 (default) Both: install hook globally + enable for current project",
|
|
2377
|
+
"examples": [
|
|
2378
|
+
"respan integrate claude-code",
|
|
2379
|
+
"respan integrate claude-code --global",
|
|
2380
|
+
"respan integrate claude-code --local --project-id my-project",
|
|
2381
|
+
"respan integrate claude-code --attrs '{\"env\":\"prod\"}'",
|
|
2382
|
+
"respan integrate claude-code --dry-run"
|
|
2383
|
+
],
|
|
2552
2384
|
"flags": {
|
|
2553
2385
|
"api-key": {
|
|
2554
2386
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2583,43 +2415,120 @@
|
|
|
2583
2415
|
"name": "verbose",
|
|
2584
2416
|
"allowNo": false,
|
|
2585
2417
|
"type": "boolean"
|
|
2586
|
-
}
|
|
2587
|
-
},
|
|
2588
|
-
"hasDynamicHelp": false,
|
|
2589
|
-
"hiddenAliases": [],
|
|
2590
|
-
"id": "traces:get",
|
|
2591
|
-
"pluginAlias": "@respan/cli",
|
|
2592
|
-
"pluginName": "@respan/cli",
|
|
2593
|
-
"pluginType": "core",
|
|
2594
|
-
"strict": true,
|
|
2595
|
-
"enableJsonFlag": false,
|
|
2596
|
-
"isESM": true,
|
|
2597
|
-
"relativePath": [
|
|
2598
|
-
"dist",
|
|
2599
|
-
"commands",
|
|
2600
|
-
"traces",
|
|
2601
|
-
"get.js"
|
|
2602
|
-
]
|
|
2603
|
-
},
|
|
2604
|
-
"traces:list": {
|
|
2605
|
-
"aliases": [],
|
|
2606
|
-
"args": {},
|
|
2607
|
-
"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",
|
|
2608
|
-
"flags": {
|
|
2609
|
-
"api-key": {
|
|
2610
|
-
"description": "API key (env: RESPAN_API_KEY)",
|
|
2611
|
-
"env": "RESPAN_API_KEY",
|
|
2612
|
-
"name": "api-key",
|
|
2613
|
-
"hasDynamicHelp": false,
|
|
2614
|
-
"multiple": false,
|
|
2615
|
-
"type": "option"
|
|
2616
2418
|
},
|
|
2617
|
-
"
|
|
2618
|
-
"description": "
|
|
2619
|
-
"
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
"
|
|
2419
|
+
"local": {
|
|
2420
|
+
"description": "Write per-project config (default)",
|
|
2421
|
+
"exclusive": [
|
|
2422
|
+
"global"
|
|
2423
|
+
],
|
|
2424
|
+
"name": "local",
|
|
2425
|
+
"allowNo": false,
|
|
2426
|
+
"type": "boolean"
|
|
2427
|
+
},
|
|
2428
|
+
"global": {
|
|
2429
|
+
"description": "Write user-level global config",
|
|
2430
|
+
"exclusive": [
|
|
2431
|
+
"local"
|
|
2432
|
+
],
|
|
2433
|
+
"name": "global",
|
|
2434
|
+
"allowNo": false,
|
|
2435
|
+
"type": "boolean"
|
|
2436
|
+
},
|
|
2437
|
+
"project-id": {
|
|
2438
|
+
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
2439
|
+
"env": "RESPAN_PROJECT_ID",
|
|
2440
|
+
"name": "project-id",
|
|
2441
|
+
"hasDynamicHelp": false,
|
|
2442
|
+
"multiple": false,
|
|
2443
|
+
"type": "option"
|
|
2444
|
+
},
|
|
2445
|
+
"base-url": {
|
|
2446
|
+
"description": "Respan API base URL (for enterprise deployments)",
|
|
2447
|
+
"name": "base-url",
|
|
2448
|
+
"default": "https://api.respan.ai/api",
|
|
2449
|
+
"hasDynamicHelp": false,
|
|
2450
|
+
"multiple": false,
|
|
2451
|
+
"type": "option"
|
|
2452
|
+
},
|
|
2453
|
+
"attrs": {
|
|
2454
|
+
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
2455
|
+
"name": "attrs",
|
|
2456
|
+
"default": "{}",
|
|
2457
|
+
"hasDynamicHelp": false,
|
|
2458
|
+
"multiple": false,
|
|
2459
|
+
"type": "option"
|
|
2460
|
+
},
|
|
2461
|
+
"customer-id": {
|
|
2462
|
+
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
2463
|
+
"env": "RESPAN_CUSTOMER_ID",
|
|
2464
|
+
"name": "customer-id",
|
|
2465
|
+
"hasDynamicHelp": false,
|
|
2466
|
+
"multiple": false,
|
|
2467
|
+
"type": "option"
|
|
2468
|
+
},
|
|
2469
|
+
"span-name": {
|
|
2470
|
+
"description": "Root span name for traces (default: claude-code)",
|
|
2471
|
+
"name": "span-name",
|
|
2472
|
+
"hasDynamicHelp": false,
|
|
2473
|
+
"multiple": false,
|
|
2474
|
+
"type": "option"
|
|
2475
|
+
},
|
|
2476
|
+
"workflow-name": {
|
|
2477
|
+
"description": "Workflow name for traces (default: claude-code)",
|
|
2478
|
+
"name": "workflow-name",
|
|
2479
|
+
"hasDynamicHelp": false,
|
|
2480
|
+
"multiple": false,
|
|
2481
|
+
"type": "option"
|
|
2482
|
+
},
|
|
2483
|
+
"dry-run": {
|
|
2484
|
+
"description": "Preview changes without writing files",
|
|
2485
|
+
"name": "dry-run",
|
|
2486
|
+
"allowNo": false,
|
|
2487
|
+
"type": "boolean"
|
|
2488
|
+
}
|
|
2489
|
+
},
|
|
2490
|
+
"hasDynamicHelp": false,
|
|
2491
|
+
"hiddenAliases": [],
|
|
2492
|
+
"id": "integrate:claude-code",
|
|
2493
|
+
"pluginAlias": "@respan/cli",
|
|
2494
|
+
"pluginName": "@respan/cli",
|
|
2495
|
+
"pluginType": "core",
|
|
2496
|
+
"strict": true,
|
|
2497
|
+
"enableJsonFlag": false,
|
|
2498
|
+
"isESM": true,
|
|
2499
|
+
"relativePath": [
|
|
2500
|
+
"dist",
|
|
2501
|
+
"commands",
|
|
2502
|
+
"integrate",
|
|
2503
|
+
"claude-code.js"
|
|
2504
|
+
]
|
|
2505
|
+
},
|
|
2506
|
+
"integrate:codex-cli": {
|
|
2507
|
+
"aliases": [],
|
|
2508
|
+
"args": {},
|
|
2509
|
+
"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 (default) Both: install hook globally + config for current project",
|
|
2510
|
+
"examples": [
|
|
2511
|
+
"respan integrate codex-cli",
|
|
2512
|
+
"respan integrate codex-cli --global",
|
|
2513
|
+
"respan integrate codex-cli --local --customer-id frank",
|
|
2514
|
+
"respan integrate codex-cli --attrs '{\"env\":\"prod\"}'",
|
|
2515
|
+
"respan integrate codex-cli --dry-run"
|
|
2516
|
+
],
|
|
2517
|
+
"flags": {
|
|
2518
|
+
"api-key": {
|
|
2519
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
2520
|
+
"env": "RESPAN_API_KEY",
|
|
2521
|
+
"name": "api-key",
|
|
2522
|
+
"hasDynamicHelp": false,
|
|
2523
|
+
"multiple": false,
|
|
2524
|
+
"type": "option"
|
|
2525
|
+
},
|
|
2526
|
+
"profile": {
|
|
2527
|
+
"description": "Named profile to use",
|
|
2528
|
+
"name": "profile",
|
|
2529
|
+
"hasDynamicHelp": false,
|
|
2530
|
+
"multiple": false,
|
|
2531
|
+
"type": "option"
|
|
2623
2532
|
},
|
|
2624
2533
|
"json": {
|
|
2625
2534
|
"description": "Output as JSON",
|
|
@@ -2640,62 +2549,80 @@
|
|
|
2640
2549
|
"allowNo": false,
|
|
2641
2550
|
"type": "boolean"
|
|
2642
2551
|
},
|
|
2643
|
-
"
|
|
2644
|
-
"description": "
|
|
2645
|
-
"
|
|
2646
|
-
|
|
2552
|
+
"local": {
|
|
2553
|
+
"description": "Write per-project config (default)",
|
|
2554
|
+
"exclusive": [
|
|
2555
|
+
"global"
|
|
2556
|
+
],
|
|
2557
|
+
"name": "local",
|
|
2558
|
+
"allowNo": false,
|
|
2559
|
+
"type": "boolean"
|
|
2560
|
+
},
|
|
2561
|
+
"global": {
|
|
2562
|
+
"description": "Write user-level global config",
|
|
2563
|
+
"exclusive": [
|
|
2564
|
+
"local"
|
|
2565
|
+
],
|
|
2566
|
+
"name": "global",
|
|
2567
|
+
"allowNo": false,
|
|
2568
|
+
"type": "boolean"
|
|
2569
|
+
},
|
|
2570
|
+
"project-id": {
|
|
2571
|
+
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
2572
|
+
"env": "RESPAN_PROJECT_ID",
|
|
2573
|
+
"name": "project-id",
|
|
2647
2574
|
"hasDynamicHelp": false,
|
|
2648
2575
|
"multiple": false,
|
|
2649
2576
|
"type": "option"
|
|
2650
2577
|
},
|
|
2651
|
-
"
|
|
2652
|
-
"description": "
|
|
2653
|
-
"name": "
|
|
2654
|
-
"default":
|
|
2578
|
+
"base-url": {
|
|
2579
|
+
"description": "Respan API base URL (for enterprise deployments)",
|
|
2580
|
+
"name": "base-url",
|
|
2581
|
+
"default": "https://api.respan.ai/api",
|
|
2655
2582
|
"hasDynamicHelp": false,
|
|
2656
2583
|
"multiple": false,
|
|
2657
2584
|
"type": "option"
|
|
2658
2585
|
},
|
|
2659
|
-
"
|
|
2660
|
-
"description": "
|
|
2661
|
-
"name": "
|
|
2662
|
-
"default": "
|
|
2586
|
+
"attrs": {
|
|
2587
|
+
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
2588
|
+
"name": "attrs",
|
|
2589
|
+
"default": "{}",
|
|
2663
2590
|
"hasDynamicHelp": false,
|
|
2664
2591
|
"multiple": false,
|
|
2665
2592
|
"type": "option"
|
|
2666
2593
|
},
|
|
2667
|
-
"
|
|
2668
|
-
"description": "
|
|
2669
|
-
"
|
|
2594
|
+
"customer-id": {
|
|
2595
|
+
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
2596
|
+
"env": "RESPAN_CUSTOMER_ID",
|
|
2597
|
+
"name": "customer-id",
|
|
2670
2598
|
"hasDynamicHelp": false,
|
|
2671
2599
|
"multiple": false,
|
|
2672
2600
|
"type": "option"
|
|
2673
2601
|
},
|
|
2674
|
-
"
|
|
2675
|
-
"description": "
|
|
2676
|
-
"name": "
|
|
2602
|
+
"span-name": {
|
|
2603
|
+
"description": "Root span name for traces (default: claude-code)",
|
|
2604
|
+
"name": "span-name",
|
|
2677
2605
|
"hasDynamicHelp": false,
|
|
2678
2606
|
"multiple": false,
|
|
2679
2607
|
"type": "option"
|
|
2680
2608
|
},
|
|
2681
|
-
"
|
|
2682
|
-
"description": "
|
|
2683
|
-
"name": "
|
|
2609
|
+
"workflow-name": {
|
|
2610
|
+
"description": "Workflow name for traces (default: claude-code)",
|
|
2611
|
+
"name": "workflow-name",
|
|
2684
2612
|
"hasDynamicHelp": false,
|
|
2685
2613
|
"multiple": false,
|
|
2686
2614
|
"type": "option"
|
|
2687
2615
|
},
|
|
2688
|
-
"
|
|
2689
|
-
"description": "
|
|
2690
|
-
"name": "
|
|
2691
|
-
"
|
|
2692
|
-
"
|
|
2693
|
-
"type": "option"
|
|
2616
|
+
"dry-run": {
|
|
2617
|
+
"description": "Preview changes without writing files",
|
|
2618
|
+
"name": "dry-run",
|
|
2619
|
+
"allowNo": false,
|
|
2620
|
+
"type": "boolean"
|
|
2694
2621
|
}
|
|
2695
2622
|
},
|
|
2696
2623
|
"hasDynamicHelp": false,
|
|
2697
2624
|
"hiddenAliases": [],
|
|
2698
|
-
"id": "
|
|
2625
|
+
"id": "integrate:codex-cli",
|
|
2699
2626
|
"pluginAlias": "@respan/cli",
|
|
2700
2627
|
"pluginName": "@respan/cli",
|
|
2701
2628
|
"pluginType": "core",
|
|
@@ -2705,14 +2632,20 @@
|
|
|
2705
2632
|
"relativePath": [
|
|
2706
2633
|
"dist",
|
|
2707
2634
|
"commands",
|
|
2708
|
-
"
|
|
2709
|
-
"
|
|
2635
|
+
"integrate",
|
|
2636
|
+
"codex-cli.js"
|
|
2710
2637
|
]
|
|
2711
2638
|
},
|
|
2712
|
-
"
|
|
2639
|
+
"integrate:gemini-cli": {
|
|
2713
2640
|
"aliases": [],
|
|
2714
2641
|
"args": {},
|
|
2715
|
-
"description": "
|
|
2642
|
+
"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\nNote: Gemini CLI ignores workspace-level telemetry settings, so\n--global is the default.",
|
|
2643
|
+
"examples": [
|
|
2644
|
+
"respan integrate gemini-cli",
|
|
2645
|
+
"respan integrate gemini-cli --local",
|
|
2646
|
+
"respan integrate gemini-cli --project-id my-project --attrs '{\"env\":\"prod\"}'",
|
|
2647
|
+
"respan integrate gemini-cli --dry-run"
|
|
2648
|
+
],
|
|
2716
2649
|
"flags": {
|
|
2717
2650
|
"api-key": {
|
|
2718
2651
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2748,26 +2681,80 @@
|
|
|
2748
2681
|
"allowNo": false,
|
|
2749
2682
|
"type": "boolean"
|
|
2750
2683
|
},
|
|
2751
|
-
"
|
|
2752
|
-
"description": "
|
|
2753
|
-
"
|
|
2754
|
-
|
|
2684
|
+
"local": {
|
|
2685
|
+
"description": "Write per-project config (default)",
|
|
2686
|
+
"exclusive": [
|
|
2687
|
+
"global"
|
|
2688
|
+
],
|
|
2689
|
+
"name": "local",
|
|
2690
|
+
"allowNo": false,
|
|
2691
|
+
"type": "boolean"
|
|
2692
|
+
},
|
|
2693
|
+
"global": {
|
|
2694
|
+
"description": "Write user-level global config",
|
|
2695
|
+
"exclusive": [
|
|
2696
|
+
"local"
|
|
2697
|
+
],
|
|
2698
|
+
"name": "global",
|
|
2699
|
+
"allowNo": false,
|
|
2700
|
+
"type": "boolean"
|
|
2701
|
+
},
|
|
2702
|
+
"project-id": {
|
|
2703
|
+
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
2704
|
+
"env": "RESPAN_PROJECT_ID",
|
|
2705
|
+
"name": "project-id",
|
|
2755
2706
|
"hasDynamicHelp": false,
|
|
2756
2707
|
"multiple": false,
|
|
2757
2708
|
"type": "option"
|
|
2758
2709
|
},
|
|
2759
|
-
"
|
|
2760
|
-
"description": "
|
|
2761
|
-
"name": "
|
|
2762
|
-
"
|
|
2710
|
+
"base-url": {
|
|
2711
|
+
"description": "Respan API base URL (for enterprise deployments)",
|
|
2712
|
+
"name": "base-url",
|
|
2713
|
+
"default": "https://api.respan.ai/api",
|
|
2714
|
+
"hasDynamicHelp": false,
|
|
2715
|
+
"multiple": false,
|
|
2716
|
+
"type": "option"
|
|
2717
|
+
},
|
|
2718
|
+
"attrs": {
|
|
2719
|
+
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
2720
|
+
"name": "attrs",
|
|
2721
|
+
"default": "{}",
|
|
2722
|
+
"hasDynamicHelp": false,
|
|
2723
|
+
"multiple": false,
|
|
2724
|
+
"type": "option"
|
|
2725
|
+
},
|
|
2726
|
+
"customer-id": {
|
|
2727
|
+
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
2728
|
+
"env": "RESPAN_CUSTOMER_ID",
|
|
2729
|
+
"name": "customer-id",
|
|
2730
|
+
"hasDynamicHelp": false,
|
|
2731
|
+
"multiple": false,
|
|
2732
|
+
"type": "option"
|
|
2733
|
+
},
|
|
2734
|
+
"span-name": {
|
|
2735
|
+
"description": "Root span name for traces (default: claude-code)",
|
|
2736
|
+
"name": "span-name",
|
|
2737
|
+
"hasDynamicHelp": false,
|
|
2738
|
+
"multiple": false,
|
|
2739
|
+
"type": "option"
|
|
2740
|
+
},
|
|
2741
|
+
"workflow-name": {
|
|
2742
|
+
"description": "Workflow name for traces (default: claude-code)",
|
|
2743
|
+
"name": "workflow-name",
|
|
2763
2744
|
"hasDynamicHelp": false,
|
|
2764
2745
|
"multiple": false,
|
|
2765
2746
|
"type": "option"
|
|
2747
|
+
},
|
|
2748
|
+
"dry-run": {
|
|
2749
|
+
"description": "Preview changes without writing files",
|
|
2750
|
+
"name": "dry-run",
|
|
2751
|
+
"allowNo": false,
|
|
2752
|
+
"type": "boolean"
|
|
2766
2753
|
}
|
|
2767
2754
|
},
|
|
2768
2755
|
"hasDynamicHelp": false,
|
|
2769
2756
|
"hiddenAliases": [],
|
|
2770
|
-
"id": "
|
|
2757
|
+
"id": "integrate:gemini-cli",
|
|
2771
2758
|
"pluginAlias": "@respan/cli",
|
|
2772
2759
|
"pluginName": "@respan/cli",
|
|
2773
2760
|
"pluginType": "core",
|
|
@@ -2777,14 +2764,20 @@
|
|
|
2777
2764
|
"relativePath": [
|
|
2778
2765
|
"dist",
|
|
2779
2766
|
"commands",
|
|
2780
|
-
"
|
|
2781
|
-
"
|
|
2767
|
+
"integrate",
|
|
2768
|
+
"gemini-cli.js"
|
|
2782
2769
|
]
|
|
2783
2770
|
},
|
|
2784
|
-
"
|
|
2771
|
+
"integrate:opencode": {
|
|
2785
2772
|
"aliases": [],
|
|
2786
2773
|
"args": {},
|
|
2787
|
-
"description": "
|
|
2774
|
+
"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.",
|
|
2775
|
+
"examples": [
|
|
2776
|
+
"respan integrate opencode",
|
|
2777
|
+
"respan integrate opencode --global",
|
|
2778
|
+
"respan integrate opencode --project-id my-project --attrs '{\"env\":\"prod\"}'",
|
|
2779
|
+
"respan integrate opencode --dry-run"
|
|
2780
|
+
],
|
|
2788
2781
|
"flags": {
|
|
2789
2782
|
"api-key": {
|
|
2790
2783
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2820,39 +2813,80 @@
|
|
|
2820
2813
|
"allowNo": false,
|
|
2821
2814
|
"type": "boolean"
|
|
2822
2815
|
},
|
|
2823
|
-
"
|
|
2824
|
-
"description": "
|
|
2825
|
-
"
|
|
2826
|
-
|
|
2816
|
+
"local": {
|
|
2817
|
+
"description": "Write per-project config (default)",
|
|
2818
|
+
"exclusive": [
|
|
2819
|
+
"global"
|
|
2820
|
+
],
|
|
2821
|
+
"name": "local",
|
|
2822
|
+
"allowNo": false,
|
|
2823
|
+
"type": "boolean"
|
|
2824
|
+
},
|
|
2825
|
+
"global": {
|
|
2826
|
+
"description": "Write user-level global config",
|
|
2827
|
+
"exclusive": [
|
|
2828
|
+
"local"
|
|
2829
|
+
],
|
|
2830
|
+
"name": "global",
|
|
2831
|
+
"allowNo": false,
|
|
2832
|
+
"type": "boolean"
|
|
2833
|
+
},
|
|
2834
|
+
"project-id": {
|
|
2835
|
+
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
2836
|
+
"env": "RESPAN_PROJECT_ID",
|
|
2837
|
+
"name": "project-id",
|
|
2838
|
+
"hasDynamicHelp": false,
|
|
2839
|
+
"multiple": false,
|
|
2840
|
+
"type": "option"
|
|
2841
|
+
},
|
|
2842
|
+
"base-url": {
|
|
2843
|
+
"description": "Respan API base URL (for enterprise deployments)",
|
|
2844
|
+
"name": "base-url",
|
|
2845
|
+
"default": "https://api.respan.ai/api",
|
|
2846
|
+
"hasDynamicHelp": false,
|
|
2847
|
+
"multiple": false,
|
|
2848
|
+
"type": "option"
|
|
2849
|
+
},
|
|
2850
|
+
"attrs": {
|
|
2851
|
+
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
2852
|
+
"name": "attrs",
|
|
2853
|
+
"default": "{}",
|
|
2854
|
+
"hasDynamicHelp": false,
|
|
2855
|
+
"multiple": false,
|
|
2856
|
+
"type": "option"
|
|
2857
|
+
},
|
|
2858
|
+
"customer-id": {
|
|
2859
|
+
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
2860
|
+
"env": "RESPAN_CUSTOMER_ID",
|
|
2861
|
+
"name": "customer-id",
|
|
2827
2862
|
"hasDynamicHelp": false,
|
|
2828
2863
|
"multiple": false,
|
|
2829
2864
|
"type": "option"
|
|
2830
2865
|
},
|
|
2831
|
-
"name": {
|
|
2832
|
-
"description": "
|
|
2833
|
-
"name": "name",
|
|
2866
|
+
"span-name": {
|
|
2867
|
+
"description": "Root span name for traces (default: claude-code)",
|
|
2868
|
+
"name": "span-name",
|
|
2834
2869
|
"hasDynamicHelp": false,
|
|
2835
2870
|
"multiple": false,
|
|
2836
2871
|
"type": "option"
|
|
2837
2872
|
},
|
|
2838
|
-
"
|
|
2839
|
-
"description": "
|
|
2840
|
-
"name": "
|
|
2873
|
+
"workflow-name": {
|
|
2874
|
+
"description": "Workflow name for traces (default: claude-code)",
|
|
2875
|
+
"name": "workflow-name",
|
|
2841
2876
|
"hasDynamicHelp": false,
|
|
2842
2877
|
"multiple": false,
|
|
2843
2878
|
"type": "option"
|
|
2844
2879
|
},
|
|
2845
|
-
"
|
|
2846
|
-
"description": "
|
|
2847
|
-
"name": "
|
|
2848
|
-
"
|
|
2849
|
-
"
|
|
2850
|
-
"type": "option"
|
|
2880
|
+
"dry-run": {
|
|
2881
|
+
"description": "Preview changes without writing files",
|
|
2882
|
+
"name": "dry-run",
|
|
2883
|
+
"allowNo": false,
|
|
2884
|
+
"type": "boolean"
|
|
2851
2885
|
}
|
|
2852
2886
|
},
|
|
2853
2887
|
"hasDynamicHelp": false,
|
|
2854
2888
|
"hiddenAliases": [],
|
|
2855
|
-
"id": "
|
|
2889
|
+
"id": "integrate:opencode",
|
|
2856
2890
|
"pluginAlias": "@respan/cli",
|
|
2857
2891
|
"pluginName": "@respan/cli",
|
|
2858
2892
|
"pluginType": "core",
|
|
@@ -2862,20 +2896,20 @@
|
|
|
2862
2896
|
"relativePath": [
|
|
2863
2897
|
"dist",
|
|
2864
2898
|
"commands",
|
|
2865
|
-
"
|
|
2866
|
-
"
|
|
2899
|
+
"integrate",
|
|
2900
|
+
"opencode.js"
|
|
2867
2901
|
]
|
|
2868
2902
|
},
|
|
2869
|
-
"
|
|
2903
|
+
"traces:get": {
|
|
2870
2904
|
"aliases": [],
|
|
2871
2905
|
"args": {
|
|
2872
2906
|
"id": {
|
|
2873
|
-
"description": "
|
|
2907
|
+
"description": "Trace ID",
|
|
2874
2908
|
"name": "id",
|
|
2875
2909
|
"required": true
|
|
2876
2910
|
}
|
|
2877
2911
|
},
|
|
2878
|
-
"description": "Get a specific
|
|
2912
|
+
"description": "Get a specific trace",
|
|
2879
2913
|
"flags": {
|
|
2880
2914
|
"api-key": {
|
|
2881
2915
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2914,7 +2948,7 @@
|
|
|
2914
2948
|
},
|
|
2915
2949
|
"hasDynamicHelp": false,
|
|
2916
2950
|
"hiddenAliases": [],
|
|
2917
|
-
"id": "
|
|
2951
|
+
"id": "traces:get",
|
|
2918
2952
|
"pluginAlias": "@respan/cli",
|
|
2919
2953
|
"pluginName": "@respan/cli",
|
|
2920
2954
|
"pluginType": "core",
|
|
@@ -2924,14 +2958,14 @@
|
|
|
2924
2958
|
"relativePath": [
|
|
2925
2959
|
"dist",
|
|
2926
2960
|
"commands",
|
|
2927
|
-
"
|
|
2961
|
+
"traces",
|
|
2928
2962
|
"get.js"
|
|
2929
2963
|
]
|
|
2930
2964
|
},
|
|
2931
|
-
"
|
|
2965
|
+
"traces:list": {
|
|
2932
2966
|
"aliases": [],
|
|
2933
2967
|
"args": {},
|
|
2934
|
-
"description": "List
|
|
2968
|
+
"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",
|
|
2935
2969
|
"flags": {
|
|
2936
2970
|
"api-key": {
|
|
2937
2971
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2970,7 +3004,7 @@
|
|
|
2970
3004
|
"limit": {
|
|
2971
3005
|
"description": "Number of results per page",
|
|
2972
3006
|
"name": "limit",
|
|
2973
|
-
"default":
|
|
3007
|
+
"default": 10,
|
|
2974
3008
|
"hasDynamicHelp": false,
|
|
2975
3009
|
"multiple": false,
|
|
2976
3010
|
"type": "option"
|
|
@@ -2984,8 +3018,23 @@
|
|
|
2984
3018
|
"type": "option"
|
|
2985
3019
|
},
|
|
2986
3020
|
"sort-by": {
|
|
2987
|
-
"description": "Sort field",
|
|
3021
|
+
"description": "Sort field (prefix with - for descending)",
|
|
2988
3022
|
"name": "sort-by",
|
|
3023
|
+
"default": "-timestamp",
|
|
3024
|
+
"hasDynamicHelp": false,
|
|
3025
|
+
"multiple": false,
|
|
3026
|
+
"type": "option"
|
|
3027
|
+
},
|
|
3028
|
+
"start-time": {
|
|
3029
|
+
"description": "Start time filter (ISO 8601)",
|
|
3030
|
+
"name": "start-time",
|
|
3031
|
+
"hasDynamicHelp": false,
|
|
3032
|
+
"multiple": false,
|
|
3033
|
+
"type": "option"
|
|
3034
|
+
},
|
|
3035
|
+
"end-time": {
|
|
3036
|
+
"description": "End time filter (ISO 8601)",
|
|
3037
|
+
"name": "end-time",
|
|
2989
3038
|
"hasDynamicHelp": false,
|
|
2990
3039
|
"multiple": false,
|
|
2991
3040
|
"type": "option"
|
|
@@ -2996,11 +3045,18 @@
|
|
|
2996
3045
|
"hasDynamicHelp": false,
|
|
2997
3046
|
"multiple": false,
|
|
2998
3047
|
"type": "option"
|
|
3048
|
+
},
|
|
3049
|
+
"filter": {
|
|
3050
|
+
"description": "Filter in field:operator:value format (repeatable)",
|
|
3051
|
+
"name": "filter",
|
|
3052
|
+
"hasDynamicHelp": false,
|
|
3053
|
+
"multiple": true,
|
|
3054
|
+
"type": "option"
|
|
2999
3055
|
}
|
|
3000
3056
|
},
|
|
3001
3057
|
"hasDynamicHelp": false,
|
|
3002
3058
|
"hiddenAliases": [],
|
|
3003
|
-
"id": "
|
|
3059
|
+
"id": "traces:list",
|
|
3004
3060
|
"pluginAlias": "@respan/cli",
|
|
3005
3061
|
"pluginName": "@respan/cli",
|
|
3006
3062
|
"pluginType": "core",
|
|
@@ -3010,20 +3066,14 @@
|
|
|
3010
3066
|
"relativePath": [
|
|
3011
3067
|
"dist",
|
|
3012
3068
|
"commands",
|
|
3013
|
-
"
|
|
3069
|
+
"traces",
|
|
3014
3070
|
"list.js"
|
|
3015
3071
|
]
|
|
3016
3072
|
},
|
|
3017
|
-
"
|
|
3073
|
+
"traces:summary": {
|
|
3018
3074
|
"aliases": [],
|
|
3019
|
-
"args": {
|
|
3020
|
-
|
|
3021
|
-
"description": "Customer identifier",
|
|
3022
|
-
"name": "id",
|
|
3023
|
-
"required": true
|
|
3024
|
-
}
|
|
3025
|
-
},
|
|
3026
|
-
"description": "Update a user (customer)",
|
|
3075
|
+
"args": {},
|
|
3076
|
+
"description": "Get a summary of traces for a time range",
|
|
3027
3077
|
"flags": {
|
|
3028
3078
|
"api-key": {
|
|
3029
3079
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3059,23 +3109,18 @@
|
|
|
3059
3109
|
"allowNo": false,
|
|
3060
3110
|
"type": "boolean"
|
|
3061
3111
|
},
|
|
3062
|
-
"
|
|
3063
|
-
"description": "
|
|
3064
|
-
"name": "
|
|
3065
|
-
"
|
|
3066
|
-
"multiple": false,
|
|
3067
|
-
"type": "option"
|
|
3068
|
-
},
|
|
3069
|
-
"email": {
|
|
3070
|
-
"description": "Customer email",
|
|
3071
|
-
"name": "email",
|
|
3112
|
+
"start-time": {
|
|
3113
|
+
"description": "Start time (ISO 8601)",
|
|
3114
|
+
"name": "start-time",
|
|
3115
|
+
"required": true,
|
|
3072
3116
|
"hasDynamicHelp": false,
|
|
3073
3117
|
"multiple": false,
|
|
3074
3118
|
"type": "option"
|
|
3075
3119
|
},
|
|
3076
|
-
"
|
|
3077
|
-
"description": "
|
|
3078
|
-
"name": "
|
|
3120
|
+
"end-time": {
|
|
3121
|
+
"description": "End time (ISO 8601)",
|
|
3122
|
+
"name": "end-time",
|
|
3123
|
+
"required": true,
|
|
3079
3124
|
"hasDynamicHelp": false,
|
|
3080
3125
|
"multiple": false,
|
|
3081
3126
|
"type": "option"
|
|
@@ -3083,7 +3128,7 @@
|
|
|
3083
3128
|
},
|
|
3084
3129
|
"hasDynamicHelp": false,
|
|
3085
3130
|
"hiddenAliases": [],
|
|
3086
|
-
"id": "
|
|
3131
|
+
"id": "traces:summary",
|
|
3087
3132
|
"pluginAlias": "@respan/cli",
|
|
3088
3133
|
"pluginName": "@respan/cli",
|
|
3089
3134
|
"pluginType": "core",
|
|
@@ -3093,14 +3138,14 @@
|
|
|
3093
3138
|
"relativePath": [
|
|
3094
3139
|
"dist",
|
|
3095
3140
|
"commands",
|
|
3096
|
-
"
|
|
3097
|
-
"
|
|
3141
|
+
"traces",
|
|
3142
|
+
"summary.js"
|
|
3098
3143
|
]
|
|
3099
3144
|
},
|
|
3100
|
-
"
|
|
3145
|
+
"users:create": {
|
|
3101
3146
|
"aliases": [],
|
|
3102
3147
|
"args": {},
|
|
3103
|
-
"description": "Create a
|
|
3148
|
+
"description": "Create a new user (customer)",
|
|
3104
3149
|
"flags": {
|
|
3105
3150
|
"api-key": {
|
|
3106
3151
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3136,24 +3181,24 @@
|
|
|
3136
3181
|
"allowNo": false,
|
|
3137
3182
|
"type": "boolean"
|
|
3138
3183
|
},
|
|
3139
|
-
"
|
|
3140
|
-
"description": "
|
|
3141
|
-
"name": "
|
|
3184
|
+
"identifier": {
|
|
3185
|
+
"description": "Customer identifier",
|
|
3186
|
+
"name": "identifier",
|
|
3142
3187
|
"required": true,
|
|
3143
3188
|
"hasDynamicHelp": false,
|
|
3144
3189
|
"multiple": false,
|
|
3145
3190
|
"type": "option"
|
|
3146
3191
|
},
|
|
3147
|
-
"
|
|
3148
|
-
"description": "
|
|
3149
|
-
"name": "
|
|
3192
|
+
"name": {
|
|
3193
|
+
"description": "Customer name",
|
|
3194
|
+
"name": "name",
|
|
3150
3195
|
"hasDynamicHelp": false,
|
|
3151
3196
|
"multiple": false,
|
|
3152
3197
|
"type": "option"
|
|
3153
3198
|
},
|
|
3154
|
-
"
|
|
3155
|
-
"description": "
|
|
3156
|
-
"name": "
|
|
3199
|
+
"email": {
|
|
3200
|
+
"description": "Customer email",
|
|
3201
|
+
"name": "email",
|
|
3157
3202
|
"hasDynamicHelp": false,
|
|
3158
3203
|
"multiple": false,
|
|
3159
3204
|
"type": "option"
|
|
@@ -3168,7 +3213,7 @@
|
|
|
3168
3213
|
},
|
|
3169
3214
|
"hasDynamicHelp": false,
|
|
3170
3215
|
"hiddenAliases": [],
|
|
3171
|
-
"id": "
|
|
3216
|
+
"id": "users:create",
|
|
3172
3217
|
"pluginAlias": "@respan/cli",
|
|
3173
3218
|
"pluginName": "@respan/cli",
|
|
3174
3219
|
"pluginType": "core",
|
|
@@ -3178,20 +3223,20 @@
|
|
|
3178
3223
|
"relativePath": [
|
|
3179
3224
|
"dist",
|
|
3180
3225
|
"commands",
|
|
3181
|
-
"
|
|
3226
|
+
"users",
|
|
3182
3227
|
"create.js"
|
|
3183
3228
|
]
|
|
3184
3229
|
},
|
|
3185
|
-
"
|
|
3230
|
+
"users:get": {
|
|
3186
3231
|
"aliases": [],
|
|
3187
3232
|
"args": {
|
|
3188
3233
|
"id": {
|
|
3189
|
-
"description": "
|
|
3234
|
+
"description": "Customer identifier",
|
|
3190
3235
|
"name": "id",
|
|
3191
3236
|
"required": true
|
|
3192
3237
|
}
|
|
3193
3238
|
},
|
|
3194
|
-
"description": "Get a specific
|
|
3239
|
+
"description": "Get a specific user (customer)",
|
|
3195
3240
|
"flags": {
|
|
3196
3241
|
"api-key": {
|
|
3197
3242
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3230,7 +3275,7 @@
|
|
|
3230
3275
|
},
|
|
3231
3276
|
"hasDynamicHelp": false,
|
|
3232
3277
|
"hiddenAliases": [],
|
|
3233
|
-
"id": "
|
|
3278
|
+
"id": "users:get",
|
|
3234
3279
|
"pluginAlias": "@respan/cli",
|
|
3235
3280
|
"pluginName": "@respan/cli",
|
|
3236
3281
|
"pluginType": "core",
|
|
@@ -3240,14 +3285,14 @@
|
|
|
3240
3285
|
"relativePath": [
|
|
3241
3286
|
"dist",
|
|
3242
3287
|
"commands",
|
|
3243
|
-
"
|
|
3288
|
+
"users",
|
|
3244
3289
|
"get.js"
|
|
3245
3290
|
]
|
|
3246
3291
|
},
|
|
3247
|
-
"
|
|
3292
|
+
"users:list": {
|
|
3248
3293
|
"aliases": [],
|
|
3249
3294
|
"args": {},
|
|
3250
|
-
"description": "List
|
|
3295
|
+
"description": "List users (customers)",
|
|
3251
3296
|
"flags": {
|
|
3252
3297
|
"api-key": {
|
|
3253
3298
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3284,9 +3329,9 @@
|
|
|
3284
3329
|
"type": "boolean"
|
|
3285
3330
|
},
|
|
3286
3331
|
"limit": {
|
|
3287
|
-
"description": "Number of results per page
|
|
3332
|
+
"description": "Number of results per page",
|
|
3288
3333
|
"name": "limit",
|
|
3289
|
-
"default":
|
|
3334
|
+
"default": 20,
|
|
3290
3335
|
"hasDynamicHelp": false,
|
|
3291
3336
|
"multiple": false,
|
|
3292
3337
|
"type": "option"
|
|
@@ -3300,50 +3345,15 @@
|
|
|
3300
3345
|
"type": "option"
|
|
3301
3346
|
},
|
|
3302
3347
|
"sort-by": {
|
|
3303
|
-
"description": "Sort field
|
|
3348
|
+
"description": "Sort field",
|
|
3304
3349
|
"name": "sort-by",
|
|
3305
3350
|
"hasDynamicHelp": false,
|
|
3306
3351
|
"multiple": false,
|
|
3307
3352
|
"type": "option"
|
|
3308
3353
|
},
|
|
3309
|
-
"
|
|
3310
|
-
"description": "
|
|
3311
|
-
"name": "
|
|
3312
|
-
"hasDynamicHelp": false,
|
|
3313
|
-
"multiple": false,
|
|
3314
|
-
"type": "option"
|
|
3315
|
-
},
|
|
3316
|
-
"end-time": {
|
|
3317
|
-
"description": "End time filter (ISO 8601)",
|
|
3318
|
-
"name": "end-time",
|
|
3319
|
-
"hasDynamicHelp": false,
|
|
3320
|
-
"multiple": false,
|
|
3321
|
-
"type": "option"
|
|
3322
|
-
},
|
|
3323
|
-
"filter": {
|
|
3324
|
-
"description": "Filter in field:operator:value format (repeatable)",
|
|
3325
|
-
"name": "filter",
|
|
3326
|
-
"hasDynamicHelp": false,
|
|
3327
|
-
"multiple": true,
|
|
3328
|
-
"type": "option"
|
|
3329
|
-
},
|
|
3330
|
-
"all-envs": {
|
|
3331
|
-
"description": "Include all environments (true/false)",
|
|
3332
|
-
"name": "all-envs",
|
|
3333
|
-
"hasDynamicHelp": false,
|
|
3334
|
-
"multiple": false,
|
|
3335
|
-
"type": "option"
|
|
3336
|
-
},
|
|
3337
|
-
"is-test": {
|
|
3338
|
-
"description": "Filter by test (true) or production (false) environment",
|
|
3339
|
-
"name": "is-test",
|
|
3340
|
-
"hasDynamicHelp": false,
|
|
3341
|
-
"multiple": false,
|
|
3342
|
-
"type": "option"
|
|
3343
|
-
},
|
|
3344
|
-
"include-fields": {
|
|
3345
|
-
"description": "Comma-separated fields to include in response",
|
|
3346
|
-
"name": "include-fields",
|
|
3354
|
+
"environment": {
|
|
3355
|
+
"description": "Environment filter",
|
|
3356
|
+
"name": "environment",
|
|
3347
3357
|
"hasDynamicHelp": false,
|
|
3348
3358
|
"multiple": false,
|
|
3349
3359
|
"type": "option"
|
|
@@ -3351,7 +3361,7 @@
|
|
|
3351
3361
|
},
|
|
3352
3362
|
"hasDynamicHelp": false,
|
|
3353
3363
|
"hiddenAliases": [],
|
|
3354
|
-
"id": "
|
|
3364
|
+
"id": "users:list",
|
|
3355
3365
|
"pluginAlias": "@respan/cli",
|
|
3356
3366
|
"pluginName": "@respan/cli",
|
|
3357
3367
|
"pluginType": "core",
|
|
@@ -3361,14 +3371,20 @@
|
|
|
3361
3371
|
"relativePath": [
|
|
3362
3372
|
"dist",
|
|
3363
3373
|
"commands",
|
|
3364
|
-
"
|
|
3374
|
+
"users",
|
|
3365
3375
|
"list.js"
|
|
3366
3376
|
]
|
|
3367
3377
|
},
|
|
3368
|
-
"
|
|
3378
|
+
"users:update": {
|
|
3369
3379
|
"aliases": [],
|
|
3370
|
-
"args": {
|
|
3371
|
-
|
|
3380
|
+
"args": {
|
|
3381
|
+
"id": {
|
|
3382
|
+
"description": "Customer identifier",
|
|
3383
|
+
"name": "id",
|
|
3384
|
+
"required": true
|
|
3385
|
+
}
|
|
3386
|
+
},
|
|
3387
|
+
"description": "Update a user (customer)",
|
|
3372
3388
|
"flags": {
|
|
3373
3389
|
"api-key": {
|
|
3374
3390
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3404,39 +3420,23 @@
|
|
|
3404
3420
|
"allowNo": false,
|
|
3405
3421
|
"type": "boolean"
|
|
3406
3422
|
},
|
|
3407
|
-
"
|
|
3408
|
-
"description": "
|
|
3409
|
-
"name": "
|
|
3410
|
-
"required": true,
|
|
3411
|
-
"hasDynamicHelp": false,
|
|
3412
|
-
"multiple": false,
|
|
3413
|
-
"type": "option"
|
|
3414
|
-
},
|
|
3415
|
-
"end-time": {
|
|
3416
|
-
"description": "End time (ISO 8601)",
|
|
3417
|
-
"name": "end-time",
|
|
3418
|
-
"required": true,
|
|
3423
|
+
"name": {
|
|
3424
|
+
"description": "Customer name",
|
|
3425
|
+
"name": "name",
|
|
3419
3426
|
"hasDynamicHelp": false,
|
|
3420
3427
|
"multiple": false,
|
|
3421
3428
|
"type": "option"
|
|
3422
3429
|
},
|
|
3423
|
-
"
|
|
3424
|
-
"description": "
|
|
3425
|
-
"name": "
|
|
3426
|
-
"hasDynamicHelp": false,
|
|
3427
|
-
"multiple": true,
|
|
3428
|
-
"type": "option"
|
|
3429
|
-
},
|
|
3430
|
-
"all-envs": {
|
|
3431
|
-
"description": "Include all environments (true/false)",
|
|
3432
|
-
"name": "all-envs",
|
|
3430
|
+
"email": {
|
|
3431
|
+
"description": "Customer email",
|
|
3432
|
+
"name": "email",
|
|
3433
3433
|
"hasDynamicHelp": false,
|
|
3434
3434
|
"multiple": false,
|
|
3435
3435
|
"type": "option"
|
|
3436
3436
|
},
|
|
3437
|
-
"
|
|
3438
|
-
"description": "
|
|
3439
|
-
"name": "
|
|
3437
|
+
"metadata": {
|
|
3438
|
+
"description": "Metadata as JSON string",
|
|
3439
|
+
"name": "metadata",
|
|
3440
3440
|
"hasDynamicHelp": false,
|
|
3441
3441
|
"multiple": false,
|
|
3442
3442
|
"type": "option"
|
|
@@ -3444,7 +3444,7 @@
|
|
|
3444
3444
|
},
|
|
3445
3445
|
"hasDynamicHelp": false,
|
|
3446
3446
|
"hiddenAliases": [],
|
|
3447
|
-
"id": "
|
|
3447
|
+
"id": "users:update",
|
|
3448
3448
|
"pluginAlias": "@respan/cli",
|
|
3449
3449
|
"pluginName": "@respan/cli",
|
|
3450
3450
|
"pluginType": "core",
|
|
@@ -3454,10 +3454,10 @@
|
|
|
3454
3454
|
"relativePath": [
|
|
3455
3455
|
"dist",
|
|
3456
3456
|
"commands",
|
|
3457
|
-
"
|
|
3458
|
-
"
|
|
3457
|
+
"users",
|
|
3458
|
+
"update.js"
|
|
3459
3459
|
]
|
|
3460
3460
|
}
|
|
3461
3461
|
},
|
|
3462
|
-
"version": "0.6.
|
|
3462
|
+
"version": "0.6.8"
|
|
3463
3463
|
}
|