-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
161 lines (161 loc) · 4.85 KB
/
package.json
File metadata and controls
161 lines (161 loc) · 4.85 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
{
"name": "memox",
"displayName": "MEmoX",
"description": "AI-powered coding assistant with offline and online capabilities",
"version": "0.0.1",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onView:memoxChatView",
"onUri:vscode://memox/callback"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "memox.startChat",
"title": "Start MEmoX Chat"
},
{
"command": "memox.signIn",
"title": "Sign in to MEmoX"
},
{
"command": "memox.signOut",
"title": "Sign out from MEmoX"
},
{
"command": "memox.testUriHandler",
"title": "Test MEmoX URI Handler"
},
{
"command": "memox.manualAuth",
"title": "Enter MEmoX Authentication Code"
},
{
"command": "memox.manualAuthentication",
"title": "Manual MEmoX Authentication"
},
{
"command": "memox.openChat",
"title": "Open MEmoX Advanced Chat"
},
{
"command": "memox.newChat",
"title": "New Chat"
},
{
"command": "memox.viewChatHistory",
"title": "View Chat History"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "memox-sidebar",
"title": "MEmoX",
"icon": "resources/icon.svg"
}
]
},
"views": {
"memox-sidebar": [
{
"type": "webview",
"id": "memoxChatView",
"name": "MEmoX Chat"
}
]
},
"configuration": {
"title": "MEmoX",
"properties": {
"memox.mode": {
"type": "string",
"enum": [
"auto",
"offline",
"online"
],
"default": "auto",
"description": "Set the mode of operation for MEmoX"
},
"memox.modelSize": {
"type": "string",
"enum": [
"auto",
"3B",
"7B"
],
"default": "auto",
"description": "Set the size of the local model to use"
},
"memox.githubClientId": {
"type": "string",
"default": "",
"description": "GitHub OAuth App Client ID for authentication"
},
"memox.githubClientSecret": {
"type": "string",
"default": "",
"description": "GitHub OAuth App Client Secret for authentication"
}
}
},
"menus": {
"view/title": [
{
"command": "memox.newChat",
"when": "view == memoxChatView",
"group": "navigation@1",
"icon": "$(add)",
"alt": "memox.newChat"
},
{
"command": "memox.viewChatHistory",
"when": "view == memoxChatView",
"group": "navigation@2",
"icon": "$(history)",
"alt": "memox.viewChatHistory"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.6",
"@types/node": "20.x",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@vscode/test-electron": "^2.3.8",
"eslint": "^8.56.0",
"glob": "^10.3.10",
"mocha": "^10.2.0",
"typescript": "^5.3.3"
},
"dependencies": {
"@xenova/transformers": "^2.17.2",
"axios": "^1.6.2",
"dotenv": "^16.5.0",
"hnswlib-node": "^1.4.0",
"node-fetch": "^3.3.2",
"onnxruntime-node": "^1.16.3",
"tiktoken": "^1.0.21"
},
"keywords": [],
"author": "",
"license": "ISC"
}