-
Notifications
You must be signed in to change notification settings - Fork 122
Expand file tree
/
Copy pathjsonConfig.json
More file actions
263 lines (263 loc) · 13 KB
/
jsonConfig.json
File metadata and controls
263 lines (263 loc) · 13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
{
"type": "tabs",
"i18n": true,
"iconPosition": "top",
"items": {
"_main": {
"type": "panel",
"label": "Main settings",
"icon": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj4KICAgIDxwYXRoIGZpbGw9ImN1cnJlbnRDb2xvciIgZD0iTTQ5NS45IDE2Ni42YzMuMiA4LjcgLjUgMTguNC02LjQgMjQuNmwtNDMuMyAzOS40YzEuMSA4LjMgMS43IDE2LjggMS43IDI1LjRzLS42IDE3LjEtMS43IDI1LjRsNDMuMyAzOS40YzYuOSA2LjIgOS42IDE1LjkgNi40IDI0LjZjLTQuNCAxMS45LTkuNyAyMy4zLTE1LjggM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IDExLjQgMjIuNCAxNS44IDM0LjN6TTI1NiAzMzZhODAgODAgMCAxIDAgMC0xNjAgODAgODAgMCAxIDAgMCAxNjB6Ii8+Cjwvc3ZnPgo=",
"items": {
"libraries": {
"type": "chips",
"label": "Additional npm modules",
"delimiter": " ",
"xs": 12,
"sm": 12
},
"libraryTypings": {
"newLine": true,
"type": "chips",
"label": "Activate syntax help for these npm modules",
"delimiter": " ",
"xs": 12,
"sm": 12
},
"mirrorPath": {
"newLine": true,
"type": "text",
"label": "Mirror scripts to file path",
"xs": 12,
"sm": 8
},
"mirrorInstance": {
"hidden": "!data.mirrorPath",
"type": "instance",
"adapter": "javascript",
"label": "Instance, that do mirroring",
"xs": 12,
"sm": 4
},
"enableSetObject": {
"newLine": true,
"type": "checkbox",
"label": "Enable command \"setObject\"",
"xs": 12,
"sm": 12,
"md": 6
},
"enableSendToHost": {
"type": "checkbox",
"label": "Enable command \"sendToHost\"",
"xs": 12,
"sm": 12,
"md": 6
},
"enableExec": {
"newLine": true,
"type": "checkbox",
"label": "Enable command \"exec\"",
"xs": 12,
"sm": 12,
"md": 6
},
"subscribe": {
"type": "checkbox",
"label": "Do not subscribe all states on start",
"xs": 12,
"sm": 12,
"md": 6
},
"maxSetStatePerMinute": {
"newLine": true,
"type": "number",
"label": "Maximum setState requests per Minute per Script",
"help": "default 1000",
"min": 20,
"max": 100000,
"xs": 12,
"sm": 12,
"md": 6
},
"maxTriggersPerScript": {
"type": "number",
"label": "Maximum triggers per Script (until warning)",
"help": "default 100",
"min": 20,
"max": 100000,
"xs": 12,
"sm": 12,
"md": 6
},
"allowSelfSignedCerts": {
"newLine": true,
"type": "checkbox",
"label": "Allow self-signed certificates for URL requests",
"xs": 12,
"sm": 12
},
"sortGlobalScriptsAlphabetically": {
"newLine": true,
"type": "checkbox",
"label": "Sort global scripts alphabetically",
"xs": 12,
"sm": 12
}
}
},
"_astro": {
"type": "panel",
"label": "Astro settings",
"icon": "data:image/svg+xml;base64,PHN2ZyB4bW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mMtNTcuMyAwLTEwNCA0Ni43LTEwNCAxMDRzNDYuNyAxMDQgMTA0IDEwNCAxMDQtNDYuNyAxMDQtMTA0LTQ2LjctMTA0LTEwNC0xMDR6bTAgMTYwYy0zMC45IDAtNTYtMjUuMS01Ni01NnMyNS4xLTU2IDU2LTU2IDU2IDI1LjEgNTYgNTYtMjUuMSA1Ni01NiA1NnoiLz4KPC9zdmc+Cg==",
"items": {
"_astroConfig": {
"type": "custom",
"i18n": true,
"xs": 12,
"sm": 12,
"md": 12,
"lg": 12,
"url": "custom/customComponents.js",
"name": "ConfigCustomJavascriptSet/Components/Astro",
"bundlerType": "module"
},
"createAstroStates": {
"newLine": true,
"type": "checkbox",
"label": "Create states for all astro times",
"xs": 12,
"sm": 12
}
}
},
"_ai": {
"type": "panel",
"label": "AI settings",
"icon": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iY3VycmVudENvbG9yIiBkPSJNNy41IDUuNkwxMCA3IDguNiA0LjUgMTAgMiA3LjUgMy40IDUgMmwxLjQgMi41TDUgN3ptMTIgOS44TDE3IDE0bDEuNCAyLjVMMTcgMTlsMi41LTEuNEwyMiAxOWwtMS40LTIuNUwyMiAxNHpNMjIgMmwtMi41IDEuNEwxNyAybDEuNCAyLjVMMTcgN2wyLjUtMS40TDIyIDdsLTEuNC0yLjV6bS03LjYzIDUuMjlhLjk5Ni45OTYgMCAwMC0xLjQxIDBMMS4yOSAxOC45NmEuOTk2Ljk5NiAwIDAwMCAxLjQxbDIuMzQgMi4zNGMuMzkuMzkgMS4wMi4zOSAxLjQxIDBMMTYuNyAxMS4wNWEuOTk2Ljk5NiAwIDAwMC0xLjQxbC0yLjMzLTIuMzV6TTUuMDQgMTguOTZsLTEuNDEtMS40MSA4LjY5LTguNjkgMS40MSAxLjQxLTguNjkgOC42OXoiLz48L3N2Zz4=",
"items": {
"_aiDescription": {
"type": "staticText",
"label": "AI settings description",
"xs": 12,
"sm": 12,
"style": {
"marginBottom": 16
}
},
"gptKey": {
"newLine": true,
"type": "text",
"label": "ChatGPT API key",
"xs": 12,
"sm": 9,
"help": "platform.openai.com",
"helpLink": "https://platform.openai.com/api-keys"
},
"_testOpenAi": {
"type": "sendTo",
"label": "Test OpenAI",
"icon": "img/openai.svg",
"command": "testApiConnection",
"jsonData": "{\"apiKey\": \"${data.gptKey}\", \"provider\": \"openai\"}",
"variant": "outlined",
"disabled": "!data.gptKey",
"xs": 12,
"sm": 3,
"showProcess": true
},
"claudeKey": {
"newLine": true,
"type": "text",
"label": "Anthropic API key",
"xs": 12,
"sm": 9,
"help": "console.anthropic.com",
"helpLink": "https://console.anthropic.com/settings/keys"
},
"_testClaude": {
"type": "sendTo",
"label": "Test Anthropic",
"icon": "img/anthropic.svg",
"command": "testApiConnection",
"jsonData": "{\"apiKey\": \"${data.claudeKey}\", \"provider\": \"anthropic\"}",
"variant": "outlined",
"disabled": "!data.claudeKey",
"xs": 12,
"sm": 3,
"showProcess": true
},
"geminiKey": {
"newLine": true,
"type": "text",
"label": "Gemini API key",
"xs": 12,
"sm": 9,
"help": "aistudio.google.com",
"helpLink": "https://aistudio.google.com/apikey"
},
"_testGemini": {
"type": "sendTo",
"label": "Test Gemini",
"icon": "img/gemini.svg",
"command": "testApiConnection",
"jsonData": "{\"apiKey\": \"${data.geminiKey}\", \"provider\": \"gemini\"}",
"variant": "outlined",
"disabled": "!data.geminiKey",
"xs": 12,
"sm": 3,
"showProcess": true
},
"deepseekKey": {
"newLine": true,
"type": "text",
"label": "DeepSeek API key",
"xs": 12,
"sm": 9,
"help": "platform.deepseek.com",
"helpLink": "https://platform.deepseek.com/api_keys"
},
"_testDeepseek": {
"type": "sendTo",
"label": "Test DeepSeek",
"icon": "img/deepseek.svg",
"command": "testApiConnection",
"jsonData": "{\"apiKey\": \"${data.deepseekKey}\", \"provider\": \"deepseek\"}",
"variant": "outlined",
"disabled": "!data.deepseekKey",
"xs": 12,
"sm": 3,
"showProcess": true
},
"gptBaseUrl": {
"newLine": true,
"type": "text",
"label": "Custom API Base URL",
"xs": 12,
"sm": 5,
"help": "Custom API Base URL help",
"placeholder": "https://api.openai.com/v1"
},
"gptBaseUrlKey": {
"type": "text",
"label": "Custom API key",
"xs": 12,
"sm": 4,
"help": "Custom API key help",
"placeholder": "optional"
},
"_testCustom": {
"type": "sendTo",
"label": "Test Custom API",
"icon": "img/custom.svg",
"command": "testApiConnection",
"jsonData": "{\"apiKey\": \"${data.gptBaseUrlKey}\", \"baseUrl\": \"${data.gptBaseUrl}\", \"provider\": \"openai\"}",
"variant": "outlined",
"disabled": "!data.gptBaseUrl",
"xs": 12,
"sm": 3,
"showProcess": true
}
}
}
}
}