@adminide-stack/form-builder-core 5.1.7-alpha.9 → 5.1.8-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +3 -6
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib/utils/authMetaDataSchema.d.ts.map +1 -1
- package/lib/utils/authMetaDataSchema.js +11 -4
- package/lib/utils/authMetaDataSchema.js.map +1 -1
- package/lib/{config → utils}/connectorFieldTokenResolver.d.ts +1 -1
- package/lib/utils/connectorFieldTokenResolver.d.ts.map +1 -0
- package/lib/utils/connectorFieldTokenResolver.js.map +1 -0
- package/package.json +4 -3
- package/lib/config/__tests__/connectorFieldTokenResolver.test.d.ts +0 -2
- package/lib/config/__tests__/connectorFieldTokenResolver.test.d.ts.map +0 -1
- package/lib/config/connectorFieldTokenResolver.d.ts.map +0 -1
- package/lib/config/connectorFieldTokenResolver.js.map +0 -1
- package/lib/config/connectorsCatalog.d.ts +0 -11
- package/lib/config/connectorsCatalog.d.ts.map +0 -1
- package/lib/config/connectorsCatalog.js +0 -5
- package/lib/config/connectorsCatalog.js.map +0 -1
- package/lib/config/connectorsConfig.d.ts +0 -3
- package/lib/config/connectorsConfig.d.ts.map +0 -1
- package/lib/config/connectorsConfig.js +0 -44663
- package/lib/config/connectorsConfig.js.map +0 -1
- package/lib/config/connectorsConfig2.d.ts +0 -11
- package/lib/config/connectorsConfig2.d.ts.map +0 -1
- package/lib/config/connectorsConfig2.js +0 -4542
- package/lib/config/connectorsConfig2.js.map +0 -1
- package/lib/config/llmProviderConfig.d.ts +0 -3
- package/lib/config/llmProviderConfig.d.ts.map +0 -1
- package/lib/config/llmProviderConfig.js +0 -457
- package/lib/config/llmProviderConfig.js.map +0 -1
- package/lib/config/mcpConnectorConfig.d.ts +0 -3
- package/lib/config/mcpConnectorConfig.d.ts.map +0 -1
- package/lib/config/mcpConnectorConfig.js +0 -961
- package/lib/config/mcpConnectorConfig.js.map +0 -1
- package/lib/utils/__tests__/deepMergeFormSteps.test.d.ts +0 -2
- package/lib/utils/__tests__/deepMergeFormSteps.test.d.ts.map +0 -1
- /package/lib/{config → utils}/connectorFieldTokenResolver.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"connectorsConfig2.js","sources":["../../src/config/connectorsConfig2.ts"],"sourcesContent":[null],"names":[],"mappings":"wEAAA;;;;;;;AAOG;AAKH,MAAA,iBAAa,GAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"llmProviderConfig.d.ts","sourceRoot":"","sources":["../../src/config/llmProviderConfig.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,eAAO,MAAM,kBAAkB,EAAE,eAAe,EAqf/C,CAAC"}
|
|
@@ -1,457 +0,0 @@
|
|
|
1
|
-
import {KeyMgmtSecretType,ContributeDefaultValueSourceType}from'common';const llmProvidersConfig = [{
|
|
2
|
-
id: 'anthropic-llm',
|
|
3
|
-
title: 'Anthropic',
|
|
4
|
-
description: 'Claude AI model API key configuration',
|
|
5
|
-
providerUrl: '',
|
|
6
|
-
enabled: true,
|
|
7
|
-
icon: {
|
|
8
|
-
name: 'AiOutlineApi',
|
|
9
|
-
style: {
|
|
10
|
-
fontSize: 'large'
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
logo: '_side/thirdparty/logos/anthropic_administrator.svg',
|
|
14
|
-
color: '#CC9B7A',
|
|
15
|
-
authMethods: ['api_key'],
|
|
16
|
-
categories: ['llm'],
|
|
17
|
-
fields: [{
|
|
18
|
-
name: 'anthropicApiKey',
|
|
19
|
-
label: 'Anthropic API Key',
|
|
20
|
-
type: 'string',
|
|
21
|
-
placeholder: 'Starts with sk-ant-api03- (e.g., sk-ant-api03-XXXXXXXXXXXXXXXXXXXX)',
|
|
22
|
-
description: '',
|
|
23
|
-
required: false,
|
|
24
|
-
defaultValue: '',
|
|
25
|
-
isConfigField: true,
|
|
26
|
-
isSecret: true,
|
|
27
|
-
secretSource: {
|
|
28
|
-
type: ContributeDefaultValueSourceType.Vault,
|
|
29
|
-
secretType: KeyMgmtSecretType.EnvironmentVar,
|
|
30
|
-
secretKey: 'ANTHROPIC_API_KEY'
|
|
31
|
-
},
|
|
32
|
-
uiWidget: 'password',
|
|
33
|
-
enumValues: [],
|
|
34
|
-
readOnly: false,
|
|
35
|
-
iconType: '',
|
|
36
|
-
genericType: 'api_key'
|
|
37
|
-
}, {
|
|
38
|
-
name: 'info',
|
|
39
|
-
label: 'Info',
|
|
40
|
-
type: 'string',
|
|
41
|
-
placeholder: '',
|
|
42
|
-
description: '<p>Refer to this <a target="_blank" rel="noopener noreferrer nofollow" class="text-blue-600 underline hover:text-blue-800" href="https://www.apideck.com/blog/how-to-get-your-claude-anthropic-api-key#step-1-create-an-anthropic-account">guide</a> to get anthropic credentials.</p>',
|
|
43
|
-
required: false,
|
|
44
|
-
defaultValue: '',
|
|
45
|
-
isConfigField: false,
|
|
46
|
-
isSecret: false,
|
|
47
|
-
secretSource: null,
|
|
48
|
-
uiWidget: 'LabelWidget',
|
|
49
|
-
enumValues: [],
|
|
50
|
-
readOnly: true,
|
|
51
|
-
iconType: 'info',
|
|
52
|
-
genericType: 'info'
|
|
53
|
-
}]
|
|
54
|
-
}, {
|
|
55
|
-
id: 'google-gemini-llm',
|
|
56
|
-
title: 'Google',
|
|
57
|
-
description: 'Google Gemini AI model API key configuration',
|
|
58
|
-
providerUrl: '',
|
|
59
|
-
enabled: true,
|
|
60
|
-
icon: {
|
|
61
|
-
name: 'AiOutlineGoogle',
|
|
62
|
-
style: {
|
|
63
|
-
fontSize: 'large'
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
logo: '_side/thirdparty/logos/gemini.svg',
|
|
67
|
-
color: '#3186FF',
|
|
68
|
-
authMethods: ['api_key'],
|
|
69
|
-
categories: ['llm'],
|
|
70
|
-
fields: [{
|
|
71
|
-
name: 'googleApiKey',
|
|
72
|
-
label: 'Google API Key',
|
|
73
|
-
type: 'string',
|
|
74
|
-
placeholder: 'Starts with AIza (e.g., AIzaSy_abc123def456...)',
|
|
75
|
-
description: '',
|
|
76
|
-
required: false,
|
|
77
|
-
defaultValue: '',
|
|
78
|
-
isConfigField: true,
|
|
79
|
-
isSecret: true,
|
|
80
|
-
secretSource: {
|
|
81
|
-
type: ContributeDefaultValueSourceType.Vault,
|
|
82
|
-
secretType: KeyMgmtSecretType.EnvironmentVar,
|
|
83
|
-
secretKey: 'GOOGLE_API_KEY'
|
|
84
|
-
},
|
|
85
|
-
uiWidget: 'password',
|
|
86
|
-
enumValues: [],
|
|
87
|
-
readOnly: false,
|
|
88
|
-
iconType: '',
|
|
89
|
-
genericType: 'api_key'
|
|
90
|
-
}, {
|
|
91
|
-
name: 'info',
|
|
92
|
-
label: 'Info',
|
|
93
|
-
type: 'string',
|
|
94
|
-
placeholder: '',
|
|
95
|
-
description: '<p>Visit <a target="_blank" rel="noopener noreferrer nofollow" class="text-blue-600 underline hover:text-blue-800" href="https://aistudio.google.com/api-keys">aistudio.google.com</a> and get your api key.</p>',
|
|
96
|
-
required: false,
|
|
97
|
-
defaultValue: '',
|
|
98
|
-
isConfigField: false,
|
|
99
|
-
isSecret: false,
|
|
100
|
-
secretSource: null,
|
|
101
|
-
uiWidget: 'LabelWidget',
|
|
102
|
-
enumValues: [],
|
|
103
|
-
readOnly: true,
|
|
104
|
-
iconType: 'info',
|
|
105
|
-
genericType: 'info'
|
|
106
|
-
}],
|
|
107
|
-
resources: [{
|
|
108
|
-
name: 'googleGeminiTest',
|
|
109
|
-
label: 'Google Gemini test',
|
|
110
|
-
type: 'rest-api',
|
|
111
|
-
config: {
|
|
112
|
-
restApi: {
|
|
113
|
-
httpMethod: 'POST',
|
|
114
|
-
url: 'https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent',
|
|
115
|
-
urlParams: [],
|
|
116
|
-
headers: [{
|
|
117
|
-
key: 'X-goog-api-key',
|
|
118
|
-
value: '{{connectorField.googleApiKey}}'
|
|
119
|
-
}, {
|
|
120
|
-
key: 'Content-Type',
|
|
121
|
-
value: 'application/json'
|
|
122
|
-
}],
|
|
123
|
-
body: {
|
|
124
|
-
format: 'Raw',
|
|
125
|
-
data: [],
|
|
126
|
-
rawData: '{\n "contents": [\n {\n "parts": [\n {\n "text": "what is todays date"\n }\n ]\n }\n ]\n}'
|
|
127
|
-
},
|
|
128
|
-
cookies: [],
|
|
129
|
-
runBehavior: 'automatic',
|
|
130
|
-
transformResults: '({ data }) => {\n return data;\n}'
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}],
|
|
134
|
-
customButtons: [{
|
|
135
|
-
id: 'a21f23ac-49c8-490f-bf3c-ff3400b9ed8a',
|
|
136
|
-
title: 'Test key',
|
|
137
|
-
action: 'trigger-resource',
|
|
138
|
-
resourceId: 'googleGeminiTest',
|
|
139
|
-
inngestId: ''
|
|
140
|
-
}]
|
|
141
|
-
}, {
|
|
142
|
-
id: 'openai-llm',
|
|
143
|
-
title: 'Open AI',
|
|
144
|
-
description: 'OpenAI GPT model API key configuration',
|
|
145
|
-
providerUrl: '',
|
|
146
|
-
enabled: true,
|
|
147
|
-
icon: {
|
|
148
|
-
name: 'AiOutlineRobot',
|
|
149
|
-
style: {
|
|
150
|
-
fontSize: 'large'
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
logo: '_side/thirdparty/logos/openai.svg',
|
|
154
|
-
color: '#10A37F',
|
|
155
|
-
authMethods: ['api_key'],
|
|
156
|
-
categories: ['llm'],
|
|
157
|
-
fields: [{
|
|
158
|
-
name: 'openaiApiKey',
|
|
159
|
-
label: 'OpenAI API Key',
|
|
160
|
-
type: 'string',
|
|
161
|
-
placeholder: 'Starts with sk- (e.g., sk-abc123def456...) or sk-proj- (e.g., sk-proj-abc123def456...)',
|
|
162
|
-
description: '',
|
|
163
|
-
required: false,
|
|
164
|
-
defaultValue: '',
|
|
165
|
-
isConfigField: true,
|
|
166
|
-
isSecret: true,
|
|
167
|
-
secretSource: {
|
|
168
|
-
type: ContributeDefaultValueSourceType.Vault,
|
|
169
|
-
secretType: KeyMgmtSecretType.EnvironmentVar,
|
|
170
|
-
secretKey: 'OPENAI_API_KEY'
|
|
171
|
-
},
|
|
172
|
-
uiWidget: 'password',
|
|
173
|
-
enumValues: [],
|
|
174
|
-
readOnly: false,
|
|
175
|
-
iconType: '',
|
|
176
|
-
genericType: 'api_key'
|
|
177
|
-
}, {
|
|
178
|
-
name: 'info',
|
|
179
|
-
label: 'Info',
|
|
180
|
-
type: 'string',
|
|
181
|
-
placeholder: '',
|
|
182
|
-
description: '<p>Get your api key at their <a target="_blank" rel="noopener noreferrer nofollow" class="text-blue-600 underline hover:text-blue-800" href="https://platform.openai.com/">official page</a>.</p>',
|
|
183
|
-
required: false,
|
|
184
|
-
defaultValue: '',
|
|
185
|
-
isConfigField: false,
|
|
186
|
-
isSecret: false,
|
|
187
|
-
secretSource: null,
|
|
188
|
-
uiWidget: 'LabelWidget',
|
|
189
|
-
enumValues: [],
|
|
190
|
-
readOnly: true,
|
|
191
|
-
iconType: 'info',
|
|
192
|
-
genericType: 'info'
|
|
193
|
-
}]
|
|
194
|
-
}, {
|
|
195
|
-
id: 'xai-llm',
|
|
196
|
-
title: 'X AI',
|
|
197
|
-
description: 'xAI Grok model API key configuration',
|
|
198
|
-
providerUrl: '',
|
|
199
|
-
enabled: true,
|
|
200
|
-
icon: {
|
|
201
|
-
name: 'AiOutlineApi',
|
|
202
|
-
style: {
|
|
203
|
-
fontSize: 'large'
|
|
204
|
-
}
|
|
205
|
-
},
|
|
206
|
-
logo: '_side/thirdparty/logos/webex.svg',
|
|
207
|
-
color: '#000000',
|
|
208
|
-
authMethods: ['api_key'],
|
|
209
|
-
categories: ['llm'],
|
|
210
|
-
fields: [{
|
|
211
|
-
name: 'xaiApiKey',
|
|
212
|
-
label: 'Xai API Key',
|
|
213
|
-
type: 'string',
|
|
214
|
-
placeholder: 'Starts with xai- (e.g., xai-abc123def45678901234567890abcdef)',
|
|
215
|
-
description: '',
|
|
216
|
-
required: false,
|
|
217
|
-
defaultValue: '',
|
|
218
|
-
isConfigField: true,
|
|
219
|
-
isSecret: true,
|
|
220
|
-
secretSource: {
|
|
221
|
-
type: ContributeDefaultValueSourceType.Vault,
|
|
222
|
-
secretType: KeyMgmtSecretType.EnvironmentVar,
|
|
223
|
-
secretKey: 'XAI_API_KEY'
|
|
224
|
-
},
|
|
225
|
-
uiWidget: 'password',
|
|
226
|
-
enumValues: [],
|
|
227
|
-
readOnly: false,
|
|
228
|
-
iconType: '',
|
|
229
|
-
genericType: 'api_key'
|
|
230
|
-
}, {
|
|
231
|
-
name: 'info',
|
|
232
|
-
label: 'Info',
|
|
233
|
-
type: 'string',
|
|
234
|
-
placeholder: '',
|
|
235
|
-
description: '<p>Visit <a target="_blank" rel="noopener noreferrer nofollow" class="text-blue-600 underline hover:text-blue-800" href="https://console.x.ai/">console.x.ai</a> and get your api key.</p>',
|
|
236
|
-
required: false,
|
|
237
|
-
defaultValue: '',
|
|
238
|
-
isConfigField: false,
|
|
239
|
-
isSecret: false,
|
|
240
|
-
secretSource: null,
|
|
241
|
-
uiWidget: 'LabelWidget',
|
|
242
|
-
enumValues: [],
|
|
243
|
-
readOnly: true,
|
|
244
|
-
iconType: 'info',
|
|
245
|
-
genericType: 'info'
|
|
246
|
-
}],
|
|
247
|
-
resources: [{
|
|
248
|
-
name: 'xAiApi',
|
|
249
|
-
label: 'x ai api',
|
|
250
|
-
type: 'rest-api',
|
|
251
|
-
config: {
|
|
252
|
-
restApi: {
|
|
253
|
-
httpMethod: 'POST',
|
|
254
|
-
url: 'https://api.x.ai/v1/chat/completions',
|
|
255
|
-
urlParams: [],
|
|
256
|
-
headers: [{
|
|
257
|
-
key: 'Content-Type',
|
|
258
|
-
value: 'application/json'
|
|
259
|
-
}, {
|
|
260
|
-
key: 'Authorization',
|
|
261
|
-
value: 'Bearer {{connectorField.xaiApiKey}}'
|
|
262
|
-
}],
|
|
263
|
-
body: {
|
|
264
|
-
format: 'Raw',
|
|
265
|
-
data: [],
|
|
266
|
-
rawData: '{\n "messages": [\n {\n "role": "system",\n "content": "You are a test assistant."\n },\n {\n "role": "user",\n "content": "Testing. Just say hi and hello world and nothing else."\n }\n ],\n "model": "grok-4-1-fast-non-reasoning",\n "stream": false,\n "temperature": 0\n }'
|
|
267
|
-
},
|
|
268
|
-
cookies: [],
|
|
269
|
-
runBehavior: 'automatic',
|
|
270
|
-
transformResults: '({ data }) => {\n return data;\n}'
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}],
|
|
274
|
-
customButtons: [{
|
|
275
|
-
id: '26172354-5a46-42da-ba07-fc02dd150394',
|
|
276
|
-
title: 'Test Key',
|
|
277
|
-
action: 'trigger-resource',
|
|
278
|
-
resourceId: 'xAiApi',
|
|
279
|
-
inngestId: ''
|
|
280
|
-
}]
|
|
281
|
-
}, {
|
|
282
|
-
id: 'moonshot-ai-llm',
|
|
283
|
-
title: 'Moonshot AI',
|
|
284
|
-
description: 'Moonshot AI (Kimi) model API key configuration',
|
|
285
|
-
providerUrl: '',
|
|
286
|
-
enabled: true,
|
|
287
|
-
icon: {
|
|
288
|
-
name: 'AiOutlineApi',
|
|
289
|
-
style: {
|
|
290
|
-
fontSize: 'large'
|
|
291
|
-
}
|
|
292
|
-
},
|
|
293
|
-
logo: '_side/thirdparty/logos/moonclerk.svg',
|
|
294
|
-
color: '#6366f1',
|
|
295
|
-
authMethods: ['api_key'],
|
|
296
|
-
categories: ['llm'],
|
|
297
|
-
fields: [{
|
|
298
|
-
name: 'moonshotApiKey',
|
|
299
|
-
label: 'Moonshot API Key',
|
|
300
|
-
type: 'string',
|
|
301
|
-
placeholder: 'Starts with sk- (e.g., sk-abc123def456...)',
|
|
302
|
-
description: '',
|
|
303
|
-
required: false,
|
|
304
|
-
defaultValue: '',
|
|
305
|
-
isConfigField: true,
|
|
306
|
-
isSecret: true,
|
|
307
|
-
secretSource: {
|
|
308
|
-
type: ContributeDefaultValueSourceType.Vault,
|
|
309
|
-
secretType: KeyMgmtSecretType.EnvironmentVar,
|
|
310
|
-
secretKey: 'MOONSHOT_API_KEY'
|
|
311
|
-
},
|
|
312
|
-
uiWidget: 'password',
|
|
313
|
-
enumValues: [],
|
|
314
|
-
readOnly: false,
|
|
315
|
-
iconType: '',
|
|
316
|
-
genericType: 'api_key'
|
|
317
|
-
}, {
|
|
318
|
-
name: 'howToGetMoonshotApiKey',
|
|
319
|
-
label: 'How to get moonshot api key',
|
|
320
|
-
type: 'string',
|
|
321
|
-
placeholder: '',
|
|
322
|
-
description: '<p></p><ol class="tiptap-ordered-list"><li class="tiptap-list-item"><p>Go to <a target="_blank" rel="noopener noreferrer nofollow" class="text-blue-600 underline hover:text-blue-800" href="https://platform.moonshot.cn">https://platform.moonshot.cn</a></p></li><li class="tiptap-list-item"><p>Log in (or sign up)</p></li><li class="tiptap-list-item"><p>Click <strong>API Keys</strong> in the left menu</p></li><li class="tiptap-list-item"><p>Click <strong>Create API Key</strong> → name it → <strong>Generate</strong></p></li></ol>',
|
|
323
|
-
required: false,
|
|
324
|
-
defaultValue: '',
|
|
325
|
-
isConfigField: false,
|
|
326
|
-
isSecret: false,
|
|
327
|
-
secretSource: null,
|
|
328
|
-
uiWidget: 'LabelWidget',
|
|
329
|
-
enumValues: [],
|
|
330
|
-
readOnly: true,
|
|
331
|
-
iconType: 'info',
|
|
332
|
-
genericType: 'info'
|
|
333
|
-
}],
|
|
334
|
-
resources: [{
|
|
335
|
-
name: 'moonshotTest',
|
|
336
|
-
label: 'Moonshot test',
|
|
337
|
-
type: 'rest-api',
|
|
338
|
-
config: {
|
|
339
|
-
restApi: {
|
|
340
|
-
httpMethod: 'GET',
|
|
341
|
-
url: 'https://api.moonshot.ai/v1/models',
|
|
342
|
-
urlParams: [],
|
|
343
|
-
headers: [{
|
|
344
|
-
key: 'Authorization',
|
|
345
|
-
value: 'Bearer {{connectorField.moonshotApiKey}}'
|
|
346
|
-
}, {
|
|
347
|
-
key: 'Content-Type',
|
|
348
|
-
value: 'application/json'
|
|
349
|
-
}],
|
|
350
|
-
body: {
|
|
351
|
-
format: 'Raw',
|
|
352
|
-
data: [],
|
|
353
|
-
rawData: '{\n "model": "moonshot-v1-8k",\n "messages": [\n {\n "role": "user",\n "content": "what is todays date"\n }\n ],\n "temperature": 0.3\n}'
|
|
354
|
-
},
|
|
355
|
-
cookies: [],
|
|
356
|
-
runBehavior: 'automatic',
|
|
357
|
-
transformResults: '({ data }) => {\n return data;\n}'
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
}],
|
|
361
|
-
customButtons: [{
|
|
362
|
-
id: '9e151ec8-7608-424a-ae13-428d51eeb99d',
|
|
363
|
-
title: 'Test key',
|
|
364
|
-
action: 'trigger-resource',
|
|
365
|
-
resourceId: 'moonshotTest',
|
|
366
|
-
inngestId: ''
|
|
367
|
-
}]
|
|
368
|
-
}, {
|
|
369
|
-
id: 'amazon-bedrock-llm',
|
|
370
|
-
title: 'Amazon Bedrock',
|
|
371
|
-
description: 'Amazon Bedrock AWS credentials configuration',
|
|
372
|
-
providerUrl: '',
|
|
373
|
-
enabled: true,
|
|
374
|
-
icon: {
|
|
375
|
-
name: 'AiOutlineCloudServer',
|
|
376
|
-
style: {
|
|
377
|
-
fontSize: 'large'
|
|
378
|
-
}
|
|
379
|
-
},
|
|
380
|
-
logo: '_side/thirdparty/logos/all-images-ai.svg',
|
|
381
|
-
color: '#6350FB',
|
|
382
|
-
authMethods: ['api_key'],
|
|
383
|
-
categories: ['llm'],
|
|
384
|
-
fields: [{
|
|
385
|
-
name: 'amazonBedrockRegion',
|
|
386
|
-
label: 'Amazon Bedrock Region',
|
|
387
|
-
type: 'string',
|
|
388
|
-
placeholder: 'AWS region (e.g., us-east-1, us-west-2)',
|
|
389
|
-
description: '',
|
|
390
|
-
required: false,
|
|
391
|
-
defaultValue: '',
|
|
392
|
-
isConfigField: true,
|
|
393
|
-
isSecret: false,
|
|
394
|
-
secretSource: null,
|
|
395
|
-
uiWidget: 'text',
|
|
396
|
-
enumValues: [],
|
|
397
|
-
readOnly: false,
|
|
398
|
-
iconType: '',
|
|
399
|
-
genericType: 'region'
|
|
400
|
-
}, {
|
|
401
|
-
name: 'amazonBedrockAccessKeyId',
|
|
402
|
-
label: 'Amazon Bedrock Access Key ID',
|
|
403
|
-
type: 'string',
|
|
404
|
-
placeholder: 'Starts with AKIA or ASIA (e.g., AKIAIOSFODNN7EXAMPLE)',
|
|
405
|
-
description: '',
|
|
406
|
-
required: false,
|
|
407
|
-
defaultValue: '',
|
|
408
|
-
isConfigField: true,
|
|
409
|
-
isSecret: true,
|
|
410
|
-
secretSource: {
|
|
411
|
-
type: ContributeDefaultValueSourceType.Vault,
|
|
412
|
-
secretType: KeyMgmtSecretType.EnvironmentVar,
|
|
413
|
-
secretKey: 'AMAZON_BEDROCK_ACCESS_KEY_ID'
|
|
414
|
-
},
|
|
415
|
-
uiWidget: 'password',
|
|
416
|
-
enumValues: [],
|
|
417
|
-
readOnly: false,
|
|
418
|
-
iconType: '',
|
|
419
|
-
genericType: 'access_key'
|
|
420
|
-
}, {
|
|
421
|
-
name: 'amazonBedrockSecretAccessKey',
|
|
422
|
-
label: 'Amazon Bedrock Secret Access Key',
|
|
423
|
-
type: 'string',
|
|
424
|
-
placeholder: '40-character string (e.g., wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY)',
|
|
425
|
-
description: '',
|
|
426
|
-
required: false,
|
|
427
|
-
defaultValue: '',
|
|
428
|
-
isConfigField: true,
|
|
429
|
-
isSecret: true,
|
|
430
|
-
secretSource: {
|
|
431
|
-
type: ContributeDefaultValueSourceType.Vault,
|
|
432
|
-
secretType: KeyMgmtSecretType.EnvironmentVar,
|
|
433
|
-
secretKey: 'AMAZON_BEDROCK_SECRET_ACCESS_KEY'
|
|
434
|
-
},
|
|
435
|
-
uiWidget: 'password',
|
|
436
|
-
enumValues: [],
|
|
437
|
-
readOnly: false,
|
|
438
|
-
iconType: '',
|
|
439
|
-
genericType: 'secret_access_key'
|
|
440
|
-
}, {
|
|
441
|
-
name: 'howToGetBedrockCredentials',
|
|
442
|
-
label: 'How to get bedrock credentials',
|
|
443
|
-
type: 'string',
|
|
444
|
-
placeholder: '',
|
|
445
|
-
description: '<ol class="tiptap-ordered-list"><li class="tiptap-list-item"><p>Go to <a target="_blank" rel="noopener noreferrer nofollow" class="text-blue-600 underline hover:text-blue-800" href="https://console.aws.amazon.com/iam">https://console.aws.amazon.com/iam</a></p></li><li class="tiptap-list-item"><p>Users → select/create a user</p></li><li class="tiptap-list-item"><p>Security credentials → Create access key</p></li><li class="tiptap-list-item"><p>Choose "Application running outside AWS" → Next</p></li><li class="tiptap-list-item"><p>Copy <strong>Access Key ID</strong> and <strong>Secret Access Key</strong> immediately</p></li><li class="tiptap-list-item"><p>Note the region where Bedrock is enabled (usually us-east-1 or us-west-2)</p></li></ol>',
|
|
446
|
-
required: false,
|
|
447
|
-
defaultValue: '',
|
|
448
|
-
isConfigField: false,
|
|
449
|
-
isSecret: false,
|
|
450
|
-
secretSource: null,
|
|
451
|
-
uiWidget: 'LabelWidget',
|
|
452
|
-
enumValues: [],
|
|
453
|
-
readOnly: true,
|
|
454
|
-
iconType: 'info',
|
|
455
|
-
genericType: 'info'
|
|
456
|
-
}]
|
|
457
|
-
}];export{llmProvidersConfig};//# sourceMappingURL=llmProviderConfig.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"llmProviderConfig.js","sources":["../../src/config/llmProviderConfig.ts"],"sourcesContent":[null],"names":[],"mappings":"wEAGA,MAAA,kBAAa,GAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mcpConnectorConfig.d.ts","sourceRoot":"","sources":["../../src/config/mcpConnectorConfig.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAEvD,eAAO,MAAM,kBAAkB,EAAE,iBAAiB,EA6gCjD,CAAC"}
|