@respan/cli 0.5.2 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/auth/login.js +2 -2
- package/dist/commands/integrate/claude-code.js +9 -28
- package/dist/commands/integrate/codex-cli.d.ts +8 -0
- package/dist/commands/integrate/codex-cli.js +123 -64
- package/dist/commands/integrate/gemini-cli.js +99 -53
- package/dist/hooks/claude-code.cjs +951 -0
- package/dist/hooks/claude-code.d.ts +1 -0
- package/dist/hooks/claude-code.js +641 -0
- package/dist/hooks/codex-cli.cjs +782 -0
- package/dist/hooks/codex-cli.d.ts +1 -0
- package/dist/hooks/codex-cli.js +457 -0
- package/dist/hooks/gemini-cli.cjs +825 -0
- package/dist/hooks/gemini-cli.d.ts +1 -0
- package/dist/hooks/gemini-cli.js +561 -0
- package/dist/hooks/shared.d.ts +82 -0
- package/dist/hooks/shared.js +461 -0
- package/dist/lib/integrate.d.ts +5 -1
- package/dist/lib/integrate.js +6 -2
- package/oclif.manifest.json +815 -814
- package/package.json +7 -3
- package/dist/assets/hook.py +0 -1052
package/oclif.manifest.json
CHANGED
|
@@ -428,16 +428,10 @@
|
|
|
428
428
|
"set.js"
|
|
429
429
|
]
|
|
430
430
|
},
|
|
431
|
-
"
|
|
431
|
+
"evaluators:create": {
|
|
432
432
|
"aliases": [],
|
|
433
|
-
"args": {
|
|
434
|
-
|
|
435
|
-
"description": "Dataset ID",
|
|
436
|
-
"name": "dataset-id",
|
|
437
|
-
"required": true
|
|
438
|
-
}
|
|
439
|
-
},
|
|
440
|
-
"description": "Add existing spans to a dataset",
|
|
433
|
+
"args": {},
|
|
434
|
+
"description": "Create a new evaluator",
|
|
441
435
|
"flags": {
|
|
442
436
|
"api-key": {
|
|
443
437
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -473,18 +467,39 @@
|
|
|
473
467
|
"allowNo": false,
|
|
474
468
|
"type": "boolean"
|
|
475
469
|
},
|
|
476
|
-
"
|
|
477
|
-
"description": "
|
|
478
|
-
"name": "
|
|
470
|
+
"name": {
|
|
471
|
+
"description": "Evaluator name",
|
|
472
|
+
"name": "name",
|
|
479
473
|
"required": true,
|
|
480
474
|
"hasDynamicHelp": false,
|
|
481
475
|
"multiple": false,
|
|
482
476
|
"type": "option"
|
|
477
|
+
},
|
|
478
|
+
"type": {
|
|
479
|
+
"description": "Evaluator type",
|
|
480
|
+
"name": "type",
|
|
481
|
+
"hasDynamicHelp": false,
|
|
482
|
+
"multiple": false,
|
|
483
|
+
"type": "option"
|
|
484
|
+
},
|
|
485
|
+
"description": {
|
|
486
|
+
"description": "Evaluator description",
|
|
487
|
+
"name": "description",
|
|
488
|
+
"hasDynamicHelp": false,
|
|
489
|
+
"multiple": false,
|
|
490
|
+
"type": "option"
|
|
491
|
+
},
|
|
492
|
+
"config": {
|
|
493
|
+
"description": "Evaluator config as JSON string",
|
|
494
|
+
"name": "config",
|
|
495
|
+
"hasDynamicHelp": false,
|
|
496
|
+
"multiple": false,
|
|
497
|
+
"type": "option"
|
|
483
498
|
}
|
|
484
499
|
},
|
|
485
500
|
"hasDynamicHelp": false,
|
|
486
501
|
"hiddenAliases": [],
|
|
487
|
-
"id": "
|
|
502
|
+
"id": "evaluators:create",
|
|
488
503
|
"pluginAlias": "@respan/cli",
|
|
489
504
|
"pluginName": "@respan/cli",
|
|
490
505
|
"pluginType": "core",
|
|
@@ -494,20 +509,20 @@
|
|
|
494
509
|
"relativePath": [
|
|
495
510
|
"dist",
|
|
496
511
|
"commands",
|
|
497
|
-
"
|
|
498
|
-
"
|
|
512
|
+
"evaluators",
|
|
513
|
+
"create.js"
|
|
499
514
|
]
|
|
500
515
|
},
|
|
501
|
-
"
|
|
516
|
+
"evaluators:get": {
|
|
502
517
|
"aliases": [],
|
|
503
518
|
"args": {
|
|
504
|
-
"
|
|
505
|
-
"description": "
|
|
506
|
-
"name": "
|
|
519
|
+
"id": {
|
|
520
|
+
"description": "Evaluator ID",
|
|
521
|
+
"name": "id",
|
|
507
522
|
"required": true
|
|
508
523
|
}
|
|
509
524
|
},
|
|
510
|
-
"description": "
|
|
525
|
+
"description": "Get a specific evaluator",
|
|
511
526
|
"flags": {
|
|
512
527
|
"api-key": {
|
|
513
528
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -542,19 +557,11 @@
|
|
|
542
557
|
"name": "verbose",
|
|
543
558
|
"allowNo": false,
|
|
544
559
|
"type": "boolean"
|
|
545
|
-
},
|
|
546
|
-
"body": {
|
|
547
|
-
"description": "Span body as JSON string",
|
|
548
|
-
"name": "body",
|
|
549
|
-
"required": true,
|
|
550
|
-
"hasDynamicHelp": false,
|
|
551
|
-
"multiple": false,
|
|
552
|
-
"type": "option"
|
|
553
560
|
}
|
|
554
561
|
},
|
|
555
562
|
"hasDynamicHelp": false,
|
|
556
563
|
"hiddenAliases": [],
|
|
557
|
-
"id": "
|
|
564
|
+
"id": "evaluators:get",
|
|
558
565
|
"pluginAlias": "@respan/cli",
|
|
559
566
|
"pluginName": "@respan/cli",
|
|
560
567
|
"pluginType": "core",
|
|
@@ -564,14 +571,14 @@
|
|
|
564
571
|
"relativePath": [
|
|
565
572
|
"dist",
|
|
566
573
|
"commands",
|
|
567
|
-
"
|
|
568
|
-
"
|
|
574
|
+
"evaluators",
|
|
575
|
+
"get.js"
|
|
569
576
|
]
|
|
570
577
|
},
|
|
571
|
-
"
|
|
578
|
+
"evaluators:list": {
|
|
572
579
|
"aliases": [],
|
|
573
580
|
"args": {},
|
|
574
|
-
"description": "
|
|
581
|
+
"description": "List evaluators",
|
|
575
582
|
"flags": {
|
|
576
583
|
"api-key": {
|
|
577
584
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -607,17 +614,18 @@
|
|
|
607
614
|
"allowNo": false,
|
|
608
615
|
"type": "boolean"
|
|
609
616
|
},
|
|
610
|
-
"
|
|
611
|
-
"description": "
|
|
612
|
-
"name": "
|
|
613
|
-
"
|
|
617
|
+
"limit": {
|
|
618
|
+
"description": "Number of results per page",
|
|
619
|
+
"name": "limit",
|
|
620
|
+
"default": 20,
|
|
614
621
|
"hasDynamicHelp": false,
|
|
615
622
|
"multiple": false,
|
|
616
623
|
"type": "option"
|
|
617
624
|
},
|
|
618
|
-
"
|
|
619
|
-
"description": "
|
|
620
|
-
"name": "
|
|
625
|
+
"page": {
|
|
626
|
+
"description": "Page number",
|
|
627
|
+
"name": "page",
|
|
628
|
+
"default": 1,
|
|
621
629
|
"hasDynamicHelp": false,
|
|
622
630
|
"multiple": false,
|
|
623
631
|
"type": "option"
|
|
@@ -625,7 +633,7 @@
|
|
|
625
633
|
},
|
|
626
634
|
"hasDynamicHelp": false,
|
|
627
635
|
"hiddenAliases": [],
|
|
628
|
-
"id": "
|
|
636
|
+
"id": "evaluators:list",
|
|
629
637
|
"pluginAlias": "@respan/cli",
|
|
630
638
|
"pluginName": "@respan/cli",
|
|
631
639
|
"pluginType": "core",
|
|
@@ -635,25 +643,20 @@
|
|
|
635
643
|
"relativePath": [
|
|
636
644
|
"dist",
|
|
637
645
|
"commands",
|
|
638
|
-
"
|
|
639
|
-
"
|
|
646
|
+
"evaluators",
|
|
647
|
+
"list.js"
|
|
640
648
|
]
|
|
641
649
|
},
|
|
642
|
-
"
|
|
650
|
+
"evaluators:run": {
|
|
643
651
|
"aliases": [],
|
|
644
652
|
"args": {
|
|
645
|
-
"
|
|
646
|
-
"description": "
|
|
647
|
-
"name": "
|
|
648
|
-
"required": true
|
|
649
|
-
},
|
|
650
|
-
"span-id": {
|
|
651
|
-
"description": "Span ID",
|
|
652
|
-
"name": "span-id",
|
|
653
|
+
"id": {
|
|
654
|
+
"description": "Evaluator ID",
|
|
655
|
+
"name": "id",
|
|
653
656
|
"required": true
|
|
654
657
|
}
|
|
655
658
|
},
|
|
656
|
-
"description": "
|
|
659
|
+
"description": "Run an evaluator",
|
|
657
660
|
"flags": {
|
|
658
661
|
"api-key": {
|
|
659
662
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -688,11 +691,32 @@
|
|
|
688
691
|
"name": "verbose",
|
|
689
692
|
"allowNo": false,
|
|
690
693
|
"type": "boolean"
|
|
694
|
+
},
|
|
695
|
+
"dataset-id": {
|
|
696
|
+
"description": "Dataset ID to evaluate against",
|
|
697
|
+
"name": "dataset-id",
|
|
698
|
+
"hasDynamicHelp": false,
|
|
699
|
+
"multiple": false,
|
|
700
|
+
"type": "option"
|
|
701
|
+
},
|
|
702
|
+
"log-ids": {
|
|
703
|
+
"description": "Comma-separated log/span IDs to evaluate",
|
|
704
|
+
"name": "log-ids",
|
|
705
|
+
"hasDynamicHelp": false,
|
|
706
|
+
"multiple": false,
|
|
707
|
+
"type": "option"
|
|
708
|
+
},
|
|
709
|
+
"params": {
|
|
710
|
+
"description": "Additional parameters as JSON string",
|
|
711
|
+
"name": "params",
|
|
712
|
+
"hasDynamicHelp": false,
|
|
713
|
+
"multiple": false,
|
|
714
|
+
"type": "option"
|
|
691
715
|
}
|
|
692
716
|
},
|
|
693
717
|
"hasDynamicHelp": false,
|
|
694
718
|
"hiddenAliases": [],
|
|
695
|
-
"id": "
|
|
719
|
+
"id": "evaluators:run",
|
|
696
720
|
"pluginAlias": "@respan/cli",
|
|
697
721
|
"pluginName": "@respan/cli",
|
|
698
722
|
"pluginType": "core",
|
|
@@ -702,20 +726,20 @@
|
|
|
702
726
|
"relativePath": [
|
|
703
727
|
"dist",
|
|
704
728
|
"commands",
|
|
705
|
-
"
|
|
706
|
-
"
|
|
729
|
+
"evaluators",
|
|
730
|
+
"run.js"
|
|
707
731
|
]
|
|
708
732
|
},
|
|
709
|
-
"
|
|
733
|
+
"evaluators:update": {
|
|
710
734
|
"aliases": [],
|
|
711
735
|
"args": {
|
|
712
736
|
"id": {
|
|
713
|
-
"description": "
|
|
737
|
+
"description": "Evaluator ID",
|
|
714
738
|
"name": "id",
|
|
715
739
|
"required": true
|
|
716
740
|
}
|
|
717
741
|
},
|
|
718
|
-
"description": "
|
|
742
|
+
"description": "Update an evaluator",
|
|
719
743
|
"flags": {
|
|
720
744
|
"api-key": {
|
|
721
745
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -750,11 +774,32 @@
|
|
|
750
774
|
"name": "verbose",
|
|
751
775
|
"allowNo": false,
|
|
752
776
|
"type": "boolean"
|
|
777
|
+
},
|
|
778
|
+
"name": {
|
|
779
|
+
"description": "Evaluator name",
|
|
780
|
+
"name": "name",
|
|
781
|
+
"hasDynamicHelp": false,
|
|
782
|
+
"multiple": false,
|
|
783
|
+
"type": "option"
|
|
784
|
+
},
|
|
785
|
+
"description": {
|
|
786
|
+
"description": "Evaluator description",
|
|
787
|
+
"name": "description",
|
|
788
|
+
"hasDynamicHelp": false,
|
|
789
|
+
"multiple": false,
|
|
790
|
+
"type": "option"
|
|
791
|
+
},
|
|
792
|
+
"config": {
|
|
793
|
+
"description": "Evaluator config as JSON string",
|
|
794
|
+
"name": "config",
|
|
795
|
+
"hasDynamicHelp": false,
|
|
796
|
+
"multiple": false,
|
|
797
|
+
"type": "option"
|
|
753
798
|
}
|
|
754
799
|
},
|
|
755
800
|
"hasDynamicHelp": false,
|
|
756
801
|
"hiddenAliases": [],
|
|
757
|
-
"id": "
|
|
802
|
+
"id": "evaluators:update",
|
|
758
803
|
"pluginAlias": "@respan/cli",
|
|
759
804
|
"pluginName": "@respan/cli",
|
|
760
805
|
"pluginType": "core",
|
|
@@ -764,14 +809,20 @@
|
|
|
764
809
|
"relativePath": [
|
|
765
810
|
"dist",
|
|
766
811
|
"commands",
|
|
767
|
-
"
|
|
768
|
-
"
|
|
812
|
+
"evaluators",
|
|
813
|
+
"update.js"
|
|
769
814
|
]
|
|
770
815
|
},
|
|
771
|
-
"datasets:
|
|
816
|
+
"datasets:add-spans": {
|
|
772
817
|
"aliases": [],
|
|
773
|
-
"args": {
|
|
774
|
-
|
|
818
|
+
"args": {
|
|
819
|
+
"dataset-id": {
|
|
820
|
+
"description": "Dataset ID",
|
|
821
|
+
"name": "dataset-id",
|
|
822
|
+
"required": true
|
|
823
|
+
}
|
|
824
|
+
},
|
|
825
|
+
"description": "Add existing spans to a dataset",
|
|
775
826
|
"flags": {
|
|
776
827
|
"api-key": {
|
|
777
828
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -807,18 +858,10 @@
|
|
|
807
858
|
"allowNo": false,
|
|
808
859
|
"type": "boolean"
|
|
809
860
|
},
|
|
810
|
-
"
|
|
811
|
-
"description": "
|
|
812
|
-
"name": "
|
|
813
|
-
"
|
|
814
|
-
"hasDynamicHelp": false,
|
|
815
|
-
"multiple": false,
|
|
816
|
-
"type": "option"
|
|
817
|
-
},
|
|
818
|
-
"page": {
|
|
819
|
-
"description": "Page number",
|
|
820
|
-
"name": "page",
|
|
821
|
-
"default": 1,
|
|
861
|
+
"span-ids": {
|
|
862
|
+
"description": "Comma-separated span IDs",
|
|
863
|
+
"name": "span-ids",
|
|
864
|
+
"required": true,
|
|
822
865
|
"hasDynamicHelp": false,
|
|
823
866
|
"multiple": false,
|
|
824
867
|
"type": "option"
|
|
@@ -826,7 +869,7 @@
|
|
|
826
869
|
},
|
|
827
870
|
"hasDynamicHelp": false,
|
|
828
871
|
"hiddenAliases": [],
|
|
829
|
-
"id": "datasets:
|
|
872
|
+
"id": "datasets:add-spans",
|
|
830
873
|
"pluginAlias": "@respan/cli",
|
|
831
874
|
"pluginName": "@respan/cli",
|
|
832
875
|
"pluginType": "core",
|
|
@@ -837,10 +880,10 @@
|
|
|
837
880
|
"dist",
|
|
838
881
|
"commands",
|
|
839
882
|
"datasets",
|
|
840
|
-
"
|
|
883
|
+
"add-spans.js"
|
|
841
884
|
]
|
|
842
885
|
},
|
|
843
|
-
"datasets:
|
|
886
|
+
"datasets:create-span": {
|
|
844
887
|
"aliases": [],
|
|
845
888
|
"args": {
|
|
846
889
|
"dataset-id": {
|
|
@@ -849,7 +892,7 @@
|
|
|
849
892
|
"required": true
|
|
850
893
|
}
|
|
851
894
|
},
|
|
852
|
-
"description": "
|
|
895
|
+
"description": "Create a span in a dataset",
|
|
853
896
|
"flags": {
|
|
854
897
|
"api-key": {
|
|
855
898
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -884,11 +927,19 @@
|
|
|
884
927
|
"name": "verbose",
|
|
885
928
|
"allowNo": false,
|
|
886
929
|
"type": "boolean"
|
|
930
|
+
},
|
|
931
|
+
"body": {
|
|
932
|
+
"description": "Span body as JSON string",
|
|
933
|
+
"name": "body",
|
|
934
|
+
"required": true,
|
|
935
|
+
"hasDynamicHelp": false,
|
|
936
|
+
"multiple": false,
|
|
937
|
+
"type": "option"
|
|
887
938
|
}
|
|
888
939
|
},
|
|
889
940
|
"hasDynamicHelp": false,
|
|
890
941
|
"hiddenAliases": [],
|
|
891
|
-
"id": "datasets:
|
|
942
|
+
"id": "datasets:create-span",
|
|
892
943
|
"pluginAlias": "@respan/cli",
|
|
893
944
|
"pluginName": "@respan/cli",
|
|
894
945
|
"pluginType": "core",
|
|
@@ -899,19 +950,13 @@
|
|
|
899
950
|
"dist",
|
|
900
951
|
"commands",
|
|
901
952
|
"datasets",
|
|
902
|
-
"
|
|
953
|
+
"create-span.js"
|
|
903
954
|
]
|
|
904
955
|
},
|
|
905
|
-
"datasets:
|
|
956
|
+
"datasets:create": {
|
|
906
957
|
"aliases": [],
|
|
907
|
-
"args": {
|
|
908
|
-
|
|
909
|
-
"description": "Dataset ID",
|
|
910
|
-
"name": "id",
|
|
911
|
-
"required": true
|
|
912
|
-
}
|
|
913
|
-
},
|
|
914
|
-
"description": "Update a dataset",
|
|
958
|
+
"args": {},
|
|
959
|
+
"description": "Create a new dataset",
|
|
915
960
|
"flags": {
|
|
916
961
|
"api-key": {
|
|
917
962
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -950,6 +995,7 @@
|
|
|
950
995
|
"name": {
|
|
951
996
|
"description": "Dataset name",
|
|
952
997
|
"name": "name",
|
|
998
|
+
"required": true,
|
|
953
999
|
"hasDynamicHelp": false,
|
|
954
1000
|
"multiple": false,
|
|
955
1001
|
"type": "option"
|
|
@@ -964,7 +1010,7 @@
|
|
|
964
1010
|
},
|
|
965
1011
|
"hasDynamicHelp": false,
|
|
966
1012
|
"hiddenAliases": [],
|
|
967
|
-
"id": "datasets:
|
|
1013
|
+
"id": "datasets:create",
|
|
968
1014
|
"pluginAlias": "@respan/cli",
|
|
969
1015
|
"pluginName": "@respan/cli",
|
|
970
1016
|
"pluginType": "core",
|
|
@@ -975,13 +1021,24 @@
|
|
|
975
1021
|
"dist",
|
|
976
1022
|
"commands",
|
|
977
1023
|
"datasets",
|
|
978
|
-
"
|
|
1024
|
+
"create.js"
|
|
979
1025
|
]
|
|
980
1026
|
},
|
|
981
|
-
"
|
|
1027
|
+
"datasets:get-span": {
|
|
982
1028
|
"aliases": [],
|
|
983
|
-
"args": {
|
|
984
|
-
|
|
1029
|
+
"args": {
|
|
1030
|
+
"dataset-id": {
|
|
1031
|
+
"description": "Dataset ID",
|
|
1032
|
+
"name": "dataset-id",
|
|
1033
|
+
"required": true
|
|
1034
|
+
},
|
|
1035
|
+
"span-id": {
|
|
1036
|
+
"description": "Span ID",
|
|
1037
|
+
"name": "span-id",
|
|
1038
|
+
"required": true
|
|
1039
|
+
}
|
|
1040
|
+
},
|
|
1041
|
+
"description": "Get a specific span from a dataset",
|
|
985
1042
|
"flags": {
|
|
986
1043
|
"api-key": {
|
|
987
1044
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1016,40 +1073,11 @@
|
|
|
1016
1073
|
"name": "verbose",
|
|
1017
1074
|
"allowNo": false,
|
|
1018
1075
|
"type": "boolean"
|
|
1019
|
-
},
|
|
1020
|
-
"name": {
|
|
1021
|
-
"description": "Evaluator name",
|
|
1022
|
-
"name": "name",
|
|
1023
|
-
"required": true,
|
|
1024
|
-
"hasDynamicHelp": false,
|
|
1025
|
-
"multiple": false,
|
|
1026
|
-
"type": "option"
|
|
1027
|
-
},
|
|
1028
|
-
"type": {
|
|
1029
|
-
"description": "Evaluator type",
|
|
1030
|
-
"name": "type",
|
|
1031
|
-
"hasDynamicHelp": false,
|
|
1032
|
-
"multiple": false,
|
|
1033
|
-
"type": "option"
|
|
1034
|
-
},
|
|
1035
|
-
"description": {
|
|
1036
|
-
"description": "Evaluator description",
|
|
1037
|
-
"name": "description",
|
|
1038
|
-
"hasDynamicHelp": false,
|
|
1039
|
-
"multiple": false,
|
|
1040
|
-
"type": "option"
|
|
1041
|
-
},
|
|
1042
|
-
"config": {
|
|
1043
|
-
"description": "Evaluator config as JSON string",
|
|
1044
|
-
"name": "config",
|
|
1045
|
-
"hasDynamicHelp": false,
|
|
1046
|
-
"multiple": false,
|
|
1047
|
-
"type": "option"
|
|
1048
1076
|
}
|
|
1049
1077
|
},
|
|
1050
1078
|
"hasDynamicHelp": false,
|
|
1051
1079
|
"hiddenAliases": [],
|
|
1052
|
-
"id": "
|
|
1080
|
+
"id": "datasets:get-span",
|
|
1053
1081
|
"pluginAlias": "@respan/cli",
|
|
1054
1082
|
"pluginName": "@respan/cli",
|
|
1055
1083
|
"pluginType": "core",
|
|
@@ -1059,20 +1087,20 @@
|
|
|
1059
1087
|
"relativePath": [
|
|
1060
1088
|
"dist",
|
|
1061
1089
|
"commands",
|
|
1062
|
-
"
|
|
1063
|
-
"
|
|
1090
|
+
"datasets",
|
|
1091
|
+
"get-span.js"
|
|
1064
1092
|
]
|
|
1065
1093
|
},
|
|
1066
|
-
"
|
|
1094
|
+
"datasets:get": {
|
|
1067
1095
|
"aliases": [],
|
|
1068
1096
|
"args": {
|
|
1069
1097
|
"id": {
|
|
1070
|
-
"description": "
|
|
1098
|
+
"description": "Dataset ID",
|
|
1071
1099
|
"name": "id",
|
|
1072
1100
|
"required": true
|
|
1073
1101
|
}
|
|
1074
1102
|
},
|
|
1075
|
-
"description": "Get a specific
|
|
1103
|
+
"description": "Get a specific dataset",
|
|
1076
1104
|
"flags": {
|
|
1077
1105
|
"api-key": {
|
|
1078
1106
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1111,7 +1139,7 @@
|
|
|
1111
1139
|
},
|
|
1112
1140
|
"hasDynamicHelp": false,
|
|
1113
1141
|
"hiddenAliases": [],
|
|
1114
|
-
"id": "
|
|
1142
|
+
"id": "datasets:get",
|
|
1115
1143
|
"pluginAlias": "@respan/cli",
|
|
1116
1144
|
"pluginName": "@respan/cli",
|
|
1117
1145
|
"pluginType": "core",
|
|
@@ -1121,14 +1149,14 @@
|
|
|
1121
1149
|
"relativePath": [
|
|
1122
1150
|
"dist",
|
|
1123
1151
|
"commands",
|
|
1124
|
-
"
|
|
1152
|
+
"datasets",
|
|
1125
1153
|
"get.js"
|
|
1126
1154
|
]
|
|
1127
1155
|
},
|
|
1128
|
-
"
|
|
1156
|
+
"datasets:list": {
|
|
1129
1157
|
"aliases": [],
|
|
1130
1158
|
"args": {},
|
|
1131
|
-
"description": "List
|
|
1159
|
+
"description": "List datasets",
|
|
1132
1160
|
"flags": {
|
|
1133
1161
|
"api-key": {
|
|
1134
1162
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1167,7 +1195,7 @@
|
|
|
1167
1195
|
"limit": {
|
|
1168
1196
|
"description": "Number of results per page",
|
|
1169
1197
|
"name": "limit",
|
|
1170
|
-
"default":
|
|
1198
|
+
"default": 50,
|
|
1171
1199
|
"hasDynamicHelp": false,
|
|
1172
1200
|
"multiple": false,
|
|
1173
1201
|
"type": "option"
|
|
@@ -1183,7 +1211,7 @@
|
|
|
1183
1211
|
},
|
|
1184
1212
|
"hasDynamicHelp": false,
|
|
1185
1213
|
"hiddenAliases": [],
|
|
1186
|
-
"id": "
|
|
1214
|
+
"id": "datasets:list",
|
|
1187
1215
|
"pluginAlias": "@respan/cli",
|
|
1188
1216
|
"pluginName": "@respan/cli",
|
|
1189
1217
|
"pluginType": "core",
|
|
@@ -1193,20 +1221,20 @@
|
|
|
1193
1221
|
"relativePath": [
|
|
1194
1222
|
"dist",
|
|
1195
1223
|
"commands",
|
|
1196
|
-
"
|
|
1224
|
+
"datasets",
|
|
1197
1225
|
"list.js"
|
|
1198
1226
|
]
|
|
1199
1227
|
},
|
|
1200
|
-
"
|
|
1228
|
+
"datasets:spans": {
|
|
1201
1229
|
"aliases": [],
|
|
1202
1230
|
"args": {
|
|
1203
|
-
"id": {
|
|
1204
|
-
"description": "
|
|
1205
|
-
"name": "id",
|
|
1231
|
+
"dataset-id": {
|
|
1232
|
+
"description": "Dataset ID",
|
|
1233
|
+
"name": "dataset-id",
|
|
1206
1234
|
"required": true
|
|
1207
1235
|
}
|
|
1208
1236
|
},
|
|
1209
|
-
"description": "
|
|
1237
|
+
"description": "List spans in a dataset",
|
|
1210
1238
|
"flags": {
|
|
1211
1239
|
"api-key": {
|
|
1212
1240
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1241,32 +1269,11 @@
|
|
|
1241
1269
|
"name": "verbose",
|
|
1242
1270
|
"allowNo": false,
|
|
1243
1271
|
"type": "boolean"
|
|
1244
|
-
},
|
|
1245
|
-
"dataset-id": {
|
|
1246
|
-
"description": "Dataset ID to evaluate against",
|
|
1247
|
-
"name": "dataset-id",
|
|
1248
|
-
"hasDynamicHelp": false,
|
|
1249
|
-
"multiple": false,
|
|
1250
|
-
"type": "option"
|
|
1251
|
-
},
|
|
1252
|
-
"log-ids": {
|
|
1253
|
-
"description": "Comma-separated log/span IDs to evaluate",
|
|
1254
|
-
"name": "log-ids",
|
|
1255
|
-
"hasDynamicHelp": false,
|
|
1256
|
-
"multiple": false,
|
|
1257
|
-
"type": "option"
|
|
1258
|
-
},
|
|
1259
|
-
"params": {
|
|
1260
|
-
"description": "Additional parameters as JSON string",
|
|
1261
|
-
"name": "params",
|
|
1262
|
-
"hasDynamicHelp": false,
|
|
1263
|
-
"multiple": false,
|
|
1264
|
-
"type": "option"
|
|
1265
1272
|
}
|
|
1266
1273
|
},
|
|
1267
1274
|
"hasDynamicHelp": false,
|
|
1268
1275
|
"hiddenAliases": [],
|
|
1269
|
-
"id": "
|
|
1276
|
+
"id": "datasets:spans",
|
|
1270
1277
|
"pluginAlias": "@respan/cli",
|
|
1271
1278
|
"pluginName": "@respan/cli",
|
|
1272
1279
|
"pluginType": "core",
|
|
@@ -1276,20 +1283,20 @@
|
|
|
1276
1283
|
"relativePath": [
|
|
1277
1284
|
"dist",
|
|
1278
1285
|
"commands",
|
|
1279
|
-
"
|
|
1280
|
-
"
|
|
1286
|
+
"datasets",
|
|
1287
|
+
"spans.js"
|
|
1281
1288
|
]
|
|
1282
1289
|
},
|
|
1283
|
-
"
|
|
1290
|
+
"datasets:update": {
|
|
1284
1291
|
"aliases": [],
|
|
1285
1292
|
"args": {
|
|
1286
1293
|
"id": {
|
|
1287
|
-
"description": "
|
|
1294
|
+
"description": "Dataset ID",
|
|
1288
1295
|
"name": "id",
|
|
1289
1296
|
"required": true
|
|
1290
1297
|
}
|
|
1291
1298
|
},
|
|
1292
|
-
"description": "Update
|
|
1299
|
+
"description": "Update a dataset",
|
|
1293
1300
|
"flags": {
|
|
1294
1301
|
"api-key": {
|
|
1295
1302
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1326,30 +1333,23 @@
|
|
|
1326
1333
|
"type": "boolean"
|
|
1327
1334
|
},
|
|
1328
1335
|
"name": {
|
|
1329
|
-
"description": "
|
|
1336
|
+
"description": "Dataset name",
|
|
1330
1337
|
"name": "name",
|
|
1331
1338
|
"hasDynamicHelp": false,
|
|
1332
1339
|
"multiple": false,
|
|
1333
1340
|
"type": "option"
|
|
1334
1341
|
},
|
|
1335
1342
|
"description": {
|
|
1336
|
-
"description": "
|
|
1343
|
+
"description": "Dataset description",
|
|
1337
1344
|
"name": "description",
|
|
1338
1345
|
"hasDynamicHelp": false,
|
|
1339
1346
|
"multiple": false,
|
|
1340
1347
|
"type": "option"
|
|
1341
|
-
},
|
|
1342
|
-
"config": {
|
|
1343
|
-
"description": "Evaluator config as JSON string",
|
|
1344
|
-
"name": "config",
|
|
1345
|
-
"hasDynamicHelp": false,
|
|
1346
|
-
"multiple": false,
|
|
1347
|
-
"type": "option"
|
|
1348
1348
|
}
|
|
1349
1349
|
},
|
|
1350
1350
|
"hasDynamicHelp": false,
|
|
1351
1351
|
"hiddenAliases": [],
|
|
1352
|
-
"id": "
|
|
1352
|
+
"id": "datasets:update",
|
|
1353
1353
|
"pluginAlias": "@respan/cli",
|
|
1354
1354
|
"pluginName": "@respan/cli",
|
|
1355
1355
|
"pluginType": "core",
|
|
@@ -1359,7 +1359,7 @@
|
|
|
1359
1359
|
"relativePath": [
|
|
1360
1360
|
"dist",
|
|
1361
1361
|
"commands",
|
|
1362
|
-
"
|
|
1362
|
+
"datasets",
|
|
1363
1363
|
"update.js"
|
|
1364
1364
|
]
|
|
1365
1365
|
},
|
|
@@ -1583,17 +1583,10 @@
|
|
|
1583
1583
|
"list.js"
|
|
1584
1584
|
]
|
|
1585
1585
|
},
|
|
1586
|
-
"
|
|
1586
|
+
"logs:create": {
|
|
1587
1587
|
"aliases": [],
|
|
1588
1588
|
"args": {},
|
|
1589
|
-
"description": "
|
|
1590
|
-
"examples": [
|
|
1591
|
-
"respan integrate claude-code",
|
|
1592
|
-
"respan integrate claude-code --global",
|
|
1593
|
-
"respan integrate claude-code --local --project-id my-project",
|
|
1594
|
-
"respan integrate claude-code --attrs '{\"env\":\"prod\"}'",
|
|
1595
|
-
"respan integrate claude-code --dry-run"
|
|
1596
|
-
],
|
|
1589
|
+
"description": "Create a log span",
|
|
1597
1590
|
"flags": {
|
|
1598
1591
|
"api-key": {
|
|
1599
1592
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1629,80 +1622,101 @@
|
|
|
1629
1622
|
"allowNo": false,
|
|
1630
1623
|
"type": "boolean"
|
|
1631
1624
|
},
|
|
1632
|
-
"
|
|
1633
|
-
"description": "
|
|
1634
|
-
"
|
|
1635
|
-
|
|
1636
|
-
],
|
|
1637
|
-
"name": "local",
|
|
1638
|
-
"allowNo": false,
|
|
1639
|
-
"type": "boolean"
|
|
1640
|
-
},
|
|
1641
|
-
"global": {
|
|
1642
|
-
"description": "Write user-level global config",
|
|
1643
|
-
"exclusive": [
|
|
1644
|
-
"local"
|
|
1645
|
-
],
|
|
1646
|
-
"name": "global",
|
|
1647
|
-
"allowNo": false,
|
|
1648
|
-
"type": "boolean"
|
|
1649
|
-
},
|
|
1650
|
-
"project-id": {
|
|
1651
|
-
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
1652
|
-
"env": "RESPAN_PROJECT_ID",
|
|
1653
|
-
"name": "project-id",
|
|
1625
|
+
"input": {
|
|
1626
|
+
"description": "Input text or JSON",
|
|
1627
|
+
"name": "input",
|
|
1628
|
+
"required": true,
|
|
1654
1629
|
"hasDynamicHelp": false,
|
|
1655
1630
|
"multiple": false,
|
|
1656
1631
|
"type": "option"
|
|
1657
1632
|
},
|
|
1658
|
-
"
|
|
1659
|
-
"description": "
|
|
1660
|
-
"name": "
|
|
1661
|
-
"default": "https://api.respan.ai/api",
|
|
1633
|
+
"output": {
|
|
1634
|
+
"description": "Output text or JSON",
|
|
1635
|
+
"name": "output",
|
|
1662
1636
|
"hasDynamicHelp": false,
|
|
1663
1637
|
"multiple": false,
|
|
1664
1638
|
"type": "option"
|
|
1665
1639
|
},
|
|
1666
|
-
"
|
|
1667
|
-
"description": "
|
|
1668
|
-
"name": "
|
|
1669
|
-
"default": "{}",
|
|
1640
|
+
"model": {
|
|
1641
|
+
"description": "Model name",
|
|
1642
|
+
"name": "model",
|
|
1670
1643
|
"hasDynamicHelp": false,
|
|
1671
1644
|
"multiple": false,
|
|
1672
1645
|
"type": "option"
|
|
1673
1646
|
},
|
|
1674
|
-
"
|
|
1675
|
-
"description": "
|
|
1676
|
-
"
|
|
1677
|
-
"name": "customer-id",
|
|
1647
|
+
"metadata": {
|
|
1648
|
+
"description": "Metadata as JSON string",
|
|
1649
|
+
"name": "metadata",
|
|
1678
1650
|
"hasDynamicHelp": false,
|
|
1679
1651
|
"multiple": false,
|
|
1680
1652
|
"type": "option"
|
|
1681
|
-
}
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1653
|
+
}
|
|
1654
|
+
},
|
|
1655
|
+
"hasDynamicHelp": false,
|
|
1656
|
+
"hiddenAliases": [],
|
|
1657
|
+
"id": "logs:create",
|
|
1658
|
+
"pluginAlias": "@respan/cli",
|
|
1659
|
+
"pluginName": "@respan/cli",
|
|
1660
|
+
"pluginType": "core",
|
|
1661
|
+
"strict": true,
|
|
1662
|
+
"enableJsonFlag": false,
|
|
1663
|
+
"isESM": true,
|
|
1664
|
+
"relativePath": [
|
|
1665
|
+
"dist",
|
|
1666
|
+
"commands",
|
|
1667
|
+
"logs",
|
|
1668
|
+
"create.js"
|
|
1669
|
+
]
|
|
1670
|
+
},
|
|
1671
|
+
"logs:get": {
|
|
1672
|
+
"aliases": [],
|
|
1673
|
+
"args": {
|
|
1674
|
+
"id": {
|
|
1675
|
+
"description": "Span ID",
|
|
1676
|
+
"name": "id",
|
|
1677
|
+
"required": true
|
|
1678
|
+
}
|
|
1679
|
+
},
|
|
1680
|
+
"description": "Get a specific log span",
|
|
1681
|
+
"flags": {
|
|
1682
|
+
"api-key": {
|
|
1683
|
+
"description": "API key (env: RESPAN_API_KEY)",
|
|
1684
|
+
"env": "RESPAN_API_KEY",
|
|
1685
|
+
"name": "api-key",
|
|
1685
1686
|
"hasDynamicHelp": false,
|
|
1686
1687
|
"multiple": false,
|
|
1687
1688
|
"type": "option"
|
|
1688
1689
|
},
|
|
1689
|
-
"
|
|
1690
|
-
"description": "
|
|
1691
|
-
"name": "
|
|
1690
|
+
"profile": {
|
|
1691
|
+
"description": "Named profile to use",
|
|
1692
|
+
"name": "profile",
|
|
1692
1693
|
"hasDynamicHelp": false,
|
|
1693
1694
|
"multiple": false,
|
|
1694
1695
|
"type": "option"
|
|
1695
1696
|
},
|
|
1696
|
-
"
|
|
1697
|
-
"description": "
|
|
1698
|
-
"name": "
|
|
1697
|
+
"json": {
|
|
1698
|
+
"description": "Output as JSON",
|
|
1699
|
+
"name": "json",
|
|
1700
|
+
"allowNo": false,
|
|
1701
|
+
"type": "boolean"
|
|
1702
|
+
},
|
|
1703
|
+
"csv": {
|
|
1704
|
+
"description": "Output as CSV",
|
|
1705
|
+
"name": "csv",
|
|
1706
|
+
"allowNo": false,
|
|
1707
|
+
"type": "boolean"
|
|
1708
|
+
},
|
|
1709
|
+
"verbose": {
|
|
1710
|
+
"char": "v",
|
|
1711
|
+
"description": "Show verbose output",
|
|
1712
|
+
"name": "verbose",
|
|
1699
1713
|
"allowNo": false,
|
|
1700
1714
|
"type": "boolean"
|
|
1701
1715
|
}
|
|
1702
1716
|
},
|
|
1703
1717
|
"hasDynamicHelp": false,
|
|
1704
1718
|
"hiddenAliases": [],
|
|
1705
|
-
"id": "
|
|
1719
|
+
"id": "logs:get",
|
|
1706
1720
|
"pluginAlias": "@respan/cli",
|
|
1707
1721
|
"pluginName": "@respan/cli",
|
|
1708
1722
|
"pluginType": "core",
|
|
@@ -1712,20 +1726,14 @@
|
|
|
1712
1726
|
"relativePath": [
|
|
1713
1727
|
"dist",
|
|
1714
1728
|
"commands",
|
|
1715
|
-
"
|
|
1716
|
-
"
|
|
1729
|
+
"logs",
|
|
1730
|
+
"get.js"
|
|
1717
1731
|
]
|
|
1718
1732
|
},
|
|
1719
|
-
"
|
|
1733
|
+
"logs:list": {
|
|
1720
1734
|
"aliases": [],
|
|
1721
1735
|
"args": {},
|
|
1722
|
-
"description": "
|
|
1723
|
-
"examples": [
|
|
1724
|
-
"respan integrate codex-cli",
|
|
1725
|
-
"respan integrate codex-cli --global",
|
|
1726
|
-
"respan integrate codex-cli --project-id my-project --attrs '{\"env\":\"prod\"}'",
|
|
1727
|
-
"respan integrate codex-cli --dry-run"
|
|
1728
|
-
],
|
|
1736
|
+
"description": "List and filter LLM request logs (spans).\n\nSupports pagination, sorting, time range, and server-side filtering.\n\nFILTER SYNTAX: field:operator:value\n\nOPERATORS:\n (empty) Exact match model::gpt-4\n not Not equal status_code:not:200\n gt Greater than cost:gt:0.01\n gte Greater than/equal latency:gte:1.0\n lt Less than cost:lt:0.5\n lte Less than/equal prompt_tokens:lte:100\n contains Contains substring error_message:contains:timeout\n icontains Case-insensitive model:icontains:gpt\n startswith Starts with model:startswith:gpt\n endswith Ends with model:endswith:mini\n in Value in list model:in:gpt-4,gpt-4o\n isnull Is null error_message:isnull:true\n iexact Case-insens. exact status:iexact:success\n\nFILTERABLE FIELDS (logs):\n model, status_code, status, cost, latency, prompt_tokens,\n completion_tokens, customer_identifier, custom_identifier,\n thread_identifier, trace_unique_id, span_name, span_workflow_name,\n environment, log_type, error_message, failed, provider_id,\n deployment_name, prompt_name, prompt_id, unique_id, stream,\n temperature, max_tokens, tokens_per_second, time_to_first_token,\n total_request_tokens, metadata__<key>, scores__<evaluator_id>\n\nEXAMPLES:\n --filter model::gpt-4o --filter cost:gt:0.01\n --filter status_code:not:200\n --filter metadata__env::production\n --filter model:in:gpt-4,gpt-4o",
|
|
1729
1737
|
"flags": {
|
|
1730
1738
|
"api-key": {
|
|
1731
1739
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1761,80 +1769,75 @@
|
|
|
1761
1769
|
"allowNo": false,
|
|
1762
1770
|
"type": "boolean"
|
|
1763
1771
|
},
|
|
1764
|
-
"
|
|
1765
|
-
"description": "
|
|
1766
|
-
"
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
"
|
|
1770
|
-
"
|
|
1771
|
-
"type": "boolean"
|
|
1772
|
-
},
|
|
1773
|
-
"global": {
|
|
1774
|
-
"description": "Write user-level global config",
|
|
1775
|
-
"exclusive": [
|
|
1776
|
-
"local"
|
|
1777
|
-
],
|
|
1778
|
-
"name": "global",
|
|
1779
|
-
"allowNo": false,
|
|
1780
|
-
"type": "boolean"
|
|
1772
|
+
"limit": {
|
|
1773
|
+
"description": "Number of results per page (max 1000)",
|
|
1774
|
+
"name": "limit",
|
|
1775
|
+
"default": 50,
|
|
1776
|
+
"hasDynamicHelp": false,
|
|
1777
|
+
"multiple": false,
|
|
1778
|
+
"type": "option"
|
|
1781
1779
|
},
|
|
1782
|
-
"
|
|
1783
|
-
"description": "
|
|
1784
|
-
"
|
|
1785
|
-
"
|
|
1780
|
+
"page": {
|
|
1781
|
+
"description": "Page number",
|
|
1782
|
+
"name": "page",
|
|
1783
|
+
"default": 1,
|
|
1786
1784
|
"hasDynamicHelp": false,
|
|
1787
1785
|
"multiple": false,
|
|
1788
1786
|
"type": "option"
|
|
1789
1787
|
},
|
|
1790
|
-
"
|
|
1791
|
-
"description": "
|
|
1792
|
-
"name": "
|
|
1793
|
-
"default": "https://api.respan.ai/api",
|
|
1788
|
+
"sort-by": {
|
|
1789
|
+
"description": "Sort field (prefix with - for descending, e.g. -cost, -latency)",
|
|
1790
|
+
"name": "sort-by",
|
|
1794
1791
|
"hasDynamicHelp": false,
|
|
1795
1792
|
"multiple": false,
|
|
1796
1793
|
"type": "option"
|
|
1797
1794
|
},
|
|
1798
|
-
"
|
|
1799
|
-
"description": "
|
|
1800
|
-
"name": "
|
|
1801
|
-
"default": "{}",
|
|
1795
|
+
"start-time": {
|
|
1796
|
+
"description": "Start time filter (ISO 8601)",
|
|
1797
|
+
"name": "start-time",
|
|
1802
1798
|
"hasDynamicHelp": false,
|
|
1803
1799
|
"multiple": false,
|
|
1804
1800
|
"type": "option"
|
|
1805
1801
|
},
|
|
1806
|
-
"
|
|
1807
|
-
"description": "
|
|
1808
|
-
"
|
|
1809
|
-
"name": "customer-id",
|
|
1802
|
+
"end-time": {
|
|
1803
|
+
"description": "End time filter (ISO 8601)",
|
|
1804
|
+
"name": "end-time",
|
|
1810
1805
|
"hasDynamicHelp": false,
|
|
1811
1806
|
"multiple": false,
|
|
1812
1807
|
"type": "option"
|
|
1813
1808
|
},
|
|
1814
|
-
"
|
|
1815
|
-
"description": "
|
|
1816
|
-
"name": "
|
|
1809
|
+
"filter": {
|
|
1810
|
+
"description": "Filter in field:operator:value format (repeatable)",
|
|
1811
|
+
"name": "filter",
|
|
1812
|
+
"hasDynamicHelp": false,
|
|
1813
|
+
"multiple": true,
|
|
1814
|
+
"type": "option"
|
|
1815
|
+
},
|
|
1816
|
+
"all-envs": {
|
|
1817
|
+
"description": "Include all environments (true/false)",
|
|
1818
|
+
"name": "all-envs",
|
|
1817
1819
|
"hasDynamicHelp": false,
|
|
1818
1820
|
"multiple": false,
|
|
1819
1821
|
"type": "option"
|
|
1820
1822
|
},
|
|
1821
|
-
"
|
|
1822
|
-
"description": "
|
|
1823
|
-
"name": "
|
|
1823
|
+
"is-test": {
|
|
1824
|
+
"description": "Filter by test (true) or production (false) environment",
|
|
1825
|
+
"name": "is-test",
|
|
1824
1826
|
"hasDynamicHelp": false,
|
|
1825
1827
|
"multiple": false,
|
|
1826
1828
|
"type": "option"
|
|
1827
1829
|
},
|
|
1828
|
-
"
|
|
1829
|
-
"description": "
|
|
1830
|
-
"name": "
|
|
1831
|
-
"
|
|
1832
|
-
"
|
|
1830
|
+
"include-fields": {
|
|
1831
|
+
"description": "Comma-separated fields to include in response",
|
|
1832
|
+
"name": "include-fields",
|
|
1833
|
+
"hasDynamicHelp": false,
|
|
1834
|
+
"multiple": false,
|
|
1835
|
+
"type": "option"
|
|
1833
1836
|
}
|
|
1834
1837
|
},
|
|
1835
1838
|
"hasDynamicHelp": false,
|
|
1836
1839
|
"hiddenAliases": [],
|
|
1837
|
-
"id": "
|
|
1840
|
+
"id": "logs:list",
|
|
1838
1841
|
"pluginAlias": "@respan/cli",
|
|
1839
1842
|
"pluginName": "@respan/cli",
|
|
1840
1843
|
"pluginType": "core",
|
|
@@ -1844,20 +1847,14 @@
|
|
|
1844
1847
|
"relativePath": [
|
|
1845
1848
|
"dist",
|
|
1846
1849
|
"commands",
|
|
1847
|
-
"
|
|
1848
|
-
"
|
|
1850
|
+
"logs",
|
|
1851
|
+
"list.js"
|
|
1849
1852
|
]
|
|
1850
1853
|
},
|
|
1851
|
-
"
|
|
1854
|
+
"logs:summary": {
|
|
1852
1855
|
"aliases": [],
|
|
1853
1856
|
"args": {},
|
|
1854
|
-
"description": "
|
|
1855
|
-
"examples": [
|
|
1856
|
-
"respan integrate gemini-cli",
|
|
1857
|
-
"respan integrate gemini-cli --global",
|
|
1858
|
-
"respan integrate gemini-cli --project-id my-project --attrs '{\"env\":\"prod\"}'",
|
|
1859
|
-
"respan integrate gemini-cli --dry-run"
|
|
1860
|
-
],
|
|
1857
|
+
"description": "Get aggregated summary statistics for log spans in a time range.\n\nReturns total cost, total tokens, request count, and score summaries.\n\nFILTER SYNTAX: field:operator:value\n\nOPERATORS:\n (empty) Exact match model::gpt-4\n not Not equal status_code:not:200\n gt Greater than cost:gt:0.01\n gte Greater than/equal latency:gte:1.0\n lt Less than cost:lt:0.5\n lte Less than/equal prompt_tokens:lte:100\n contains Contains substring error_message:contains:timeout\n icontains Case-insensitive model:icontains:gpt\n startswith Starts with model:startswith:gpt\n endswith Ends with model:endswith:mini\n in Value in list model:in:gpt-4,gpt-4o\n isnull Is null error_message:isnull:true\n iexact Case-insens. exact status:iexact:success\n\nFILTERABLE FIELDS (logs):\n model, status_code, status, cost, latency, prompt_tokens,\n completion_tokens, customer_identifier, custom_identifier,\n thread_identifier, trace_unique_id, span_name, span_workflow_name,\n environment, log_type, error_message, failed, provider_id,\n deployment_name, prompt_name, prompt_id, unique_id, stream,\n temperature, max_tokens, tokens_per_second, time_to_first_token,\n total_request_tokens, metadata__<key>, scores__<evaluator_id>\n\nEXAMPLES:\n --filter model::gpt-4o --filter cost:gt:0.01\n --filter status_code:not:200\n --filter metadata__env::production\n --filter model:in:gpt-4,gpt-4o",
|
|
1861
1858
|
"flags": {
|
|
1862
1859
|
"api-key": {
|
|
1863
1860
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -1893,80 +1890,47 @@
|
|
|
1893
1890
|
"allowNo": false,
|
|
1894
1891
|
"type": "boolean"
|
|
1895
1892
|
},
|
|
1896
|
-
"
|
|
1897
|
-
"description": "
|
|
1898
|
-
"
|
|
1899
|
-
|
|
1900
|
-
],
|
|
1901
|
-
"name": "local",
|
|
1902
|
-
"allowNo": false,
|
|
1903
|
-
"type": "boolean"
|
|
1904
|
-
},
|
|
1905
|
-
"global": {
|
|
1906
|
-
"description": "Write user-level global config",
|
|
1907
|
-
"exclusive": [
|
|
1908
|
-
"local"
|
|
1909
|
-
],
|
|
1910
|
-
"name": "global",
|
|
1911
|
-
"allowNo": false,
|
|
1912
|
-
"type": "boolean"
|
|
1913
|
-
},
|
|
1914
|
-
"project-id": {
|
|
1915
|
-
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
1916
|
-
"env": "RESPAN_PROJECT_ID",
|
|
1917
|
-
"name": "project-id",
|
|
1918
|
-
"hasDynamicHelp": false,
|
|
1919
|
-
"multiple": false,
|
|
1920
|
-
"type": "option"
|
|
1921
|
-
},
|
|
1922
|
-
"base-url": {
|
|
1923
|
-
"description": "Respan API base URL (for enterprise deployments)",
|
|
1924
|
-
"name": "base-url",
|
|
1925
|
-
"default": "https://api.respan.ai/api",
|
|
1893
|
+
"start-time": {
|
|
1894
|
+
"description": "Start time (ISO 8601)",
|
|
1895
|
+
"name": "start-time",
|
|
1896
|
+
"required": true,
|
|
1926
1897
|
"hasDynamicHelp": false,
|
|
1927
1898
|
"multiple": false,
|
|
1928
1899
|
"type": "option"
|
|
1929
1900
|
},
|
|
1930
|
-
"
|
|
1931
|
-
"description": "
|
|
1932
|
-
"name": "
|
|
1933
|
-
"
|
|
1901
|
+
"end-time": {
|
|
1902
|
+
"description": "End time (ISO 8601)",
|
|
1903
|
+
"name": "end-time",
|
|
1904
|
+
"required": true,
|
|
1934
1905
|
"hasDynamicHelp": false,
|
|
1935
1906
|
"multiple": false,
|
|
1936
1907
|
"type": "option"
|
|
1937
1908
|
},
|
|
1938
|
-
"
|
|
1939
|
-
"description": "
|
|
1940
|
-
"
|
|
1941
|
-
"name": "customer-id",
|
|
1909
|
+
"filter": {
|
|
1910
|
+
"description": "Filter in field:operator:value format (repeatable)",
|
|
1911
|
+
"name": "filter",
|
|
1942
1912
|
"hasDynamicHelp": false,
|
|
1943
|
-
"multiple":
|
|
1913
|
+
"multiple": true,
|
|
1944
1914
|
"type": "option"
|
|
1945
1915
|
},
|
|
1946
|
-
"
|
|
1947
|
-
"description": "
|
|
1948
|
-
"name": "
|
|
1916
|
+
"all-envs": {
|
|
1917
|
+
"description": "Include all environments (true/false)",
|
|
1918
|
+
"name": "all-envs",
|
|
1949
1919
|
"hasDynamicHelp": false,
|
|
1950
1920
|
"multiple": false,
|
|
1951
1921
|
"type": "option"
|
|
1952
1922
|
},
|
|
1953
|
-
"
|
|
1954
|
-
"description": "
|
|
1955
|
-
"name": "
|
|
1923
|
+
"is-test": {
|
|
1924
|
+
"description": "Filter by test (true) or production (false) environment",
|
|
1925
|
+
"name": "is-test",
|
|
1956
1926
|
"hasDynamicHelp": false,
|
|
1957
1927
|
"multiple": false,
|
|
1958
1928
|
"type": "option"
|
|
1959
|
-
},
|
|
1960
|
-
"dry-run": {
|
|
1961
|
-
"description": "Preview changes without writing files",
|
|
1962
|
-
"name": "dry-run",
|
|
1963
|
-
"allowNo": false,
|
|
1964
|
-
"type": "boolean"
|
|
1965
1929
|
}
|
|
1966
1930
|
},
|
|
1967
1931
|
"hasDynamicHelp": false,
|
|
1968
1932
|
"hiddenAliases": [],
|
|
1969
|
-
"id": "
|
|
1933
|
+
"id": "logs:summary",
|
|
1970
1934
|
"pluginAlias": "@respan/cli",
|
|
1971
1935
|
"pluginName": "@respan/cli",
|
|
1972
1936
|
"pluginType": "core",
|
|
@@ -1976,20 +1940,20 @@
|
|
|
1976
1940
|
"relativePath": [
|
|
1977
1941
|
"dist",
|
|
1978
1942
|
"commands",
|
|
1979
|
-
"
|
|
1980
|
-
"
|
|
1943
|
+
"logs",
|
|
1944
|
+
"summary.js"
|
|
1981
1945
|
]
|
|
1982
1946
|
},
|
|
1983
|
-
"
|
|
1947
|
+
"prompts:create-version": {
|
|
1984
1948
|
"aliases": [],
|
|
1985
|
-
"args": {
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1949
|
+
"args": {
|
|
1950
|
+
"prompt-id": {
|
|
1951
|
+
"description": "Prompt ID",
|
|
1952
|
+
"name": "prompt-id",
|
|
1953
|
+
"required": true
|
|
1954
|
+
}
|
|
1955
|
+
},
|
|
1956
|
+
"description": "Create a new version of a prompt",
|
|
1993
1957
|
"flags": {
|
|
1994
1958
|
"api-key": {
|
|
1995
1959
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2025,80 +1989,39 @@
|
|
|
2025
1989
|
"allowNo": false,
|
|
2026
1990
|
"type": "boolean"
|
|
2027
1991
|
},
|
|
2028
|
-
"
|
|
2029
|
-
"description": "
|
|
2030
|
-
"
|
|
2031
|
-
|
|
2032
|
-
],
|
|
2033
|
-
"name": "local",
|
|
2034
|
-
"allowNo": false,
|
|
2035
|
-
"type": "boolean"
|
|
2036
|
-
},
|
|
2037
|
-
"global": {
|
|
2038
|
-
"description": "Write user-level global config",
|
|
2039
|
-
"exclusive": [
|
|
2040
|
-
"local"
|
|
2041
|
-
],
|
|
2042
|
-
"name": "global",
|
|
2043
|
-
"allowNo": false,
|
|
2044
|
-
"type": "boolean"
|
|
2045
|
-
},
|
|
2046
|
-
"project-id": {
|
|
2047
|
-
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
2048
|
-
"env": "RESPAN_PROJECT_ID",
|
|
2049
|
-
"name": "project-id",
|
|
2050
|
-
"hasDynamicHelp": false,
|
|
2051
|
-
"multiple": false,
|
|
2052
|
-
"type": "option"
|
|
2053
|
-
},
|
|
2054
|
-
"base-url": {
|
|
2055
|
-
"description": "Respan API base URL (for enterprise deployments)",
|
|
2056
|
-
"name": "base-url",
|
|
2057
|
-
"default": "https://api.respan.ai/api",
|
|
2058
|
-
"hasDynamicHelp": false,
|
|
2059
|
-
"multiple": false,
|
|
2060
|
-
"type": "option"
|
|
2061
|
-
},
|
|
2062
|
-
"attrs": {
|
|
2063
|
-
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
2064
|
-
"name": "attrs",
|
|
2065
|
-
"default": "{}",
|
|
1992
|
+
"messages": {
|
|
1993
|
+
"description": "Messages as JSON array string",
|
|
1994
|
+
"name": "messages",
|
|
1995
|
+
"required": true,
|
|
2066
1996
|
"hasDynamicHelp": false,
|
|
2067
1997
|
"multiple": false,
|
|
2068
1998
|
"type": "option"
|
|
2069
1999
|
},
|
|
2070
|
-
"
|
|
2071
|
-
"description": "
|
|
2072
|
-
"
|
|
2073
|
-
"name": "customer-id",
|
|
2000
|
+
"model": {
|
|
2001
|
+
"description": "Model name",
|
|
2002
|
+
"name": "model",
|
|
2074
2003
|
"hasDynamicHelp": false,
|
|
2075
2004
|
"multiple": false,
|
|
2076
2005
|
"type": "option"
|
|
2077
2006
|
},
|
|
2078
|
-
"
|
|
2079
|
-
"description": "
|
|
2080
|
-
"name": "
|
|
2007
|
+
"temperature": {
|
|
2008
|
+
"description": "Temperature value",
|
|
2009
|
+
"name": "temperature",
|
|
2081
2010
|
"hasDynamicHelp": false,
|
|
2082
2011
|
"multiple": false,
|
|
2083
2012
|
"type": "option"
|
|
2084
2013
|
},
|
|
2085
|
-
"
|
|
2086
|
-
"description": "
|
|
2087
|
-
"name": "
|
|
2014
|
+
"max-tokens": {
|
|
2015
|
+
"description": "Max tokens",
|
|
2016
|
+
"name": "max-tokens",
|
|
2088
2017
|
"hasDynamicHelp": false,
|
|
2089
2018
|
"multiple": false,
|
|
2090
2019
|
"type": "option"
|
|
2091
|
-
},
|
|
2092
|
-
"dry-run": {
|
|
2093
|
-
"description": "Preview changes without writing files",
|
|
2094
|
-
"name": "dry-run",
|
|
2095
|
-
"allowNo": false,
|
|
2096
|
-
"type": "boolean"
|
|
2097
2020
|
}
|
|
2098
2021
|
},
|
|
2099
2022
|
"hasDynamicHelp": false,
|
|
2100
2023
|
"hiddenAliases": [],
|
|
2101
|
-
"id": "
|
|
2024
|
+
"id": "prompts:create-version",
|
|
2102
2025
|
"pluginAlias": "@respan/cli",
|
|
2103
2026
|
"pluginName": "@respan/cli",
|
|
2104
2027
|
"pluginType": "core",
|
|
@@ -2108,14 +2031,14 @@
|
|
|
2108
2031
|
"relativePath": [
|
|
2109
2032
|
"dist",
|
|
2110
2033
|
"commands",
|
|
2111
|
-
"
|
|
2112
|
-
"
|
|
2034
|
+
"prompts",
|
|
2035
|
+
"create-version.js"
|
|
2113
2036
|
]
|
|
2114
2037
|
},
|
|
2115
|
-
"
|
|
2038
|
+
"prompts:create": {
|
|
2116
2039
|
"aliases": [],
|
|
2117
2040
|
"args": {},
|
|
2118
|
-
"description": "Create a
|
|
2041
|
+
"description": "Create a new prompt",
|
|
2119
2042
|
"flags": {
|
|
2120
2043
|
"api-key": {
|
|
2121
2044
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2151,31 +2074,17 @@
|
|
|
2151
2074
|
"allowNo": false,
|
|
2152
2075
|
"type": "boolean"
|
|
2153
2076
|
},
|
|
2154
|
-
"
|
|
2155
|
-
"description": "
|
|
2156
|
-
"name": "
|
|
2077
|
+
"name": {
|
|
2078
|
+
"description": "Prompt name",
|
|
2079
|
+
"name": "name",
|
|
2157
2080
|
"required": true,
|
|
2158
2081
|
"hasDynamicHelp": false,
|
|
2159
2082
|
"multiple": false,
|
|
2160
2083
|
"type": "option"
|
|
2161
2084
|
},
|
|
2162
|
-
"
|
|
2163
|
-
"description": "
|
|
2164
|
-
"name": "
|
|
2165
|
-
"hasDynamicHelp": false,
|
|
2166
|
-
"multiple": false,
|
|
2167
|
-
"type": "option"
|
|
2168
|
-
},
|
|
2169
|
-
"model": {
|
|
2170
|
-
"description": "Model name",
|
|
2171
|
-
"name": "model",
|
|
2172
|
-
"hasDynamicHelp": false,
|
|
2173
|
-
"multiple": false,
|
|
2174
|
-
"type": "option"
|
|
2175
|
-
},
|
|
2176
|
-
"metadata": {
|
|
2177
|
-
"description": "Metadata as JSON string",
|
|
2178
|
-
"name": "metadata",
|
|
2085
|
+
"description": {
|
|
2086
|
+
"description": "Prompt description",
|
|
2087
|
+
"name": "description",
|
|
2179
2088
|
"hasDynamicHelp": false,
|
|
2180
2089
|
"multiple": false,
|
|
2181
2090
|
"type": "option"
|
|
@@ -2183,7 +2092,7 @@
|
|
|
2183
2092
|
},
|
|
2184
2093
|
"hasDynamicHelp": false,
|
|
2185
2094
|
"hiddenAliases": [],
|
|
2186
|
-
"id": "
|
|
2095
|
+
"id": "prompts:create",
|
|
2187
2096
|
"pluginAlias": "@respan/cli",
|
|
2188
2097
|
"pluginName": "@respan/cli",
|
|
2189
2098
|
"pluginType": "core",
|
|
@@ -2193,20 +2102,20 @@
|
|
|
2193
2102
|
"relativePath": [
|
|
2194
2103
|
"dist",
|
|
2195
2104
|
"commands",
|
|
2196
|
-
"
|
|
2105
|
+
"prompts",
|
|
2197
2106
|
"create.js"
|
|
2198
2107
|
]
|
|
2199
2108
|
},
|
|
2200
|
-
"
|
|
2109
|
+
"prompts:get": {
|
|
2201
2110
|
"aliases": [],
|
|
2202
2111
|
"args": {
|
|
2203
2112
|
"id": {
|
|
2204
|
-
"description": "
|
|
2113
|
+
"description": "Prompt ID",
|
|
2205
2114
|
"name": "id",
|
|
2206
2115
|
"required": true
|
|
2207
2116
|
}
|
|
2208
2117
|
},
|
|
2209
|
-
"description": "Get a specific
|
|
2118
|
+
"description": "Get a specific prompt",
|
|
2210
2119
|
"flags": {
|
|
2211
2120
|
"api-key": {
|
|
2212
2121
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2245,7 +2154,7 @@
|
|
|
2245
2154
|
},
|
|
2246
2155
|
"hasDynamicHelp": false,
|
|
2247
2156
|
"hiddenAliases": [],
|
|
2248
|
-
"id": "
|
|
2157
|
+
"id": "prompts:get",
|
|
2249
2158
|
"pluginAlias": "@respan/cli",
|
|
2250
2159
|
"pluginName": "@respan/cli",
|
|
2251
2160
|
"pluginType": "core",
|
|
@@ -2255,14 +2164,14 @@
|
|
|
2255
2164
|
"relativePath": [
|
|
2256
2165
|
"dist",
|
|
2257
2166
|
"commands",
|
|
2258
|
-
"
|
|
2167
|
+
"prompts",
|
|
2259
2168
|
"get.js"
|
|
2260
2169
|
]
|
|
2261
2170
|
},
|
|
2262
|
-
"
|
|
2171
|
+
"prompts:list": {
|
|
2263
2172
|
"aliases": [],
|
|
2264
2173
|
"args": {},
|
|
2265
|
-
"description": "List
|
|
2174
|
+
"description": "List prompts",
|
|
2266
2175
|
"flags": {
|
|
2267
2176
|
"api-key": {
|
|
2268
2177
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2299,74 +2208,17 @@
|
|
|
2299
2208
|
"type": "boolean"
|
|
2300
2209
|
},
|
|
2301
2210
|
"limit": {
|
|
2302
|
-
"description": "Number of results per page
|
|
2211
|
+
"description": "Number of results per page",
|
|
2303
2212
|
"name": "limit",
|
|
2304
2213
|
"default": 50,
|
|
2305
2214
|
"hasDynamicHelp": false,
|
|
2306
2215
|
"multiple": false,
|
|
2307
2216
|
"type": "option"
|
|
2308
|
-
},
|
|
2309
|
-
"page": {
|
|
2310
|
-
"description": "Page number",
|
|
2311
|
-
"name": "page",
|
|
2312
|
-
"default": 1,
|
|
2313
|
-
"hasDynamicHelp": false,
|
|
2314
|
-
"multiple": false,
|
|
2315
|
-
"type": "option"
|
|
2316
|
-
},
|
|
2317
|
-
"sort-by": {
|
|
2318
|
-
"description": "Sort field (prefix with - for descending, e.g. -cost, -latency)",
|
|
2319
|
-
"name": "sort-by",
|
|
2320
|
-
"hasDynamicHelp": false,
|
|
2321
|
-
"multiple": false,
|
|
2322
|
-
"type": "option"
|
|
2323
|
-
},
|
|
2324
|
-
"start-time": {
|
|
2325
|
-
"description": "Start time filter (ISO 8601)",
|
|
2326
|
-
"name": "start-time",
|
|
2327
|
-
"hasDynamicHelp": false,
|
|
2328
|
-
"multiple": false,
|
|
2329
|
-
"type": "option"
|
|
2330
|
-
},
|
|
2331
|
-
"end-time": {
|
|
2332
|
-
"description": "End time filter (ISO 8601)",
|
|
2333
|
-
"name": "end-time",
|
|
2334
|
-
"hasDynamicHelp": false,
|
|
2335
|
-
"multiple": false,
|
|
2336
|
-
"type": "option"
|
|
2337
|
-
},
|
|
2338
|
-
"filter": {
|
|
2339
|
-
"description": "Filter in field:operator:value format (repeatable)",
|
|
2340
|
-
"name": "filter",
|
|
2341
|
-
"hasDynamicHelp": false,
|
|
2342
|
-
"multiple": true,
|
|
2343
|
-
"type": "option"
|
|
2344
|
-
},
|
|
2345
|
-
"all-envs": {
|
|
2346
|
-
"description": "Include all environments (true/false)",
|
|
2347
|
-
"name": "all-envs",
|
|
2348
|
-
"hasDynamicHelp": false,
|
|
2349
|
-
"multiple": false,
|
|
2350
|
-
"type": "option"
|
|
2351
|
-
},
|
|
2352
|
-
"is-test": {
|
|
2353
|
-
"description": "Filter by test (true) or production (false) environment",
|
|
2354
|
-
"name": "is-test",
|
|
2355
|
-
"hasDynamicHelp": false,
|
|
2356
|
-
"multiple": false,
|
|
2357
|
-
"type": "option"
|
|
2358
|
-
},
|
|
2359
|
-
"include-fields": {
|
|
2360
|
-
"description": "Comma-separated fields to include in response",
|
|
2361
|
-
"name": "include-fields",
|
|
2362
|
-
"hasDynamicHelp": false,
|
|
2363
|
-
"multiple": false,
|
|
2364
|
-
"type": "option"
|
|
2365
2217
|
}
|
|
2366
2218
|
},
|
|
2367
2219
|
"hasDynamicHelp": false,
|
|
2368
2220
|
"hiddenAliases": [],
|
|
2369
|
-
"id": "
|
|
2221
|
+
"id": "prompts:list",
|
|
2370
2222
|
"pluginAlias": "@respan/cli",
|
|
2371
2223
|
"pluginName": "@respan/cli",
|
|
2372
2224
|
"pluginType": "core",
|
|
@@ -2376,14 +2228,20 @@
|
|
|
2376
2228
|
"relativePath": [
|
|
2377
2229
|
"dist",
|
|
2378
2230
|
"commands",
|
|
2379
|
-
"
|
|
2231
|
+
"prompts",
|
|
2380
2232
|
"list.js"
|
|
2381
2233
|
]
|
|
2382
2234
|
},
|
|
2383
|
-
"
|
|
2235
|
+
"prompts:update": {
|
|
2384
2236
|
"aliases": [],
|
|
2385
|
-
"args": {
|
|
2386
|
-
|
|
2237
|
+
"args": {
|
|
2238
|
+
"id": {
|
|
2239
|
+
"description": "Prompt ID",
|
|
2240
|
+
"name": "id",
|
|
2241
|
+
"required": true
|
|
2242
|
+
}
|
|
2243
|
+
},
|
|
2244
|
+
"description": "Update a prompt",
|
|
2387
2245
|
"flags": {
|
|
2388
2246
|
"api-key": {
|
|
2389
2247
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2419,39 +2277,16 @@
|
|
|
2419
2277
|
"allowNo": false,
|
|
2420
2278
|
"type": "boolean"
|
|
2421
2279
|
},
|
|
2422
|
-
"
|
|
2423
|
-
"description": "
|
|
2424
|
-
"name": "
|
|
2425
|
-
"required": true,
|
|
2426
|
-
"hasDynamicHelp": false,
|
|
2427
|
-
"multiple": false,
|
|
2428
|
-
"type": "option"
|
|
2429
|
-
},
|
|
2430
|
-
"end-time": {
|
|
2431
|
-
"description": "End time (ISO 8601)",
|
|
2432
|
-
"name": "end-time",
|
|
2433
|
-
"required": true,
|
|
2434
|
-
"hasDynamicHelp": false,
|
|
2435
|
-
"multiple": false,
|
|
2436
|
-
"type": "option"
|
|
2437
|
-
},
|
|
2438
|
-
"filter": {
|
|
2439
|
-
"description": "Filter in field:operator:value format (repeatable)",
|
|
2440
|
-
"name": "filter",
|
|
2441
|
-
"hasDynamicHelp": false,
|
|
2442
|
-
"multiple": true,
|
|
2443
|
-
"type": "option"
|
|
2444
|
-
},
|
|
2445
|
-
"all-envs": {
|
|
2446
|
-
"description": "Include all environments (true/false)",
|
|
2447
|
-
"name": "all-envs",
|
|
2280
|
+
"name": {
|
|
2281
|
+
"description": "Prompt name",
|
|
2282
|
+
"name": "name",
|
|
2448
2283
|
"hasDynamicHelp": false,
|
|
2449
2284
|
"multiple": false,
|
|
2450
2285
|
"type": "option"
|
|
2451
2286
|
},
|
|
2452
|
-
"
|
|
2453
|
-
"description": "
|
|
2454
|
-
"name": "
|
|
2287
|
+
"description": {
|
|
2288
|
+
"description": "Prompt description",
|
|
2289
|
+
"name": "description",
|
|
2455
2290
|
"hasDynamicHelp": false,
|
|
2456
2291
|
"multiple": false,
|
|
2457
2292
|
"type": "option"
|
|
@@ -2459,7 +2294,7 @@
|
|
|
2459
2294
|
},
|
|
2460
2295
|
"hasDynamicHelp": false,
|
|
2461
2296
|
"hiddenAliases": [],
|
|
2462
|
-
"id": "
|
|
2297
|
+
"id": "prompts:update",
|
|
2463
2298
|
"pluginAlias": "@respan/cli",
|
|
2464
2299
|
"pluginName": "@respan/cli",
|
|
2465
2300
|
"pluginType": "core",
|
|
@@ -2469,11 +2304,11 @@
|
|
|
2469
2304
|
"relativePath": [
|
|
2470
2305
|
"dist",
|
|
2471
2306
|
"commands",
|
|
2472
|
-
"
|
|
2473
|
-
"
|
|
2307
|
+
"prompts",
|
|
2308
|
+
"update.js"
|
|
2474
2309
|
]
|
|
2475
2310
|
},
|
|
2476
|
-
"prompts:
|
|
2311
|
+
"prompts:versions": {
|
|
2477
2312
|
"aliases": [],
|
|
2478
2313
|
"args": {
|
|
2479
2314
|
"prompt-id": {
|
|
@@ -2482,7 +2317,7 @@
|
|
|
2482
2317
|
"required": true
|
|
2483
2318
|
}
|
|
2484
2319
|
},
|
|
2485
|
-
"description": "
|
|
2320
|
+
"description": "List versions of a prompt",
|
|
2486
2321
|
"flags": {
|
|
2487
2322
|
"api-key": {
|
|
2488
2323
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2517,40 +2352,11 @@
|
|
|
2517
2352
|
"name": "verbose",
|
|
2518
2353
|
"allowNo": false,
|
|
2519
2354
|
"type": "boolean"
|
|
2520
|
-
},
|
|
2521
|
-
"messages": {
|
|
2522
|
-
"description": "Messages as JSON array string",
|
|
2523
|
-
"name": "messages",
|
|
2524
|
-
"required": true,
|
|
2525
|
-
"hasDynamicHelp": false,
|
|
2526
|
-
"multiple": false,
|
|
2527
|
-
"type": "option"
|
|
2528
|
-
},
|
|
2529
|
-
"model": {
|
|
2530
|
-
"description": "Model name",
|
|
2531
|
-
"name": "model",
|
|
2532
|
-
"hasDynamicHelp": false,
|
|
2533
|
-
"multiple": false,
|
|
2534
|
-
"type": "option"
|
|
2535
|
-
},
|
|
2536
|
-
"temperature": {
|
|
2537
|
-
"description": "Temperature value",
|
|
2538
|
-
"name": "temperature",
|
|
2539
|
-
"hasDynamicHelp": false,
|
|
2540
|
-
"multiple": false,
|
|
2541
|
-
"type": "option"
|
|
2542
|
-
},
|
|
2543
|
-
"max-tokens": {
|
|
2544
|
-
"description": "Max tokens",
|
|
2545
|
-
"name": "max-tokens",
|
|
2546
|
-
"hasDynamicHelp": false,
|
|
2547
|
-
"multiple": false,
|
|
2548
|
-
"type": "option"
|
|
2549
2355
|
}
|
|
2550
2356
|
},
|
|
2551
2357
|
"hasDynamicHelp": false,
|
|
2552
2358
|
"hiddenAliases": [],
|
|
2553
|
-
"id": "prompts:
|
|
2359
|
+
"id": "prompts:versions",
|
|
2554
2360
|
"pluginAlias": "@respan/cli",
|
|
2555
2361
|
"pluginName": "@respan/cli",
|
|
2556
2362
|
"pluginType": "core",
|
|
@@ -2561,13 +2367,19 @@
|
|
|
2561
2367
|
"dist",
|
|
2562
2368
|
"commands",
|
|
2563
2369
|
"prompts",
|
|
2564
|
-
"
|
|
2370
|
+
"versions.js"
|
|
2565
2371
|
]
|
|
2566
2372
|
},
|
|
2567
|
-
"
|
|
2373
|
+
"traces:get": {
|
|
2568
2374
|
"aliases": [],
|
|
2569
|
-
"args": {
|
|
2570
|
-
|
|
2375
|
+
"args": {
|
|
2376
|
+
"id": {
|
|
2377
|
+
"description": "Trace ID",
|
|
2378
|
+
"name": "id",
|
|
2379
|
+
"required": true
|
|
2380
|
+
}
|
|
2381
|
+
},
|
|
2382
|
+
"description": "Get a specific trace",
|
|
2571
2383
|
"flags": {
|
|
2572
2384
|
"api-key": {
|
|
2573
2385
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2602,26 +2414,11 @@
|
|
|
2602
2414
|
"name": "verbose",
|
|
2603
2415
|
"allowNo": false,
|
|
2604
2416
|
"type": "boolean"
|
|
2605
|
-
},
|
|
2606
|
-
"name": {
|
|
2607
|
-
"description": "Prompt name",
|
|
2608
|
-
"name": "name",
|
|
2609
|
-
"required": true,
|
|
2610
|
-
"hasDynamicHelp": false,
|
|
2611
|
-
"multiple": false,
|
|
2612
|
-
"type": "option"
|
|
2613
|
-
},
|
|
2614
|
-
"description": {
|
|
2615
|
-
"description": "Prompt description",
|
|
2616
|
-
"name": "description",
|
|
2617
|
-
"hasDynamicHelp": false,
|
|
2618
|
-
"multiple": false,
|
|
2619
|
-
"type": "option"
|
|
2620
2417
|
}
|
|
2621
2418
|
},
|
|
2622
2419
|
"hasDynamicHelp": false,
|
|
2623
2420
|
"hiddenAliases": [],
|
|
2624
|
-
"id": "
|
|
2421
|
+
"id": "traces:get",
|
|
2625
2422
|
"pluginAlias": "@respan/cli",
|
|
2626
2423
|
"pluginName": "@respan/cli",
|
|
2627
2424
|
"pluginType": "core",
|
|
@@ -2631,20 +2428,14 @@
|
|
|
2631
2428
|
"relativePath": [
|
|
2632
2429
|
"dist",
|
|
2633
2430
|
"commands",
|
|
2634
|
-
"
|
|
2635
|
-
"
|
|
2431
|
+
"traces",
|
|
2432
|
+
"get.js"
|
|
2636
2433
|
]
|
|
2637
2434
|
},
|
|
2638
|
-
"
|
|
2435
|
+
"traces:list": {
|
|
2639
2436
|
"aliases": [],
|
|
2640
|
-
"args": {
|
|
2641
|
-
|
|
2642
|
-
"description": "Prompt ID",
|
|
2643
|
-
"name": "id",
|
|
2644
|
-
"required": true
|
|
2645
|
-
}
|
|
2646
|
-
},
|
|
2647
|
-
"description": "Get a specific prompt",
|
|
2437
|
+
"args": {},
|
|
2438
|
+
"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",
|
|
2648
2439
|
"flags": {
|
|
2649
2440
|
"api-key": {
|
|
2650
2441
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2679,75 +2470,63 @@
|
|
|
2679
2470
|
"name": "verbose",
|
|
2680
2471
|
"allowNo": false,
|
|
2681
2472
|
"type": "boolean"
|
|
2682
|
-
}
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
"pluginAlias": "@respan/cli",
|
|
2688
|
-
"pluginName": "@respan/cli",
|
|
2689
|
-
"pluginType": "core",
|
|
2690
|
-
"strict": true,
|
|
2691
|
-
"enableJsonFlag": false,
|
|
2692
|
-
"isESM": true,
|
|
2693
|
-
"relativePath": [
|
|
2694
|
-
"dist",
|
|
2695
|
-
"commands",
|
|
2696
|
-
"prompts",
|
|
2697
|
-
"get.js"
|
|
2698
|
-
]
|
|
2699
|
-
},
|
|
2700
|
-
"prompts:list": {
|
|
2701
|
-
"aliases": [],
|
|
2702
|
-
"args": {},
|
|
2703
|
-
"description": "List prompts",
|
|
2704
|
-
"flags": {
|
|
2705
|
-
"api-key": {
|
|
2706
|
-
"description": "API key (env: RESPAN_API_KEY)",
|
|
2707
|
-
"env": "RESPAN_API_KEY",
|
|
2708
|
-
"name": "api-key",
|
|
2473
|
+
},
|
|
2474
|
+
"limit": {
|
|
2475
|
+
"description": "Number of results per page",
|
|
2476
|
+
"name": "limit",
|
|
2477
|
+
"default": 10,
|
|
2709
2478
|
"hasDynamicHelp": false,
|
|
2710
2479
|
"multiple": false,
|
|
2711
2480
|
"type": "option"
|
|
2712
2481
|
},
|
|
2713
|
-
"
|
|
2714
|
-
"description": "
|
|
2715
|
-
"name": "
|
|
2482
|
+
"page": {
|
|
2483
|
+
"description": "Page number",
|
|
2484
|
+
"name": "page",
|
|
2485
|
+
"default": 1,
|
|
2716
2486
|
"hasDynamicHelp": false,
|
|
2717
2487
|
"multiple": false,
|
|
2718
2488
|
"type": "option"
|
|
2719
2489
|
},
|
|
2720
|
-
"
|
|
2721
|
-
"description": "
|
|
2722
|
-
"name": "
|
|
2723
|
-
"
|
|
2724
|
-
"
|
|
2490
|
+
"sort-by": {
|
|
2491
|
+
"description": "Sort field (prefix with - for descending)",
|
|
2492
|
+
"name": "sort-by",
|
|
2493
|
+
"default": "-timestamp",
|
|
2494
|
+
"hasDynamicHelp": false,
|
|
2495
|
+
"multiple": false,
|
|
2496
|
+
"type": "option"
|
|
2725
2497
|
},
|
|
2726
|
-
"
|
|
2727
|
-
"description": "
|
|
2728
|
-
"name": "
|
|
2729
|
-
"
|
|
2730
|
-
"
|
|
2498
|
+
"start-time": {
|
|
2499
|
+
"description": "Start time filter (ISO 8601)",
|
|
2500
|
+
"name": "start-time",
|
|
2501
|
+
"hasDynamicHelp": false,
|
|
2502
|
+
"multiple": false,
|
|
2503
|
+
"type": "option"
|
|
2731
2504
|
},
|
|
2732
|
-
"
|
|
2733
|
-
"
|
|
2734
|
-
"
|
|
2735
|
-
"
|
|
2736
|
-
"
|
|
2737
|
-
"type": "
|
|
2505
|
+
"end-time": {
|
|
2506
|
+
"description": "End time filter (ISO 8601)",
|
|
2507
|
+
"name": "end-time",
|
|
2508
|
+
"hasDynamicHelp": false,
|
|
2509
|
+
"multiple": false,
|
|
2510
|
+
"type": "option"
|
|
2738
2511
|
},
|
|
2739
|
-
"
|
|
2740
|
-
"description": "
|
|
2741
|
-
"name": "
|
|
2742
|
-
"default": 50,
|
|
2512
|
+
"environment": {
|
|
2513
|
+
"description": "Environment filter",
|
|
2514
|
+
"name": "environment",
|
|
2743
2515
|
"hasDynamicHelp": false,
|
|
2744
2516
|
"multiple": false,
|
|
2745
2517
|
"type": "option"
|
|
2518
|
+
},
|
|
2519
|
+
"filter": {
|
|
2520
|
+
"description": "Filter in field:operator:value format (repeatable)",
|
|
2521
|
+
"name": "filter",
|
|
2522
|
+
"hasDynamicHelp": false,
|
|
2523
|
+
"multiple": true,
|
|
2524
|
+
"type": "option"
|
|
2746
2525
|
}
|
|
2747
2526
|
},
|
|
2748
2527
|
"hasDynamicHelp": false,
|
|
2749
2528
|
"hiddenAliases": [],
|
|
2750
|
-
"id": "
|
|
2529
|
+
"id": "traces:list",
|
|
2751
2530
|
"pluginAlias": "@respan/cli",
|
|
2752
2531
|
"pluginName": "@respan/cli",
|
|
2753
2532
|
"pluginType": "core",
|
|
@@ -2757,20 +2536,14 @@
|
|
|
2757
2536
|
"relativePath": [
|
|
2758
2537
|
"dist",
|
|
2759
2538
|
"commands",
|
|
2760
|
-
"
|
|
2539
|
+
"traces",
|
|
2761
2540
|
"list.js"
|
|
2762
2541
|
]
|
|
2763
2542
|
},
|
|
2764
|
-
"
|
|
2543
|
+
"traces:summary": {
|
|
2765
2544
|
"aliases": [],
|
|
2766
|
-
"args": {
|
|
2767
|
-
|
|
2768
|
-
"description": "Prompt ID",
|
|
2769
|
-
"name": "id",
|
|
2770
|
-
"required": true
|
|
2771
|
-
}
|
|
2772
|
-
},
|
|
2773
|
-
"description": "Update a prompt",
|
|
2545
|
+
"args": {},
|
|
2546
|
+
"description": "Get a summary of traces for a time range",
|
|
2774
2547
|
"flags": {
|
|
2775
2548
|
"api-key": {
|
|
2776
2549
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2806,16 +2579,18 @@
|
|
|
2806
2579
|
"allowNo": false,
|
|
2807
2580
|
"type": "boolean"
|
|
2808
2581
|
},
|
|
2809
|
-
"
|
|
2810
|
-
"description": "
|
|
2811
|
-
"name": "
|
|
2582
|
+
"start-time": {
|
|
2583
|
+
"description": "Start time (ISO 8601)",
|
|
2584
|
+
"name": "start-time",
|
|
2585
|
+
"required": true,
|
|
2812
2586
|
"hasDynamicHelp": false,
|
|
2813
2587
|
"multiple": false,
|
|
2814
2588
|
"type": "option"
|
|
2815
2589
|
},
|
|
2816
|
-
"
|
|
2817
|
-
"description": "
|
|
2818
|
-
"name": "
|
|
2590
|
+
"end-time": {
|
|
2591
|
+
"description": "End time (ISO 8601)",
|
|
2592
|
+
"name": "end-time",
|
|
2593
|
+
"required": true,
|
|
2819
2594
|
"hasDynamicHelp": false,
|
|
2820
2595
|
"multiple": false,
|
|
2821
2596
|
"type": "option"
|
|
@@ -2823,7 +2598,7 @@
|
|
|
2823
2598
|
},
|
|
2824
2599
|
"hasDynamicHelp": false,
|
|
2825
2600
|
"hiddenAliases": [],
|
|
2826
|
-
"id": "
|
|
2601
|
+
"id": "traces:summary",
|
|
2827
2602
|
"pluginAlias": "@respan/cli",
|
|
2828
2603
|
"pluginName": "@respan/cli",
|
|
2829
2604
|
"pluginType": "core",
|
|
@@ -2833,20 +2608,14 @@
|
|
|
2833
2608
|
"relativePath": [
|
|
2834
2609
|
"dist",
|
|
2835
2610
|
"commands",
|
|
2836
|
-
"
|
|
2837
|
-
"
|
|
2611
|
+
"traces",
|
|
2612
|
+
"summary.js"
|
|
2838
2613
|
]
|
|
2839
2614
|
},
|
|
2840
|
-
"
|
|
2615
|
+
"users:create": {
|
|
2841
2616
|
"aliases": [],
|
|
2842
|
-
"args": {
|
|
2843
|
-
|
|
2844
|
-
"description": "Prompt ID",
|
|
2845
|
-
"name": "prompt-id",
|
|
2846
|
-
"required": true
|
|
2847
|
-
}
|
|
2848
|
-
},
|
|
2849
|
-
"description": "List versions of a prompt",
|
|
2617
|
+
"args": {},
|
|
2618
|
+
"description": "Create a new user (customer)",
|
|
2850
2619
|
"flags": {
|
|
2851
2620
|
"api-key": {
|
|
2852
2621
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2881,11 +2650,40 @@
|
|
|
2881
2650
|
"name": "verbose",
|
|
2882
2651
|
"allowNo": false,
|
|
2883
2652
|
"type": "boolean"
|
|
2653
|
+
},
|
|
2654
|
+
"identifier": {
|
|
2655
|
+
"description": "Customer identifier",
|
|
2656
|
+
"name": "identifier",
|
|
2657
|
+
"required": true,
|
|
2658
|
+
"hasDynamicHelp": false,
|
|
2659
|
+
"multiple": false,
|
|
2660
|
+
"type": "option"
|
|
2661
|
+
},
|
|
2662
|
+
"name": {
|
|
2663
|
+
"description": "Customer name",
|
|
2664
|
+
"name": "name",
|
|
2665
|
+
"hasDynamicHelp": false,
|
|
2666
|
+
"multiple": false,
|
|
2667
|
+
"type": "option"
|
|
2668
|
+
},
|
|
2669
|
+
"email": {
|
|
2670
|
+
"description": "Customer email",
|
|
2671
|
+
"name": "email",
|
|
2672
|
+
"hasDynamicHelp": false,
|
|
2673
|
+
"multiple": false,
|
|
2674
|
+
"type": "option"
|
|
2675
|
+
},
|
|
2676
|
+
"metadata": {
|
|
2677
|
+
"description": "Metadata as JSON string",
|
|
2678
|
+
"name": "metadata",
|
|
2679
|
+
"hasDynamicHelp": false,
|
|
2680
|
+
"multiple": false,
|
|
2681
|
+
"type": "option"
|
|
2884
2682
|
}
|
|
2885
2683
|
},
|
|
2886
2684
|
"hasDynamicHelp": false,
|
|
2887
2685
|
"hiddenAliases": [],
|
|
2888
|
-
"id": "
|
|
2686
|
+
"id": "users:create",
|
|
2889
2687
|
"pluginAlias": "@respan/cli",
|
|
2890
2688
|
"pluginName": "@respan/cli",
|
|
2891
2689
|
"pluginType": "core",
|
|
@@ -2895,20 +2693,20 @@
|
|
|
2895
2693
|
"relativePath": [
|
|
2896
2694
|
"dist",
|
|
2897
2695
|
"commands",
|
|
2898
|
-
"
|
|
2899
|
-
"
|
|
2696
|
+
"users",
|
|
2697
|
+
"create.js"
|
|
2900
2698
|
]
|
|
2901
2699
|
},
|
|
2902
|
-
"
|
|
2700
|
+
"users:get": {
|
|
2903
2701
|
"aliases": [],
|
|
2904
2702
|
"args": {
|
|
2905
2703
|
"id": {
|
|
2906
|
-
"description": "
|
|
2704
|
+
"description": "Customer identifier",
|
|
2907
2705
|
"name": "id",
|
|
2908
2706
|
"required": true
|
|
2909
2707
|
}
|
|
2910
2708
|
},
|
|
2911
|
-
"description": "Get a specific
|
|
2709
|
+
"description": "Get a specific user (customer)",
|
|
2912
2710
|
"flags": {
|
|
2913
2711
|
"api-key": {
|
|
2914
2712
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -2947,7 +2745,7 @@
|
|
|
2947
2745
|
},
|
|
2948
2746
|
"hasDynamicHelp": false,
|
|
2949
2747
|
"hiddenAliases": [],
|
|
2950
|
-
"id": "
|
|
2748
|
+
"id": "users:get",
|
|
2951
2749
|
"pluginAlias": "@respan/cli",
|
|
2952
2750
|
"pluginName": "@respan/cli",
|
|
2953
2751
|
"pluginType": "core",
|
|
@@ -2957,14 +2755,14 @@
|
|
|
2957
2755
|
"relativePath": [
|
|
2958
2756
|
"dist",
|
|
2959
2757
|
"commands",
|
|
2960
|
-
"
|
|
2758
|
+
"users",
|
|
2961
2759
|
"get.js"
|
|
2962
2760
|
]
|
|
2963
2761
|
},
|
|
2964
|
-
"
|
|
2762
|
+
"users:list": {
|
|
2965
2763
|
"aliases": [],
|
|
2966
2764
|
"args": {},
|
|
2967
|
-
"description": "List
|
|
2765
|
+
"description": "List users (customers)",
|
|
2968
2766
|
"flags": {
|
|
2969
2767
|
"api-key": {
|
|
2970
2768
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3003,7 +2801,7 @@
|
|
|
3003
2801
|
"limit": {
|
|
3004
2802
|
"description": "Number of results per page",
|
|
3005
2803
|
"name": "limit",
|
|
3006
|
-
"default":
|
|
2804
|
+
"default": 20,
|
|
3007
2805
|
"hasDynamicHelp": false,
|
|
3008
2806
|
"multiple": false,
|
|
3009
2807
|
"type": "option"
|
|
@@ -3017,23 +2815,8 @@
|
|
|
3017
2815
|
"type": "option"
|
|
3018
2816
|
},
|
|
3019
2817
|
"sort-by": {
|
|
3020
|
-
"description": "Sort field
|
|
2818
|
+
"description": "Sort field",
|
|
3021
2819
|
"name": "sort-by",
|
|
3022
|
-
"default": "-timestamp",
|
|
3023
|
-
"hasDynamicHelp": false,
|
|
3024
|
-
"multiple": false,
|
|
3025
|
-
"type": "option"
|
|
3026
|
-
},
|
|
3027
|
-
"start-time": {
|
|
3028
|
-
"description": "Start time filter (ISO 8601)",
|
|
3029
|
-
"name": "start-time",
|
|
3030
|
-
"hasDynamicHelp": false,
|
|
3031
|
-
"multiple": false,
|
|
3032
|
-
"type": "option"
|
|
3033
|
-
},
|
|
3034
|
-
"end-time": {
|
|
3035
|
-
"description": "End time filter (ISO 8601)",
|
|
3036
|
-
"name": "end-time",
|
|
3037
2820
|
"hasDynamicHelp": false,
|
|
3038
2821
|
"multiple": false,
|
|
3039
2822
|
"type": "option"
|
|
@@ -3044,18 +2827,11 @@
|
|
|
3044
2827
|
"hasDynamicHelp": false,
|
|
3045
2828
|
"multiple": false,
|
|
3046
2829
|
"type": "option"
|
|
3047
|
-
},
|
|
3048
|
-
"filter": {
|
|
3049
|
-
"description": "Filter in field:operator:value format (repeatable)",
|
|
3050
|
-
"name": "filter",
|
|
3051
|
-
"hasDynamicHelp": false,
|
|
3052
|
-
"multiple": true,
|
|
3053
|
-
"type": "option"
|
|
3054
2830
|
}
|
|
3055
2831
|
},
|
|
3056
2832
|
"hasDynamicHelp": false,
|
|
3057
2833
|
"hiddenAliases": [],
|
|
3058
|
-
"id": "
|
|
2834
|
+
"id": "users:list",
|
|
3059
2835
|
"pluginAlias": "@respan/cli",
|
|
3060
2836
|
"pluginName": "@respan/cli",
|
|
3061
2837
|
"pluginType": "core",
|
|
@@ -3065,14 +2841,20 @@
|
|
|
3065
2841
|
"relativePath": [
|
|
3066
2842
|
"dist",
|
|
3067
2843
|
"commands",
|
|
3068
|
-
"
|
|
2844
|
+
"users",
|
|
3069
2845
|
"list.js"
|
|
3070
2846
|
]
|
|
3071
2847
|
},
|
|
3072
|
-
"
|
|
2848
|
+
"users:update": {
|
|
3073
2849
|
"aliases": [],
|
|
3074
|
-
"args": {
|
|
3075
|
-
|
|
2850
|
+
"args": {
|
|
2851
|
+
"id": {
|
|
2852
|
+
"description": "Customer identifier",
|
|
2853
|
+
"name": "id",
|
|
2854
|
+
"required": true
|
|
2855
|
+
}
|
|
2856
|
+
},
|
|
2857
|
+
"description": "Update a user (customer)",
|
|
3076
2858
|
"flags": {
|
|
3077
2859
|
"api-key": {
|
|
3078
2860
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3108,18 +2890,23 @@
|
|
|
3108
2890
|
"allowNo": false,
|
|
3109
2891
|
"type": "boolean"
|
|
3110
2892
|
},
|
|
3111
|
-
"
|
|
3112
|
-
"description": "
|
|
3113
|
-
"name": "
|
|
3114
|
-
"required": true,
|
|
2893
|
+
"name": {
|
|
2894
|
+
"description": "Customer name",
|
|
2895
|
+
"name": "name",
|
|
3115
2896
|
"hasDynamicHelp": false,
|
|
3116
2897
|
"multiple": false,
|
|
3117
2898
|
"type": "option"
|
|
3118
2899
|
},
|
|
3119
|
-
"
|
|
3120
|
-
"description": "
|
|
3121
|
-
"name": "
|
|
3122
|
-
"
|
|
2900
|
+
"email": {
|
|
2901
|
+
"description": "Customer email",
|
|
2902
|
+
"name": "email",
|
|
2903
|
+
"hasDynamicHelp": false,
|
|
2904
|
+
"multiple": false,
|
|
2905
|
+
"type": "option"
|
|
2906
|
+
},
|
|
2907
|
+
"metadata": {
|
|
2908
|
+
"description": "Metadata as JSON string",
|
|
2909
|
+
"name": "metadata",
|
|
3123
2910
|
"hasDynamicHelp": false,
|
|
3124
2911
|
"multiple": false,
|
|
3125
2912
|
"type": "option"
|
|
@@ -3127,7 +2914,7 @@
|
|
|
3127
2914
|
},
|
|
3128
2915
|
"hasDynamicHelp": false,
|
|
3129
2916
|
"hiddenAliases": [],
|
|
3130
|
-
"id": "
|
|
2917
|
+
"id": "users:update",
|
|
3131
2918
|
"pluginAlias": "@respan/cli",
|
|
3132
2919
|
"pluginName": "@respan/cli",
|
|
3133
2920
|
"pluginType": "core",
|
|
@@ -3137,14 +2924,21 @@
|
|
|
3137
2924
|
"relativePath": [
|
|
3138
2925
|
"dist",
|
|
3139
2926
|
"commands",
|
|
3140
|
-
"
|
|
3141
|
-
"
|
|
2927
|
+
"users",
|
|
2928
|
+
"update.js"
|
|
3142
2929
|
]
|
|
3143
2930
|
},
|
|
3144
|
-
"
|
|
2931
|
+
"integrate:claude-code": {
|
|
3145
2932
|
"aliases": [],
|
|
3146
2933
|
"args": {},
|
|
3147
|
-
"description": "
|
|
2934
|
+
"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",
|
|
2935
|
+
"examples": [
|
|
2936
|
+
"respan integrate claude-code",
|
|
2937
|
+
"respan integrate claude-code --global",
|
|
2938
|
+
"respan integrate claude-code --local --project-id my-project",
|
|
2939
|
+
"respan integrate claude-code --attrs '{\"env\":\"prod\"}'",
|
|
2940
|
+
"respan integrate claude-code --dry-run"
|
|
2941
|
+
],
|
|
3148
2942
|
"flags": {
|
|
3149
2943
|
"api-key": {
|
|
3150
2944
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3180,39 +2974,80 @@
|
|
|
3180
2974
|
"allowNo": false,
|
|
3181
2975
|
"type": "boolean"
|
|
3182
2976
|
},
|
|
3183
|
-
"
|
|
3184
|
-
"description": "
|
|
3185
|
-
"
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
"
|
|
3189
|
-
"
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
"
|
|
2977
|
+
"local": {
|
|
2978
|
+
"description": "Write per-project config (default)",
|
|
2979
|
+
"exclusive": [
|
|
2980
|
+
"global"
|
|
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",
|
|
3194
2999
|
"hasDynamicHelp": false,
|
|
3195
3000
|
"multiple": false,
|
|
3196
3001
|
"type": "option"
|
|
3197
3002
|
},
|
|
3198
|
-
"
|
|
3199
|
-
"description": "
|
|
3200
|
-
"name": "
|
|
3003
|
+
"base-url": {
|
|
3004
|
+
"description": "Respan API base URL (for enterprise deployments)",
|
|
3005
|
+
"name": "base-url",
|
|
3006
|
+
"default": "https://api.respan.ai/api",
|
|
3201
3007
|
"hasDynamicHelp": false,
|
|
3202
3008
|
"multiple": false,
|
|
3203
3009
|
"type": "option"
|
|
3204
3010
|
},
|
|
3205
|
-
"
|
|
3206
|
-
"description": "
|
|
3207
|
-
"name": "
|
|
3011
|
+
"attrs": {
|
|
3012
|
+
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
3013
|
+
"name": "attrs",
|
|
3014
|
+
"default": "{}",
|
|
3208
3015
|
"hasDynamicHelp": false,
|
|
3209
3016
|
"multiple": false,
|
|
3210
3017
|
"type": "option"
|
|
3018
|
+
},
|
|
3019
|
+
"customer-id": {
|
|
3020
|
+
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
3021
|
+
"env": "RESPAN_CUSTOMER_ID",
|
|
3022
|
+
"name": "customer-id",
|
|
3023
|
+
"hasDynamicHelp": false,
|
|
3024
|
+
"multiple": false,
|
|
3025
|
+
"type": "option"
|
|
3026
|
+
},
|
|
3027
|
+
"span-name": {
|
|
3028
|
+
"description": "Root span name for traces (default: claude-code)",
|
|
3029
|
+
"name": "span-name",
|
|
3030
|
+
"hasDynamicHelp": false,
|
|
3031
|
+
"multiple": false,
|
|
3032
|
+
"type": "option"
|
|
3033
|
+
},
|
|
3034
|
+
"workflow-name": {
|
|
3035
|
+
"description": "Workflow name for traces (default: claude-code)",
|
|
3036
|
+
"name": "workflow-name",
|
|
3037
|
+
"hasDynamicHelp": false,
|
|
3038
|
+
"multiple": false,
|
|
3039
|
+
"type": "option"
|
|
3040
|
+
},
|
|
3041
|
+
"dry-run": {
|
|
3042
|
+
"description": "Preview changes without writing files",
|
|
3043
|
+
"name": "dry-run",
|
|
3044
|
+
"allowNo": false,
|
|
3045
|
+
"type": "boolean"
|
|
3211
3046
|
}
|
|
3212
3047
|
},
|
|
3213
3048
|
"hasDynamicHelp": false,
|
|
3214
3049
|
"hiddenAliases": [],
|
|
3215
|
-
"id": "
|
|
3050
|
+
"id": "integrate:claude-code",
|
|
3216
3051
|
"pluginAlias": "@respan/cli",
|
|
3217
3052
|
"pluginName": "@respan/cli",
|
|
3218
3053
|
"pluginType": "core",
|
|
@@ -3222,20 +3057,21 @@
|
|
|
3222
3057
|
"relativePath": [
|
|
3223
3058
|
"dist",
|
|
3224
3059
|
"commands",
|
|
3225
|
-
"
|
|
3226
|
-
"
|
|
3060
|
+
"integrate",
|
|
3061
|
+
"claude-code.js"
|
|
3227
3062
|
]
|
|
3228
3063
|
},
|
|
3229
|
-
"
|
|
3064
|
+
"integrate:codex-cli": {
|
|
3230
3065
|
"aliases": [],
|
|
3231
|
-
"args": {
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3066
|
+
"args": {},
|
|
3067
|
+
"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",
|
|
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
|
+
],
|
|
3239
3075
|
"flags": {
|
|
3240
3076
|
"api-key": {
|
|
3241
3077
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3270,11 +3106,81 @@
|
|
|
3270
3106
|
"name": "verbose",
|
|
3271
3107
|
"allowNo": false,
|
|
3272
3108
|
"type": "boolean"
|
|
3109
|
+
},
|
|
3110
|
+
"local": {
|
|
3111
|
+
"description": "Write per-project config (default)",
|
|
3112
|
+
"exclusive": [
|
|
3113
|
+
"global"
|
|
3114
|
+
],
|
|
3115
|
+
"name": "local",
|
|
3116
|
+
"allowNo": false,
|
|
3117
|
+
"type": "boolean"
|
|
3118
|
+
},
|
|
3119
|
+
"global": {
|
|
3120
|
+
"description": "Write user-level global config",
|
|
3121
|
+
"exclusive": [
|
|
3122
|
+
"local"
|
|
3123
|
+
],
|
|
3124
|
+
"name": "global",
|
|
3125
|
+
"allowNo": false,
|
|
3126
|
+
"type": "boolean"
|
|
3127
|
+
},
|
|
3128
|
+
"project-id": {
|
|
3129
|
+
"description": "Respan project ID (added to metadata / resource attributes)",
|
|
3130
|
+
"env": "RESPAN_PROJECT_ID",
|
|
3131
|
+
"name": "project-id",
|
|
3132
|
+
"hasDynamicHelp": false,
|
|
3133
|
+
"multiple": false,
|
|
3134
|
+
"type": "option"
|
|
3135
|
+
},
|
|
3136
|
+
"base-url": {
|
|
3137
|
+
"description": "Respan API base URL (for enterprise deployments)",
|
|
3138
|
+
"name": "base-url",
|
|
3139
|
+
"default": "https://api.respan.ai/api",
|
|
3140
|
+
"hasDynamicHelp": false,
|
|
3141
|
+
"multiple": false,
|
|
3142
|
+
"type": "option"
|
|
3143
|
+
},
|
|
3144
|
+
"attrs": {
|
|
3145
|
+
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
3146
|
+
"name": "attrs",
|
|
3147
|
+
"default": "{}",
|
|
3148
|
+
"hasDynamicHelp": false,
|
|
3149
|
+
"multiple": false,
|
|
3150
|
+
"type": "option"
|
|
3151
|
+
},
|
|
3152
|
+
"customer-id": {
|
|
3153
|
+
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
3154
|
+
"env": "RESPAN_CUSTOMER_ID",
|
|
3155
|
+
"name": "customer-id",
|
|
3156
|
+
"hasDynamicHelp": false,
|
|
3157
|
+
"multiple": false,
|
|
3158
|
+
"type": "option"
|
|
3159
|
+
},
|
|
3160
|
+
"span-name": {
|
|
3161
|
+
"description": "Root span name for traces (default: claude-code)",
|
|
3162
|
+
"name": "span-name",
|
|
3163
|
+
"hasDynamicHelp": false,
|
|
3164
|
+
"multiple": false,
|
|
3165
|
+
"type": "option"
|
|
3166
|
+
},
|
|
3167
|
+
"workflow-name": {
|
|
3168
|
+
"description": "Workflow name for traces (default: claude-code)",
|
|
3169
|
+
"name": "workflow-name",
|
|
3170
|
+
"hasDynamicHelp": false,
|
|
3171
|
+
"multiple": false,
|
|
3172
|
+
"type": "option"
|
|
3173
|
+
},
|
|
3174
|
+
"dry-run": {
|
|
3175
|
+
"description": "Preview changes without writing files",
|
|
3176
|
+
"name": "dry-run",
|
|
3177
|
+
"allowNo": false,
|
|
3178
|
+
"type": "boolean"
|
|
3273
3179
|
}
|
|
3274
3180
|
},
|
|
3275
3181
|
"hasDynamicHelp": false,
|
|
3276
3182
|
"hiddenAliases": [],
|
|
3277
|
-
"id": "
|
|
3183
|
+
"id": "integrate:codex-cli",
|
|
3278
3184
|
"pluginAlias": "@respan/cli",
|
|
3279
3185
|
"pluginName": "@respan/cli",
|
|
3280
3186
|
"pluginType": "core",
|
|
@@ -3284,14 +3190,20 @@
|
|
|
3284
3190
|
"relativePath": [
|
|
3285
3191
|
"dist",
|
|
3286
3192
|
"commands",
|
|
3287
|
-
"
|
|
3288
|
-
"
|
|
3193
|
+
"integrate",
|
|
3194
|
+
"codex-cli.js"
|
|
3289
3195
|
]
|
|
3290
3196
|
},
|
|
3291
|
-
"
|
|
3197
|
+
"integrate:gemini-cli": {
|
|
3292
3198
|
"aliases": [],
|
|
3293
3199
|
"args": {},
|
|
3294
|
-
"description": "
|
|
3200
|
+
"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.",
|
|
3201
|
+
"examples": [
|
|
3202
|
+
"respan integrate gemini-cli",
|
|
3203
|
+
"respan integrate gemini-cli --local",
|
|
3204
|
+
"respan integrate gemini-cli --project-id my-project --attrs '{\"env\":\"prod\"}'",
|
|
3205
|
+
"respan integrate gemini-cli --dry-run"
|
|
3206
|
+
],
|
|
3295
3207
|
"flags": {
|
|
3296
3208
|
"api-key": {
|
|
3297
3209
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3327,40 +3239,80 @@
|
|
|
3327
3239
|
"allowNo": false,
|
|
3328
3240
|
"type": "boolean"
|
|
3329
3241
|
},
|
|
3330
|
-
"
|
|
3331
|
-
"description": "
|
|
3332
|
-
"
|
|
3333
|
-
|
|
3242
|
+
"local": {
|
|
3243
|
+
"description": "Write per-project config (default)",
|
|
3244
|
+
"exclusive": [
|
|
3245
|
+
"global"
|
|
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",
|
|
3334
3264
|
"hasDynamicHelp": false,
|
|
3335
3265
|
"multiple": false,
|
|
3336
3266
|
"type": "option"
|
|
3337
3267
|
},
|
|
3338
|
-
"
|
|
3339
|
-
"description": "
|
|
3340
|
-
"name": "
|
|
3341
|
-
"default":
|
|
3268
|
+
"base-url": {
|
|
3269
|
+
"description": "Respan API base URL (for enterprise deployments)",
|
|
3270
|
+
"name": "base-url",
|
|
3271
|
+
"default": "https://api.respan.ai/api",
|
|
3342
3272
|
"hasDynamicHelp": false,
|
|
3343
3273
|
"multiple": false,
|
|
3344
3274
|
"type": "option"
|
|
3345
3275
|
},
|
|
3346
|
-
"
|
|
3347
|
-
"description": "
|
|
3348
|
-
"name": "
|
|
3276
|
+
"attrs": {
|
|
3277
|
+
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
3278
|
+
"name": "attrs",
|
|
3279
|
+
"default": "{}",
|
|
3349
3280
|
"hasDynamicHelp": false,
|
|
3350
3281
|
"multiple": false,
|
|
3351
3282
|
"type": "option"
|
|
3352
3283
|
},
|
|
3353
|
-
"
|
|
3354
|
-
"description": "
|
|
3355
|
-
"
|
|
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",
|
|
3356
3302
|
"hasDynamicHelp": false,
|
|
3357
3303
|
"multiple": false,
|
|
3358
3304
|
"type": "option"
|
|
3305
|
+
},
|
|
3306
|
+
"dry-run": {
|
|
3307
|
+
"description": "Preview changes without writing files",
|
|
3308
|
+
"name": "dry-run",
|
|
3309
|
+
"allowNo": false,
|
|
3310
|
+
"type": "boolean"
|
|
3359
3311
|
}
|
|
3360
3312
|
},
|
|
3361
3313
|
"hasDynamicHelp": false,
|
|
3362
3314
|
"hiddenAliases": [],
|
|
3363
|
-
"id": "
|
|
3315
|
+
"id": "integrate:gemini-cli",
|
|
3364
3316
|
"pluginAlias": "@respan/cli",
|
|
3365
3317
|
"pluginName": "@respan/cli",
|
|
3366
3318
|
"pluginType": "core",
|
|
@@ -3370,20 +3322,20 @@
|
|
|
3370
3322
|
"relativePath": [
|
|
3371
3323
|
"dist",
|
|
3372
3324
|
"commands",
|
|
3373
|
-
"
|
|
3374
|
-
"
|
|
3325
|
+
"integrate",
|
|
3326
|
+
"gemini-cli.js"
|
|
3375
3327
|
]
|
|
3376
3328
|
},
|
|
3377
|
-
"
|
|
3329
|
+
"integrate:opencode": {
|
|
3378
3330
|
"aliases": [],
|
|
3379
|
-
"args": {
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
}
|
|
3385
|
-
|
|
3386
|
-
|
|
3331
|
+
"args": {},
|
|
3332
|
+
"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.",
|
|
3333
|
+
"examples": [
|
|
3334
|
+
"respan integrate opencode",
|
|
3335
|
+
"respan integrate opencode --global",
|
|
3336
|
+
"respan integrate opencode --project-id my-project --attrs '{\"env\":\"prod\"}'",
|
|
3337
|
+
"respan integrate opencode --dry-run"
|
|
3338
|
+
],
|
|
3387
3339
|
"flags": {
|
|
3388
3340
|
"api-key": {
|
|
3389
3341
|
"description": "API key (env: RESPAN_API_KEY)",
|
|
@@ -3419,31 +3371,80 @@
|
|
|
3419
3371
|
"allowNo": false,
|
|
3420
3372
|
"type": "boolean"
|
|
3421
3373
|
},
|
|
3422
|
-
"
|
|
3423
|
-
"description": "
|
|
3424
|
-
"
|
|
3374
|
+
"local": {
|
|
3375
|
+
"description": "Write per-project config (default)",
|
|
3376
|
+
"exclusive": [
|
|
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",
|
|
3425
3396
|
"hasDynamicHelp": false,
|
|
3426
3397
|
"multiple": false,
|
|
3427
3398
|
"type": "option"
|
|
3428
3399
|
},
|
|
3429
|
-
"
|
|
3430
|
-
"description": "
|
|
3431
|
-
"name": "
|
|
3400
|
+
"base-url": {
|
|
3401
|
+
"description": "Respan API base URL (for enterprise deployments)",
|
|
3402
|
+
"name": "base-url",
|
|
3403
|
+
"default": "https://api.respan.ai/api",
|
|
3432
3404
|
"hasDynamicHelp": false,
|
|
3433
3405
|
"multiple": false,
|
|
3434
3406
|
"type": "option"
|
|
3435
3407
|
},
|
|
3436
|
-
"
|
|
3437
|
-
"description": "
|
|
3438
|
-
"name": "
|
|
3408
|
+
"attrs": {
|
|
3409
|
+
"description": "Custom attributes JSON (e.g. '{\"env\":\"prod\"}')",
|
|
3410
|
+
"name": "attrs",
|
|
3411
|
+
"default": "{}",
|
|
3412
|
+
"hasDynamicHelp": false,
|
|
3413
|
+
"multiple": false,
|
|
3414
|
+
"type": "option"
|
|
3415
|
+
},
|
|
3416
|
+
"customer-id": {
|
|
3417
|
+
"description": "Customer/user identifier for traces (e.g. your name or email)",
|
|
3418
|
+
"env": "RESPAN_CUSTOMER_ID",
|
|
3419
|
+
"name": "customer-id",
|
|
3420
|
+
"hasDynamicHelp": false,
|
|
3421
|
+
"multiple": false,
|
|
3422
|
+
"type": "option"
|
|
3423
|
+
},
|
|
3424
|
+
"span-name": {
|
|
3425
|
+
"description": "Root span name for traces (default: claude-code)",
|
|
3426
|
+
"name": "span-name",
|
|
3439
3427
|
"hasDynamicHelp": false,
|
|
3440
3428
|
"multiple": false,
|
|
3441
3429
|
"type": "option"
|
|
3430
|
+
},
|
|
3431
|
+
"workflow-name": {
|
|
3432
|
+
"description": "Workflow name for traces (default: claude-code)",
|
|
3433
|
+
"name": "workflow-name",
|
|
3434
|
+
"hasDynamicHelp": false,
|
|
3435
|
+
"multiple": false,
|
|
3436
|
+
"type": "option"
|
|
3437
|
+
},
|
|
3438
|
+
"dry-run": {
|
|
3439
|
+
"description": "Preview changes without writing files",
|
|
3440
|
+
"name": "dry-run",
|
|
3441
|
+
"allowNo": false,
|
|
3442
|
+
"type": "boolean"
|
|
3442
3443
|
}
|
|
3443
3444
|
},
|
|
3444
3445
|
"hasDynamicHelp": false,
|
|
3445
3446
|
"hiddenAliases": [],
|
|
3446
|
-
"id": "
|
|
3447
|
+
"id": "integrate:opencode",
|
|
3447
3448
|
"pluginAlias": "@respan/cli",
|
|
3448
3449
|
"pluginName": "@respan/cli",
|
|
3449
3450
|
"pluginType": "core",
|
|
@@ -3453,10 +3454,10 @@
|
|
|
3453
3454
|
"relativePath": [
|
|
3454
3455
|
"dist",
|
|
3455
3456
|
"commands",
|
|
3456
|
-
"
|
|
3457
|
-
"
|
|
3457
|
+
"integrate",
|
|
3458
|
+
"opencode.js"
|
|
3458
3459
|
]
|
|
3459
3460
|
}
|
|
3460
3461
|
},
|
|
3461
|
-
"version": "0.
|
|
3462
|
+
"version": "0.6.0"
|
|
3462
3463
|
}
|