@respan/cli 0.7.0 → 0.7.2

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.
@@ -1363,12 +1363,233 @@
1363
1363
  "update.js"
1364
1364
  ]
1365
1365
  },
1366
+ "experiments:create": {
1367
+ "aliases": [],
1368
+ "args": {},
1369
+ "description": "Create a new experiment",
1370
+ "flags": {
1371
+ "api-key": {
1372
+ "description": "API key (env: RESPAN_API_KEY)",
1373
+ "env": "RESPAN_API_KEY",
1374
+ "name": "api-key",
1375
+ "hasDynamicHelp": false,
1376
+ "multiple": false,
1377
+ "type": "option"
1378
+ },
1379
+ "profile": {
1380
+ "description": "Named profile to use",
1381
+ "name": "profile",
1382
+ "hasDynamicHelp": false,
1383
+ "multiple": false,
1384
+ "type": "option"
1385
+ },
1386
+ "json": {
1387
+ "description": "Output as JSON",
1388
+ "name": "json",
1389
+ "allowNo": false,
1390
+ "type": "boolean"
1391
+ },
1392
+ "csv": {
1393
+ "description": "Output as CSV",
1394
+ "name": "csv",
1395
+ "allowNo": false,
1396
+ "type": "boolean"
1397
+ },
1398
+ "verbose": {
1399
+ "char": "v",
1400
+ "description": "Show verbose output",
1401
+ "name": "verbose",
1402
+ "allowNo": false,
1403
+ "type": "boolean"
1404
+ },
1405
+ "name": {
1406
+ "description": "Experiment name",
1407
+ "name": "name",
1408
+ "required": true,
1409
+ "hasDynamicHelp": false,
1410
+ "multiple": false,
1411
+ "type": "option"
1412
+ },
1413
+ "dataset-id": {
1414
+ "description": "Dataset ID",
1415
+ "name": "dataset-id",
1416
+ "required": true,
1417
+ "hasDynamicHelp": false,
1418
+ "multiple": false,
1419
+ "type": "option"
1420
+ },
1421
+ "description": {
1422
+ "description": "Experiment description",
1423
+ "name": "description",
1424
+ "hasDynamicHelp": false,
1425
+ "multiple": false,
1426
+ "type": "option"
1427
+ },
1428
+ "workflows": {
1429
+ "description": "Workflows configuration as JSON string",
1430
+ "name": "workflows",
1431
+ "hasDynamicHelp": false,
1432
+ "multiple": false,
1433
+ "type": "option"
1434
+ }
1435
+ },
1436
+ "hasDynamicHelp": false,
1437
+ "hiddenAliases": [],
1438
+ "id": "experiments:create",
1439
+ "pluginAlias": "@respan/cli",
1440
+ "pluginName": "@respan/cli",
1441
+ "pluginType": "core",
1442
+ "strict": true,
1443
+ "enableJsonFlag": false,
1444
+ "isESM": true,
1445
+ "relativePath": [
1446
+ "dist",
1447
+ "commands",
1448
+ "experiments",
1449
+ "create.js"
1450
+ ]
1451
+ },
1452
+ "experiments:get": {
1453
+ "aliases": [],
1454
+ "args": {
1455
+ "id": {
1456
+ "description": "Experiment ID",
1457
+ "name": "id",
1458
+ "required": true
1459
+ }
1460
+ },
1461
+ "description": "Get a specific experiment",
1462
+ "flags": {
1463
+ "api-key": {
1464
+ "description": "API key (env: RESPAN_API_KEY)",
1465
+ "env": "RESPAN_API_KEY",
1466
+ "name": "api-key",
1467
+ "hasDynamicHelp": false,
1468
+ "multiple": false,
1469
+ "type": "option"
1470
+ },
1471
+ "profile": {
1472
+ "description": "Named profile to use",
1473
+ "name": "profile",
1474
+ "hasDynamicHelp": false,
1475
+ "multiple": false,
1476
+ "type": "option"
1477
+ },
1478
+ "json": {
1479
+ "description": "Output as JSON",
1480
+ "name": "json",
1481
+ "allowNo": false,
1482
+ "type": "boolean"
1483
+ },
1484
+ "csv": {
1485
+ "description": "Output as CSV",
1486
+ "name": "csv",
1487
+ "allowNo": false,
1488
+ "type": "boolean"
1489
+ },
1490
+ "verbose": {
1491
+ "char": "v",
1492
+ "description": "Show verbose output",
1493
+ "name": "verbose",
1494
+ "allowNo": false,
1495
+ "type": "boolean"
1496
+ }
1497
+ },
1498
+ "hasDynamicHelp": false,
1499
+ "hiddenAliases": [],
1500
+ "id": "experiments:get",
1501
+ "pluginAlias": "@respan/cli",
1502
+ "pluginName": "@respan/cli",
1503
+ "pluginType": "core",
1504
+ "strict": true,
1505
+ "enableJsonFlag": false,
1506
+ "isESM": true,
1507
+ "relativePath": [
1508
+ "dist",
1509
+ "commands",
1510
+ "experiments",
1511
+ "get.js"
1512
+ ]
1513
+ },
1514
+ "experiments:list": {
1515
+ "aliases": [],
1516
+ "args": {},
1517
+ "description": "List experiments",
1518
+ "flags": {
1519
+ "api-key": {
1520
+ "description": "API key (env: RESPAN_API_KEY)",
1521
+ "env": "RESPAN_API_KEY",
1522
+ "name": "api-key",
1523
+ "hasDynamicHelp": false,
1524
+ "multiple": false,
1525
+ "type": "option"
1526
+ },
1527
+ "profile": {
1528
+ "description": "Named profile to use",
1529
+ "name": "profile",
1530
+ "hasDynamicHelp": false,
1531
+ "multiple": false,
1532
+ "type": "option"
1533
+ },
1534
+ "json": {
1535
+ "description": "Output as JSON",
1536
+ "name": "json",
1537
+ "allowNo": false,
1538
+ "type": "boolean"
1539
+ },
1540
+ "csv": {
1541
+ "description": "Output as CSV",
1542
+ "name": "csv",
1543
+ "allowNo": false,
1544
+ "type": "boolean"
1545
+ },
1546
+ "verbose": {
1547
+ "char": "v",
1548
+ "description": "Show verbose output",
1549
+ "name": "verbose",
1550
+ "allowNo": false,
1551
+ "type": "boolean"
1552
+ },
1553
+ "limit": {
1554
+ "description": "Number of results per page",
1555
+ "name": "limit",
1556
+ "default": 20,
1557
+ "hasDynamicHelp": false,
1558
+ "multiple": false,
1559
+ "type": "option"
1560
+ },
1561
+ "page": {
1562
+ "description": "Page number",
1563
+ "name": "page",
1564
+ "default": 1,
1565
+ "hasDynamicHelp": false,
1566
+ "multiple": false,
1567
+ "type": "option"
1568
+ }
1569
+ },
1570
+ "hasDynamicHelp": false,
1571
+ "hiddenAliases": [],
1572
+ "id": "experiments:list",
1573
+ "pluginAlias": "@respan/cli",
1574
+ "pluginName": "@respan/cli",
1575
+ "pluginType": "core",
1576
+ "strict": true,
1577
+ "enableJsonFlag": false,
1578
+ "isESM": true,
1579
+ "relativePath": [
1580
+ "dist",
1581
+ "commands",
1582
+ "experiments",
1583
+ "list.js"
1584
+ ]
1585
+ },
1366
1586
  "integrate:claude-code": {
1367
1587
  "aliases": [],
1368
1588
  "args": {},
1369
- "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",
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\nDefault behavior installs the global hook and writes local project config.",
1370
1590
  "examples": [
1371
1591
  "respan integrate claude-code",
1592
+ "respan integrate claude-code --disable",
1372
1593
  "respan integrate claude-code --global",
1373
1594
  "respan integrate claude-code --local --project-id my-project",
1374
1595
  "respan integrate claude-code --attrs '{\"env\":\"prod\"}'",
@@ -1427,6 +1648,24 @@
1427
1648
  "allowNo": false,
1428
1649
  "type": "boolean"
1429
1650
  },
1651
+ "enable": {
1652
+ "description": "Enable tracing (default)",
1653
+ "exclusive": [
1654
+ "disable"
1655
+ ],
1656
+ "name": "enable",
1657
+ "allowNo": false,
1658
+ "type": "boolean"
1659
+ },
1660
+ "disable": {
1661
+ "description": "Disable tracing",
1662
+ "exclusive": [
1663
+ "enable"
1664
+ ],
1665
+ "name": "disable",
1666
+ "allowNo": false,
1667
+ "type": "boolean"
1668
+ },
1430
1669
  "project-id": {
1431
1670
  "description": "Respan project ID (added to metadata / resource attributes)",
1432
1671
  "env": "RESPAN_PROJECT_ID",
@@ -1499,9 +1738,10 @@
1499
1738
  "integrate:codex-cli": {
1500
1739
  "aliases": [],
1501
1740
  "args": {},
1502
- "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",
1741
+ "description": "Integrate Respan with Codex CLI.\n\nInstalls a notify hook that reads session JSONL files and sends\nthem to Respan as structured spans (chat, tool, reasoning).\n\nScope:\n --global Install hook script + register notify in ~/.codex/config.toml\n --local Write .codex/respan.json with customer_id, span_name, etc.\n\nDefault behavior installs the global notify hook and writes local project config.",
1503
1742
  "examples": [
1504
1743
  "respan integrate codex-cli",
1744
+ "respan integrate codex-cli --disable",
1505
1745
  "respan integrate codex-cli --global",
1506
1746
  "respan integrate codex-cli --local --customer-id frank",
1507
1747
  "respan integrate codex-cli --attrs '{\"env\":\"prod\"}'",
@@ -1560,6 +1800,24 @@
1560
1800
  "allowNo": false,
1561
1801
  "type": "boolean"
1562
1802
  },
1803
+ "enable": {
1804
+ "description": "Enable tracing (default)",
1805
+ "exclusive": [
1806
+ "disable"
1807
+ ],
1808
+ "name": "enable",
1809
+ "allowNo": false,
1810
+ "type": "boolean"
1811
+ },
1812
+ "disable": {
1813
+ "description": "Disable tracing",
1814
+ "exclusive": [
1815
+ "enable"
1816
+ ],
1817
+ "name": "disable",
1818
+ "allowNo": false,
1819
+ "type": "boolean"
1820
+ },
1563
1821
  "project-id": {
1564
1822
  "description": "Respan project ID (added to metadata / resource attributes)",
1565
1823
  "env": "RESPAN_PROJECT_ID",
@@ -1632,9 +1890,10 @@
1632
1890
  "integrate:gemini-cli": {
1633
1891
  "aliases": [],
1634
1892
  "args": {},
1635
- "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.",
1893
+ "description": "Integrate Respan with Gemini CLI.\n\nInstalls an AfterModel hook that captures LLM request/response data\nand sends it to Respan as structured spans with model, token counts,\nand input/output.\n\nScope:\n --global Write to ~/.gemini/settings.json (default)\n --local Write to .gemini/settings.json in project root\n\nGemini CLI ignores workspace-level telemetry settings, so --global is the default.",
1636
1894
  "examples": [
1637
1895
  "respan integrate gemini-cli",
1896
+ "respan integrate gemini-cli --disable",
1638
1897
  "respan integrate gemini-cli --local",
1639
1898
  "respan integrate gemini-cli --project-id my-project --attrs '{\"env\":\"prod\"}'",
1640
1899
  "respan integrate gemini-cli --dry-run"
@@ -1692,6 +1951,24 @@
1692
1951
  "allowNo": false,
1693
1952
  "type": "boolean"
1694
1953
  },
1954
+ "enable": {
1955
+ "description": "Enable tracing (default)",
1956
+ "exclusive": [
1957
+ "disable"
1958
+ ],
1959
+ "name": "enable",
1960
+ "allowNo": false,
1961
+ "type": "boolean"
1962
+ },
1963
+ "disable": {
1964
+ "description": "Disable tracing",
1965
+ "exclusive": [
1966
+ "enable"
1967
+ ],
1968
+ "name": "disable",
1969
+ "allowNo": false,
1970
+ "type": "boolean"
1971
+ },
1695
1972
  "project-id": {
1696
1973
  "description": "Respan project ID (added to metadata / resource attributes)",
1697
1974
  "env": "RESPAN_PROJECT_ID",
@@ -1767,6 +2044,7 @@
1767
2044
  "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.",
1768
2045
  "examples": [
1769
2046
  "respan integrate opencode",
2047
+ "respan integrate opencode --disable",
1770
2048
  "respan integrate opencode --global",
1771
2049
  "respan integrate opencode --project-id my-project --attrs '{\"env\":\"prod\"}'",
1772
2050
  "respan integrate opencode --dry-run"
@@ -1824,12 +2102,30 @@
1824
2102
  "allowNo": false,
1825
2103
  "type": "boolean"
1826
2104
  },
1827
- "project-id": {
1828
- "description": "Respan project ID (added to metadata / resource attributes)",
1829
- "env": "RESPAN_PROJECT_ID",
1830
- "name": "project-id",
1831
- "hasDynamicHelp": false,
1832
- "multiple": false,
2105
+ "enable": {
2106
+ "description": "Enable tracing (default)",
2107
+ "exclusive": [
2108
+ "disable"
2109
+ ],
2110
+ "name": "enable",
2111
+ "allowNo": false,
2112
+ "type": "boolean"
2113
+ },
2114
+ "disable": {
2115
+ "description": "Disable tracing",
2116
+ "exclusive": [
2117
+ "enable"
2118
+ ],
2119
+ "name": "disable",
2120
+ "allowNo": false,
2121
+ "type": "boolean"
2122
+ },
2123
+ "project-id": {
2124
+ "description": "Respan project ID (added to metadata / resource attributes)",
2125
+ "env": "RESPAN_PROJECT_ID",
2126
+ "name": "project-id",
2127
+ "hasDynamicHelp": false,
2128
+ "multiple": false,
1833
2129
  "type": "option"
1834
2130
  },
1835
2131
  "base-url": {
@@ -1893,226 +2189,6 @@
1893
2189
  "opencode.js"
1894
2190
  ]
1895
2191
  },
1896
- "experiments:create": {
1897
- "aliases": [],
1898
- "args": {},
1899
- "description": "Create a new experiment",
1900
- "flags": {
1901
- "api-key": {
1902
- "description": "API key (env: RESPAN_API_KEY)",
1903
- "env": "RESPAN_API_KEY",
1904
- "name": "api-key",
1905
- "hasDynamicHelp": false,
1906
- "multiple": false,
1907
- "type": "option"
1908
- },
1909
- "profile": {
1910
- "description": "Named profile to use",
1911
- "name": "profile",
1912
- "hasDynamicHelp": false,
1913
- "multiple": false,
1914
- "type": "option"
1915
- },
1916
- "json": {
1917
- "description": "Output as JSON",
1918
- "name": "json",
1919
- "allowNo": false,
1920
- "type": "boolean"
1921
- },
1922
- "csv": {
1923
- "description": "Output as CSV",
1924
- "name": "csv",
1925
- "allowNo": false,
1926
- "type": "boolean"
1927
- },
1928
- "verbose": {
1929
- "char": "v",
1930
- "description": "Show verbose output",
1931
- "name": "verbose",
1932
- "allowNo": false,
1933
- "type": "boolean"
1934
- },
1935
- "name": {
1936
- "description": "Experiment name",
1937
- "name": "name",
1938
- "required": true,
1939
- "hasDynamicHelp": false,
1940
- "multiple": false,
1941
- "type": "option"
1942
- },
1943
- "dataset-id": {
1944
- "description": "Dataset ID",
1945
- "name": "dataset-id",
1946
- "required": true,
1947
- "hasDynamicHelp": false,
1948
- "multiple": false,
1949
- "type": "option"
1950
- },
1951
- "description": {
1952
- "description": "Experiment description",
1953
- "name": "description",
1954
- "hasDynamicHelp": false,
1955
- "multiple": false,
1956
- "type": "option"
1957
- },
1958
- "workflows": {
1959
- "description": "Workflows configuration as JSON string",
1960
- "name": "workflows",
1961
- "hasDynamicHelp": false,
1962
- "multiple": false,
1963
- "type": "option"
1964
- }
1965
- },
1966
- "hasDynamicHelp": false,
1967
- "hiddenAliases": [],
1968
- "id": "experiments:create",
1969
- "pluginAlias": "@respan/cli",
1970
- "pluginName": "@respan/cli",
1971
- "pluginType": "core",
1972
- "strict": true,
1973
- "enableJsonFlag": false,
1974
- "isESM": true,
1975
- "relativePath": [
1976
- "dist",
1977
- "commands",
1978
- "experiments",
1979
- "create.js"
1980
- ]
1981
- },
1982
- "experiments:get": {
1983
- "aliases": [],
1984
- "args": {
1985
- "id": {
1986
- "description": "Experiment ID",
1987
- "name": "id",
1988
- "required": true
1989
- }
1990
- },
1991
- "description": "Get a specific experiment",
1992
- "flags": {
1993
- "api-key": {
1994
- "description": "API key (env: RESPAN_API_KEY)",
1995
- "env": "RESPAN_API_KEY",
1996
- "name": "api-key",
1997
- "hasDynamicHelp": false,
1998
- "multiple": false,
1999
- "type": "option"
2000
- },
2001
- "profile": {
2002
- "description": "Named profile to use",
2003
- "name": "profile",
2004
- "hasDynamicHelp": false,
2005
- "multiple": false,
2006
- "type": "option"
2007
- },
2008
- "json": {
2009
- "description": "Output as JSON",
2010
- "name": "json",
2011
- "allowNo": false,
2012
- "type": "boolean"
2013
- },
2014
- "csv": {
2015
- "description": "Output as CSV",
2016
- "name": "csv",
2017
- "allowNo": false,
2018
- "type": "boolean"
2019
- },
2020
- "verbose": {
2021
- "char": "v",
2022
- "description": "Show verbose output",
2023
- "name": "verbose",
2024
- "allowNo": false,
2025
- "type": "boolean"
2026
- }
2027
- },
2028
- "hasDynamicHelp": false,
2029
- "hiddenAliases": [],
2030
- "id": "experiments:get",
2031
- "pluginAlias": "@respan/cli",
2032
- "pluginName": "@respan/cli",
2033
- "pluginType": "core",
2034
- "strict": true,
2035
- "enableJsonFlag": false,
2036
- "isESM": true,
2037
- "relativePath": [
2038
- "dist",
2039
- "commands",
2040
- "experiments",
2041
- "get.js"
2042
- ]
2043
- },
2044
- "experiments:list": {
2045
- "aliases": [],
2046
- "args": {},
2047
- "description": "List experiments",
2048
- "flags": {
2049
- "api-key": {
2050
- "description": "API key (env: RESPAN_API_KEY)",
2051
- "env": "RESPAN_API_KEY",
2052
- "name": "api-key",
2053
- "hasDynamicHelp": false,
2054
- "multiple": false,
2055
- "type": "option"
2056
- },
2057
- "profile": {
2058
- "description": "Named profile to use",
2059
- "name": "profile",
2060
- "hasDynamicHelp": false,
2061
- "multiple": false,
2062
- "type": "option"
2063
- },
2064
- "json": {
2065
- "description": "Output as JSON",
2066
- "name": "json",
2067
- "allowNo": false,
2068
- "type": "boolean"
2069
- },
2070
- "csv": {
2071
- "description": "Output as CSV",
2072
- "name": "csv",
2073
- "allowNo": false,
2074
- "type": "boolean"
2075
- },
2076
- "verbose": {
2077
- "char": "v",
2078
- "description": "Show verbose output",
2079
- "name": "verbose",
2080
- "allowNo": false,
2081
- "type": "boolean"
2082
- },
2083
- "limit": {
2084
- "description": "Number of results per page",
2085
- "name": "limit",
2086
- "default": 20,
2087
- "hasDynamicHelp": false,
2088
- "multiple": false,
2089
- "type": "option"
2090
- },
2091
- "page": {
2092
- "description": "Page number",
2093
- "name": "page",
2094
- "default": 1,
2095
- "hasDynamicHelp": false,
2096
- "multiple": false,
2097
- "type": "option"
2098
- }
2099
- },
2100
- "hasDynamicHelp": false,
2101
- "hiddenAliases": [],
2102
- "id": "experiments:list",
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
- "experiments",
2113
- "list.js"
2114
- ]
2115
- },
2116
2192
  "logs:create": {
2117
2193
  "aliases": [],
2118
2194
  "args": {},
@@ -2474,16 +2550,16 @@
2474
2550
  "summary.js"
2475
2551
  ]
2476
2552
  },
2477
- "traces:get": {
2553
+ "prompts:create-version": {
2478
2554
  "aliases": [],
2479
2555
  "args": {
2480
- "id": {
2481
- "description": "Trace ID",
2482
- "name": "id",
2556
+ "prompt-id": {
2557
+ "description": "Prompt ID",
2558
+ "name": "prompt-id",
2483
2559
  "required": true
2484
2560
  }
2485
2561
  },
2486
- "description": "Get a specific trace",
2562
+ "description": "Create a new version of a prompt",
2487
2563
  "flags": {
2488
2564
  "api-key": {
2489
2565
  "description": "API key (env: RESPAN_API_KEY)",
@@ -2518,28 +2594,57 @@
2518
2594
  "name": "verbose",
2519
2595
  "allowNo": false,
2520
2596
  "type": "boolean"
2521
- }
2522
- },
2523
- "hasDynamicHelp": false,
2524
- "hiddenAliases": [],
2525
- "id": "traces:get",
2526
- "pluginAlias": "@respan/cli",
2527
- "pluginName": "@respan/cli",
2528
- "pluginType": "core",
2529
- "strict": true,
2530
- "enableJsonFlag": false,
2597
+ },
2598
+ "messages": {
2599
+ "description": "Messages as JSON array string",
2600
+ "name": "messages",
2601
+ "required": true,
2602
+ "hasDynamicHelp": false,
2603
+ "multiple": false,
2604
+ "type": "option"
2605
+ },
2606
+ "model": {
2607
+ "description": "Model name",
2608
+ "name": "model",
2609
+ "hasDynamicHelp": false,
2610
+ "multiple": false,
2611
+ "type": "option"
2612
+ },
2613
+ "temperature": {
2614
+ "description": "Temperature value",
2615
+ "name": "temperature",
2616
+ "hasDynamicHelp": false,
2617
+ "multiple": false,
2618
+ "type": "option"
2619
+ },
2620
+ "max-tokens": {
2621
+ "description": "Max tokens",
2622
+ "name": "max-tokens",
2623
+ "hasDynamicHelp": false,
2624
+ "multiple": false,
2625
+ "type": "option"
2626
+ }
2627
+ },
2628
+ "hasDynamicHelp": false,
2629
+ "hiddenAliases": [],
2630
+ "id": "prompts:create-version",
2631
+ "pluginAlias": "@respan/cli",
2632
+ "pluginName": "@respan/cli",
2633
+ "pluginType": "core",
2634
+ "strict": true,
2635
+ "enableJsonFlag": false,
2531
2636
  "isESM": true,
2532
2637
  "relativePath": [
2533
2638
  "dist",
2534
2639
  "commands",
2535
- "traces",
2536
- "get.js"
2640
+ "prompts",
2641
+ "create-version.js"
2537
2642
  ]
2538
2643
  },
2539
- "traces:list": {
2644
+ "prompts:create": {
2540
2645
  "aliases": [],
2541
2646
  "args": {},
2542
- "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",
2647
+ "description": "Create a new prompt",
2543
2648
  "flags": {
2544
2649
  "api-key": {
2545
2650
  "description": "API key (env: RESPAN_API_KEY)",
@@ -2575,62 +2680,87 @@
2575
2680
  "allowNo": false,
2576
2681
  "type": "boolean"
2577
2682
  },
2578
- "limit": {
2579
- "description": "Number of results per page",
2580
- "name": "limit",
2581
- "default": 10,
2683
+ "name": {
2684
+ "description": "Prompt name",
2685
+ "name": "name",
2686
+ "required": true,
2582
2687
  "hasDynamicHelp": false,
2583
2688
  "multiple": false,
2584
2689
  "type": "option"
2585
2690
  },
2586
- "page": {
2587
- "description": "Page number",
2588
- "name": "page",
2589
- "default": 1,
2691
+ "description": {
2692
+ "description": "Prompt description",
2693
+ "name": "description",
2590
2694
  "hasDynamicHelp": false,
2591
2695
  "multiple": false,
2592
2696
  "type": "option"
2593
- },
2594
- "sort-by": {
2595
- "description": "Sort field (prefix with - for descending)",
2596
- "name": "sort-by",
2597
- "default": "-timestamp",
2697
+ }
2698
+ },
2699
+ "hasDynamicHelp": false,
2700
+ "hiddenAliases": [],
2701
+ "id": "prompts:create",
2702
+ "pluginAlias": "@respan/cli",
2703
+ "pluginName": "@respan/cli",
2704
+ "pluginType": "core",
2705
+ "strict": true,
2706
+ "enableJsonFlag": false,
2707
+ "isESM": true,
2708
+ "relativePath": [
2709
+ "dist",
2710
+ "commands",
2711
+ "prompts",
2712
+ "create.js"
2713
+ ]
2714
+ },
2715
+ "prompts:get": {
2716
+ "aliases": [],
2717
+ "args": {
2718
+ "id": {
2719
+ "description": "Prompt ID",
2720
+ "name": "id",
2721
+ "required": true
2722
+ }
2723
+ },
2724
+ "description": "Get a specific prompt",
2725
+ "flags": {
2726
+ "api-key": {
2727
+ "description": "API key (env: RESPAN_API_KEY)",
2728
+ "env": "RESPAN_API_KEY",
2729
+ "name": "api-key",
2598
2730
  "hasDynamicHelp": false,
2599
2731
  "multiple": false,
2600
2732
  "type": "option"
2601
2733
  },
2602
- "start-time": {
2603
- "description": "Start time filter (ISO 8601)",
2604
- "name": "start-time",
2734
+ "profile": {
2735
+ "description": "Named profile to use",
2736
+ "name": "profile",
2605
2737
  "hasDynamicHelp": false,
2606
2738
  "multiple": false,
2607
2739
  "type": "option"
2608
2740
  },
2609
- "end-time": {
2610
- "description": "End time filter (ISO 8601)",
2611
- "name": "end-time",
2612
- "hasDynamicHelp": false,
2613
- "multiple": false,
2614
- "type": "option"
2741
+ "json": {
2742
+ "description": "Output as JSON",
2743
+ "name": "json",
2744
+ "allowNo": false,
2745
+ "type": "boolean"
2615
2746
  },
2616
- "environment": {
2617
- "description": "Environment filter",
2618
- "name": "environment",
2619
- "hasDynamicHelp": false,
2620
- "multiple": false,
2621
- "type": "option"
2747
+ "csv": {
2748
+ "description": "Output as CSV",
2749
+ "name": "csv",
2750
+ "allowNo": false,
2751
+ "type": "boolean"
2622
2752
  },
2623
- "filter": {
2624
- "description": "Filter in field:operator:value format (repeatable)",
2625
- "name": "filter",
2626
- "hasDynamicHelp": false,
2627
- "multiple": true,
2628
- "type": "option"
2753
+ "verbose": {
2754
+ "char": "v",
2755
+ "description": "Show verbose output",
2756
+ "name": "verbose",
2757
+ "allowNo": false,
2758
+ "type": "boolean"
2629
2759
  }
2630
2760
  },
2631
2761
  "hasDynamicHelp": false,
2632
2762
  "hiddenAliases": [],
2633
- "id": "traces:list",
2763
+ "id": "prompts:get",
2634
2764
  "pluginAlias": "@respan/cli",
2635
2765
  "pluginName": "@respan/cli",
2636
2766
  "pluginType": "core",
@@ -2640,14 +2770,14 @@
2640
2770
  "relativePath": [
2641
2771
  "dist",
2642
2772
  "commands",
2643
- "traces",
2644
- "list.js"
2773
+ "prompts",
2774
+ "get.js"
2645
2775
  ]
2646
2776
  },
2647
- "traces:summary": {
2777
+ "prompts:list": {
2648
2778
  "aliases": [],
2649
2779
  "args": {},
2650
- "description": "Get a summary of traces for a time range",
2780
+ "description": "List prompts",
2651
2781
  "flags": {
2652
2782
  "api-key": {
2653
2783
  "description": "API key (env: RESPAN_API_KEY)",
@@ -2683,18 +2813,10 @@
2683
2813
  "allowNo": false,
2684
2814
  "type": "boolean"
2685
2815
  },
2686
- "start-time": {
2687
- "description": "Start time (ISO 8601)",
2688
- "name": "start-time",
2689
- "required": true,
2690
- "hasDynamicHelp": false,
2691
- "multiple": false,
2692
- "type": "option"
2693
- },
2694
- "end-time": {
2695
- "description": "End time (ISO 8601)",
2696
- "name": "end-time",
2697
- "required": true,
2816
+ "limit": {
2817
+ "description": "Number of results per page",
2818
+ "name": "limit",
2819
+ "default": 50,
2698
2820
  "hasDynamicHelp": false,
2699
2821
  "multiple": false,
2700
2822
  "type": "option"
@@ -2702,7 +2824,7 @@
2702
2824
  },
2703
2825
  "hasDynamicHelp": false,
2704
2826
  "hiddenAliases": [],
2705
- "id": "traces:summary",
2827
+ "id": "prompts:list",
2706
2828
  "pluginAlias": "@respan/cli",
2707
2829
  "pluginName": "@respan/cli",
2708
2830
  "pluginType": "core",
@@ -2712,14 +2834,20 @@
2712
2834
  "relativePath": [
2713
2835
  "dist",
2714
2836
  "commands",
2715
- "traces",
2716
- "summary.js"
2837
+ "prompts",
2838
+ "list.js"
2717
2839
  ]
2718
2840
  },
2719
- "users:create": {
2841
+ "prompts:update": {
2720
2842
  "aliases": [],
2721
- "args": {},
2722
- "description": "Create a new user (customer)",
2843
+ "args": {
2844
+ "id": {
2845
+ "description": "Prompt ID",
2846
+ "name": "id",
2847
+ "required": true
2848
+ }
2849
+ },
2850
+ "description": "Update a prompt",
2723
2851
  "flags": {
2724
2852
  "api-key": {
2725
2853
  "description": "API key (env: RESPAN_API_KEY)",
@@ -2755,31 +2883,16 @@
2755
2883
  "allowNo": false,
2756
2884
  "type": "boolean"
2757
2885
  },
2758
- "identifier": {
2759
- "description": "Customer identifier",
2760
- "name": "identifier",
2761
- "required": true,
2762
- "hasDynamicHelp": false,
2763
- "multiple": false,
2764
- "type": "option"
2765
- },
2766
2886
  "name": {
2767
- "description": "Customer name",
2887
+ "description": "Prompt name",
2768
2888
  "name": "name",
2769
2889
  "hasDynamicHelp": false,
2770
2890
  "multiple": false,
2771
2891
  "type": "option"
2772
2892
  },
2773
- "email": {
2774
- "description": "Customer email",
2775
- "name": "email",
2776
- "hasDynamicHelp": false,
2777
- "multiple": false,
2778
- "type": "option"
2779
- },
2780
- "metadata": {
2781
- "description": "Metadata as JSON string",
2782
- "name": "metadata",
2893
+ "description": {
2894
+ "description": "Prompt description",
2895
+ "name": "description",
2783
2896
  "hasDynamicHelp": false,
2784
2897
  "multiple": false,
2785
2898
  "type": "option"
@@ -2787,7 +2900,7 @@
2787
2900
  },
2788
2901
  "hasDynamicHelp": false,
2789
2902
  "hiddenAliases": [],
2790
- "id": "users:create",
2903
+ "id": "prompts:update",
2791
2904
  "pluginAlias": "@respan/cli",
2792
2905
  "pluginName": "@respan/cli",
2793
2906
  "pluginType": "core",
@@ -2797,20 +2910,20 @@
2797
2910
  "relativePath": [
2798
2911
  "dist",
2799
2912
  "commands",
2800
- "users",
2801
- "create.js"
2913
+ "prompts",
2914
+ "update.js"
2802
2915
  ]
2803
2916
  },
2804
- "users:get": {
2917
+ "prompts:versions": {
2805
2918
  "aliases": [],
2806
2919
  "args": {
2807
- "id": {
2808
- "description": "Customer identifier",
2809
- "name": "id",
2920
+ "prompt-id": {
2921
+ "description": "Prompt ID",
2922
+ "name": "prompt-id",
2810
2923
  "required": true
2811
2924
  }
2812
2925
  },
2813
- "description": "Get a specific user (customer)",
2926
+ "description": "List versions of a prompt",
2814
2927
  "flags": {
2815
2928
  "api-key": {
2816
2929
  "description": "API key (env: RESPAN_API_KEY)",
@@ -2849,7 +2962,7 @@
2849
2962
  },
2850
2963
  "hasDynamicHelp": false,
2851
2964
  "hiddenAliases": [],
2852
- "id": "users:get",
2965
+ "id": "prompts:versions",
2853
2966
  "pluginAlias": "@respan/cli",
2854
2967
  "pluginName": "@respan/cli",
2855
2968
  "pluginType": "core",
@@ -2859,14 +2972,20 @@
2859
2972
  "relativePath": [
2860
2973
  "dist",
2861
2974
  "commands",
2862
- "users",
2863
- "get.js"
2975
+ "prompts",
2976
+ "versions.js"
2864
2977
  ]
2865
2978
  },
2866
- "users:list": {
2979
+ "traces:get": {
2867
2980
  "aliases": [],
2868
- "args": {},
2869
- "description": "List users (customers)",
2981
+ "args": {
2982
+ "id": {
2983
+ "description": "Trace ID",
2984
+ "name": "id",
2985
+ "required": true
2986
+ }
2987
+ },
2988
+ "description": "Get a specific trace",
2870
2989
  "flags": {
2871
2990
  "api-key": {
2872
2991
  "description": "API key (env: RESPAN_API_KEY)",
@@ -2901,41 +3020,11 @@
2901
3020
  "name": "verbose",
2902
3021
  "allowNo": false,
2903
3022
  "type": "boolean"
2904
- },
2905
- "limit": {
2906
- "description": "Number of results per page",
2907
- "name": "limit",
2908
- "default": 20,
2909
- "hasDynamicHelp": false,
2910
- "multiple": false,
2911
- "type": "option"
2912
- },
2913
- "page": {
2914
- "description": "Page number",
2915
- "name": "page",
2916
- "default": 1,
2917
- "hasDynamicHelp": false,
2918
- "multiple": false,
2919
- "type": "option"
2920
- },
2921
- "sort-by": {
2922
- "description": "Sort field",
2923
- "name": "sort-by",
2924
- "hasDynamicHelp": false,
2925
- "multiple": false,
2926
- "type": "option"
2927
- },
2928
- "environment": {
2929
- "description": "Environment filter",
2930
- "name": "environment",
2931
- "hasDynamicHelp": false,
2932
- "multiple": false,
2933
- "type": "option"
2934
3023
  }
2935
3024
  },
2936
3025
  "hasDynamicHelp": false,
2937
3026
  "hiddenAliases": [],
2938
- "id": "users:list",
3027
+ "id": "traces:get",
2939
3028
  "pluginAlias": "@respan/cli",
2940
3029
  "pluginName": "@respan/cli",
2941
3030
  "pluginType": "core",
@@ -2945,20 +3034,14 @@
2945
3034
  "relativePath": [
2946
3035
  "dist",
2947
3036
  "commands",
2948
- "users",
2949
- "list.js"
3037
+ "traces",
3038
+ "get.js"
2950
3039
  ]
2951
3040
  },
2952
- "users:update": {
3041
+ "traces:list": {
2953
3042
  "aliases": [],
2954
- "args": {
2955
- "id": {
2956
- "description": "Customer identifier",
2957
- "name": "id",
2958
- "required": true
2959
- }
2960
- },
2961
- "description": "Update a user (customer)",
3043
+ "args": {},
3044
+ "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",
2962
3045
  "flags": {
2963
3046
  "api-key": {
2964
3047
  "description": "API key (env: RESPAN_API_KEY)",
@@ -2994,31 +3077,62 @@
2994
3077
  "allowNo": false,
2995
3078
  "type": "boolean"
2996
3079
  },
2997
- "name": {
2998
- "description": "Customer name",
2999
- "name": "name",
3080
+ "limit": {
3081
+ "description": "Number of results per page",
3082
+ "name": "limit",
3083
+ "default": 10,
3000
3084
  "hasDynamicHelp": false,
3001
3085
  "multiple": false,
3002
3086
  "type": "option"
3003
3087
  },
3004
- "email": {
3005
- "description": "Customer email",
3006
- "name": "email",
3088
+ "page": {
3089
+ "description": "Page number",
3090
+ "name": "page",
3091
+ "default": 1,
3007
3092
  "hasDynamicHelp": false,
3008
3093
  "multiple": false,
3009
3094
  "type": "option"
3010
3095
  },
3011
- "metadata": {
3012
- "description": "Metadata as JSON string",
3013
- "name": "metadata",
3096
+ "sort-by": {
3097
+ "description": "Sort field (prefix with - for descending)",
3098
+ "name": "sort-by",
3099
+ "default": "-timestamp",
3100
+ "hasDynamicHelp": false,
3101
+ "multiple": false,
3102
+ "type": "option"
3103
+ },
3104
+ "start-time": {
3105
+ "description": "Start time filter (ISO 8601)",
3106
+ "name": "start-time",
3107
+ "hasDynamicHelp": false,
3108
+ "multiple": false,
3109
+ "type": "option"
3110
+ },
3111
+ "end-time": {
3112
+ "description": "End time filter (ISO 8601)",
3113
+ "name": "end-time",
3114
+ "hasDynamicHelp": false,
3115
+ "multiple": false,
3116
+ "type": "option"
3117
+ },
3118
+ "environment": {
3119
+ "description": "Environment filter",
3120
+ "name": "environment",
3014
3121
  "hasDynamicHelp": false,
3015
3122
  "multiple": false,
3016
3123
  "type": "option"
3124
+ },
3125
+ "filter": {
3126
+ "description": "Filter in field:operator:value format (repeatable)",
3127
+ "name": "filter",
3128
+ "hasDynamicHelp": false,
3129
+ "multiple": true,
3130
+ "type": "option"
3017
3131
  }
3018
3132
  },
3019
3133
  "hasDynamicHelp": false,
3020
3134
  "hiddenAliases": [],
3021
- "id": "users:update",
3135
+ "id": "traces:list",
3022
3136
  "pluginAlias": "@respan/cli",
3023
3137
  "pluginName": "@respan/cli",
3024
3138
  "pluginType": "core",
@@ -3028,20 +3142,14 @@
3028
3142
  "relativePath": [
3029
3143
  "dist",
3030
3144
  "commands",
3031
- "users",
3032
- "update.js"
3145
+ "traces",
3146
+ "list.js"
3033
3147
  ]
3034
3148
  },
3035
- "prompts:create-version": {
3149
+ "traces:summary": {
3036
3150
  "aliases": [],
3037
- "args": {
3038
- "prompt-id": {
3039
- "description": "Prompt ID",
3040
- "name": "prompt-id",
3041
- "required": true
3042
- }
3043
- },
3044
- "description": "Create a new version of a prompt",
3151
+ "args": {},
3152
+ "description": "Get a summary of traces for a time range",
3045
3153
  "flags": {
3046
3154
  "api-key": {
3047
3155
  "description": "API key (env: RESPAN_API_KEY)",
@@ -3077,31 +3185,18 @@
3077
3185
  "allowNo": false,
3078
3186
  "type": "boolean"
3079
3187
  },
3080
- "messages": {
3081
- "description": "Messages as JSON array string",
3082
- "name": "messages",
3188
+ "start-time": {
3189
+ "description": "Start time (ISO 8601)",
3190
+ "name": "start-time",
3083
3191
  "required": true,
3084
3192
  "hasDynamicHelp": false,
3085
3193
  "multiple": false,
3086
3194
  "type": "option"
3087
3195
  },
3088
- "model": {
3089
- "description": "Model name",
3090
- "name": "model",
3091
- "hasDynamicHelp": false,
3092
- "multiple": false,
3093
- "type": "option"
3094
- },
3095
- "temperature": {
3096
- "description": "Temperature value",
3097
- "name": "temperature",
3098
- "hasDynamicHelp": false,
3099
- "multiple": false,
3100
- "type": "option"
3101
- },
3102
- "max-tokens": {
3103
- "description": "Max tokens",
3104
- "name": "max-tokens",
3196
+ "end-time": {
3197
+ "description": "End time (ISO 8601)",
3198
+ "name": "end-time",
3199
+ "required": true,
3105
3200
  "hasDynamicHelp": false,
3106
3201
  "multiple": false,
3107
3202
  "type": "option"
@@ -3109,7 +3204,7 @@
3109
3204
  },
3110
3205
  "hasDynamicHelp": false,
3111
3206
  "hiddenAliases": [],
3112
- "id": "prompts:create-version",
3207
+ "id": "traces:summary",
3113
3208
  "pluginAlias": "@respan/cli",
3114
3209
  "pluginName": "@respan/cli",
3115
3210
  "pluginType": "core",
@@ -3119,14 +3214,14 @@
3119
3214
  "relativePath": [
3120
3215
  "dist",
3121
3216
  "commands",
3122
- "prompts",
3123
- "create-version.js"
3217
+ "traces",
3218
+ "summary.js"
3124
3219
  ]
3125
3220
  },
3126
- "prompts:create": {
3221
+ "users:create": {
3127
3222
  "aliases": [],
3128
3223
  "args": {},
3129
- "description": "Create a new prompt",
3224
+ "description": "Create a new user (customer)",
3130
3225
  "flags": {
3131
3226
  "api-key": {
3132
3227
  "description": "API key (env: RESPAN_API_KEY)",
@@ -3162,17 +3257,31 @@
3162
3257
  "allowNo": false,
3163
3258
  "type": "boolean"
3164
3259
  },
3260
+ "identifier": {
3261
+ "description": "Customer identifier",
3262
+ "name": "identifier",
3263
+ "required": true,
3264
+ "hasDynamicHelp": false,
3265
+ "multiple": false,
3266
+ "type": "option"
3267
+ },
3165
3268
  "name": {
3166
- "description": "Prompt name",
3269
+ "description": "Customer name",
3167
3270
  "name": "name",
3168
- "required": true,
3169
3271
  "hasDynamicHelp": false,
3170
3272
  "multiple": false,
3171
3273
  "type": "option"
3172
3274
  },
3173
- "description": {
3174
- "description": "Prompt description",
3175
- "name": "description",
3275
+ "email": {
3276
+ "description": "Customer email",
3277
+ "name": "email",
3278
+ "hasDynamicHelp": false,
3279
+ "multiple": false,
3280
+ "type": "option"
3281
+ },
3282
+ "metadata": {
3283
+ "description": "Metadata as JSON string",
3284
+ "name": "metadata",
3176
3285
  "hasDynamicHelp": false,
3177
3286
  "multiple": false,
3178
3287
  "type": "option"
@@ -3180,7 +3289,7 @@
3180
3289
  },
3181
3290
  "hasDynamicHelp": false,
3182
3291
  "hiddenAliases": [],
3183
- "id": "prompts:create",
3292
+ "id": "users:create",
3184
3293
  "pluginAlias": "@respan/cli",
3185
3294
  "pluginName": "@respan/cli",
3186
3295
  "pluginType": "core",
@@ -3190,20 +3299,20 @@
3190
3299
  "relativePath": [
3191
3300
  "dist",
3192
3301
  "commands",
3193
- "prompts",
3302
+ "users",
3194
3303
  "create.js"
3195
3304
  ]
3196
3305
  },
3197
- "prompts:get": {
3306
+ "users:get": {
3198
3307
  "aliases": [],
3199
3308
  "args": {
3200
3309
  "id": {
3201
- "description": "Prompt ID",
3310
+ "description": "Customer identifier",
3202
3311
  "name": "id",
3203
3312
  "required": true
3204
3313
  }
3205
3314
  },
3206
- "description": "Get a specific prompt",
3315
+ "description": "Get a specific user (customer)",
3207
3316
  "flags": {
3208
3317
  "api-key": {
3209
3318
  "description": "API key (env: RESPAN_API_KEY)",
@@ -3242,7 +3351,7 @@
3242
3351
  },
3243
3352
  "hasDynamicHelp": false,
3244
3353
  "hiddenAliases": [],
3245
- "id": "prompts:get",
3354
+ "id": "users:get",
3246
3355
  "pluginAlias": "@respan/cli",
3247
3356
  "pluginName": "@respan/cli",
3248
3357
  "pluginType": "core",
@@ -3252,14 +3361,14 @@
3252
3361
  "relativePath": [
3253
3362
  "dist",
3254
3363
  "commands",
3255
- "prompts",
3364
+ "users",
3256
3365
  "get.js"
3257
3366
  ]
3258
3367
  },
3259
- "prompts:list": {
3368
+ "users:list": {
3260
3369
  "aliases": [],
3261
3370
  "args": {},
3262
- "description": "List prompts",
3371
+ "description": "List users (customers)",
3263
3372
  "flags": {
3264
3373
  "api-key": {
3265
3374
  "description": "API key (env: RESPAN_API_KEY)",
@@ -3298,7 +3407,29 @@
3298
3407
  "limit": {
3299
3408
  "description": "Number of results per page",
3300
3409
  "name": "limit",
3301
- "default": 50,
3410
+ "default": 20,
3411
+ "hasDynamicHelp": false,
3412
+ "multiple": false,
3413
+ "type": "option"
3414
+ },
3415
+ "page": {
3416
+ "description": "Page number",
3417
+ "name": "page",
3418
+ "default": 1,
3419
+ "hasDynamicHelp": false,
3420
+ "multiple": false,
3421
+ "type": "option"
3422
+ },
3423
+ "sort-by": {
3424
+ "description": "Sort field",
3425
+ "name": "sort-by",
3426
+ "hasDynamicHelp": false,
3427
+ "multiple": false,
3428
+ "type": "option"
3429
+ },
3430
+ "environment": {
3431
+ "description": "Environment filter",
3432
+ "name": "environment",
3302
3433
  "hasDynamicHelp": false,
3303
3434
  "multiple": false,
3304
3435
  "type": "option"
@@ -3306,7 +3437,7 @@
3306
3437
  },
3307
3438
  "hasDynamicHelp": false,
3308
3439
  "hiddenAliases": [],
3309
- "id": "prompts:list",
3440
+ "id": "users:list",
3310
3441
  "pluginAlias": "@respan/cli",
3311
3442
  "pluginName": "@respan/cli",
3312
3443
  "pluginType": "core",
@@ -3316,20 +3447,20 @@
3316
3447
  "relativePath": [
3317
3448
  "dist",
3318
3449
  "commands",
3319
- "prompts",
3450
+ "users",
3320
3451
  "list.js"
3321
3452
  ]
3322
3453
  },
3323
- "prompts:update": {
3454
+ "users:update": {
3324
3455
  "aliases": [],
3325
3456
  "args": {
3326
3457
  "id": {
3327
- "description": "Prompt ID",
3458
+ "description": "Customer identifier",
3328
3459
  "name": "id",
3329
3460
  "required": true
3330
3461
  }
3331
3462
  },
3332
- "description": "Update a prompt",
3463
+ "description": "Update a user (customer)",
3333
3464
  "flags": {
3334
3465
  "api-key": {
3335
3466
  "description": "API key (env: RESPAN_API_KEY)",
@@ -3366,85 +3497,30 @@
3366
3497
  "type": "boolean"
3367
3498
  },
3368
3499
  "name": {
3369
- "description": "Prompt name",
3500
+ "description": "Customer name",
3370
3501
  "name": "name",
3371
3502
  "hasDynamicHelp": false,
3372
3503
  "multiple": false,
3373
3504
  "type": "option"
3374
3505
  },
3375
- "description": {
3376
- "description": "Prompt description",
3377
- "name": "description",
3378
- "hasDynamicHelp": false,
3379
- "multiple": false,
3380
- "type": "option"
3381
- }
3382
- },
3383
- "hasDynamicHelp": false,
3384
- "hiddenAliases": [],
3385
- "id": "prompts:update",
3386
- "pluginAlias": "@respan/cli",
3387
- "pluginName": "@respan/cli",
3388
- "pluginType": "core",
3389
- "strict": true,
3390
- "enableJsonFlag": false,
3391
- "isESM": true,
3392
- "relativePath": [
3393
- "dist",
3394
- "commands",
3395
- "prompts",
3396
- "update.js"
3397
- ]
3398
- },
3399
- "prompts:versions": {
3400
- "aliases": [],
3401
- "args": {
3402
- "prompt-id": {
3403
- "description": "Prompt ID",
3404
- "name": "prompt-id",
3405
- "required": true
3406
- }
3407
- },
3408
- "description": "List versions of a prompt",
3409
- "flags": {
3410
- "api-key": {
3411
- "description": "API key (env: RESPAN_API_KEY)",
3412
- "env": "RESPAN_API_KEY",
3413
- "name": "api-key",
3506
+ "email": {
3507
+ "description": "Customer email",
3508
+ "name": "email",
3414
3509
  "hasDynamicHelp": false,
3415
3510
  "multiple": false,
3416
3511
  "type": "option"
3417
3512
  },
3418
- "profile": {
3419
- "description": "Named profile to use",
3420
- "name": "profile",
3513
+ "metadata": {
3514
+ "description": "Metadata as JSON string",
3515
+ "name": "metadata",
3421
3516
  "hasDynamicHelp": false,
3422
3517
  "multiple": false,
3423
3518
  "type": "option"
3424
- },
3425
- "json": {
3426
- "description": "Output as JSON",
3427
- "name": "json",
3428
- "allowNo": false,
3429
- "type": "boolean"
3430
- },
3431
- "csv": {
3432
- "description": "Output as CSV",
3433
- "name": "csv",
3434
- "allowNo": false,
3435
- "type": "boolean"
3436
- },
3437
- "verbose": {
3438
- "char": "v",
3439
- "description": "Show verbose output",
3440
- "name": "verbose",
3441
- "allowNo": false,
3442
- "type": "boolean"
3443
3519
  }
3444
3520
  },
3445
3521
  "hasDynamicHelp": false,
3446
3522
  "hiddenAliases": [],
3447
- "id": "prompts:versions",
3523
+ "id": "users:update",
3448
3524
  "pluginAlias": "@respan/cli",
3449
3525
  "pluginName": "@respan/cli",
3450
3526
  "pluginType": "core",
@@ -3454,10 +3530,10 @@
3454
3530
  "relativePath": [
3455
3531
  "dist",
3456
3532
  "commands",
3457
- "prompts",
3458
- "versions.js"
3533
+ "users",
3534
+ "update.js"
3459
3535
  ]
3460
3536
  }
3461
3537
  },
3462
- "version": "0.7.0"
3538
+ "version": "0.7.2"
3463
3539
  }