-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathpackage.json
184 lines (184 loc) · 4.48 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
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "chatgpt",
"title": "ChatGPT",
"description": "Interact with OpenAI's ChatGPT API directly from your command bar",
"icon": "icon.png",
"author": "abielzulio",
"contributors": [
"timolins",
"shichongrui",
"pomdtr"
],
"categories": [
"Applications",
"Productivity",
"Developer Tools",
"Web",
"Fun",
"Finance",
"Other"
],
"license": "MIT",
"commands": [
{
"name": "ask",
"title": "Ask Question",
"subtitle": "ChatGPT",
"description": "Ask ChatGPT via Raycast",
"mode": "view"
},
{
"name": "saved",
"title": "Saved Answer",
"subtitle": "ChatGPT",
"description": "Collection of your saved answer",
"mode": "view"
},
{
"name": "history",
"title": "History",
"subtitle": "ChatGPT",
"description": "Collection of your recent answer",
"mode": "view"
},
{
"name": "conversation",
"title": "Conversations",
"subtitle": "ChatGPT",
"description": "Collection of your recent conversation",
"mode": "view"
},
{
"name": "model",
"title": "Models",
"subtitle": "ChatGPT",
"description": "Collection of your custom and default model",
"mode": "view"
}
],
"preferences": [
{
"name": "api",
"label": "Open AI API",
"description": "Enter your personal Open AI API",
"type": "password",
"title": "API",
"required": true
},
{
"name": "isAutoLoad",
"label": "Enable auto-load selected text",
"description": "Load selected text from your frontmost application to the question bar automatically",
"type": "checkbox",
"title": "Auto-load",
"default": false,
"required": false
},
{
"name": "isAutoFullInput",
"label": "Enable full text input initially",
"description": "Use full text input form when asking question for the first time",
"type": "checkbox",
"title": "Use Full Text Input",
"default": false,
"required": false
},
{
"name": "isAutoTTS",
"label": "Enable text-to-speech for every response",
"description": "Enable auto TTS everytime you get a generated answer",
"type": "checkbox",
"title": "Text-to-Speech",
"required": false,
"default": false
},
{
"name": "useProxy",
"label": "Enable proxy for each request",
"description": "Each request will be passed through the proxy",
"type": "checkbox",
"title": "Use Proxy",
"required": false,
"default": false
},
{
"name": "proxyProtocol",
"description": "Each request will be passed through the proxy",
"type": "dropdown",
"title": "Proxy Protocol",
"data": [
{
"title": "HTTP",
"value": "http"
},
{
"title": "HTTPs",
"value": "https"
},
{
"title": "Socks4",
"value": "socks4"
},
{
"title": "Socks5",
"value": "socks5"
}
],
"required": false,
"default": "http"
},
{
"name": "proxyHost",
"description": "Sever address of the proxy",
"type": "textfield",
"title": "Proxy Host",
"required": false
},
{
"name": "proxyPort",
"description": "Server port of the proxy",
"type": "textfield",
"title": "Proxy Port",
"required": false
},
{
"name": "proxyUsername",
"description": "Leave empty if doesn't have",
"type": "textfield",
"title": "Proxy Username",
"required": false
},
{
"name": "proxyPassword",
"description": "Leave empty if doesn't have",
"type": "password",
"title": "Proxy Password",
"required": false
}
],
"dependencies": {
"@raycast/api": "^1.47.0",
"@types/uuid": "^9.0.0",
"openai": "^3.2.1",
"say": "^0.16.0",
"uuid": "^9.0.0"
},
"devDependencies": {
"@types/node": "18.8.3",
"@types/react": "18.0.9",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"prettier": "^2.5.1",
"typescript": "^4.4.3"
},
"scripts": {
"build": "ray build -e dist",
"dev": "ray develop",
"fix-lint": "ray lint --fix",
"lint": "ray lint",
"publish": "ray publish"
}
}