@respan/cli 0.6.9 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hooks/claude-code.cjs +1 -1
- package/dist/hooks/codex-cli.cjs +1 -1
- package/dist/hooks/gemini-cli.cjs +38 -25
- package/dist/hooks/gemini-cli.js +50 -30
- package/dist/hooks/shared.js +1 -1
- package/oclif.manifest.json +598 -598
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -1363,10 +1363,17 @@
|
|
|
1363
1363
|
"update.js"
|
|
1364
1364
|
]
|
|
1365
1365
|
},
|
|
1366
|
-
"
|
|
1366
|
+
"integrate:claude-code": {
|
|
1367
1367
|
"aliases": [],
|
|
1368
1368
|
"args": {},
|
|
1369
|
-
"description": "
|
|
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",
|
|
1370
|
+
"examples": [
|
|
1371
|
+
"respan integrate claude-code",
|
|
1372
|
+
"respan integrate claude-code --global",
|
|
1373
|
+
"respan integrate claude-code --local --project-id my-project",
|
|
1374
|
+
"respan integrate claude-code --attrs '{\"env\":\"prod\"}'",
|
|
1375
|
+
"respan integrate claude-code --dry-run"
|
|
1376
|
+
],
|
|
1370
1377
|
"flags": {
|
|
1371
1378
|
"api-key": {
|
|
1372
1379
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1402,102 +1409,80 @@
|
|
|
1402
1409
|
"allowNo": false,
|
|
1403
1410
|
"type": "boolean"
|
|
1404
1411
|
},
|
|
1405
|
-
"
|
|
1406
|
-
"description": "
|
|
1407
|
-
"
|
|
1408
|
-
|
|
1412
|
+
"local": {
|
|
1413
|
+
"description": "Write per-project config (default)",
|
|
1414
|
+
"exclusive": [
|
|
1415
|
+
"global"
|
|
1416
|
+
],
|
|
1417
|
+
"name": "local",
|
|
1418
|
+
"allowNo": false,
|
|
1419
|
+
"type": "boolean"
|
|
1420
|
+
},
|
|
1421
|
+
"global": {
|
|
1422
|
+
"description": "Write user-level global config",
|
|
1423
|
+
"exclusive": [
|
|
1424
|
+
"local"
|
|
1425
|
+
],
|
|
1426
|
+
"name": "global",
|
|
1427
|
+
"allowNo": false,
|
|
1428
|
+
"type": "boolean"
|
|
1429
|
+
},
|
|
1430
|
+
"project-id": {
|
|
1431
|
+
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
1432
|
+
"env": "RESPAN_PROJECT_ID",
|
|
1433
|
+
"name": "project-id",
|
|
1409
1434
|
"hasDynamicHelp": false,
|
|
1410
1435
|
"multiple": false,
|
|
1411
1436
|
"type": "option"
|
|
1412
1437
|
},
|
|
1413
|
-
"
|
|
1414
|
-
"description": "
|
|
1415
|
-
"name": "
|
|
1416
|
-
"
|
|
1438
|
+
"base-url": {
|
|
1439
|
+
"description": "Respan API base URL (for enterprise deployments)",
|
|
1440
|
+
"name": "base-url",
|
|
1441
|
+
"default": "https://api.respan.ai/api",
|
|
1417
1442
|
"hasDynamicHelp": false,
|
|
1418
1443
|
"multiple": false,
|
|
1419
1444
|
"type": "option"
|
|
1420
1445
|
},
|
|
1421
|
-
"
|
|
1422
|
-
"description": "
|
|
1423
|
-
"name": "
|
|
1446
|
+
"attrs": {
|
|
1447
|
+
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
1448
|
+
"name": "attrs",
|
|
1449
|
+
"default": "{}",
|
|
1424
1450
|
"hasDynamicHelp": false,
|
|
1425
1451
|
"multiple": false,
|
|
1426
1452
|
"type": "option"
|
|
1427
1453
|
},
|
|
1428
|
-
"
|
|
1429
|
-
"description": "
|
|
1430
|
-
"
|
|
1454
|
+
"customer-id": {
|
|
1455
|
+
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
1456
|
+
"env": "RESPAN_CUSTOMER_ID",
|
|
1457
|
+
"name": "customer-id",
|
|
1431
1458
|
"hasDynamicHelp": false,
|
|
1432
1459
|
"multiple": false,
|
|
1433
1460
|
"type": "option"
|
|
1434
|
-
}
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
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",
|
|
1461
|
+
},
|
|
1462
|
+
"span-name": {
|
|
1463
|
+
"description": "Root span name for traces (default: claude-code)",
|
|
1464
|
+
"name": "span-name",
|
|
1467
1465
|
"hasDynamicHelp": false,
|
|
1468
1466
|
"multiple": false,
|
|
1469
1467
|
"type": "option"
|
|
1470
1468
|
},
|
|
1471
|
-
"
|
|
1472
|
-
"description": "
|
|
1473
|
-
"name": "
|
|
1469
|
+
"workflow-name": {
|
|
1470
|
+
"description": "Workflow name for traces (default: claude-code)",
|
|
1471
|
+
"name": "workflow-name",
|
|
1474
1472
|
"hasDynamicHelp": false,
|
|
1475
1473
|
"multiple": false,
|
|
1476
1474
|
"type": "option"
|
|
1477
1475
|
},
|
|
1478
|
-
"
|
|
1479
|
-
"description": "
|
|
1480
|
-
"name": "
|
|
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",
|
|
1476
|
+
"dry-run": {
|
|
1477
|
+
"description": "Preview changes without writing files",
|
|
1478
|
+
"name": "dry-run",
|
|
1494
1479
|
"allowNo": false,
|
|
1495
1480
|
"type": "boolean"
|
|
1496
1481
|
}
|
|
1497
1482
|
},
|
|
1498
1483
|
"hasDynamicHelp": false,
|
|
1499
1484
|
"hiddenAliases": [],
|
|
1500
|
-
"id": "
|
|
1485
|
+
"id": "integrate:claude-code",
|
|
1501
1486
|
"pluginAlias": "@respan/cli",
|
|
1502
1487
|
"pluginName": "@respan/cli",
|
|
1503
1488
|
"pluginType": "core",
|
|
@@ -1507,14 +1492,21 @@
|
|
|
1507
1492
|
"relativePath": [
|
|
1508
1493
|
"dist",
|
|
1509
1494
|
"commands",
|
|
1510
|
-
"
|
|
1511
|
-
"
|
|
1495
|
+
"integrate",
|
|
1496
|
+
"claude-code.js"
|
|
1512
1497
|
]
|
|
1513
1498
|
},
|
|
1514
|
-
"
|
|
1499
|
+
"integrate:codex-cli": {
|
|
1515
1500
|
"aliases": [],
|
|
1516
1501
|
"args": {},
|
|
1517
|
-
"description": "
|
|
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",
|
|
1503
|
+
"examples": [
|
|
1504
|
+
"respan integrate codex-cli",
|
|
1505
|
+
"respan integrate codex-cli --global",
|
|
1506
|
+
"respan integrate codex-cli --local --customer-id frank",
|
|
1507
|
+
"respan integrate codex-cli --attrs '{\"env\":\"prod\"}'",
|
|
1508
|
+
"respan integrate codex-cli --dry-run"
|
|
1509
|
+
],
|
|
1518
1510
|
"flags": {
|
|
1519
1511
|
"api-key": {
|
|
1520
1512
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1550,26 +1542,80 @@
|
|
|
1550
1542
|
"allowNo": false,
|
|
1551
1543
|
"type": "boolean"
|
|
1552
1544
|
},
|
|
1553
|
-
"
|
|
1554
|
-
"description": "
|
|
1555
|
-
"
|
|
1556
|
-
|
|
1545
|
+
"local": {
|
|
1546
|
+
"description": "Write per-project config (default)",
|
|
1547
|
+
"exclusive": [
|
|
1548
|
+
"global"
|
|
1549
|
+
],
|
|
1550
|
+
"name": "local",
|
|
1551
|
+
"allowNo": false,
|
|
1552
|
+
"type": "boolean"
|
|
1553
|
+
},
|
|
1554
|
+
"global": {
|
|
1555
|
+
"description": "Write user-level global config",
|
|
1556
|
+
"exclusive": [
|
|
1557
|
+
"local"
|
|
1558
|
+
],
|
|
1559
|
+
"name": "global",
|
|
1560
|
+
"allowNo": false,
|
|
1561
|
+
"type": "boolean"
|
|
1562
|
+
},
|
|
1563
|
+
"project-id": {
|
|
1564
|
+
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
1565
|
+
"env": "RESPAN_PROJECT_ID",
|
|
1566
|
+
"name": "project-id",
|
|
1557
1567
|
"hasDynamicHelp": false,
|
|
1558
1568
|
"multiple": false,
|
|
1559
1569
|
"type": "option"
|
|
1560
1570
|
},
|
|
1561
|
-
"
|
|
1562
|
-
"description": "
|
|
1563
|
-
"name": "
|
|
1564
|
-
"default":
|
|
1571
|
+
"base-url": {
|
|
1572
|
+
"description": "Respan API base URL (for enterprise deployments)",
|
|
1573
|
+
"name": "base-url",
|
|
1574
|
+
"default": "https://api.respan.ai/api",
|
|
1575
|
+
"hasDynamicHelp": false,
|
|
1576
|
+
"multiple": false,
|
|
1577
|
+
"type": "option"
|
|
1578
|
+
},
|
|
1579
|
+
"attrs": {
|
|
1580
|
+
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
1581
|
+
"name": "attrs",
|
|
1582
|
+
"default": "{}",
|
|
1583
|
+
"hasDynamicHelp": false,
|
|
1584
|
+
"multiple": false,
|
|
1585
|
+
"type": "option"
|
|
1586
|
+
},
|
|
1587
|
+
"customer-id": {
|
|
1588
|
+
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
1589
|
+
"env": "RESPAN_CUSTOMER_ID",
|
|
1590
|
+
"name": "customer-id",
|
|
1591
|
+
"hasDynamicHelp": false,
|
|
1592
|
+
"multiple": false,
|
|
1593
|
+
"type": "option"
|
|
1594
|
+
},
|
|
1595
|
+
"span-name": {
|
|
1596
|
+
"description": "Root span name for traces (default: claude-code)",
|
|
1597
|
+
"name": "span-name",
|
|
1598
|
+
"hasDynamicHelp": false,
|
|
1599
|
+
"multiple": false,
|
|
1600
|
+
"type": "option"
|
|
1601
|
+
},
|
|
1602
|
+
"workflow-name": {
|
|
1603
|
+
"description": "Workflow name for traces (default: claude-code)",
|
|
1604
|
+
"name": "workflow-name",
|
|
1565
1605
|
"hasDynamicHelp": false,
|
|
1566
1606
|
"multiple": false,
|
|
1567
1607
|
"type": "option"
|
|
1608
|
+
},
|
|
1609
|
+
"dry-run": {
|
|
1610
|
+
"description": "Preview changes without writing files",
|
|
1611
|
+
"name": "dry-run",
|
|
1612
|
+
"allowNo": false,
|
|
1613
|
+
"type": "boolean"
|
|
1568
1614
|
}
|
|
1569
1615
|
},
|
|
1570
1616
|
"hasDynamicHelp": false,
|
|
1571
1617
|
"hiddenAliases": [],
|
|
1572
|
-
"id": "
|
|
1618
|
+
"id": "integrate:codex-cli",
|
|
1573
1619
|
"pluginAlias": "@respan/cli",
|
|
1574
1620
|
"pluginName": "@respan/cli",
|
|
1575
1621
|
"pluginType": "core",
|
|
@@ -1579,14 +1625,20 @@
|
|
|
1579
1625
|
"relativePath": [
|
|
1580
1626
|
"dist",
|
|
1581
1627
|
"commands",
|
|
1582
|
-
"
|
|
1583
|
-
"
|
|
1628
|
+
"integrate",
|
|
1629
|
+
"codex-cli.js"
|
|
1584
1630
|
]
|
|
1585
1631
|
},
|
|
1586
|
-
"
|
|
1632
|
+
"integrate:gemini-cli": {
|
|
1587
1633
|
"aliases": [],
|
|
1588
1634
|
"args": {},
|
|
1589
|
-
"description": "
|
|
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.",
|
|
1636
|
+
"examples": [
|
|
1637
|
+
"respan integrate gemini-cli",
|
|
1638
|
+
"respan integrate gemini-cli --local",
|
|
1639
|
+
"respan integrate gemini-cli --project-id my-project --attrs '{\"env\":\"prod\"}'",
|
|
1640
|
+
"respan integrate gemini-cli --dry-run"
|
|
1641
|
+
],
|
|
1590
1642
|
"flags": {
|
|
1591
1643
|
"api-key": {
|
|
1592
1644
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1622,101 +1674,80 @@
|
|
|
1622
1674
|
"allowNo": false,
|
|
1623
1675
|
"type": "boolean"
|
|
1624
1676
|
},
|
|
1625
|
-
"
|
|
1626
|
-
"description": "
|
|
1627
|
-
"
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
"
|
|
1631
|
-
"
|
|
1677
|
+
"local": {
|
|
1678
|
+
"description": "Write per-project config (default)",
|
|
1679
|
+
"exclusive": [
|
|
1680
|
+
"global"
|
|
1681
|
+
],
|
|
1682
|
+
"name": "local",
|
|
1683
|
+
"allowNo": false,
|
|
1684
|
+
"type": "boolean"
|
|
1632
1685
|
},
|
|
1633
|
-
"
|
|
1634
|
-
"description": "
|
|
1635
|
-
"
|
|
1686
|
+
"global": {
|
|
1687
|
+
"description": "Write user-level global config",
|
|
1688
|
+
"exclusive": [
|
|
1689
|
+
"local"
|
|
1690
|
+
],
|
|
1691
|
+
"name": "global",
|
|
1692
|
+
"allowNo": false,
|
|
1693
|
+
"type": "boolean"
|
|
1694
|
+
},
|
|
1695
|
+
"project-id": {
|
|
1696
|
+
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
1697
|
+
"env": "RESPAN_PROJECT_ID",
|
|
1698
|
+
"name": "project-id",
|
|
1636
1699
|
"hasDynamicHelp": false,
|
|
1637
1700
|
"multiple": false,
|
|
1638
1701
|
"type": "option"
|
|
1639
1702
|
},
|
|
1640
|
-
"
|
|
1641
|
-
"description": "
|
|
1642
|
-
"name": "
|
|
1703
|
+
"base-url": {
|
|
1704
|
+
"description": "Respan API base URL (for enterprise deployments)",
|
|
1705
|
+
"name": "base-url",
|
|
1706
|
+
"default": "https://api.respan.ai/api",
|
|
1643
1707
|
"hasDynamicHelp": false,
|
|
1644
1708
|
"multiple": false,
|
|
1645
1709
|
"type": "option"
|
|
1646
1710
|
},
|
|
1647
|
-
"
|
|
1648
|
-
"description": "
|
|
1649
|
-
"name": "
|
|
1711
|
+
"attrs": {
|
|
1712
|
+
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
1713
|
+
"name": "attrs",
|
|
1714
|
+
"default": "{}",
|
|
1650
1715
|
"hasDynamicHelp": false,
|
|
1651
1716
|
"multiple": false,
|
|
1652
1717
|
"type": "option"
|
|
1653
|
-
}
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
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",
|
|
1718
|
+
},
|
|
1719
|
+
"customer-id": {
|
|
1720
|
+
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
1721
|
+
"env": "RESPAN_CUSTOMER_ID",
|
|
1722
|
+
"name": "customer-id",
|
|
1686
1723
|
"hasDynamicHelp": false,
|
|
1687
1724
|
"multiple": false,
|
|
1688
1725
|
"type": "option"
|
|
1689
1726
|
},
|
|
1690
|
-
"
|
|
1691
|
-
"description": "
|
|
1692
|
-
"name": "
|
|
1727
|
+
"span-name": {
|
|
1728
|
+
"description": "Root span name for traces (default: claude-code)",
|
|
1729
|
+
"name": "span-name",
|
|
1693
1730
|
"hasDynamicHelp": false,
|
|
1694
1731
|
"multiple": false,
|
|
1695
1732
|
"type": "option"
|
|
1696
1733
|
},
|
|
1697
|
-
"
|
|
1698
|
-
"description": "
|
|
1699
|
-
"name": "
|
|
1700
|
-
"
|
|
1701
|
-
"
|
|
1702
|
-
|
|
1703
|
-
"csv": {
|
|
1704
|
-
"description": "Output as CSV",
|
|
1705
|
-
"name": "csv",
|
|
1706
|
-
"allowNo": false,
|
|
1707
|
-
"type": "boolean"
|
|
1734
|
+
"workflow-name": {
|
|
1735
|
+
"description": "Workflow name for traces (default: claude-code)",
|
|
1736
|
+
"name": "workflow-name",
|
|
1737
|
+
"hasDynamicHelp": false,
|
|
1738
|
+
"multiple": false,
|
|
1739
|
+
"type": "option"
|
|
1708
1740
|
},
|
|
1709
|
-
"
|
|
1710
|
-
"
|
|
1711
|
-
"
|
|
1712
|
-
"name": "verbose",
|
|
1741
|
+
"dry-run": {
|
|
1742
|
+
"description": "Preview changes without writing files",
|
|
1743
|
+
"name": "dry-run",
|
|
1713
1744
|
"allowNo": false,
|
|
1714
1745
|
"type": "boolean"
|
|
1715
1746
|
}
|
|
1716
1747
|
},
|
|
1717
1748
|
"hasDynamicHelp": false,
|
|
1718
1749
|
"hiddenAliases": [],
|
|
1719
|
-
"id": "
|
|
1750
|
+
"id": "integrate:gemini-cli",
|
|
1720
1751
|
"pluginAlias": "@respan/cli",
|
|
1721
1752
|
"pluginName": "@respan/cli",
|
|
1722
1753
|
"pluginType": "core",
|
|
@@ -1726,14 +1757,20 @@
|
|
|
1726
1757
|
"relativePath": [
|
|
1727
1758
|
"dist",
|
|
1728
1759
|
"commands",
|
|
1729
|
-
"
|
|
1730
|
-
"
|
|
1760
|
+
"integrate",
|
|
1761
|
+
"gemini-cli.js"
|
|
1731
1762
|
]
|
|
1732
1763
|
},
|
|
1733
|
-
"
|
|
1764
|
+
"integrate:opencode": {
|
|
1734
1765
|
"aliases": [],
|
|
1735
1766
|
"args": {},
|
|
1736
|
-
"description": "
|
|
1767
|
+
"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
|
+
"examples": [
|
|
1769
|
+
"respan integrate opencode",
|
|
1770
|
+
"respan integrate opencode --global",
|
|
1771
|
+
"respan integrate opencode --project-id my-project --attrs '{\"env\":\"prod\"}'",
|
|
1772
|
+
"respan integrate opencode --dry-run"
|
|
1773
|
+
],
|
|
1737
1774
|
"flags": {
|
|
1738
1775
|
"api-key": {
|
|
1739
1776
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1769,75 +1806,80 @@
|
|
|
1769
1806
|
"allowNo": false,
|
|
1770
1807
|
"type": "boolean"
|
|
1771
1808
|
},
|
|
1772
|
-
"
|
|
1773
|
-
"description": "
|
|
1774
|
-
"
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
"
|
|
1778
|
-
"
|
|
1809
|
+
"local": {
|
|
1810
|
+
"description": "Write per-project config (default)",
|
|
1811
|
+
"exclusive": [
|
|
1812
|
+
"global"
|
|
1813
|
+
],
|
|
1814
|
+
"name": "local",
|
|
1815
|
+
"allowNo": false,
|
|
1816
|
+
"type": "boolean"
|
|
1779
1817
|
},
|
|
1780
|
-
"
|
|
1781
|
-
"description": "
|
|
1782
|
-
"
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
"
|
|
1786
|
-
"
|
|
1818
|
+
"global": {
|
|
1819
|
+
"description": "Write user-level global config",
|
|
1820
|
+
"exclusive": [
|
|
1821
|
+
"local"
|
|
1822
|
+
],
|
|
1823
|
+
"name": "global",
|
|
1824
|
+
"allowNo": false,
|
|
1825
|
+
"type": "boolean"
|
|
1787
1826
|
},
|
|
1788
|
-
"
|
|
1789
|
-
"description": "
|
|
1790
|
-
"
|
|
1827
|
+
"project-id": {
|
|
1828
|
+
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
1829
|
+
"env": "RESPAN_PROJECT_ID",
|
|
1830
|
+
"name": "project-id",
|
|
1791
1831
|
"hasDynamicHelp": false,
|
|
1792
1832
|
"multiple": false,
|
|
1793
1833
|
"type": "option"
|
|
1794
1834
|
},
|
|
1795
|
-
"
|
|
1796
|
-
"description": "
|
|
1797
|
-
"name": "
|
|
1835
|
+
"base-url": {
|
|
1836
|
+
"description": "Respan API base URL (for enterprise deployments)",
|
|
1837
|
+
"name": "base-url",
|
|
1838
|
+
"default": "https://api.respan.ai/api",
|
|
1798
1839
|
"hasDynamicHelp": false,
|
|
1799
1840
|
"multiple": false,
|
|
1800
1841
|
"type": "option"
|
|
1801
1842
|
},
|
|
1802
|
-
"
|
|
1803
|
-
"description": "
|
|
1804
|
-
"name": "
|
|
1843
|
+
"attrs": {
|
|
1844
|
+
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
1845
|
+
"name": "attrs",
|
|
1846
|
+
"default": "{}",
|
|
1805
1847
|
"hasDynamicHelp": false,
|
|
1806
1848
|
"multiple": false,
|
|
1807
1849
|
"type": "option"
|
|
1808
1850
|
},
|
|
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",
|
|
1851
|
+
"customer-id": {
|
|
1852
|
+
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
1853
|
+
"env": "RESPAN_CUSTOMER_ID",
|
|
1854
|
+
"name": "customer-id",
|
|
1819
1855
|
"hasDynamicHelp": false,
|
|
1820
1856
|
"multiple": false,
|
|
1821
1857
|
"type": "option"
|
|
1822
1858
|
},
|
|
1823
|
-
"
|
|
1824
|
-
"description": "
|
|
1825
|
-
"name": "
|
|
1859
|
+
"span-name": {
|
|
1860
|
+
"description": "Root span name for traces (default: claude-code)",
|
|
1861
|
+
"name": "span-name",
|
|
1826
1862
|
"hasDynamicHelp": false,
|
|
1827
1863
|
"multiple": false,
|
|
1828
1864
|
"type": "option"
|
|
1829
1865
|
},
|
|
1830
|
-
"
|
|
1831
|
-
"description": "
|
|
1832
|
-
"name": "
|
|
1866
|
+
"workflow-name": {
|
|
1867
|
+
"description": "Workflow name for traces (default: claude-code)",
|
|
1868
|
+
"name": "workflow-name",
|
|
1833
1869
|
"hasDynamicHelp": false,
|
|
1834
1870
|
"multiple": false,
|
|
1835
1871
|
"type": "option"
|
|
1872
|
+
},
|
|
1873
|
+
"dry-run": {
|
|
1874
|
+
"description": "Preview changes without writing files",
|
|
1875
|
+
"name": "dry-run",
|
|
1876
|
+
"allowNo": false,
|
|
1877
|
+
"type": "boolean"
|
|
1836
1878
|
}
|
|
1837
1879
|
},
|
|
1838
1880
|
"hasDynamicHelp": false,
|
|
1839
1881
|
"hiddenAliases": [],
|
|
1840
|
-
"id": "
|
|
1882
|
+
"id": "integrate:opencode",
|
|
1841
1883
|
"pluginAlias": "@respan/cli",
|
|
1842
1884
|
"pluginName": "@respan/cli",
|
|
1843
1885
|
"pluginType": "core",
|
|
@@ -1847,14 +1889,14 @@
|
|
|
1847
1889
|
"relativePath": [
|
|
1848
1890
|
"dist",
|
|
1849
1891
|
"commands",
|
|
1850
|
-
"
|
|
1851
|
-
"
|
|
1892
|
+
"integrate",
|
|
1893
|
+
"opencode.js"
|
|
1852
1894
|
]
|
|
1853
1895
|
},
|
|
1854
|
-
"
|
|
1896
|
+
"experiments:create": {
|
|
1855
1897
|
"aliases": [],
|
|
1856
1898
|
"args": {},
|
|
1857
|
-
"description": "
|
|
1899
|
+
"description": "Create a new experiment",
|
|
1858
1900
|
"flags": {
|
|
1859
1901
|
"api-key": {
|
|
1860
1902
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1890,39 +1932,32 @@
|
|
|
1890
1932
|
"allowNo": false,
|
|
1891
1933
|
"type": "boolean"
|
|
1892
1934
|
},
|
|
1893
|
-
"
|
|
1894
|
-
"description": "
|
|
1895
|
-
"name": "
|
|
1935
|
+
"name": {
|
|
1936
|
+
"description": "Experiment name",
|
|
1937
|
+
"name": "name",
|
|
1896
1938
|
"required": true,
|
|
1897
1939
|
"hasDynamicHelp": false,
|
|
1898
1940
|
"multiple": false,
|
|
1899
1941
|
"type": "option"
|
|
1900
1942
|
},
|
|
1901
|
-
"
|
|
1902
|
-
"description": "
|
|
1903
|
-
"name": "
|
|
1943
|
+
"dataset-id": {
|
|
1944
|
+
"description": "Dataset ID",
|
|
1945
|
+
"name": "dataset-id",
|
|
1904
1946
|
"required": true,
|
|
1905
1947
|
"hasDynamicHelp": false,
|
|
1906
1948
|
"multiple": false,
|
|
1907
1949
|
"type": "option"
|
|
1908
1950
|
},
|
|
1909
|
-
"
|
|
1910
|
-
"description": "
|
|
1911
|
-
"name": "
|
|
1912
|
-
"hasDynamicHelp": false,
|
|
1913
|
-
"multiple": true,
|
|
1914
|
-
"type": "option"
|
|
1915
|
-
},
|
|
1916
|
-
"all-envs": {
|
|
1917
|
-
"description": "Include all environments (true/false)",
|
|
1918
|
-
"name": "all-envs",
|
|
1951
|
+
"description": {
|
|
1952
|
+
"description": "Experiment description",
|
|
1953
|
+
"name": "description",
|
|
1919
1954
|
"hasDynamicHelp": false,
|
|
1920
1955
|
"multiple": false,
|
|
1921
1956
|
"type": "option"
|
|
1922
1957
|
},
|
|
1923
|
-
"
|
|
1924
|
-
"description": "
|
|
1925
|
-
"name": "
|
|
1958
|
+
"workflows": {
|
|
1959
|
+
"description": "Workflows configuration as JSON string",
|
|
1960
|
+
"name": "workflows",
|
|
1926
1961
|
"hasDynamicHelp": false,
|
|
1927
1962
|
"multiple": false,
|
|
1928
1963
|
"type": "option"
|
|
@@ -1930,7 +1965,7 @@
|
|
|
1930
1965
|
},
|
|
1931
1966
|
"hasDynamicHelp": false,
|
|
1932
1967
|
"hiddenAliases": [],
|
|
1933
|
-
"id": "
|
|
1968
|
+
"id": "experiments:create",
|
|
1934
1969
|
"pluginAlias": "@respan/cli",
|
|
1935
1970
|
"pluginName": "@respan/cli",
|
|
1936
1971
|
"pluginType": "core",
|
|
@@ -1940,20 +1975,20 @@
|
|
|
1940
1975
|
"relativePath": [
|
|
1941
1976
|
"dist",
|
|
1942
1977
|
"commands",
|
|
1943
|
-
"
|
|
1944
|
-
"
|
|
1978
|
+
"experiments",
|
|
1979
|
+
"create.js"
|
|
1945
1980
|
]
|
|
1946
1981
|
},
|
|
1947
|
-
"
|
|
1982
|
+
"experiments:get": {
|
|
1948
1983
|
"aliases": [],
|
|
1949
1984
|
"args": {
|
|
1950
|
-
"
|
|
1951
|
-
"description": "
|
|
1952
|
-
"name": "
|
|
1985
|
+
"id": {
|
|
1986
|
+
"description": "Experiment ID",
|
|
1987
|
+
"name": "id",
|
|
1953
1988
|
"required": true
|
|
1954
1989
|
}
|
|
1955
1990
|
},
|
|
1956
|
-
"description": "
|
|
1991
|
+
"description": "Get a specific experiment",
|
|
1957
1992
|
"flags": {
|
|
1958
1993
|
"api-key": {
|
|
1959
1994
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1988,40 +2023,11 @@
|
|
|
1988
2023
|
"name": "verbose",
|
|
1989
2024
|
"allowNo": false,
|
|
1990
2025
|
"type": "boolean"
|
|
1991
|
-
},
|
|
1992
|
-
"messages": {
|
|
1993
|
-
"description": "Messages as JSON array string",
|
|
1994
|
-
"name": "messages",
|
|
1995
|
-
"required": true,
|
|
1996
|
-
"hasDynamicHelp": false,
|
|
1997
|
-
"multiple": false,
|
|
1998
|
-
"type": "option"
|
|
1999
|
-
},
|
|
2000
|
-
"model": {
|
|
2001
|
-
"description": "Model name",
|
|
2002
|
-
"name": "model",
|
|
2003
|
-
"hasDynamicHelp": false,
|
|
2004
|
-
"multiple": false,
|
|
2005
|
-
"type": "option"
|
|
2006
|
-
},
|
|
2007
|
-
"temperature": {
|
|
2008
|
-
"description": "Temperature value",
|
|
2009
|
-
"name": "temperature",
|
|
2010
|
-
"hasDynamicHelp": false,
|
|
2011
|
-
"multiple": false,
|
|
2012
|
-
"type": "option"
|
|
2013
|
-
},
|
|
2014
|
-
"max-tokens": {
|
|
2015
|
-
"description": "Max tokens",
|
|
2016
|
-
"name": "max-tokens",
|
|
2017
|
-
"hasDynamicHelp": false,
|
|
2018
|
-
"multiple": false,
|
|
2019
|
-
"type": "option"
|
|
2020
2026
|
}
|
|
2021
2027
|
},
|
|
2022
2028
|
"hasDynamicHelp": false,
|
|
2023
2029
|
"hiddenAliases": [],
|
|
2024
|
-
"id": "
|
|
2030
|
+
"id": "experiments:get",
|
|
2025
2031
|
"pluginAlias": "@respan/cli",
|
|
2026
2032
|
"pluginName": "@respan/cli",
|
|
2027
2033
|
"pluginType": "core",
|
|
@@ -2031,14 +2037,14 @@
|
|
|
2031
2037
|
"relativePath": [
|
|
2032
2038
|
"dist",
|
|
2033
2039
|
"commands",
|
|
2034
|
-
"
|
|
2035
|
-
"
|
|
2040
|
+
"experiments",
|
|
2041
|
+
"get.js"
|
|
2036
2042
|
]
|
|
2037
2043
|
},
|
|
2038
|
-
"
|
|
2044
|
+
"experiments:list": {
|
|
2039
2045
|
"aliases": [],
|
|
2040
2046
|
"args": {},
|
|
2041
|
-
"description": "
|
|
2047
|
+
"description": "List experiments",
|
|
2042
2048
|
"flags": {
|
|
2043
2049
|
"api-key": {
|
|
2044
2050
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2074,17 +2080,18 @@
|
|
|
2074
2080
|
"allowNo": false,
|
|
2075
2081
|
"type": "boolean"
|
|
2076
2082
|
},
|
|
2077
|
-
"
|
|
2078
|
-
"description": "
|
|
2079
|
-
"name": "
|
|
2080
|
-
"
|
|
2083
|
+
"limit": {
|
|
2084
|
+
"description": "Number of results per page",
|
|
2085
|
+
"name": "limit",
|
|
2086
|
+
"default": 20,
|
|
2081
2087
|
"hasDynamicHelp": false,
|
|
2082
2088
|
"multiple": false,
|
|
2083
2089
|
"type": "option"
|
|
2084
2090
|
},
|
|
2085
|
-
"
|
|
2086
|
-
"description": "
|
|
2087
|
-
"name": "
|
|
2091
|
+
"page": {
|
|
2092
|
+
"description": "Page number",
|
|
2093
|
+
"name": "page",
|
|
2094
|
+
"default": 1,
|
|
2088
2095
|
"hasDynamicHelp": false,
|
|
2089
2096
|
"multiple": false,
|
|
2090
2097
|
"type": "option"
|
|
@@ -2092,7 +2099,7 @@
|
|
|
2092
2099
|
},
|
|
2093
2100
|
"hasDynamicHelp": false,
|
|
2094
2101
|
"hiddenAliases": [],
|
|
2095
|
-
"id": "
|
|
2102
|
+
"id": "experiments:list",
|
|
2096
2103
|
"pluginAlias": "@respan/cli",
|
|
2097
2104
|
"pluginName": "@respan/cli",
|
|
2098
2105
|
"pluginType": "core",
|
|
@@ -2102,20 +2109,14 @@
|
|
|
2102
2109
|
"relativePath": [
|
|
2103
2110
|
"dist",
|
|
2104
2111
|
"commands",
|
|
2105
|
-
"
|
|
2106
|
-
"
|
|
2112
|
+
"experiments",
|
|
2113
|
+
"list.js"
|
|
2107
2114
|
]
|
|
2108
2115
|
},
|
|
2109
|
-
"
|
|
2116
|
+
"logs:create": {
|
|
2110
2117
|
"aliases": [],
|
|
2111
|
-
"args": {
|
|
2112
|
-
|
|
2113
|
-
"description": "Prompt ID",
|
|
2114
|
-
"name": "id",
|
|
2115
|
-
"required": true
|
|
2116
|
-
}
|
|
2117
|
-
},
|
|
2118
|
-
"description": "Get a specific prompt",
|
|
2118
|
+
"args": {},
|
|
2119
|
+
"description": "Create a log span",
|
|
2119
2120
|
"flags": {
|
|
2120
2121
|
"api-key": {
|
|
2121
2122
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2150,11 +2151,40 @@
|
|
|
2150
2151
|
"name": "verbose",
|
|
2151
2152
|
"allowNo": false,
|
|
2152
2153
|
"type": "boolean"
|
|
2154
|
+
},
|
|
2155
|
+
"input": {
|
|
2156
|
+
"description": "Input text or JSON",
|
|
2157
|
+
"name": "input",
|
|
2158
|
+
"required": true,
|
|
2159
|
+
"hasDynamicHelp": false,
|
|
2160
|
+
"multiple": false,
|
|
2161
|
+
"type": "option"
|
|
2162
|
+
},
|
|
2163
|
+
"output": {
|
|
2164
|
+
"description": "Output text or JSON",
|
|
2165
|
+
"name": "output",
|
|
2166
|
+
"hasDynamicHelp": false,
|
|
2167
|
+
"multiple": false,
|
|
2168
|
+
"type": "option"
|
|
2169
|
+
},
|
|
2170
|
+
"model": {
|
|
2171
|
+
"description": "Model name",
|
|
2172
|
+
"name": "model",
|
|
2173
|
+
"hasDynamicHelp": false,
|
|
2174
|
+
"multiple": false,
|
|
2175
|
+
"type": "option"
|
|
2176
|
+
},
|
|
2177
|
+
"metadata": {
|
|
2178
|
+
"description": "Metadata as JSON string",
|
|
2179
|
+
"name": "metadata",
|
|
2180
|
+
"hasDynamicHelp": false,
|
|
2181
|
+
"multiple": false,
|
|
2182
|
+
"type": "option"
|
|
2153
2183
|
}
|
|
2154
2184
|
},
|
|
2155
2185
|
"hasDynamicHelp": false,
|
|
2156
2186
|
"hiddenAliases": [],
|
|
2157
|
-
"id": "
|
|
2187
|
+
"id": "logs:create",
|
|
2158
2188
|
"pluginAlias": "@respan/cli",
|
|
2159
2189
|
"pluginName": "@respan/cli",
|
|
2160
2190
|
"pluginType": "core",
|
|
@@ -2164,14 +2194,20 @@
|
|
|
2164
2194
|
"relativePath": [
|
|
2165
2195
|
"dist",
|
|
2166
2196
|
"commands",
|
|
2167
|
-
"
|
|
2168
|
-
"
|
|
2197
|
+
"logs",
|
|
2198
|
+
"create.js"
|
|
2169
2199
|
]
|
|
2170
2200
|
},
|
|
2171
|
-
"
|
|
2201
|
+
"logs:get": {
|
|
2172
2202
|
"aliases": [],
|
|
2173
|
-
"args": {
|
|
2174
|
-
|
|
2203
|
+
"args": {
|
|
2204
|
+
"id": {
|
|
2205
|
+
"description": "Span ID",
|
|
2206
|
+
"name": "id",
|
|
2207
|
+
"required": true
|
|
2208
|
+
}
|
|
2209
|
+
},
|
|
2210
|
+
"description": "Get a specific log span",
|
|
2175
2211
|
"flags": {
|
|
2176
2212
|
"api-key": {
|
|
2177
2213
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2206,19 +2242,11 @@
|
|
|
2206
2242
|
"name": "verbose",
|
|
2207
2243
|
"allowNo": false,
|
|
2208
2244
|
"type": "boolean"
|
|
2209
|
-
},
|
|
2210
|
-
"limit": {
|
|
2211
|
-
"description": "Number of results per page",
|
|
2212
|
-
"name": "limit",
|
|
2213
|
-
"default": 50,
|
|
2214
|
-
"hasDynamicHelp": false,
|
|
2215
|
-
"multiple": false,
|
|
2216
|
-
"type": "option"
|
|
2217
2245
|
}
|
|
2218
2246
|
},
|
|
2219
2247
|
"hasDynamicHelp": false,
|
|
2220
2248
|
"hiddenAliases": [],
|
|
2221
|
-
"id": "
|
|
2249
|
+
"id": "logs:get",
|
|
2222
2250
|
"pluginAlias": "@respan/cli",
|
|
2223
2251
|
"pluginName": "@respan/cli",
|
|
2224
2252
|
"pluginType": "core",
|
|
@@ -2228,20 +2256,14 @@
|
|
|
2228
2256
|
"relativePath": [
|
|
2229
2257
|
"dist",
|
|
2230
2258
|
"commands",
|
|
2231
|
-
"
|
|
2232
|
-
"
|
|
2259
|
+
"logs",
|
|
2260
|
+
"get.js"
|
|
2233
2261
|
]
|
|
2234
2262
|
},
|
|
2235
|
-
"
|
|
2263
|
+
"logs:list": {
|
|
2236
2264
|
"aliases": [],
|
|
2237
|
-
"args": {
|
|
2238
|
-
|
|
2239
|
-
"description": "Prompt ID",
|
|
2240
|
-
"name": "id",
|
|
2241
|
-
"required": true
|
|
2242
|
-
}
|
|
2243
|
-
},
|
|
2244
|
-
"description": "Update a prompt",
|
|
2265
|
+
"args": {},
|
|
2266
|
+
"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",
|
|
2245
2267
|
"flags": {
|
|
2246
2268
|
"api-key": {
|
|
2247
2269
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2277,16 +2299,67 @@
|
|
|
2277
2299
|
"allowNo": false,
|
|
2278
2300
|
"type": "boolean"
|
|
2279
2301
|
},
|
|
2280
|
-
"
|
|
2281
|
-
"description": "
|
|
2282
|
-
"name": "
|
|
2302
|
+
"limit": {
|
|
2303
|
+
"description": "Number of results per page (max 1000)",
|
|
2304
|
+
"name": "limit",
|
|
2305
|
+
"default": 50,
|
|
2283
2306
|
"hasDynamicHelp": false,
|
|
2284
2307
|
"multiple": false,
|
|
2285
2308
|
"type": "option"
|
|
2286
2309
|
},
|
|
2287
|
-
"
|
|
2288
|
-
"description": "
|
|
2289
|
-
"name": "
|
|
2310
|
+
"page": {
|
|
2311
|
+
"description": "Page number",
|
|
2312
|
+
"name": "page",
|
|
2313
|
+
"default": 1,
|
|
2314
|
+
"hasDynamicHelp": false,
|
|
2315
|
+
"multiple": false,
|
|
2316
|
+
"type": "option"
|
|
2317
|
+
},
|
|
2318
|
+
"sort-by": {
|
|
2319
|
+
"description": "Sort field (prefix with - for descending, e.g. -cost, -latency)",
|
|
2320
|
+
"name": "sort-by",
|
|
2321
|
+
"hasDynamicHelp": false,
|
|
2322
|
+
"multiple": false,
|
|
2323
|
+
"type": "option"
|
|
2324
|
+
},
|
|
2325
|
+
"start-time": {
|
|
2326
|
+
"description": "Start time filter (ISO 8601)",
|
|
2327
|
+
"name": "start-time",
|
|
2328
|
+
"hasDynamicHelp": false,
|
|
2329
|
+
"multiple": false,
|
|
2330
|
+
"type": "option"
|
|
2331
|
+
},
|
|
2332
|
+
"end-time": {
|
|
2333
|
+
"description": "End time filter (ISO 8601)",
|
|
2334
|
+
"name": "end-time",
|
|
2335
|
+
"hasDynamicHelp": false,
|
|
2336
|
+
"multiple": false,
|
|
2337
|
+
"type": "option"
|
|
2338
|
+
},
|
|
2339
|
+
"filter": {
|
|
2340
|
+
"description": "Filter in field:operator:value format (repeatable)",
|
|
2341
|
+
"name": "filter",
|
|
2342
|
+
"hasDynamicHelp": false,
|
|
2343
|
+
"multiple": true,
|
|
2344
|
+
"type": "option"
|
|
2345
|
+
},
|
|
2346
|
+
"all-envs": {
|
|
2347
|
+
"description": "Include all environments (true/false)",
|
|
2348
|
+
"name": "all-envs",
|
|
2349
|
+
"hasDynamicHelp": false,
|
|
2350
|
+
"multiple": false,
|
|
2351
|
+
"type": "option"
|
|
2352
|
+
},
|
|
2353
|
+
"is-test": {
|
|
2354
|
+
"description": "Filter by test (true) or production (false) environment",
|
|
2355
|
+
"name": "is-test",
|
|
2356
|
+
"hasDynamicHelp": false,
|
|
2357
|
+
"multiple": false,
|
|
2358
|
+
"type": "option"
|
|
2359
|
+
},
|
|
2360
|
+
"include-fields": {
|
|
2361
|
+
"description": "Comma-separated fields to include in response",
|
|
2362
|
+
"name": "include-fields",
|
|
2290
2363
|
"hasDynamicHelp": false,
|
|
2291
2364
|
"multiple": false,
|
|
2292
2365
|
"type": "option"
|
|
@@ -2294,7 +2367,7 @@
|
|
|
2294
2367
|
},
|
|
2295
2368
|
"hasDynamicHelp": false,
|
|
2296
2369
|
"hiddenAliases": [],
|
|
2297
|
-
"id": "
|
|
2370
|
+
"id": "logs:list",
|
|
2298
2371
|
"pluginAlias": "@respan/cli",
|
|
2299
2372
|
"pluginName": "@respan/cli",
|
|
2300
2373
|
"pluginType": "core",
|
|
@@ -2304,20 +2377,14 @@
|
|
|
2304
2377
|
"relativePath": [
|
|
2305
2378
|
"dist",
|
|
2306
2379
|
"commands",
|
|
2307
|
-
"
|
|
2308
|
-
"
|
|
2380
|
+
"logs",
|
|
2381
|
+
"list.js"
|
|
2309
2382
|
]
|
|
2310
2383
|
},
|
|
2311
|
-
"
|
|
2384
|
+
"logs:summary": {
|
|
2312
2385
|
"aliases": [],
|
|
2313
|
-
"args": {
|
|
2314
|
-
|
|
2315
|
-
"description": "Prompt ID",
|
|
2316
|
-
"name": "prompt-id",
|
|
2317
|
-
"required": true
|
|
2318
|
-
}
|
|
2319
|
-
},
|
|
2320
|
-
"description": "List versions of a prompt",
|
|
2386
|
+
"args": {},
|
|
2387
|
+
"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",
|
|
2321
2388
|
"flags": {
|
|
2322
2389
|
"api-key": {
|
|
2323
2390
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2352,11 +2419,48 @@
|
|
|
2352
2419
|
"name": "verbose",
|
|
2353
2420
|
"allowNo": false,
|
|
2354
2421
|
"type": "boolean"
|
|
2422
|
+
},
|
|
2423
|
+
"start-time": {
|
|
2424
|
+
"description": "Start time (ISO 8601)",
|
|
2425
|
+
"name": "start-time",
|
|
2426
|
+
"required": true,
|
|
2427
|
+
"hasDynamicHelp": false,
|
|
2428
|
+
"multiple": false,
|
|
2429
|
+
"type": "option"
|
|
2430
|
+
},
|
|
2431
|
+
"end-time": {
|
|
2432
|
+
"description": "End time (ISO 8601)",
|
|
2433
|
+
"name": "end-time",
|
|
2434
|
+
"required": true,
|
|
2435
|
+
"hasDynamicHelp": false,
|
|
2436
|
+
"multiple": false,
|
|
2437
|
+
"type": "option"
|
|
2438
|
+
},
|
|
2439
|
+
"filter": {
|
|
2440
|
+
"description": "Filter in field:operator:value format (repeatable)",
|
|
2441
|
+
"name": "filter",
|
|
2442
|
+
"hasDynamicHelp": false,
|
|
2443
|
+
"multiple": true,
|
|
2444
|
+
"type": "option"
|
|
2445
|
+
},
|
|
2446
|
+
"all-envs": {
|
|
2447
|
+
"description": "Include all environments (true/false)",
|
|
2448
|
+
"name": "all-envs",
|
|
2449
|
+
"hasDynamicHelp": false,
|
|
2450
|
+
"multiple": false,
|
|
2451
|
+
"type": "option"
|
|
2452
|
+
},
|
|
2453
|
+
"is-test": {
|
|
2454
|
+
"description": "Filter by test (true) or production (false) environment",
|
|
2455
|
+
"name": "is-test",
|
|
2456
|
+
"hasDynamicHelp": false,
|
|
2457
|
+
"multiple": false,
|
|
2458
|
+
"type": "option"
|
|
2355
2459
|
}
|
|
2356
2460
|
},
|
|
2357
2461
|
"hasDynamicHelp": false,
|
|
2358
2462
|
"hiddenAliases": [],
|
|
2359
|
-
"id": "
|
|
2463
|
+
"id": "logs:summary",
|
|
2360
2464
|
"pluginAlias": "@respan/cli",
|
|
2361
2465
|
"pluginName": "@respan/cli",
|
|
2362
2466
|
"pluginType": "core",
|
|
@@ -2366,8 +2470,8 @@
|
|
|
2366
2470
|
"relativePath": [
|
|
2367
2471
|
"dist",
|
|
2368
2472
|
"commands",
|
|
2369
|
-
"
|
|
2370
|
-
"
|
|
2473
|
+
"logs",
|
|
2474
|
+
"summary.js"
|
|
2371
2475
|
]
|
|
2372
2476
|
},
|
|
2373
2477
|
"traces:get": {
|
|
@@ -2928,17 +3032,16 @@
|
|
|
2928
3032
|
"update.js"
|
|
2929
3033
|
]
|
|
2930
3034
|
},
|
|
2931
|
-
"
|
|
3035
|
+
"prompts:create-version": {
|
|
2932
3036
|
"aliases": [],
|
|
2933
|
-
"args": {
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
],
|
|
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",
|
|
2942
3045
|
"flags": {
|
|
2943
3046
|
"api-key": {
|
|
2944
3047
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2974,80 +3077,39 @@
|
|
|
2974
3077
|
"allowNo": false,
|
|
2975
3078
|
"type": "boolean"
|
|
2976
3079
|
},
|
|
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": "{}",
|
|
3080
|
+
"messages": {
|
|
3081
|
+
"description": "Messages as JSON array string",
|
|
3082
|
+
"name": "messages",
|
|
3083
|
+
"required": true,
|
|
3015
3084
|
"hasDynamicHelp": false,
|
|
3016
3085
|
"multiple": false,
|
|
3017
3086
|
"type": "option"
|
|
3018
3087
|
},
|
|
3019
|
-
"
|
|
3020
|
-
"description": "
|
|
3021
|
-
"
|
|
3022
|
-
"name": "customer-id",
|
|
3088
|
+
"model": {
|
|
3089
|
+
"description": "Model name",
|
|
3090
|
+
"name": "model",
|
|
3023
3091
|
"hasDynamicHelp": false,
|
|
3024
3092
|
"multiple": false,
|
|
3025
3093
|
"type": "option"
|
|
3026
3094
|
},
|
|
3027
|
-
"
|
|
3028
|
-
"description": "
|
|
3029
|
-
"name": "
|
|
3095
|
+
"temperature": {
|
|
3096
|
+
"description": "Temperature value",
|
|
3097
|
+
"name": "temperature",
|
|
3030
3098
|
"hasDynamicHelp": false,
|
|
3031
3099
|
"multiple": false,
|
|
3032
3100
|
"type": "option"
|
|
3033
3101
|
},
|
|
3034
|
-
"
|
|
3035
|
-
"description": "
|
|
3036
|
-
"name": "
|
|
3102
|
+
"max-tokens": {
|
|
3103
|
+
"description": "Max tokens",
|
|
3104
|
+
"name": "max-tokens",
|
|
3037
3105
|
"hasDynamicHelp": false,
|
|
3038
3106
|
"multiple": false,
|
|
3039
3107
|
"type": "option"
|
|
3040
|
-
},
|
|
3041
|
-
"dry-run": {
|
|
3042
|
-
"description": "Preview changes without writing files",
|
|
3043
|
-
"name": "dry-run",
|
|
3044
|
-
"allowNo": false,
|
|
3045
|
-
"type": "boolean"
|
|
3046
3108
|
}
|
|
3047
3109
|
},
|
|
3048
3110
|
"hasDynamicHelp": false,
|
|
3049
3111
|
"hiddenAliases": [],
|
|
3050
|
-
"id": "
|
|
3112
|
+
"id": "prompts:create-version",
|
|
3051
3113
|
"pluginAlias": "@respan/cli",
|
|
3052
3114
|
"pluginName": "@respan/cli",
|
|
3053
3115
|
"pluginType": "core",
|
|
@@ -3057,21 +3119,14 @@
|
|
|
3057
3119
|
"relativePath": [
|
|
3058
3120
|
"dist",
|
|
3059
3121
|
"commands",
|
|
3060
|
-
"
|
|
3061
|
-
"
|
|
3122
|
+
"prompts",
|
|
3123
|
+
"create-version.js"
|
|
3062
3124
|
]
|
|
3063
3125
|
},
|
|
3064
|
-
"
|
|
3126
|
+
"prompts:create": {
|
|
3065
3127
|
"aliases": [],
|
|
3066
3128
|
"args": {},
|
|
3067
|
-
"description": "
|
|
3068
|
-
"examples": [
|
|
3069
|
-
"respan integrate codex-cli",
|
|
3070
|
-
"respan integrate codex-cli --global",
|
|
3071
|
-
"respan integrate codex-cli --local --customer-id frank",
|
|
3072
|
-
"respan integrate codex-cli --attrs '{\"env\":\"prod\"}'",
|
|
3073
|
-
"respan integrate codex-cli --dry-run"
|
|
3074
|
-
],
|
|
3129
|
+
"description": "Create a new prompt",
|
|
3075
3130
|
"flags": {
|
|
3076
3131
|
"api-key": {
|
|
3077
3132
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3107,80 +3162,87 @@
|
|
|
3107
3162
|
"allowNo": false,
|
|
3108
3163
|
"type": "boolean"
|
|
3109
3164
|
},
|
|
3110
|
-
"
|
|
3111
|
-
"description": "
|
|
3112
|
-
"
|
|
3113
|
-
|
|
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",
|
|
3165
|
+
"name": {
|
|
3166
|
+
"description": "Prompt name",
|
|
3167
|
+
"name": "name",
|
|
3168
|
+
"required": true,
|
|
3132
3169
|
"hasDynamicHelp": false,
|
|
3133
3170
|
"multiple": false,
|
|
3134
3171
|
"type": "option"
|
|
3135
3172
|
},
|
|
3136
|
-
"
|
|
3137
|
-
"description": "
|
|
3138
|
-
"name": "
|
|
3139
|
-
"default": "https://api.respan.ai/api",
|
|
3173
|
+
"description": {
|
|
3174
|
+
"description": "Prompt description",
|
|
3175
|
+
"name": "description",
|
|
3140
3176
|
"hasDynamicHelp": false,
|
|
3141
3177
|
"multiple": false,
|
|
3142
3178
|
"type": "option"
|
|
3143
|
-
}
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3179
|
+
}
|
|
3180
|
+
},
|
|
3181
|
+
"hasDynamicHelp": false,
|
|
3182
|
+
"hiddenAliases": [],
|
|
3183
|
+
"id": "prompts:create",
|
|
3184
|
+
"pluginAlias": "@respan/cli",
|
|
3185
|
+
"pluginName": "@respan/cli",
|
|
3186
|
+
"pluginType": "core",
|
|
3187
|
+
"strict": true,
|
|
3188
|
+
"enableJsonFlag": false,
|
|
3189
|
+
"isESM": true,
|
|
3190
|
+
"relativePath": [
|
|
3191
|
+
"dist",
|
|
3192
|
+
"commands",
|
|
3193
|
+
"prompts",
|
|
3194
|
+
"create.js"
|
|
3195
|
+
]
|
|
3196
|
+
},
|
|
3197
|
+
"prompts:get": {
|
|
3198
|
+
"aliases": [],
|
|
3199
|
+
"args": {
|
|
3200
|
+
"id": {
|
|
3201
|
+
"description": "Prompt ID",
|
|
3202
|
+
"name": "id",
|
|
3203
|
+
"required": true
|
|
3204
|
+
}
|
|
3205
|
+
},
|
|
3206
|
+
"description": "Get a specific prompt",
|
|
3207
|
+
"flags": {
|
|
3208
|
+
"api-key": {
|
|
3209
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
3210
|
+
"env": "RESPAN_API_KEY",
|
|
3211
|
+
"name": "api-key",
|
|
3148
3212
|
"hasDynamicHelp": false,
|
|
3149
3213
|
"multiple": false,
|
|
3150
3214
|
"type": "option"
|
|
3151
3215
|
},
|
|
3152
|
-
"
|
|
3153
|
-
"description": "
|
|
3154
|
-
"
|
|
3155
|
-
"name": "customer-id",
|
|
3216
|
+
"profile": {
|
|
3217
|
+
"description": "Named profile to use",
|
|
3218
|
+
"name": "profile",
|
|
3156
3219
|
"hasDynamicHelp": false,
|
|
3157
3220
|
"multiple": false,
|
|
3158
3221
|
"type": "option"
|
|
3159
3222
|
},
|
|
3160
|
-
"
|
|
3161
|
-
"description": "
|
|
3162
|
-
"name": "
|
|
3163
|
-
"
|
|
3164
|
-
"
|
|
3165
|
-
"type": "option"
|
|
3223
|
+
"json": {
|
|
3224
|
+
"description": "Output as JSON",
|
|
3225
|
+
"name": "json",
|
|
3226
|
+
"allowNo": false,
|
|
3227
|
+
"type": "boolean"
|
|
3166
3228
|
},
|
|
3167
|
-
"
|
|
3168
|
-
"description": "
|
|
3169
|
-
"name": "
|
|
3170
|
-
"
|
|
3171
|
-
"
|
|
3172
|
-
"type": "option"
|
|
3229
|
+
"csv": {
|
|
3230
|
+
"description": "Output as CSV",
|
|
3231
|
+
"name": "csv",
|
|
3232
|
+
"allowNo": false,
|
|
3233
|
+
"type": "boolean"
|
|
3173
3234
|
},
|
|
3174
|
-
"
|
|
3175
|
-
"
|
|
3176
|
-
"
|
|
3235
|
+
"verbose": {
|
|
3236
|
+
"char": "v",
|
|
3237
|
+
"description": "Show verbose output",
|
|
3238
|
+
"name": "verbose",
|
|
3177
3239
|
"allowNo": false,
|
|
3178
3240
|
"type": "boolean"
|
|
3179
3241
|
}
|
|
3180
3242
|
},
|
|
3181
3243
|
"hasDynamicHelp": false,
|
|
3182
3244
|
"hiddenAliases": [],
|
|
3183
|
-
"id": "
|
|
3245
|
+
"id": "prompts:get",
|
|
3184
3246
|
"pluginAlias": "@respan/cli",
|
|
3185
3247
|
"pluginName": "@respan/cli",
|
|
3186
3248
|
"pluginType": "core",
|
|
@@ -3190,20 +3252,14 @@
|
|
|
3190
3252
|
"relativePath": [
|
|
3191
3253
|
"dist",
|
|
3192
3254
|
"commands",
|
|
3193
|
-
"
|
|
3194
|
-
"
|
|
3255
|
+
"prompts",
|
|
3256
|
+
"get.js"
|
|
3195
3257
|
]
|
|
3196
3258
|
},
|
|
3197
|
-
"
|
|
3259
|
+
"prompts:list": {
|
|
3198
3260
|
"aliases": [],
|
|
3199
3261
|
"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
|
-
],
|
|
3262
|
+
"description": "List prompts",
|
|
3207
3263
|
"flags": {
|
|
3208
3264
|
"api-key": {
|
|
3209
3265
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3239,80 +3295,18 @@
|
|
|
3239
3295
|
"allowNo": false,
|
|
3240
3296
|
"type": "boolean"
|
|
3241
3297
|
},
|
|
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": "{}",
|
|
3280
|
-
"hasDynamicHelp": false,
|
|
3281
|
-
"multiple": false,
|
|
3282
|
-
"type": "option"
|
|
3283
|
-
},
|
|
3284
|
-
"customer-id": {
|
|
3285
|
-
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
3286
|
-
"env": "RESPAN_CUSTOMER_ID",
|
|
3287
|
-
"name": "customer-id",
|
|
3288
|
-
"hasDynamicHelp": false,
|
|
3289
|
-
"multiple": false,
|
|
3290
|
-
"type": "option"
|
|
3291
|
-
},
|
|
3292
|
-
"span-name": {
|
|
3293
|
-
"description": "Root span name for traces (default: claude-code)",
|
|
3294
|
-
"name": "span-name",
|
|
3295
|
-
"hasDynamicHelp": false,
|
|
3296
|
-
"multiple": false,
|
|
3297
|
-
"type": "option"
|
|
3298
|
-
},
|
|
3299
|
-
"workflow-name": {
|
|
3300
|
-
"description": "Workflow name for traces (default: claude-code)",
|
|
3301
|
-
"name": "workflow-name",
|
|
3298
|
+
"limit": {
|
|
3299
|
+
"description": "Number of results per page",
|
|
3300
|
+
"name": "limit",
|
|
3301
|
+
"default": 50,
|
|
3302
3302
|
"hasDynamicHelp": false,
|
|
3303
3303
|
"multiple": false,
|
|
3304
3304
|
"type": "option"
|
|
3305
|
-
},
|
|
3306
|
-
"dry-run": {
|
|
3307
|
-
"description": "Preview changes without writing files",
|
|
3308
|
-
"name": "dry-run",
|
|
3309
|
-
"allowNo": false,
|
|
3310
|
-
"type": "boolean"
|
|
3311
3305
|
}
|
|
3312
3306
|
},
|
|
3313
3307
|
"hasDynamicHelp": false,
|
|
3314
3308
|
"hiddenAliases": [],
|
|
3315
|
-
"id": "
|
|
3309
|
+
"id": "prompts:list",
|
|
3316
3310
|
"pluginAlias": "@respan/cli",
|
|
3317
3311
|
"pluginName": "@respan/cli",
|
|
3318
3312
|
"pluginType": "core",
|
|
@@ -3322,20 +3316,20 @@
|
|
|
3322
3316
|
"relativePath": [
|
|
3323
3317
|
"dist",
|
|
3324
3318
|
"commands",
|
|
3325
|
-
"
|
|
3326
|
-
"
|
|
3319
|
+
"prompts",
|
|
3320
|
+
"list.js"
|
|
3327
3321
|
]
|
|
3328
3322
|
},
|
|
3329
|
-
"
|
|
3323
|
+
"prompts:update": {
|
|
3330
3324
|
"aliases": [],
|
|
3331
|
-
"args": {
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3325
|
+
"args": {
|
|
3326
|
+
"id": {
|
|
3327
|
+
"description": "Prompt ID",
|
|
3328
|
+
"name": "id",
|
|
3329
|
+
"required": true
|
|
3330
|
+
}
|
|
3331
|
+
},
|
|
3332
|
+
"description": "Update a prompt",
|
|
3339
3333
|
"flags": {
|
|
3340
3334
|
"api-key": {
|
|
3341
3335
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3371,80 +3365,86 @@
|
|
|
3371
3365
|
"allowNo": false,
|
|
3372
3366
|
"type": "boolean"
|
|
3373
3367
|
},
|
|
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",
|
|
3368
|
+
"name": {
|
|
3369
|
+
"description": "Prompt name",
|
|
3370
|
+
"name": "name",
|
|
3396
3371
|
"hasDynamicHelp": false,
|
|
3397
3372
|
"multiple": false,
|
|
3398
3373
|
"type": "option"
|
|
3399
3374
|
},
|
|
3400
|
-
"
|
|
3401
|
-
"description": "
|
|
3402
|
-
"name": "
|
|
3403
|
-
"default": "https://api.respan.ai/api",
|
|
3375
|
+
"description": {
|
|
3376
|
+
"description": "Prompt description",
|
|
3377
|
+
"name": "description",
|
|
3404
3378
|
"hasDynamicHelp": false,
|
|
3405
3379
|
"multiple": false,
|
|
3406
3380
|
"type": "option"
|
|
3407
|
-
}
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
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",
|
|
3412
3414
|
"hasDynamicHelp": false,
|
|
3413
3415
|
"multiple": false,
|
|
3414
3416
|
"type": "option"
|
|
3415
3417
|
},
|
|
3416
|
-
"
|
|
3417
|
-
"description": "
|
|
3418
|
-
"
|
|
3419
|
-
"name": "customer-id",
|
|
3418
|
+
"profile": {
|
|
3419
|
+
"description": "Named profile to use",
|
|
3420
|
+
"name": "profile",
|
|
3420
3421
|
"hasDynamicHelp": false,
|
|
3421
3422
|
"multiple": false,
|
|
3422
3423
|
"type": "option"
|
|
3423
3424
|
},
|
|
3424
|
-
"
|
|
3425
|
-
"description": "
|
|
3426
|
-
"name": "
|
|
3427
|
-
"
|
|
3428
|
-
"
|
|
3429
|
-
"type": "option"
|
|
3425
|
+
"json": {
|
|
3426
|
+
"description": "Output as JSON",
|
|
3427
|
+
"name": "json",
|
|
3428
|
+
"allowNo": false,
|
|
3429
|
+
"type": "boolean"
|
|
3430
3430
|
},
|
|
3431
|
-
"
|
|
3432
|
-
"description": "
|
|
3433
|
-
"name": "
|
|
3434
|
-
"
|
|
3435
|
-
"
|
|
3436
|
-
"type": "option"
|
|
3431
|
+
"csv": {
|
|
3432
|
+
"description": "Output as CSV",
|
|
3433
|
+
"name": "csv",
|
|
3434
|
+
"allowNo": false,
|
|
3435
|
+
"type": "boolean"
|
|
3437
3436
|
},
|
|
3438
|
-
"
|
|
3439
|
-
"
|
|
3440
|
-
"
|
|
3437
|
+
"verbose": {
|
|
3438
|
+
"char": "v",
|
|
3439
|
+
"description": "Show verbose output",
|
|
3440
|
+
"name": "verbose",
|
|
3441
3441
|
"allowNo": false,
|
|
3442
3442
|
"type": "boolean"
|
|
3443
3443
|
}
|
|
3444
3444
|
},
|
|
3445
3445
|
"hasDynamicHelp": false,
|
|
3446
3446
|
"hiddenAliases": [],
|
|
3447
|
-
"id": "
|
|
3447
|
+
"id": "prompts:versions",
|
|
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
|
+
"prompts",
|
|
3458
|
+
"versions.js"
|
|
3459
3459
|
]
|
|
3460
3460
|
}
|
|
3461
3461
|
},
|
|
3462
|
-
"version": "0.
|
|
3462
|
+
"version": "0.7.0"
|
|
3463
3463
|
}
|