-
Notifications
You must be signed in to change notification settings - Fork 46
/
package.json
executable file
·270 lines (270 loc) · 6.71 KB
/
package.json
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
264
265
266
267
268
269
270
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "raycast-g4f",
"version": "5.0",
"title": "GPT4Free",
"description": "Use GPT, Claude, Llama, and more... all for FREE! + Full support for custom APIs.",
"icon": "gpt-icon.png",
"author": "muzhen_gaming",
"type": "module",
"imports": {
"#root/*": "./*"
},
"categories": [
"Productivity",
"Developer Tools"
],
"license": "MIT",
"commands": [
{
"name": "askAI",
"title": "Ask AI",
"description": "Ask GPT a question",
"icon": "gpt-icon.png",
"mode": "view",
"arguments": [
{
"name": "query",
"placeholder": "Query",
"type": "text",
"required": false
}
]
},
{
"name": "aiChat",
"title": "AI Chat",
"description": "Chat with GPT",
"icon": "chat-icon.png",
"mode": "view"
},
{
"name": "askAboutSelectedText",
"title": "Ask About Selected Text",
"description": "Ask GPT about selected text",
"icon": "clipboard-icon.png",
"mode": "view",
"arguments": [
{
"name": "query",
"placeholder": "Query",
"type": "text",
"required": false
}
]
},
{
"name": "askAboutScreenContent",
"title": "Ask About Screen Content",
"description": "Ask GPT about screen content",
"icon": "screen-icon.png",
"mode": "no-view",
"arguments": [
{
"name": "query",
"placeholder": "Query",
"type": "text",
"required": false
}
]
},
{
"name": "askAboutBrowserTab",
"title": "Ask About Browser Tab",
"description": "Ask GPT about browser tab",
"icon": "screen-icon.png",
"mode": "view",
"arguments": [
{
"name": "query",
"placeholder": "Query",
"type": "text",
"required": false
}
],
"disabledByDefault": true
},
{
"name": "continue",
"title": "Continue Text",
"description": "Generate completion of text",
"icon": "text-icon.png",
"mode": "view"
},
{
"name": "summarize",
"title": "Summarize",
"description": "Summarize text",
"icon": "summarize-icon.png",
"mode": "view"
},
{
"name": "explain",
"title": "Explain",
"description": "Explain text",
"icon": "explain-icon.png",
"mode": "view"
},
{
"name": "fixCode",
"title": "Fix Code",
"description": "Fix errors and bugs in code",
"icon": "code-icon.png",
"mode": "view"
},
{
"name": "format",
"title": "Format Text",
"description": "Fix formatting of text",
"icon": "grammar-icon.png",
"mode": "view"
},
{
"name": "friendly",
"title": "Change Tone to Friendly",
"description": "Change tone of text to friendly",
"icon": "text-icon.png",
"mode": "view"
},
{
"name": "professional",
"title": "Change Tone to Professional",
"description": "Change tone of text to professional",
"icon": "text-icon.png",
"mode": "view"
},
{
"name": "paraphrase",
"title": "Paraphrase",
"description": "Paraphrase text",
"icon": "text-icon.png",
"mode": "view"
},
{
"name": "synonyms",
"title": "Find Synonyms",
"description": "Find synonyms of word/phrase",
"icon": "synonym-icon.png",
"mode": "view",
"arguments": [
{
"name": "query",
"type": "text",
"placeholder": "word/phrase",
"required": false
}
]
},
{
"name": "translate",
"title": "Translate",
"description": "Translate text to another language",
"icon": "translate-icon.png",
"mode": "view",
"preferences": [
{
"name": "translateUseDefaultLanguage",
"label": "Always Use Default Language",
"description": "Always translate to the default language, skipping the language selection form.",
"required": false,
"type": "checkbox",
"default": false
}
]
},
{
"name": "improve",
"title": "Improve Writing",
"description": "Improve writing of text",
"icon": "grammar-icon.png",
"mode": "view"
},
{
"name": "longer",
"title": "Make Longer",
"description": "Make text longer",
"icon": "longer-icon.png",
"mode": "view"
},
{
"name": "shorter",
"title": "Make Shorter",
"description": "Make text shorter",
"icon": "shorten-icon.png",
"mode": "view"
},
{
"name": "genImage",
"title": "Generate Images",
"description": "Generate images from a text prompt",
"icon": "image-icon.png",
"mode": "view"
},
{
"name": "customAICommands",
"title": "Custom AI Commands",
"description": "Run and manage custom AI commands",
"icon": "command-icon.png",
"mode": "view"
},
{
"name": "preferences",
"title": "Preferences",
"description": "Manage extension preferences",
"icon": "box-icon.png",
"mode": "view"
},
{
"name": "checkForUpdates",
"title": "Check for Updates",
"description": "Check for extension updates from the official GitHub source",
"icon": "update-icon.png",
"mode": "view"
},
{
"name": "devPanel",
"title": "Developer Panel",
"description": "Developer panel for debugging and testing",
"icon": "box-icon.png",
"mode": "view",
"disabledByDefault": true
}
],
"preferences": [
{
"name": "__README",
"label": "README",
"description": "To change all extension preferences, please launch the Preferences command. They cannot be changed from Raycast preferences.",
"required": true,
"type": "checkbox"
}
],
"dependencies": {
"@raycast/api": "^1.88.4",
"fetch-to-curl": "^0.6.0",
"g4f-image": "^1.3.3",
"gemini-ai-sdk": "^1.0.1",
"http-proxy-agent": "^7.0.2",
"lodash.throttle": "^4.1.1",
"node-fetch": "^3.3.2",
"undici": "^7.1.1",
"untruncate-json": "^0.0.1"
},
"devDependencies": {
"@raycast/eslint-config": "1.0.5",
"@types/node": "^22.10.2",
"@types/react": "^18.3.3",
"eslint": "^7.32.0",
"prettier": "^2.8.8",
"puppeteer-core": "^23.7.0",
"react": "^18.3.1",
"typescript": "^5.7.2"
},
"scripts": {
"build": "ray build -e dist",
"dev": "ray develop",
"fix-lint": "ray lint --fix --relaxed",
"lint": "ray lint",
"publish": "npx @raycast/api@latest publish"
}
}