@blackbox_ai/blackbox-cli 0.0.7 → 0.0.9
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/package.json +4 -3
- package/dist/src/commands/configure/ConfigureUI.d.ts +11 -0
- package/dist/src/commands/configure/ConfigureUI.js +416 -0
- package/dist/src/commands/configure/ConfigureUI.js.map +1 -0
- package/dist/src/commands/configure/index.d.ts +7 -0
- package/dist/src/commands/configure/index.js +30 -0
- package/dist/src/commands/configure/index.js.map +1 -0
- package/dist/src/commands/configure.d.ts +7 -0
- package/dist/src/commands/configure.js +259 -0
- package/dist/src/commands/configure.js.map +1 -0
- package/dist/src/commands/configure.test.d.ts +6 -0
- package/dist/src/commands/configure.test.js +32 -0
- package/dist/src/commands/configure.test.js.map +1 -0
- package/dist/src/config/auth.d.ts +29 -0
- package/dist/src/config/auth.js +281 -1
- package/dist/src/config/auth.js.map +1 -1
- package/dist/src/config/config.js +5 -3
- package/dist/src/config/config.js.map +1 -1
- package/dist/src/config/modelFetcher.d.ts +21 -0
- package/dist/src/config/modelFetcher.js +251 -0
- package/dist/src/config/modelFetcher.js.map +1 -0
- package/dist/src/config/settings.js +37 -0
- package/dist/src/config/settings.js.map +1 -1
- package/dist/src/config/settingsSchema.d.ts +275 -0
- package/dist/src/config/settingsSchema.js +275 -0
- package/dist/src/config/settingsSchema.js.map +1 -1
- package/dist/src/gemini.js +4 -1
- package/dist/src/gemini.js.map +1 -1
- package/dist/src/generated/git-commit.d.ts +2 -2
- package/dist/src/generated/git-commit.js +2 -2
- package/dist/src/nonInteractiveCli.js +149 -5
- package/dist/src/nonInteractiveCli.js.map +1 -1
- package/dist/src/ui/App.js +1 -1
- package/dist/src/ui/App.js.map +1 -1
- package/dist/src/ui/components/AuthDialog.d.ts +3 -2
- package/dist/src/ui/components/AuthDialog.js +309 -61
- package/dist/src/ui/components/AuthDialog.js.map +1 -1
- package/dist/src/ui/components/GenericProviderKeyPrompt.d.ts +22 -0
- package/dist/src/ui/components/GenericProviderKeyPrompt.js +86 -0
- package/dist/src/ui/components/GenericProviderKeyPrompt.js.map +1 -0
- package/dist/src/ui/hooks/useGeminiStream.js +2 -0
- package/dist/src/ui/hooks/useGeminiStream.js.map +1 -1
- package/dist/src/zed-integration/schema.d.ts +286 -286
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -3
|
@@ -631,6 +631,15 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
631
631
|
readonly description: "The currently selected authentication type.";
|
|
632
632
|
readonly showInDialog: false;
|
|
633
633
|
};
|
|
634
|
+
readonly selectedProvider: {
|
|
635
|
+
readonly type: "string";
|
|
636
|
+
readonly label: "Selected Provider";
|
|
637
|
+
readonly category: "Security";
|
|
638
|
+
readonly requiresRestart: true;
|
|
639
|
+
readonly default: string | undefined;
|
|
640
|
+
readonly description: "The currently selected provider name (e.g., openai, openrouter, blackbox).";
|
|
641
|
+
readonly showInDialog: false;
|
|
642
|
+
};
|
|
634
643
|
readonly useExternal: {
|
|
635
644
|
readonly type: "boolean";
|
|
636
645
|
readonly label: "Use External Auth";
|
|
@@ -640,6 +649,272 @@ export declare const SETTINGS_SCHEMA: {
|
|
|
640
649
|
readonly description: "Whether to use an external authentication flow.";
|
|
641
650
|
readonly showInDialog: false;
|
|
642
651
|
};
|
|
652
|
+
readonly openai: {
|
|
653
|
+
readonly type: "object";
|
|
654
|
+
readonly label: "OpenAI Credentials";
|
|
655
|
+
readonly category: "Security";
|
|
656
|
+
readonly requiresRestart: true;
|
|
657
|
+
readonly default: {};
|
|
658
|
+
readonly description: "OpenAI provider credentials.";
|
|
659
|
+
readonly showInDialog: false;
|
|
660
|
+
readonly properties: {
|
|
661
|
+
readonly apiKey: {
|
|
662
|
+
readonly type: "string";
|
|
663
|
+
readonly label: "OpenAI API Key";
|
|
664
|
+
readonly category: "Security";
|
|
665
|
+
readonly requiresRestart: true;
|
|
666
|
+
readonly default: string | undefined;
|
|
667
|
+
readonly description: "API key for OpenAI.";
|
|
668
|
+
readonly showInDialog: false;
|
|
669
|
+
};
|
|
670
|
+
readonly baseUrl: {
|
|
671
|
+
readonly type: "string";
|
|
672
|
+
readonly label: "OpenAI Base URL";
|
|
673
|
+
readonly category: "Security";
|
|
674
|
+
readonly requiresRestart: true;
|
|
675
|
+
readonly default: string | undefined;
|
|
676
|
+
readonly description: "Base URL for OpenAI API.";
|
|
677
|
+
readonly showInDialog: false;
|
|
678
|
+
};
|
|
679
|
+
readonly model: {
|
|
680
|
+
readonly type: "string";
|
|
681
|
+
readonly label: "OpenAI Model";
|
|
682
|
+
readonly category: "Security";
|
|
683
|
+
readonly requiresRestart: true;
|
|
684
|
+
readonly default: string | undefined;
|
|
685
|
+
readonly description: "Model name for OpenAI.";
|
|
686
|
+
readonly showInDialog: false;
|
|
687
|
+
};
|
|
688
|
+
};
|
|
689
|
+
};
|
|
690
|
+
readonly blackbox: {
|
|
691
|
+
readonly type: "object";
|
|
692
|
+
readonly label: "Blackbox Credentials";
|
|
693
|
+
readonly category: "Security";
|
|
694
|
+
readonly requiresRestart: true;
|
|
695
|
+
readonly default: {};
|
|
696
|
+
readonly description: "Blackbox provider credentials.";
|
|
697
|
+
readonly showInDialog: false;
|
|
698
|
+
readonly properties: {
|
|
699
|
+
readonly apiKey: {
|
|
700
|
+
readonly type: "string";
|
|
701
|
+
readonly label: "Blackbox API Key";
|
|
702
|
+
readonly category: "Security";
|
|
703
|
+
readonly requiresRestart: true;
|
|
704
|
+
readonly default: string | undefined;
|
|
705
|
+
readonly description: "API key for Blackbox.";
|
|
706
|
+
readonly showInDialog: false;
|
|
707
|
+
};
|
|
708
|
+
readonly baseUrl: {
|
|
709
|
+
readonly type: "string";
|
|
710
|
+
readonly label: "Blackbox Base URL";
|
|
711
|
+
readonly category: "Security";
|
|
712
|
+
readonly requiresRestart: true;
|
|
713
|
+
readonly default: string | undefined;
|
|
714
|
+
readonly description: "Base URL for Blackbox API.";
|
|
715
|
+
readonly showInDialog: false;
|
|
716
|
+
};
|
|
717
|
+
readonly model: {
|
|
718
|
+
readonly type: "string";
|
|
719
|
+
readonly label: "Blackbox Model";
|
|
720
|
+
readonly category: "Security";
|
|
721
|
+
readonly requiresRestart: true;
|
|
722
|
+
readonly default: string | undefined;
|
|
723
|
+
readonly description: "Model name for Blackbox.";
|
|
724
|
+
readonly showInDialog: false;
|
|
725
|
+
};
|
|
726
|
+
};
|
|
727
|
+
};
|
|
728
|
+
readonly openrouter: {
|
|
729
|
+
readonly type: "object";
|
|
730
|
+
readonly label: "OpenRouter Credentials";
|
|
731
|
+
readonly category: "Security";
|
|
732
|
+
readonly requiresRestart: true;
|
|
733
|
+
readonly default: {};
|
|
734
|
+
readonly description: "OpenRouter provider credentials.";
|
|
735
|
+
readonly showInDialog: false;
|
|
736
|
+
readonly properties: {
|
|
737
|
+
readonly apiKey: {
|
|
738
|
+
readonly type: "string";
|
|
739
|
+
readonly label: "OpenRouter API Key";
|
|
740
|
+
readonly category: "Security";
|
|
741
|
+
readonly requiresRestart: true;
|
|
742
|
+
readonly default: string | undefined;
|
|
743
|
+
readonly description: "API key for OpenRouter.";
|
|
744
|
+
readonly showInDialog: false;
|
|
745
|
+
};
|
|
746
|
+
readonly baseUrl: {
|
|
747
|
+
readonly type: "string";
|
|
748
|
+
readonly label: "OpenRouter Base URL";
|
|
749
|
+
readonly category: "Security";
|
|
750
|
+
readonly requiresRestart: true;
|
|
751
|
+
readonly default: string | undefined;
|
|
752
|
+
readonly description: "Base URL for OpenRouter API.";
|
|
753
|
+
readonly showInDialog: false;
|
|
754
|
+
};
|
|
755
|
+
readonly model: {
|
|
756
|
+
readonly type: "string";
|
|
757
|
+
readonly label: "OpenRouter Model";
|
|
758
|
+
readonly category: "Security";
|
|
759
|
+
readonly requiresRestart: true;
|
|
760
|
+
readonly default: string | undefined;
|
|
761
|
+
readonly description: "Model name for OpenRouter.";
|
|
762
|
+
readonly showInDialog: false;
|
|
763
|
+
};
|
|
764
|
+
};
|
|
765
|
+
};
|
|
766
|
+
readonly custom: {
|
|
767
|
+
readonly type: "object";
|
|
768
|
+
readonly label: "Custom Provider Credentials";
|
|
769
|
+
readonly category: "Security";
|
|
770
|
+
readonly requiresRestart: true;
|
|
771
|
+
readonly default: {};
|
|
772
|
+
readonly description: "Custom provider credentials.";
|
|
773
|
+
readonly showInDialog: false;
|
|
774
|
+
readonly properties: {
|
|
775
|
+
readonly apiKey: {
|
|
776
|
+
readonly type: "string";
|
|
777
|
+
readonly label: "Custom Provider API Key";
|
|
778
|
+
readonly category: "Security";
|
|
779
|
+
readonly requiresRestart: true;
|
|
780
|
+
readonly default: string | undefined;
|
|
781
|
+
readonly description: "API key for custom provider.";
|
|
782
|
+
readonly showInDialog: false;
|
|
783
|
+
};
|
|
784
|
+
readonly baseUrl: {
|
|
785
|
+
readonly type: "string";
|
|
786
|
+
readonly label: "Custom Provider Base URL";
|
|
787
|
+
readonly category: "Security";
|
|
788
|
+
readonly requiresRestart: true;
|
|
789
|
+
readonly default: string | undefined;
|
|
790
|
+
readonly description: "Base URL for custom provider API.";
|
|
791
|
+
readonly showInDialog: false;
|
|
792
|
+
};
|
|
793
|
+
readonly model: {
|
|
794
|
+
readonly type: "string";
|
|
795
|
+
readonly label: "Custom Provider Model";
|
|
796
|
+
readonly category: "Security";
|
|
797
|
+
readonly requiresRestart: true;
|
|
798
|
+
readonly default: string | undefined;
|
|
799
|
+
readonly description: "Model name for custom provider.";
|
|
800
|
+
readonly showInDialog: false;
|
|
801
|
+
};
|
|
802
|
+
};
|
|
803
|
+
};
|
|
804
|
+
readonly anthropic: {
|
|
805
|
+
readonly type: "object";
|
|
806
|
+
readonly label: "Anthropic Credentials";
|
|
807
|
+
readonly category: "Security";
|
|
808
|
+
readonly requiresRestart: true;
|
|
809
|
+
readonly default: {};
|
|
810
|
+
readonly description: "Anthropic provider credentials.";
|
|
811
|
+
readonly showInDialog: false;
|
|
812
|
+
readonly properties: {
|
|
813
|
+
readonly apiKey: {
|
|
814
|
+
readonly type: "string";
|
|
815
|
+
readonly label: "Anthropic API Key";
|
|
816
|
+
readonly category: "Security";
|
|
817
|
+
readonly requiresRestart: true;
|
|
818
|
+
readonly default: string | undefined;
|
|
819
|
+
readonly description: "API key for Anthropic.";
|
|
820
|
+
readonly showInDialog: false;
|
|
821
|
+
};
|
|
822
|
+
readonly baseUrl: {
|
|
823
|
+
readonly type: "string";
|
|
824
|
+
readonly label: "Anthropic Base URL";
|
|
825
|
+
readonly category: "Security";
|
|
826
|
+
readonly requiresRestart: true;
|
|
827
|
+
readonly default: string | undefined;
|
|
828
|
+
readonly description: "Base URL for Anthropic API.";
|
|
829
|
+
readonly showInDialog: false;
|
|
830
|
+
};
|
|
831
|
+
readonly model: {
|
|
832
|
+
readonly type: "string";
|
|
833
|
+
readonly label: "Anthropic Model";
|
|
834
|
+
readonly category: "Security";
|
|
835
|
+
readonly requiresRestart: true;
|
|
836
|
+
readonly default: string | undefined;
|
|
837
|
+
readonly description: "Model name for Anthropic.";
|
|
838
|
+
readonly showInDialog: false;
|
|
839
|
+
};
|
|
840
|
+
};
|
|
841
|
+
};
|
|
842
|
+
readonly google: {
|
|
843
|
+
readonly type: "object";
|
|
844
|
+
readonly label: "Google Credentials";
|
|
845
|
+
readonly category: "Security";
|
|
846
|
+
readonly requiresRestart: true;
|
|
847
|
+
readonly default: {};
|
|
848
|
+
readonly description: "Google Gemini provider credentials.";
|
|
849
|
+
readonly showInDialog: false;
|
|
850
|
+
readonly properties: {
|
|
851
|
+
readonly apiKey: {
|
|
852
|
+
readonly type: "string";
|
|
853
|
+
readonly label: "Google API Key";
|
|
854
|
+
readonly category: "Security";
|
|
855
|
+
readonly requiresRestart: true;
|
|
856
|
+
readonly default: string | undefined;
|
|
857
|
+
readonly description: "API key for Google Gemini.";
|
|
858
|
+
readonly showInDialog: false;
|
|
859
|
+
};
|
|
860
|
+
readonly baseUrl: {
|
|
861
|
+
readonly type: "string";
|
|
862
|
+
readonly label: "Google Base URL";
|
|
863
|
+
readonly category: "Security";
|
|
864
|
+
readonly requiresRestart: true;
|
|
865
|
+
readonly default: string | undefined;
|
|
866
|
+
readonly description: "Base URL for Google Gemini API.";
|
|
867
|
+
readonly showInDialog: false;
|
|
868
|
+
};
|
|
869
|
+
readonly model: {
|
|
870
|
+
readonly type: "string";
|
|
871
|
+
readonly label: "Google Model";
|
|
872
|
+
readonly category: "Security";
|
|
873
|
+
readonly requiresRestart: true;
|
|
874
|
+
readonly default: string | undefined;
|
|
875
|
+
readonly description: "Model name for Google Gemini.";
|
|
876
|
+
readonly showInDialog: false;
|
|
877
|
+
};
|
|
878
|
+
};
|
|
879
|
+
};
|
|
880
|
+
readonly xai: {
|
|
881
|
+
readonly type: "object";
|
|
882
|
+
readonly label: "xAI Credentials";
|
|
883
|
+
readonly category: "Security";
|
|
884
|
+
readonly requiresRestart: true;
|
|
885
|
+
readonly default: {};
|
|
886
|
+
readonly description: "xAI Grok provider credentials.";
|
|
887
|
+
readonly showInDialog: false;
|
|
888
|
+
readonly properties: {
|
|
889
|
+
readonly apiKey: {
|
|
890
|
+
readonly type: "string";
|
|
891
|
+
readonly label: "xAI API Key";
|
|
892
|
+
readonly category: "Security";
|
|
893
|
+
readonly requiresRestart: true;
|
|
894
|
+
readonly default: string | undefined;
|
|
895
|
+
readonly description: "API key for xAI.";
|
|
896
|
+
readonly showInDialog: false;
|
|
897
|
+
};
|
|
898
|
+
readonly baseUrl: {
|
|
899
|
+
readonly type: "string";
|
|
900
|
+
readonly label: "xAI Base URL";
|
|
901
|
+
readonly category: "Security";
|
|
902
|
+
readonly requiresRestart: true;
|
|
903
|
+
readonly default: string | undefined;
|
|
904
|
+
readonly description: "Base URL for xAI API.";
|
|
905
|
+
readonly showInDialog: false;
|
|
906
|
+
};
|
|
907
|
+
readonly model: {
|
|
908
|
+
readonly type: "string";
|
|
909
|
+
readonly label: "xAI Model";
|
|
910
|
+
readonly category: "Security";
|
|
911
|
+
readonly requiresRestart: true;
|
|
912
|
+
readonly default: string | undefined;
|
|
913
|
+
readonly description: "Model name for xAI.";
|
|
914
|
+
readonly showInDialog: false;
|
|
915
|
+
};
|
|
916
|
+
};
|
|
917
|
+
};
|
|
643
918
|
};
|
|
644
919
|
};
|
|
645
920
|
};
|
|
@@ -610,6 +610,15 @@ export const SETTINGS_SCHEMA = {
|
|
|
610
610
|
description: 'The currently selected authentication type.',
|
|
611
611
|
showInDialog: false,
|
|
612
612
|
},
|
|
613
|
+
selectedProvider: {
|
|
614
|
+
type: 'string',
|
|
615
|
+
label: 'Selected Provider',
|
|
616
|
+
category: 'Security',
|
|
617
|
+
requiresRestart: true,
|
|
618
|
+
default: undefined,
|
|
619
|
+
description: 'The currently selected provider name (e.g., openai, openrouter, blackbox).',
|
|
620
|
+
showInDialog: false,
|
|
621
|
+
},
|
|
613
622
|
useExternal: {
|
|
614
623
|
type: 'boolean',
|
|
615
624
|
label: 'Use External Auth',
|
|
@@ -619,6 +628,272 @@ export const SETTINGS_SCHEMA = {
|
|
|
619
628
|
description: 'Whether to use an external authentication flow.',
|
|
620
629
|
showInDialog: false,
|
|
621
630
|
},
|
|
631
|
+
openai: {
|
|
632
|
+
type: 'object',
|
|
633
|
+
label: 'OpenAI Credentials',
|
|
634
|
+
category: 'Security',
|
|
635
|
+
requiresRestart: true,
|
|
636
|
+
default: {},
|
|
637
|
+
description: 'OpenAI provider credentials.',
|
|
638
|
+
showInDialog: false,
|
|
639
|
+
properties: {
|
|
640
|
+
apiKey: {
|
|
641
|
+
type: 'string',
|
|
642
|
+
label: 'OpenAI API Key',
|
|
643
|
+
category: 'Security',
|
|
644
|
+
requiresRestart: true,
|
|
645
|
+
default: undefined,
|
|
646
|
+
description: 'API key for OpenAI.',
|
|
647
|
+
showInDialog: false,
|
|
648
|
+
},
|
|
649
|
+
baseUrl: {
|
|
650
|
+
type: 'string',
|
|
651
|
+
label: 'OpenAI Base URL',
|
|
652
|
+
category: 'Security',
|
|
653
|
+
requiresRestart: true,
|
|
654
|
+
default: undefined,
|
|
655
|
+
description: 'Base URL for OpenAI API.',
|
|
656
|
+
showInDialog: false,
|
|
657
|
+
},
|
|
658
|
+
model: {
|
|
659
|
+
type: 'string',
|
|
660
|
+
label: 'OpenAI Model',
|
|
661
|
+
category: 'Security',
|
|
662
|
+
requiresRestart: true,
|
|
663
|
+
default: undefined,
|
|
664
|
+
description: 'Model name for OpenAI.',
|
|
665
|
+
showInDialog: false,
|
|
666
|
+
},
|
|
667
|
+
},
|
|
668
|
+
},
|
|
669
|
+
blackbox: {
|
|
670
|
+
type: 'object',
|
|
671
|
+
label: 'Blackbox Credentials',
|
|
672
|
+
category: 'Security',
|
|
673
|
+
requiresRestart: true,
|
|
674
|
+
default: {},
|
|
675
|
+
description: 'Blackbox provider credentials.',
|
|
676
|
+
showInDialog: false,
|
|
677
|
+
properties: {
|
|
678
|
+
apiKey: {
|
|
679
|
+
type: 'string',
|
|
680
|
+
label: 'Blackbox API Key',
|
|
681
|
+
category: 'Security',
|
|
682
|
+
requiresRestart: true,
|
|
683
|
+
default: undefined,
|
|
684
|
+
description: 'API key for Blackbox.',
|
|
685
|
+
showInDialog: false,
|
|
686
|
+
},
|
|
687
|
+
baseUrl: {
|
|
688
|
+
type: 'string',
|
|
689
|
+
label: 'Blackbox Base URL',
|
|
690
|
+
category: 'Security',
|
|
691
|
+
requiresRestart: true,
|
|
692
|
+
default: undefined,
|
|
693
|
+
description: 'Base URL for Blackbox API.',
|
|
694
|
+
showInDialog: false,
|
|
695
|
+
},
|
|
696
|
+
model: {
|
|
697
|
+
type: 'string',
|
|
698
|
+
label: 'Blackbox Model',
|
|
699
|
+
category: 'Security',
|
|
700
|
+
requiresRestart: true,
|
|
701
|
+
default: undefined,
|
|
702
|
+
description: 'Model name for Blackbox.',
|
|
703
|
+
showInDialog: false,
|
|
704
|
+
},
|
|
705
|
+
},
|
|
706
|
+
},
|
|
707
|
+
openrouter: {
|
|
708
|
+
type: 'object',
|
|
709
|
+
label: 'OpenRouter Credentials',
|
|
710
|
+
category: 'Security',
|
|
711
|
+
requiresRestart: true,
|
|
712
|
+
default: {},
|
|
713
|
+
description: 'OpenRouter provider credentials.',
|
|
714
|
+
showInDialog: false,
|
|
715
|
+
properties: {
|
|
716
|
+
apiKey: {
|
|
717
|
+
type: 'string',
|
|
718
|
+
label: 'OpenRouter API Key',
|
|
719
|
+
category: 'Security',
|
|
720
|
+
requiresRestart: true,
|
|
721
|
+
default: undefined,
|
|
722
|
+
description: 'API key for OpenRouter.',
|
|
723
|
+
showInDialog: false,
|
|
724
|
+
},
|
|
725
|
+
baseUrl: {
|
|
726
|
+
type: 'string',
|
|
727
|
+
label: 'OpenRouter Base URL',
|
|
728
|
+
category: 'Security',
|
|
729
|
+
requiresRestart: true,
|
|
730
|
+
default: undefined,
|
|
731
|
+
description: 'Base URL for OpenRouter API.',
|
|
732
|
+
showInDialog: false,
|
|
733
|
+
},
|
|
734
|
+
model: {
|
|
735
|
+
type: 'string',
|
|
736
|
+
label: 'OpenRouter Model',
|
|
737
|
+
category: 'Security',
|
|
738
|
+
requiresRestart: true,
|
|
739
|
+
default: undefined,
|
|
740
|
+
description: 'Model name for OpenRouter.',
|
|
741
|
+
showInDialog: false,
|
|
742
|
+
},
|
|
743
|
+
},
|
|
744
|
+
},
|
|
745
|
+
custom: {
|
|
746
|
+
type: 'object',
|
|
747
|
+
label: 'Custom Provider Credentials',
|
|
748
|
+
category: 'Security',
|
|
749
|
+
requiresRestart: true,
|
|
750
|
+
default: {},
|
|
751
|
+
description: 'Custom provider credentials.',
|
|
752
|
+
showInDialog: false,
|
|
753
|
+
properties: {
|
|
754
|
+
apiKey: {
|
|
755
|
+
type: 'string',
|
|
756
|
+
label: 'Custom Provider API Key',
|
|
757
|
+
category: 'Security',
|
|
758
|
+
requiresRestart: true,
|
|
759
|
+
default: undefined,
|
|
760
|
+
description: 'API key for custom provider.',
|
|
761
|
+
showInDialog: false,
|
|
762
|
+
},
|
|
763
|
+
baseUrl: {
|
|
764
|
+
type: 'string',
|
|
765
|
+
label: 'Custom Provider Base URL',
|
|
766
|
+
category: 'Security',
|
|
767
|
+
requiresRestart: true,
|
|
768
|
+
default: undefined,
|
|
769
|
+
description: 'Base URL for custom provider API.',
|
|
770
|
+
showInDialog: false,
|
|
771
|
+
},
|
|
772
|
+
model: {
|
|
773
|
+
type: 'string',
|
|
774
|
+
label: 'Custom Provider Model',
|
|
775
|
+
category: 'Security',
|
|
776
|
+
requiresRestart: true,
|
|
777
|
+
default: undefined,
|
|
778
|
+
description: 'Model name for custom provider.',
|
|
779
|
+
showInDialog: false,
|
|
780
|
+
},
|
|
781
|
+
},
|
|
782
|
+
},
|
|
783
|
+
anthropic: {
|
|
784
|
+
type: 'object',
|
|
785
|
+
label: 'Anthropic Credentials',
|
|
786
|
+
category: 'Security',
|
|
787
|
+
requiresRestart: true,
|
|
788
|
+
default: {},
|
|
789
|
+
description: 'Anthropic provider credentials.',
|
|
790
|
+
showInDialog: false,
|
|
791
|
+
properties: {
|
|
792
|
+
apiKey: {
|
|
793
|
+
type: 'string',
|
|
794
|
+
label: 'Anthropic API Key',
|
|
795
|
+
category: 'Security',
|
|
796
|
+
requiresRestart: true,
|
|
797
|
+
default: undefined,
|
|
798
|
+
description: 'API key for Anthropic.',
|
|
799
|
+
showInDialog: false,
|
|
800
|
+
},
|
|
801
|
+
baseUrl: {
|
|
802
|
+
type: 'string',
|
|
803
|
+
label: 'Anthropic Base URL',
|
|
804
|
+
category: 'Security',
|
|
805
|
+
requiresRestart: true,
|
|
806
|
+
default: undefined,
|
|
807
|
+
description: 'Base URL for Anthropic API.',
|
|
808
|
+
showInDialog: false,
|
|
809
|
+
},
|
|
810
|
+
model: {
|
|
811
|
+
type: 'string',
|
|
812
|
+
label: 'Anthropic Model',
|
|
813
|
+
category: 'Security',
|
|
814
|
+
requiresRestart: true,
|
|
815
|
+
default: undefined,
|
|
816
|
+
description: 'Model name for Anthropic.',
|
|
817
|
+
showInDialog: false,
|
|
818
|
+
},
|
|
819
|
+
},
|
|
820
|
+
},
|
|
821
|
+
google: {
|
|
822
|
+
type: 'object',
|
|
823
|
+
label: 'Google Credentials',
|
|
824
|
+
category: 'Security',
|
|
825
|
+
requiresRestart: true,
|
|
826
|
+
default: {},
|
|
827
|
+
description: 'Google Gemini provider credentials.',
|
|
828
|
+
showInDialog: false,
|
|
829
|
+
properties: {
|
|
830
|
+
apiKey: {
|
|
831
|
+
type: 'string',
|
|
832
|
+
label: 'Google API Key',
|
|
833
|
+
category: 'Security',
|
|
834
|
+
requiresRestart: true,
|
|
835
|
+
default: undefined,
|
|
836
|
+
description: 'API key for Google Gemini.',
|
|
837
|
+
showInDialog: false,
|
|
838
|
+
},
|
|
839
|
+
baseUrl: {
|
|
840
|
+
type: 'string',
|
|
841
|
+
label: 'Google Base URL',
|
|
842
|
+
category: 'Security',
|
|
843
|
+
requiresRestart: true,
|
|
844
|
+
default: undefined,
|
|
845
|
+
description: 'Base URL for Google Gemini API.',
|
|
846
|
+
showInDialog: false,
|
|
847
|
+
},
|
|
848
|
+
model: {
|
|
849
|
+
type: 'string',
|
|
850
|
+
label: 'Google Model',
|
|
851
|
+
category: 'Security',
|
|
852
|
+
requiresRestart: true,
|
|
853
|
+
default: undefined,
|
|
854
|
+
description: 'Model name for Google Gemini.',
|
|
855
|
+
showInDialog: false,
|
|
856
|
+
},
|
|
857
|
+
},
|
|
858
|
+
},
|
|
859
|
+
xai: {
|
|
860
|
+
type: 'object',
|
|
861
|
+
label: 'xAI Credentials',
|
|
862
|
+
category: 'Security',
|
|
863
|
+
requiresRestart: true,
|
|
864
|
+
default: {},
|
|
865
|
+
description: 'xAI Grok provider credentials.',
|
|
866
|
+
showInDialog: false,
|
|
867
|
+
properties: {
|
|
868
|
+
apiKey: {
|
|
869
|
+
type: 'string',
|
|
870
|
+
label: 'xAI API Key',
|
|
871
|
+
category: 'Security',
|
|
872
|
+
requiresRestart: true,
|
|
873
|
+
default: undefined,
|
|
874
|
+
description: 'API key for xAI.',
|
|
875
|
+
showInDialog: false,
|
|
876
|
+
},
|
|
877
|
+
baseUrl: {
|
|
878
|
+
type: 'string',
|
|
879
|
+
label: 'xAI Base URL',
|
|
880
|
+
category: 'Security',
|
|
881
|
+
requiresRestart: true,
|
|
882
|
+
default: undefined,
|
|
883
|
+
description: 'Base URL for xAI API.',
|
|
884
|
+
showInDialog: false,
|
|
885
|
+
},
|
|
886
|
+
model: {
|
|
887
|
+
type: 'string',
|
|
888
|
+
label: 'xAI Model',
|
|
889
|
+
category: 'Security',
|
|
890
|
+
requiresRestart: true,
|
|
891
|
+
default: undefined,
|
|
892
|
+
description: 'Model name for xAI.',
|
|
893
|
+
showInDialog: false,
|
|
894
|
+
},
|
|
895
|
+
},
|
|
896
|
+
},
|
|
622
897
|
},
|
|
623
898
|
},
|
|
624
899
|
},
|