@respan/cli 0.6.0 → 0.6.1
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/claude-code.cjs +2 -2
- package/dist/hooks/claude-code.js +2 -2
- package/dist/hooks/codex-cli.cjs +16 -5
- package/dist/hooks/codex-cli.js +17 -5
- package/dist/hooks/gemini-cli.cjs +8 -7
- package/dist/hooks/gemini-cli.js +9 -7
- package/oclif.manifest.json +483 -483
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -1583,10 +1583,17 @@
|
|
|
1583
1583
|
"list.js"
|
|
1584
1584
|
]
|
|
1585
1585
|
},
|
|
1586
|
-
"
|
|
1586
|
+
"integrate:claude-code": {
|
|
1587
1587
|
"aliases": [],
|
|
1588
1588
|
"args": {},
|
|
1589
|
-
"description": "
|
|
1589
|
+
"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",
|
|
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
|
+
],
|
|
1590
1597
|
"flags": {
|
|
1591
1598
|
"api-key": {
|
|
1592
1599
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1622,101 +1629,80 @@
|
|
|
1622
1629
|
"allowNo": false,
|
|
1623
1630
|
"type": "boolean"
|
|
1624
1631
|
},
|
|
1625
|
-
"
|
|
1626
|
-
"description": "
|
|
1627
|
-
"
|
|
1628
|
-
|
|
1632
|
+
"local": {
|
|
1633
|
+
"description": "Write per-project config (default)",
|
|
1634
|
+
"exclusive": [
|
|
1635
|
+
"global"
|
|
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",
|
|
1629
1654
|
"hasDynamicHelp": false,
|
|
1630
1655
|
"multiple": false,
|
|
1631
1656
|
"type": "option"
|
|
1632
1657
|
},
|
|
1633
|
-
"
|
|
1634
|
-
"description": "
|
|
1635
|
-
"name": "
|
|
1658
|
+
"base-url": {
|
|
1659
|
+
"description": "Respan API base URL (for enterprise deployments)",
|
|
1660
|
+
"name": "base-url",
|
|
1661
|
+
"default": "https://api.respan.ai/api",
|
|
1636
1662
|
"hasDynamicHelp": false,
|
|
1637
1663
|
"multiple": false,
|
|
1638
1664
|
"type": "option"
|
|
1639
1665
|
},
|
|
1640
|
-
"
|
|
1641
|
-
"description": "
|
|
1642
|
-
"name": "
|
|
1666
|
+
"attrs": {
|
|
1667
|
+
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
1668
|
+
"name": "attrs",
|
|
1669
|
+
"default": "{}",
|
|
1643
1670
|
"hasDynamicHelp": false,
|
|
1644
1671
|
"multiple": false,
|
|
1645
1672
|
"type": "option"
|
|
1646
1673
|
},
|
|
1647
|
-
"
|
|
1648
|
-
"description": "
|
|
1649
|
-
"
|
|
1674
|
+
"customer-id": {
|
|
1675
|
+
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
1676
|
+
"env": "RESPAN_CUSTOMER_ID",
|
|
1677
|
+
"name": "customer-id",
|
|
1650
1678
|
"hasDynamicHelp": false,
|
|
1651
1679
|
"multiple": false,
|
|
1652
1680
|
"type": "option"
|
|
1653
|
-
}
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
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",
|
|
1681
|
+
},
|
|
1682
|
+
"span-name": {
|
|
1683
|
+
"description": "Root span name for traces (default: claude-code)",
|
|
1684
|
+
"name": "span-name",
|
|
1686
1685
|
"hasDynamicHelp": false,
|
|
1687
1686
|
"multiple": false,
|
|
1688
1687
|
"type": "option"
|
|
1689
1688
|
},
|
|
1690
|
-
"
|
|
1691
|
-
"description": "
|
|
1692
|
-
"name": "
|
|
1689
|
+
"workflow-name": {
|
|
1690
|
+
"description": "Workflow name for traces (default: claude-code)",
|
|
1691
|
+
"name": "workflow-name",
|
|
1693
1692
|
"hasDynamicHelp": false,
|
|
1694
1693
|
"multiple": false,
|
|
1695
1694
|
"type": "option"
|
|
1696
1695
|
},
|
|
1697
|
-
"
|
|
1698
|
-
"description": "
|
|
1699
|
-
"name": "
|
|
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",
|
|
1696
|
+
"dry-run": {
|
|
1697
|
+
"description": "Preview changes without writing files",
|
|
1698
|
+
"name": "dry-run",
|
|
1713
1699
|
"allowNo": false,
|
|
1714
1700
|
"type": "boolean"
|
|
1715
1701
|
}
|
|
1716
1702
|
},
|
|
1717
1703
|
"hasDynamicHelp": false,
|
|
1718
1704
|
"hiddenAliases": [],
|
|
1719
|
-
"id": "
|
|
1705
|
+
"id": "integrate:claude-code",
|
|
1720
1706
|
"pluginAlias": "@respan/cli",
|
|
1721
1707
|
"pluginName": "@respan/cli",
|
|
1722
1708
|
"pluginType": "core",
|
|
@@ -1726,14 +1712,21 @@
|
|
|
1726
1712
|
"relativePath": [
|
|
1727
1713
|
"dist",
|
|
1728
1714
|
"commands",
|
|
1729
|
-
"
|
|
1730
|
-
"
|
|
1715
|
+
"integrate",
|
|
1716
|
+
"claude-code.js"
|
|
1731
1717
|
]
|
|
1732
1718
|
},
|
|
1733
|
-
"
|
|
1719
|
+
"integrate:codex-cli": {
|
|
1734
1720
|
"aliases": [],
|
|
1735
1721
|
"args": {},
|
|
1736
|
-
"description": "
|
|
1722
|
+
"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",
|
|
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
|
+
],
|
|
1737
1730
|
"flags": {
|
|
1738
1731
|
"api-key": {
|
|
1739
1732
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1769,75 +1762,80 @@
|
|
|
1769
1762
|
"allowNo": false,
|
|
1770
1763
|
"type": "boolean"
|
|
1771
1764
|
},
|
|
1772
|
-
"
|
|
1773
|
-
"description": "
|
|
1774
|
-
"
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
"
|
|
1778
|
-
"
|
|
1765
|
+
"local": {
|
|
1766
|
+
"description": "Write per-project config (default)",
|
|
1767
|
+
"exclusive": [
|
|
1768
|
+
"global"
|
|
1769
|
+
],
|
|
1770
|
+
"name": "local",
|
|
1771
|
+
"allowNo": false,
|
|
1772
|
+
"type": "boolean"
|
|
1779
1773
|
},
|
|
1780
|
-
"
|
|
1781
|
-
"description": "
|
|
1782
|
-
"
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
"
|
|
1786
|
-
"
|
|
1774
|
+
"global": {
|
|
1775
|
+
"description": "Write user-level global config",
|
|
1776
|
+
"exclusive": [
|
|
1777
|
+
"local"
|
|
1778
|
+
],
|
|
1779
|
+
"name": "global",
|
|
1780
|
+
"allowNo": false,
|
|
1781
|
+
"type": "boolean"
|
|
1787
1782
|
},
|
|
1788
|
-
"
|
|
1789
|
-
"description": "
|
|
1790
|
-
"
|
|
1783
|
+
"project-id": {
|
|
1784
|
+
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
1785
|
+
"env": "RESPAN_PROJECT_ID",
|
|
1786
|
+
"name": "project-id",
|
|
1791
1787
|
"hasDynamicHelp": false,
|
|
1792
1788
|
"multiple": false,
|
|
1793
1789
|
"type": "option"
|
|
1794
1790
|
},
|
|
1795
|
-
"
|
|
1796
|
-
"description": "
|
|
1797
|
-
"name": "
|
|
1791
|
+
"base-url": {
|
|
1792
|
+
"description": "Respan API base URL (for enterprise deployments)",
|
|
1793
|
+
"name": "base-url",
|
|
1794
|
+
"default": "https://api.respan.ai/api",
|
|
1798
1795
|
"hasDynamicHelp": false,
|
|
1799
1796
|
"multiple": false,
|
|
1800
1797
|
"type": "option"
|
|
1801
1798
|
},
|
|
1802
|
-
"
|
|
1803
|
-
"description": "
|
|
1804
|
-
"name": "
|
|
1799
|
+
"attrs": {
|
|
1800
|
+
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
1801
|
+
"name": "attrs",
|
|
1802
|
+
"default": "{}",
|
|
1805
1803
|
"hasDynamicHelp": false,
|
|
1806
1804
|
"multiple": false,
|
|
1807
1805
|
"type": "option"
|
|
1808
1806
|
},
|
|
1809
|
-
"
|
|
1810
|
-
"description": "
|
|
1811
|
-
"
|
|
1812
|
-
"
|
|
1813
|
-
"multiple": true,
|
|
1814
|
-
"type": "option"
|
|
1815
|
-
},
|
|
1816
|
-
"all-envs": {
|
|
1817
|
-
"description": "Include all environments (true/false)",
|
|
1818
|
-
"name": "all-envs",
|
|
1807
|
+
"customer-id": {
|
|
1808
|
+
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
1809
|
+
"env": "RESPAN_CUSTOMER_ID",
|
|
1810
|
+
"name": "customer-id",
|
|
1819
1811
|
"hasDynamicHelp": false,
|
|
1820
1812
|
"multiple": false,
|
|
1821
1813
|
"type": "option"
|
|
1822
1814
|
},
|
|
1823
|
-
"
|
|
1824
|
-
"description": "
|
|
1825
|
-
"name": "
|
|
1815
|
+
"span-name": {
|
|
1816
|
+
"description": "Root span name for traces (default: claude-code)",
|
|
1817
|
+
"name": "span-name",
|
|
1826
1818
|
"hasDynamicHelp": false,
|
|
1827
1819
|
"multiple": false,
|
|
1828
1820
|
"type": "option"
|
|
1829
1821
|
},
|
|
1830
|
-
"
|
|
1831
|
-
"description": "
|
|
1832
|
-
"name": "
|
|
1822
|
+
"workflow-name": {
|
|
1823
|
+
"description": "Workflow name for traces (default: claude-code)",
|
|
1824
|
+
"name": "workflow-name",
|
|
1833
1825
|
"hasDynamicHelp": false,
|
|
1834
1826
|
"multiple": false,
|
|
1835
1827
|
"type": "option"
|
|
1828
|
+
},
|
|
1829
|
+
"dry-run": {
|
|
1830
|
+
"description": "Preview changes without writing files",
|
|
1831
|
+
"name": "dry-run",
|
|
1832
|
+
"allowNo": false,
|
|
1833
|
+
"type": "boolean"
|
|
1836
1834
|
}
|
|
1837
1835
|
},
|
|
1838
1836
|
"hasDynamicHelp": false,
|
|
1839
1837
|
"hiddenAliases": [],
|
|
1840
|
-
"id": "
|
|
1838
|
+
"id": "integrate:codex-cli",
|
|
1841
1839
|
"pluginAlias": "@respan/cli",
|
|
1842
1840
|
"pluginName": "@respan/cli",
|
|
1843
1841
|
"pluginType": "core",
|
|
@@ -1847,14 +1845,20 @@
|
|
|
1847
1845
|
"relativePath": [
|
|
1848
1846
|
"dist",
|
|
1849
1847
|
"commands",
|
|
1850
|
-
"
|
|
1851
|
-
"
|
|
1848
|
+
"integrate",
|
|
1849
|
+
"codex-cli.js"
|
|
1852
1850
|
]
|
|
1853
1851
|
},
|
|
1854
|
-
"
|
|
1852
|
+
"integrate:gemini-cli": {
|
|
1855
1853
|
"aliases": [],
|
|
1856
1854
|
"args": {},
|
|
1857
|
-
"description": "
|
|
1855
|
+
"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.",
|
|
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
|
+
],
|
|
1858
1862
|
"flags": {
|
|
1859
1863
|
"api-key": {
|
|
1860
1864
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1890,47 +1894,80 @@
|
|
|
1890
1894
|
"allowNo": false,
|
|
1891
1895
|
"type": "boolean"
|
|
1892
1896
|
},
|
|
1893
|
-
"
|
|
1894
|
-
"description": "
|
|
1895
|
-
"
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
"
|
|
1899
|
-
"
|
|
1897
|
+
"local": {
|
|
1898
|
+
"description": "Write per-project config (default)",
|
|
1899
|
+
"exclusive": [
|
|
1900
|
+
"global"
|
|
1901
|
+
],
|
|
1902
|
+
"name": "local",
|
|
1903
|
+
"allowNo": false,
|
|
1904
|
+
"type": "boolean"
|
|
1900
1905
|
},
|
|
1901
|
-
"
|
|
1902
|
-
"description": "
|
|
1903
|
-
"
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
+
"global": {
|
|
1907
|
+
"description": "Write user-level global config",
|
|
1908
|
+
"exclusive": [
|
|
1909
|
+
"local"
|
|
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,
|
|
1906
1920
|
"multiple": false,
|
|
1907
1921
|
"type": "option"
|
|
1908
1922
|
},
|
|
1909
|
-
"
|
|
1910
|
-
"description": "
|
|
1911
|
-
"name": "
|
|
1923
|
+
"base-url": {
|
|
1924
|
+
"description": "Respan API base URL (for enterprise deployments)",
|
|
1925
|
+
"name": "base-url",
|
|
1926
|
+
"default": "https://api.respan.ai/api",
|
|
1912
1927
|
"hasDynamicHelp": false,
|
|
1913
|
-
"multiple":
|
|
1928
|
+
"multiple": false,
|
|
1914
1929
|
"type": "option"
|
|
1915
1930
|
},
|
|
1916
|
-
"
|
|
1917
|
-
"description": "
|
|
1918
|
-
"name": "
|
|
1931
|
+
"attrs": {
|
|
1932
|
+
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
1933
|
+
"name": "attrs",
|
|
1934
|
+
"default": "{}",
|
|
1919
1935
|
"hasDynamicHelp": false,
|
|
1920
1936
|
"multiple": false,
|
|
1921
1937
|
"type": "option"
|
|
1922
1938
|
},
|
|
1923
|
-
"
|
|
1924
|
-
"description": "
|
|
1925
|
-
"
|
|
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",
|
|
1926
1957
|
"hasDynamicHelp": false,
|
|
1927
1958
|
"multiple": false,
|
|
1928
1959
|
"type": "option"
|
|
1960
|
+
},
|
|
1961
|
+
"dry-run": {
|
|
1962
|
+
"description": "Preview changes without writing files",
|
|
1963
|
+
"name": "dry-run",
|
|
1964
|
+
"allowNo": false,
|
|
1965
|
+
"type": "boolean"
|
|
1929
1966
|
}
|
|
1930
1967
|
},
|
|
1931
1968
|
"hasDynamicHelp": false,
|
|
1932
1969
|
"hiddenAliases": [],
|
|
1933
|
-
"id": "
|
|
1970
|
+
"id": "integrate:gemini-cli",
|
|
1934
1971
|
"pluginAlias": "@respan/cli",
|
|
1935
1972
|
"pluginName": "@respan/cli",
|
|
1936
1973
|
"pluginType": "core",
|
|
@@ -1940,8 +1977,140 @@
|
|
|
1940
1977
|
"relativePath": [
|
|
1941
1978
|
"dist",
|
|
1942
1979
|
"commands",
|
|
1943
|
-
"
|
|
1944
|
-
"
|
|
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": "{}",
|
|
2067
|
+
"hasDynamicHelp": false,
|
|
2068
|
+
"multiple": false,
|
|
2069
|
+
"type": "option"
|
|
2070
|
+
},
|
|
2071
|
+
"customer-id": {
|
|
2072
|
+
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
2073
|
+
"env": "RESPAN_CUSTOMER_ID",
|
|
2074
|
+
"name": "customer-id",
|
|
2075
|
+
"hasDynamicHelp": false,
|
|
2076
|
+
"multiple": false,
|
|
2077
|
+
"type": "option"
|
|
2078
|
+
},
|
|
2079
|
+
"span-name": {
|
|
2080
|
+
"description": "Root span name for traces (default: claude-code)",
|
|
2081
|
+
"name": "span-name",
|
|
2082
|
+
"hasDynamicHelp": false,
|
|
2083
|
+
"multiple": false,
|
|
2084
|
+
"type": "option"
|
|
2085
|
+
},
|
|
2086
|
+
"workflow-name": {
|
|
2087
|
+
"description": "Workflow name for traces (default: claude-code)",
|
|
2088
|
+
"name": "workflow-name",
|
|
2089
|
+
"hasDynamicHelp": false,
|
|
2090
|
+
"multiple": false,
|
|
2091
|
+
"type": "option"
|
|
2092
|
+
},
|
|
2093
|
+
"dry-run": {
|
|
2094
|
+
"description": "Preview changes without writing files",
|
|
2095
|
+
"name": "dry-run",
|
|
2096
|
+
"allowNo": false,
|
|
2097
|
+
"type": "boolean"
|
|
2098
|
+
}
|
|
2099
|
+
},
|
|
2100
|
+
"hasDynamicHelp": false,
|
|
2101
|
+
"hiddenAliases": [],
|
|
2102
|
+
"id": "integrate:opencode",
|
|
2103
|
+
"pluginAlias": "@respan/cli",
|
|
2104
|
+
"pluginName": "@respan/cli",
|
|
2105
|
+
"pluginType": "core",
|
|
2106
|
+
"strict": true,
|
|
2107
|
+
"enableJsonFlag": false,
|
|
2108
|
+
"isESM": true,
|
|
2109
|
+
"relativePath": [
|
|
2110
|
+
"dist",
|
|
2111
|
+
"commands",
|
|
2112
|
+
"integrate",
|
|
2113
|
+
"opencode.js"
|
|
1945
2114
|
]
|
|
1946
2115
|
},
|
|
1947
2116
|
"prompts:create-version": {
|
|
@@ -2612,10 +2781,10 @@
|
|
|
2612
2781
|
"summary.js"
|
|
2613
2782
|
]
|
|
2614
2783
|
},
|
|
2615
|
-
"
|
|
2784
|
+
"logs:create": {
|
|
2616
2785
|
"aliases": [],
|
|
2617
2786
|
"args": {},
|
|
2618
|
-
"description": "Create a
|
|
2787
|
+
"description": "Create a log span",
|
|
2619
2788
|
"flags": {
|
|
2620
2789
|
"api-key": {
|
|
2621
2790
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2651,24 +2820,24 @@
|
|
|
2651
2820
|
"allowNo": false,
|
|
2652
2821
|
"type": "boolean"
|
|
2653
2822
|
},
|
|
2654
|
-
"
|
|
2655
|
-
"description": "
|
|
2656
|
-
"name": "
|
|
2823
|
+
"input": {
|
|
2824
|
+
"description": "Input text or JSON",
|
|
2825
|
+
"name": "input",
|
|
2657
2826
|
"required": true,
|
|
2658
2827
|
"hasDynamicHelp": false,
|
|
2659
2828
|
"multiple": false,
|
|
2660
2829
|
"type": "option"
|
|
2661
2830
|
},
|
|
2662
|
-
"
|
|
2663
|
-
"description": "
|
|
2664
|
-
"name": "
|
|
2831
|
+
"output": {
|
|
2832
|
+
"description": "Output text or JSON",
|
|
2833
|
+
"name": "output",
|
|
2665
2834
|
"hasDynamicHelp": false,
|
|
2666
2835
|
"multiple": false,
|
|
2667
2836
|
"type": "option"
|
|
2668
2837
|
},
|
|
2669
|
-
"
|
|
2670
|
-
"description": "
|
|
2671
|
-
"name": "
|
|
2838
|
+
"model": {
|
|
2839
|
+
"description": "Model name",
|
|
2840
|
+
"name": "model",
|
|
2672
2841
|
"hasDynamicHelp": false,
|
|
2673
2842
|
"multiple": false,
|
|
2674
2843
|
"type": "option"
|
|
@@ -2683,7 +2852,7 @@
|
|
|
2683
2852
|
},
|
|
2684
2853
|
"hasDynamicHelp": false,
|
|
2685
2854
|
"hiddenAliases": [],
|
|
2686
|
-
"id": "
|
|
2855
|
+
"id": "logs:create",
|
|
2687
2856
|
"pluginAlias": "@respan/cli",
|
|
2688
2857
|
"pluginName": "@respan/cli",
|
|
2689
2858
|
"pluginType": "core",
|
|
@@ -2693,20 +2862,20 @@
|
|
|
2693
2862
|
"relativePath": [
|
|
2694
2863
|
"dist",
|
|
2695
2864
|
"commands",
|
|
2696
|
-
"
|
|
2865
|
+
"logs",
|
|
2697
2866
|
"create.js"
|
|
2698
2867
|
]
|
|
2699
2868
|
},
|
|
2700
|
-
"
|
|
2869
|
+
"logs:get": {
|
|
2701
2870
|
"aliases": [],
|
|
2702
2871
|
"args": {
|
|
2703
2872
|
"id": {
|
|
2704
|
-
"description": "
|
|
2873
|
+
"description": "Span ID",
|
|
2705
2874
|
"name": "id",
|
|
2706
2875
|
"required": true
|
|
2707
2876
|
}
|
|
2708
2877
|
},
|
|
2709
|
-
"description": "Get a specific
|
|
2878
|
+
"description": "Get a specific log span",
|
|
2710
2879
|
"flags": {
|
|
2711
2880
|
"api-key": {
|
|
2712
2881
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2745,7 +2914,7 @@
|
|
|
2745
2914
|
},
|
|
2746
2915
|
"hasDynamicHelp": false,
|
|
2747
2916
|
"hiddenAliases": [],
|
|
2748
|
-
"id": "
|
|
2917
|
+
"id": "logs:get",
|
|
2749
2918
|
"pluginAlias": "@respan/cli",
|
|
2750
2919
|
"pluginName": "@respan/cli",
|
|
2751
2920
|
"pluginType": "core",
|
|
@@ -2755,14 +2924,14 @@
|
|
|
2755
2924
|
"relativePath": [
|
|
2756
2925
|
"dist",
|
|
2757
2926
|
"commands",
|
|
2758
|
-
"
|
|
2927
|
+
"logs",
|
|
2759
2928
|
"get.js"
|
|
2760
2929
|
]
|
|
2761
2930
|
},
|
|
2762
|
-
"
|
|
2931
|
+
"logs:list": {
|
|
2763
2932
|
"aliases": [],
|
|
2764
2933
|
"args": {},
|
|
2765
|
-
"description": "List
|
|
2934
|
+
"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",
|
|
2766
2935
|
"flags": {
|
|
2767
2936
|
"api-key": {
|
|
2768
2937
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2799,9 +2968,9 @@
|
|
|
2799
2968
|
"type": "boolean"
|
|
2800
2969
|
},
|
|
2801
2970
|
"limit": {
|
|
2802
|
-
"description": "Number of results per page",
|
|
2971
|
+
"description": "Number of results per page (max 1000)",
|
|
2803
2972
|
"name": "limit",
|
|
2804
|
-
"default":
|
|
2973
|
+
"default": 50,
|
|
2805
2974
|
"hasDynamicHelp": false,
|
|
2806
2975
|
"multiple": false,
|
|
2807
2976
|
"type": "option"
|
|
@@ -2815,46 +2984,75 @@
|
|
|
2815
2984
|
"type": "option"
|
|
2816
2985
|
},
|
|
2817
2986
|
"sort-by": {
|
|
2818
|
-
"description": "Sort field",
|
|
2987
|
+
"description": "Sort field (prefix with - for descending, e.g. -cost, -latency)",
|
|
2819
2988
|
"name": "sort-by",
|
|
2820
2989
|
"hasDynamicHelp": false,
|
|
2821
2990
|
"multiple": false,
|
|
2822
2991
|
"type": "option"
|
|
2823
2992
|
},
|
|
2824
|
-
"
|
|
2825
|
-
"description": "
|
|
2826
|
-
"name": "
|
|
2993
|
+
"start-time": {
|
|
2994
|
+
"description": "Start time filter (ISO 8601)",
|
|
2995
|
+
"name": "start-time",
|
|
2827
2996
|
"hasDynamicHelp": false,
|
|
2828
2997
|
"multiple": false,
|
|
2829
2998
|
"type": "option"
|
|
2830
|
-
}
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2999
|
+
},
|
|
3000
|
+
"end-time": {
|
|
3001
|
+
"description": "End time filter (ISO 8601)",
|
|
3002
|
+
"name": "end-time",
|
|
3003
|
+
"hasDynamicHelp": false,
|
|
3004
|
+
"multiple": false,
|
|
3005
|
+
"type": "option"
|
|
3006
|
+
},
|
|
3007
|
+
"filter": {
|
|
3008
|
+
"description": "Filter in field:operator:value format (repeatable)",
|
|
3009
|
+
"name": "filter",
|
|
3010
|
+
"hasDynamicHelp": false,
|
|
3011
|
+
"multiple": true,
|
|
3012
|
+
"type": "option"
|
|
3013
|
+
},
|
|
3014
|
+
"all-envs": {
|
|
3015
|
+
"description": "Include all environments (true/false)",
|
|
3016
|
+
"name": "all-envs",
|
|
3017
|
+
"hasDynamicHelp": false,
|
|
3018
|
+
"multiple": false,
|
|
3019
|
+
"type": "option"
|
|
3020
|
+
},
|
|
3021
|
+
"is-test": {
|
|
3022
|
+
"description": "Filter by test (true) or production (false) environment",
|
|
3023
|
+
"name": "is-test",
|
|
3024
|
+
"hasDynamicHelp": false,
|
|
3025
|
+
"multiple": false,
|
|
3026
|
+
"type": "option"
|
|
3027
|
+
},
|
|
3028
|
+
"include-fields": {
|
|
3029
|
+
"description": "Comma-separated fields to include in response",
|
|
3030
|
+
"name": "include-fields",
|
|
3031
|
+
"hasDynamicHelp": false,
|
|
3032
|
+
"multiple": false,
|
|
3033
|
+
"type": "option"
|
|
3034
|
+
}
|
|
3035
|
+
},
|
|
3036
|
+
"hasDynamicHelp": false,
|
|
3037
|
+
"hiddenAliases": [],
|
|
3038
|
+
"id": "logs:list",
|
|
3039
|
+
"pluginAlias": "@respan/cli",
|
|
3040
|
+
"pluginName": "@respan/cli",
|
|
3041
|
+
"pluginType": "core",
|
|
3042
|
+
"strict": true,
|
|
2839
3043
|
"enableJsonFlag": false,
|
|
2840
3044
|
"isESM": true,
|
|
2841
3045
|
"relativePath": [
|
|
2842
3046
|
"dist",
|
|
2843
3047
|
"commands",
|
|
2844
|
-
"
|
|
3048
|
+
"logs",
|
|
2845
3049
|
"list.js"
|
|
2846
3050
|
]
|
|
2847
3051
|
},
|
|
2848
|
-
"
|
|
3052
|
+
"logs:summary": {
|
|
2849
3053
|
"aliases": [],
|
|
2850
|
-
"args": {
|
|
2851
|
-
|
|
2852
|
-
"description": "Customer identifier",
|
|
2853
|
-
"name": "id",
|
|
2854
|
-
"required": true
|
|
2855
|
-
}
|
|
2856
|
-
},
|
|
2857
|
-
"description": "Update a user (customer)",
|
|
3054
|
+
"args": {},
|
|
3055
|
+
"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",
|
|
2858
3056
|
"flags": {
|
|
2859
3057
|
"api-key": {
|
|
2860
3058
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2890,23 +3088,39 @@
|
|
|
2890
3088
|
"allowNo": false,
|
|
2891
3089
|
"type": "boolean"
|
|
2892
3090
|
},
|
|
2893
|
-
"
|
|
2894
|
-
"description": "
|
|
2895
|
-
"name": "
|
|
3091
|
+
"start-time": {
|
|
3092
|
+
"description": "Start time (ISO 8601)",
|
|
3093
|
+
"name": "start-time",
|
|
3094
|
+
"required": true,
|
|
2896
3095
|
"hasDynamicHelp": false,
|
|
2897
3096
|
"multiple": false,
|
|
2898
3097
|
"type": "option"
|
|
2899
3098
|
},
|
|
2900
|
-
"
|
|
2901
|
-
"description": "
|
|
2902
|
-
"name": "
|
|
3099
|
+
"end-time": {
|
|
3100
|
+
"description": "End time (ISO 8601)",
|
|
3101
|
+
"name": "end-time",
|
|
3102
|
+
"required": true,
|
|
2903
3103
|
"hasDynamicHelp": false,
|
|
2904
3104
|
"multiple": false,
|
|
2905
3105
|
"type": "option"
|
|
2906
3106
|
},
|
|
2907
|
-
"
|
|
2908
|
-
"description": "
|
|
2909
|
-
"name": "
|
|
3107
|
+
"filter": {
|
|
3108
|
+
"description": "Filter in field:operator:value format (repeatable)",
|
|
3109
|
+
"name": "filter",
|
|
3110
|
+
"hasDynamicHelp": false,
|
|
3111
|
+
"multiple": true,
|
|
3112
|
+
"type": "option"
|
|
3113
|
+
},
|
|
3114
|
+
"all-envs": {
|
|
3115
|
+
"description": "Include all environments (true/false)",
|
|
3116
|
+
"name": "all-envs",
|
|
3117
|
+
"hasDynamicHelp": false,
|
|
3118
|
+
"multiple": false,
|
|
3119
|
+
"type": "option"
|
|
3120
|
+
},
|
|
3121
|
+
"is-test": {
|
|
3122
|
+
"description": "Filter by test (true) or production (false) environment",
|
|
3123
|
+
"name": "is-test",
|
|
2910
3124
|
"hasDynamicHelp": false,
|
|
2911
3125
|
"multiple": false,
|
|
2912
3126
|
"type": "option"
|
|
@@ -2914,7 +3128,7 @@
|
|
|
2914
3128
|
},
|
|
2915
3129
|
"hasDynamicHelp": false,
|
|
2916
3130
|
"hiddenAliases": [],
|
|
2917
|
-
"id": "
|
|
3131
|
+
"id": "logs:summary",
|
|
2918
3132
|
"pluginAlias": "@respan/cli",
|
|
2919
3133
|
"pluginName": "@respan/cli",
|
|
2920
3134
|
"pluginType": "core",
|
|
@@ -2924,21 +3138,14 @@
|
|
|
2924
3138
|
"relativePath": [
|
|
2925
3139
|
"dist",
|
|
2926
3140
|
"commands",
|
|
2927
|
-
"
|
|
2928
|
-
"
|
|
3141
|
+
"logs",
|
|
3142
|
+
"summary.js"
|
|
2929
3143
|
]
|
|
2930
3144
|
},
|
|
2931
|
-
"
|
|
3145
|
+
"users:create": {
|
|
2932
3146
|
"aliases": [],
|
|
2933
3147
|
"args": {},
|
|
2934
|
-
"description": "
|
|
2935
|
-
"examples": [
|
|
2936
|
-
"respan integrate claude-code",
|
|
2937
|
-
"respan integrate claude-code --global",
|
|
2938
|
-
"respan integrate claude-code --local --project-id my-project",
|
|
2939
|
-
"respan integrate claude-code --attrs '{\"env\":\"prod\"}'",
|
|
2940
|
-
"respan integrate claude-code --dry-run"
|
|
2941
|
-
],
|
|
3148
|
+
"description": "Create a new user (customer)",
|
|
2942
3149
|
"flags": {
|
|
2943
3150
|
"api-key": {
|
|
2944
3151
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2974,80 +3181,39 @@
|
|
|
2974
3181
|
"allowNo": false,
|
|
2975
3182
|
"type": "boolean"
|
|
2976
3183
|
},
|
|
2977
|
-
"
|
|
2978
|
-
"description": "
|
|
2979
|
-
"
|
|
2980
|
-
|
|
2981
|
-
],
|
|
2982
|
-
"name": "local",
|
|
2983
|
-
"allowNo": false,
|
|
2984
|
-
"type": "boolean"
|
|
2985
|
-
},
|
|
2986
|
-
"global": {
|
|
2987
|
-
"description": "Write user-level global config",
|
|
2988
|
-
"exclusive": [
|
|
2989
|
-
"local"
|
|
2990
|
-
],
|
|
2991
|
-
"name": "global",
|
|
2992
|
-
"allowNo": false,
|
|
2993
|
-
"type": "boolean"
|
|
2994
|
-
},
|
|
2995
|
-
"project-id": {
|
|
2996
|
-
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
2997
|
-
"env": "RESPAN_PROJECT_ID",
|
|
2998
|
-
"name": "project-id",
|
|
2999
|
-
"hasDynamicHelp": false,
|
|
3000
|
-
"multiple": false,
|
|
3001
|
-
"type": "option"
|
|
3002
|
-
},
|
|
3003
|
-
"base-url": {
|
|
3004
|
-
"description": "Respan API base URL (for enterprise deployments)",
|
|
3005
|
-
"name": "base-url",
|
|
3006
|
-
"default": "https://api.respan.ai/api",
|
|
3007
|
-
"hasDynamicHelp": false,
|
|
3008
|
-
"multiple": false,
|
|
3009
|
-
"type": "option"
|
|
3010
|
-
},
|
|
3011
|
-
"attrs": {
|
|
3012
|
-
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
3013
|
-
"name": "attrs",
|
|
3014
|
-
"default": "{}",
|
|
3184
|
+
"identifier": {
|
|
3185
|
+
"description": "Customer identifier",
|
|
3186
|
+
"name": "identifier",
|
|
3187
|
+
"required": true,
|
|
3015
3188
|
"hasDynamicHelp": false,
|
|
3016
3189
|
"multiple": false,
|
|
3017
3190
|
"type": "option"
|
|
3018
3191
|
},
|
|
3019
|
-
"
|
|
3020
|
-
"description": "Customer
|
|
3021
|
-
"
|
|
3022
|
-
"name": "customer-id",
|
|
3192
|
+
"name": {
|
|
3193
|
+
"description": "Customer name",
|
|
3194
|
+
"name": "name",
|
|
3023
3195
|
"hasDynamicHelp": false,
|
|
3024
3196
|
"multiple": false,
|
|
3025
3197
|
"type": "option"
|
|
3026
3198
|
},
|
|
3027
|
-
"
|
|
3028
|
-
"description": "
|
|
3029
|
-
"name": "
|
|
3199
|
+
"email": {
|
|
3200
|
+
"description": "Customer email",
|
|
3201
|
+
"name": "email",
|
|
3030
3202
|
"hasDynamicHelp": false,
|
|
3031
3203
|
"multiple": false,
|
|
3032
3204
|
"type": "option"
|
|
3033
3205
|
},
|
|
3034
|
-
"
|
|
3035
|
-
"description": "
|
|
3036
|
-
"name": "
|
|
3206
|
+
"metadata": {
|
|
3207
|
+
"description": "Metadata as JSON string",
|
|
3208
|
+
"name": "metadata",
|
|
3037
3209
|
"hasDynamicHelp": false,
|
|
3038
3210
|
"multiple": false,
|
|
3039
3211
|
"type": "option"
|
|
3040
|
-
},
|
|
3041
|
-
"dry-run": {
|
|
3042
|
-
"description": "Preview changes without writing files",
|
|
3043
|
-
"name": "dry-run",
|
|
3044
|
-
"allowNo": false,
|
|
3045
|
-
"type": "boolean"
|
|
3046
3212
|
}
|
|
3047
3213
|
},
|
|
3048
3214
|
"hasDynamicHelp": false,
|
|
3049
3215
|
"hiddenAliases": [],
|
|
3050
|
-
"id": "
|
|
3216
|
+
"id": "users:create",
|
|
3051
3217
|
"pluginAlias": "@respan/cli",
|
|
3052
3218
|
"pluginName": "@respan/cli",
|
|
3053
3219
|
"pluginType": "core",
|
|
@@ -3057,21 +3223,20 @@
|
|
|
3057
3223
|
"relativePath": [
|
|
3058
3224
|
"dist",
|
|
3059
3225
|
"commands",
|
|
3060
|
-
"
|
|
3061
|
-
"
|
|
3226
|
+
"users",
|
|
3227
|
+
"create.js"
|
|
3062
3228
|
]
|
|
3063
3229
|
},
|
|
3064
|
-
"
|
|
3230
|
+
"users:get": {
|
|
3065
3231
|
"aliases": [],
|
|
3066
|
-
"args": {
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
],
|
|
3232
|
+
"args": {
|
|
3233
|
+
"id": {
|
|
3234
|
+
"description": "Customer identifier",
|
|
3235
|
+
"name": "id",
|
|
3236
|
+
"required": true
|
|
3237
|
+
}
|
|
3238
|
+
},
|
|
3239
|
+
"description": "Get a specific user (customer)",
|
|
3075
3240
|
"flags": {
|
|
3076
3241
|
"api-key": {
|
|
3077
3242
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3106,81 +3271,11 @@
|
|
|
3106
3271
|
"name": "verbose",
|
|
3107
3272
|
"allowNo": false,
|
|
3108
3273
|
"type": "boolean"
|
|
3109
|
-
},
|
|
3110
|
-
"local": {
|
|
3111
|
-
"description": "Write per-project config (default)",
|
|
3112
|
-
"exclusive": [
|
|
3113
|
-
"global"
|
|
3114
|
-
],
|
|
3115
|
-
"name": "local",
|
|
3116
|
-
"allowNo": false,
|
|
3117
|
-
"type": "boolean"
|
|
3118
|
-
},
|
|
3119
|
-
"global": {
|
|
3120
|
-
"description": "Write user-level global config",
|
|
3121
|
-
"exclusive": [
|
|
3122
|
-
"local"
|
|
3123
|
-
],
|
|
3124
|
-
"name": "global",
|
|
3125
|
-
"allowNo": false,
|
|
3126
|
-
"type": "boolean"
|
|
3127
|
-
},
|
|
3128
|
-
"project-id": {
|
|
3129
|
-
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
3130
|
-
"env": "RESPAN_PROJECT_ID",
|
|
3131
|
-
"name": "project-id",
|
|
3132
|
-
"hasDynamicHelp": false,
|
|
3133
|
-
"multiple": false,
|
|
3134
|
-
"type": "option"
|
|
3135
|
-
},
|
|
3136
|
-
"base-url": {
|
|
3137
|
-
"description": "Respan API base URL (for enterprise deployments)",
|
|
3138
|
-
"name": "base-url",
|
|
3139
|
-
"default": "https://api.respan.ai/api",
|
|
3140
|
-
"hasDynamicHelp": false,
|
|
3141
|
-
"multiple": false,
|
|
3142
|
-
"type": "option"
|
|
3143
|
-
},
|
|
3144
|
-
"attrs": {
|
|
3145
|
-
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
3146
|
-
"name": "attrs",
|
|
3147
|
-
"default": "{}",
|
|
3148
|
-
"hasDynamicHelp": false,
|
|
3149
|
-
"multiple": false,
|
|
3150
|
-
"type": "option"
|
|
3151
|
-
},
|
|
3152
|
-
"customer-id": {
|
|
3153
|
-
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
3154
|
-
"env": "RESPAN_CUSTOMER_ID",
|
|
3155
|
-
"name": "customer-id",
|
|
3156
|
-
"hasDynamicHelp": false,
|
|
3157
|
-
"multiple": false,
|
|
3158
|
-
"type": "option"
|
|
3159
|
-
},
|
|
3160
|
-
"span-name": {
|
|
3161
|
-
"description": "Root span name for traces (default: claude-code)",
|
|
3162
|
-
"name": "span-name",
|
|
3163
|
-
"hasDynamicHelp": false,
|
|
3164
|
-
"multiple": false,
|
|
3165
|
-
"type": "option"
|
|
3166
|
-
},
|
|
3167
|
-
"workflow-name": {
|
|
3168
|
-
"description": "Workflow name for traces (default: claude-code)",
|
|
3169
|
-
"name": "workflow-name",
|
|
3170
|
-
"hasDynamicHelp": false,
|
|
3171
|
-
"multiple": false,
|
|
3172
|
-
"type": "option"
|
|
3173
|
-
},
|
|
3174
|
-
"dry-run": {
|
|
3175
|
-
"description": "Preview changes without writing files",
|
|
3176
|
-
"name": "dry-run",
|
|
3177
|
-
"allowNo": false,
|
|
3178
|
-
"type": "boolean"
|
|
3179
3274
|
}
|
|
3180
3275
|
},
|
|
3181
3276
|
"hasDynamicHelp": false,
|
|
3182
3277
|
"hiddenAliases": [],
|
|
3183
|
-
"id": "
|
|
3278
|
+
"id": "users:get",
|
|
3184
3279
|
"pluginAlias": "@respan/cli",
|
|
3185
3280
|
"pluginName": "@respan/cli",
|
|
3186
3281
|
"pluginType": "core",
|
|
@@ -3190,20 +3285,14 @@
|
|
|
3190
3285
|
"relativePath": [
|
|
3191
3286
|
"dist",
|
|
3192
3287
|
"commands",
|
|
3193
|
-
"
|
|
3194
|
-
"
|
|
3288
|
+
"users",
|
|
3289
|
+
"get.js"
|
|
3195
3290
|
]
|
|
3196
3291
|
},
|
|
3197
|
-
"
|
|
3292
|
+
"users:list": {
|
|
3198
3293
|
"aliases": [],
|
|
3199
3294
|
"args": {},
|
|
3200
|
-
"description": "
|
|
3201
|
-
"examples": [
|
|
3202
|
-
"respan integrate gemini-cli",
|
|
3203
|
-
"respan integrate gemini-cli --local",
|
|
3204
|
-
"respan integrate gemini-cli --project-id my-project --attrs '{\"env\":\"prod\"}'",
|
|
3205
|
-
"respan integrate gemini-cli --dry-run"
|
|
3206
|
-
],
|
|
3295
|
+
"description": "List users (customers)",
|
|
3207
3296
|
"flags": {
|
|
3208
3297
|
"api-key": {
|
|
3209
3298
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3239,80 +3328,40 @@
|
|
|
3239
3328
|
"allowNo": false,
|
|
3240
3329
|
"type": "boolean"
|
|
3241
3330
|
},
|
|
3242
|
-
"
|
|
3243
|
-
"description": "
|
|
3244
|
-
"
|
|
3245
|
-
|
|
3246
|
-
],
|
|
3247
|
-
"name": "local",
|
|
3248
|
-
"allowNo": false,
|
|
3249
|
-
"type": "boolean"
|
|
3250
|
-
},
|
|
3251
|
-
"global": {
|
|
3252
|
-
"description": "Write user-level global config",
|
|
3253
|
-
"exclusive": [
|
|
3254
|
-
"local"
|
|
3255
|
-
],
|
|
3256
|
-
"name": "global",
|
|
3257
|
-
"allowNo": false,
|
|
3258
|
-
"type": "boolean"
|
|
3259
|
-
},
|
|
3260
|
-
"project-id": {
|
|
3261
|
-
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
3262
|
-
"env": "RESPAN_PROJECT_ID",
|
|
3263
|
-
"name": "project-id",
|
|
3264
|
-
"hasDynamicHelp": false,
|
|
3265
|
-
"multiple": false,
|
|
3266
|
-
"type": "option"
|
|
3267
|
-
},
|
|
3268
|
-
"base-url": {
|
|
3269
|
-
"description": "Respan API base URL (for enterprise deployments)",
|
|
3270
|
-
"name": "base-url",
|
|
3271
|
-
"default": "https://api.respan.ai/api",
|
|
3272
|
-
"hasDynamicHelp": false,
|
|
3273
|
-
"multiple": false,
|
|
3274
|
-
"type": "option"
|
|
3275
|
-
},
|
|
3276
|
-
"attrs": {
|
|
3277
|
-
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
3278
|
-
"name": "attrs",
|
|
3279
|
-
"default": "{}",
|
|
3331
|
+
"limit": {
|
|
3332
|
+
"description": "Number of results per page",
|
|
3333
|
+
"name": "limit",
|
|
3334
|
+
"default": 20,
|
|
3280
3335
|
"hasDynamicHelp": false,
|
|
3281
3336
|
"multiple": false,
|
|
3282
3337
|
"type": "option"
|
|
3283
3338
|
},
|
|
3284
|
-
"
|
|
3285
|
-
"description": "
|
|
3286
|
-
"
|
|
3287
|
-
"
|
|
3339
|
+
"page": {
|
|
3340
|
+
"description": "Page number",
|
|
3341
|
+
"name": "page",
|
|
3342
|
+
"default": 1,
|
|
3288
3343
|
"hasDynamicHelp": false,
|
|
3289
3344
|
"multiple": false,
|
|
3290
3345
|
"type": "option"
|
|
3291
3346
|
},
|
|
3292
|
-
"
|
|
3293
|
-
"description": "
|
|
3294
|
-
"name": "
|
|
3347
|
+
"sort-by": {
|
|
3348
|
+
"description": "Sort field",
|
|
3349
|
+
"name": "sort-by",
|
|
3295
3350
|
"hasDynamicHelp": false,
|
|
3296
3351
|
"multiple": false,
|
|
3297
3352
|
"type": "option"
|
|
3298
3353
|
},
|
|
3299
|
-
"
|
|
3300
|
-
"description": "
|
|
3301
|
-
"name": "
|
|
3354
|
+
"environment": {
|
|
3355
|
+
"description": "Environment filter",
|
|
3356
|
+
"name": "environment",
|
|
3302
3357
|
"hasDynamicHelp": false,
|
|
3303
3358
|
"multiple": false,
|
|
3304
3359
|
"type": "option"
|
|
3305
|
-
},
|
|
3306
|
-
"dry-run": {
|
|
3307
|
-
"description": "Preview changes without writing files",
|
|
3308
|
-
"name": "dry-run",
|
|
3309
|
-
"allowNo": false,
|
|
3310
|
-
"type": "boolean"
|
|
3311
3360
|
}
|
|
3312
3361
|
},
|
|
3313
3362
|
"hasDynamicHelp": false,
|
|
3314
3363
|
"hiddenAliases": [],
|
|
3315
|
-
"id": "
|
|
3364
|
+
"id": "users:list",
|
|
3316
3365
|
"pluginAlias": "@respan/cli",
|
|
3317
3366
|
"pluginName": "@respan/cli",
|
|
3318
3367
|
"pluginType": "core",
|
|
@@ -3322,20 +3371,20 @@
|
|
|
3322
3371
|
"relativePath": [
|
|
3323
3372
|
"dist",
|
|
3324
3373
|
"commands",
|
|
3325
|
-
"
|
|
3326
|
-
"
|
|
3374
|
+
"users",
|
|
3375
|
+
"list.js"
|
|
3327
3376
|
]
|
|
3328
3377
|
},
|
|
3329
|
-
"
|
|
3378
|
+
"users:update": {
|
|
3330
3379
|
"aliases": [],
|
|
3331
|
-
"args": {
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3380
|
+
"args": {
|
|
3381
|
+
"id": {
|
|
3382
|
+
"description": "Customer identifier",
|
|
3383
|
+
"name": "id",
|
|
3384
|
+
"required": true
|
|
3385
|
+
}
|
|
3386
|
+
},
|
|
3387
|
+
"description": "Update a user (customer)",
|
|
3339
3388
|
"flags": {
|
|
3340
3389
|
"api-key": {
|
|
3341
3390
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3371,80 +3420,31 @@
|
|
|
3371
3420
|
"allowNo": false,
|
|
3372
3421
|
"type": "boolean"
|
|
3373
3422
|
},
|
|
3374
|
-
"
|
|
3375
|
-
"description": "
|
|
3376
|
-
"
|
|
3377
|
-
"global"
|
|
3378
|
-
],
|
|
3379
|
-
"name": "local",
|
|
3380
|
-
"allowNo": false,
|
|
3381
|
-
"type": "boolean"
|
|
3382
|
-
},
|
|
3383
|
-
"global": {
|
|
3384
|
-
"description": "Write user-level global config",
|
|
3385
|
-
"exclusive": [
|
|
3386
|
-
"local"
|
|
3387
|
-
],
|
|
3388
|
-
"name": "global",
|
|
3389
|
-
"allowNo": false,
|
|
3390
|
-
"type": "boolean"
|
|
3391
|
-
},
|
|
3392
|
-
"project-id": {
|
|
3393
|
-
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
3394
|
-
"env": "RESPAN_PROJECT_ID",
|
|
3395
|
-
"name": "project-id",
|
|
3396
|
-
"hasDynamicHelp": false,
|
|
3397
|
-
"multiple": false,
|
|
3398
|
-
"type": "option"
|
|
3399
|
-
},
|
|
3400
|
-
"base-url": {
|
|
3401
|
-
"description": "Respan API base URL (for enterprise deployments)",
|
|
3402
|
-
"name": "base-url",
|
|
3403
|
-
"default": "https://api.respan.ai/api",
|
|
3404
|
-
"hasDynamicHelp": false,
|
|
3405
|
-
"multiple": false,
|
|
3406
|
-
"type": "option"
|
|
3407
|
-
},
|
|
3408
|
-
"attrs": {
|
|
3409
|
-
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
3410
|
-
"name": "attrs",
|
|
3411
|
-
"default": "{}",
|
|
3412
|
-
"hasDynamicHelp": false,
|
|
3413
|
-
"multiple": false,
|
|
3414
|
-
"type": "option"
|
|
3415
|
-
},
|
|
3416
|
-
"customer-id": {
|
|
3417
|
-
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
3418
|
-
"env": "RESPAN_CUSTOMER_ID",
|
|
3419
|
-
"name": "customer-id",
|
|
3423
|
+
"name": {
|
|
3424
|
+
"description": "Customer name",
|
|
3425
|
+
"name": "name",
|
|
3420
3426
|
"hasDynamicHelp": false,
|
|
3421
3427
|
"multiple": false,
|
|
3422
3428
|
"type": "option"
|
|
3423
3429
|
},
|
|
3424
|
-
"
|
|
3425
|
-
"description": "
|
|
3426
|
-
"name": "
|
|
3430
|
+
"email": {
|
|
3431
|
+
"description": "Customer email",
|
|
3432
|
+
"name": "email",
|
|
3427
3433
|
"hasDynamicHelp": false,
|
|
3428
3434
|
"multiple": false,
|
|
3429
3435
|
"type": "option"
|
|
3430
3436
|
},
|
|
3431
|
-
"
|
|
3432
|
-
"description": "
|
|
3433
|
-
"name": "
|
|
3437
|
+
"metadata": {
|
|
3438
|
+
"description": "Metadata as JSON string",
|
|
3439
|
+
"name": "metadata",
|
|
3434
3440
|
"hasDynamicHelp": false,
|
|
3435
3441
|
"multiple": false,
|
|
3436
3442
|
"type": "option"
|
|
3437
|
-
},
|
|
3438
|
-
"dry-run": {
|
|
3439
|
-
"description": "Preview changes without writing files",
|
|
3440
|
-
"name": "dry-run",
|
|
3441
|
-
"allowNo": false,
|
|
3442
|
-
"type": "boolean"
|
|
3443
3443
|
}
|
|
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.1"
|
|
3463
3463
|
}
|