-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
150 lines (149 loc) · 3.79 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
{
"name": "mdl-ai",
"displayName": "MDL.AI",
"publisher": "jackos",
"version": "0.6.6",
"description": "Generate notebook code blocks with LLMs that you can run interactively with any programming language. The source code is pure markdown and can render anywhere.",
"main": "./dist/extension.js",
"icon": "mdl.png",
"keywords": [
"md",
"markdown",
"notebook",
"notebooks",
"jupyter"
],
"activationEvents": [
"onNotebook:mdl",
"onCommand:mdl.preview"
],
"engines": {
"vscode": "^1.86.0"
},
"repository": {
"url": "https://github.com/jackos/mdl"
},
"author": "Jack Clayton",
"license": "ISC",
"capabilities": {
"virtualWorkspaces": true,
"untrustedWorkspaces": {
"supported": true
}
},
"contributes": {
"configuration": {
"type": "object",
"title": "mdl configuration",
"properties": {
"mdl.basePath": {
"description": "Path where searchable notes will be stored",
"type": "string",
"scope": "window"
},
"mdl.openaiOrgID": {
"type": "string",
"default": "",
"description": "Leave blank if not part of an org, get your org id at https://platform.openai.com/account/org-settings"
},
"mdl.openaiKey": {
"type": "string",
"default": "",
"description": "Set up an API key at: https://platform.openai.com/account/api-keys"
},
"mdl.groqKey": {
"type": "string",
"default": "",
"description": "Set up an API key at: https://console.groq.com/keys"
},
"mdl.openaiModel": {
"type": "string",
"default": "gpt-4-turbo",
"description": "Check out available models here: https://platform.openai.com/docs/models/overview"
}
}
},
"commands": [
{
"command": "mdl.search",
"title": "mdl: Search notes",
"description": "Adds notes base path to workspace and opens `find in files`"
},
{
"command": "mdl.openMain",
"title": "mdl: Open generated code",
"description": "Opens the code being generated, by adding the folder to the workspace"
},
{
"command": "mdl.deleteTemp",
"title": "mdl: Delete Tempory Folder",
"description": "Delete the temporary folder with all the generated code files"
}
],
"keybindings": [
{
"key": "alt+f",
"command": "mdl.search"
},
{
"key": "alt+o",
"command": "mdl.openMain"
}
],
"languages": [
{
"id": "openai",
"aliases": [
"OpenAI",
"openai"
],
"extensions": [ ],
"firstLine": "^#!.*\\b(openai)\\b"
},
{
"id": "llama3-8b",
"extensions": [ ],
"firstLine": "^#!.*\\b(llama3-8b)\\b"
}
],
"customEditors": [
{
"viewType": "mdl",
"displayName": "MDL.AI",
"selector": [
{
"filenamePattern": "*.md"
}
],
"priority": "default"
}
],
"notebooks": [
{
"type": "mdl",
"displayName": "mdl",
"priority": "default",
"selector": [
{
"filenamePattern": "*.{md,markdown}"
}
]
}
]
},
"scripts": {
"compile": "node ./build.mjs",
"watch": "node ./watch.mjs",
"package": "vsce package",
"vscode:prepublish": "npm run compile",
"install-extension": "code --install-extension $(ls mdl-*)",
"i": "npm run compile && npm run package && npm run install-extension"
},
"devDependencies": {
"@types/node": "^20.12.7",
"@types/vscode": "^1.86.0",
"esbuild": "^0.20.2",
"eslint": "^9.1.0",
"typescript": "^5.4.5"
}
}