-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
102 lines (102 loc) · 2.62 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
{
"name": "make-runbook",
"displayName": "make-runbook",
"description": "Generates a runnable markdown file to make any docker project",
"version": "0.0.9",
"publisher": "docker",
"repository": {
"type": "git",
"url": "https://github.com/docker/docker-make-runbook.git"
},
"engines": {
"vscode": "^1.88.0"
},
"categories": [
"Other"
],
"activationEvents": [
"workspaceContains:**/*.md",
"onLanguage:markdown"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Docker Make Runbook",
"properties": {
"docker.make-runbook.openai-base": {
"type": "string",
"default": "OpenAI",
"description": "OpenAI base API endpoint",
"enum": [
"OpenAI",
"Ollama"
],
"enumDescriptions": [
"https://api.openai.com/v1",
"http://localhost:11434/v1"
]
},
"docker.make-runbook.openai-model": {
"type": "string",
"default": "gpt-4",
"description": "OpenAI compatible model",
"enum": [
"gpt-4",
"llama2",
"llama3"
],
"enumDescriptions": [
"OpenAI GPT-4",
"Ollama Llama2",
"Ollama Llama3"
]
},
"docker.make-runbook.prompt-image": {
"type": "string",
"default": "vonwig/prompts:latest",
"description": "Image tag used for prompt generation"
}
}
},
"commands": [
{
"command": "docker.make-runbook.generate",
"title": "Generate a runbook"
},
{
"command": "docker.make-runbook.run",
"title": "Runbook Commands"
},
{
"command": "docker.make-runbook.set-openai-api-key",
"title": "Set OpenAI API key for Docker Make Runbook"
}
]
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test",
"package": "vsce package"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.88.0",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"@vscode/test-cli": "^0.0.8",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.57.0",
"typescript": "^5.3.3",
"vsce": "^2.15.0"
},
"dependencies": {
"openai": "^4.38.5",
"vscode-languageclient": "^8.1.0",
"semver": "^7.5.2"
}
}